* image.c (gif_load): Check that subimages fit.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
30ea8374
LL
12013-05-12 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (inferior-octave-startup): Store the value
4 of __octave_srcdir__ for octave-source-directories.
5 (inferior-octave-check-process): New function refactored out of
6 inferior-octave-send-list-and-digest.
7 (octave-source-directories)
8 (octave-find-definition-filename-function): New variables.
9 (octave-source-directories)
10 (octave-find-definition-default-filename): New functions.
11 (octave-find-definition): Improve to find functions implemented in C++.
12
472a3834
GM
132013-05-12 Glenn Morris <rgm@gnu.org>
14
15 * calendar/diary-lib.el (diary-outlook-format-1):
16 Don't include dayname in the output. (Bug#14349)
17
3191b52f
GM
182013-05-11 Glenn Morris <rgm@gnu.org>
19
0060ac73
GM
20 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
21
3191b52f
GM
22 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23 Treat cc-provide like provide.
24
e065ba74
KR
252013-05-11 Kevin Ryde <user42@zip.com.au>
26
27 * cus-dep.el (custom-make-dependencies):
28 Use generated-autoload-load-name for the sake of files such
29 such cedet/semantic/bovine/c.el, where the base file name
30 is not in load-path. (Bug#5277)
31
36f84c37
GM
322013-05-11 Glenn Morris <rgm@gnu.org>
33
34 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
35 Provide features.
36
c8730c3a
LL
372013-05-11 Leo Liu <sdl.web@gmail.com>
38
39 * progmodes/octave.el (octave-indent-comment): Improve.
40 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
41 (octave-eldoc-function-signatures, octave-eldoc-function): New
42 functions.
43 (octave-mode, inferior-octave-mode): Add eldoc support.
44
212e29f2
RS
452013-05-11 Richard Stallman <rms@gnu.org>
46
47 * epa.el (epa-decrypt-file): Take output file name as argument
48 and read it using `interactive'.
49
083fe0d7
LL
502013-05-11 Leo Liu <sdl.web@gmail.com>
51
52 * progmodes/octave.el (octave-beginning-of-line)
53 (octave-end-of-line): Check before using up-list because it jumps
54 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
55 (octave-indent-comment): New function.
56 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
57 (octave-begin-keywords, octave-end-keywords)
58 (octave-reserved-words, octave-smie-bnf-table)
59 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 60
8582e4c4
GM
612013-05-11 Glenn Morris <rgm@gnu.org>
62
f20def1f
GM
63 * faces.el (internal-face-x-get-resource):
64 * frame.el (ns-display-monitor-attributes-list):
65 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
66
67 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
68
445f95e2
GM
69 * calc/calc-menu.el: Make it loadable in isolation.
70
71 * net/eudcb-bbdb.el: Make it loadable without bbdb.
72 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
73 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
74 (eudc-bbdb-query-internal): Require 'bbdb.
75
99fb2756
GM
76 * lpr.el (lpr-headers-switches):
77 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
78
79 * progmodes/sql.el (sql-login-params): Fix and improve :type.
80
0da7ad96
GM
81 * emulation/edt-mapper.el: In batch mode, error rather than hang.
82
8582e4c4
GM
83 * term.el (term-set-escape-char): Make it idempotent.
84
f71c50d0
LL
852013-05-10 Leo Liu <sdl.web@gmail.com>
86
87 * progmodes/octave.el (inferior-octave-completion-table): No
88 longer a function and all uses changed. Use cache to speed up
89 completion due to bug#11906.
90 (octave-beginning-of-defun): Re-write to be more general.
91
d5837773
GM
922013-05-10 Glenn Morris <rgm@gnu.org>
93
94 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
95
027c0f75
SM
962013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * comint.el (comint-redirect-send-command-to-process): Use :around
99 rather than :override for comint-redirect-filter.
100 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
101 Call it instead of comint-redirect-original-filter-function (which
102 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
103
4465bfb4
JD
1042013-05-09 Jan Djärv <jan.h.d@swipnet.se>
105
106 * frame.el (display-monitor-attributes-list): Add NS case.
107 (ns-display-monitor-attributes-list): Declare.
108
2d809ffa 1092013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
110
111 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
112
e54eeb9b
GM
1132013-05-09 Glenn Morris <rgm@gnu.org>
114
56cd351d
GM
115 * international/fontset.el (vertical-centering-font-regexp):
116 Set standard-value.
117
d84b6108
GM
118 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
119
a931698a
GM
120 * bookmark.el (bookmark-search-delay):
121 * cus-start.el (vertical-centering-font-regexp):
122 * ps-mule.el (ps-mule-font-info-database-default):
123 * ps-print.el (ps-default-fg, ps-default-bg):
124 * type-break.el (type-break-good-break-interval):
125 * whitespace.el (whitespace-indentation-regexp)
126 (whitespace-space-after-tab-regexp):
127 * emacs-lisp/testcover.el (testcover-1value-functions)
128 (testcover-noreturn-functions, testcover-progn-functions)
129 (testcover-prog1-functions):
130 * emulation/viper-init.el (viper-emacs-state-cursor-color):
131 * eshell/em-glob.el (eshell-glob-translate-alist):
132 * play/tetris.el (tetris-tty-colors):
133 * progmodes/cpp.el (cpp-face-default-list):
134 * progmodes/flymake.el (flymake-allowed-file-name-masks):
135 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
136 (idlwave-help-browser-generic-args):
137 * progmodes/make-mode.el (makefile-special-targets-list):
138 * progmodes/python.el (python-shell-virtualenv-path):
139 * progmodes/verilog-mode.el (verilog-active-low-regexp)
140 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
141 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
142 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
143 * textmodes/reftex-vars.el (reftex-format-label-function):
144 * textmodes/remember.el (remember-diary-file): Fix custom types.
145
e54eeb9b
GM
146 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
147 Add :version.
148
455851dd
LL
1492013-05-09 Leo Liu <sdl.web@gmail.com>
150
151 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 152 Restore file completion. (Bug#14300)
455851dd
LL
153 (inferior-octave-startup): Fix incorrect highlighting for the
154 first prompt.
155
a9e4425b
SM
1562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * progmodes/ruby-mode.el: First cut at SMIE support.
159 (ruby-use-smie): New var.
160 (ruby-smie-grammar): New constant.
161 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
162 (ruby-smie--forward-token, ruby-smie--backward-token)
163 (ruby-smie-rules): New functions.
164 (ruby-mode-variables): Setup SMIE if applicable.
165
060ca408
EZ
1662013-05-08 Eli Zaretskii <eliz@gnu.org>
167
168 * simple.el (line-move-visual): Signal beginning/end of buffer
169 only if vertical-motion moved less than it was requested. Avoids
170 silly incorrect error messages when there are display strings with
171 multiple newlines at EOL.
172
1d5963cc
SM
1732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
176 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
177 (prolog-char-quote-workaround):
178 * progmodes/cperl-mode.el (cperl-under-as-char):
179 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
180 Mark as obsolete.
181 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
182 their declaration.
183 (vhdl-mode-syntax-table-init): Remove.
184
185 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
186
187 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
188 syntax for "_".
189 (ld-script-font-lock-keywords):
190 Change regexps to use things like \_< and \_>.
191
192 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
193 Change all regexps to use things like \_< and \_>.
194
195 * progmodes/autoconf.el (autoconf-definition-regexp)
196 (autoconf-font-lock-keywords, autoconf-current-defun-function):
197 Handle a _ with symbol syntax.
198 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
199
200 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
201 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
202 the declaration.
203 (ada-create-syntax-table): Remove.
204 (ada-capitalize-word): Don't mess with the syntax of "_" since it
205 already has the right syntax nowadays.
206 (ada-goto-next-word): Don't change the syntax of "_".
207
208 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
209 with-wrapper-hook.
210
72d3cfca
SS
2112013-05-08 Sam Steingold <sds@gnu.org>
212
213 * thingatpt.el (thing-at-point): Accept optional second argument
214 NO-PROPERTIES to strip the text properties from the return value.
215 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
216 to `thing-at-point' instead of stripping the properties ourselves.
217 Also, when `thing-at-point' fails to find a url, prepend "http://"
218 to the filename at point on the assumption that the user is
219 pointing at something like gnu.org/gnu.
220
5cb15713
JB
2212013-05-08 Juanma Barranquero <lekktu@gmail.com>
222
223 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
224 * faces.el (crm-separator):
225 Silence byte-compiler.
226
227 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
228 (tool-bar-map): Remove unneeded defvars.
229
ea78b95b
LL
2302013-05-08 Leo Liu <sdl.web@gmail.com>
231
232 Re-work a fix for bug#10994 based on Le Wang's patch.
233 * ido.el (ido-remove-consecutive-dups): New helper.
234 (ido-completing-read): Use it.
235 (ido-chop): Revert fix for bug#10994.
236
dc7466df
AS
2372013-05-08 Adam Spiers <emacs@adamspiers.org>
238
239 * cus-edit.el (custom-save-variables):
240 Pretty-print long values. (Bug#14187)
241
9ecf672a
GM
2422013-05-08 Glenn Morris <rgm@gnu.org>
243
244 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
245 (m4-mode-syntax-table): Init in the defvar.
246 (m4-mode-abbrev-table): Let define-derived-mode define it.
247
3f555be8
TT
2482013-05-08 Tom Tromey <tromey@redhat.com>
249
250 * progmodes/m4-mode.el (m4-mode-syntax-table):
251 Do not treat "_" as word constituent. (Bug#14167)
252
7cc8ae06
GM
2532013-05-07 Glenn Morris <rgm@gnu.org>
254
4f58bc06
GM
255 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
256 Remove explicit eshell-isearch-cancel-map.
257
7cc8ae06
GM
258 * progmodes/f90.el (f90-smart-end-names): New option.
259 (f90-smart-end): Doc fix.
260 (f90-end-block-optional-name): New constant.
261 (f90-block-match): Respect f90-smart-end-names.
262
ceb57e59
SM
2632013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * progmodes/octave.el (octave-smie-forward-token): Be more careful
266 about implicit semi-colons (bug#14218).
267
4e3f9230
YM
2682013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
269
270 * frame.el (display-monitor-attributes-list)
271 (frame-monitor-attributes): New functions.
272
203a5572
LL
2732013-05-06 Leo Liu <sdl.web@gmail.com>
274
275 * progmodes/octave.el (octave-syntax-propertize-function): Change
276 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
277 (octave-font-lock-keywords): Use octave-operator-regexp.
278 (octave-completion-at-point): Renamed from
279 octave-completion-at-point-function.
280 (inferior-octave-directory-tracker): Robustify.
281 (octave-text-functions): Remove and fix its uses. No such things
282 any more.
283
ee6cff99
SM
2842013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * emacs-lisp/trace.el (trace--display-buffer): New function.
287 (trace-make-advice): Use it.
288
32985194
JL
2892013-05-06 Juri Linkov <juri@jurta.org>
290
291 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
292 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
293 Doc fix.
294 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
295 in the help string. (Bug#12985)
296
a1c700de
KD
2972013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
298
299 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
300
c67c0839
SM
3012013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
302
323885fd
SM
303 * progmodes/perl-mode.el: Add support for here documents.
304 (perl-syntax-propertize-function): Match here-doc markers.
305 (perl-syntax-propertize-special-constructs): Find their end.
306 (perl-imenu-generic-expression): Use [:alnum:].
307
c67c0839
SM
308 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
309 (advice--add-function): Refresh the advice if already present
310 (bug#14317).
311
d491e7a8
IA
3122013-05-06 Ivan Andrus <darthandrus@gmail.com>
313
314 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
315
ddf9925e
GM
3162013-05-06 Glenn Morris <rgm@gnu.org>
317
7cc3af27
GM
318 * w32-fns.el (w32-charset-info-alist): Declare.
319
16e343d6
GM
320 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
321 of its defcustom properties.
322 (eshell-cmpl-initialize): No need to load pcomplete.
323
7d889a47
GM
324 * generic-x.el: No need to require comint when compiling.
325
ddf9925e
GM
326 * net/eudc-export.el: Make it loadable without bbdb.
327 (top-level): Use require rather than load-library.
328 (eudc-create-bbdb-record, eudc-bbdbify-phone)
329 (eudc-batch-export-records-to-bbdb)
330 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
331 Require bbdb.
332
1e2c18df
SM
3332013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
336 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
337 some tweaks, instead.
338
02502a5f
LL
3392013-05-05 Leo Liu <sdl.web@gmail.com>
340
341 * progmodes/octave.el (octave-font-lock-keywords)
342 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
343 (inferior-octave-send-list-and-digest): Improve error message.
344 (octave-mode, inferior-octave-mode): Use setq-local.
345 (octave-help): Set info-lookup-mode.
346
0dc04f42
RS
3472013-05-05 Richard Stallman <rms@gnu.org>
348
6c54491c
RS
349 * vc/compare-w.el (compare-windows-whitespace):
350 Treat no-break space as whitespace.
351
0dc04f42
RS
352 * mail/rmailsum.el (rmail-summary-rmail-update):
353 Detect empty summary and don't change selected message.
354 (rmail-summary-goto-msg): Likewise.
355
df8f35df
RS
356 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
357 Doc fixes, rename args.
358
5356e1a3
AM
3592013-05-05 Alan Mackenzie <acm@muc.de>
360
361 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
362
d44014cb
JL
3632013-05-05 Juri Linkov <juri@jurta.org>
364
365 * info.el (Info-read-subfile): Use (point-min) instead of (point)
366 to not add the length of the summary segment to the return value.
367 (Bug#14125)
368
c129b51f
LL
3692013-05-05 Leo Liu <sdl.web@gmail.com>
370
371 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
372 (inferior-octave-output-filter): Remove.
373 (octave-send-region, inferior-octave-startup): Fix callers.
374 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
375 (octave-binary-file-extensions): New user variable.
376 (octave-find-definition): Confirm if opening binary files.
377 (octave-help-file): Use octave-find-definition to get the binary
378 confirmation.
379 (octave-help): Adjust for octave-help-file change.
380
aa7dab97
SM
3812013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
384 Merge the two entries that handle function definitions.
385 (pascal--syntax-propertize): New const.
386 (pascal-mode): Use it. Use setq-local.
387
fd3a9a6b
GM
3882013-05-04 Glenn Morris <rgm@gnu.org>
389
390 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
391 (diary-from-outlook): Respect diary-from-outlook-function.
392
30c7e542
SM
3932013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
396 Move the declaration from C.
397 (read-minibuffer, eval-minibuffer): Move from C.
398 (completion-setup-function): Avoid minibuffer-completion-contents.
399
b54f978b
LL
4002013-05-03 Leo Liu <sdl.web@gmail.com>
401
402 * progmodes/octave.el (octave-font-lock-keywords): Do not
403 dehighlight 'end' in comments or strings.
30c7e542
SM
404 (octave-completing-read, octave-goto-function-definition):
405 New helpers.
d4d0f9b3
LL
406 (octave-help-buffer): New user variable.
407 (octave-help-file, octave-help-function): New button types.
408 (octave-help): New command and bind it to C-h ;.
409 (octave-find-definition): New command and bind it to M-.
d74a1581 410 (user-error): Alias to error if not defined.
b54f978b 411
27135018
LL
4122013-05-02 Leo Liu <sdl.web@gmail.com>
413
414 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
415 for \. (bug#14332)
416 (octave-font-lock-keywords): Include [ and {.
417
0d634d3a
LL
4182013-05-02 Leo Liu <sdl.web@gmail.com>
419
420 * progmodes/octave.el (inferior-octave-startup-file): Change default.
421 (inferior-octave): Remove calling comint-mode and return the buffer.
422 (inferior-octave-startup): Cosmetic changes.
423
b4c8295e
LL
4242013-05-02 Leo Liu <sdl.web@gmail.com>
425
30c7e542
SM
426 * progmodes/octave.el (octave-syntax-propertize-function):
427 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 428
f12ad6ec
GM
4292013-05-02 Glenn Morris <rgm@gnu.org>
430
431 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
432 * desktop.el (vc-dir-mode): Just autoload it here.
433
30cac1e0
AM
4342013-05-02 Alan Mackenzie <acm@muc.de>
435
436 Eliminate variable c-standard-font-lock-fontify-region-function.
437 * progmodes/cc-mode.el
438 (c-standard-font-lock-fontify-region-function): Remove.
439 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
440
d8ef28b1
LL
4412013-05-01 Leo Liu <sdl.web@gmail.com>
442
2640d52e 443 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 444 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 445 variables were removed from Octave in 2007.
d8ef28b1
LL
446 (inferior-octave-startup): Fix uses.
447 (comint-line-beginning-position): Remove compatibility code for
448 emacs 21.
449
ac63ec89
JL
4502013-05-01 Juri Linkov <juri@jurta.org>
451
452 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
453
9e9be37c
JL
4542013-05-01 Juri Linkov <juri@jurta.org>
455
456 * comint.el (comint-previous-matching-input): Don't print message
457 "History item: %d" when `isearch-mode' is active.
458 (comint-history-isearch-message): Print message "History item: %d"
459 when `comint-input-ring-index' is not empty and this function is
460 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
461
9b92c13b
LL
4622013-05-01 Leo Liu <sdl.web@gmail.com>
463
464 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
465 definitions. Use completion-at-point to insert keywords.
466 (octave-abbrev-start): Remove.
467 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
468
b12d33d7
LL
4692013-04-30 Leo Liu <sdl.web@gmail.com>
470
471 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
472 change.
473
3d1c39fa
AM
4742013-04-30 Alan Mackenzie <acm@muc.de>
475
476 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
477 * progmodes/cc-engine.el (c-back-over-member-initializers):
478 new function.
3d1c39fa
AM
479 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
480 (most) member init lists.
481
5147fc17
RS
4822013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
483
484 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
485 variable.
486
5b78d7fc
LL
4872013-04-30 Leo Liu <sdl.web@gmail.com>
488
489 * progmodes/octave.el (octave-variables): Remove. No builtin
490 variables any more. All converted to functions.
491 (octave-font-lock-keywords, octave-completion-at-point-function):
492 Fix uses.
493 (octave-font-lock-texinfo-comment): New user variable.
494 (octave-texinfo-font-lock-keywords): New variable for texinfo
495 comment block.
496 (octave-function-comment-block): New face.
497 (octave-font-lock-texinfo-comment): New function.
498 (octave-mode): Font lock texinfo comment block.
499
38d8527b
LL
5002013-04-29 Leo Liu <sdl.web@gmail.com>
501
502 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
503 indexing expression.
504 (octave-continuation-string): Do not use \.
505 (inferior-octave-complete-impossible): Remove.
506 (inferior-octave-completion-table)
507 (inferior-octave-completion-at-point): Remove its uses.
508 (inferior-octave-startup): completion_matches was introduced to
509 Octave in 1996 so safe to assume it.
510 (octave-function-file-comment): Improve to follow how Octave does it.
511 (octave-update-function-file-comment): Tweak.
512
2ec12cb0
LL
5132013-04-29 Leo Liu <sdl.web@gmail.com>
514
515 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
516 (inferior-octave-startup): Remove inferior-octave-startup-hook.
517 (octave-function-file-comment): Fix typo.
518 (octave-sync-function-file-names): Use read-char-choice.
519
6eaed048
JB
5202013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
521
522 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
523 to t for the less important warnings.
524
3ffa2d4f
DH
5252013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
526
527 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
528
685c9501
GM
5292013-04-27 Glenn Morris <rgm@gnu.org>
530
531 * vc/log-view.el (log-view-current-entry):
532 Treat "---" separator lines as part of the following rev. (Bug#14169)
533
0208ede7
JL
5342013-04-27 Juri Linkov <juri@jurta.org>
535
536 * subr.el (read-number): Doc fix about using it by interactive
537 code letter `n'. (Bug#14254)
538
5db9dace
JL
5392013-04-27 Juri Linkov <juri@jurta.org>
540
541 * desktop.el (desktop-auto-save-timeout): New option.
542 (desktop-file-checksum): New variable.
543 (desktop-save): Add optional arg `auto-save' and don't auto-save
544 if nothing changed.
545 (desktop-auto-save-timer): New variable.
546 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
547 (after-init-hook): Call `desktop-auto-save-set-timer'.
548 Suggested by Reuben Thomas <rrt@sc3d.org> in
549 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
550
b7260dd4
LL
5512013-04-27 Leo Liu <sdl.web@gmail.com>
552
553 * progmodes/octave.el (octave-function-file-p)
554 (octave-skip-comment-forward, octave-function-file-comment)
555 (octave-update-function-file-comment): New functions.
556 (octave-mode-map): Bind C-c ; to
557 octave-update-function-file-comment.
558 (octave-mode-menu): Add octave-update-function-file-comment.
559 (octave-mode, inferior-octave-mode): Fix doc-string.
560 (octave-insert-defun): Conform to Octave's coding convention.
561 (Bug#14285)
562
563 * files.el (basic-save-buffer): Don't let errors in
564 before-save-hook prevent saving buffer.
565
c46da669
RW
5662013-04-20 Roland Winkler <winkler@gnu.org>
567
568 * faces.el (read-face-name): Use completing-read if arg multiple
569 is nil.
570
a81ee1eb
IL
5712013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
572
573 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
574 displayed, move point to after the totals line.
575 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
576 for the details.
577
4fac34ce
SM
5782013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/package.el (package-autoload-ensure-default-file):
581 Add current dir to the load-path.
582 (package-generate-autoloads): Don't rely on
583 autoload-ensure-default-file.
584
f6bfc063
RT
5852013-04-26 Reuben Thomas <rrt@sc3d.org>
586
d40ab5cf
BG
587 * textmodes/remember.el (remember-store-in-files): Document that
588 the file name format is passed to `format-time-string'.
f6bfc063 589
e55d3b04
LL
5902013-04-26 Leo Liu <sdl.web@gmail.com>
591
592 * progmodes/octave.el (octave-sync-function-file-names): New function.
593 (octave-mode): Use it in before-save-hook.
594
e53052d3
SM
5952013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
596
140ef50c
SM
597 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
598 (bug#14274).
599
e53052d3
SM
600 * progmodes/octave.el (octave-smie-forward-token): Properly skip
601 \n and comment, even if it's not an implicit ; (bug#14218).
602
af80458d 6032013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
604
605 * subr.el (read-number): Once more use `read' rather than
606 `string-to-number', to trap non-numeric input. (Bug#14254)
607
af80458d 6082013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
609
610 * emacs-lisp/syntax.el (syntax-propertize-multiline):
611 Use `syntax-multiline' text property consistently instead of
612 `font-lock-multiline'. (bug#14237).
613
e6ea1f6c
GM
6142013-04-26 Glenn Morris <rgm@gnu.org>
615
616 * emacs-lisp/shadow.el (list-load-path-shadows):
617 No longer necessary to check for duplicate simple.el, since
618 2012-07-07 change to init_lread to not include installation lisp
619 directories in load-path when running uninstalled. (Bug#14270)
620
070ccca4
LL
6212013-04-26 Leo Liu <sdl.web@gmail.com>
622
623 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
624 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 625 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
626 octave-in-string-or-comment-p.
627 (octave-in-comment-p, octave-in-string-p)
628 (octave-in-string-or-comment-p): Replace defsubst with defun.
629
9d1c5fb6
PE
6302013-04-25 Paul Eggert <eggert@cs.ucla.edu>
631
632 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
633
c034abda
BG
6342013-04-25 Bastien Guerry <bzg@gnu.org>
635
636 * textmodes/remember.el (remember-data-directory)
637 (remember-directory-file-name-format): Fix custom types.
638
584ea277
LL
6392013-04-25 Leo Liu <sdl.web@gmail.com>
640
e53052d3
SM
641 * progmodes/octave.el (octave-completion-at-point-function):
642 Make use of inferior octave process.
584ea277
LL
643 (octave-initialize-completions): Remove.
644 (inferior-octave-completion-table): New function.
645 (inferior-octave-completion-at-point): Use it.
646 (octave-completion-alist): Remove.
647
1693b06a
SM
6482013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * progmodes/opascal.el: Use font-lock and syntax-propertize.
651 (opascal-mode-syntax-table): New var.
652 (opascal-literal-kind, opascal-is-literal-end)
653 (opascal-literal-token-at): Rewrite.
654 (opascal--literal-start-re, opascal-font-lock-keywords)
655 (opascal--syntax-propertize): New constants.
656 (opascal-font-lock-defaults): Adjust.
657 (opascal-mode): Use them. Set comment-<foo> variables as well.
658 (delphi-comment-face, opascal-comment-face, delphi-string-face)
659 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
660 (delphi-other-face, opascal-other-face): Remove face variables.
661 (opascal-save-state): Remove macro.
662 (opascal-fontifying-progress-step): Remove constant.
663 (opascal--ignore-changes): Remove var.
664 (opascal-set-token-property, opascal-parse-next-literal)
665 (opascal-is-stable-literal, opascal-complete-literal)
666 (opascal-is-literal-start, opascal-face-of)
667 (opascal-parse-region, opascal-parse-region-until-stable)
668 (opascal-fontify-region, opascal-after-change)
669 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
670 (opascal-debug-parse-region, opascal-debug-parse-window)
671 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
672 (opascal-debug-fontify-buffer): Remove.
673 (opascal-debug-mode-map): Adjust accordingly.
674
be64c05d
LL
6752013-04-25 Leo Liu <sdl.web@gmail.com>
676
677 Merge octave-mod.el and octave-inf.el into octave.el with some
678 cleanups.
679 * progmodes/octave.el: New file renamed from octave-mod.el.
680 * progmodes/octave-inf.el: Merged into octave.el.
681 * progmodes/octave-mod.el: Renamed to octave.el.
682
d79d37bd
TH
6832013-04-25 Tassilo Horn <tsdh@gnu.org>
684
685 * textmodes/reftex-vars.el
686 (reftex-label-ignored-macros-and-environments): New defcustom.
687
688 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
689
ced3fc5d
SM
6902013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
693 (smie-indent-keyword): Improve the check to ensure that the next
694 comment is really on the same line.
695 (smie-indent-comment): Don't align with a subsequent closer (or eob).
696
697 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
698 semi-colons if the line is not otherwise empty (bug#14218).
699
1c141dad
GM
7002013-04-25 Glenn Morris <rgm@gnu.org>
701
702 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
703
5058062a
SM
7042013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * progmodes/opascal.el (opascal-set-token-property): Rename from
707 opascal-set-text-properties and only set `token' (bug#14134).
708 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
709 (opascal-literal-text-properties): Remove.
710 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
711 Adjust callers.
712
5db9dace 7132013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
714
715 * textmodes/remember.el (remember-handler-functions): Add an
716 option for a new handler `remember-store-in-files'.
717 (remember-data-directory, remember-directory-file-name-format):
718 New options.
719 (remember-store-in-files): New function to store remember notes
720 as separate files within a directory.
721
4391916c
MH
7222013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
723
724 * progmodes/compile.el (compilation-next-error-function):
725 Pass "formats" to compilation-find-file (bug#11777).
726
bb7cdf58
GM
7272013-04-24 Glenn Morris <rgm@gnu.org>
728
3b8fe752 729 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
730 * vc/vc-hg.el (vc-hg-print-log):
731 * vc/vc-svn.el (vc-svn-print-log):
732 Fix START-REVISION with LIMIT != 1. (Bug#14168)
733
bb7cdf58
GM
734 * vc/vc-bzr.el (vc-bzr-print-log):
735 * vc/vc-cvs.el (vc-cvs-print-log):
736 * vc/vc-git.el (vc-git-print-log):
737 * vc/vc-hg.el (vc-hg-print-log):
738 * vc/vc-mtn.el (vc-mtn-print-log):
739 * vc/vc-rcs.el (vc-rcs-print-log):
740 * vc/vc-sccs.el (vc-sccs-print-log):
741 * vc/vc-svn.el (vc-svn-print-log):
742 * vc/vc.el (vc-print-log-internal): Doc fixes.
743
b46a056e
GM
7442013-04-23 Glenn Morris <rgm@gnu.org>
745
746 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
747 Remove venerable code attempting to avoid substitute-command-keys.
748
0aecf718
TH
7492013-04-23 Tassilo Horn <tsdh@gnu.org>
750
4391916c
MH
751 * textmodes/reftex-vars.el (reftex-label-regexps):
752 Call `reftex-compile-variables' after changes to this variable.
0aecf718 753
117f94cf
SM
7542013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
755
4391916c 756 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
757 Use lexical-binding.
758 (jit-lock-force-redisplay): Use markers, check buffer's continued
759 existence and beware narrowed buffers.
760 (jit-lock-fontify-now): Adjust call accordingly.
761
1d829c64
SM
7622013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
765 to avoid misleading the user.
766
72d548a9
LL
7672013-04-22 Leo Liu <sdl.web@gmail.com>
768
769 * info-look.el: Prefer latex2e.info. (Bug#14240)
770
d0853629
MA
7712013-04-22 Michael Albinus <michael.albinus@gmx.de>
772
773 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
774
775 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
776 * net/tramp.el (tramp-call-process): ... here
777 (tramp-set-completion-function, tramp-parse-putty):
778 * net/tramp-adb.el (tramp-adb-execute-adb-command):
779 * net/tramp-gvfs.el (tramp-gvfs-send-command):
780 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
781 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
782 (tramp-call-local-coding-command): Use `tramp-call-process'
783 instead of `tramp-compat-call-process'.
784
785 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
786 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
787 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
788 (tramp-find-inline-compress):Improve traces.
789 (tramp-maybe-send-script): Check for Perl binary.
790 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
791
38cc0210
DU
7922013-04-22 Daiki Ueno <ueno@gnu.org>
793
794 * epg.el (epg-context-pinentry-mode): New function.
795 (epg-context-set-pinentry-mode): New function.
796 (epg--start): Pass --pinentry-mode option to gpg command.
797
cc641ee1
XF
7982013-04-21 Xue Fuqiao <xfq.free@gmail.com>
799
5d4e5c31
XF
800 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
801 `comint-dynamic-complete' is obsolete since 24.1, replaced by
802 `completion-at-point'. (Bug#13774)
803
cc641ee1
XF
804 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
805 default key binding for `describe-distribution' has been moved to
806 `C-h C-o'. (Bug#13970)
807
1b42ee43
GM
8082013-04-21 Glenn Morris <rgm@gnu.org>
809
810 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
811 Add doc strings.
812 (vc-print-log): Clarify interactive prompt.
813
a6d63d97
GM
8142013-04-20 Glenn Morris <rgm@gnu.org>
815
816 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
817 No longer include timestamp etc information.
818
d7f5c16f
RW
8192013-04-20 Roland Winkler <winkler@gnu.org>
820
821 * faces.el (read-face-name): Bug fix, return just one face if arg
822 multiple is nil. (Bug#14209)
823
bcd7a0a4
SM
8242013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
827 (remove-function): Autoload.
828
829 * comint.el (comint-redirect-original-filter-function): Remove.
830 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
831 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
832 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
833 * progmodes/prolog.el (prolog-consult-compile):
834 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
835 Use add/remove-function instead.
836 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
837 (gud-tooltip-process-output, gud-tooltip-tips):
838 Use add/remove-function instead.
839 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
840 (scheme-interaction-mode, exit-scheme-interaction-mode):
841 Use add/remove-function instead.
842
843 * vc/vc-dispatcher.el: Use lexical-binding.
844 (vc--process-sentinel): Rename from vc-process-sentinel.
845 Change last arg to be the code to run. Don't use vc-previous-sentinel
846 and vc-sentinel-commands any more.
847 (vc-exec-after): Allow code to be a function. Use add/remove-function.
848 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
849
4d3268ba
MY
8502013-04-19 Masatake YAMATO <yamato@redhat.com>
851
bcd7a0a4 852 * progmodes/sh-script.el (sh-imenu-generic-expression):
2ebed929 853 Handle function names with a single character. (Bug#14111)
4d3268ba 854
863beb27
DK
8552013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
856
857 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
858 for subroutines defined in an eval (bug#14182).
859
7d688336
TV
8602013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
861
862 * bookmark.el (bookmark-completing-read): Improve handling of empty
863 string (bug#14176).
864
31dcede0
SM
8652013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
868
adc31213
FEG
8692013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
870
871 New faster Imenu implementation (bug#14058).
872 * progmodes/python.el:
873 (python-imenu-prev-index-position):
874 (python-imenu-format-item-label-function)
875 (python-imenu-format-parent-item-label-function)
876 (python-imenu-format-parent-item-jump-label-function):
877 New vars.
878 (python-imenu-format-item-label)
879 (python-imenu-format-parent-item-label)
880 (python-imenu-format-parent-item-jump-label)
881 (python-imenu--put-parent, python-imenu--build-tree)
882 (python-imenu-create-index, python-imenu-create-flat-index)
883 (python-util-popn): New functions.
884 (python-mode): Set imenu-create-index-function to
885 python-imenu-create-index.
886
cdca8255
SM
8872013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * winner.el (winner-active-region): Use region-active-p, activate-mark
890 and deactivate-mark (bug#14225).
891
892 * simple.el (deactivate-mark): Don't inline it.
893
beb42340
MA
8942013-04-18 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
897
fc7f4d7e
TH
8982013-04-18 Tassilo Horn <tsdh@gnu.org>
899
900 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
901 file extensions from the archive-mode entry in order to prefer
902 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
903
29f47822
LL
9042013-04-18 Leo Liu <sdl.web@gmail.com>
905
906 * bindings.el (help-event-list): Add ?\?.
907
d36ed1c8
SM
9082013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * subr.el (with-wrapper-hook): Declare obsolete.
911 * simple.el (filter-buffer-substring-function): New hook.
912 (filter-buffer-substring): Use it.
913 (filter-buffer-substring-functions): Mark obsolete.
914 * minibuffer.el (completion-in-region-function): New hook.
915 (completion-in-region): Use it.
916 (completion-in-region-functions): Mark obsolete.
917 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
918 * abbrev.el (abbrev-expand-function): New hook.
919 (expand-abbrev): Use it.
920 (abbrev-expand-functions): Mark obsolete.
921 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
922 and :filter-return.
923
04754d36
FEG
9242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
925
926 * progmodes/python.el (python-nav--syntactically): Fix cornercases
927 and do not care about match data.
928
dd8791e9
SM
9292013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
932 completion tables when completing error conditions and
933 `declare' arguments.
934 (lisp-complete-symbol, field-complete): Mark as obsolete.
935 (check-parens): Unmatched parens are user errors.
936 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
937
ffe54a13
AM
9382013-04-17 Michal Nazarewicz <mina86@mina86.com>
939
dd8791e9
SM
940 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
941 command changed buffer (ie. `flyspell-pre-buffer' is not current
942 buffer), which prevents making decisions based on invalid value of
943 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
944 cause an error when `flyspell-pre-point' was nil after switching
945 buffers.
946 (flyspell-post-command-hook): No longer needs to change buffers when
947 checking pre-word. While at it remove unnecessary progn.
ffe54a13 948
ec7e39f2
AM
9492013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
950
951 * textmodes/ispell.el (ispell-add-per-file-word-list):
952 Fix `flyspell-correct-word-before-point' error when accepting
953 words and `coment-padding' is an integer by using
954 `comment-normalize-vars' (Bug #14214).
955
083850a6
FEG
9562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
957
958 New defun movement commands.
959 * progmodes/python.el (python-nav--syntactically)
960 (python-nav--forward-defun, python-nav-backward-defun)
961 (python-nav-forward-defun): New functions.
962
619ed6e1
FEG
9632013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
964
965 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
966 (python-syntax-context): Use named compiler-macro for backwards
967 compatibility with Emacs 24.x.
968
7a1beb6c
LL
9692013-04-17 Leo Liu <sdl.web@gmail.com>
970
971 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
972 octave-hide-process-buffer.
973
2d3fa3e5
SM
9742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
977 (bug#14216).
978
7ce5be54
JPG
9792013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
980
981 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
982 Fix adjustment of offset when receiving incomplete responses from GDB
983 (bug#14129).
984
351edece
SM
9852013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
988 python-mode-abbrev-table.
989 (python-skeleton-define): Adjust accordingly.
990 (python-mode-abbrev-table): New table that inherits from it so that
991 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
992
993 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
994 (abbrev-symbol): Use it.
995 (abbrev--before-point): Use it since we already handle inheritance.
996
613f9481
LL
9972013-04-16 Leo Liu <sdl.web@gmail.com>
998
999 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1000 binding to info-lookup-symbol.
1001
51646b62
JB
10022013-04-16 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * minibuffer.el (completion--twq-all):
1005 * term/ns-win.el (ns-initialize-window-system):
1006 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1007
efb3f01d
SM
10082013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1009
36c0a301
SM
1010 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1011 global bindings.
1012
efb3f01d
SM
1013 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1014
fb549d64
DG
10152013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1016
1017 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1018 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1019 to nil.
1020 (ruby-end-of-defun): Remove the unused arg, change the docstring
1021 to reflect that this function is only used as the value of
1022 `end-of-defun-function'.
1023 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1024 to reflect an earlier change that beginning/end-of-defun functions
1025 jump between methods in a class definition, as well as top-level
1026 functions.
1027
21e8fe2f
SM
10282013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * minibuffer.el (minibuffer-complete): Don't just scroll
1031 a *Completions* that's been iconified.
1032 (minibuffer-force-complete): Make sure repetitions do cycle when going
1033 through completion-in-region -> minibuffer-complete.
1034
20e527d0
AM
10352013-04-15 Alan Mackenzie <acm@muc.de>
1036
1037 Correct the placement of c-cpp-delimiters when there're #s not at
1038 col 0.
1039
1040 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1041 place a submatch around the #.
21e8fe2f
SM
1042 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1043 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
1044 on the #, not BOL.
1045
dabefae5
SM
10462013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1049 (advice--member-p): New arg `name'.
1050 (advice--add-function, advice-member-p): Use it (bug#14202).
1051
85c9ab64
AM
10522013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1053
1054 Reformulate java imenu-generic-expression.
1055 The old expression contained ill formed regexps.
1056
1057 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1058 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1059 (cc-imenu-java-method-arg-regexp): New defconsts.
1060 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 1061 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
1062 handling of spaces in the regexp.
1063
0f821d99
AM
10642013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1065
1066 * textmodes/ispell.el (ispell-command-loop): Remove
1067 flyspell highlight of a word when ispell accepts it (bug #14178).
1068
eb922adf
MA
10692013-04-15 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1072 uses code from the previous `ange-ftp-run-real-handler'.
1073 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1074 only in case that function exist. This is needed for proper
1075 unloading of Tramp.
1076
4d9a0979
TH
10772013-04-15 Tassilo Horn <tsdh@gnu.org>
1078
1079 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1080
1081 * textmodes/reftex.el (reftex-compile-variables): Use it.
1082
a829b0dc
SM
10832013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1084
91e8293c
SM
1085 * files.el (normal-mode): Only use default major-mode if no other mode
1086 was specified.
1087
830aed4d
SM
1088 * emacs-lisp/trace.el (trace-values): New function.
1089
a829b0dc
SM
1090 * files.el: Allow : in local variables (bug#14089).
1091 (hack-local-variable-regexp): New var.
1092 (hack-local-variables-prop-line, hack-local-variables): Use it.
1093
7ae9f0fb
RW
10942013-04-13 Roland Winkler <winkler@gnu.org>
1095
1096 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1097 data before it gets modified by bibtex-beginning-of-entry.
1098
6646e848
RW
10992013-04-13 Roland Winkler <winkler@gnu.org>
1100
1101 * textmodes/bibtex.el (bibtex-url): Doc fix.
1102
11032013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
1104
1105 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1106 does not visit a BibTeX file, exclude it from the list of buffers
1107 returned by bibtex-initialize.
1108
0aa3616e
SB
11092013-04-13 Stephen Berman <stephen.berman@gmx.net>
1110
1111 * window.el (split-window): Remove interactive form, since as a
1112 command this function is a special case of split-window-below.
1113 Correct doc string.
1114
011cddd6
RW
11152013-04-12 Roland Winkler <winkler@gnu.org>
1116
1117 * faces.el (read-face-name): Do not override value of arg default.
1118 Allow single faces and strings as default values. Remove those
1119 elements from return value that are not faces.
1120 (describe-face): Simplify.
1121 (face-at-point): New optional args thing and multiple so that this
1122 function can provide the same functionality previously provided by
1123 read-face-name.
1124 (make-face-bold, make-face-unbold, make-face-italic)
1125 (make-face-unitalic, make-face-bold-italic, invert-face)
1126 (modify-face, read-face-and-attribute): Use face-at-point.
1127
1128 * cus-edit.el (customize-face, customize-face-other-window)
1129 * cus-theme.el (custom-theme-add-face)
1130 * face-remap.el (buffer-face-set)
1131 * facemenu.el (facemenu-set-face): Use face-at-point.
1132
f24e0036
MA
11332013-04-12 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1136
da3cda2d
TH
11372013-04-10 Tassilo Horn <tsdh@gnu.org>
1138
1139 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1140 off leading { and trailing } from field values.
1141
15e54145
SM
11422013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1143
78ce603d
SM
1144 * emacs-lisp/timer.el (timer--check): New function.
1145 (timer--time, timer-set-function, timer-event-handler): Use it.
1146 (timer-set-idle-time): Simplify.
1147 (timer--activate): CSE.
1148 (timer-event-handler): Give more info in error message.
1149 (internal-timer-start-idle): New function, moved from C.
1150
15e54145
SM
1151 * mpc.el (mpc-proc): Add `restart' argument.
1152 (mpc-proc-cmd): Use it.
1153 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1154 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1155 less often.
1156
7144c627
MY
11572013-04-10 Masatake YAMATO <yamato@redhat.com>
1158
1159 * progmodes/sh-script.el: Implement `sh-mode' own
1160 `add-log-current-defun-function' (bug#14112).
1161 (sh-current-defun-name): New function.
1162 (sh-mode): Use the function.
1163
b39792eb
BG
11642013-04-09 Bastien Guerry <bzg@gnu.org>
1165
1166 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1167
8acdeb71
SM
11682013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1169
6fcdab68
SM
1170 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1171
8acdeb71
SM
1172 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1173 timer (bug#14156).
1174
e3e7b504
NF
11752013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1176
1177 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1178 declaration.
1179
201bb296
LL
11802013-04-07 Leo Liu <sdl.web@gmail.com>
1181
1182 * pcmpl-x.el: New file.
1183
ebb19708
DA
11842013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1185
1186 Do not set x-display-name until X connection is established.
1187 This is needed to prevent from weird situation described at
1188 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1189 * frame.el (make-frame): Set x-display-name after call to
1190 window system initialization function, not before.
1191 * term/x-win.el (x-initialize-window-system): Add optional
1192 display argument and use it.
1193 * term/w32-win.el (w32-initialize-window-system):
1194 * term/ns-win.el (ns-initialize-window-system):
1195 * term/pc-win.el (msdos-initialize-window-system):
1196 Add compatible optional display argument.
1197
33bb237a
EZ
11982013-04-06 Eli Zaretskii <eliz@gnu.org>
1199
1200 * files.el (normal-backup-enable-predicate): On MS-Windows and
1201 MS-DOS compare truenames of temporary-file-directory and of the
1202 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1203 don't fail comparison by compare-strings. Also, compare file
1204 names case-insensitively on MS-Windows and MS-DOS.
1205
134abf1f
SM
12062013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1209 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1210
d695cb94
DG
12112013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1212
e3e7b504
NF
1213 * whitespace.el (whitespace-color-on, whitespace-color-off):
1214 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 1215
f4ad7ea1 12162013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
1217
1218 * ispell.el (ispell-set-spellchecker-params):
1219 Really set `ispell-args' for all equivs.
1220
632556e4
SM
12212013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * ido.el (ido-completions): Use extra elements of ido-decorations
1224 (bug#14143).
1225 (ido-decorations): Update docstring.
1226
2a417372
MA
12272013-04-05 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1230 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1231 nil during initialization, in order not to miss changes since the
1232 file was opened. (Bug#14140)
1233
fc164b0c
LL
12342013-04-05 Leo Liu <sdl.web@gmail.com>
1235
1236 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1237
0ccecc08
JB
12382013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1239
1240 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1241
51af1aa2
GM
12422013-04-04 Glenn Morris <rgm@gnu.org>
1243
1244 * electric.el (electric-pair-inhibit-predicate): Add :version.
1245
b208ebc6
SM
12462013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1249 when a package is required several times (bug#14082).
1250
f3d3eaf0
RW
12512013-04-04 Roland Winkler <winkler@gnu.org>
1252
1253 * faces.el (read-face-name): Behave as promised by the docstring.
1254 Assume that arg default is a list of faces.
1255 (describe-face): Call read-face-name with list of default faces.
1256
2575da50
TV
12572013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1258
1259 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1260 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1261 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1262 the header.
1263 (bookmark-exit-hook-internal): Save even if list is empty.
1264
397703b4
YH
12652013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1266
1267 * emacs-lisp/package.el (package-pinned-packages): New var.
1268 (package--add-to-archive-contents): Obey it (bug#14118).
1269
691e26ae
AM
12702013-04-03 Alan Mackenzie <acm@muc.de>
1271
1272 Handle `parse-partial-sexp' landing inside a comment opener
1273 (Bug#13244). Also adapt to the new values of element 7 of a parse
1274 state.
1275
1276 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1277 parameter `not-in-delimiter'. Handle being inside comment opener.
1278 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1279 character in case we're typing a '*' after a '/'.
1280 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1281 instead by passing the parameter to c-state-pp-to-literal.
1282
1283 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1284 for elt. 7 of a parse state.
1285
4b725a70
PE
12862013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1287
1288 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1289 * international/latin1-disp.el, international/mule-util.el:
1290 * language/cyril-util.el, language/european.el, language/ind-util.el:
1291 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1292 * language/tibetan.el, language/viet-util.el:
1293 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1294
15c579f0
SM
12952013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1298 (electric-pair-post-self-insert-function): Use it.
1299 (electric-pair-default-inhibit): New function, extracted from
1300 electric-pair-post-self-insert-function.
1301
a77e2924
RW
13022013-03-31 Roland Winkler <winkler@gnu.org>
1303
1304 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1305
2bd8a4a8
SM
13062013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1309
8d3655be 13102013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
1311
1312 Un-indent after "pass" and "return" statements (Bug#13888)
1313 * progmodes/python.el (python-indent-block-enders): New var.
1314 (python-indent-calculate-indentation): Use it.
1315
8d3655be 13162013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
1317
1318 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1319 defun. Defining it as defalias could introduce too eager
1320 byte-compiler optimization. (Bug#14030)
1321
8d3655be 13222013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
1323
1324 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1325
0b1619da
LL
13262013-03-30 Leo Liu <sdl.web@gmail.com>
1327
1328 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1329 (kmacro-execute-from-register): Pass the keyboard macro to
1330 kmacro-call-macro or repeating won't work correctly.
1331
0b938190
TZ
13322013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1333
1334 * progmodes/subword.el: Back to using `forward-symbol'.
1335
1336 * subr.el (forward-whitespace, forward-symbol)
1337 (forward-same-syntax): Move from thingatpt.el.
1338
35710234
LL
13392013-03-29 Leo Liu <sdl.web@gmail.com>
1340
1341 * kmacro.el (kmacro-to-register): New command.
1342 (kmacro-execute-from-register): New function.
1343 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1344
efc0bb73
SM
13452013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * mpc.el: Use defvar-local and setq-local.
1348 (mpc--proc-connect): Connection failures are not bugs.
1349 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1350 (mpc-volume-map): Bind to the up-events.
1351
75a2f981
TZ
13522013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1353
1354 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1355 instead of `forward-symbol'.
1356
17c781d1
SM
13572013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1360 (edebug--recursive-edit): Use it.
1361 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1362 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1363
f67bfbcf
LL
13642013-03-28 Leo Liu <sdl.web@gmail.com>
1365
1366 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1367
b59f639d
EZ
13682013-03-27 Eli Zaretskii <eliz@gnu.org>
1369
1370 * facemenu.el (list-colors-callback): New defvar.
1371 (list-colors-redisplay): New function.
1372 (list-colors-display): Install list-colors-redisplay as the
1373 revert-buffer-function. (Bug#14063)
1374
f557c1b1
SM
13752013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1376
b1da2957
SM
1377 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1378 and suffixes don't overlap (bug#14061).
1379
f557c1b1
SM
1380 * case-table.el: Use lexical-binding.
1381 (case-table-get-table): New function.
1382 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1383
002668e1
TZ
13842013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1385
1386 * progmodes/subword.el: Add `superword-mode' to do word motion
1387 over symbol_words (parallels and leverages `subword-mode' which
1388 does word motion inside MixedCaseWords).
1389
73572c72
AG
13902013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1391
78b8f320 1392 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 1393 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 1394
69b2c07e
SM
13952013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1398 Change return value to be a sexp. Delay `get-buffer' to after
1399 restoring the desktop (bug#13951).
1400
08bb5ee2
LL
14012013-03-26 Leo Liu <sdl.web@gmail.com>
1402
1403 * register.el: Move semantic tag handling back to
1404 cedet/semantic/senator.el. (Bug#14052)
1405
8d4c974e
SM
14062013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1409 into the prompt either (bug#13963).
1410
b234d92c
SM
14112013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1414 part of "(error-foo)".
1415
ddfa3cb4
JL
14162013-03-24 Juri Linkov <juri@jurta.org>
1417
1418 * replace.el (list-matching-lines-prefix-face): New defcustom.
1419 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1420 `occur-engine' if `face-differs-from-default-p' returns t.
1421 (occur-engine): Add `,' inside backquote construct to evaluate
1422 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1423 Pass `prefix-face' to the functions `occur-context-lines' and
1424 `occur-engine-add-prefix'.
1425 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1426 `prefix-face' and propertize the prefix with `prefix-face'.
1427 (Bug#14017)
1428
7b0e2f85
LL
14292013-03-24 Leo Liu <sdl.web@gmail.com>
1430
1431 * nxml/rng-valid.el (rng-validate-while-idle)
1432 (rng-validate-quick-while-idle): Guard against deleted buffer.
1433 (Bug#13999)
1434
1435 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1436 is the last entry in kill-buffer-hook.
1437
1438 * files.el (kill-buffer-hook): Doc fix.
1439
b3082f49
DG
14402013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1441
b234d92c
SM
1442 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1443 Make it safe-local.
bde73d27 1444
b3082f49
DG
1445 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1446
a320a2db
LL
14472013-03-23 Leo Liu <sdl.web@gmail.com>
1448
7e74b0fb
LL
1449 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1450 Remove.
1451
1452 * nxml/rng-valid.el (rng-validate-mode)
1453 (rng-after-change-function, rng-do-some-validation):
1454 * nxml/rng-maint.el (rng-validate-buffer):
1455 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1456 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1457 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1458 (nxml-extend-after-change-region): Use with-silent-modifications.
1459
a320a2db
LL
1460 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1461 timer-idle-list.
1462
1463 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1464 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1465 timer-idle-list. (Bug#13999)
1466
e38e6780
JL
14672013-03-23 Juri Linkov <juri@jurta.org>
1468
1469 * info.el (info-index-match): New face.
1470 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1471 main pattern and add text properties with the new face to matches
1472 in index entries relative to the beginning of the index entry.
1473 (Bug#14015)
1474
e8cc7880
DE
14752013-03-21 Eric Ludlam <zappo@gnu.org>
1476
1477 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1478 Inhibit read only while inserting objects.
1479
9bb0d822
TZ
14802013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1481
1482 * progmodes/cfengine.el: Update docs to mention
1483 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1484 symbol motion. Remove "_" from the word syntax.
1485
aa703640
TZ
14862013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1487
1488 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1489 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1490
afff09d0
JL
14912013-03-20 Juri Linkov <juri@jurta.org>
1492
1493 * info.el (Info-next-reference-or-link)
1494 (Info-prev-reference-or-link): New functions.
1495 (Info-next-reference, Info-prev-reference): Use them.
1496 (Info-try-follow-nearest-node): Handle footnote navigation.
1497 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1498
9a1ff164
SM
14992013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1502 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1503
2667d15d
PE
15042013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1505
1506 Suppress unnecessary non-ASCII chatter during build process.
1507 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1508 (batch-skkdic-convert): Suppress most of the chatter.
1509 It's not needed so much now that machines are faster,
1510 and its non-ASCII component was confusing; see Dmitry Gutov in
1511 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1512
438b0579
LL
15132013-03-20 Leo Liu <sdl.web@gmail.com>
1514
1515 * ido.el (ido-chop): Fix bug#10994.
1516
c128ab07
DG
15172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1518
1519 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1520 Remove vars.
9a1ff164
SM
1521 (whitespace-color-on, whitespace-color-off):
1522 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 1523
0e6008c5
SM
15242013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1527 remapping in mode-line.
1528 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1529
627b52b0
DG
15302013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1533 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
1534 (whitespace-font-lock-keywords): Change description.
1535 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1536 the constructed keywords instead.
1537 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 1538
50c3a20b
LL
15392013-03-19 Leo Liu <sdl.web@gmail.com>
1540
1541 * progmodes/compile.el (compilation-display-error): New command.
1542 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1543 C-o. (Bug#13992)
1544
2aa2157b
PE
15452013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1546
1547 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1548
e477dbfa
JD
15492013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1550
1551 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1552
64ab82d1
MA
15532013-03-18 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1556
1557 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1558 * net/tramp-gvfs.el (top):
1559 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1560 (tramp-handle-shell-command): Use it.
1561 (tramp-dissect-file-name): Raise an error when hostname is a
1562 method name, and neither method nor user is specified.
1563
1564 * net/trampver.el: Update release number.
1565
33cef733
LL
15662013-03-18 Leo Liu <sdl.web@gmail.com>
1567
1568 Make sure eldoc can be turned off properly.
1569 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1570 eldoc-mode.
1571 (eldoc-display-message-p): Revert last change.
1572 (eldoc-display-message-no-interference-p)
1573 (eldoc-print-current-symbol-info): Tweak.
1574
2167b7b2
TH
15752013-03-18 Tassilo Horn <tsdh@gnu.org>
1576
1577 * doc-view.el (doc-view-new-window-function): Check the new window
1578 overlay's display property instead the char property of the
1579 buffer's first char. Use `with-selected-window' instead of
1580 `save-window-excursion' with `select-window'.
1581 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 1582 display property instead the char property of the buffer's first char.
2167b7b2 1583
982efbcd
PE
15842013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1585
1586 Automate the build of ja-dic.el (Bug#13984).
1587 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1588 from the input, rather than assume that it's been done for us by the
1589 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1590 the current date into a ja-dic.el comment, as that complicates
1591 regression testing.
1592
2fcc7665
SM
15932013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * whitespace.el: Fix double evaluation.
1596 (whitespace-space, whitespace-hspace, whitespace-tab)
1597 (whitespace-newline, whitespace-trailing, whitespace-line)
1598 (whitespace-space-before-tab, whitespace-indentation)
1599 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1600 obsolete defvars.
1601 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1602 (whitespace-color-on): Use a single font-lock-add-keywords call.
1603 Fix double-evaluation of face variables.
1604
67c0a6e6
MA
16052013-03-17 Michael Albinus <michael.albinus@gmx.de>
1606
2fcc7665
SM
1607 * net/tramp-adb.el (tramp-adb-parse-device-names):
1608 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 1609 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 1610
69489f1d
LL
16112013-03-17 Leo Liu <sdl.web@gmail.com>
1612
1613 Extend eldoc to display info in the mode-line. (Bug#13978)
1614 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1615 (eldoc-mode-line-string): New variable.
1616 (eldoc-minibuffer-message): New function.
1617 (eldoc-message-function): New variable.
1618 (eldoc-message): Use it.
1619 (eldoc-display-message-p)
2fcc7665
SM
1620 (eldoc-display-message-no-interference-p):
1621 Support eldoc-post-insert-mode.
69489f1d
LL
1622
1623 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1624 (eval-expression): Run it.
1625
9c44569e
RW
16262013-03-17 Roland Winkler <winkler@gnu.org>
1627
1628 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1629 strings in the list of return values.
1630
327f1f6f
JB
16312013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1632
1633 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1634 radix before checking for HMS forms.
1635
67ed8fcd
LL
16362013-03-16 Leo Liu <sdl.web@gmail.com>
1637
1638 * progmodes/scheme.el: Add indentation and font-locking for λ.
1639 (Bug#13975)
1640
78be8b64 16412013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
1642
1643 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1644 token before point (bug#13942).
1645
78be8b64 16462013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 1647
95b43468 1648 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 1649
98e775e6
EZ
16502013-03-16 Eli Zaretskii <eliz@gnu.org>
1651
1652 * startup.el (command-line-normalize-file-name): Fix handling of
1653 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1654 <xfq.free@gmail.com> in
1655 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1656
2edd6029
MA
16572013-03-15 Michael Albinus <michael.albinus@gmx.de>
1658
1659 Sync with Tramp 2.2.7.
1660
1661 * net/trampver.el: Update release number.
1662
d35f5864
TH
16632013-03-14 Tassilo Horn <tsdh@gnu.org>
1664
f35ffe5e
TH
1665 * doc-view.el Fix bug#13887.
1666 (doc-view-insert-image): Don't modify overlay associated to
1667 non-live windows, and implement horizontal centering of image in
1668 case it's smaller than the window.
1669 (doc-view-new-window-function): Force redisplay of new windows on
1670 doc-view buffers.
d35f5864 1671
1c4a85ed
KF
16722013-03-13 Karl Fogel <kfogel@red-bean.com>
1673
1674 * saveplace.el (save-place-alist-to-file): Don't sort
1675 `save-place-alist', just pretty-print it (bug#13882).
1676
85b66a21
MA
16772013-03-13 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1680 whether `default-file-name-coding-system' is bound. It isn't in
1681 XEmacs.
1682
175600da
SM
16832013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1684
e7f7cb1a
SM
1685 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1686 backquotes for `obsolete' (bug#13929).
1687
175600da
SM
1688 * international/mule.el (find-auto-coding): Include file name in
1689 obsolescence warning (bug#13922).
1690
ca68a22e
TZ
16912013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1692
1693 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1694 for CFEngine 3-specific indentation.
1695 (cfengine3-indent-line): Use it. Fix up category regex.
1696 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1697
940e5099
SM
16982013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * type-break.el (type-break-file-name):
1701 * textmodes/remember.el (remember-data-file):
1702 * strokes.el (strokes-file):
1703 * shadowfile.el (shadow-initialize):
1704 * saveplace.el (save-place-file):
1705 * ps-bdf.el (bdf-cache-file):
1706 * progmodes/idlwave.el (idlwave-config-directory):
1707 * net/quickurl.el (quickurl-url-file):
1708 * international/kkc.el (kkc-init-file-name):
1709 * ido.el (ido-save-directory-list-file):
1710 * emulation/viper.el (viper-custom-file-name):
1711 * emulation/vip.el (vip-startup-file):
1712 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1713 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1714
cc725808
PE
17152013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1716
1717 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1718 * language/thai-word.el: Switch to UTF-8.
1719
e56221d5
SM
17202013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1723
c6bdd110
TV
17242013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1725
1726 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1727 Use with-current-buffer and don't move point.
1728 (net-utils-run-simple): Remove useless code.
1729 (net-utils-remove-ctl-m): Remove unused custom.
1730
bd3921f0
PS
17312013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1732
1733 * international/characters.el (glyphless-set-char-table-range): New fun.
1734 (update-glyphless-char-display): Use it (bug#13744).
1735
ccc4f9f1
TZ
17362013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1737
1738 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1739 namespaces in the syntax, indent closer for hanging brace
1740 correctly, allow single-quote delimited 'strings', and make
1741 `cfengine3-mode' the default.
1742
6ff2c8f1
JPG
17432013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1744
1745 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1746 Use lexical-binding. Fix up docstring according to conventions.
1747 (gdbmi-debug-mode): New var.
1748 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1749 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1750 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1751 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1752 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1753 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1754 (gdbmi-bnf-incomplete-record-result): New functions.
1755 (gdb-car<): Remove function.
1756 (gdbmi-record-list): Remove variable.
1757 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1758 (gdbmi-bnf-result-state-configs): New const.
1759 (gud-gdbmi-marker-filter): Rewrite.
1760 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1761 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1762 Add `token' argument.
1763 (gdb-done, gdb-error): New functions.
1764 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1765
9b593980
SM
17662013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1767
2523c845
SM
1768 * term/xterm.el (xterm--report-background-handler): Don't burp
1769 upon timeout.
1770 (xterm--version-handler): Extract from terminal-init-xterm.
1771 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1772 Allow multiple handlers.
1773 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1774
9b593980
SM
1775 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1776 (xterm--report-background-handler, xterm--query): New functions.
1777 (terminal-init-xterm): Use them.
1778
e18e61cf
MM
17792013-03-11 Michael R. Mauger <michael@mauger.com>
1780
1781 * progmodes/sql.el Version 3.2
1782 Please note that my address changed to <michael@mauger.com>;
1783 the <mmaug@yahoo.com> address remains active.
1784 (sql-connection-alist): Updates documentation to fix bug#13715.
1785 (sql-connect): Handle missing `sql-connection-alist' correctly.
1786 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1787 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1788 property.
1789 (sql-default-value): New function.
1790 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1791 values were not used.
1792 (sql-rename-buffer): Make sure alternate buffer name has no text
1793 properties.
1794 (sql-input-sender, sql-execute-feature): Fetch variable with
1795 `buffer-local-value' rather than `with-current-buffer'.
1796 (sql-*): Use #' function syntax consistently.
1797 (sql-*): Use message/error/user-error consistently.
1798
25c09217
SM
17992013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * xt-mouse.el (xterm-mouse-event-read): Remove.
1802 (xterm-mouse--read-event-sequence-1000)
1803 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1804
d0ebc826
SM
18052013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1806
d3e9f3a8
SM
1807 * term/xterm.el (xterm-function-map): Support format used with
1808 formatOtherKeys=1 (bug#13839).
1809
17f32327
SM
1810 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1811 (with-no-warnings): Use `declare'.
1812
33f5bc1c
SM
1813 * whitespace.el (whitespace-enable-predicate): New variable.
1814 (whitespace-enable-predicate): Use it.
1815
d0ebc826
SM
1816 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1817 (comint-output-filter, comint-update-fence):
1818 Use with-silent-modifications.
1819
45ba025e
J
18202013-03-10 Jambunathan K <kjambunathan@gmail.com>
1821
1822 * replace.el (occur-read-regexp-defaults-function): New var.
1823 (occur-read-regexp-defaults): New defun.
1824 (occur-read-primary-args): Propagate above change (bug#13892).
1825
74dd4abc
SM
18262013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1829
3675b169
MA
18302013-03-09 Michael Albinus <michael.albinus@gmx.de>
1831
1832 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1833
1834 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1835 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1836 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1837 New defconst.
74dd4abc
SM
1838 (tramp-gvfs-file-name-handler-alist) [directory-files]
1839 [directory-files-and-attributes, file-exists-p, file-modes]:
1840 Use Tramp default handler.
3675b169
MA
1841 [file-acl, file-selinux-context, process-file, set-file-acl]:
1842 [set-file-modes, set-file-selinux-context, shell-command]:
d0ebc826 1843 [start-file-process]: Remove handler.
3675b169
MA
1844 [verify-visited-file-modtime]: New handler.
1845 (tramp-gvfs-dbus-string-to-byte-array)
1846 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1847 calls of `dbus-string-to-byte-array' and
1848 `tramp-gvfs-dbus-byte-array-to-string'.
1849 (tramp-gvfs-handle-copy-file)
1850 (tramp-gvfs-handle-delete-directory)
1851 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1852 (tramp-gvfs-handle-file-directory-p)
1853 (tramp-gvfs-handle-file-executable-p)
1854 (tramp-gvfs-handle-file-name-all-completions)
1855 (tramp-gvfs-handle-file-readable-p)
1856 (tramp-gvfs-handle-file-writable-p)
1857 (tramp-gvfs-handle-insert-directory)
1858 (tramp-gvfs-handle-insert-file-contents)
1859 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1860 (tramp-gvfs-handle-set-visited-file-modtime)
1861 (tramp-gvfs-handle-write-region): Rewrite.
1862 (tramp-gvfs-handle-file-acl)
1863 (tramp-gvfs-handle-file-selinux-context)
1864 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1865 (tramp-gvfs-handle-set-file-modes)
1866 (tramp-gvfs-handle-set-file-selinux-context)
1867 (tramp-gvfs-handle-shell-command)
1868 (tramp-gvfs-handle-start-file-process)
1869 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1870 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1871 over the symlinks. Fix user handling.
1872 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1873 of the D-Bus signals.
1874 (tramp-gvfs-connection-mounted-p): Handle different names of the
1875 D-Bus methods.
1876 (tramp-gvfs-mount-spec-entry): New defun.
1877 (tramp-gvfs-mount-spec): Use it.
1878 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1879 there is a share name. Handle different names of the D-Bus
85b66a21
MA
1880 signals and methods. Set connection properties needed for
1881 `tramp-check-cached-permissions'.
3675b169
MA
1882 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1883 Return t or nil.
1884
1885 * net/tramp.el (tramp-backtrace): Move up.
85b66a21 1886 (tramp-error): Dump a backtrace into the debug buffer when
3675b169
MA
1887 `tramp-verbose > 9.
1888 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1889 (tramp-file-mode-permissions, tramp-get-local-uid)
1890 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1891 tramp-sh.el.
1892
1893 * net/tramp-sh.el (tramp-file-mode-type-map)
1894 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1895 (tramp-file-mode-permissions, tramp-get-local-uid)
1896 (tramp-get-local-gid): Move to tramp.el.
1897
27a98a62
SM
18982013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 Separate mouse-1-click-follows-link from mouse-drag-region.
1901 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1902 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1903 (mouse-drag-line, mouse-drag-track):
1904 Remove mouse-1-click-follows-link code.
1905 (mouse--remap-link-click-p): Remove.
1906
eb1a6e15
J
19072013-03-08 Jambunathan K <kjambunathan@gmail.com>
1908
1909 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1910 (hi-lock-read-regexp-defaults): New defun.
1911 (hi-lock-line-face-buffer, hi-lock-face-buffer)
27a98a62
SM
1912 (hi-lock-face-phrase-buffer): Propagate above change.
1913 Update docstring (bug#13892).
eb1a6e15
J
1914
1915 * subr.el (find-tag-default-as-regexp): New defun.
1916 * replace.el (read-regexp): Propagate above change.
1917
6d7ebb72
JB
19182013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1919
1920 * calc/calc-units.el (calc-convert-units): Fix the way that default
1921 new units are stored.
1922
c34ae9da 19232013-03-07 Matthias Meulien <orontee@gmail.com>
c095b770
KF
1924
1925 * bookmark.el: Define a face to highlight bookmark names in
1926 bookmark menu buffers, where the default is a bold face similarly
c34ae9da 1927 to buffer names in buffer menu buffers.
c095b770
KF
1928 (bookmark-menu-bookmark): New face to highlight bookmark names.
1929 (bookmark-insert-location): Remove duplicated text property to
1930 conform to buffer list (see `list-buffers').
1931 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1932 `bookmark-menu-bookmark' to bookmark names.
1933
c34ae9da
GM
19342013-03-07 Matthias Meulien <orontee@gmail.com>
1935 Karl Fogel <kfogel@red-bean.com>
7a78e19f
KF
1936
1937 * bookmark.el: Display the bookmark list header similarly to the
1938 buffer list header (see `list-buffers'), where the default is now
c34ae9da 1939 an immovable/immutable header line.
7a78e19f
KF
1940 (bookmark-bmenu-use-header-line): New variable.
1941 (bookmark-bmenu-inline-header-height): New name for
1942 `bookmark-bmenu-header-height', to avoid confusion with the code
1943 for the new immovable header. All references changed.
1944 (bookmark-bmenu-set-header): New function.
1945 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1946 Conditionalize header construction accordingly.
1947 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1948 the inline header height.
1949 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1950 Conditionalize the skipping of the inline header height.
1951
94e48c7d
DG
19522013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1953
27a98a62
SM
1954 * progmodes/js.el (js--multi-line-declaration-indentation):
1955 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
94e48c7d 1956
ab89e9f9
DG
19572013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1958
27a98a62
SM
1959 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1960 Only propertize regexp when not inside a string (Bug#13885).
ab89e9f9 1961
33d1e2f5
AM
19622013-03-06 Alan Mackenzie <acm@muc.de>
1963
1964 Correct the position of point in some line-up functions.
1965 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1966 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1967 point at column 0 rather than at a random place in the line.
1968
11f4d68f
MA
19692013-03-05 Michael Albinus <michael.albinus@gmx.de>
1970
27a98a62
SM
1971 * net/tramp-compat.el (tramp-compat-delete-directory):
1972 Implement TRASH argument.
11f4d68f 1973
c7a409b6
DG
19742013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1975
1976 Keep pre-existing highlighting in completion candidates (Bug#13250).
1977 * minibuffer.el (completions-first-difference): State that the
1978 face is "added" in the docstring.
1979 (completions-common-part): Same. And don't inherit from default.
1980 (completion-hilit-commonality): Prepend 'completions-common-part
1981 and 'completion-first-difference faces to the 'face property,
1982 instead of replacing the value(s).
1983 (completion--insert-strings): Same with 'completions-annotations face.
1984 (completion-hilit-commonality): Use 'face instead of
1985 'font-lock-face, because it gets priority if the completion
1986 strings already have 'face set.
1987
e0bc0f33
AM
19882013-03-04 Alan Mackenzie <acm@muc.de>
1989
1990 Replace `last-command-event' by `last-command-char' in XEmacs.
1991 * progmodes/cc-defs.el (c-last-command-char): New macro.
1992 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1993 (c-semi&comma-no-newlines-before-nonblanks)
1994 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1995 in place of `last-command-event'.
1996 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1997 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1998 (c-electric-paren, c-electric-continued-statement): Use the new
1999 macro in place of `last-command-event'.
2000
cb05411f
GM
20012013-03-04 Glenn Morris <rgm@gnu.org>
2002
2003 * files.el (inhibit-local-variables-regexps):
2004 Add .diff and .patch. (Bug#13862)
2005
9a0f9ec3
MA
20062013-03-03 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2009 whether the "su" command is available on the device.
2010
7d11fc27
MA
20112013-03-01 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2014 (tramp-adb-handle-process-file): Remove superfluous setting.
2015 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2016 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2017 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2018
b5a5723d
SM
20192013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2022 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2023 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2024 Use dict-key rather than dict-name for the error message.
2025
7944eaa3
TV
20262013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2027
2028 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2029 when reverting (bug#13831).
2030
325b66a6
AM
20312013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2032
7944eaa3 2033 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
325b66a6
AM
2034 Always expand affix-file before storing to protect against changed
2035 `default-directory'.
2036 (ispell-print-if-debug): Make sure message is printed at the end
2037 of the debug buffer.
2038
36a8b68b
MA
20392013-03-01 Michael Albinus <michael.albinus@gmx.de>
2040
2041 * net/tramp.el (tramp-obsolete-methods): New defconst.
2042 (tramp-warned-obsolete-methods): New defvar.
2043 (tramp-find-method): Check for obsolete methods. Map them to a
2044 replacement method if appropriate.
2045
2046 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2047 Remove methods.
2048 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2049 "ssh2" and "plink1".
2050
4a83d19e
DS
20512013-02-28 Dale Sedivec <dale@codefu.org>
2052
2053 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2054 Return valid syntax-table property value when converting
2055 quotes within text from string syntax to punctuation syntax (bug#13844).
2056
9d232fc4
JL
20572013-02-28 Juri Linkov <juri@jurta.org>
2058
2059 * dired-aux.el (dired-diff): If file at point is a backup file,
2060 use its original as the default value, and reverse the order
2061 of arguments to the `diff' call. Doc fix. (Bug#13772)
2062
779451da
MA
20632013-02-28 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2066 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2067
ef3761e3
AM
20682013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2069
2070 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2071
2072 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2073 Ask hunspell about available and default dictionaries.
2074 (ispell-parse-hunspell-affix-file): Extract relevant info from
2075 hunspell affix file.
2076 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2077 `ispell-dictionary-alist' entry for given dictionary after info
2078 provided by `ispell-parse-hunspell-affix-file'.
2079 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2080 of parsed hunspell dicts and associated affix files.
2081 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2082 of parsed hunspell dicts and associated parameters.
2083 (ispell-set-spellchecker-params):
2084 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2085 previously done.
2086 (ispell-start-process):
2087 Call `ispell-hunspell-fill-dictionary-entry' for current
2088 dictionary if it is not initialized.
2089
930de676
SM
20902013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * imenu.el: Comment nitpicks.
2093
3602cceb
SS
20942013-02-28 Sam Steingold <sds@gnu.org>
2095
2096 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2097 See <http://stackoverflow.com/questions/14720205>.
2098
bd0dd755
TV
20992013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2100
2101 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2102 (net-utils-mode): Use it.
2103 (net-utils--revert-cmd): New var.
2104 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2105 (traceroute): Use net-utils-run-simple.
2106
929aeac6 21072013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
2108
2109 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2110
e7a1c32d
SM
21112013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2114 (doc-view-fallback-mode): Remove overlays here.
2115 (doc-view-toggle-display): Instead of here. Don't throw away
2116 image-mode-winprops-alist.
2117 (doc-view-goto-page): Don't mess with hscroll.
2118
f2c88400
TV
21192013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2120
2121 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2122 &optional (bug#13819).
2123
fa550654
MA
21242013-02-27 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/tramp-adb.el (tramp-adb-parse-device-names)
2127 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2128
58bd4aa2
MA
21292013-02-26 Michael Albinus <michael.albinus@gmx.de>
2130
f2c88400
TV
2131 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2132 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
2133 defined. POSIX environments fall back to the "C" locale then and
2134 emit a warning, which shall be suppressed.
2135
9f70f91e
SM
21362013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2139 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2140
4c514b0f
SM
21412013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2144
cd27a76d
JL
21452013-02-25 Juri Linkov <juri@jurta.org>
2146
2147 * replace.el (read-regexp): Let-bind `default' to the first
2148 element of `defaults' if it's a list, otherwise it should be
2149 a string or nil. Let-bind `suggestions' to `defaults' if it's
2150 a list, otherwise make a list with the string value. Doc fix.
2151 (Bug#13805)
2152
343a2aef
EZ
21532013-02-25 Eli Zaretskii <eliz@gnu.org>
2154
2155 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2156 that match "\`\.#", to avoid compiling lock files, even if they
2157 are readable (as they are on MS-Windows).
2158
944c37ef
SM
21592013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * files.el (basic-save-buffer): Remove redundant directory-creation.
2162
7a91562f
JB
21632013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2164
2165 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2166 Add option to force `pi' to remain symbolic.
2167 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2168 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2169 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2170 derivatives, when necessary.
2171
2ae3d736
PK
21722013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2173
2174 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2175 (ps-mode-octal-region): Use string-make-unibyte.
2176
fd743628
GM
21772013-02-23 Glenn Morris <rgm@gnu.org>
2178
e8ba2352
GM
2179 * emulation/viper-cmd.el (viper-submit-report):
2180 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2181 * progmodes/vera-mode.el (vera-mode-help-address):
2182 * textmodes/artist.el (artist-maintainer-address):
2183 * textmodes/reftex.el (reftex-report-bug):
2184 * vc/ediff-util.el (ediff-submit-report):
2185 Add bug-gnu-emacs to bug report address.
2186
3296c443
GM
2187 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2188 Remove bug report entries.
2189 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2190
fd743628
GM
2191 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2192 (byte-compile-file, byte-compile-from-buffer):
2193 Use separate input/output buffers for each level of recursive
2194 byte-compile-file calls. (Bug#13787)
2195
c57a0aff
MA
21962013-02-23 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp.el (tramp-methods): Fix docstring.
2199 (tramp-ssh-controlmaster-options): Rename it from
2200 `tramp-ssh-controlmaster-template'. Return a string.
2201 (tramp-default-method): Adapt check for
2202 `tramp-ssh-controlmaster-options'.
2203
4c514b0f
SM
2204 * net/tramp-sh.el (tramp-methods):
2205 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
2206 (tramp-do-copy-or-rename-file-out-of-band)
2207 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2208 that it is applied for the first hop only.
2209
bba90ab2 22102013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
2211
2212 * isearch.el (isearch-lazy-highlight-new-loop):
2213 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2214 to `isearch-other-end' if it is not nil. (Bug#13402)
2215
2216 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2217 to `match-beg'.
2218
2219 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2220 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2221 and `isearch-error' to nil.
2222
78be8b64
SM
22232013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2224
2225 * progmodes/python.el (python-info-current-defun):
2226 Enhance match-data cluttering prevention.
2227
29bb19dc
MA
22282013-02-22 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2231
4c514b0f
SM
2232 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2233 Handle multibyte file names.
29bb19dc 2234
153dd4d0
GM
22352013-02-22 Glenn Morris <rgm@gnu.org>
2236
5c11fc55
GM
2237 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2238 (sgml-transformation-function): Give it a :set function.
2239 (sgml-tag): Doc fix.
2240
f4146d98
GM
2241 * cmuscheme.el (scheme-buffer):
2242 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2243 * progmodes/tcl.el (inferior-tcl-buffer):
2244 * textmodes/tex-mode.el (tex-command): Doc fixes.
2245
5db881d0
GM
2246 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2247
153dd4d0
GM
2248 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2249
e224eb41
BG
22502013-02-21 Bastien Guerry <bzg@gnu.org>
2251
2252 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2253
cfbf790d 22542013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 2255
4c514b0f
SM
2256 * progmodes/python.el (python-info-current-defun):
2257 Enhance match-data cluttering prevention.
c132ab79 2258
cfbf790d 22592013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
2260
2261 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2262 loaded while outline-regexp is let bound. (Bug#9584)
2263
cfbf790d 22642013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
2265
2266 * progmodes/python.el (python-info-current-defun): Fix failed
2267 defun name retrieval because of unwanted match-data cluttering.
2268
886bae77
MA
22692013-02-21 Michael Albinus <michael.albinus@gmx.de>
2270
d20e6e90
MA
2271 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2272 defconst. Apply independent check for ControlPersist.
2273
886bae77
MA
2274 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2275 temporarily, via "env".
2276
bed1791a
GM
22772013-02-21 Glenn Morris <rgm@gnu.org>
2278
5313bbc7
GM
2279 * info.el (Info-enable-edit): Remove.
2280 (Info-edit): Disable it rather than using Info-enable.
2281 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2282 (Info-cease-edit): Make editing of Info files obsolete.
2283
bed1791a
GM
2284 * informat.el (Info-tagify):
2285 Handle buffers not visiting files. (Bug#13763)
2286
c1bf363a
JB
22872013-02-21 Juanma Barranquero <lekktu@gmail.com>
2288
2289 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2290
b367ec7b
GM
22912013-02-21 Glenn Morris <rgm@gnu.org>
2292
2293 * files.el (basic-save-buffer): Move check for existing parent
2294 directory after hooks. (Bug#13773)
2295
b6c2bfff
SM
22962013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * simple.el (command-execute): Move from C. Add obsolete check.
2299 (extended-command-history): Move from C.
2300
3bf1099f
UM
23012013-02-20 Ulrich Müller <ulm@gentoo.org>
2302
2303 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2304 (jka-compr-mode-alist-additions): Handle .txz suffix for
2305 XZ-compressed tar archives (bug#13770).
2306
d8d2d18a
BG
23072013-02-20 Bastien Guerry <bzg@gnu.org>
2308
3bf1099f
UM
2309 * outline.el (outline-regexp, outline-heading-end-regexp):
2310 Make variables, not options (bug#13731).
d8d2d18a 2311
1dfcc79e
GM
23122013-02-20 Glenn Morris <rgm@gnu.org>
2313
dc504515
GM
2314 * image.el (image-current-frame): Change from variable to function.
2315 (image-show-frame): Rename from image-nth-frame. Update callers.
2316 * image-mode.el (image-multi-frame): New variable.
2317 (image-mode-map, image-mode, image-goto-frame):
2318 Use image-multi-frame rather than image-current-frame.
2319 (image-mode, image-goto-frame): Use image-current-frame as
2320 function rather than as variable.
2321
1dfcc79e
GM
2322 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2323 * emacs-lisp/cl-macs.el (cl--make-type-test)
2324 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2325
81ed22e4
MA
23262013-02-19 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2329 (tramp-get-file-property, tramp-set-file-property)
2330 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2331 (tramp-flush-file-property, tramp-flush-directory-property):
2332 Rename argument to KEY.
2333 (tramp-flush-connection-property): Simplify a little bit.
2334 (tramp-connection-property-p): New defun.
2335 (top): Reapply saved values only if there isn't a corresponding
2336 entry in `tramp-connection-properties'.
2337
2af3b9c1
FEG
23382013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2339
872faefb
GM
2340 * progmodes/python.el (python-indent-context):
2341 Fix python-info-line-ends-backslash-p call.
2af3b9c1 2342 (python-info-line-ends-backslash-p)
872faefb
GM
2343 (python-info-beginning-of-backslash): Respect line-number argument.
2344 (python-info-current-line-comment-p):
2345 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
2346 (python-util-position): Remove function.
2347 (python-util-goto-line): New function.
2348
872faefb 23492013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
2350
2351 * eshell/em-unix.el (eshell/su): Require tramp.
2352 (eshell/sudo): Require tramp. Remove now unnecessary check.
2353
2354 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2355 `tramp-current-connection' in order to avoid an error when several
2356 commands are invoked in a short time in eshell and friends.
2357
8ca4f1e0
SM
23582013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 Cleanup some of EIEIO's namespace.
2361 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2362 Use it to define all the class-* and object-* field accessors (renamed
2363 to eieio--class-* and eieio--object-*). Update all uses.
2364 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2365 class-num-slots and object-num-slots.
2366 (eieio--check-type): New macro.
2367 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2368 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2369 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2370 (object-assoc-list-safe): Use it.
2371 (eieio-defclass): Tighten regexp.
2372 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2373 Remove unreachable code.
2374 (object-class-fast): Declare obsolete.
2375 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2376 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2377 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2378 Rename from class-name, object-name, object-set-name-string,
2379 object-class, object-class-name, class-parents, class-children,
2380 class-precedence-list, class-parent; with obsolete alias.
2381 (class-of, class-direct-superclasses, class-direct-subclasses):
2382 Declare obsolete.
2383 (eieio-defmethod): Use `memq'; remove unreachable code.
2384 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2385 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2386 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2387
73572c72
AG
23882013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2389
78b8f320
AG
2390 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2391 commentary.
73572c72 2392
587feed4
MH
23932013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2394
2395 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2396 Use font-lock-keyword-face for macros and special forms (bug#8345).
2397
a51e9ff7 23982013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
2399
2400 * net/network-stream.el (network-stream-open-starttls):
2401 Check that response to the starttls-command is non-nil. (Bug#13706)
2402
913274cb
SM
24032013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2406 Don't assume all identifier chars have syntax word.
2407 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2408 Remove bar-not-symbol. Adjust callers.
2409 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2410
53db1d8b
LL
24112013-02-17 Leo Liu <sdl.web@gmail.com>
2412
2413 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2414
e630f18a
GM
24152013-02-17 Glenn Morris <rgm@gnu.org>
2416
1bb1e038
GM
2417 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2418
f05e2ff2
GM
2419 * image-mode.el (image-mode-map): Add image-dired menu entry.
2420
e630f18a
GM
2421 * image-dired.el (tumme): Make this alias obsolete.
2422
783b7b75
GM
24232013-02-16 Glenn Morris <rgm@gnu.org>
2424
ed8d7fca
GM
2425 * image.el (image-animated-types): Remove.
2426 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2427 (image-animated-p): Make obsolete alias.
2428 (image-animate, image-nth-frame, image-animate-timeout):
2429 Use image-multi-frame-p.
2430 (image-animate-timeout): If no delay, use image-default-frame-delay.
2431 * image-mode.el (image-mode, image-toggle-animation):
2432 Use image-multi-frame-p. (Bug#763, bug#10739)
2433 (image-mode): Adjust startup message for a multi-frame image.
2434
783b7b75
GM
2435 * image-mode.el (image-mode-map): Give it a menu.
2436
61addbc2
MA
24372013-02-16 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * net/tramp-cache.el (tramp-connection-properties): New customer
2440 option.
2441 (tramp-get-connection-property): Use it.
2442
2443 * net/tramp-compat.el (top): Require 'trampver.
2444
913274cb
SM
2445 * net/tramp-sh.el (tramp-remote-process-environment):
2446 Set tramp-autoload cookie.
61addbc2 2447
a9bc03e2
KR
24482013-02-16 Kevin Ryde <user42@zip.com.au>
2449
2450 * info-look.el (info-lookup-select-mode): If major-mode has no
2451 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2452
2b0afdd9
J
24532013-02-16 Jambunathan K <kjambunathan@gmail.com>
2454
2455 * replace.el (read-regexp): Tighten the regexp that matches tag.
2456 When tag is retrieved with `find-tag-default', use regexp that
2457 matches tag at point. Also update docstring (Bug#13687).
2458
a7a84eea
EZ
24592013-02-16 Eli Zaretskii <eliz@gnu.org>
2460
2461 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2462 add watch for the file, not its parent directory, since w32notify
2463 sets up the watch for the directory internally. (Bug#13725)
2464
c0211c4e
GM
24652013-02-16 Glenn Morris <rgm@gnu.org>
2466
99e619b6
GM
2467 * image.el (image-default-frame-delay): New variable.
2468 (image-animated-p): Use image-default-frame-delay.
2469 (image-minimum-frame-delay): New constant.
2470 (image-animate-timeout): Use image-minimum-frame-delay.
2471
c0211c4e
GM
2472 * image.el (image-nth-frame): New, split from image-animate-timeout.
2473 (image-animate-timeout): Use image-nth-frame.
2474 * image-mode.el (image-goto-frame, image-next-frame)
2475 (image-previous-frame): New commands.
2476 (image-mode-map): Add new frame commands.
2477
6b6d804b
JB
24782013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2479
2480 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2481 If col-desc already has help-echo, use it. (Bug#13563)
2482
ef5ae980
GM
24832013-02-16 Glenn Morris <rgm@gnu.org>
2484
bb9dfee1
GM
2485 * image.el (image-current-frame): New variable.
2486 (image-animate-timeout): Set image-current-frame.
2487 * image-mode.el (image-mode): For animated images,
2488 display a frame counter via mode-line-process.
2489
ef5ae980
GM
2490 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2491
6c8f113e
SM
24922013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2495
f852f6d8
AM
24962013-02-15 Alan Mackenzie <acm@muc.de>
2497
2498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2499 global minor mode has been enabled, call the minor mode function
2500 for a new buffer once only, after the major mode hook, whilst
2501 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
2502 (MODE-disable-in-buffer): New (generated) function.
2503 (disable-MODE): New (generated) buffer local variable.
f852f6d8 2504
d7e76a89
J
25052013-02-15 Jambunathan K <kjambunathan@gmail.com>
2506
2507 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2508 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
2509 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2510 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
2511 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2512 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2513 `icomplete-backward-completions' (Bug#13708).
2514
ef5ae980 25152013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
2516
2517 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2518
648e5523 25192013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
2520
2521 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2522 (goto-address-fontify-region): Use them instead of narrowing, so
2523 syntax-ppss has access to the whole buffer.
2524
648e5523 25252013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
2526
2527 * progmodes/python.el: Explain how to restore "cc-mode"-like
2528 forward-sexp movement in header documentation (Bug#13642).
2529 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2530 comments and strings (GH bug 114).
2531
648e5523 25322013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
2533
2534 * progmodes/python.el (python-info-current-defun): Fix current
2535 defun detection (Bug#13618).
2536
648e5523 25372013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
2538
2539 * xml.el (xml-parse-string): Fix typo in handling of bad character
2540 references.
2541
dec2a322
GM
25422013-02-15 Glenn Morris <rgm@gnu.org>
2543
2544 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2545
5267e6d3
MA
25462013-02-14 Michael Albinus <michael.albinus@gmx.de>
2547
6c8f113e
SM
2548 * net/tramp.el (tramp-debug-message):
2549 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
2550 (tramp-debug-on-error): New defvar.
2551 (tramp-condition-case-unless-debug): New defun.
2552 (tramp-file-name-handler): Use it.
2553
f6b6e113
JL
25542013-02-14 Juri Linkov <juri@jurta.org>
2555
2556 * info.el (Info-isearch-filter): Treat non-nil values of
2557 `search-invisible' including its default value `open'
2558 like the value `t' to match hidden text. (Bug#13402)
2559
6a378d89
GM
25602013-02-14 Glenn Morris <rgm@gnu.org>
2561
2562 * help-fns.el (find-lisp-object-file-name): Give special treatment
2563 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2564
3ca2c015
DB
25652013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2566
2567 * net/quickurl.el (quickurl-save-urls):
2568 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2569
53ca88c4
DG
25702013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2571
2572 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2573 depth for unfinished percent literal. Not using it in the caller.
2574 (ruby-move-to-block): Jump over multiline literals of all types,
2575 ignoring code-looking contents inside them.
71a048c1
DG
2576 (ruby-add-log-current-method): Improve performance at the expense
2577 of accuracy. `ruby-block-contains-point' is relatively slow, so
2578 only use it for method and singleton class blocks.
53ca88c4 2579
d7291032
MA
25802013-02-13 Michael Albinus <michael.albinus@gmx.de>
2581
2582 Use ControlMaster where applicable. (Bug#13677)
2583
2584 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2585 replacing `tramp-detect-ssh-controlmaster'.
2586 (tramp-default-method): Use it.
2587
2588 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2589 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2590 arguments.
2591 [scpc, rsyncc]: Remove methods.
2592 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2593 and "ssh2_old".
f4ad7ea1 2594 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
d7291032
MA
2595 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2596
1ead7dbd
SM
25972013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * emacs-lisp/package.el (package--initialized): Move before first use.
2600
5cbfe5b9
J
26012013-02-13 Jambunathan K <kjambunathan@gmail.com>
2602
f4ad7ea1 2603 * icomplete.el (icomplete-hide-common-prefix): New user option.
5cbfe5b9
J
2604 (icomplete-first-match): New face.
2605 (icomplete-completions): Correct handling of "complete but not
2606 unique" (Bug#12638).
2607
67f3e54a
YQ
26082013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2609
2610 * descr-text.el (describe-char): Display the script (bug#13698).
2611
4d0463b9
SM
26122013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * tmm.el: Use lexical-binding and current-active-maps.
2615 (tmm-menubar): Use map-keymap and pcase.
2616 (tmm--completion-table): New function.
2617 (tmm-prompt): Use it to fix the menu order.
2618 (tmm-get-keybind): Use current-active-maps.
2619
a2a538b1
CS
26202013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2621
2622 Add dired-hide-details-mode. (Bug#6799)
2623
2624 * locate.el (locate-mode): Set parent mode property to dired-mode.
2625
2626 * find-dired.el (find-dired): Call dired-insert-set-properties on
2627 initial information line. Set process mark on end of buffer.
2628 (find-dired-sentinel):
2629 Call dired-insert-set-properties on summary.
2630
2631 * dired.el (dired-hide-details-hide-symlink-targets)
2632 (dired-hide-details-hide-information-lines): New options.
2633 (dired-insert-directory):
2634 Set properties after final treatment of output.
2635 (dired-insert-set-properties):
2636 Set dired-hide-details-* properties.
2637 (dired-mode-map): Bind dired-hide-details-mode.
2638 (dired-mode): Set buffer-invisibility-spec to a list.
2639 (dired-next-line): Skip hidden lines.
2640 (dired-previous-line): Use dired-next-line.
2641 (dired-hide-details-mode): New minor mode.
2642 (dired-hide-details-update-invisibility-spec): New function.
2643
4e16ddf4
GM
26442013-02-13 Glenn Morris <rgm@gnu.org>
2645
2646 * play/yow.el: Move to obsolete/. (Bug#9384)
2647
ef79c6ed
JL
26482013-02-13 Juri Linkov <juri@jurta.org>
2649
2650 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2651 to select `ediff-control-frame' and set input focus correctly on Xfce.
2652 (Bug#12218)
2653
9cec74cf
JL
26542013-02-13 Juri Linkov <juri@jurta.org>
2655
2656 * image-mode.el (image-mode-map):
2657 * doc-view.el (doc-view-mode-map):
2658 * vc/ediff-util.el (ediff-setup-keymap):
2659 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2660
7132e457
DG
26612013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2664 performance. Instead of recalculating indentation fully for each
2665 line, sum up indentation depth based only on visited lines.
2666 (ruby-parse-partial): Increase the depth after "do" even when END
2667 is right after it.
2668 (ruby-parse-partial): When END is in the middle of a percent
2669 literal, increase the depth if the delimiter chars belong to the
2670 paren syntax class.
2671
3c4a4b23
KK
26722013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2673
2674 * play/fortune.el (fortune-compile): Also make the compiled file
2675 if it does not exist at all, not just if it is old. (Bug#5338)
2676
eeb468da
GM
26772013-02-13 Glenn Morris <rgm@gnu.org>
2678
2679 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2680
26812013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
2682
2683 * lisp/emacs-lisp/package.el (package-menu-execute):
2684 Add optional noquery argument. (Bug#13625)
2685
01fcc3a5 26862013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
2687
2688 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2689 if DIR exists and PARENTS is non-nil.
2690
d6596b94
JB
26912013-02-13 Juanma Barranquero <lekktu@gmail.com>
2692
2693 * progmodes/js.el (js--multi-line-declaration-indentation):
2694 Silence byte-compiler warning.
2695
f1f05871
MA
26962013-02-12 Michael Albinus <michael.albinus@gmx.de>
2697
2698 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2699
2700 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2701 only if it doesn't exist.
2702
6c8f113e
SM
2703 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2704 Set process marker.
f1f05871 2705
62c0e847
TH
27062013-02-12 Tassilo Horn <tsdh@gnu.org>
2707
2708 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2709 UserInstallation when calling soffice to work around LibreOffice
2710 bug 37531.
2711
958614cf
GM
27122013-02-12 Glenn Morris <rgm@gnu.org>
2713
0b244335
GM
2714 * files.el (basic-save-buffer):
2715 Offer to create a non-existing directory. (Bug#3016)
2716
958614cf
GM
2717 * calc/calc-graph.el (calc-graph-show-dumb):
2718 * calendar/calendar.el (calendar-mode-map):
2719 * cus-edit.el (custom-mode-map):
2720 * ehelp.el (electric-help-map):
2721 * emulation/vip.el (vip-mode-map):
2722 * epa.el (epa-key-list-mode-map):
2723 * info.el (Info-mode-map):
2724 * mail/rmail.el (rmail-mode-map):
2725 * mail/rmailsum.el (rmail-summary-mode-map):
2726 * man.el (Man-mode-map):
2727 * net/newst-plainview.el (newsticker-mode-map):
2728 * progmodes/cpp.el (cpp-edit-mode-map):
2729 * progmodes/grep.el (grep-mode-map):
2730 * progmodes/idlw-help.el (idlwave-help-mode-map):
2731 * simple.el (special-mode-map):
2732 * startup.el (splash-screen-keymap):
2733 * view.el (view-mode-map):
2734 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2735
4fa60c54
EP
27362013-02-11 Elias Pipping <pipping@lavabit.com>
2737
2738 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 2739 (bug#13679).
4fa60c54 2740
99d0d6dc
SM
27412013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2744
31db8c31
GM
27452013-02-11 Glenn Morris <rgm@gnu.org>
2746
5109429f
GM
2747 * vc/diff.el (diff-use-labels): New variable.
2748 (diff-no-select): Use --label rather than -L, and first
2749 check that it is supported. (Bug#11067)
2750
97a1cd9d
GM
2751 * files.el (enable-dir-local-variables): New variable.
2752 (hack-dir-local-variables): Respect enable-dir-local-variables.
2753 * tutorial.el (help-with-tutorial):
2754 Ignore directory-local variables. (Bug#11127)
2755
31db8c31
GM
2756 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2757 (vc-svn-global-switches): ... to here. (Bug#13513)
2758
2f108463
CS
27592013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2760
99d0d6dc
SM
2761 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2762 Handle "foo (bar, default: xxx): " prompts.
2f108463 2763
490a9458 27642013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 2765
0ccdf61e
CY
2766 * files.el (basic-save-buffer-1): Do not set
2767 buffer-file-coding-system-explicit (Bug#4533).
2768
e78e7e48
CY
2769 * mail/emacsbug.el (report-emacs-bug): Change binding of
2770 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2771
5d9c6f17
JB
27722013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2773
2774 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2775 * calc/calc-units.el (calc-convert-units): Use new variable.
2776
8549f9e8
EZ
27772013-02-09 Eli Zaretskii <eliz@gnu.org>
2778
2d050423
EZ
2779 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2780
8549f9e8
EZ
2781 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2782 buffer-file-type.
2783
2784 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2785 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2786 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2787 coding-system-for-write instead.
2788
2789 * jka-compr.el (jka-compr-write-region): Don't bind
2790 buffer-file-type.
2791
2792 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2793 buffer-file-type.
2794
2795 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2796 (insert-file-contents-literally): Remove reference to
2797 file-name-buffer-file-type-alist.
2798
2799 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2800 make-obsolete.
2801 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2802 (find-buffer-file-type-coding-system): Remove references to
2803 find-buffer-file-type-match, find-buffer-file-type, and
2804 buffer-file-type.
2805 Don't put find-buffer-file-type-coding-system into
2806 file-coding-system-alist.
2807 (find-file-binary, find-file-text): Bind coding-system-for-read
2808 instead of file-name-buffer-file-type-alist.
2809
9cbab8d6 28102013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
2811
2812 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
2813 converter (Bug#13622).
2814 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
2815 (doc-view-odf->pdf-converter-program): New variable.
2816 (doc-view-odf->pdf-converter-function): New variable.
2817 (doc-view-mode-p): Use it.
9cbab8d6
GM
2818 (doc-view-odf->pdf-converter-unoconv):
2819 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 2820 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
2821 (doc-view-convert-current-doc):
2822 Use `doc-view-odf->pdf-converter-function'.
f63f9398 2823
044a9eac
CY
28242013-02-09 Chong Yidong <cyd@gnu.org>
2825
123ecb68
CY
2826 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2827 view-echo-area-messages (Bug#13340).
2828
2829 * help.el (view-echo-area-messages): Use display-buffer.
2830
044a9eac
CY
2831 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2832 (Bug#13561).
2833
1a601680
SM
28342013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2835
7f526211
SM
2836 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2837 Eval body right away, now that we do eager macroexpansion (bug#13605).
2838
c9586acc
SM
2839 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2840 (fundamental-mode): Use run-mode-hooks.
2841
1a601680
SM
2842 * eshell/esh-proc.el (eshell/kill): Fix last change.
2843 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2844
276a61a6
AG
28452013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2846
2847 * eshell/esh-proc.el (eshell/kill): Rewrite.
2848
2849 * eshell/em-ls.el (show-almost-all): Declare.
2850 (eshell-do-ls): Add support for -A argument.
2851
6130b96a
J
28522013-02-08 Jambunathan K <kjambunathan@gmail.com>
2853
2854 * icomplete.el (icomplete-forward-completions)
2855 (icomplete-backward-completions): Handle corner case (bug#13602).
2856
fed00072
MA
28572013-02-07 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2860 be nil. Handle this. (Bug#13636)
2861
469c5a60
RS
28622013-02-07 Richard Stallman <rms@gnu.org>
2863
2864 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2865 `save-buffer-coding-system'.
2866
8c4b24b2 28672013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 2868
8c4b24b2 2869 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
2870 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2871 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
2872 (c-append-lower-brace-pair-to-state-cache):
2873 Extra parameter HERE instead of narrowing.
2874 Widen to top of buffer before searching backwards for a brace pair.
2875 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2876 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2877 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
2878 (c-remove-stale-state-cache): Extra parameter HERE in place of
2879 narrowing. Check there's an open brace in the cache before
2880 searching for its match.
2881 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2882 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
2883 instead passing extra parameter HERE to several functions.
2884 Remove 'BOD strategy.
d23b0804 2885
f4ad7ea1 28862013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
55b056ba
NR
2887
2888 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2889 used to install the package.
2890
e86762ec
GM
28912013-02-06 Glenn Morris <rgm@gnu.org>
2892
5fd03926
GM
2893 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2894 if we can't get user input. (Bug#6567)
2895
e86762ec
GM
2896 * startup.el (command-line): If simple.el is missing,
2897 test and warn about for some possible causes.
2898
6871e574
JD
28992013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2900
2901 * cus-start.el (all): Add ns-use-native-fullscreen.
2902
3505fa02
GM
29032013-02-05 Glenn Morris <rgm@gnu.org>
2904
ed746aa7
GM
2905 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2906
3505fa02
GM
2907 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2908 Fix directory creation in fallback case.
2909
50fdf399
TV
29102013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2911
2912 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2913 (vc-update-change-log): Use dolist.
2914
6e5c1569
CY
29152013-02-04 Chong Yidong <cyd@gnu.org>
2916
2917 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2918 code from ffap.el.
2919 (thing-at-point-beginning-of-url-regexp): New var.
2920 (thing-at-point-uri-schemes): Update list of URI schemes.
2921 (thing-at-point-url-regexp): Variable deleted.
2922 (thing-at-point-markedup-url-regexp): Disallow newlines.
2923 (thing-at-point-newsgroup-regexp)
2924 (thing-at-point-newsgroup-heads)
2925 (thing-at-point-default-mail-uri-scheme): New variables.
2926 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
2927 method to find the possible bounds of the URI at point.
2928 New optional argument to find ill-formed URIs.
6e5c1569
CY
2929 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2930 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2931 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
2932 (thing-at-point--bounds-of-well-formed-url): New function.
2933 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
2934 (Bug#9153).
2935
2936 * ffap.el: Require thingatpt.
2937 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2938 All URI-valid characters are now recognized (Bug#5673).
2939 (ffap-string-at-point): Use use-region-p.
2940 (ffap-url-regexp): Extra character is handled by thing-at-point.
2941 (ffap-string-at-point-mode-alist): Allow parentheses.
2942 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2943 Convert to aliases; code moved to thingatpt.el.
2944 (ffap-gnus-hook): Use setq-local.
2945
84a06b50
GM
29462013-02-04 Glenn Morris <rgm@gnu.org>
2947
2948 * emacs-lisp/ert.el (ert--explain-format-atom):
2949 Don't try to print non-characters as characters. (Bug#13543)
2950
5870b2b1
MA
29512013-02-03 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2954 (tramp-backtrace): New defun.
2955 (tramp-handle-insert-file-contents): Use `visit' when inserting
2956 the local copy.
2957
50fdf399
TV
2958 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2959 Use `remote-file-name-inhibit-cache'.
5870b2b1 2960
659a9010
SM
29612013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2962
4813c453
SM
2963 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2964 (bug#13614).
2965
659a9010
SM
2966 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2967 current-load-list (bug#13366).
2968
35114711
CS
29692013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2970
2971 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2972 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
2973 (compilation-mode-hook, compilation-start-hook)
2974 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 2975
94fbc901 29762013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
2977
2978 * mouse.el (mouse-drag-track): Always deactivate the mark before
2979 running the final event's command since that command is in charge of
2980 activating the mark if needed (bug#13523).
2981
94fbc901 29822013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
2983
2984 * replace.el (perform-replace): Move let-bindings of isearch-*
2985 variables deeper to the loop that searches for the next match.
2986 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2987 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2988 (Bug#13579)
2989
2990 * isearch.el (isearch-search-fun-default): Check for null
2991 first element of isearch-cmds as a precaution when it's used
2992 with inactive isearch.
2993
94fbc901 29942013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
2995
2996 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2997 error when buffer in question is narrowed so position 1 is out of
2998 visible part.
2999
94fbc901 30002013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
3001
3002 * textmodes/remember.el (remember-clipboard): Doc fix.
3003
94fbc901 30042013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
3005
3006 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3007 properties (bug#13179).
3008
98da8c0f
JL
30092013-02-02 Juri Linkov <juri@jurta.org>
3010
3011 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3012 instead of hard-coded default face `match'. (Bug#9438)
3013
7b6d5ecf
CS
30142012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3015
af314ba0
CS
3016 * vc/vc-arch.el (vc-arch-registered):
3017 * vc/vc-bzr.el (vc-bzr-registered):
3018 * vc/vc-cvs.el (vc-cvs-registered):
3019 * vc/vc-git.el (vc-git-registered):
3020 * vc/vc-hg.el (vc-hg-registered):
3021 * vc/vc-mtn.el (vc-mtn-registered):
3022 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3023 (Bug#13139)
3024
7b6d5ecf
CS
3025 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3026 prefix argument. (Bug#11656)
3027
686d9fb6
SM
30282013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3031
48c828b9
GM
30322013-02-01 Glenn Morris <rgm@gnu.org>
3033
1f4f0f46
GM
3034 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3035 if the backend is known not to support it.
3036
48c828b9
GM
3037 * imenu.el (imenu-default-create-index-function):
3038 Tweak infinite loop test to check for forward motion as well as none.
3039
cd87ae10
AH
30402013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3041
3042 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
3043 `url-request-data' as UTF-8.
3044 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 3045
86e100a6
GM
30462013-02-01 Glenn Morris <rgm@gnu.org>
3047
3048 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3049
0eb61895
GM
3050 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3051
61642d9a
MA
30522013-01-31 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * net/tramp.el (tramp-tramp-file-p): Comment check for
3055 `string-as-unibyte'. The function does not exist on XEmacs, and
3056 likely we need another approach.
3057
3058 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3059 `tramp-gw-*' variables are bound.
3060
9dbda100
GM
30612013-01-31 Glenn Morris <rgm@gnu.org>
3062
3063 * files.el (basic-save-buffer-2): Choose coding system for
3064 writing the file before backing it up, to reduce delay between
3065 backing up and writing the new version. (Bug#13522)
3066
ad4de702
MN
30672013-01-31 Michal Nazarewicz <mina86@mina86.com>
3068
3069 * simple.el (cycle-spacing): New command.
3070 (just-one-space): Use it.
3071
9ca243c6
SM
30722013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3073
c4f268a1
SM
3074 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3075 (opascal-newline-always-indents): Remove custom.
3076 (opascal-tab, opascal-newline): Remove commands.
3077 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3078 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3079 (opascal-save-match-data): Remove, use save-match-data instead.
3080 (opascal-save-state): Use with-silent-modifications.
3081
9ca243c6
SM
3082 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3083 (bug#13585).
3084
64ced394
JL
30852013-01-30 Juri Linkov <juri@jurta.org>
3086
3087 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3088 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3089 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3090
c56d2269
SM
30912013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3094 column if we're just deleting the backslashes.
3095 (makefile-fill-paragraph): Use eolp.
3096
382936d1
MA
30972013-01-30 Michael Albinus <michael.albinus@gmx.de>
3098
3099 * autorevert.el (auto-revert-use-notify): Fix docstring.
3100
dd331297
LL
31012013-01-30 Leo Liu <sdl.web@gmail.com>
3102
686d9fb6 3103 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 3104
c491dd70
GM
31052013-01-30 Glenn Morris <rgm@gnu.org>
3106
3107 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3108 unread-command-events twice in some cases. This tries to implement
3109 the 2012-07-26 changes in a different way. (Bug#13560)
3110
6ff930c3
FEG
31112013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3112
3113 * progmodes/python.el
3114 (python-pdbtrack-comint-output-filter-function): Enhancements on
3115 stacktrace detection. (thanks @gnovak)
3116
1d4e7225
SM
31172013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3120 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3121 Use defvar-local.
3122 (jit-lock-register): Use setq-local.
3123
7c3fb76f
JB
31242013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3125
3126 * calc-units.el (math-default-units-table): Remove initial value.
3127 (calc-convert-units): Treat expressions where all the units cancel as
3128 if they didn't have units.
3129
8bc8712e
MA
31302013-01-30 Michael Albinus <michael.albinus@gmx.de>
3131
3132 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3133 (tramp-completion-reread-directory-timeout): Fix type.
3134 (tramp-connection-min-time-diff): New defcustom.
3135
3136 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3137
1886a16d
GM
31382013-01-30 Glenn Morris <rgm@gnu.org>
3139
3140 * imenu.el (imenu-default-create-index-function):
3141 Put back a version of the infinite loop test removed 2013-01-23.
3142
3f82a88a 31432013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 3144
1d4e7225
SM
3145 * progmodes/python.el (python-shell-parse-command):
3146 Find python-shell-interpreter with modified environment.
e4497086 3147
3f82a88a 31482013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
3149
3150 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3151
953e5b8c
AM
31522013-01-29 Alan Mackenzie <acm@muc.de>
3153
3154 Amend to fontify /regexp/s in actions correctly.
3155 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 3156 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
3157 are no longer included.
3158 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3159 What used to be these variables without "-line" in the name.
686d9fb6 3160 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
3161 (c-awk-non-arith-op-bra-re): Now also matches {.
3162 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3163 "return", and "case".
3164 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3165 by /.
3166 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 3167 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 3168
1b69262a
MA
31692013-01-29 Michael Albinus <michael.albinus@gmx.de>
3170
1d4e7225
SM
3171 * autorevert.el (auto-revert-use-notify):
3172 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 3173
1b69262a
MA
3174 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3175
1d4e7225
SM
3176 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3177 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 3178 in `tramp-file-name-handler'.
ea55064c
MA
3179 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3180 compatibility.
3181 (tramp-compute-multi-hops): Check, whether
3182 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 3183
b2dc4f52
SM
31842013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3187 (bug#13297).
3188
499572e4
DG
31892013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3190
3191 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3192 checks made superfluous by the \_< operator.
a324b8c7
DG
3193 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3194 temporarily) broken indentation.
b2dc4f52
SM
3195 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3196 Highlight nested constants, too. \_< broke that.
499572e4
DG
3197
31982013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3199
3200 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3201 instead of "\\b".
3202
629cb6ec
MA
32032013-01-27 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * autorevert.el (auto-revert-handler): Notifications which result
3206 from a saved file shall not be taken into account. (Bug#13557)
3207
cc17363f
AS
32082013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3209
3210 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3211 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3212 (lisp-mode): Pass t for it. (Bug#13556)
3213
b7aea0ff
AM
32142013-01-25 Alan Mackenzie <acm@muc.de>
3215
3216 AWK Mode: Fix indentation bug at top level. Bug #12274.
3217
3218 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3219 just before CASE 5D.
3220
1314a64c
DA
32212013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3222
3223 * net/socks.el (socks-nslookup-host): Use string-to-number.
3224
ef3544f6
MA
32252013-01-25 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * autorevert.el (auto-revert-remote-files)
3228 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3229 (auto-revert-notify-enabled, auto-revert-use-notify)
3230 (auto-revert-notify-watch-descriptor-hash-list)
3231 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3232 (auto-revert-notify-event-descriptor)
3233 (auto-revert-notify-event-action)
3234 (auto-revert-notify-event-file-name): Doc fix.
3235 (global-auto-revert-mode): Reorder checks.
3236 (auto-revert-notify-rm-watch): Respect changed values of
3237 `auto-revert-notify-watch-descriptor-hash-list'.
3238 (auto-revert-notify-add-watch): Check for
3239 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3240 `inotify-add-watch'. Watch `default-directory' instead of
3241 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3242 has a changed meaning now. (Bug#13540)
3243 (auto-revert-notify-handler): Change implementation wrt events
3244 returning from a directory.
3245 (auto-revert-handler): Reorder implementation for checks of remote
3246 files.
3247 (auto-revert-buffers): Fix parentheses error.
3248
830e46e6 32492013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
3250
3251 * progmodes/python.el: Enhancements to header documentation about
3252 skeletons. (Bug#5716)
3253
ddc62155
FEG
3254 * imenu.el (imenu-default-create-index-function): Remove useless
3255 infinite loop check. (Bug#13438)
3256
830e46e6 32572013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
3258
3259 Fix a bug in the state cache mechanism. Refactor this a bit.
3260
3261 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3262 `cache-pos' element from the return value.
3263 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3264 buffer to enable proper searching from beyond HERE. Amend the
3265 test for detecting the sought brace pair. Amend the value written
3266 to the "brace desert cache" when the brace isn't found.
3267 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3268 and several other variables analogously.
3269 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3270 parameter to a locally calculated variable.
3271 (c-parse-state-1): Change the calling conventions to the two
3272 defuns involving `cache-pos'.
3273
830e46e6 32742013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
3275
3276 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3277
f4ad7ea1 32782013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3d4147ba
BG
3279
3280 * paren.el (show-paren-function): Make sure to set 'priority and
3281 'face only if the overlay does exist.
3282
e1ffa412
MA
32832013-01-24 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3286
3287 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3288 basic attributes.
3289 (tramp-sh-handle-set-file-acl): Improve error checking.
3290
5ad86e34
DA
32912013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3292
3293 * doc-view.el (doc-view-display): Force mode line update until all
3294 document is converted. Suggested by Stefan Monnier (Bug#13164).
3295
d6f9c03f
BG
32962013-01-23 Bastien Guerry <bzg@gnu.org>
3297
3298 * paren.el (show-paren-function): Make sure an overlay exists
3299 before trying to delete it. Also use `pos' as a position only
3300 when it is an integer.
3301
3544e11a
DA
33022013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3303
3304 * play/gametree.el (gametree-break-line-here): Use point-marker.
3305
19b50424
MA
33062013-01-22 Michael Albinus <michael.albinus@gmx.de>
3307
b2dc4f52
SM
3308 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3309 Mark descriptive parts with `display' property.
19b50424 3310
7fd5a843
AM
33112013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3312
3313 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3314 New variable to map standard dict names to hunspell ones.
3315 (ispell-set-spellchecker-params): Make sure specific dict names
3316 are used for standard dicts with hunspell.
3317
e6aff855
TH
33182013-01-21 Tassilo Horn <tsdh@gnu.org>
3319
3320 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3321 chars for note (%N) and url (%U).
3322 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3323
c84b0881
JL
33242013-01-21 Juri Linkov <juri@jurta.org>
3325
3326 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3327 in addition to existing separate binding `meta f10' in `global-map'.
3328 (Bug#13484)
3329
a36e2d26
MA
33302013-01-21 Michael Albinus <michael.albinus@gmx.de>
3331
3332 Improve XEmacs compatibility.
3333
3334 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3335
3336 * net/tramp-adb.el (top): Require `time-date'.
3337 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
3338 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3339 Use `tramp-file-name-handler'.
3340 (tramp-adb-maybe-open-connection):
3341 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 3342
b2dc4f52
SM
3343 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3344 Use `tramp-compat-funcall'.
a36e2d26
MA
3345
3346 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3347 `tramp-compat-funcall'.
3348
88c7dfa3
JH
33492013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3350
3351 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3352 reimplementation using "adb shell command ..." instead of running
3353 remote shell interactively.
3354
15df6fa4
GM
33552013-01-20 Glenn Morris <rgm@gnu.org>
3356
a576cc76
GM
3357 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3358 Add native profiler menu entries.
3359
15df6fa4
GM
3360 * profiler.el (profiler-running-p): New function.
3361 (profiler-cpu-profile): Use profiler-running-p.
3362 (profiler-report-mode-map): Add some more menu entries.
3363
c4d1e0c3
GM
33642013-01-19 Glenn Morris <rgm@gnu.org>
3365
3366 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3367 fixes 2012-12-07 change. (Bug#13499)
3368
795e7a5b 33692013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
3370
3371 * dired.el (dired-get-marked-files): Prune erroneous values due to
3372 last change. (Bug#13152)
3373
795e7a5b 33742013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
3375
3376 * progmodes/etags.el (tags-table-check-computed-list):
3377 Preserve point in tags buffer. (Bug#13412)
3378
f8a42ad6
GM
3379 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3380
20de6ab6
CW
33812013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3382 Chong Yidong <cyd@gnu.org>
3383
b2dc4f52
SM
3384 * image-mode.el (image-next-file, image-previous-file):
3385 New commands (Bug#8453).
20de6ab6
CW
3386 (image-mode-map): Bind them to n and p.
3387 (image-mode--images-in-directory): New helper function.
3388
2a43515a
CY
33892013-01-19 Chong Yidong <cyd@gnu.org>
3390
3391 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3392 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3393 save and restore the old window configuration.
3394
b1170947
LL
33952013-01-18 Leo Liu <sdl.web@gmail.com>
3396
3397 * progmodes/js.el: Tweak autoload cookie for alias.
3398
0eb87688
MA
33992013-01-17 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3402 buffer local, again. This was lost with the fix on 2013-01-12.
3403
99d36ea8
JH
34042013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3405
3406 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3407 order to support several eshell buffers in parallel.
3408
68a08a32
MA
34092013-01-17 Michael Albinus <michael.albinus@gmx.de>
3410
3411 * autorevert.el (auto-revert-use-notify): In the :set function, do
3412 not modify `kill-buffer-hook'.
b2dc4f52
SM
3413 (auto-revert-notify-rm-watch):
3414 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
3415 (auto-revert-notify-add-watch): Do not call
3416 `auto-revert-notify-rm-watch', but add it to a buffer local
3417 `kill-buffer-hook'.
3418
e59eee43
SM
34192013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3422 call to `eval' rather than a backquoted lambda.
3423
6e8cd0ae
SM
34242013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3425
cb9c0a53
SM
3426 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3427 to return an explicit nil.
3428 (advice--remove-function): Change accordingly.
3429
3430 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3431 the use of nadvice.el.
3432
6e8cd0ae
SM
3433 * progmodes/which-func.el (which-function): Silence imenu errors
3434 (bug#13433).
3435
4586ce8a
MM
34362013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3437
f4ad7ea1 3438 * progmodes/sql.el (sql-imenu-generic-expression):
4586ce8a
MM
3439 (sql-mode-font-lock-object-name): Match schema qualified names.
3440 (sql-connect): Use string keys.
3441 (sql-product-interactive): Wait for interpreter prompt.
3442 (sql-comint-oracle): Set process coding based on NLS_LANG.
3443
9d55215c
MM
34442013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3445
3446 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
3447 (sql-interactive-remove-continuation-prompt):
3448 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 3449
57dd9e68
LL
34502013-01-14 Leo Liu <sdl.web@gmail.com>
3451
3452 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3453 (Bug#13420)
3454
51e73492
GM
34552013-01-14 Glenn Morris <rgm@gnu.org>
3456
3457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3458 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3459
c0511b57 34602013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 3461
6e8cd0ae
SM
3462 * progmodes/python.el (python-nav-end-of-statement):
3463 Fix cornercase when handling multiline strings.
50620051 3464
4c0a6d4a
RS
34652013-01-13 Richard Stallman <rms@gnu.org>
3466
9f7e86ef
RS
3467 * mail/sendmail.el (mail-position-on-field): Add doc string.
3468
6e8cd0ae
SM
3469 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3470 Get current message boundaries and pass them to
4c0a6d4a
RS
3471 message-forward-make-body-mime. Minor style changes.
3472
ad33a799
EZ
34732013-01-13 Eli Zaretskii <eliz@gnu.org>
3474
3475 * cus-start.el (all): Avoid warnings about
6e8cd0ae 3476 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 3477
616763d5
JD
34782013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3481
e5b5a34d
SM
34822013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3485 (jit-lock--debug-fontifying): New var.
3486 (jit-lock--debug-fontify): New function.
3487 * subr.el (condition-case-unless-debug): Don't prevent catching the
3488 error, just let the debbugger run.
3489 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3490 timer code and don't drop errors silently.
3491
2daddd9e
MA
34922013-01-12 Michael Albinus <michael.albinus@gmx.de>
3493
3494 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3495 `permanent-local' property.
71c661e4 3496 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 3497
86fbb162
EZ
34982013-01-12 Eli Zaretskii <eliz@gnu.org>
3499
3500 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3501 file notification by ACTION. For filtering by file name, compare
3502 only the non-directory part of the file name.
3503
a0784609
SM
35042013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3505
96c421bb
SM
3506 * autorevert.el: Use cl-lib instead of cl.
3507
a0784609
SM
3508 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3509 (vc-bzr-checkin): Use it.
3510 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3511 will preserve match-data.
3512
f90ff906 35132013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 3514
f90ff906
FD
3515 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3516 (js--declaration-keyword-re): New var.
3517 (js--multi-line-declaration-indentation): New function.
3518 (js--proper-indentation): Use it.
9fc9a531 3519
f90ff906 35202013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 3521
f90ff906
FD
3522 * calc/calc.el (calc-highlight-selections-with-faces)
3523 (calc-dispatch):
3524 * comint.el (comint-history-isearch-message):
3525 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
3526 * ffap.el (ffap-string-at-point-region, ffap-next)
3527 (ffap-string-at-point, ffap-string-around)
3528 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 3529 (ffap-literally):
9fc9a531 3530 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
3531 (font-lock-removed-keywords-alist):
3532 * help-mode.el (help-xref-symbol-regexp):
3533 * info.el (Info-find-emacs-command-nodes):
3534 * international/mule.el (add-to-coding-system-list):
3535 * isearch.el (isearch-message-function, isearch-fail-pos):
3536 * misearch.el (multi-isearch-next-buffer-function):
3537 * newcomment.el (comment-box):
9fc9a531 3538 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 3539 (pr-setting-database):
9fc9a531
AH
3540 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3541 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3542 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
3543 (pike-font-lock-keywords-3):
3544 * progmodes/compile.el (compile):
9fc9a531 3545 * progmodes/etags.el (tags-table-files)
f90ff906 3546 (tags-table-files-function, tags-included-tables-function):
9fc9a531 3547 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 3548 (gdb-restore-windows):
9fc9a531 3549 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
3550 (ps-n-up-filling-database):
3551 * server.el (server-buffer, server-log):
9fc9a531
AH
3552 * simple.el (newline, delete-backward-char, delete-forward-char)
3553 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 3554 (temporary-goal-column):
9fc9a531 3555 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
3556 (flyspell-default-deplacement-commands):
3557 * textmodes/ispell.el (ispell-accept-output):
3558 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 3559 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
3560 (compare-ignore-case, compare-windows-dehighlight):
3561 * vc/diff.el (diff):
9fc9a531
AH
3562 * whitespace.el (whitespace-point)
3563 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 3564 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 3565
65adfa20
MA
35662013-01-11 Michael Albinus <michael.albinus@gmx.de>
3567
3568 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3569 (auto-revert-notify-rm-watch): Ignore errors.
3570 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
3571 inotify, and '(size last-write-time) for w32notify.
3572 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
3573 watch fails - this is a fallback to the file modification check.
3574 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3575 (auto-revert-notify-event-action)
3576 (auto-revert-notify-event-file-name): New defuns.
3577 (auto-revert-notify-handler): Use them. Implement first
3578 plausibility checks.
3579 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3580
43b2e2e7
JD
35812013-01-11 Julien Danjou <julien@danjou.info>
3582
3583 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3584 max are almost equal. Also return the correct value for V which is
3585 already between 0 and 1.
3586
30818a23
DA
35872013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3588
3589 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3590
10e714d5
EZ
35912013-01-11 Eli Zaretskii <eliz@gnu.org>
3592
3593 * autorevert.el (auto-revert-notify-rm-watch)
3594 (auto-revert-notify-add-watch): Fix typos in w32notify function
3595 names.
3596
a778dd57
MA
35972013-01-10 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * autorevert.el (auto-revert-notify-enabled): Move up.
3600 (auto-revert-use-notify): New defcustom.
3601 (auto-revert-mode, global-auto-revert-mode)
3602 (auto-revert-notify-add-watch, auto-revert-handler)
3603 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3604 `auto-revert-notify-enabled'.
3605
72781fef
EP
36062013-01-10 Elias Pipping <pipping@exherbo.org>
3607
3608 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3609 * doc-view.el (doc-view-document->bitmap):
3610 Use doc-view-single-page-converter-function instead of
3611 single-page-converter arg; adjust callers.
3612
e6ed8f08
FL
36132013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3614
3615 * progmodes/which-func.el (which-function): Understand Semantic's use
3616 of overlays in imenu--index-alist.
3617
327a6cca
WJ
36182013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3619
3620 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3621 (Man-man-k-use-anchor): New var.
3622 (Man-parse-man-k): New function.
3623 (Man-completion-table): Use it.
3624 (man): Flush the completion cache between uses.
3625
ed911257
MA
36262013-01-10 Michael Albinus <michael.albinus@gmx.de>
3627
3628 * autorevert.el: Add file watch support.
3629 (auto-revert-notify-enabled): New defconst.
3630 (auto-revert-notify-watch-descriptor-hash-list)
3631 (auto-revert-notify-watch-descriptor)
3632 (auto-revert-notify-modified-p): New defvars.
3633 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3634 (auto-revert-notify-handler): New defuns.
3635 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3636 when mode is disabled.
3637 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3638 (auto-revert-buffers): Add file watches for active buffers.
3639
58cc0a01
DA
36402013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3641
3642 * cus-start.el (toplevel): Only allow float values for
3643 scroll-up-aggressively and scroll-down-aggressively.
3644 Allow any number for line-spacing.
3645
bbc7ff25
SM
36462013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3649 (doc-view-pdf->png-converter-function): Use mupdf if available.
3650 (doc-view-djvu->png-converter-function)
3651 (doc-view-ps->png-converter-function): Remove.
3652 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3653 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3654 (doc-view-already-converted-p): Adjust accordingly.
3655 (doc-view-mode-p): Simplify.
3656 (doc-view-enlarge): Use setq-local.
3657 (doc-view-pdf->png-converter-ghostscript)
3658 (doc-view-djvu->png-converter-ddjvu)
3659 (doc-view-pdf->png-converter-mupdf): Rework to call
3660 doc-view-start-process directly.
3661 (doc-view-pdf/ps->png): Simplify accordingly.
3662 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3663 (doc-view-document->bitmap): Rename from doc-view-document->png.
3664 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3665 (doc-view-set-slice-from-bounding-box): Fix completion table.
3666 (doc-view-mode): Use add-hook for after-revert-hook.
3667
3c855b96
GM
36682013-01-10 Glenn Morris <rgm@gnu.org>
3669
3670 * emacs-lisp/authors.el (authors-ignored-files)
3671 (authors-valid-file-names, authors-renamed-files-alist):
3672 Add some more entries.
3673
3f9549e8 36742013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
3675
3676 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3677 `t' pseudo-window entry.
3678
3f9549e8 36792013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
3680
3681 Fix bugs in the c-parse-state mechanism. Reuse some markers
3682 instead of continually generating new ones.
3683
3684 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3685 (c-state-old-cpp-end-marker): New variables.
3686 (c-append-lower-brace-pair-to-state-cache): Start a backward
3687 search for "}" definitively outside CPP constructs.
3688 (c-remove-stale-state-cache): Inform the caller of a need to
3689 search back for a brace pair in certain circumstances.
3690 (c-state-maybe-marker): New macro.
3691 (c-parse-state): Reuse markers when appropriate.
3692
3f9549e8 36932013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
3694
3695 * simple.el (execute-extended-command): Doc fix.
3696 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3697
3f9549e8 36982013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
3699
3700 * faces.el (read-face-name): Doc fix.
3701
b14abca9
RW
37022013-01-10 Roland Winkler <winkler@gnu.org>
3703
3704 * emacs-lisp/crm.el: Allow any regexp for separators.
3705 (crm-default-separator): All spaces around the default comma separator.
3706 (crm--completion-command): New macro.
3707 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3708 (crm-complete-and-exit): Handle non-single-char separators.
3709
2b541f9a
EP
37102013-01-09 Elias Pipping <pipping@lavabit.com>
3711
3712 * doc-view.el: Add support for DjVu (bug#13164).
3713 (doc-view-djvu->png-converter-function): New config var.
3714 (doc-view-single-page-converter-function, doc-view--image-type)
3715 (doc-view--image-file-extension): New vars.
3716 (doc-view-mode): Initialize them.
3717 (doc-view-goto-page): Use them.
3718 (doc-view-mode-p): Add support for ddjvu.
3719 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3720 (doc-view-set-up-single-converter): New funs.
3721 (doc-view-pdf/ps->png): Extend for djvu.
3722 (doc-view-document->png): Rename from doc-view-pdf->png.
3723 (doc-view-convert-current-doc): Handle djvu.
3724 (doc-view-insert-image, doc-view-display)
3725 (doc-view-already-converted-p): Don't hardcode png.
3726 (doc-view-set-doc-type): Recognize djvu docs.
3727
85f17e35
EP
37282013-01-09 Elias Pipping <pipping@lavabit.com>
3729
3730 * doc-view.el: Add support for mupdf converter (bug#13164).
3731 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3732 (doc-view-ps->png-converter-function): New config vars.
3733 (doc-view-pdf->png-converter-ghostscript)
3734 (doc-view-ps->png-converter-ghostscript)
3735 (doc-view-pdf->png-converter-mupdf): New functions.
3736 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3737
ccd04887
MA
37382013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3739
3740 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3741 first in session cache: When `tramp-own-remote-path' is in
3742 `tramp-remote-path', the remote path is only set in the session
3743 cache.
3744
c5ad92de
GM
37452013-01-09 Glenn Morris <rgm@gnu.org>
3746
fb9f7146
GM
3747 * emacs-lisp/trace.el (trace-function-foreground)
3748 (trace-function-background): Doc fix.
c5ad92de 3749
39a0786e
JL
37502013-01-09 Juri Linkov <juri@jurta.org>
3751
3752 * international/mule-cmds.el (read-char-by-name): Move let-binding
3753 of completion-ignore-case around completing-read to fix regression
3754 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3755 `string-match-p' using the nil value of `case-fold-search' and
3756 `completion-ignore-case' in `completion-pcm--all-completions'.
3757 (Bug#12615).
3758
fb9f7146 37592013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
3760
3761 * progmodes/compile.el (compilation-parse-errors):
3762 Fix typo. (Bug#13369)
3763
fb9f7146 37642013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
3765
3766 * comint.el (comint-send-input): Check size of buffer before
3767 waiting for process output, in case already accepted. (Bug#13290)
3768
677d5c92
PE
37692013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3770
3771 Spelling fixes.
3772 * net/tramp-adb.el (tramp-adb-get-toolbox):
3773 Fix misspelling of 'unknown'.
3774
073ca75b
JL
37752013-01-08 Juri Linkov <juri@jurta.org>
3776
3777 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3778 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3779 Use underline style wave on terminals that support it. (Bug#13000)
3780
a4648137
SM
37812013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3782
4bdc3526
SM
3783 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3784 the predicate returns nil.
3785
a4648137
SM
3786 * simple.el: Use lexical-binding.
3787 (primitive-undo): Use pcase.
3788 (minibuffer-history-isearch-push-state): Use a closure.
3789
3bace969
AH
37902013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3791
3792 * simple.el (primitive-undo): Move from undo.c.
3793
a731fc1b
SM
37942013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3795
1c851e98
SM
3796 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3797 (cvs-mode-remove-handled): Use it (bug#13380).
3798
a731fc1b
SM
3799 * emacs-lisp/nadvice.el (advice--tweak): New function.
3800 (advice--remove-function, advice--subst-main): Use it.
3801
3802 * emacs-lisp/advice.el: Update commentary.
3803
2a22c83b
MA
38042013-01-08 Michael Albinus <michael.albinus@gmx.de>
3805
a731fc1b
SM
3806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3807 Remove spurious entry.
2a22c83b 3808
83c1803a
GM
38092013-01-08 Glenn Morris <rgm@gnu.org>
3810
3811 * net/tramp.el (tramp-default-host-alist): Add :version.
3812
8a2e287c
JL
38132013-01-08 Juri Linkov <juri@jurta.org>
3814
3815 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3816 single completion. (Bug#12456)
3817 (info--manual-names): Expand node completions into an explicit list
3818 before appending it to another list. Filter out internal buffers
3819 with the leading space in the buffer name. (Bug#10771)
3820
c6a22ce2
JL
38212013-01-08 Juri Linkov <juri@jurta.org>
3822
3823 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3824 that defaults to the Top node.
3825 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3826 the short format (FILENAME) goes to the Top node.
3827 (Info-build-node-completions): Rename arg `file' to `filename'.
3828 (Bug#13365)
3829
acfe10b7
BG
38302013-01-07 Bastien Guerry <bzg@gnu.org>
3831
a731fc1b
SM
3832 * menu-bar.el (menu-bar-search-documentation-menu):
3833 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
3834
38352013-01-07 Bastien Guerry <bzg@gnu.org>
3836
3837 * apropos.el (apropos-do-all): Update docstring.
3838 (apropos-user-option-button): New face.
3839 (apropos-user-option): Rename from `apropos-variable' and update
3840 docstring.
3841 (apropos-variable): Rewrite, now show all variables by default.
3842 (apropos-print): Mention "User option" instead of "Variable" when
3843 printing doc for user options. (Bug#13276)
3844
62bcf670
JH
38452013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3846
3847 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3848 Handle filename correctly, when parsing "source -> target" symlink
3849 output.
3850 (tramp-adb-handle-set-file-times): New defun.
3851
4986fa21
SM
38522013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3855 advice list when the interactive-spec of ad-Advice-* changes.
3856
3bee311e
KY
38572013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3858
3859 * wid-edit.el (widget-default-get): Work for inlined elements.
3860 (Bug#12670)
3861
b49eebcc
MA
38622013-01-07 Michael Albinus <michael.albinus@gmx.de>
3863
3864 * net/tramp.el (tramp-default-host-alist): New defcustom.
3865 (tramp-find-host): Use it.
4986fa21 3866 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
3867 `eshell-directory-change-hook'.
3868
3869 * net/tramp-adb.el (top): Add adb specific entry in
3870 `tramp-default-host-alist'.
3871 (tramp-adb-file-name-host): Remove function.
3872 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3873 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3874
3bee311e 3875 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 3876
84f6744a
JH
38772013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3878
3879 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3880
b6cfbcd0
MA
38812013-01-06 Michael Albinus <michael.albinus@gmx.de>
3882
3883 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 3884 consist of more than one digit.
4986fa21
SM
3885 (tramp-adb-file-name-handler-alist):
3886 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
3887 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3888 (tramp-adb-handle-file-exists-p): Remove function.
3889 (tramp-adb-file-name-host): New defun.
3890 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3891 Use it.
3892 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3893
58ba7b1b
CY
38942013-01-06 Chong Yidong <cyd@gnu.org>
3895
3896 * vc/vc.el (vc-next-action): Detect buffer modifications
3897 conflicting with locking VCS operation (Bug#11490).
3898
3899 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3900
f4566fe9
MA
39012013-01-05 Michael Albinus <michael.albinus@gmx.de>
3902
3903 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3904 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3905
838cf298
MA
39062013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3907
3908 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3909 parsing of ls output using regular expression (handle filenames
3910 with spaces). Use virtual device number.
3911 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3912 cleanup).
3913
1bd71e9f
DU
39142013-01-04 Daiki Ueno <ueno@gnu.org>
3915
3916 * epg.el: Silence byte-compiler warnings.
3917 (epg--start): Use delete-char instead of delete-backward-char.
3918 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3919
00cd4c1c
DU
39202013-01-04 Daiki Ueno <ueno@gnu.org>
3921
3922 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3923 Suggested by Eli Zaretskii <eliz@gnu.org>.
3924
f99ced35
MA
39252013-01-04 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3928 non-negative integers. Otherwise, the default values are used.
3929 (tramp-convert-file-attributes): Convert uid and gid to integers.
3930
0f668a4d 39312013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 3932
d2be4dcc
GM
3933 * term.el (term-handle-colors-array): Ensure face attributes
3934 are fully specified, not nil. (Bug#13337)
3935
5b00b749
GM
3936 * term.el (term-default-fg-color, term-default-bg-color):
3937 Fix custom type.
3938
220740a3
GM
3939 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3940 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3941 rather than 'jka-compr being loaded. (Bug#13338)
3942
bdd9367d
WD
39432013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3944
3945 * icomplete.el (icomplete-completions):
3946 Honor icomplete-prospects-height once more following
3947 2012-11-29 changes. (Bug#13224)
3948
96dd18b1
SM
39492013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3950
c0bd248c
SM
3951 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3952 of called-interactively-p as well (bug#13237).
3953
4a74c818
SM
3954 * view.el (view--enable, view--disable): Rename from view-mode-enable
3955 and view-mode-disable and assume it's called from view-mode.
3956 (view-mode-enable, view-mode-disable): Redefine as obsolete
3957 compatibility layer above view-mode.
3958 (view-mode-enter): Call `view-mode'.
3959
3960 * files.el (after-find-file): Call `view-mode'.
3961
96dd18b1
SM
3962 * doc-view.el (doc-view-scale-internally): New var.
3963 (doc-view-enlarge, doc-view-insert-image): Obey it.
3964
c2cf1829
DU
39652013-01-03 Daiki Ueno <ueno@gnu.org>
3966
3967 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3968 exist. (Bug#13344)
3969
ad235a8b
GM
39702013-01-03 Glenn Morris <rgm@gnu.org>
3971
a8aa6c2d
GM
3972 * mail/rmail.el (rmail-set-header-1): Ignore case.
3973 Handle multi-line headers. (Bug#13330)
3974
a6d6c20b
GM
3975 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3976 Handle paragraph starting at beginning of buffer.
3977
ed5bdeb9
GM
3978 * subr.el (eval-after-load): Don't purecopy the form, so that it
3979 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3980
ad235a8b
GM
3981 * emacs-lisp/byte-run.el (defun): Place cl declarations
3982 after any interactive spec. (Bug#13265)
3983
9539d465 39842013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
3985
3986 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3987 defun. Don't check for DECL if DOCSTRING isn't a string.
3988 (defun): Likewise.
3989
9539d465 39902013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 3991
5ee1772e
GM
3992 * eshell/em-cmpl.el (eshell-pcomplete):
3993 More thoroughly imitate pcomplete. (Bug#13293)
3994
4cddca30
GM
3995 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3996 Return nil for empty path elements. (Bug#13296)
3997
9539d465 39982013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
3999
4000 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4001 order to improve efficiency (Based on Daniel Colascione's
4002 <dancol@dancol.org> patch). (Bug#13182)
4003
9539d465 40042013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
4005
4006 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4007
9539d465 40082013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
4009
4010 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4011 neither DOCSTRING nor DECL was given. (Bug#13316)
4012
aca3d51d
MA
40132013-01-02 Michael Albinus <michael.albinus@gmx.de>
4014
4015 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4016 `error' call.
4017 (tramp-do-copy-or-rename-file): Ignore errors when calling
4018 `set-file-extended-attributes'.
4019
4986fa21
SM
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Add handler for `file-acl'.
aca3d51d
MA
4022 (tramp-smb-handle-file-acl): New defun.
4023
87e65f96
JB
40242013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4025
4026 * calc/README: Mention ISO 8601 week-numbering dates.
4027
0aac98ac
MR
40282013-01-01 Martin Rudalics <rudalics@gmx.at>
4029
4030 * view.el (view-mode-enable): New argument run-view-mode-hook.
4031 Run view-mode-hook only when it's non-nil (Bug#13315).
4032 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4033 argument t.
4034
1a82330c
JH
40352012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4036
4037 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4038 (No device connected, invalid device name). (Bug #13299)
4039
27fcfe31
MR
40402012-12-31 Martin Rudalics <rudalics@gmx.at>
4041
4042 * window.el (window-resizable--p): Rename to window-resizable-p.
4043 (window-resize-no-error): New function.
4044
4045 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4046 broken in fix from 2012-12-28.
4047
96c052a5
SM
40482012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * subr.el (special-form-p): Don't signal errors on undef aliases.
4051
fd1f1603
JB
40522012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4053
4054 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
4055 `math-parse-iso-date' when it looks like it might be needed.
4056 Allow times of 24:00.
f4ad7ea1 4057 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
fd1f1603
JB
4058 of 24:00.
4059
8db39aeb
GM
40602012-12-30 Glenn Morris <rgm@gnu.org>
4061
4062 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4063 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4064 (rmail-summary-displayed, rmail-summary): Declare.
4065 (mairix-rmail-display): Just require rmail.
4066
d5e5e7b4 40672012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
4068
4069 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4070 check for the tarball contents.
4071
d5e5e7b4 40722012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
4073
4074 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4075 tarfile content listings (Bug#13136).
4076
d5e5e7b4 40772012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 4078
96c052a5
SM
4079 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4080 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 4081
4f752957
MA
40822012-12-30 Michael Albinus <michael.albinus@gmx.de>
4083
3ee24a3b
MA
4084 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4085 integers, if they are real numbers. (Bug#13282)
4086
4f752957
MA
4087 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4088 Return `t' on success.
4089
96c052a5
SM
4090 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4091 Add handler for `set-file-selinux-context'.
4f752957 4092
eff2eb58
MA
40932012-12-29 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4096 (tramp-sh-handle-set-file-acl): Return `t' on success.
4097
ccad023b
EZ
40982012-12-29 Eli Zaretskii <eliz@gnu.org>
4099
96c052a5
SM
4100 * files.el (backup-buffer-copy, basic-save-buffer-2):
4101 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 4102 instead of signaling an error. (Bug#13298)
7e56b103 4103 (basic-save-buffer): Likewise.
ccad023b 4104
ccb1c17e
FEG
41052012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4106
4107 * progmodes/python.el: Support other commands triggering
4108 python-indent-line so indentation cycling continues to work.
4109 (python-indent-trigger-commands): New defcustom.
4110 (python-indent-line): Use it.
4111
16768034
FEG
41122012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4113
4114 * progmodes/python.el (python-shell-send-region): Add blank lines
4115 for non sent code so backtraces remain correct.
4116
66164d2f
FEG
41172012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4118
4119 * progmodes/python.el: Remove cl dependency.
4120 (python-syntax-count-quotes): Replace incf call.
4121 (python-fill-string): Replace setf call.
4122
761231d1
DC
41232012-12-29 Damien Cassou <damien.cassou@gmail.com>
4124
43ebd12b 4125 * info.el (info-other-window): New arg, for consistency with info.
761231d1 4126
7c3e220a
MR
41272012-12-28 Martin Rudalics <rudalics@gmx.at>
4128
96c052a5
SM
4129 * mail/rmail.el (rmail-maybe-display-summary):
4130 Rewrite (Bug#13066).
7c3e220a 4131
361828b5
AS
41322012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4133
4134 * epg.el (epg--start): Modify process-environment locally.
4135
23bd348c
DU
41362012-12-28 Daiki Ueno <ueno@gnu.org>
4137
4138 * epg.el: Support pinentry-curses.
4139 Suggested by Werner Koch in
4140 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4141 (epg-agent-file, epg-agent-mtime): New variable.
4142 (epg--start): Record the modified time of gpg-agent socket file,
4143 to restore Emacs frame after pinentry-curses termination.
4144 (epg-wait-for-completion): Restore Emacs frame here.
4145
313f39aa
JL
41462012-12-27 Juri Linkov <juri@jurta.org>
4147
4148 * info.el (Info-file-completions): New variable.
4149 (Info-read-node-name-1): Complete node names in the Info file
4150 when a file name is given. Call `Info-build-node-completions'
4151 with a file name.
4152 (Info-build-node-completions): Add new arg `file'. When it is
4153 non-nil, visit it in a temporary buffer and cache its completions in
4154 `Info-current-file-completions'. Move most of the function body to
4155 `Info-build-node-completions-1'.
4156 (Info-build-node-completions-1): New function with the body from
4157 `Info-build-node-completions'. (Bug#12456)
4158
a45b7647
JL
41592012-12-27 Juri Linkov <juri@jurta.org>
4160
4161 * frame.el (frame-maximization-style): Remove user option.
4162 (cycle-frame-maximized): Remove function.
4163 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4164 (toggle-frame-fullscreen): New command bound to <f11> instead of
4165 `toggle-frame-maximized'.
4166 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4167
10ffd0be
MA
41682012-12-27 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4171
4172 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4173 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4175 for `file-accessible-directory-p'. (Bug#13275)
4176
fd146719
SS
41772012-12-27 Sam Steingold <sds@gnu.org>
4178
4179 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4180 continuations, see <http://stackoverflow.com/questions/3582436>.
4181
82e2a1f0 41822012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
4183
4184 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
4185 "module" and "def" to have indentation before them.
4186 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 4187
ea0857a1
DG
4188 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4189
82e2a1f0 41902012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
4191
4192 Speed up fontification where there's large brace blocks.
4193 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4194 to a call of c-beginning-of-decl-1.
4195
c34339f3
VS
41962012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4197
4198 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
4199 (comint-postoutput-scroll-to-bottom):
4200 Call comint-adjust-window-point (Bug#13248).
c34339f3 4201
78269b95
DG
42022012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4203
4204 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4205 Rakefile regexp.
4206 (auto-mode-alist): Associate .gemspec files with ruby-mode
4207 (https://bugs.ruby-lang.org/issues/5453).
4208
bd8c13f9
JH
42092012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4210
96c052a5
SM
4211 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4212 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 4213 CyanogenMod).
bd8c13f9
JH
4214 (tramp-adb-handle-file-attributes)
4215 (tramp-adb-handle-insert-directory)
4216 (tramp-adb-handle-file-name-all-completions): Use it.
4217 (tramp-adb-get-toolbox): New defun. Check for remote shell
4218 implementation (BusyBox or Toolbox).
4219
f4ad7ea1 42202012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
dc646358
CK
4221
4222 * startup.el (initial-buffer-choice): Allow function as value
4223 (Bug#13251).
4224 (command-line-1): Handle case where initial-buffer-choice
4225 specifies a function.
4226 * server.el (server-execute): Handle case where
4227 initial-buffer-choice specifies a function.
4228
e7d52a4d
LI
42292012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4230
4231 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4232 its own function.
4233 (smtpmail-try-auth-methods): Forget the user name/password if the
4234 login is unsuccessful (bug#12424).
4235
cdb07539
MA
42362012-12-22 Michael Albinus <michael.albinus@gmx.de>
4237
1ef5f225
MA
4238 * notifications.el (notifications-notify): Protect body with
4239 `with-demoted-errors'.
4240
96c052a5
SM
4241 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4242 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
4243 change.
4244
594f37aa
CY
42452012-12-21 Chong Yidong <cyd@gnu.org>
4246
4247 * sort.el (sort-subr): Doc fix (Bug#13056).
4248
a4b0cca1 42492012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 4250
acc650b8
BG
4251 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4252
0e9c7693
MA
42532012-12-21 Michael Albinus <michael.albinus@gmx.de>
4254
4255 * simple.el (process-file): Overwrite stderr file, if exists.
4256
c6609164
DU
42572012-12-21 Daiki Ueno <ueno@gnu.org>
4258
4259 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 4260 (epg-error): Set `error-message' property.
c6609164 4261
aa26f345
CY
42622012-12-21 Chong Yidong <cyd@gnu.org>
4263
34b4b7eb
CY
4264 * international/mule-cmds.el (read-char-by-name): Signal an error
4265 if the user does not supply a valid character (Bug#13177).
4266
aa26f345
CY
4267 * simple.el (transpose-subr-1): Preserve marker positions by
4268 changing the insertion sequence (Bug#13122).
4269
05c22d87
KD
42702012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4271
4272 * simple.el (kill-region): Deactivate mark even for empty regions
4273 (Bug#13169).
4274
f5733f87
CY
42752012-12-21 Chong Yidong <cyd@gnu.org>
4276
4277 * help-fns.el (describe-variable): Make sure we get the right
4278 buffer name (Bug#13105). Suggested by Kelly Dean.
4279
fab6916d
MM
42802012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4281
4282 * comint.el (comint-redirect-previous-input-string): New variable.
4283 (comint-redirect-setup, comint-redirect-cleanup)
4284 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4285 (comint-redirect-preoutput-filter): Fix verbose message.
4286
91b982a0
MA
42872012-12-20 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4290 is too long for Tramp. See discussion in
4291 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4292
4293 * progmodes/compile.el (compilation-start): Remove line escape
4294 template.
4295
87523aed
DA
42962012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4297
4298 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4299 Adjust comment.
4300
ee3c0aec
JB
43012012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4302
4303 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4304 following non-comment text (bug#13207).
4305 (lm-header-multiline): Continuation lines need to be indented more than
4306 the first line.
4307 (lm-homepage): New function.
4308 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 4309
4a74c818
SM
43102012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4311
f4d79bd0
SM
4312 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4313 very beginning of a hunk (e.g. killing the first line).
4314
3c532af6
MA
43152012-12-19 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4318 and text properties from returned ACL string.
4319 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4320 for "setfacl" command.
4321
e0d01ef3
MA
43222012-12-18 Michael Albinus <michael.albinus@gmx.de>
4323
4324 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4325 `tramp-cleanup-this-connection', when the process has died.
4326 (Bug#13151)
4327
2387610d
SM
43282012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4331
19156242
KR
43322012-12-17 Kevin Ryde <user42@zip.com.au>
4333
4334 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4335
53b6a8b1
MA
43362012-12-17 Michael Albinus <michael.albinus@gmx.de>
4337
4338 Add support for preserving ACL entries of files.
4339
4340 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4341 `set-file-acl' handlers.
4342
19156242
KR
4343 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4344 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4345
19156242
KR
4346 * net/tramp-compat.el (tramp-compat-copy-file):
4347 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4348
19156242
KR
4349 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4350 Add `file-acl' and `set-file-acl' handlers.
4351 (tramp-gvfs-handle-copy-file):
4352 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4353 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4354 New defuns.
53b6a8b1 4355
19156242
KR
4356 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4357 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
4358 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4359 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
4360 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4361 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4362
19156242
KR
4363 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4364 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
4365 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4366
f4ad7ea1 43672012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6ae57a67
KD
4368
4369 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 4370 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
4371 *Metahelp* with a leading space (Bug#13190).
4372
7c3d167f
RF
43732012-12-16 Romain Francoise <romain@orebokech.com>
4374
4375 * files.el (file-extended-attributes)
4376 (set-file-extended-attributes): New functions.
4377 (backup-buffer): Use them to handle both SELinux context and ACL
4378 entries.
4379 (backup-buffer-copy): Work with an alist of extended attributes,
4380 rather than an SELinux context.
4381 (basic-save-buffer-2): Ditto.
4382
19b748ad
TM
43832012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4384
4385 * battery.el (battery-bsd-apm): New function.
4386
70042c64
JB
43872012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4388
4389 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4390 standard date formats.
4391
279f9b06
JL
43922012-12-15 Juri Linkov <juri@jurta.org>
4393
4394 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4395 `isearch-insert-char-by-name'.
4396 (with-isearch-suspended): New defmacro with body mostly from
4397 `isearch-edit-string' except the part that sets
4398 `isearch-new-string' and `isearch-new-message'.
4399 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4400 body that sets `isearch-new-string' and `isearch-new-message'.
4401 (isearch-insert-char-by-name): New command.
4402 * international/mule-cmds.el (read-char-by-name): Let-bind
4403 `enable-recursive-minibuffers' to t.
4404 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4405
8370def5
JL
44062012-12-15 Juri Linkov <juri@jurta.org>
4407
4408 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4409 (Bug#13175)
4410
178fb95d
CS
44112012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4412
4413 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4414 the prompt. (Bug#13045)
4415
a5f74442
GM
44162012-12-14 Glenn Morris <rgm@gnu.org>
4417
4418 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4419 Try to include filename in non-bytecomp warning. (Bug#13132)
4420
97976f9f
PE
44212012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4422
4423 Fix permissions bugs with setgid directories etc. (Bug#13125)
4424 * files.el (backup-buffer): Don't rely on 9th output of
4425 file-attributes, as it's now a placeholder. Instead, use the new
4426 optional arg of file-ownership-preserved-p.
4427 (file-ownership-preserved-p): New optional arg GROUP.
4428 Fix mishandling of setuid directories that would cause this
4429 function to return t when it should have returned nil.
4430 Document what happens if the file does not exist, and when
4431 it's not known whether the ownership will be preserved.
4432 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4433 Likewise.
4434 (tramp-get-local-gid): Use group-gid for integer, as that's
4435 faster and more reliable.
4436
016b2a42
JD
44372012-12-14 Julien Danjou <julien@danjou.info>
4438
19156242
KR
4439 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4440 Update keywords list, data type and PL/pgSQL.
016b2a42 4441
665e5e07
DA
44422012-12-14 Dave Abrahams <dave@boostpro.com>
4443
4444 * vc/ediff-util.el (ediff-buffer-type): New function.
4445 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4446 rather than taking it as as argument.
4447 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4448
d72e9e92
RC
44492012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4450
4451 * json.el: Add pretty-print option (bug#12634).
4452 (json-encoding-separator, json-encoding-default-indentation)
4453 (json--encoding-current-indentation, json-encoding-pretty-print)
4454 (json-encoding-lisp-style-closings): New vars.
4455 (json--with-indentation): New macro.
4456 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4457 (json-encode-array): Use it to obey json-encoding-pretty-print.
4458 (json-pretty-print-buffer, json-pretty-print): New commands.
4459
dbb530d9
DG
44602012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4461
4462 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4463 Extract `ruby-syntax-propertize-expansions'.
4464 (ruby-syntax-propertize-expansions): Only change syntax on
4465 certain string delimiters, to punctuation. This way the common
4466 functions like forward-word and thing-at-point still work.
4467 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
4468 (ruby-block-contains-point): New function.
4469 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 4470
ce0440ff
JB
44712012-12-13 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4474 unload-feature finishes even when aborting an ongoing edebug session.
4475 Also, do not worry about edebug-mode, unload-feature takes care of it.
4476
f10331bf
AS
44772012-12-13 Andreas Schwab <schwab@suse.de>
4478
4479 * net/tls.el (tls-program): Update customize type.
4480
5f3a3bb1
JB
44812012-12-13 Juanma Barranquero <lekktu@gmail.com>
4482
4483 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4484 (edebug-setup-hook, cl-read-load-hooks): Use it.
4485 (edebug-unload-function): New function. (Bug#13163)
4486
6ce21463
MA
44872012-12-13 Michael Albinus <michael.albinus@gmx.de>
4488
4489 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4490 Otherwise, there could be errors in autoloading. (Bug#13151)
4491
d754b364
JH
44922012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4493
4494 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4495 sequences.
4496
727f9739 44972012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
4498
4499 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4500 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4501 around `forward-comment' not recognizing ^M as whitespace.
4502
727f9739 45032012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
4504
4505 * progmodes/python.el (python-skeleton-class)
4506 (python-skeleton-def): Do not add space after defun name.
4507
eb8006c6
SM
45082012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4511 (cl--symbol-function): Remove (now that funbound is like nil).
4512
4c74b1e4
GM
45132012-12-12 Glenn Morris <rgm@gnu.org>
4514
4515 * button.el (button--area-button-p): Fix typo.
4516
37f38bca
SS
45172012-12-12 Sam Steingold <sds@gnu.org>
4518
4519 * frame.el (frame-maximization-style): New user option.
4520 (toggle-frame-maximized): Toggle frame maximization according to
4521 `frame-maximization-style', bound to <f11>.
4522 (cycle-frame-maximized): Cycle between all maximization styles and
4523 non-maximized frame, bound to shift-<f11>.
4524
fd49a218
DC
45252012-12-12 David Cadé <codename68@gmail.com>
4526
4527 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4528
69e1c203
JB
45292012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4530
4531 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4532 (eieio-override-prin1): Don't quote kewords and booleans.
4533 (object-write) <eieio-default-superclass>: Don't put closing parens
4534 on new line, avoid needless empty lines, align values that are objects
4535 with the slot keyword (instead of beginning on the same line).
4536 (eieio-list-prin1): Align value with slot keyword; increase
4537 eieio-print-depth before printing members of the list.
4538
4b0df848
SM
45392012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4540
030f4af5
SM
4541 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4542 a display text-property.
4543 (report-emacs-bug-hook): Don't bother deleting it any more.
4544
6ac1f8ca
SM
4545 * hilit-chg.el (highlight-save-buffer-state): Delete.
4546 Use with-silent-modifications instead.
4547 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4548
4b0df848
SM
4549 * button.el: Handle buttons in display text-properties.
4550 (button--area-button-p, button--area-button-string):
4551 Use (STRING . STRING-POS) representation instead of just STRING.
4552
d46d2d3a
EZ
45532012-12-11 Eli Zaretskii <eliz@gnu.org>
4554
4555 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4556 subdirectory be skipped.
4557
a0099d31
GM
45582012-12-11 Glenn Morris <rgm@gnu.org>
4559
36327e4f
GM
4560 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4561
a0099d31
GM
4562 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4563 Treat preprocessor lines embedded in continuations like comments.
4564 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4565
ff3f6c26
JB
45662012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4567
f4ad7ea1 4568 * calc/calc.el (calc-standard-date-formats): Add more date
ff3f6c26
JB
4569 formats.
4570 * calc/calc-forms.el (math-parse-iso-date): New function.
4571 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4572 (math-parse-iso-date-validate): Add extra error checking.
4573 (calc-date-notation): Add ability to access new date formats.
4574
ed6f2cd4
SM
45752012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4578 font-lock as well as when there's no text-property.
4579
c868b919
J
45802012-12-10 Jambunathan K <kjambunathan@gmail.com>
4581
4582 * hi-lock.el: Refine the choice of default face.
4583 (hi-lock-keyword->face): New function. Use it wherever we used
4584 cadadadr instead.
4585 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4586 (hi-lock--last-face): Remove var.
4587 (hi-lock--unused-faces): New var to replace it.
4588 (hi-lock-read-face-name): Use/maintain it.
4589 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4590 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4591 if it has another face.
4592
2b8c9064
EZ
45932012-12-10 Eli Zaretskii <eliz@gnu.org>
4594
4595 * subr.el (w32notify-handle-event): New function.
4596 (inotify-handle-event): Doc fix.
4597
81606b10
RS
45982012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4599
4600 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4601
f4ad7ea1 46022012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
4603
4604 * simple.el (just-one-space): Doc fix.
4605
265c2fbf 46062012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 4607
c868b919 4608 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 4609
265c2fbf 46102012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
4611
4612 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4613 narrowed buffer (bug#12361).
4614
265c2fbf 46152012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
4616
4617 * vc/vc-hooks.el (vc-state): Doc fix.
4618
265c2fbf 46192012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
4620
4621 * mail/rmail.el (rmail-maybe-display-summary):
4622 Preserve buffer, in case select-window changes it. (Bug#13066)
4623
265c2fbf 46242012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
4625
4626 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4627 cl-load-hook where they belong.
4628
bad162fd
SM
46292012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4632
ca065258
EZ
46332012-12-09 Eli Zaretskii <eliz@gnu.org>
4634
4635 Parallelize byte compilation on MS-Windows.
4636 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 4637 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
4638 (WINS_BASIC): Define as concatenation of the above.
4639 (compile): Subdivide into 4 separate and independent jobs that can
4640 be run in parallel.
4641 (compile0-CMD, compile0-SH): New targets for compiling
4642 COMPILE_FIRST files, which are prerequisites for the rest of the
4643 byte-compilation.
bad162fd
SM
4644 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4645 New targets for parallel compilation with cmd.exe.
ca065258
EZ
4646 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4647 compiling under a Unixy shell.
4648
5dea55d2
CY
46492012-12-09 Chong Yidong <cyd@gnu.org>
4650
4651 * simple.el (set-mark-default-inactive): Delete this
4652 accidentally-introduced option.
4653 (set-mark-command, exchange-point-and-mark): Remove calls.
4654
c6c08d3f
GM
46552012-12-09 Glenn Morris <rgm@gnu.org>
4656
4657 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4658 Respect a defcustom's :set function, if appropriate. (Bug#109)
4659 (eval-defun): Doc fix.
4660
858aab4c
JL
46612012-12-08 Juri Linkov <juri@jurta.org>
4662
4663 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4664 (Info-fontify-node, Info-bookmark-make-record): Remove the
4665 file extension from Info-current-file (Bug#13016).
4666
2e4ad7e5
SM
46672012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4670 point, still provide some default.
4671 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4672 names, since we don't use it right now. Actually return the list.
4673 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4674
75498db0
CY
46752012-12-07 Chong Yidong <cyd@gnu.org>
4676
ffe7ba8f
CY
4677 * novice.el (disabled-command-function): Remove a spurious help
4678 xref (Bug#13043). Suggested by Kelly Dean.
4679
454eb095
CY
4680 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4681 syntax is specified (Bug#13025).
4682
75498db0
CY
4683 * info.el (Info-set-mode-line): Remove the file extension from
4684 Info-current-file if there is one (Bug#13016).
4685
13a40633
GM
46862012-12-07 Glenn Morris <rgm@gnu.org>
4687
54c8b5ba
GM
4688 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4689 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4690 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4691 and rmail-mime-decoded. (Bug#9841)
4692
13a40633
GM
4693 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4694 (batch-unrmail, unrmail): Doc fixes.
4695 (unrmail): Respect unrmail-mbox-format.
4696 * mail/rmail.el (rmail-mbox-format): New option.
4697 (rmail-show-message-1): Respect rmail-mbox-format.
4698
4611a3cc
SM
46992012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4702
1812c724
SM
47032012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4704
338bfefa
SM
4705 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4706 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4707 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4708 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4709 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4710 (cl-progv): Don't rely on dynamic scoping to find the body.
4711 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4712 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4713 (cl-declaim): Use backquotes.
4714 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4715 Use "cl--" prefix for the object's tag.
4716
1812c724
SM
4717 * ses.el: Use advice-add/remove.
4718 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4719 (copy-region-as-kill, yank): Use advice-add.
4720 (ses-unload-function): Use advice-remove.
4721
24fc9480
JB
47222012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4723
4724 * button.el: Make them work in header-lines (bug#12817).
4725 (button-map): Add bindings for header-line and mode-line use.
4726 (button-get, button-put, button-label): `button' may now be a string.
4727 (button-activate): Don't make it a defsubst.
4728 (button--area-button-p, button--area-button-string): New functions.
4729 (make-text-button): Fix the return value when `beg' was a string.
4730 (push-button): Handle the mode-line case.
4731
853c1ffc
SM
47322012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4733
93852cb0
SM
4734 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4735 (sql-signum): Remove. Use `cl-signum' instead.
4736 (sql-read-passwd): Remove; use read-passwd instread.
4737 (sql-get-login-ext): Use read-string.
4738 (sql-get-login): Use dolist and pcase.
4739 (sql--completion-table): Rename from sql-try-completion.
4740 Use complete-with-action.
4741 (sql-mode): Don't change abbrev-all-caps globally.
4742 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4743 (sql-postgres-completion-object): Initialize vars in their `let'.
4744 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4745 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4746 (sql-comint-interbase): Use a single append, without setq.
4747 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4748
853c1ffc
SM
4749 * hi-lock.el: Rework the default face and the serialize regexp code.
4750 (hi-lock--auto-select-face-defaults): Remove.
4751 (hi-lock-string-serialize-serial): Remove.
4752 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4753 make weak.
4754 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4755 equal string.
4756 (hi-lock-set-pattern): Adjust accordingly.
4757 (hi-lock--regexps-at-point): Simplify accordingly.
4758 (hi-lock--auto-select-face-defaults): Remove.
4759 (hi-lock--last-face): New var to replace it.
4760 (hi-lock-read-face-name): Rewrite (bug#11095).
4761 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4762
5504e2c7
MA
47632012-12-06 Michael Albinus <michael.albinus@gmx.de>
4764
853c1ffc
SM
4765 * net/tramp.el (tramp-replace-environment-variables):
4766 Hide compiler warning.
5504e2c7
MA
4767 (tramp-file-name-for-operation): Remove `executable-find',
4768 `start-process', `call-process' and `call-process-region'.
4769
853c1ffc 4770 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
4771
4772 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4773 compatibility.
4774
4775 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4776
e1d51545
CY
47772012-12-06 Chong Yidong <cyd@gnu.org>
4778
4779 * ffap.el (ffap-replace-file-component): Fix typo.
4780
d8ad4d3f 47812012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
4782
4783 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4784 fix open-paren-like token test (bug#12785).
4785
d8ad4d3f 47862012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
4787
4788 * mail/rmailsum.el (rmail-new-summary): Tweak for
4789 rmail-maybe-display-summary changing buffer. (Bug#13066)
4790
d8ad4d3f 47912012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
4792
4793 * info.el (Info-fontify-node): Don't hide the last newline.
4794 (Bug#12272)
4795
9ad948e2
KY
47962012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4797
4798 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4799 so as to enable message-read-from-minibuffer to expand mail aliases.
4800
4b5c89ee
SM
48012012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4804 the `intangible' property.
4805 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4806
5602a53a
DD
48072012-12-05 Deniz Dogan <deniz@dogan.se>
4808
4809 * net/rcirc.el (rcirc-urls): Update documentation.
4810 (rcirc-condition-filter): New function.
4811 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4812 and exclude consecutive duplicate URLs (Bug#6082).
4813
51b890ac
MA
48142012-12-05 Michael Albinus <michael.albinus@gmx.de>
4815
d5f97f62
MA
4816 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4817 Check return code of copy command.
4818
853c1ffc
SM
4819 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4820 Use group `tramp'. Add version.
51b890ac 4821
04b14f2b
CY
48222012-12-05 Chong Yidong <cyd@gnu.org>
4823
a3680194
CY
4824 * ffap.el (ffap-url-regexp): Don't require matching at front of
4825 string (Bug#4952).
4826 (ffap-url-p): If only a substring matches, return that.
4827 (ffap-url-at-point): Use the return value of ffap-url-p.
4828 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4829 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4830 (ffap-guess-file-name-at-point): Likewise.
4831 (ffap-replace-file-component): Fix typo.
4832
04b14f2b
CY
4833 * info.el (info-display-manual): Add existing Info buffers, whose
4834 files may not be in Info-directory-list, to the completion.
4835 (info--manual-names): New helper function.
4836
49596095
GM
48372012-12-05 Glenn Morris <rgm@gnu.org>
4838
4839 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4840 New functions, for detecting and resolving conflicts. (Bug#10709)
4841
b85aec93
J
48422012-12-04 Jambunathan K <kjambunathan@gmail.com>
4843
4844 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4845 (hi-lock-auto-select-face-defaults): New buffer local variable.
4846 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4847 (hi-lock-unface-buffer): Prompt user with useful defaults.
4848 With prefix arg, unhighlight all hi-lock patterns in buffer.
4849
8515507f
SM
48502012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4853
72cebfb7
MA
48542012-12-04 Michael Albinus <michael.albinus@gmx.de>
4855
4856 * Makefile.in (TRAMP_SRC):
4857 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4858
0ec3f7ea
JH
48592012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4860
4861 * net/tramp-adb.el: New package.
4862
770de7cf
CY
48632012-12-04 Chong Yidong <cyd@gnu.org>
4864
ce3e7725
CY
4865 * terminal.el: Move to obsolete/.
4866
770de7cf
CY
4867 * longlines.el: Move to obsolete/.
4868
4869 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4870 Remove code referring to longlines mode.
4871
c38a186c
JL
48722012-12-03 Juri Linkov <juri@jurta.org>
4873
4874 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4875
329bfd64
AM
48762012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4877
4878 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
4879 (ispell-start-process, ispell-internal-change-dictionary):
4880 Make sure personal dictionary name is expanded after initial
4881 `default-directory' value. Use expanded strings for
4882 keep/restart checks and for value (Bug#13019).
329bfd64 4883
77a74935
JB
48842012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4885
4886 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4887
c5bc2d1d 48882012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
4889
4890 * files.el (dir-locals-read-from-file): Check file non-empty
4891 before reading. (Bug#13038)
4892
c5bc2d1d 48932012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
4894
4895 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4896 Remove any version extension before checking filename. (Bug#13006)
4897 (jka-compr-compression-info-list): Belated :version bump.
4898
c5bc2d1d 48992012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 4900
8ecba97d
CY
4901 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4902
a5bf43ba
CY
4903 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4904 (buffer-menu): Doc fix (Bug#12294).
4905
c5bc2d1d 49062012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
4907
4908 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4909 of diary-show-all-entries in the diary buffer (Bug#12994).
4910
c5bc2d1d 49112012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
4912
4913 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4914 "<STDIN>". This is binary safe.
4915
682ceaf8
JB
49162012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4917
4918 * calc/calc-forms.el (math-absolute-from-iso-dt)
4919 (math-date-to-iso-dt, math-parse-iso-date-validate)
4920 (math-iso-dt-to-date): New functions.
4921 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4922 (math-fd-isoweekday): New variables.
4923 (calc-date-notation, math-parse-standard-date, math-format-date)
4924 (math-format-date-part): Add support for more formatting codes.
4925
db47d5e9
DG
49262012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4927
4928 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4929 current buffer's file name when called interactively (Bug#12488).
4930
3faf4944
JL
49312012-12-02 Juri Linkov <juri@jurta.org>
4932
4933 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 4934 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 4935
cb5d51dc
YN
49362012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4937
4938 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4939 before using it for comparison (Bug#5297).
4940
f38cd76e
JA
49412012-12-01 Jari Aalto <jari.aalto@cante.net>
4942
4943 * textmodes/css-mode.el (css-current-defun-name): New function.
4944 (css-mode): Use it.
4945
4946 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4947 (html-mode): Use it.
4948
ba03d0d9
CY
49492012-12-01 Chong Yidong <cyd@gnu.org>
4950
4951 Modularize add-log-current-defun (Bug#2224).
4952 Suggested by Jari Aalto.
4953
4954 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4955 (add-log-current-defun): Move mode-specific code to other files.
4956 (add-log-lisp-like-modes, add-log-c-like-modes)
4957 (add-log-tex-like-modes): Variables deleted.
4958
4959 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4960 (lisp-mode-variables): Use it.
4961
4962 * progmodes/cc-mode.el (c-common-init):
4963 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4964 add-log-current-defun-function.
4965
4966 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4967 (m4-mode): Use it.
4968
4969 * progmodes/perl-mode.el (perl-current-defun-name): New.
4970 (perl-mode): Use it.
4971
853c1ffc
SM
4972 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4973 Use lisp-current-defun-name.
ba03d0d9
CY
4974
4975 * textmodes/tex-mode.el (tex-current-defun-name): New.
4976 (tex-common-initialization): Use it.
4977
4978 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4979 (texinfo-mode): Use it.
4980
92eadba5
CY
49812012-12-01 Chong Yidong <cyd@gnu.org>
4982
4983 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4984 * progmodes/autoconf.el (autoconf-mode):
4985 * progmodes/js.el (js-mode):
4986 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4987 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4988 * progmodes/perl-mode.el (perl-mode):
4989 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4990 * textmodes/css-mode.el (css-mode):
4991 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4992 (sgml-tags-invisible, sgml-guess-indent):
4993 * textmodes/tex-mode.el (tex-common-initialization)
4994 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4995 (doctex-mode, plain-tex-mode, latex-mode):
4996 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4997
3ddbf803
KK
49982012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4999
5000 * vc/vc-hg.el (vc-hg-next-revision):
5001 Ensure use of default "tip" output format. (Bug#6968)
5002
f0b6ae63
KS
50032012-12-01 Kim F. Storm <storm@cua.dk>
5004
5005 * startup.el (fancy-startup-tail): Add a clickable link
5006 (Bug#2176).
5007
c01bf73e
CY
50082012-12-01 Chong Yidong <cyd@gnu.org>
5009
5010 * startup.el (fancy-startup-tail): Improve the message about
5011 auto-save files (Bug#2176).
5012
f0b6ae63
KS
5013 * files.el (recover-session): Improve the descriptive message, and
5014 use substitute-command-keys.
5015
a9400458
GM
50162012-12-01 Glenn Morris <rgm@gnu.org>
5017
5018 * ido.el (ido-file-internal):
5019 Handle other-window, other-frame for dired. (Bug#13036)
5020
fb3bf6ce
GM
50212012-11-30 Glenn Morris <rgm@gnu.org>
5022
5023 * icomplete.el (icomplete-separator): Fix :version.
5024
a813fe3f
CY
50252012-11-30 Chong Yidong <cyd@gnu.org>
5026
5027 * shell.el (shell): For C-u M-x shell, use an inactive shell
5028 buffer as the default (Bug#1975).
276479fd
CY
5029 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5030 (shell-mode): Use them to reapply ansi colorization if Shell mode
5031 is re-enabled.
a813fe3f 5032
a8b733a5
CY
50332012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5034
5035 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5036
6fccd6e8
SB
50372012-11-30 Samuel Bronson <naesten@gmail.com>
5038
5039 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5040 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5041
53c9a337
TT
50422012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5043
5044 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5045 by move-to-column (Bug#3234).
5046
ccf520bb
CY
50472012-11-30 Chong Yidong <cyd@gnu.org>
5048
5049 * longlines.el (longlines-wrap-line, longlines-encode-region):
5050 Preserve text properties (Bug#1425).
5051
171b0949
OT
50522012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5053
5054 * vc/vc.el (vc-register): Allow registering a file which is
5055 already registered with a different backend (Bug#10589).
5056
cc37e70f
J
50572012-11-29 Jambunathan K <kjambunathan@gmail.com>
5058 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * icomplete.el: Change separator; add ido-style commands.
5061 (icomplete-show-key-bindings): Remove custom var.
5062 (icomplete-get-keys): Remove function.
5063 (icomplete-forward-completions, icomplete-backward-completions):
5064 New commands.
5065 (icomplete-minibuffer-map): New var.
5066 (icomplete-minibuffer-setup): Use it.
5067 (icomplete-exhibit): Don't delay if the list of completions is known.
5068 (icomplete-separator): New custom.
5069 (icomplete-completions): Use it.
5070 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5071 (minibuffer-force-complete-and-exit): New command.
5072 (minibuffer--complete-and-exit): New function extracted from
5073 minibuffer-complete-and-exit.
5074 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
5075
5076 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5077 error message when the file doesn't exist (bug#12974).
5078
31646597
KD
50792012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5080
5081 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5082
e9df8f87
GM
50832012-11-29 Glenn Morris <rgm@gnu.org>
5084
824eefe4
GM
5085 * files.el (hack-dir-local-variables): Warn if try to set
5086 coding via dir-locals, since it doesn't work. (Bug#7169)
5087
4ad900d9
GM
5088 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5089 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5090 Set buffer-local value of desktop-save-buffer.
5091 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5092 New functions.
5093 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5094 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5095
e9df8f87
GM
5096 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5097 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5098 Doc fix.
5099 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5100 Doc fixes.
5101
e7c8fcc4
JB
51022012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5103
5104 * calc/calc-forms.el (calc-date-notation): Fix regexp
5105 used to find time codes. Fix symbol for seconds.
5106
48d6d9c0
GM
51072012-11-27 Glenn Morris <rgm@gnu.org>
5108
5109 * emacs-lisp/derived.el (derived-mode-make-docstring):
5110 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5111
369f945d
SM
51122012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5115 lexically scoped variables (bug#13005).
5116
5c9cf0a3 51172012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 5118
999e745e
GM
5119 * vc/vc-hooks.el (vc-mistrust-permissions):
5120 Default to t, to avoid data-loss. (Bug#11490)
98f99594 5121
5c9cf0a3 51222012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 5123
999e745e
GM
5124 * progmodes/python.el (python-indent-guess-indent-offset):
5125 If indentation is guessed make python-indent-offset buffer-local.
5126
207cb73c 5127 Fix Imenu regression.
999e745e
GM
5128 * progmodes/python.el (python-nav-beginning-of-defun):
5129 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
5130 (python-imenu-prev-index-position): New function.
5131
5c9cf0a3 51322012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
5133
5134 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5135
5136 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 5137 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 5138
5c9cf0a3 51392012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
5140
5141 * hippie-exp.el (hippie-expand-try-functions-list):
5142 Re-autoload it. (Bug#12982)
5143
5c9cf0a3 51442012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 5145
369f945d
SM
5146 * descr-text.el (describe-char-padded-string):
5147 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 5148
5c9cf0a3 51492012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
5150
5151 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5152 and obsoletion message.
5153
5c9cf0a3 51542012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
5155
5156 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5157 the constructs to keep outside of the `cl-block' (bug#12977).
5158
5c9cf0a3 51592012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
5160
5161 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5162 keep reading until we get the up-event anyway, in order to process
5163 the up-event for mouse-1-click-follows-link (Bug#12971).
5164
848a2dd1
SM
51652012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5168 base function is not yet defined (bug#12965).
5169 (ad-activate-advised-definition): Use ad-compile-function.
5170 (ad-activate): Use cond.
5171
9ad79506
LL
51722012-11-25 Leo Liu <sdl.web@gmail.com>
5173
5174 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5175 (Bug#12979)
5176
e2cb57f5
VB
51772012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5178
5179 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5180 reftex-section-info-function in order to be compatible with
5181 Texinfo integration.
5182
5183 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
5184 (reftex-section-post-regexp, reftex-section-info-function):
5185 New variable.
5186 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5187 reftex-section-post-regexp, and reftex-section-info-function in order
5188 to be compatible with Texinfo integration.
5189
5190 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5191 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
5192 Texinfo integration.
5193
1c4f115d
CY
51942012-11-25 Chong Yidong <cyd@gnu.org>
5195
5196 * faces.el: Make face-spec-set more analogous to setq.
5197 (face-spec-set): Change the third arg to specify whether this
5198 function is being called via defface, customize, or a third party.
5199 Set the appropriate symbol properties. Clear the override spec if
5200 setting via Custom. Initialize face if necessary. (Bug#4988)
5201 (face-spec-recalc): Allow theme faces to completely replace the
5202 defface spec, in the same way as custom faces (Bug#8454).
5203
5204 * cus-face.el (custom-declare-face): Move face initialization to
5205 face-spec-set.
5206 (custom-theme-set-faces): Don't initialize the face name here, as
5207 that is now done in face-spec-set.
5208
5209 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5210 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5211 Simplify by using the new arg to face-spec-set.
5212
5213 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5214 reset face-override-spec too, and use custom-declare-face.
5215
c2350548
JD
52162012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5217
5218 * term/ns-win.el (ns-initialize-window-system): Move creation of
5219 fontsets here (Bug#11964).
5220
ecfc364c
VB
52212012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5222
5223 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5224 cell renaming.
5225
0917cc54
CY
52262012-11-24 Chong Yidong <cyd@gnu.org>
5227
433212bf
CY
5228 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5229 obsolete.
5230
0917cc54
CY
5231 * custom.el (custom-theme-set-variables): Use a topological sort
5232 for ordering by custom dependencies (Bug#12952).
5233 (custom--sort-vars, custom--sort-vars-1): New functions.
5234
d125ca15 52352012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
5236
5237 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5238 lexical-binding (bug#12938).
5239
d125ca15 52402012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
5241
5242 * image-mode.el (image-transform-check-size): Use assertions only
5243 for images of type imagemagick.
5244
5245 Otherwise no error, image-transform-fit-to-{width,height} is
5246 silently ignored, as before. Doc fix.
5247
d125ca15 52482012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
5249
5250 * faces.el (color-defined-p): Doc fix (Bug#12853).
5251
d125ca15 52522012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
5253
5254 * dired.el (dired-mark): Add optional arg `interactive'.
5255 Check for `use-region-p' if `interactive' is non-nil.
5256 (dired-unmark, dired-flag-file-deletion): Add optional arg
5257 `interactive'. Call `dired-mark' with the arg `interactive'.
5258 (Bug#10624)
5259
cc4c01bd
JL
5260 * wdired.el: Revert 2012-10-17 change partly and replace it with
5261 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5262 (wdired-finish-edit): Add marks for new file names to
5263 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5264 after `revert-buffer'.
5265 (wdired-do-renames): Remove calls to `dired-remove-file',
5266 `dired-add-file', `dired-add-entry'. (Bug#11795)
5267
d125ca15 52682012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 5269
dc310ed0
AM
5270 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5271
b03aabda
AM
5272 Fix bugs in the state cache. Enhance a debugging mechanism.
5273 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5274 "brace at column zero" strategy for C++.
5275 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5276 (c-parse-state-point): New variable.
5277 (c-record-parse-state-state): Record old parse state with
5278 `copy-tree'. Record previous value of point.
5279 (c-debug-parse-state-double-cons): New debugging function.
5280 (c-debug-parse-state): Call the above new function.
5281 (c-toggle-parse-state-debug): Output a confirmatory message.
5282
002c019c
SM
5283 * progmodes/cc-mode.el (c-before-change, c-after-change):
5284 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
5285 `c-after-change'.
5286
930a6273
CY
52872012-11-23 Chong Yidong <cyd@gnu.org>
5288
5289 * find-cmd.el (find-constituents): Add executable, ipath,
5290 readable, samefile, writable, daystart, regextype (Bug#12856).
5291
15c9d04e
SM
52922012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5295
2ecb2679
PE
52962012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5297
5298 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5299 definition. This fixes a bootstrap failure.
a14a5a40
PE
5300 (calc-gregorian-switch): In menu, put dates before regions.
5301 This is easier to follow, lines up better in the menu, and lets us
5302 coalesce regions that switch at the same time. Give country
15c9d04e
SM
5303 names, not "Vatican", as that's better for non-expert users.
5304 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
5305 Bohemia and Moravia (which existed then and now) and not
5306 Czechoslovakia (which didn't exist then and doesn't exist now).
5307 What is now the U.S. mostly did not switch at the same time as
5308 Britain, so omit the U.S. Correct spelling of "Britain".
5309 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 5310
723da6aa
JB
53112012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5312
5313 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5314 after the variable is changed.
5315
21fa2482
DC
53162012-11-21 Daniel Colascione <dancol@dancol.org>
5317
5318 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
5319 in SQL declarations for font-lock.
5320 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 5321
3ca2f1bf
GM
53222012-11-21 Glenn Morris <rgm@gnu.org>
5323
1bf335cf
GM
5324 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5325 (face-italic-p): Add optional argument "inherit".
5326
3ca2f1bf
GM
5327 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5328 Remove -p suffix from names, for consistency with other set-face-*.
5329 (set-face-inverse-video): Fix interactive spec.
5330 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5331 * textmodes/table.el (table--update-cell-face):
5332 Use set-face-inverse-video rather than now obsolete alias.
5333
6ef2e5ef 53342012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
5335
5336 * simple.el (line-move): Don't call line-move-partial if
5337 scroll-conservatively is in effect. (Bug#12927)
5338
6ef2e5ef 53392012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 5340
93b05041
SM
5341 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5342 Fallback on completion-at-point rather than
5343 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5344 (eshell-cmpl-initialize): Setup completion-at-point.
5345
5346 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5347
bc715d67
SM
5348 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5349
6ef2e5ef 53502012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
5351
5352 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5353 are remote, check out-of-band property for both.
5354
6ef2e5ef 53552012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
5356
5357 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5358 code rewrite.
5359
6ef2e5ef 53602012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 5361
535efd4a
PE
5362 More minor time fixes.
5363 * calendar/time-date.el: Commentary fix.
5364 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5365 too much other code depends on (0 0) time stamps.
5366 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5367 Add a couple of FIXME comments.
5368
0c93aa38
PE
5369 Minor cleanup for times as lists of four integers.
5370 * files.el (dir-locals-directory-cache):
5371 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5372 Doc fixes.
5373 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5374 * ps-bdf.el (bdf-file-newer-than-time):
5375 Process four-integers time stamps, not two. Doc fixes.
5376
23ba2705
SM
53772012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5378
2e31777b
SM
5379 * uniquify.el (uniquify-managed): Use defvar-local.
5380 (rename-buffer, create-file-buffer): Advise with advice-add.
5381 (uniquify-unload-function): Unadvise accordingly.
5382
8b62d742
SM
5383 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5384 (trace-buffer): Don't purecopy.
5385 (trace-entry-message, trace-exit-message): Add `context' arg.
5386 (trace--timer): New var.
5387 (trace-make-advice): Adjust for use in nadvice.
5388 Add `context' argument. Delay `display-buffer' via a timer.
5389 (trace-function-internal): Use advice-add.
5390 (trace--read-args): New function.
5391 (trace-function-foreground, trace-function-background): Use it.
5392 (trace-function): Rename to trace-function-foreground and redefine as
5393 an alias to that new name.
5394 (untrace-function, untrace-all): Adjust to the use of nadvice.
5395
5d0ccd95
SM
5396 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5397
3837d988
SM
5398 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5399
23ba2705
SM
5400 * subr.el (called-interactively-p-functions): New var.
5401 (internal--called-interactively-p--get-frame): New macro.
5402 (called-interactively-p, interactive-p): Rewrite in Lisp.
5403 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5404 (called-interactively-p-functions): Use it.
5405 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5406 (called-interactively-p-functions): Use it.
5407 * allout.el (allout-called-interactively-p): Don't assume
5408 called-interactively-p is a subr.
5409
b0636be7
GM
54102012-11-20 Glenn Morris <rgm@gnu.org>
5411
5412 * profiler.el (profiler-report-mode-map): Add a menu.
5413 No need to bind `q' because we derive from special-mode.
5414 (profiler-report-find-entry): Handle calls from the menu-bar.
5415
855b17af
SM
54162012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5417
14146222
SM
5418 * emacs-lisp/byte-run.el (defun-declarations-alist):
5419 Allow a compiler-macro to be a lambda expression.
5420
5421 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5422 eval-when-compile.
5423 (python-syntax-context): Add compiler-macro.
5424 (python-font-lock-keywords): Simplify with De Morgan.
5425
1000d895
SM
5426 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5427
ac5392dc
SM
5428 * files.el (load-file): Require match in minibuffer selection, as was
5429 the case in Emacs-20 before we changed the spec to allow .elc files
5430 (bug#12935).
5431
19dc7206
SM
5432 * json.el: Don't require cl since we don't use it.
5433 * color.el: Don't require cl.
5434 (color-complement): `caddr' -> `nth 2'.
5435
855b17af
SM
5436 * calendar/time-date.el (time-to-seconds): De-obsolete.
5437
e8909bdc
JB
54382012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5439
f4ad7ea1 5440 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
e8909bdc
JB
5441 year numbers.
5442 (math-date-to-julian-dt): Adjust the initial approximation for the
5443 year to deal with the new definition of the DATE.
5444
6e9f7997
DC
54452012-11-19 Daniel Colascione <dancol@dancol.org>
5446
855b17af
SM
5447 * term/w32-win.el (cygwin-convert-path-from-windows):
5448 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 5449
6a3dd257
CY
54502012-11-18 Chong Yidong <cyd@gnu.org>
5451
5452 * filecache.el (file-cache--read-list): New function.
5453 (file-cache-add-directory-list, file-cache-add-file-list)
5454 (file-cache-delete-file-list, file-cache-delete-directory-list):
5455 Use it to read a list of files or directories (Bug#12846).
5456 (file-cache-add-file, file-cache-add-directory)
5457 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5458 (file-cache-delete-directory): Print an message.
5459
eef97f35
JB
54602012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5461
5462 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5463 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5464
913c8291
GM
54652012-11-18 Glenn Morris <rgm@gnu.org>
5466
5467 * image.el (insert-image, insert-sliced-image): Doc fix.
5468
2ac9538d 54692012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
5470
5471 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5472 (Bug#12810).
5473
2ac9538d 54742012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
5475
5476 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5477 response when the target file is in a subdirectory (Bug#12757).
5478
2ac9538d 54792012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
5480
5481 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5482
2ac9538d 54832012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 5484
9a5e2ee3
GM
5485 * emacs-lisp/cl-lib.el (face-underline-p):
5486 Use set-face-underline rather than the alias set-face-underline-p.
5487
65463c40 5488 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
5489 * subr.el (with-output-to-temp-buffer):
5490 Add doc xref to with-temp-buffer-window.
65463c40 5491
c9ed8e3d
JB
54922012-11-18 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5495 * calc/calc.el (math-format-date-cache): Declare.
5496
310e60d9
PE
54972012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5498
6f6b82d6
PE
5499 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5500 It also uses January 1, 1 AD as its day number 1.
310e60d9 5501 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 5502 (math-julian-date-beginning-int): Implement this.
310e60d9 5503
d7fe6352
JB
55042012-11-17 Juanma Barranquero <lekktu@gmail.com>
5505
5506 * descr-text.el (quail-find-key):
5507 * dired.el (desktop-file-name):
5508 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5509 * generic-x.el (comint-mode, comint-exec):
5510 * image-dired.el (widget-forward):
5511 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5512 (speedbar-change-expand-button-char)
5513 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5514 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5515 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5516 (widget-field-action, widget-value-set):
5517 * speedbar.el (imenu--make-index-alist):
5518 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5519 (ring-length, ring-insert):
5520 * vcursor.el (compare-windows-skip-whitespace):
5521 * woman.el (dired-get-filename):
5522 Declare functions.
5523
5524 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5525
c9f618db
JB
55262012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5527
5528 * calc/calc.el (calc-gregorian-switch): New variable.
5529
5530 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5531 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5532 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5533 (math-leap-year-p): Add option to distinguish between Julian
5534 and Gregorian calendars.
5535 (math-day-number): Use `math-day-in-year' to do the computations.
5536 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5537 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5538 to do the computations.
5539 (math-date-to-dt): Use `math-date-to-julian-dt' and
5540 `math-date-to-gregorian-dt' to do the computations.
5541 (calcFunc-weekday, math-format-date-part): Use the new version of
5542 the DATE to determine the weekday.
5543 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5544 when necessary.
5545
3804f7bc
EZ
55462012-11-17 Eli Zaretskii <eliz@gnu.org>
5547
5548 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5549 Cygwin; otherwise use 'file:'. (Bug#12914)
5550 (cygwin-convert-path-from-windows): Declare, to avoid
5551 byte-compiler warnings.
5552
de959d4d
AP
55532012-11-17 Andreas Politz <politza@fh-trier.de>
5554
5555 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5556 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5557 prefix and negative numeric prefix args (Bug#12795).
5558
e45deaef
SB
55592012-11-17 Stephen Berman <stephen.berman@gmx.net>
5560
5561 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5562 Don't signal an error with a score that is too low to add to the
5563 list of top scores. (Bug#12779)
5564
ec15e0ff
CY
55652012-11-17 Chong Yidong <cyd@gnu.org>
5566
8e7696a1
CY
5567 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5568
ec15e0ff
CY
5569 * filecache.el (file-cache-add-file): Handle relative file name in
5570 the argument (Bug#12694).
5571
60c4ee66
JH
55722012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5573
5574 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5575
cdc5d88c
SM
55762012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5577
dd0c5bbb
SM
5578 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5579
cdc5d88c
SM
5580 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5581
0ff7851c
MR
55822012-11-16 Martin Rudalics <rudalics@gmx.at>
5583
5584 * window.el (enlarge-window, shrink-window): Don't mention return
5585 value in doc-string (Bug#12896).
5586 (window--display-buffer): Don't resize frames - it won't work
5587 with all window managers and defeat pop-up-frame-alist.
5588 (display-buffer-alist): In doc-string explain that CONDITION can
5589 be a function and which arguments are passed to it (Bug#12854).
5590 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5591 expressions (Bug#12854).
5592 (display-buffer): Pass ACTION argument to
5593 display-buffer-assq-regexp.
5594
dedd1884
GM
55952012-11-16 Glenn Morris <rgm@gnu.org>
5596
7c82753d
GM
5597 * window.el (fit-frame-to-buffer-bottom-margin)
5598 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5599
dedd1884
GM
5600 * faces.el (face-underline-p): Use face-attribute-specified-or.
5601
96e05507 56022012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
5603
5604 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5605
96e05507 56062012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
5607
5608 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5609
96e05507 56102012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 5611
17c083ac
GM
5612 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5613 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5614
bde3c6c0
GM
5615 * faces.el (face-underline-p): Doc fix. Handle :underline being
5616 things other than `t' (a string, a list).
5617 (face-inverse-video-p): Doc fix.
5618 (set-face-underline): Rename it back from set-face-underline-p.
5619 Doc fix. Allow interactive input of values other than t.
5620 (read-face-attribute): Apply formatting to :underline,
5621 since like :box and :stipple it can take list values.
5622
e2e13f18
GM
5623 * term.el (ansi-term): Don't let C-x escape-char binding
5624 clobber the more standard C-c binding. (Bug#12842)
5625
e0ea8060
GM
5626 * subr.el (set-temporary-overlay-map): Doc fix.
5627
96e05507 56282012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
5629
5630 * window.el (record-window-buffer)
5631 (display-buffer-record-window): When copying the markers to
5632 window-point preserve window-point-insertion-type. (Bug#12588)
5633
96e05507 56342012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
5635
5636 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5637 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5638 Use new names for hooks rather than obsolete aliases.
5639
faeafc01
DC
56402012-11-15 Daniel Colascione <dancol@dancol.org>
5641
5642 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
5643 prefix instead of "file:" so that when FILE-NAME begins with "//",
5644 as it does when the target file is on a network share, url-handler
5645 isn't confused.
5646
1232d6c2
SM
56472012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5650 a preactivated advice from an old advice.el; they're not compatible!
5651
47f01a8a
KY
56522012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5653
5654 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5655 Fix string-spec case.
5656
5657 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5658
a61428c4
SM
56592012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5662 (advice--buffer-local-function-sample): New var.
5663 (advice--set-buffer-local, advice--buffer-local): New functions.
5664 (add-function, remove-function): Use them.
5665
875ce3a7
DA
56662012-11-15 Drew Adams <drew.adams@oracle.com>
5667
5668 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5669
589fc479
SM
56702012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5673 potential binding of print-gensym to t, and prettify (back)quotes in
5674 case they appear in args's default values (bug#12884).
5675
1668ea90
SM
56762012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5679 (advice-eval-interactive-spec): New function.
5680 (advice--make-interactive-form): Support around advice (bug#12844).
5681
8619323f
DG
56822012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5683
5684 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5685 more strict. Add docstring.
c62792e7
DG
5686 (ruby-expression-expansion-re): Extract from
5687 `ruby-match-expression-expansion'.
5688 (ruby-syntax-propertize-function): After everything else, search
5689 for expansions in string literals, mark their insides as
5690 whitespace syntax and save match data for font-lock.
5691 (ruby-font-lock-keywords): Use the 2nd group from expression
5692 expansion matches.
5693 (ruby-match-expression-expansion): Use the match data saved to the
5694 text property in ruby-syntax-propertize-function.
8619323f 5695
9c3912d3
SM
56962012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5699 (bug#12879).
5700
5e9419e8
DG
57012012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5702
5703 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5704 start/end keyword a bit harder. Works with different values of N.
5705 Add more comments.
5706 (ruby-end-of-block): Update accordingly.
5707
3c442f8b
SM
57082012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5709
fa470af0
SM
5710 * woman.el (woman-file-name): Don't mess with unread-command-events
5711 (bug#12861).
5712
3c442f8b
SM
5713 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5714 Remove out of date self-require hack.
5715 (ad-do-advised-functions): Use simple `dolist'.
5716 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5717 (ad-advice-definition): Redefine as functions.
5718 (ad-advice-classes): Move before first use.
5719 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 5720 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 5721 (ad--defalias-fset): Remove functions.
fa470af0 5722 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
5723 (ad-get-orig-definition): Rewrite.
5724 (ad-make-advised-definition-docstring): Change base docstring.
5725 (ad-real-orig-definition): Rewrite.
5726 (ad-map-arglists): Change name of called function.
5727 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5728 (ad-make-advised-definition): Simplify.
5729 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 5730 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
5731 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5732 function and call ad-activate if needed.
5733 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5734 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5735 (ad-compile-function): Compile ad-Advice-*.
5736 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5737 (ad-start-advice, ad-stop-advice): Remove.
5738
5745cae6
DG
57392012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5740
5741 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5742 period before class method names, not after. Remove handling of
5743 one impossible case. Add comments.
5744
413d4689
SM
57452012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5746
7db1bda8
SM
5747 * emacs-lisp/advice.el: Remove support for freezing.
5748 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5749 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5750 Remove support for `freeze'.
5751
413d4689
SM
5752 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5753 override the default.
5754 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5755 cl--dotimes/dolist.
5756 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5757 `cl' is loaded.
5758
5759 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5760 from add-advice.
5761 (advice--strip-macro): New function.
5762 (advice--defalias-fset): Use them to handle macros.
5763 (advice-add): Use them.
5764 (advice-member-p): Correctly handle macros.
5765
f178c32d
DG
57662012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5767
7db1bda8
SM
5768 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5769 Never font-lock the beginning of singleton class as heredoc.
f178c32d 5770
f78ee6af 57712012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
5772
5773 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5774
f78ee6af 57752012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
5776
5777 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
5778 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5779 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 5780
f78ee6af 57812012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
5782
5783 Fix end-of-defun misbehavior.
5784 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5785 python-beginning-of-defun-function. Handle nested defuns
5786 correctly.
5787 (python-nav-end-of-defun): Rename from
5788 python-end-of-defun-function. Ensure forward movement.
f8705f6e 5789 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
5790 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5791 parent defuns as soon as possible.
5792
f78ee6af 57932012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
5794
5795 * progmodes/flymake.el (flymake-error-bitmap)
5796 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5797 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5798
f78ee6af 57992012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
5800
5801 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5802 backward, always stop at indentation. Reverts the change from
5803 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5804
f78ee6af 58052012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 5806
a1d3e07e
GM
5807 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5808 Add ibuffer-filter-by-derived-mode.
5809
84acf328
GM
5810 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5811 the same name shadowing each other.
5812
38785e75
GM
5813 * window.el (with-temp-buffer-window): Doc tweak.
5814
57fc0fee
GM
5815 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5816
6ba6a3e5
GM
5817 * help.el (temp-buffer-max-height):
5818 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
5819 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5820
231d8498
SM
58212012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * emacs-lisp/nadvice.el: New package.
5824 * subr.el (special-form-p): New function.
5825 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5826 (elp-all-instrumented-list): Remove var.
5827 (elp-not-profilable): Remove elp-wrapper.
5828 (elp-profilable-p): Use autoloadp and special-form-p.
5829 (elp--advice-name): New const.
5830 (elp-instrument-function): Use advice-add.
5831 (elp--instrumented-p): New predicate.
5832 (elp-restore-function): Use advice-remove.
5833 (elp-restore-all, elp-reset-all): Use mapatoms.
5834 (elp-set-master): Use elp--instrumented-p.
5835 (elp--make-wrapper): Rename from elp-wrapper, return a function
5836 suitable for advice-add. Use cl-inf.
5837 (elp-results): Use mapatoms+elp--instrumented-p.
5838 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5839 (debug-function-list): Remove var.
5840 (debug): Rename arg, and then let-bind it explicitly inside.
5841 (debugger-setup-buffer): Rename arg.
5842 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5843 (debugger-frame-number): Adjust to new debug-on-entry setup.
5844 (debug--implement-debug-on-entry): Rename from
5845 implement-debug-on-entry, add argument.
5846 (debugger-special-form-p): Remove, use special-form-p instead.
5847 (debug-on-entry): Use advice-add.
5848 (debug--function-list): New function.
5849 (cancel-debug-on-entry): Use it, along with advice-remove.
5850 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5851 (debugger-list-functions): Use debug--function-list instead of
5852 debug-function-list.
5853 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5854 (ad-special-form-p): Remove, use special-form-p instead.
5855 (ad-set-advice-info): Use add-function and remove-function.
5856 (ad--defalias-fset): Adjust accordingly.
5857
19e09879
GM
58582012-11-10 Glenn Morris <rgm@gnu.org>
5859
714cebd1
GM
5860 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5861 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5862 (report-emacs-bug-create-existing-bugs-buffer)
5863 (report-emacs-bug-parse-query-results)
5864 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5865
bf67dafa
GM
5866 * term.el (term-default-fg-color, term-default-bg-color):
5867 Make obsolete, rather than just saying "deprecated" in the doc.
5868
19e09879
GM
5869 * term.el (term): Rename from `term-face'.
5870 (term-current-face, ansi-term-color-vector)
5871 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5872 Update all users.
5873
6baf66d5 58742012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
5875
5876 * server.el (server-create-window-system-frame): Handle Nextstep
5877 specially (Bug#12780).
5878
6baf66d5 58792012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
5880
5881 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5882 Unautoload, and make obsolete. (Bug#7449)
5883
6baf66d5 58842012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
5885
5886 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5887 rename from diff-remove-trailing-whitespace (Bug#12831).
5888
6baf66d5 58892012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
5890
5891 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5892 miscompilation of trace.el.
5893
6baf66d5 58942012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
5895
5896 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5897
6baf66d5 58982012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
5899
5900 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5901 (bug#12812).
5902
6baf66d5 59032012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
5904
5905 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5906 a defcustom with an appropriate :set function.
5907 (minibuffer-default--in-prompt-regexps): New function.
5908
6baf66d5 59092012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 5910
031b2ea7
GM
5911 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5912 (define-modify-macro): Doc fixes.
5913
2ee1d59f
GM
5914 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5915 (gv-define-simple-setter): Update doc of `fix-return'.
5916
6baf66d5 59172012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 5918
b715ed44
SM
5919 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5920 twice when `fix-return' is set (bug#12813).
5921
d57c286e
SM
5922 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5923 gv-define-simple-setter (bug#12812).
5924
c9cac599
SM
5925 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5926 (bug#12756).
5927
6baf66d5 59282012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
5929
5930 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5931
5593ed90
GM
5932 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5933 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5934 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5935 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5936
5937 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5938
05a859c1
LL
59392012-11-10 Leo Liu <sdl.web@gmail.com>
5940
5941 * ido.el (ido-set-matches-1): Improve flex matching performance by
5942 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5943
32e5c58c
SM
59442012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5947 (ad--defalias-fset): New function.
5948 (ad-safe-fset): Remove.
5949 (ad-make-freeze-definition): Use cl-letf*.
5950
f5925cd9
SM
59512012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5952
da03ef8a
SM
5953 * subr.el (dolist): Don't bind VAR in RESULT.
5954
6858633a
SM
5955 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5956 (fset, documentation): Don't save real def since we don't advise.
5957 (ad-do-advised-functions): Remove problematic `result-form'.
5958 (ad-safe-fset): `ad-real-fset' => `fset'.
5959 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5960 uses CL's dolist internally.
5961 (ad-arglist): Remove unused arg `name'.
5962 (ad-docstring, ad-make-advised-docstring):
5963 `ad-real-documentation' => `documentation'.
5964 (warning-suppress-types): Declare.
5965 (ad-set-arguments): Simple CSE.
5966 (ad-recover-normality): Sanity check.
5967
f5925cd9
SM
5968 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5969 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5970
93a66b3a
VB
59712012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5972
5973 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
5974 `ses-cell'. This means that the same mapping is done for all SES
5975 sheets. That is good enough for cells with standard A1 names, but
5976 not for named cell. So a hash map is added for the latter.
5977 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
5978 (ses-sym-rowcol): Use hashmap for named cell.
5979 (ses-is-cell-sym-p): New defun.
5980 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
5981 (ses-create-cell-variable): Add cell to hashmap when name is not
5982 A1-like.
93a66b3a
VB
5983 (ses-rename-cell): Check that cell new name is not already in
5984 spreadsheet with the use of ses-is-cell-sym-p
5985 (ses-rename-cell): Use hash map for named cells, but accept also
5986 renaming back to A1-like.
5987
67dd8ad1
SM
59882012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5989
57618ecf
SM
5990 * emacs-lisp/advice.el: Use new dynamic docstrings.
5991 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5992 Use dynamic-docstring-function instead of ad-advice-info.
5993 (ad--make-advised-docstring): New function extracted from
5994 ad-make-advised-docstring.
5995 (ad-make-advised-docstring): Use it.
5996 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5997 from sql-help.
5998 (sql-help): Use it with dynamic-docstring-function.
5999
67dd8ad1
SM
6000 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6001
be883b34
SM
60022012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6003
d41706aa
SM
6004 * files.el (hack-one-local-variable--obsolete): New function.
6005 (hack-one-local-variable): Use it for obsolete settings.
6006
85e55412
SM
6007 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6008 the new name.
6009
be883b34
SM
6010 * progmodes/js.el (js--filling-paragraph): New var.
6011 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6012 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6013 less sneaky.
6014
cabc040a
JD
60152012-11-08 Julien Danjou <julien@danjou.info>
6016
6017 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6018 `auto-mode-alist' (Bug#12835).
6019
d14bb752
SM
60202012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6021
79b3e376
SM
6022 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6023 (perl--prettify-symbols-alist): New const.
6024 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6025 New functions.
6026 (perl-font-lock-keywords-2): Use them.
6027 (perl-electric-noindent-p): New function.
6028 (perl-mode): Use it to set up electric-indent-mode.
6029 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6030 (perl-mode-map): Remove bindings for them.
6031 (perl-imenu-generic-expression, perl-outline-level):
6032 Match functions&packages in column>0.
6033
3b11e6ac
SM
6034 * env.el (env--substitute-vars-regexp): New const.
6035 (substitute-env-vars): Use it. Add `only-defined' arg.
6036 * net/tramp.el (tramp-replace-environment-variables): Use it.
6037
784c1a7b
SM
6038 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6039 Byte-compile *before* eval in eval-and-compile.
6040 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6041 (byte-compile-file-form-autoload): Don't hide actual definition.
6042 (byte-compile-maybe-guarded): Accept `functionp' as well.
6043
d14bb752
SM
6044 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6045
499a0f7a
MA
60462012-11-07 Michael Albinus <michael.albinus@gmx.de>
6047
6048 * notifications.el (notifications-get-server-information-method):
6049 New defconst.
6050 (notifications-get-capabilities): Fix docstring.
6051 (notifications-get-server-information): New defun.
6052
f0704a9a
AM
60532012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6054
6055 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6056 readability.
6057
b159a1fd
AM
6058 * textmodes/ispell.el: Experimental support for support debugging.
6059 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6060 buffer for ispell.
6061 (ispell-print-if-debug): New function to print stuff to
6062 `ispell-debug-buffer' if debugging is enabled.
6063 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6064 show some debugging info.
6065 (ispell-buffer-with-debug): New function that creates a debugging
6066 buffer and calls `ispell-buffer' with debugging enabled.
6067
056cb3a1
AM
6068 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6069 comment in autoconf mode. (Bug#12768)
6070
8e6a67b7
DA
60712012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6072
6073 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6074 frame-first-window, frame-root-window, frame-selected-window,
6075 minibuffer-selected-window, minibuffer-window,
6076 window-absolute-pixel-edges, window-at, window-body-height,
6077 window-body-width, window-display-table, window-combination-limit,
6078 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6079 window-inside-edges, window-inside-pixel-edges, window-left-child,
6080 window-left-column, window-margins, window-next-buffers,
6081 window-next-sibling, window-new-normal, window-new-total,
6082 window-normal-size, window-parameter, window-parameters, window-parent,
6083 window-pixel-edges, window-point, window-prev-buffers,
6084 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6085 window-start, window-text-height, window-top-child, window-top-line,
6086 window-total-height, window-total-width and window-use-time to the list
6087 of functions without side-effects.
6088 (toplevel): Add window-valid-p to the list of error-free functions
6089 without side-effects.
6090
53fc914f
AM
60912012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6092
f5925cd9
SM
6093 * textmodes/ispell.el (ispell-program-name):
6094 Update spellchecker parameters when customized.
53fc914f 6095
9749e2b0
GM
60962012-11-04 Glenn Morris <rgm@gnu.org>
6097
6098 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6099
2cbafa56
CY
61002012-11-04 Chong Yidong <cyd@gnu.org>
6101
6102 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6103 same-window-* variables.
6104
85178ca1
JL
61052012-11-04 Juri Linkov <juri@jurta.org>
6106
6107 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6108 (isearch-describe-key, isearch-describe-mode): Use a display
6109 action instead of binding same-window-* variables (Bug#10040).
6110
5c677d44
GM
61112012-11-03 Glenn Morris <rgm@gnu.org>
6112
49138400
GM
6113 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6114 Rename handler properties back from cl-- to cl-. (Bug#12788)
6115
5c677d44
GM
6116 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6117
1d4341f9
EZ
61182012-11-03 Eli Zaretskii <eliz@gnu.org>
6119
6120 * term/pc-win.el: Don't load term/internal from here.
6121
6122 * loadup.el: Load term/internal from here.
6123
12fd5ee1
FEG
61242012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6125
6126 * progmodes/python.el (inferior-python-mode): Fix hang in
6127 jit-lock (Bug#12645).
6128
43bcfda6
MR
61292012-11-03 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (switch-to-visible-buffer)
6132 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6133
376a8e83
GM
61342012-11-03 Glenn Morris <rgm@gnu.org>
6135
6136 * emacs-lisp/cl-lib.el (cl--random-time):
6137 Rename from cl-random-time. (Bug#12773)
6138 (cl--gensym-counter, cl--random-state): Update callers.
6139 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6140
0f7b074f
CY
61412012-11-03 Chong Yidong <cyd@gnu.org>
6142
6143 * cus-start.el: Make cursor-type customizable (Bug#11633).
6144
3a6851d9
GM
61452012-11-02 Glenn Morris <rgm@gnu.org>
6146
00a3b041
GM
6147 * filecache.el: No need to load find-lisp when compiling.
6148 (find-lisp-find-files): Autoload it.
6149 (file-cache-add-directory-recursively): Don't require find-lisp.
6150
11fef14a
GM
6151 * image.el (image-type-from-file-name): Trivial simplification.
6152
3a6851d9
GM
6153 * emacs-lisp/bytecomp.el (byte-compile-eval):
6154 Decouple "noruntime" and "cl-functions" warnings.
6155
b4b096e4
SB
61562012-11-01 Stephen Berman <stephen.berman@gmx.net>
6157
6158 * play/gomoku.el (gomoku-display-statistics): Update mode line
6159 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6160
218e997a
MR
61612012-10-31 Martin Rudalics <rudalics@gmx.at>
6162
6163 * window.el (quit-restore-window): If the window has been
6164 created on an existing frame and ended up as the sole window on
6165 that frame, do not delete it (Bug#12764).
6166
b08b6da7
SM
61672012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6168
3618df45
SM
6169 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6170 Rename from sh--inside-arithmetic-expression, handle more cases
6171 (bug#11263).
6172
b08b6da7
SM
6173 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6174 (sh-font-lock-open-heredoc): Use it (bug#12770).
6175
4ddedf94
GM
61762012-10-30 Glenn Morris <rgm@gnu.org>
6177
f43a5263
GM
6178 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6179
4ddedf94
GM
6180 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6181
748b0d84
CY
61822012-10-29 Chong Yidong <cyd@gnu.org>
6183
b5dd9a77
CY
6184 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6185 function key is stored in a keyboard macro (Bug#4894).
6186
748b0d84
CY
6187 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6188
e07fcbdc
SM
61892012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6190
d7f9cc85
SM
6191 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6192 header comments".
6193 (diff-unified->context, diff-context->unified)
6194 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6195
c606253c
SM
6196 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6197
e07fcbdc
SM
6198 * files.el (find-alternate-file): Only ask one question (bug#12487).
6199
894b9dd9
CY
62002012-10-29 Chong Yidong <cyd@gnu.org>
6201
1dc2755a
CY
6202 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6203 Suggested by Dan Nicolaescu (Bug#6326).
6204
329c48d8
CY
6205 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6206
2230fa5b 6207 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 6208
e84cad57
CY
6209 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6210
1913c5f5
CY
6211 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6212
894b9dd9
CY
6213 * face-remap.el (face-remap-add-relative): Handle the case where a
6214 face-remapping-alist entry is a cons cell (Bug#12762).
6215
329c48d8
CY
62162012-10-29 Kevin Ryde <user42@zip.com.au>
6217
6218 * woman.el (woman-parse-numeric-value): Handle picas correctly
6219 (Bug#12639).
6220
a0ccbcbd
GM
62212012-10-29 Glenn Morris <rgm@gnu.org>
6222
6223 * emacs-lisp/cl.el (defsetf): Doc fix.
6224
b3871e59
SM
62252012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6228 syntax to the matching opener, if any (bug#12547).
6229 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6230 matching open as a "case-(".
6231 (sh-smie-rc-grammar): Add a corresponding rule for it.
6232
cd44022c
DH
62332012-10-28 Daniel Hackney <dan@haxney.org>
6234
6235 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6236 "PKGNAME-autoloads.el" in case we created it.
6237
70edffb1
SM
62382012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6239
86957a0c
SM
6240 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6241 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 6242 (completion--twq-all): Disable too-strict assertions.
86957a0c 6243
70edffb1
SM
6244 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6245
d069271c
EZ
62462012-10-27 Eli Zaretskii <eliz@gnu.org>
6247
6248 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6249 text to match the real keybindings.
6250
e2f022a3
JL
62512012-10-27 Juri Linkov <juri@jurta.org>
6252
6253 * wdired.el (wdired-keep-marker-rename): New defcustom.
6254 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6255 (Bug#11795)
6256
6257 * dired.el (dired-keep-marker-rename): Add reference to
6258 `wdired-keep-marker-rename' in the docstring.
6259 Add default character value ?R to display initially in
6260 Customization UI instead of ?@.
6261
df171c23
MR
62622012-10-27 Martin Rudalics <rudalics@gmx.at>
6263
6264 * window.el (display-buffer): In doc-string describe
6265 window-height and window-width alist entries.
6266
6267 * time.el (display-time-world): Restore fit-window-to-buffer
6268 behavior.
6269
05b621a6
CY
62702012-10-27 Chong Yidong <cyd@gnu.org>
6271
6272 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6273
55f197b2
J
62742012-10-26 Jambunathan K <kjambunathan@gmail.com>
6275
6276 * minibuffer.el (completion-category-overrides): New completion
6277 category `bookmark' (bug#11131).
6278
372212df
SM
62792012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6280
150f809c
SM
6281 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6282 Silence bogus compiler warnings for ad-do-it.
6283
372212df
SM
6284 * bookmark.el (bookmark-completing-read): Set the completion category
6285 to `bookmark' (bug#11131).
6286
c5772569
B
62872012-10-26 Bastien <bzg@altern.org>
6288 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * face-remap.el: Use lexical-binding.
6291 (text-scale-adjust): Improve docstring. Use itself for the temporary
6292 overlay-map bindings, so as to repeat the "Use..." message each time.
6293
a2be0357
SM
62942012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6295
63314e57
SM
6296 * emacs-lisp/macroexp.el (macroexp--expand-all):
6297 Obey byte-compile-warning-enabled-p (bug#12486).
6298
a2be0357
SM
6299 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6300 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6301
8c7727c3
MR
63022012-10-26 Martin Rudalics <rudalics@gmx.at>
6303
6304 * mouse.el (mouse-drag-line): Move last form into preceding when
6305 clause (Bug#12731).
6306
6307 * help.el (resize-temp-buffer-window): Fix doc-string.
6308
3f2a848d
DE
63092012-10-25 David Engster <deng@randomsample.de>
6310
6311 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 6312 Remove. This feature is already integrated in imenu.
3f2a848d
DE
6313
6314 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6315 always loaded. Require `speedbar' unconditionally.
6316
a7723be6
SM
63172012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6318
aaabfc8b
SM
6319 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6320
414a8595
SM
6321 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6322
fb5b9475
SM
6323 * net/ldap.el (ldap-search-internal): The official ldif format starts
6324 with a "version: 1" header (bug#12724).
6325
a7723be6
SM
6326 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6327 (bug#12721).
6328
a05cb6e3
GM
63292012-10-25 Glenn Morris <rgm@gnu.org>
6330
6331 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6332
3c92de70
SM
63332012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * minibuffer.el (minibuffer-force-complete): Use one more marker
6336 for the temporary-overlay-map command (bug#12619).
6337
a4b6d7c6
CY
63382012-10-24 Chong Yidong <cyd@gnu.org>
6339
6340 * time.el (display-time-world-mode): Derive from special-mode.
6341 (display-time-world): Use display-buffer (Bug#12708).
6342 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
6343 (display-time-world-display): Wrap the final delete-char inside
6344 inhibit-read-only.
a4b6d7c6 6345
75e8f9d2
CY
63462012-10-24 Chong Yidong <cyd@gnu.org>
6347
cd996018
CY
6348 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6349 Doc fix.
6350
75e8f9d2
CY
6351 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6352
d92df117
SM
63532012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * minibuffer.el (completion--all-sorted-completions-location): New var.
6356 (completion--cache-all-sorted-completions)
6357 (completion--flush-all-sorted-completions): Use it.
6358 (completion-in-region, completion-in-region--postch)
6359 (completion-at-point, completion-help-at-point): Use markers in
6360 completion-in-region--data (bug#12619).
6361
9c3e39f3
SM
63622012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6363
c79825bd
SM
6364 * progmodes/compile.el (compilation-start): Try to handle common
6365 quoting of `cd' argument (bug#12640).
6366
9c3e39f3
SM
6367 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6368 (bug#12671).
6369
a6709bc7
GM
63702012-10-23 Glenn Morris <rgm@gnu.org>
6371
6372 * progmodes/gud.el (gud-menu-map):
6373 Check gdb-active-process is bound. (Bug#12358)
6374
d1069532
SM
63752012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6376
d20d69c0
SM
6377 * repeat.el (repeat): Set real-this-command (bug#12232).
6378
d1069532
SM
6379 * htmlfontify.el (hfy-post-html-hook):
6380 * filesets.el (filesets-cache-fill-content-hook):
6381 * arc-mode.el (archive-extract-hook):
6382 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6383 * net/rcirc.el (rcirc-sentinel-functions)
6384 (rcirc-receive-message-functions, rcirc-activity-functions)
6385 (rcirc-print-functions):
6386 * net/dbus.el (dbus-event-error-functions):
6387 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6388 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6389 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6390 * term/sun.el (sun-raw-prefix-hooks):
6391 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6392
f7eac6d8
MA
63932012-10-23 Michael Albinus <michael.albinus@gmx.de>
6394
d1069532
SM
6395 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6396 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
6397 (tramp-smb-wait-for-output): Add timeout to
6398 `tramp-accept-process-output' calls.
6399
608d9d7c
CY
64002012-10-23 Chong Yidong <cyd@gnu.org>
6401
49238e7f
CY
6402 * faces.el (font-list-limit): Define as an obsolete variable.
6403
6404 * startup.el (command-line):
6405 * cus-start.el: Don't refer to font-list-limit.
6406
608d9d7c
CY
6407 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6408
4ff5b1b2
SM
64092012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * subr.el (internal-temp-output-buffer-show): Rename from
6412 temp-output-buffer-show, since previously compiled files expect this name.
6413
ea1d4aac
GM
64142012-10-23 Glenn Morris <rgm@gnu.org>
6415
6416 * image.el (image-type-from-file-name): If multiple types match,
6417 return the first one that is supported. (Bug#9045)
6418
eda82a31
GM
64192012-10-22 Glenn Morris <rgm@gnu.org>
6420
6421 * image.el (imagemagick-enabled-types): Doc fix.
6422
4f020bec
TA
64232012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6424
6425 * progmodes/which-func.el (which-func-current): The hash-table may have
6426 an explicit nil (bug#12338).
6427
c77d37e2
SM
64282012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * electric.el (electric-pair-delete-selection-self-insert-function):
6431 Rename to electric-pair-will-use-region, return a boolean.
6432 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6433
6434 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6435 (delete-selection-pre-hook): Use use-region-p.
6436 (delete-selection-self-insert-function): Remove.
6437 (self-insert-command): Obey self-insert-uses-region-functions.
6438 (self-insert-iso): Revert to previous setting, since we don't actually
6439 know what that command does.
6440 (delete-selection-self-insert-hooks): Remove.
6441
b1d39ccc
SL
64422012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6443
6444 * delsel.el (delete-selection-helper): New function, extracted from
6445 delete-selection-pre-hook.
6446 (delete-selection-pre-hook): Use it.
6447 (delete-selection-self-insert-function): New function.
6448 (delete-selection-self-insert-hooks): New hook.
6449 (self-insert-command, self-insert-iso): Use it.
6450 * electric.el (electric-pair-syntax): New function, extracted from
6451 electric-pair-post-self-insert-function.
6452 (electric-pair-post-self-insert-function): Use it.
6453 (electric-pair-delete-selection-self-insert-function): New function.
6454 (electric-pair-mode): Require delsel and setup
6455 delete-selection-self-insert-hooks (bug#11520).
6456
045ef729
CY
64572012-10-20 Chong Yidong <cyd@gnu.org>
6458
4c5d08a8
CY
6459 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6460 no changes to show (Bug#12586).
6461
045ef729
CY
6462 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6463 list explicitly (Bug#12571).
6464
3503c798 64652012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 6466
b1d39ccc
SL
6467 * progmodes/flymake.el (flymake-create-temp-inplace):
6468 Use file-truename.
79e1997a 6469
2068905b
EZ
64702012-10-20 Eli Zaretskii <eliz@gnu.org>
6471
6472 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6473
4c9e9550
JB
64742012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6475
6476 * calc/calc-units.el (math-extract-units): Properly extract powers
6477 of units.
6478
1a6e7e38
DC
64792012-10-20 Daniel Colascione <dancol@dancol.org>
6480
6481 * frame.el (make-frame): Set x-display-name as we used to in order
6482 to unbreak creating an X11 frame from an Emacs daemon started
6483 without a display.
6484
8e808318
SM
64852012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 6488 the same completion-field (bug#12221).
8e808318 6489
fb0104da
MR
64902012-10-19 Martin Rudalics <rudalics@gmx.at>
6491
6492 * emacs-lisp/debug.el (debug): Record height of debugger window
6493 also when debugger will be back (Bug#8789).
6494
8c27235e
CY
64952012-10-18 Chong Yidong <cyd@gnu.org>
6496
6497 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6498 Convert to defcustom.
6499 (gdb-get-source-file): Don't bind pop-up-windows.
6500
6501 * progmodes/gud.el (gud-display-line): Don't specially re-use
6502 other frames for the gdb-mi case (Bug#12648).
6503
90eacf99
SM
65042012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6505
aaf0c300
SM
6506 * emacs-lisp/advice.el: Clean up commentary a bit.
6507 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6508 (byte-code-function-p): Never redefine.
6509
90eacf99
SM
6510 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6511
281c9d2b
GM
65122012-10-18 Glenn Morris <rgm@gnu.org>
6513
40714e3d
GM
6514 * dired.el (dired-sort-toggle): Some ls implementations only allow
6515 a single option string. (Bug#12666)
6516
281c9d2b
GM
6517 * minibuffer.el (completion-cycle-threshold): Doc fix.
6518
b278604e
KH
65192012-10-17 Kenichi Handa <handa@gnu.org>
6520
90eacf99
SM
6521 * international/mule.el (set-keyboard-coding-system):
6522 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
6523 Supply TERMINAL arg to set-input-meta-mode.
6524
f4ad7ea1 65252012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
6526
6527 * wdired.el (wdired-old-marks): New variable.
6528 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6529 (wdired-do-renames): Move point with renamed file and don't lose
6530 mark status (Bug#11795).
6531
e5a94ec4
JL
65322012-10-16 Juri Linkov <juri@jurta.org>
6533
6534 * replace.el (query-replace-help): Mention multi-buffer replacement
6535 keys in the Help message. (Bug#12655)
6536
d18a0d24
CY
65372012-10-15 Chong Yidong <cyd@gnu.org>
6538
6539 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6540
8111f5e6
EZ
65412012-10-14 Eli Zaretskii <eliz@gnu.org>
6542
7b9abf24
EZ
6543 * window.el (display-buffer): Doc fix.
6544
8111f5e6
EZ
6545 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6546 Adjust the msft regexp to the output of Studio 2010, and move msft
6547 before edg-1. See the discussion on emacs-devel,
6548 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6549 for the details.
6550
5046ef67
SM
65512012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6552
9760c73c
SM
6553 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6554 (oset): Move uses of object-class-fast macro after its definition.
6555
5046ef67
SM
6556 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6557
0d11ff1c
CY
65582012-10-13 Chong Yidong <cyd@gnu.org>
6559
6560 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6561 enabled, re-enable it (Bug#11963).
6562
88ded8ac
MR
65632012-10-13 Martin Rudalics <rudalics@gmx.at>
6564
6565 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6566 non-nil, restore window configuration (Bug#12623).
6567
bd0ffffd
SM
65682012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6569
06485aa8
SM
6570 * help-fns.el (describe-variable, describe-function-1):
6571 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6572
bd0ffffd
SM
6573 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6574
3a989246
GM
65752012-10-12 Glenn Morris <rgm@gnu.org>
6576
6577 * mail/rmailsum.el (rmail-header-summary):
6578 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6579
55cd00c8
FEG
65802012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6581
bd0ffffd
SM
6582 * progmodes/python.el (python-mode-map):
6583 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
6584 (python-nav--up-list): Fix behavior for blocks on the same level.
6585
ac9fc2c7
SM
65862012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6587
d8cc4c00 6588 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 6589
5253a5fd
SM
6590 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6591 changes to the format of load-history.
6592
ac9fc2c7
SM
6593 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6594 completion-ignore-case in case that var is buffer-local (bug#12615).
6595
cde44a77
KH
65962012-10-11 Kenichi Handa <handa@gnu.org>
6597
6598 * international/eucjp-ms.el: Re-generated.
6599
4ef4a10d
KH
66002012-10-10 Kenichi Handa <handa@gnu.org>
6601
6602 * select.el (xselect--encode-string): If a coding is specified for
6603 selection, and that is compatible with COMPOUND_TEXT, use it.
6604
9d7f027b
MR
66052012-10-10 Martin Rudalics <rudalics@gmx.at>
6606
6607 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
6608 (switch-to-buffer):
6609 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 6610
238f3a58
SM
66112012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6614 Don't document nil as a useful value (bug#12583).
6615
1d51f99c
MA
66162012-10-09 Michael Albinus <michael.albinus@gmx.de>
6617
238f3a58
SM
6618 * net/tramp.el (tramp-debug-message):
6619 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
6620 (with-tramp-progress-reporter): Rename from
6621 `tramp-with-progress-reporter'.
238f3a58
SM
6622 (with-tramp-file-property, with-tramp-connection-property):
6623 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
6624 `with-connection-property', respectively.
6625
6626 * net/tramp-cache.el: Remove `with-file-property' and
6627 `with-connection-property'.
6628
6629 * net/tramp.el:
6630 * net/tramp-gvfs.el:
6631 * net/tramp-sh.el:
6632 * net/tramp-smb.el: Adapt callees.
6633
6634 * net/trampver.el: Update release number.
6635
26b77251
GM
66362012-10-09 Glenn Morris <rgm@gnu.org>
6637
9a5f296f
GM
6638 * w32-fns.el (set-message-beep):
6639 * term/w32-win.el (set-message-beep): Update declarations.
6640
94c66ce5
SM
66412012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6642
10766e9e
SM
6643 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6644 (mode-line-widen, mode-line-input-method-map)
6645 (mode-line-coding-system-map, mode-line-remote)
6646 (mode-line-unbury-buffer, mode-line-bury-buffer)
6647 (mode-line-next-buffer, mode-line-previous-buffer):
6648 Replace save-selected-window+select-window => with-selected-window.
6649
f754db08
SM
6650 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6651 * progmodes/cc-vars.el (bq-process): Remove, unused.
6652
94c66ce5
SM
6653 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6654
a4ff7fe1
FEG
66552012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6656
6657 Implemented `backward-up-list'-like navigation.
6658 * progmodes/python.el (python-nav-up-list)
6659 (python-nav-backward-up-list): New functions.
6660 (python-mode-map): Define substitute key for backward-up-list to
6661 python-nav-backward-up-list.
6662
24517d82
FEG
66632012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6664
6665 * progmodes/python.el (python-fill-paragraph): Rename from
6666 python-fill-paragraph-function. Fixed fill-paragraph for
6667 decorators (Bug#12605).
6668
51867ae2
FEG
66692012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6670
6671 * progmodes/python.el (python-shell-output-filter): Handle extra
6672 carriage return in OSX (Bug#12409).
6673
a5b773c4
FEG
66742012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6675
6676 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 6677 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
6678 (python-syntax-propertize-function): Use it.
6679 (python-shell-output-syntax-table): New var.
6680 (inferior-python-mode): Prevent unbalanced parens/quotes from
6681 previous output mess with current input context.
6682
13373538
JB
66832012-10-08 Juanma Barranquero <lekktu@gmail.com>
6684
6685 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6686 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6687
775a132d
MA
66882012-10-08 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * ffap.el (ffap-replace-file-component): Support Tramp file name
6691 syntax, not only ange-ftp's one.
6692
3ab44929
GM
66932012-10-08 Glenn Morris <rgm@gnu.org>
6694
57f1dee4
GM
6695 * cus-start.el (message-log-max): Set :version.
6696
3ab44929
GM
6697 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6698
6a088630
MR
66992012-10-08 Martin Rudalics <rudalics@gmx.at>
6700
6701 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6702 the minibuffer window (Bug#10851).
6703
8dbce54c
FEG
67042012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6705
6706 Enhancements on forward-sexp movement.
6707 * progmodes/python.el (python-nav-beginning-of-statement)
6708 (python-nav-end-of-statement): Return point-marker.
6709 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6710 (python-info-current-symbol)
6711 (python-info-statement-starts-block-p): Rename from
6712 python-info-beginning-of-block-p.
6713 (python-info-statement-ends-block-p): Rename from
6714 python-info-end-of-block-p.
6715 (python-info-beginning-of-statement-p)
6716 (python-info-end-of-statement-p)
6717 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6718 New functions.
6719
5acd2b3e
SM
67202012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6723 frame-selected-windows.
6724
e08348a0
DC
67252012-10-08 Daniel Colascione <dancol@dancol.org>
6726
6727 * battery.el (battery-status-function): Check for
6728 w32-battery-status itself, not system-time windows-nt.
6729
6730 * frame.el: Require cl-lib.
6731 (display-format-alist): New variable mapping frame types to
6732 functions that initialize them.
6733 (window-system-for-display): New function: interprets
6734 display-format-alist.
6735 (make-frame-on-display): Remove existing display-selection logic
6736 and just forward to make-frame, which will now DTRT.
6737 (make-frame): Restructure to use window-system-for-display to
6738 figure out how to create a frame on a given display.
6739 (display-mouse-p): Look for frame-type w32, not a particular
6740 system-type.
6741
6742 * loadup.el: Load w32 lisp code when we have the w32 feature.
6743
6744 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6745 system-type windows-nt.
6746
6747 * server.el (server-create-window-system-frame): Look for window
6748 type.
6749 (server-proces-filter): Only force a window system when windows-nt
6750 _and_ w32. Explain why.
6751
6752 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6753 of window systems we configure for the mode.
6754
6755 * startup.el (command-line): Mark window system is initialized
6756 after we've done it.
6757
6758 * common-win.el (x-select-text): Look for w32, not windows-nt.
6759
6760 * ns-win.el: Require cl-lib. Add ourselves to
6761 display-format-alist.
6762 (ns-initialize-window-system): Assert we're not initialized twice.
6763
6764 * w32-win.el: Enable lexical binding; require cl-lib; add
6765 ourselves to display-format-alist.
6766 (w32-handle-dropped-file): Convert incoming dropped files from
6767 Windows paths to Cygwin ones before passing them on to the rest of
6768 Emacs.
6769 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6770 (w32-initialize-window-system): Assert we're not initialized twice.
6771
6772 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6773 (x-initialize-window-system): Assert we're not initialized twice.
6774
6775 * w32-common-fns.el: New File.
6776 (w32-version, w32-using-nt, w32-get-clipboard-data)
6777 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6778 (w32-charset-info-alist, x-last-selected, text)
6779 (x-get-selection-value, x-selection-value): Move here.
6780
6781 * w32-fns.el: Require w32-common-fns.
6782 (w32-version, w32-using-nt, w32-get-clipboard-data)
6783 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6784 (w32-charset-info-alist, x-last-selected, text)
6785 (x-get-selection-value, x-selection-value): Move to
6786 w32-common-fns.
6787
6788 * w32-vars.el:
6789 (w32-allow-system-shell, w32-system-shells): Define only in
6790 non-cygwin case.
6791
795b1482
SM
67922012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6795 (read-passwd): Remove a few more potential sources of leaks.
6796
f27c99dc
FEG
67972012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6798
6799 * progmodes/python.el (inferior-python-mode)
795b1482 6800 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
6801 variables copied from parent buffer.
6802
fcacb558
JD
68032012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6804
6805 * term/ns-win.el (ns-read-file-name): Update declaration to match
6806 nsfns.m.
b9edfa5c 6807 (ns-respond-to-change-font): Change fontsize separately so we are sure
fcacb558
JD
6808 it is set when font is acted upon.
6809
be0d5bae
FEG
68102012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6811
6812 Enhancements to indentation.
6813 * progmodes/python.el (python-indent-context): Give priority to
6814 inside-string context. Make comments indentation markers.
6815 (python-indent-region): Do not mess with strings, unless it's the
6816 enclosing set of quotes.
6817
13af0d10
SM
68182012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6819
662a9d0e
SM
6820 * window.el (internal--before-save-selected-window)
6821 (internal--after-save-selected-window): New functions extracted from
6822 save-selected-window. Make sure we return the `alist' we construct.
6823 (save-selected-window): Use them.
6824
6825 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6826 Use with-selected-window.
6827
13af0d10
SM
6828 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6829 forms that define macros (bug#12593).
6830
6aa75fb6
KH
68312012-10-07 Kenichi Handa <handa@gnu.org>
6832
13af0d10
SM
6833 * international/mule-conf.el (compound-text-with-extensions):
6834 Add :mime-charset property as x-ctext.
6aa75fb6 6835
78d876b9
SM
68362012-10-07 Stefan Merten <smerten@oekonux.de>
6837
6838 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6839 (rst-indent-literal-normal, rst-indent-literal-minimized)
6840 (rst-indent-comment): Correct :version tag.
557337e9 6841 (rst-official-cvs-rev): Correct version string.
78d876b9 6842
99a1e701
GM
68432012-10-07 Glenn Morris <rgm@gnu.org>
6844
6845 * mail/rmailmm.el (rmail-mime-process-multipart):
6846 Do not confuse a multipart message with an epilogue
6847 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6848
08f18c3d
FEG
68492012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6850
6851 Fix shell output retrieval and comint-prompt-regexp init.
6852 * progmodes/python.el (inferior-python-mode):
6853 (python-shell-make-comint): Fix initialization of
6854 comint-prompt-regexp from copied file local variables.
6855 (python-shell-fetched-lines): Remove var.
6856 (python-shell-output-filter-in-progress): Rename from
6857 python-shell-fetch-lines-in-progress.
6858 (python-shell-output-filter-buffer): Rename from
6859 python-shell-fetch-lines-string.
6860 (python-shell-fetch-lines-filter): Delete function.
6861 (python-shell-output-filter): New function.
6862 (python-shell-send-string-no-output): Use them.
6863
82ed3ab4
GM
68642012-10-07 Glenn Morris <rgm@gnu.org>
6865
1595ecfa
GM
6866 * hi-lock.el (hi-lock-process-phrase):
6867 Try to make it less fragile. (Bug#7161)
6868
82ed3ab4
GM
6869 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6870
f1f4dba0
GM
68712012-10-06 Glenn Morris <rgm@gnu.org>
6872
addc11ed 6873 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
6874 non-existent mode `help'.
6875 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 6876
460042b8
GM
6877 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6878 (reftex-create-bibtex-footer): Fix custom types.
6879
67667c70
GM
6880 * progmodes/sh-script.el (sh-indent-after-continuation):
6881 Add explicit :group.
6882
18dec750
GM
6883 * textmodes/rst.el (rst-preferred-decorations)
6884 (rst-shift-basic-offset): Clarify obsolescence versions.
6885
d1a1c7e6
GM
6886 * profiler.el (profiler): Add missing group :version tag.
6887 * avoid.el (mouse-avoidance-banish-position):
6888 * proced.el (proced-renice-command):
6889 * calc/calc.el (calc-ensure-consistent-units):
6890 * calendar/icalendar.el (icalendar-import-format-uid):
6891 * net/tramp.el (tramp-save-ad-hoc-proxies):
6892 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6893 * progmodes/flymake.el (flymake-error-bitmap)
6894 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6895 * progmodes/sh-script.el (sh-indent-after-continuation):
6896 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6897 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6898 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6899 (vhdl-array-index-record-field-in-sensitivity-list)
6900 (vhdl-indent-comment-like-next-code-line):
6901 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6902 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6903 (reftex-cite-key-separator, reftex-create-bibtex-header)
6904 (reftex-create-bibtex-footer):
6905 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6906 (rst-indent-literal-normal, rst-indent-literal-minimized)
6907 (rst-indent-comment): Add missing custom :version tags.
6908
ef35abb4
GM
6909 * calendar/timeclock.el (timeclock-modeline-display):
6910 Add missing obsolete alias for renamed user option.
6911
d1aae614
GM
6912 * strokes.el (strokes-modeline-string):
6913 * emulation/crisp.el (crisp-mode-modeline-string):
6914 * eshell/esh-mode.el (eshell-status-in-modeline):
6915 Aliases to defcustoms must come before the defcustom.
6916
f1f4dba0
GM
6917 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6918 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6919 (cal-tex-cursor-week-monday): Doc fixes.
6920 (cal-tex-cursor-week2-summary): Doc fix.
6921 Rename from cal-tex-cursor-week-at-a-glance.
6922
6923 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6924 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6925
6926 * calendar/calendar.el (calendar-mode-map):
6927 Add cal-tex-cursor-week2-summary.
6928
d39109c3
SM
69292012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6930
685f87b0
SM
6931 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6932
d39109c3
SM
6933 * subr.el (read-passwd-map): New var.
6934 (read-passwd): Use `read-string' again.
6935 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6936
5694896d
J
69372012-10-06 Jambunathan K <kjambunathan@gmail.com>
6938
6939 * register.el (append-to-register, prepend-to-register):
6940 Deactivate mark, as does `copy-to-register' (bug#12389).
6941
9414dd8d
CY
69422012-10-06 Chong Yidong <cyd@gnu.org>
6943
6944 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6945
2b89bca4
KH
69462012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6947
6948 * international/characters.el: Fix simple mistake ((car chars) ->
6949 elt), delete duplicated code.
6950
d5acb99a
GM
69512012-10-06 Glenn Morris <rgm@gnu.org>
6952
6953 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6954
123ec157
JS
69552012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6956
6957 * color.el (color-hsl-to-rgb): Fix incorrect results for
6958 small and large hue values. (Bug#12559)
6959
7fa36ccb
FEG
69602012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6961
6962 Enhancements to docstring formatting when filling paragraphs.
6963 * progmodes/python.el (python-fill-docstring-style): Rename from
6964 python-fill-string-style. Added new style.
6965 (python-fill-string): Use new style. Better checks for
6966 docstrings.
6967
d8788e1e
GM
69682012-10-05 Glenn Morris <rgm@gnu.org>
6969
204f3953
GM
6970 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6971
d8788e1e
GM
6972 * color.el (color-name-to-rgb, color-rgb-to-hex)
6973 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6974 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6975 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6976 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6977
8d956cef
GM
6978 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6979
e8757f09 69802012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
6981
6982 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6983 to get the correct size across symlinks.
6984
e8757f09
GM
6985 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6986
0e2ae83d
JL
69872012-10-04 Juri Linkov <juri@jurta.org>
6988
6989 * replace.el (query-replace-interactive): Declare obsolete.
6990 (query-replace-read-from): Add the last incremental search string
6991 to the list of default values accessible via M-n.
6992 (map-query-replace-regexp): Use `read-regexp'.
6993 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6994 (map-query-replace-regexp, replace-string, replace-regexp):
6995 Fix docstrings to replace mentions of `query-replace-interactive'
6996 with alternatives. (Bug#12526)
6997
93cacb6d
JL
69982012-10-04 Juri Linkov <juri@jurta.org>
6999
7000 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7001 (dired-pop-to-buffer): Declare obsolete.
7002 (dired-mark-pop-up): Doc fix.
7003
fc345011
FEG
70042012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7005
7006 Allow user to set docstring style for fill-paragraph.
7007 * progmodes/python.el
7008 (python-fill-comment-function, python-fill-string-function)
7009 (python-fill-decorator-function, python-fill-paren-function):
7010 Remove :safe for defcustoms.
7011 (python-fill-string-style): New defcustom
5694896d 7012 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
7013 (python-fill-string): Honor python-fill-string-style settings.
7014
6bab5d8b
MR
70152012-10-04 Martin Rudalics <rudalics@gmx.at>
7016
7017 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7018 after setting its buffer (Bug#10805).
7019
a1a9f411
FEG
70202012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7021
7022 Fix cornercase for string syntax.
7023 * progmodes/python.el (python-syntax-propertize-function):
7024 Simplify and enhance the regexp for unescaped quotes. Now it also
7025 matches quotes in weird situations like the single quote in
7026 "something\"'".
7027 (python-syntax-stringify): Simplify num-quotes detecting code.
7028
05e153a6
GM
70292012-10-03 Glenn Morris <rgm@gnu.org>
7030
7031 * help-macro.el (three-step-help):
7032 Revert 2012-09-29 change. (Bug#12567)
7033
2e566ecb
MR
70342012-10-03 Martin Rudalics <rudalics@gmx.at>
7035
96ef9ccd
MR
7036 * menu-bar.el (kill-this-buffer): Don't do anything when
7037 `menu-frame' is not alive or visible (Bug#8184).
7038
2e566ecb
MR
7039 * emacs-lisp/debug.el (debug): When quitting the debugger window
7040 restore current buffer (Bug#12502).
7041
a96e1cb7
CY
70422012-10-02 Chong Yidong <cyd@gnu.org>
7043
5694896d
J
7044 * progmodes/hideif.el (hif-lookup, hif-defined):
7045 Handle semantic-c-takeover-hideif.
a96e1cb7 7046
b3ecad33
PE
70472012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7048
7049 Change sampling interval units from ms to ns.
7050 * profiler.el (profiler-sampling-interval): Change units
7051 from ms to ns, multiplying the default by 1000000 so that
7052 it remains 1 ms.
7053 (profiler-report-cpu-line-format): Give enough room for
7054 the maximum counters on 64-bit hosts.
7055 (profiler-report-render-calltree-1): Call them "CPU samples",
7056 not "Time (ms)", since they are not milliseconds now (and
7057 never really were).
7058
8cb51b66 70592012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 7060
5694896d
J
7061 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7062 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 7063
fd795bf4
CY
70642012-10-02 Chong Yidong <cyd@gnu.org>
7065
7066 * emacs-lisp/eieio.el: Restore Version header.
7067
fe0a74f9
SM
70682012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7069
6be9197e
SM
7070 * vc/diff-mode.el (diff--auto-refine-data): New var.
7071 (diff-hunk): Use it to delay refinement.
7072 (diff-mode): Remove overlays when we turn off font-lock.
7073
18486139
SM
7074 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7075 (table-initialize-table-fixed-width-mode)
7076 (table-set-table-fixed-width-mode): Remove functions.
7077 (table-command-list): Move initialization into declaration.
7078 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7079 (table-with-cache-buffer): Use `declare'.
7080 (table-span-cell): Simplify via CSE.
7081 (table-fixed-width-mode): Use define-minor-mode.
7082 (table-call-interactively, table-funcall, table-apply): Remove.
7083 (table-function): New function, to replace them.
7084
d83ef976
SM
7085 * bookmark.el (bookmark-search-pattern): Remove var.
7086 (bookmark-read-search-input): Remove function.
7087 (bookmark-bmenu-search): Reimplement using a minibuffer.
7088
cd386662
SM
7089 * faces.el (modeline): Remove obsolete face name.
7090
fe0a74f9
SM
7091 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7092 and give a non-nil default value.
7093 (add-change-log-entry): Simplify accordingly.
7094
9f7b98f8
DG
70952012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7096
7097 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7098 (vc-git-log-edit-toggle-amend): New function.
7099 (vc-git-log-edit-toggle-signoff): New function.
7100 (vc-git-log-edit-mode): New major mode.
7101 (vc-git-log-edit-mode-map): Keymap for it.
7102 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7103
7104 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7105 header names.
7106 (log-edit-toggle-header): New function.
7107 (log-edit-extract-headers): Accept function values in HEADERS alist.
7108
62a81506
CY
71092012-10-01 David Engster <deng@randomsample.de>
7110
7111 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7112 from symbol property and change message to be more consistent with
7113 Emacs proper.
7114 (eieio-describe-generic): Add filename for each implementation.
7115 Fix indices for generic and normal methods.
7116 (eieio-method-def, eieio-class-def): New buttons.
7117 (eieio-help-find-method-definition)
7118 (eieio-help-find-class-definition): New functions.
7119 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7120 class, constructor and method definitions.
7121
7122 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7123 information in symbol property.
7124 (scoped-class): Remove.
7125 (eieio-slot-name-index, call-next-method): Check if it is bound.
7126
71272012-10-01 Leo P. White <lpw25@cam.ac.uk>
7128
7129 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7130 (eieio-custom-mode): New major mode.
7131 (eieio-customize-object): Use it.
7132
71332012-10-01 Eric Ludlam <zappo@gnu.org>
7134
7135 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7136 specifying the expected class, and whether subclassing is allowed.
7137 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
7138 (eieio-persistent-validate/fix-slot-value)
7139 (eieio-persistent-slot-type-is-class-p): New functions.
7140 (eieio-named::slot-missing): Doc fix.
62a81506
CY
7141
7142 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7143 Stop using unused publd variable.
7144
7145 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7146 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7147 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7148 (eieio-speedbar-handle-click): Do not specify a class for the
7149 method. Fixes method invocation order problems with EDE.
7150
375e49d4
SM
71512012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7154 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7155
16ce6ccd
KF
71562012-10-01 Karl Fogel <kfogel@red-bean.com>
7157
7158 * bookmark.el (bookmark-version-control): Give tags in the
7159 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
7160 (bookmark-write-file): Bind `print-circle' to `t' to allow
7161 circular custom bookmark types. (Bug#12503)
16ce6ccd 7162
19e54a4d
PE
71632012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7164
86ec63ba
PE
7165 Revert the FOLLOW-SYMLINKS change for file-attributes.
7166 * files.el (remote-file-name-inhibit-cache, after-find-file):
7167 * time.el (display-time-file-nonempty-p): Undo last change.
7168
19e54a4d
PE
7169 * profiler.el (profiler-sampling-interval): Change default back to 1.
7170 See Stefan Monnier in
7171 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7172
0478776b
FEG
71732012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7174
7175 Shell output catching a la gud-gdb.
7176 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
7177 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7178 New Vars.
0478776b
FEG
7179 (python-shell-fetch-lines-filter): New function.
7180 (python-shell-send-string-no-output): Use them.
7181
c22bac2c
TM
71822012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7183
7184 * profiler.el (profiler-sampling-interval): Rename from
7185 profiler-sample-interval.
7186 (profiler-sampling-interval): Default to 10.
7187 (profiler-find-profile): New command (was profiler-find-log).
7188 (profiler-find-profile-other-window): New command.
7189 (profiler-find-profile-other-frame): New command.
7190 (profiler-profile): Introduce API-level data structure.
7191
e7a2937b
PE
71922012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7193
7194 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7195 * files.el (remote-file-name-inhibit-cache):
7196 * time.el (display-time-file-nonempty-p): Use it.
7197 * files.el (after-find-file): Don't chase links before calling
7198 file-exists-p, as file-exists-p already does the right thing.
7199
4f595e15
RA
72002012-09-30 Ralf Angeli <angeli@caeruleus.net>
7201
7202 Merge from standalone RefTeX repository.
7203
7204 The following ChangeLog entries are shortened versions of the
7205 original ones with file paths adapted. A not so strongly edited
7206 version of the original ChangeLog can be found in the commit log.
7207
7208 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
7209 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7210 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
7211
7212 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
7213 that entries with whitespace at various places are found.
7214 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
7215 Include @String definitions in the resulting bib file. Add header
7216 and footer defined in `reftex-create-bibtex-header' and
7217 `reftex-create-bibtex-footer'.
7218 (reftex-do-citation): Make it possible again to insert
7219 non-existent entries. Save match data when asking for optional
7220 arguments. Return all keys, not just the first one.
7221 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7222 all citations in the same line.
7223 (reftex-parse-bibtex-entry): Accept additional optional argument
7224 `raw' and keep quotes or braces if it is non-nil. Match fields
7225 containing hyphens besides word constituents.
7226 (reftex-get-string-refs): New function.
7227 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7228 and ask if it should be reread in case it did.
7229 (reftex-pop-to-bibtex-entry)
7230 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7231 entries with spaces or tabs in front of arguments.
7232 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
7233 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7234 Match entries containing numbers and symbol constituents.
7235 (reftex-do-citation, reftex-figure-out-cite-format):
7236 Use `reftex-cite-key-separator'.
4f595e15
RA
7237
7238 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7239 (reftex-mouse-view-crossref): Explain why point is set.
7240
7241 * textmodes/reftex-global.el: Whitespace changes.
7242
7243 * textmodes/reftex-index.el: Move provide statement to end of
7244 file.
7245 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7246 (reftex-index-visit-phrases-buffer): Set marker when visiting
7247 buffer. This allows for returning from the phrases file to the
7248 file one was just editing instead of the file where the last
7249 phrases was added from.
7250 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7251 punctuation syntax as it usually is not used as string quote in
7252 TeX-related modes and may occur unmatched. The change also
7253 prevents fontification of quoted content.
7254 (reftex-index-phrases-mode): Use it.
7255
375e49d4
SM
7256 * textmodes/reftex-parse.el (reftex-parse-from-file):
7257 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
7258 (reftex-parse-from-file): Use beginning of match instead of end as
7259 bound.
7260
7261 * textmodes/reftex-ref.el: Adapt creation of
7262 `reftex-<package>-<macro>' functions to new structure of
7263 `reftex-ref-style-alist'.
375e49d4
SM
7264 (reftex-reference): Use `reftex-ref-style-list' function.
7265 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
7266 reference macro if `reftex-ref-macro-prompt' is non-nil.
7267 (reftex-reference): Pass refstyle to `reftex-format-special'.
7268 Determine reference macro by looking at
375e49d4
SM
7269 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7270 Use only one special format function.
4f595e15
RA
7271 (reftex-varioref-vref, reftex-fancyref-fref)
7272 (reftex-fancyref-Fref): Remove definitions. The functions are now
7273 generated from `reftex-ref-style-alist'.
7274 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7275 Remove.
7276 (reftex-format-special): New function.
7277
7278 * textmodes/reftex-sel.el
7279 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7280 of `reftex-ref-style-alist'. Remove code for testing macro type.
7281 (reftex-select-toggle-varioref)
7282 (reftex-select-toggle-fancyref): Remove.
7283 (reftex-select-cycle-ref-style-internal)
7284 (reftex-select-cycle-ref-style-forward)
7285 (reftex-select-cycle-ref-style-backward): New functions.
7286 (reftex-select-label-map): Use `v' and `V' for general cycling
7287 through reference styles. Add `p' for switching between number
7288 and page reference types.
7289
375e49d4
SM
7290 * textmodes/reftex-toc.el (reftex-re-enlarge):
7291 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
7292 the horizontal version throws an error even if the parameter is 0.
7293
7294 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7295 (reftex-plug-into-AUCTeX): Doc fix.
7296 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7297 string. Adapt to new name.
7298 (reftex-ref-style-alist): Change structure so that it is not
7299 possible to use multiple different package names within a style.
375e49d4
SM
7300 Remove the symbols for symbols for macro type distinction.
7301 Add characters for macro selection.
4f595e15
RA
7302 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7303 (reftex-create-bibtex-footer): New variables.
7304 (reftex-format-ref-function): Mention third argument of special
7305 format function.
375e49d4
SM
7306 (reftex-ref-style-alist, reftex-ref-style-default-list):
7307 New variables.
4f595e15
RA
7308 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7309 to new implementation. Mark as obsolete. Add compatibility code
7310 for honoring the variable values in case they are set.
375e49d4
SM
7311 (reftex-cite-format-builtin, reftex-bibliography-commands):
7312 Add support for ConTeXt.
7313 (reftex-format-ref-function, reftex-format-cite-function):
7314 Fix custom type.
4f595e15
RA
7315 (reftex-cite-key-separator): New variable.
7316
7317 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7318 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7319 `reftex-syntax-table' because parens have to retain their paren
7320 syntax in order for parsing of BibTeX entries like @book(...) to
7321 work.
7322 (reftex-in-comment): Do not error out if `comment-start-skip' is
7323 not set. Deal correctly with escaped comment characters.
375e49d4
SM
7324 (reftex-tie-multifile-symbols): Add doc string.
7325 Initialize `reftex-ref-style-list'.
4f595e15
RA
7326 (reftex-untie-multifile-symbols): Add doc string.
7327 (reftex-add-index-macros): Doc fix.
7328 (reftex-ref-style-activate, reftex-ref-style-toggle)
7329 (reftex-ref-style-list): New functions.
7330 (reftex-mode-menu): Use them. Adapt to new structure of
7331 `reftex-ref-style-alist'.
7332 (reftex-select-with-char): Kill the RefTeX Select buffer when
7333 done.
7334 (reftex-remove-if): New function.
7335 (reftex-erase-all-selection-and-index-buffers)
7336 (reftex-mode-menu): Reference styles are now computed from
7337 `reftex-ref-style-alist'. Fix typo.
7338 (reftex-report-bug): New function.
7339 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7340 algorithms with O(n log n). Introduce optional argument SORT (not
7341 yet used).
7342
440ba395
FEG
73432012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7344
7345 Enhancements for triple-quote string syntax.
375e49d4
SM
7346 * progmodes/python.el (python-syntax-propertize-function):
7347 Match both quote cases in one regexp.
440ba395
FEG
7348 (python-syntax-stringify): Handle matches properly.
7349
4c478e6b
JL
73502012-09-30 Juri Linkov <juri@jurta.org>
7351
7352 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 7353 to nil around the call to `insert' to prevent
4c478e6b
JL
7354 directory time modification by lock_file. (Bug#2295)
7355 * tar-mode.el (tar-summarize-buffer): Idem.
7356
d80d54b2
JL
73572012-09-30 Juri Linkov <juri@jurta.org>
7358
7359 * facemenu.el (list-colors-sort): Add option "Luminance".
7360 (list-colors-sort-key): Implement it.
7361
7362 * vc/diff-mode.el (diff-refine-removed):
7363 * vc/ediff-init.el (ediff-fine-diff-A):
7364 * vc/smerge-mode.el (smerge-refined-removed):
7365 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7366
d7e642cc
JD
73672012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7368
7369 * term/ns-win.el (x-file-dialog): New function.
7370
ee41332b
JB
73712012-09-30 Juanma Barranquero <lekktu@gmail.com>
7372
7373 * ido.el (ido-max-directory-size): Default to nil; the current
7374 default is small for POSIX systems, and impractical on Windows 7
7375 now that lstat returns directory sizes for NTFS.
7376
5938d519
MR
73772012-09-30 Martin Rudalics <rudalics@gmx.at>
7378
7379 In buffer display functions handle window-height/window-width
7380 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
7381 * window.el (window--display-buffer): New argument ALIST.
7382 Obey window-height and window-width alist entries.
7383 (window--try-to-split-window): New argument ALIST.
7384 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
7385 changed and window-combination-limit equals `window-size'.
7386 (display-buffer-in-atom-window)
7387 (display-buffer-in-major-side-window)
7388 (display-buffer-in-side-window, display-buffer-same-window)
7389 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7390 (display-buffer-pop-up-window, display-buffer-below-selected)
7391 (display-buffer-at-bottom, display-buffer-in-previous-window)
7392 (display-buffer-use-some-window): Adjust all callers of
7393 window--display-buffer and window--try-to-split-window.
7394 (fit-frame-to-buffer): New option.
7395 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7396 is non-nil.
7397 (display-buffer-in-major-side-window): Evaluate window-height /
7398 window-width alist entries.
7399
7400 * help.el (temp-buffer-resize-frames)
7401 (temp-buffer-resize-regexps): Remove options.
7402 (temp-buffer-resize-mode): Adjust doc-string.
7403 (resize-temp-buffer-window): Don't consult
7404 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7405 temp-buffer-resize-frames.
7406
375e49d4
SM
7407 * dired.el (dired-mark-pop-up):
7408 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
7409 entry.
7410
c4c0c2df
CY
74112012-09-30 Chong Yidong <cyd@gnu.org>
7412
48de8b12
CY
7413 * server.el (server-host): Document the security implications.
7414 (server-auth-key): Doc fix.
7415
7416 * startup.el (initial-buffer-choice): Doc fix.
7417
7418 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7419
a97dc380
CY
7420 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7421 restriction change.
7422
d39d3c8e
CY
7423 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7424
c4c0c2df
CY
7425 * help-fns.el (help-fns--obsolete): Fix last change.
7426
98a5e33b
SM
74272012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7428
34cf6f39
SM
7429 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7430 (minor-mode-map-alist): Remove redundant code.
7431
e01c13fe
SM
7432 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7433 visited in a buffer.
7434 (cvs-insert-visited-file): New function.
7435 (find-file-hook): Use it.
7436
7437 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7438
02661b3a
SM
7439 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7440 chose face.
7441 (log-edit-empty-buffer-p): Don't require a space after a header.
7442
43711d4b
SM
7443 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7444
38a30d64
SM
7445 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7446
4ffb41a9
SM
7447 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7448 a proper minor-mode.
7449
98a5e33b
SM
7450 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7451
de82e29b
GM
74522012-09-29 Glenn Morris <rgm@gnu.org>
7453
5cc2e639
GM
7454 * winner.el (winner-mode): Remove variable (let define-minor-mode
7455 handle it).
7456 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7457 Doc fixes.
7458 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7459 (winner-mode): Use define-minor-mode.
7460
7bd302eb
GM
7461 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7462 the full definition in loaddefs, rather than duplicating it.
7463
2923922f 7464 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 7465
0e3e4156
GM
7466 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7467 (inferior-lisp-program, inferior-lisp-load-command)
7468 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 7469 No need to autoload defcustoms.
0e3e4156 7470
de82e29b
GM
7471 * hippie-exp.el (hippie-expand-try-functions-list)
7472 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7473 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7474 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 7475 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
7476 * progmodes/vhdl-mode.el (vhdl-line-expand):
7477 Explicitly load hippie-exp, so it does not get autoloaded
7478 while hippie-expand-try-functions-list is let-bound.
7479
e60b51ab
GM
74802012-09-28 Glenn Morris <rgm@gnu.org>
7481
277f0cfa
GM
7482 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7483
e60b51ab
GM
7484 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7485 Only "cl.el" counts as cl these days.
7486
53baf48a
JL
74872012-09-28 Juri Linkov <juri@jurta.org>
7488
7489 Display archive errors in the echo area instead of inserting
7490 to the file buffer.
7491
7492 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7493 to STDERR-TEST that can be a regexp matching a successful output.
7494 Create a temporary file and redirect stderr to it. Search for
7495 STDERR-TEST in the stderr output and display it in the echo area
7496 if no match is found.
7497 (archive-extract-by-file): New function like
7498 `archive-extract-by-stdout' but extracting archives to files
7499 and looking for successful matches in stdout. Function body is
7500 mostly copied from `archive-rar-extract'.
7501 (archive-rar-extract): Use `archive-extract-by-file'.
7502 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7503
9c1228c3
LL
75042012-09-28 Leo Liu <sdl.web@gmail.com>
7505
375e49d4
SM
7506 * pcomplete.el (pcomplete-show-completions):
7507 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 7508
9c1228c3
LL
7509 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7510
7f457c06
SM
75112012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7512
3df749b0
SM
7513 * type-break.el: Use lexical-binding.
7514 (type-break-mode): Use define-minor-mode.
7515
7f457c06
SM
7516 * emacs-lisp/pcase.el (pcase--mark-used): New.
7517 (pcase--u1): Use it (bug#12512).
7518
7519 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7520 in load-history with the right file name.
7521
c00ebc98
TH
75222012-09-28 Tassilo Horn <tsdh@gnu.org>
7523
7524 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7525 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7526 (doc-view-get-bounding-box): Make bounding box slicing work for
7527 ODF and DVI documents.
7528
96fb7170
GM
75292012-09-28 Glenn Morris <rgm@gnu.org>
7530
7531 * type-break.el (type-break-mode, type-break-interval)
7532 (type-break-good-rest-interval, type-break-keystroke-threshold):
7533 No need to autoload.
7534 (type-break-good-rest-interval, type-break-keystroke-threshold):
7535 Add :set-after.
7536
5bc93c67
CY
75372012-09-28 Chong Yidong <cyd@gnu.org>
7538
7539 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7540 Add :version tag.
7541
9cad61d6
SM
75422012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7543
e28e67b3 7544 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 7545
daee954c
GM
75462012-09-27 Glenn Morris <rgm@gnu.org>
7547
a88324d4
GM
7548 * faces.el (x-display-name): Declare (for without-x builds).
7549
8e5064e5
GM
7550 * linum.el (linum-format): Don't autoload it. Improve :type.
7551
cc1783c2
GM
7552 * progmodes/tcl.el: Don't require outline when compiling.
7553 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
7554 * textmodes/sgml-mode.el: Don't require outline when compiling.
7555 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7556
48c339f2
GM
7557 * term.el (term-ansi-reset):
7558 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7559
daee954c
GM
7560 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7561 files for RCS and SCCS. (Bug#9781)
7562
b7f42161
CY
75632012-09-27 Chong Yidong <cyd@gnu.org>
7564
7565 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7566 change; value should be t.
7567
a2e770db
SM
75682012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7569
83600dc8
SM
7570 * image-mode.el: Use lexical-binding.
7571 (image-mode-winprops): Use t to stand for the window of
7572 a buffer that's not displayed.
7573 * doc-view.el (doc-view-new-window-function): Handle the new
7574 t in winprops.
7575 (doc-view-enlarge): Make it a real nop if the size is not changed.
7576 (doc-view-display): Handle the case where the buffer is not (yet?)
7577 displayed in any window.
7578 (doc-view-saved-settings): New var.
7579 (doc-view-mode): Use it.
7580 (doc-view-fallback-mode): Set it.
7581
a2e770db
SM
7582 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7583 Set lexical-binding.
7584 (minibuffer-eldef-shorten-default): New var.
7585 (minibuffer-default-in-prompt-regexps): Use it for new default.
7586 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7587
e3b60857
JB
75882012-09-26 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * international/uni-bidi.el:
7591 * international/uni-category.el:
7592 * international/uni-name.el:
7593 * international/uni-numeric.el: Regenerate.
7594
3a880af4
SM
75952012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7596 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * profiler.el: New file.
7599
07b1a5fb
SM
76002012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7603 (testcover-reinstrument): Simplify with CSE.
7604
42019c2e
JB
76052012-09-26 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7608
179f044b
WS
76092012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7610
7611 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7612 (verilog-auto-input, verilog-auto-insert-lisp)
7613 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7614 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7615 (verilog-auto-unused, verilog-auto-wire)
7616 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7617 newline. Reported by Andrew Jones.
7618 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7619 Reported by Brad Dobbie.
07b1a5fb
SM
7620 (verilog-batch-delete-trailing-whitespace):
7621 Create verilog-batch-delete-trailing-whitespace.
7622 Reported by Brad Dobbie.
179f044b
WS
7623 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7624 parameters from another module. Reported by Dan Katz.
7625 (verilog-auto, verilog-auto-assign-modport)
7626 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7627 AUTOINOUTMODPORT for UVM interface module shell generation.
7628 Reported by Brad Dobbie.
7629 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7630 standard behavior.
7631 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7632 Reported by Matt Martin.
7633
9c52dd5a
MR
76342012-09-25 Martin Rudalics <rudalics@gmx.at>
7635
7636 * window.el (window--resize-child-windows): When resizing child
7637 windows proportionally, process them in reverse order to
7638 preserve the "when splitting a window the new one gets the odd
7639 line" behavior.
7640 (window--resize-root-window-vertically): When resizing the
7641 minibuffer window try to affect only windows at the bottom of the
7642 frame. (Bug#12419)
7643
863666eb
CY
76442012-09-25 Chong Yidong <cyd@gnu.org>
7645
7646 * subr.el (declare): Doc fix.
7647
7648 * help-fns.el (help-fns--obsolete): Handle macros properly.
7649
59f7af81
CY
76502012-09-25 Chong Yidong <cyd@gnu.org>
7651
7652 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7653 this function obsolete.
7654
7655 * calendar/cal-x.el (calendar-two-frame-setup)
7656 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7657 * calendar/calendar.el (american-calendar, european-calendar)
7658 (calendar-for-loop):
7659 * comint.el (comint-dynamic-simple-complete)
7660 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7661 * desktop.el (desktop-load-default):
7662 * dired-x.el (dired-omit-here-always)
7663 (dired-hack-local-variables, dired-default-directory):
7664 * emacs-lisp/derived.el (derived-mode-class):
7665 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7666 * emacs-lock.el (toggle-emacs-lock):
7667 * epa.el (epa-display-verify-result):
7668 * epg.el (epg-sign-keys, epg-start-sign-keys)
7669 (epg-passphrase-callback-function):
7670 * eshell/esh-util.el (eshell-for):
7671 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7672 (eshell-add-to-window-buffer-names):
7673 * files.el (locate-file-completion):
7674 * imenu.el (imenu-example--create-c-index)
7675 (imenu-example--create-lisp-index)
7676 (imenu-example--lisp-extract-index-name)
7677 (imenu-example--name-and-position):
7678 * international/mule-cmds.el (princ-list):
7679 * international/mule-diag.el (decode-codepage-char):
7680 * international/mule-util.el (detect-coding-with-priority):
7681 * iswitchb.el (iswitchb-read-buffer):
7682 * mail/mailalias.el (mail-complete):
7683 * mail/sendmail.el (mail-sent-via):
7684 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7685 (mouse-major-mode-menu):
7686 * password-cache.el (password-read-and-add):
7687 * pcomplete.el (pcomplete-parse-comint-arguments):
7688 * progmodes/sh-script.el (sh-maybe-here-document):
7689 * replace.el (query-replace-regexp-eval):
7690 * savehist.el (savehist-load):
7691 * simple.el (choose-completion-delete-max-match):
7692 * term.el (term-dynamic-simple-complete):
7693 * vc/ediff-init.el (ediff-check-version):
7694 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7695 * vc/vc.el (vc-diff-switches-list):
7696 * view.el (view-return-to-alist-update): Likewise.
7697
7698 * subr.el (eval-next-after-load, makehash, insert-string)
7699 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7700 mark obsolete.
7701 (mode-line-inverse-video): Variable deleted.
7702
7703 * international/mule-util.el (string-to-sequence): Remove.
7704
7705 * calendar/calendar.el (calendar-version):
7706 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7707 (icalendar-convert-diary-to-ical):
7708 * cus-edit.el (custom-mode):
7709 * ansi-color.el (ansi-color-unfontify-region):
7710 * international/latin1-disp.el (latin1-char-displayable-p):
7711 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
7712 * progmodes/which-func.el (which-func-update-1):
7713 Use define-obsolete-function-alias.
59f7af81
CY
7714
7715 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
7716 * net/newst-treeview.el (newsticker-groups-filename):
7717 Fix incorrect obsolescence declaration.
59f7af81
CY
7718
7719 * allout.el (allout-passphrase-hint-string): Likewise.
7720 (allout-init): Use a declare form to mark obsolete.
7721
7722 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7723 this applies to functions.
7724
7725 * iswitchb.el (iswitchb-read-buffer): Move code of
7726 iswitchb-define-mode-map here, and delete that obsolete function.
7727
7728 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7729 font-lock-reference-face.
7730
cca96c97
GM
77312012-09-25 Glenn Morris <rgm@gnu.org>
7732
b06eeda8
GM
7733 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7734 Doc fixes.
7735
cca96c97
GM
7736 * eshell/em-term.el (eshell-term-name):
7737 Default to term-term-name. (Bug#12485)
7738
dc4f818b
FEG
77392012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7740
cca96c97
GM
7741 * progmodes/python.el (python-shell-send-buffer): Better handling
7742 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 7743
289c24bd
GM
77442012-09-24 Glenn Morris <rgm@gnu.org>
7745
7746 * eshell/esh-cmd.el (eshell-find-alias-function):
7747 Tighten up file-name regexp. (Bug#12499)
7748
8fb8b88f
FEG
77492012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7750
7751 Enhancements for triple-quote string syntax.
7752 * progmodes/python.el (python-quote-syntax): Remove.
7753 (python-syntax-propertize-function): New value.
07b1a5fb
SM
7754 (python-syntax-count-quotes, python-syntax-stringify):
7755 New functions.
8fb8b88f 7756
6c27f0f8
CY
77572012-09-24 Chong Yidong <cyd@gnu.org>
7758
a5f2b6ec
CY
7759 * mail/supercite.el (sc-version): Remove obsolete function.
7760 (sc-describe): Don't mark as obsolete, since it is bound.
7761 (sc-submit-bug-report): Remove.
7762
7763 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7764 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
7765 (log-edit-require-final-newline)
7766 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
7767
7768 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7769 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7770 * vc/vc.el (vc-checkout-carefully): Likewise.
7771
7772 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7773 (emerge-version): Remove.
7774
7775 * progmodes/compile.el (compile-internal): Remove.
7776 (compilation-parse-errors-function): Fix typo.
7777
7778 * international/mule.el (set-char-table-default): Remove.
7779 (set-coding-priority, make-coding-system, generic-char-p)
7780 (charset-list, charset-bytes, charset-id): Use declare to mark
7781 functions as obsolete.
7782
7783 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7784 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7785 * vc/vc-hooks.el (vc-default-registered): Don't use
7786 vc-master-templates.
7787
07b1a5fb
SM
7788 * font-lock.el (font-lock-reference-face):
7789 Use define-obsolete-variable-alias.
6c27f0f8
CY
7790
7791 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7792 * calendar/calendar.el (calendar-font-lock-keywords):
7793 * calendar/diary-lib.el (diary-font-lock-keywords)
7794 (diary-fancy-font-lock-keywords):
7795 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7796 * textmodes/reftex-index.el (reftex-insert-index):
7797 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7798 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7799 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7800 * progmodes/prolog.el (prolog-font-lock-keywords):
7801 * progmodes/idlwave.el (idlwave-idl-keywords):
7802 * progmodes/ada-mode.el (ada-font-lock-keywords):
7803 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7804
bcc0adbf
GM
78052012-09-24 Glenn Morris <rgm@gnu.org>
7806
7807 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7808
095bb823
FEG
78092012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7810
7811 * progmodes/python.el (python-indent-line): More consistent cursor
7812 movement behavior.
7813
70efc5c9
SM
78142012-09-23 Stefan Merten <smerten@oekonux.de>
7815
7816 * textmodes/rst.el: Fix compiler warning.
7817
2f438239
RW
78182012-09-23 Roland Winkler <winkler@gnu.org>
7819
07b1a5fb
SM
7820 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7821 Transcribe also LaTeX hyphenation.
2f438239
RW
7822 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7823 bibtex-reformat-previous-options.
7824
936ad041
RW
78252012-09-23 Roland Winkler <winkler@gnu.org>
7826
7827 * proced.el (proced-renice-command): New variable.
7828 (proced-marked-processes): New function.
7829 (proced-with-processes-buffer): New macro.
7830 (proced-send-signal): Use them.
7831 (proced-renice): New command bound to r.
7832
6fab0274
RW
78332012-09-23 Roland Winkler <winkler@gnu.org>
7834
7835 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7836 ibuffer-saved-filter-groups has one element, shortcut the call of
7837 completing-read. (Bug#12331)
7838
9a930676
CY
78392012-09-23 Chong Yidong <cyd@gnu.org>
7840
7841 * bindings.el (mode-line-toggle-read-only):
7842 * bs.el (bs-toggle-readonly):
7843 * buff-menu.el (Buffer-menu-toggle-read-only):
7844 * dired.el (dired-toggle-read-only):
7845 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7846
d07ff9db
CY
78472012-09-23 Chong Yidong <cyd@gnu.org>
7848
7849 * image.el (image-type-available-p): Adapt to init-image-library
7850 argument changes.
7851
51c4474e
JL
78522012-09-22 Juri Linkov <juri@jurta.org>
7853
7854 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7855 `dired-toggle-read-only'. (Bug#12462)
7856
43bf5e8e
MR
78572012-09-22 Martin Rudalics <rudalics@gmx.at>
7858
7859 * subr.el (temp-output-buffer-show): New function.
7860 (with-output-to-temp-buffer): Call temp-output-buffer-show
7861 instead of internal-temp-output-buffer-show.
7862
c88b867f
CY
78632012-09-22 Chong Yidong <cyd@gnu.org>
7864
3df47cd5
CY
7865 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7866 (Bug#12462).
7867
c88b867f
CY
7868 * repeat.el (repeat): Doc fix (Bug#12348).
7869
7870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7871 (Bug#10909).
7872
7873 * simple.el (shell-command-on-region): Doc fix.
3171e303 7874 (read-only-mode): Doc fix.
c88b867f 7875
df9685f3
EZ
78762012-09-22 Eli Zaretskii <eliz@gnu.org>
7877
7878 * emacs-lisp/timer.el (run-with-idle-timer)
7879 (timer-activate-when-idle): Warn against reinvoking an idle timer
7880 from within its own timer action. (Bug#12447)
7881
8e17c9ba
MR
78822012-09-22 Martin Rudalics <rudalics@gmx.at>
7883
7884 * cus-start.el (window-combination-limit): Add new optional
7885 values.
7886 * window.el (temp-buffer-window-show)
7887 (window--try-to-split-window): Handle new values of
7888 window-combination-limit (Bug#1806).
7889 (split-window): Test window-combination-limit for t instead of
7890 non-nil.
7891 (display-buffer-at-bottom): New buffer display action function.
7892 * help.el (temp-buffer-resize-regexps): New option.
7893 (temp-buffer-resize-mode): Rewrite doc-string.
7894 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 7895 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 7896
48a24920
SM
78972012-09-22 Stefan Merten <smerten@oekonux.de>
7898
70efc5c9 7899 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
7900 (rst-official-version)
7901 (rst-package-emacs-version-alist): Sync with official version
7902 V1.4.0.
7903 (rst-faces-defaults, rst-set-level-default)
7904 (rst-level-face-max, rst-level-face-base-color)
7905 (rst-level-face-base-light, rst-level-face-format-light)
7906 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7907 (rst-adornment-faces-alist): Match new setup.
7908 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7909 (rst-level-5, rst-level-6): New faces.
7910
82f8cd94
CY
79112012-09-22 Chong Yidong <cyd@gnu.org>
7912
7913 * simple.el (undo): Handle indirect buffers (Bug#8207).
7914
acfa068f 79152012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
7916
7917 IDO: Disable match re-ordering for buffer switching.
2bc9406c 7918 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
7919 (ido-set-matches-1): Use it. (Bug#2042)
7920
acfa068f 79212012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
7922
7923 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7924 Fix 2011-05-17 change. (Bug#12418)
7925
acfa068f 79262012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
7927
7928 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7929
acfa068f 79302012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
7931
7932 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7933 Be more robust about locating simple.el.
7934
acfa068f 79352012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
7936
7937 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7938
acfa068f
CY
79392012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7940
7941 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7942
41a97e6f
JL
79432012-09-20 Juri Linkov <juri@jurta.org>
7944
eb2deaff
JL
7945 * replace.el (query-replace-read-from): Use `read-regexp' instead
7946 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7947 (occur-read-primary-args): Use `read-regexp' instead of
7948 `read-string'.
7949 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7950 `read-from-minibuffer'.
7951 * isearch.el (isearch-occur): Use `read-regexp' instead of
7952 `read-string'.
7953 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7954 `read-from-minibuffer'.
7955 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7956 of `read-string'. (Bug#7567)
7957
5825610b
JL
7958 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7959 and allow accepting a list of strings prepended to a list of
7960 standard default values. Doc fix. (Bug#12321)
7961
eebbf404
JL
7962 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7963
41a97e6f
JL
7964 * replace.el (read-regexp): Don't add ": " when PROMPT already
7965 ends with a colon and space. (Bug#12321)
7966
c9e452d3
TH
79672012-09-20 Tassilo Horn <tsdh@gnu.org>
7968
7969 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7970 error.
7971
ee97deee
SM
79722012-09-20 Stefan Merten <smerten@oekonux.de>
7973
70efc5c9 7974 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
7975 Fixes feature request bug#11711.
7976 (rst-mode): Create `imenu-create-index-function'.
7977 (rst-get-stripped-line): Delete after refactoring.
7978 (rst-section-tree, rst-section-tree-rec)
7979 (rst-section-tree-point): Refactor and document properly.
7980 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
7981 (rst-imenu-convert-cell, rst-imenu-create-index):
7982 New function.
ee97deee 7983
f490dab9
SM
79842012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7985
95b9712e
SM
7986 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7987 (macroexp--expand-all): Use it.
7988 (macroexp--funcall-and-return): Remove by folding it into its sole
7989 caller (macroexp--warn-and-return).
7990 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7991 Use macroexp--obsolete-warning.
7992
f490dab9
SM
7993 * calc/calc.el: Fix last change by removing the whole chunk, since it
7994 was only needed back when Calc was not bundled.
7995
96e8d411
MR
79962012-09-20 Martin Rudalics <rudalics@gmx.at>
7997
7998 * emacs-lisp/debug.el (debug): Restore assignment to
7999 debugger-old-buffer removed on 2012-09-08.
8000
0876a82d
JL
80012012-09-20 Juri Linkov <juri@jurta.org>
8002
8003 * dired-aux.el (dired-diff): Remove (require 'diff) since
8004 `diff-latest-backup-file' is now autoloaded.
8005
9f7c28f0
CY
80062012-09-20 Chong Yidong <cyd@gnu.org>
8007
8008 * vc/diff.el (diff-latest-backup-file): Autoload.
8009
7a04bee9
SM
80102012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8011
e6f0a80d
SM
8012 * calc/calc.el: Remove redundant autoload shape check.
8013 (sel-mode): Don't defvar.
8014 (calc-get-stack-element): Add `sel-mode' arg instead.
8015 (calc-top, calc-top-list): Pass it this additional argument.
8016 * calc/calc-store.el (calc-store-map):
8017 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8018 (calc-map-equation, calc-outer-product, calc-inner-product):
8019 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8020
7a04bee9
SM
8021 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8022
12734222
JL
80232012-09-19 Juri Linkov <juri@jurta.org>
8024
8025 * dired-aux.el (dired-diff): Add (require 'diff) because
8026 `diff-latest-backup-file' is not autoloaded.
8027 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8028 of `dired-get-filename' to t to not report error when there is
8029 no default file on the current line.
8030
46624b4f
SM
80312012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8032
ce97595b
SM
8033 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8034 macroexp--eval-if-compile.
8035 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8036 (macroexp--expand-all): Use them (bug#12371).
8037
46624b4f
SM
8038 * doc-view.el (doc-view-guess-paper-size)
8039 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8040
db8a5a18
TH
80412012-09-19 Tassilo Horn <tsdh@gnu.org>
8042
8043 New feature: set optimal slice from BoundingBox information.
8044 * doc-view.el (doc-view-mode-map): Add keybinding.
8045 (doc-view-menu): Add menu entry.
8046 (doc-view-set-slice): Adapt docstring.
8047 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8048 (doc-view-scale-bounding-box)
8049 (doc-view-set-slice-from-bounding-box): New functions.
8050 (doc-view-paper-sizes): New defvar.
8051
69f6644c
GM
80522012-09-19 Glenn Morris <rgm@gnu.org>
8053
35f5b19d
GM
8054 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8055 (byte-compile-log-warning): Autoload. (Bug#12371)
8056
69f6644c
GM
8057 * calendar/calendar.el (calendar-american-month-header)
8058 (calendar-european-month-header, calendar-iso-month-header)
8059 (calendar-month-header): New options.
8060 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8061 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8062
e543ae91
JD
80632012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8064
8065 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8066
2fd5e67d
JL
80672012-09-18 Juri Linkov <juri@jurta.org>
8068
8069 * dired-aux.el (dired-diff): Restore original functionality of
8070 getting the default value, but keep new feature of using the
8071 latest existing backup file (`diff-latest-backup-file').
8072
42917e79
JL
80732012-09-18 Juri Linkov <juri@jurta.org>
8074
8075 * dired.el (dired-mark): If the region is active in Transient Mark
8076 mode, mark all files in the active region. Doc fix.
8077 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8078 Doc fix. (Bug#10624)
8079
20f70ede
JL
80802012-09-18 Juri Linkov <juri@jurta.org>
8081
8082 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8083 attributes for M-n are pulled from the file at point.
8084 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8085 Suggested by Drew Adams. (Bug#10624)
8086
32fb8162
DG
80872012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8088
8089 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8090 whitespace after "end".
8091 (ruby-do-end-to-brace): Collapse block to one line if it fits
8092 within fill-column.
8093
37ab5092
MR
80942012-09-18 Martin Rudalics <rudalics@gmx.at>
8095
8096 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8097 value.
8098 (debug): Don't remove debugger window when debugger is expected
8099 to be back.
8100
ed1f0bd3
CY
81012012-09-18 Chong Yidong <cyd@gnu.org>
8102
8103 * custom.el (defface): Doc fix.
8104
8105 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8106
a11035b8
MB
81072012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8108
8109 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8110 to initialize query-on-exit; then test that instead (bug#12288).
8111
64f6a736
SM
81122012-09-17 Stefan Merten <smerten@oekonux.de>
8113
70efc5c9 8114 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
8115 (rst-defcustom-testcover, rst-testcover-add-compose)
8116 (rst-testcover-add-1value): New functions.
8117 (rst-portable-mark-active-p): Replace by `use-region-p'.
8118 (rst-update-section, rst-classify-adornment)
8119 (rst-find-title-line): Mark `1value' forms.
8120 (rst-classify-adornment): Remove superfluous form.
8121 (rst-update-section, rst-get-adornments-around)
8122 (rst-adornment-complete-p, rst-get-next-adornment)
8123 (rst-adjust, rst-promote-region)
8124 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8125 (rst-find-pfx-in-region, rst-section-tree-rec)
8126 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8127 (rst-toc-node, rst-toc, rst-forward-section)
8128 (rst-iterate-leftmost-paragraphs)
8129 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8130 (rst-bullet-list-region)
8131 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8132 (rst-compile-find-conf, rst-compile)
8133 (rst-repeat-last-character): Fix style.
8134
580bd868
CY
81352012-09-17 Chong Yidong <cyd@gnu.org>
8136
8137 * comint.el (comint--complete-file-name-data): Don't add a space
8138 if the status is `sole'; that adds a gratuitous space in the
8139 completion-cycling case (Bug#12092).
8140
8141 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8142
69de3ec6
RS
81432012-09-17 Richard Stallman <rms@gnu.org>
8144
0dee970c
RS
8145 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8146 only in the mime-shown mode, not in raw mode.
8147 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 8148 mime processing. (Bug#12305)
0dee970c 8149
6b250df6
GM
8150 * mail/rmail.el (rmail-retry-failure):
8151 Turn off mime processing first. (Bug#12037)
acb1c47b 8152
69de3ec6
RS
8153 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8154
d079ee5f
CY
81552012-09-17 Chong Yidong <cyd@gnu.org>
8156
8157 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8158 (shell-dynamic-complete-functions): Convert to defcustom.
8159 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8160
865fe16f
CY
8161 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8162 * comint.el (comint-prompt-read-only):
8163 * custom.el (defcustom):
8164 * hi-lock.el (hi-lock-mode):
8165 * ibuffer.el (ibuffer-formats):
8166 * ielm.el (ielm-prompt-read-only):
8167 * novice.el (disable-command):
8168 * saveplace.el (toggle-save-place):
8169 * speedbar.el (speedbar-supported-extension-expressions):
8170 * startup.el (auto-save-list-file-prefix, init-file-user)
8171 (after-init-hook, inhibit-startup-echo-area-message):
8172 * strokes.el (strokes-help):
8173 * time-stamp.el (time-stamp):
8174 * calendar/calendar.el (calendar, diary-file):
8175 * calendar/diary-lib.el (diary-mail-entries, diary)
8176 (diary-list-entries-hook):
8177 * calendar/holidays.el (holidays, calendar-holidays):
8178 * calendar/lunar.el (lunar-phases):
8179 * calendar/solar.el (sunrise-sunset):
8180 * emulation/edt.el (edt-load-keys):
8181 * emulation/viper.el (viper-mode):
8182 * eshell/em-alias.el (eshell-command-aliases-list):
8183 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8184 * international/ogonek.el (ogonek-information):
8185 * net/tramp-cmds.el (tramp-bug):
8186 * net/quickurl.el (quickurl-reread-hook-postfix):
8187 * play/decipher.el (decipher-font-lock-keywords):
8188 * progmodes/cc-styles.el (c-set-style):
8189 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8190 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8191 * progmodes/octave-mod.el (octave-mode):
8192 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8193 * progmodes/verilog-mode.el (verilog-read-defines):
8194 * textmodes/two-column.el (2C-mode): Likewise.
8195
48093eb9
KY
81962012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8197
8198 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8199 that holds many addresses.
8200
c584eaf9
CY
82012012-09-16 Chong Yidong <cyd@gnu.org>
8202
40d70ecb
CY
8203 * align.el (align-areas): Call the indication function with
8204 positions instead of markers for arguments (Bug#12343).
8205
1667e065
CY
8206 * files.el (parse-colon-path): Use split-string (Bug#12351).
8207
fdc2806d 8208 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 8209 (display-buffer-function): Mark as obsolete.
fdc2806d 8210
f1be615c 8211 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
8212 values similar to font-lock-keywords (Bug#12136).
8213 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
8214 (compilation-error-regexp-alist): Doc fix.
8215
f40a9709
GM
82162012-09-15 Glenn Morris <rgm@gnu.org>
8217
72aa16e1
GM
8218 * version.el (emacs-bzr-version-bzr): New function.
8219 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8220
82375160
GM
8221 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8222 checkouts, check the parent dirstate matches the branch.
8223 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8224 empty string.
8225
f40a9709
GM
8226 * version.el (emacs-bzr-version): Doc fix.
8227 (emacs-bzr-version-dirstate): New function.
8228 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8229 is local try and check that it matches the branch. If not, just
8230 use dirstate information. (Bug#12441)
8231
cb26b7f5
JL
82322012-09-14 Juri Linkov <juri@jurta.org>
8233
8234 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8235 (Bug#12399)
8236
2de39f08
SM
82372012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8238
0fb3cb7c
SM
8239 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8240
2de39f08
SM
8241 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8242 Remove obsolete byte-compiler hack that tried to silence some warnings.
8243 (edebug-submit-bug-report): Remove.
8244 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8245 Remove aliases, use the un-prefixed name instead.
8246 (edebug-pop-to-buffer): Consider other frames.
8247 (edebug-original-read):: Make it more obvious that it's always defined.
8248 (edebug--make-form-data-entry, edebug--form-data-name)
8249 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8250 single-dashed name, and implement with cl-defstruct.
8251 (edebug-set-form-data-entry): Use the standard accessors.
8252 (edebug-make-top-form-data-entry): Use push.
8253 (edebug-no-match): Drop useless `funcall'.
8254 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8255 to functions.
8256 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8257 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8258 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8259 (easy-menu-define, with-custom-print): Remove redundant specs.
8260 (edebug-outside-overriding-local-map)
8261 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8262 (edebug--display): Bind unread-command-events directly to nil rather
8263 than binding it to unread-command-events and later setting it to nil.
8264 (edebug--display): Kill edebug-eval-buffer here...
8265 (edebug--recursive-edit): ...rather than here.
8266 Bind standard-output and standard-input.
8267 (edebug-eval): Check cl-macroexpand-all is fboundp.
8268 (edebug-temp-display-freq-count): Fix last change.
8269
8270 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8271 * subr.el (noreturn, 1value): Add `debug' spec.
8272 * emacs-lisp/advice.el: Require cl-lib.
8273 (ad-copy-tree): Remove, use copy-tree instead.
8274 (ad-dolist): Remove use dolist or cl-dolist instead.
8275 (ad-do-return): Remove, use cl-return instead.
8276 (defadvice): Add `debug' spec.
8277
5b68b333
JL
82782012-09-13 Juri Linkov <juri@jurta.org>
8279
8280 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8281 (Bug#12399)
8282
b9800ec4
GM
82832012-09-13 Glenn Morris <rgm@gnu.org>
8284
6a2e6868
GM
8285 * calc/calc.el (math-compose-expr):
8286 * calc/calc-ext.el (math-compose-expr):
8287 * progmodes/cc-defs.el (cl-macroexpand-all):
8288 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8289 (cl-macroexpand-all): Update declarations.
8290
b9800ec4
GM
8291 * vc/vc.el: No need to require ediff.
8292 (ediff-load-version-control): Declare.
8293 (ediff-vc-internal): Fix declaration.
8294 (vc-version-ediff): Require ediff.
8295
c18e885b
PE
82962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8297
8298 Use a more backwards-compatible timer format (Bug#12430).
8299 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8300 being right after USECS, as that better supports old code that
8301 inadvisedly looked directly at the timer vector.
8302
d607d303
KH
83032012-09-13 Kenichi Handa <handa@gnu.org>
8304
8305 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8306 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8307 `coding-priority' property of these language environment.
8308
72eac303
PE
83092012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8310
8311 Fix glitches caused by addition of psec to timers (Bug#12430).
8312 * image.el (image-animate-timer):
8313 * time.el (display-time-world-timer):
8314 Use timer--function and timer--args rather than raw access to
8315 timer vector.
8316
2168fe4f
GM
83172012-09-13 Glenn Morris <rgm@gnu.org>
8318
8319 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8320 If not compiling a file, try using load-file-name.
8321
bd8d6108
SM
83222012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8323
c0c54fbd
SM
8324 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8325 Fix last change.
8326 (edebug-update-eval-list): Use `push'.
8327
bd8d6108
SM
8328 * emacs-lisp/edebug.el: Use lexical-binding.
8329 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8330 Mark unused args with underscore.
8331 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8332 (edebug-form-data): Use defvar-local.
8333 (edebug-make-before-and-after-form, edebug-make-after-form):
8334 Use backquote.
8335 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8336 Not dynamically scoped any more.
8337 (edebug--enter-trace): Add arguments `function' and `args'.
8338 Rename from edebug-enter-trace.
8339 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8340 (edebug--update-coverage): Add `after-index' and `value' args.
8341 Rename from edebug-update-coverage.
8342 (edebug-slow-after): Call it accordingly.
8343 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8344 edebug-recursive-edit.
8345 (edebug--display): Call it accordingly. Add args `value',
8346 `offset-index', and `arg-mode'. Rename from edebug-display.
8347 (edebug-debugger, edebug): Call it accordingly.
8348 (edebug-eval-display-list): Use dolist.
8349
a9f9d9de
JL
83502012-09-12 Juri Linkov <juri@jurta.org>
8351
8352 * info.el (Info-search): Don't check for isearch-mode and
8353 isearch-regexp before let-binding search-spaces-regexp to
8354 Info-search-whitespace-regexp.
8355 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8356 search-whitespace-regexp if isearch-lax-whitespace or
8357 isearch-regexp-lax-whitespace is non-nil.
8358 (Info-mode): Don't set local variable search-whitespace-regexp.
8359 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8360
bfeae2cf
SM
83612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8364 (debugger-env-macro): Remove support for unread-command-char.
8365
8366 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8367 the temporary map re-appearing on emulation-mode-map-alists.
8368
8369 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8370 since 22.1.
8371
8372 * ehelp.el (with-electric-help): Accept functions in
8373 electric-help-form-to-execute.
8374 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8375 And replace unread-command-char -> unread-command-events.
8376
fbbcaf1b
MA
83772012-09-12 Michael Albinus <michael.albinus@gmx.de>
8378
8379 Sync with Tramp 2.2.6.
8380
8381 * net/tramp.el (tramp-accept-process-output): Don't use
8382 JUST-THIS-ONE in the XEmacs case.
8383
8384 * net/trampver.el: Update release number.
8385
4dece104
MR
83862012-09-12 Martin Rudalics <rudalics@gmx.at>
8387
bfeae2cf
SM
8388 * emacs-lisp/debug.el (debugger-previous-window-height):
8389 New variable.
4dece104
MR
8390 (debug): When debugger-jumping-flag is non-nil try to restore
8391 height of debugger window. (Bug#8789)
8392
45b82ad0
SM
83932012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8394
60c49c0f
SM
8395 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8396 overriding-local-map and pre/post-command-hook here.
8397 (edebug-recursive-edit): Do it here instead (bug#12345).
8398 (edebug-outside-unread-command-char): Remove all uses of
8399 unread-command-char.
8400
45b82ad0
SM
8401 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8402 inhibit-debugger is bound instead.
8403
baa26ea0
BG
84042012-09-11 Bastien Guerry <bzg@gnu.org>
8405
8406 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 8407 (Bug#12346)
baa26ea0 8408
04e8abfa
BG
84092012-09-11 Bastien Guerry <bzg@gnu.org>
8410
96d03571 8411 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 8412 (Bug#12347)
96d03571
BG
8413
84142012-09-11 Bastien Guerry <bzg@gnu.org>
8415
fc0c31f8 8416 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 8417
04e082b0
MM
84182012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8419
8420 * progmodes/sql.el: Version 3.1
8421 (sql-db2-escape-newlines): New variable.
8422 (sql-escape-newlines-filter): Use it.
8423
399a361b
JB
84242012-09-10 Juanma Barranquero <lekktu@gmail.com>
8425
8426 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8427
0780c517
DN
84282012-09-10 Dan Nicolaescu <dann@gnu.org>
8429
45b82ad0
SM
8430 * vc/diff-mode.el (diff-mode-menu):
8431 Bind diff-remove-trailing-whitespace.
0780c517 8432
9b851e25
SM
84332012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
8436 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8437 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
8438 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8439 (eval-defun-2): Remove bogus interactive spec.
8440 (lisp-indent-line): Remove redundant whole-exp code, now done in
8441 indent-according-to-mode.
8442 (save-match-data): Remove redundant indent data.
8443
8444 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8445 Use `declare'.
8446
3231d532
JL
84472012-09-09 Juri Linkov <juri@jurta.org>
8448
8449 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8450 (replace-lax-whitespace, query-replace-regexp)
8451 (query-replace-regexp-eval, replace-regexp): Doc fix.
8452 (perform-replace, replace-highlight): Let-bind
8453 isearch-lax-whitespace to replace-lax-whitespace and
8454 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8455
8456 * isearch.el (isearch-query-replace): Let-bind
8457 replace-lax-whitespace to isearch-lax-whitespace and
8458 replace-regexp-lax-whitespace to
8459 isearch-regexp-lax-whitespace. (Bug#10885)
8460
70fe8236
SM
84612012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8464
8ed43f15
AM
84652012-09-09 Alan Mackenzie <acm@muc.de>
8466
70fe8236
SM
8467 * progmodes/cc-engine.el (c-state-cache-init):
8468 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8469 (c-record-parse-state-state):
8470 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 8471
bfabf70a
AS
84722012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8473
8474 * register.el (register-separator): Rename from
8475 separator-register. All uses changed. Doc fix.
8476 (register): Fix version.
8477
011474aa
CY
84782012-09-09 Chong Yidong <cyd@gnu.org>
8479
8480 * replace.el (query-replace-map): Bind four new symbols for
8481 requesting window scrolling.
8482
8483 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8484 query-replace-map (Bug#8948).
8485
8486 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8487
8488 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8489 since they are now in query-replace-map.
8490
8491 * window.el (scroll-other-window-down): Make the arg optional.
8492
a8b7cd8d
CY
84932012-09-09 Chong Yidong <cyd@gnu.org>
8494
8495 * files.el (hack-local-variables-confirm): Use quit-window to kill
8496 the *Local Variables* buffer.
8497
c3268831
DG
84982012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8499
8500 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8501 not just expect to be at its beginning. Adjust callees.
8502 Succeed when do-end block has no space before the pipe character.
8503 (ruby-brace-to-do-end): When the original block is one-liner,
8504 convert to multiline. Reindent the result.
8505
0979429b
J
85062012-09-08 Jambunathan K <kjambunathan@gmail.com>
8507
8508 * register.el (register): New group.
27359e99 8509 (separator-register): New user option.
0979429b
J
8510 (increment-register): Route it to `append-to-register', if
8511 register contains text. Implication is that `C-x r +' can now be
8512 used for appending to a text register (bug#12217).
8513 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 8514 `separator-register'.
0979429b 8515
ace2989a
AM
85162012-09-08 Alan Mackenzie <acm@muc.de>
8517
8518 AWK Mode: make auto-newline work when there's "==" in the pattern.
8519 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8520 correctly.
0979429b
J
8521 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8522 Test more rigorously for "=" token.
ace2989a 8523
616c6c36
DG
85242012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8525
0979429b
J
8526 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8527 Only fail when reached LIMIT.
616c6c36 8528
35d98877
CY
85292012-09-08 Chong Yidong <cyd@gnu.org>
8530
8531 * dired.el (dired-mode-map): Don't bind M-=.
8532
8533 * dired-aux.el (dired-diff): Use backup file as default.
8534
1715f2db
DA
85352012-09-08 Drew Adams <drew.adams@oracle.com>
8536
8537 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8538
6dcef6ec
CY
85392012-09-08 Chong Yidong <cyd@gnu.org>
8540
8541 * subr.el (syntax-after, syntax-class): Doc fix.
8542
fa2bcf43
MR
85432012-09-08 Martin Rudalics <rudalics@gmx.at>
8544
8545 * window.el (display-buffer-in-previous-window): New buffer
8546 display action function.
8547
8548 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8549 (debugger-previous-window): New variable.
8550 (debug): Rewrite using display-buffer-in-previous-window,
8551 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8552
daac280a
SM
85532012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8556
9dd40b00
MM
85572012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8558
daac280a
SM
8559 * progmodes/python.el (python-shell-send-string):
8560 When default-directory is remote, create temp file on remote
9dd40b00
MM
8561 filesystem.
8562 (python-shell-send-file): When file is remote, pass local view of
8563 file paths to remote Python interpreter. (Bug#12340)
8564
145823ec
CY
85652012-09-07 Chong Yidong <cyd@gnu.org>
8566
cee2e90d
CY
8567 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8568
0d7eb2ea
CY
8569 * files.el (after-find-file): Don't fail on a read-only buffer if
8570 require-final-newline is `visit' or `visit-save' (Bug#11156).
8571
145823ec
CY
8572 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8573
daac280a
SM
8574 * userlock.el (ask-user-about-supersession-threat):
8575 Use read-char-choice (Bug#12093).
145823ec 8576
74c582e6
CY
85772012-09-07 Chong Yidong <cyd@gnu.org>
8578
e5c2edf7
CY
8579 * subr.el (buffer-narrowed-p): New function.
8580
8581 * ses.el (ses-widen):
8582 * simple.el (count-words--buffer-message):
1f9f395d 8583 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
8584
8585 * simple.el (count-words-region): Don't signal an error if there
8586 is a non-nil prefix arg and the mark is not set.
c640e87d 8587
74c582e6
CY
8588 * help.el (describe-key-briefly): Allow the message to be seen
8589 when invoked from the minibuffer (Bug#7014).
8590
d81ceaaf
DG
85912012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8592
8593 * progmodes/ruby-mode.el (ruby-end-of-defun)
8594 (ruby-beginning-of-defun): Simplify, allow indentation before
8595 block beginning and end keywords.
8f06acce
DG
8596 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8597 (ruby-end-of-defun): Expect that the point is at the beginning of
8598 the defun.
d81ceaaf 8599
d458ef98
SM
86002012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8603 (bug#12367).
8604 (cl--make-usage-args): Strip _ from argument names.
8605
20367d28
RS
86062012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8607
8608 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8609 obsolete alias speedbar-key-map.
8610 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8611 (vhdl-index-menu-init): Don't use obsolete variable
8612 font-lock-maximum-size.
8613
3424a4f6
CY
86142012-09-06 Chong Yidong <cyd@gnu.org>
8615
8616 * frame.el (window-system-version): Mark as obsolete.
8617
fcbfbdea
CY
8618 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8619 of obsolete variable speedbar-key-map.
8620
826b3235
JL
86212012-09-06 Juri Linkov <juri@jurta.org>
8622
8623 * replace.el (replace-lax-whitespace): New defcustom.
8624 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8625 (replace-string, replace-regexp): Mention it in docstrings.
8626 (perform-replace, replace-highlight): Let-bind
8627 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8628 to the values of replace-lax-whitespace and regexp-flag.
8629 Don't let-bind search-whitespace-regexp. (Bug#10885)
8630
8631 * isearch.el (isearch-query-replace): Let-bind
8632 replace-lax-whitespace instead of let-binding
8633 replace-search-function and replace-re-search-function.
8634 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8635 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8636 (isearch-toggle-symbol): Set isearch-regexp to nil
8637 in isearch-word mode (like in isearch-toggle-word).
8638
1ec5e41d
JL
86392012-09-06 Juri Linkov <juri@jurta.org>
8640
8641 * replace.el (replace-search-function)
8642 (replace-re-search-function): Set default values to nil.
8643 (perform-replace): Let-bind isearch-related variables based on
8644 replace-related values, call `isearch-search-fun' and let-bind
8645 the result to `search-function'. Remove code that sets
8646 `search-function' and `search-string' separately for
8647 `delimited-flag'.
8648 (replace-highlight): Add new argument `delimited-flag' and
8649 rename other arguments to the names used in `perform-replace'.
8650 Let-bind `isearch-word' to the argument `delimited-flag'.
8651 (Bug#10885, bug#10887)
8652
0ba2d4b6
DG
86532012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8654
8655 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8656 ruby-beginning-of-indent, simplify, allow all keywords to have
8657 indentation before them.
8658 (ruby-beginning-of-indent): Adjust for above. Search until the
8659 found point is not inside a string or comment.
8660 (ruby-font-lock-keywords): Allow symbols to start with "@"
8661 character, give them higher priority than variables.
8662 (ruby-syntax-propertize-function)
8663 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8664 matchers. Expression expansions are not comments when inside a
8665 string, and there comment syntax status is irrelevant.
8666 (ruby-match-expression-expansion): New function. Check that
8667 expression expansion is inside a string, and it's not escaped.
8668 (ruby-font-lock-keywords): Use it.
8669
ef654460
MR
86702012-09-05 Martin Rudalics <rudalics@gmx.at>
8671
8672 * help.el (temp-buffer-max-height): New default value.
8673 (temp-buffer-resize-frames): New option.
8674 (resize-temp-buffer-window): Optionally resize frame.
8675
8676 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8677 (fit-frame-to-buffer): New function.
8678
7e570fbf 86792012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
8680
8681 * emulation/cua-rect.el (cua--init-rectangles):
8682 * textmodes/picture.el (picture-mode-map):
8683 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8684 like forward-char and backward-char. (Bug#12317)
8685
7e570fbf 86862012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
8687
8688 * progmodes/flymake.el (flymake-warning-re): New variable.
8689 (flymake-parse-line): Use it.
8690
7e570fbf 86912012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
8692
8693 * calendar/holidays.el (holiday-christian-holidays):
8694 Rename an entry. (Bug#12289)
8695
7e570fbf 86962012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
8697
8698 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8699 (bug#12222).
8700
972debf2
SM
87012012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * loadup.el: Load macroexp. Remove hack.
8704 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8705 (macroexp--expand-all): Use it to get better warnings.
8706 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8707 (internal-macroexpand-for-load): New functions.
8708 (macroexp--pending-eager-loads): New var.
8709 (emacs-startup-hook): New hack to replace one in loadup.el.
8710 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8711 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8712 (cl-psetf): Simplify.
8713 (cl-defstruct): Add indent rule.
8714
8ce192e3
LI
87152012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8716
8717 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8718 over `user-mail-address' for the SMTP MAIL FROM envelope.
8719 (smtpmail-via-smtp): Ditto.
8720
6578b4d8
DG
87212012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8722
8723 * progmodes/ruby-mode.el: Clean up keybindings.
8724 (ruby-mode-map): Don't bind ruby-electric-brace,
8725 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8726 backward-kill-word, reindent-then-newline-and-indent.
8727 (ruby-mark-defun): Remove.
8728 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8729 (ruby-mode): Set local beginning-of-defun-function and
8730 end-of-defun-function values.
8731
c5e28e39
MR
87322012-09-03 Martin Rudalics <rudalics@gmx.at>
8733
8734 * window.el (temp-buffer-window-setup-hook)
8735 (temp-buffer-window-show-hook): New hooks.
8736 (temp-buffer-window-setup, temp-buffer-window-show)
8737 (with-temp-buffer-window): New functions.
972debf2
SM
8738 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8739 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
8740
8741 * help.el (temp-buffer-resize-mode): Fix doc-string.
8742 (resize-temp-buffer-window): New optional argument WINDOW.
8743
8744 * files.el (recover-file, save-buffers-kill-emacs):
8745 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8746
73406194
MA
87472012-09-02 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8750 remote definition of `default-directory', ensure we can connect.
8751
63dd1c6f
JL
87522012-09-02 Juri Linkov <juri@jurta.org>
8753
8754 Toggle whitespace matching mode with M-s SPC.
8755 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8756
8757 * isearch.el (search-whitespace-regexp): Doc fix.
8758 Remove cons cell customization.
8759 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8760 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8761 New variables.
8762 (isearch-forward, isearch-forward-regexp): Doc fix.
8763 (isearch-toggle-lax-whitespace): New command.
8764 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8765 (re-search-forward-lax-whitespace)
8766 (re-search-backward-lax-whitespace): New functions.
8767 (isearch-whitespace-regexp): Remove function.
8768 (isearch-query-replace): Let-bind replace-search-function and
8769 replace-re-search-function.
8770 (isearch-occur): Let-bind search-spaces-regexp according to the
8771 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8772 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8773 condition for C-q SPC.
8774 (isearch-search-fun-default): Use new functions mentioned above.
8775 (isearch-search-forward, isearch-search-backward): Remove functions.
8776 (isearch-search): Don't let-bind search-spaces-regexp.
8777 (isearch-lazy-highlight-space-regexp): Remove variable.
8778 (isearch-lazy-highlight-lax-whitespace)
8779 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8780 (isearch-lazy-highlight-new-loop): Use them.
8781 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8782
af7dda05
CY
87832012-09-02 Chong Yidong <cyd@gnu.org>
8784
8785 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8786
d67d3afd
GM
87872012-09-02 Glenn Morris <rgm@gnu.org>
8788
8789 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8790
69678719
GM
87912012-09-01 Glenn Morris <rgm@gnu.org>
8792
8793 * term.el: Tidy up menu definitions.
8794 (term-mode-map): Use easymenu for In/Out, Complete menus.
8795 (term-pager-break-map): Initialize in the defvar.
8796 (term-terminal-menu, term-signals-menu): Define with easymenu.
8797 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8798 (term-pager-menu): New, extracted from term-process-pager.
8799 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8800 (term-update-mode-line): Propertize line/char and page items.
8801 (term-process-pager): Move keymap initialization elsewhere.
8802
78dd6ab1
MR
88032012-09-01 Martin Rudalics <rudalics@gmx.at>
8804
8805 * window.el (switch-to-prev-buffer): Handle additional values of
8806 BURY-OR-KILL argument. Don't switch in minibuffer window.
8807 (switch-to-next-buffer): Don't switch in minibuffer window.
8808 (quit-restore-window): New function based on quit-window.
8809 Handle additional values of former KILL argument.
8810 (quit-window): Call quit-restore-window with appropriate
8811 interpretation of KILL argument.
8812 (display-buffer-below-selected): New buffer display action
8813 function.
8814
3d10e134
SM
88152012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * minibuffer.el (completion-at-point-functions): Complete docstring
8818 (bug#12254).
8819
0e23ef9d
PE
88202012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8821
8822 Better seed support for (random).
8823 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8824 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8825 * play/mpuz.el, play/tetris.el, play/zone.el:
8826 * calc/calc-comb.el (math-init-random-base):
8827 * play/blackbox.el (bb-init-board):
8828 * play/life.el (life):
8829 * server.el (server-use-tcp):
8830 * type-break.el (type-break):
8831 Remove unnecessary call to (random t).
8832 * net/sasl.el (sasl-unique-id-function):
8833 Change (random t) to (random), now that the latter is more random.
8834 * play/life.el (life-initialized): Remove no-longer-needed var.
8835
862382df
MR
88362012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8837
8838 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8839 Consider frame's buffer predicate when choosing the buffer.
8840 (Bug#12081)
8841
262a66e1
RS
88422012-08-30 Richard Stallman <rms@gnu.org>
8843
8844 * simple.el (special-mode-map): Delete binding for `z'.
8845
f17e1d00
AS
88462012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8847
8848 * progmodes/compile.el (compilation-always-kill): Doc fix.
8849
24777832
CY
88502012-08-30 Chong Yidong <cyd@gnu.org>
8851
8852 * window.el (display-buffer-reuse-frames): Make the obsolescence
8853 message more informative.
8854
69ba1f04
GM
88552012-08-30 Glenn Morris <rgm@gnu.org>
8856
8857 * paren.el (show-paren-delay):
8858 Add a :set function. Doc fix. (Bug#12297)
8859
f0019ede
MB
88602012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8861
8862 * progmodes/compile.el (compilation-always-kill): New var.
8863 (compilation-start): Use it.
8864
35e62fc9
SM
88652012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8866
af070a1c
SM
8867 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8868 * files.el (read-only-mode): Move to simple.el.
8869
35e62fc9
SM
8870 * files.el (read-only-mode): New minor mode.
8871 (toggle-read-only): Use it and mark obsolete.
8872 (find-file--read-only):
8873 * vc/vc.el (vc-next-action, vc-checkout):
8874 * vc/vc-cvs.el (vc-cvs-checkout):
8875 * obsolete/vc-mcvs.el (vc-mcvs-update):
8876 * ffap.el (ffap--toggle-read-only): Update callers.
8877
c2c43c23
MA
88782012-08-29 Michael Albinus <michael.albinus@gmx.de>
8879
8880 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
8881 remote shell scripts.
8882 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
8883
8884 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8885 "/usr/local/sbin".
8886
9fba804b
SM
88872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8890
eada0861 88912012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 8892
806f0cc7
LL
8893 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8894 completion-at-point. (Bug#12220)
8895
3bb213b9
LL
8896 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8897
22ab32ef
LL
8898 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8899
eada0861 89002012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 8901
19c17fc1
CY
8902 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8903 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 8904
eada0861 89052012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
8906
8907 * progmodes/hideif.el (hif-compress-define-list):
8908 Fix typo. (Bug#11951)
8909
eada0861 89102012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
8911
8912 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8913 buffer local setting.
8914
27d6c5a8
LL
8915 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8916 rcirc-encode-coding-system.
8917
eada0861 89182012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
8919
8920 * net/rcirc.el (rcirc-split-message): New function.
8921 (rcirc-send-message): Use it. (Bug#12051)
8922
d44688e4
JL
89232012-08-28 Juri Linkov <juri@jurta.org>
8924
8925 * info.el (Info-fontify-node): Hide empty lines at the end of
8926 the node. (Bug#12272)
8927
34f10d41
MR
89282012-08-27 Drew Adams <drew.adams@oracle.com>
8929
8930 * dired.el (dired-pop-to-buffer): Make window start at beginning
8931 of buffer (Bug#12281).
8932
77f1f99c
CY
89332012-08-26 Chong Yidong <cyd@gnu.org>
8934
8935 * window.el (special-display-regexps, special-display-frame-alist)
8936 (special-display-buffer-names, special-display-function)
8937 (display-buffer-reuse-frames): Mark as obsolete.
8938
8939 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8940
8941 * help.el (help-print-return-message): Don't treat
8942 display-buffer-reuse-frames specially.
8943
d97af5a0
CY
89442012-08-26 Chong Yidong <cyd@gnu.org>
8945
9fba804b
SM
8946 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8947 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
8948 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8949 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8950 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8951 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8952 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8953 the functions directly with gdb-display-buffer-other-frame-action.
8954 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8955 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8956 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8957 (gdb-display-registers-buffer): Define directly.
8958 (def-gdb-display-buffer): Macro deleted.
8959 (gdb-display-buffer): Remove second and third args, callers don't
8960 use them. Defer to the default display-buffer behavior, apart
8961 from making windows dedicated.
8962 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8963
8964 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8965
8966 * window.el (display-buffer-pop-up-frame): Handle a
8967 pop-up-frame-parameters alist entry.
8968 (display-buffer): Document it.
8969
dd7ffad6
CY
89702012-08-26 Chong Yidong <cyd@gnu.org>
8971
8972 * isearch.el (search-whitespace-regexp): Make string and nil
8973 values apply to both ordinary and regexp search. Allow a cons
8974 cell value to distinguish between the two.
8975 (isearch-whitespace-regexp, isearch-search-forward)
8976 (isearch-search-backward): New functions.
8977 (isearch-occur, isearch-search-fun-default, isearch-search)
8978 (isearch-lazy-highlight-new-loop): Use them.
8979 (isearch-forward, isearch-forward-regexp): Doc fix.
8980
4c47bd1e
CY
89812012-08-26 Chong Yidong <cyd@gnu.org>
8982
8983 * faces.el (help-argument-name): Always inherit from italic
8984 (Bug#12213).
8985
9aba119d
MR
89862012-08-25 Martin Rudalics <rudalics@gmx.at>
8987
8988 * window.el (window--even-window-heights): Even heights when
8989 WINDOW and the selected window form a vertical combination.
8990 (display-buffer-use-some-window): Provide that window used gets
8991 sized back by quit-window. (Bug#11880) and (Bug#12091)
8992
ca5256ad
PE
89932012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8994
8995 Fix file time stamp problem with bzr and CVS (Bug#12001).
8996 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8997 in the file's time stamp, since the version control system loses
8998 that information.
8999
d1c0d176
JL
90002012-08-22 Juri Linkov <juri@jurta.org>
9001
9002 * info.el (Info-fontify-node): Hide the suffix of the
9003 Info file name in the header line. (Bug#12187)
9004
141562ff
GM
90052012-08-22 Glenn Morris <rgm@gnu.org>
9006
9007 * calendar/cal-tex.el (cal-tex-weekly-common):
9008 Restore leading blank page.
9009
3a21537c 90102012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
9011
9012 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
9013 the region under `shift-select-mode'. (Bug#12231)
9014
90152012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
9016
9017 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9018 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9019 gives details on why the space is never needed.
9020
ea95074e
MR
90212012-08-22 Martin Rudalics <rudalics@gmx.at>
9022
9fba804b
SM
9023 * window.el (walk-window-tree, window-with-parameter):
9024 New optional argument MINIBUF to control whether these functions
ea95074e
MR
9025 should run on the minibuffer window.
9026 (window-at-side-list): Don't operate on minibuffer window.
9027 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
9028 (window--size-ignore): Rename to window--size-ignore-p.
9029 Update callers.
caceae25
MR
9030 (display-buffer-in-atom-window, window--major-non-side-window)
9031 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
9032 (delete-side-window, display-buffer-in-side-window):
9033 New functions.
caceae25
MR
9034 (window--side-check, window-deletable-p, delete-window)
9035 (delete-other-windows, split-window): Handle side windows and
9036 atomic windows appropriately.
9037 (window--display-buffer): Call display-buffer-record-window also
9038 when the window buffer did not change.
ea95074e 9039
80a51fa0
CS
90402012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9041
9042 * help-fns.el (help-fns--key-bindings):
9043 Abbreviate non-symbol remap targets. (Bug#12174)
9044
fbb6300b
MR
90452012-08-22 Martin Rudalics <rudalics@gmx.at>
9046
9047 * dired.el (dired-mark-remembered): Don't clobber point.
9048 (Bug#11795)
9049
2b2c0794
GM
90502012-08-22 Glenn Morris <rgm@gnu.org>
9051
9052 * progmodes/bug-reference.el (bug-reference): New custom group.
9053 (bug-reference-bug-regexp): Make it a defcustom.
9054
37219830
DU
90552012-08-22 Daiki Ueno <ueno@unixuser.org>
9056
9057 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9058 (js-paren-indent-offset, js-square-indent-offset)
9059 (js-curly-indent-offset): Add :safe (Bug#12257).
9060
94e0e559
EC
90612012-08-22 Edward O'Connor <hober0@gmail.com>
9062
9063 * json.el (json-key-format): Add error properties.
9064 (json-encode-key): New function.
9065 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9066 Use json-encode-key.
9067
da485f5e
GM
90682012-08-22 Glenn Morris <rgm@gnu.org>
9069
9070 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9071 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9072 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9073 Update for above change.
9074
c6cc78b8
AS
90752012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9076
9077 * cus-face.el (custom-face-attributes): Fix customize type for the
9078 :underline attribute. (Bug#11805)
9079
5481664a
MR
90802012-08-21 Martin Rudalics <rudalics@gmx.at>
9081
9082 * window.el (window-point-1, set-window-point-1): Remove.
9083 (window-in-direction, record-window-buffer)
9084 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
9085 (window--state-get-1, display-buffer-record-window):
9086 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
9087 window-point and set-window-point respectively.
9088
6d74698e
GM
90892012-08-21 Glenn Morris <rgm@gnu.org>
9090
b7fa2691
GM
9091 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9092 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9093 Use it.
9094
52f56d5a
GM
9095 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9096 (cal-tex-shortday): New function.
9097 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9098 (cal-tex-cursor-filofax-daily): Use the above.
9099
9f1ee09e
GM
9100 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9101 New functions.
9102 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9103 (cal-tex-cursor-filofax-week): Use them.
9104
79858159
GM
9105 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9106 New constants.
9107 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9108 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9109
d346b2b4
GM
9110 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9111 (cal-tex-end-document): Don't rely on buffer name.
9112
b2403709
GM
9113 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9114 Use cal-tex-vspace.
9115 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9116 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
9117 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9118 Use cal-tex-arg.
b2403709 9119
1cebb5c0
GM
9120 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9121 (cal-tex-cursor-week, cal-tex-cursor-week2)
9122 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9123 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9124 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9125 (cal-tex-insert-preamble, cal-tex-b-document)
9126 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9127 Improve cal-tex-cmd usage.
9128
c68cd5d4
GM
9129 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9130 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9131 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9132 (cal-tex-weekly-paper): New function.
9133 (cal-tex-cursor-week, cal-tex-cursor-week2)
9134 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9135 (cal-tex-cursor-day): Use it.
9136
9dca4801
GM
9137 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9138 (cal-tex-cursor-filofax-week): Remove leading blank page.
9139
1941e134
GM
9140 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9141 Add autoload cookie. For now at least, don't use color, since
9142 no other cal-tex function does.
9143
6d74698e
GM
9144 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9145 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9146 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9147
64cde199
JL
91482012-08-21 Juri Linkov <juri@jurta.org>
9149
9150 * info.el (Info-file-attributes): New variable.
9151 (info-insert-file-contents): Add file attributes to
9152 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9153 `Info-toc-nodes' when previous modtime of the Info file is less
9154 than new modtime.
9155 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9156 of info.el. (Bug#12230)
9157
32757648
GM
91582012-08-20 Glenn Morris <rgm@gnu.org>
9159
9160 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9161 * calendar/holidays.el (calendar-holiday-list):
9162 Report errors with display-warning rather than beep'n'sleep.
9163
a32fbbcf
MA
91642012-08-20 Michael Albinus <michael.albinus@gmx.de>
9165
9166 * net/tramp.el (tramp-accept-process-output): Accept only output
9167 from PROC. Otherwise, process filters and sentinels might be
9168 confused. (Bug#12145)
9169
a05731a0
CY
91702012-08-20 Chong Yidong <cyd@gnu.org>
9171
9172 * descr-text.el (describe-text-properties-1): Use overlays-in to
9173 report on empty overlays (Bug#3322).
9174
36e8d1eb
GM
91752012-08-20 Glenn Morris <rgm@gnu.org>
9176
3d300447
GM
9177 * mail/rmailout.el (rmail-output-read-file-name):
9178 Trap and report errors in rmail-output-file-alist elements.
9179
36e8d1eb
GM
9180 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9181 since most non-font-lock faces are not also variables).
9182
b96e5814
ER
91832012-08-20 Edward Reingold <reingold@iit.edu>
9184
9185 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9186 New function. (Bug12160)
9187
7cef3569
GM
91882012-08-19 Glenn Morris <rgm@gnu.org>
9189
9190 * mail/rmailout.el (rmail-output-read-file-name):
9191 Fix previous change (when the alist is nil or does not match).
9192
17975d7f
CY
91932012-08-19 Chong Yidong <cyd@gnu.org>
9194
9195 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9196 (Bug#12228).
9197
2170b1bd
CY
91982012-08-18 Chong Yidong <cyd@gnu.org>
9199
9200 * simple.el (yank-handled-properties): New defcustom.
9201 (yank-excluded-properties): Add font-lock-face and category.
9202 (yank): Doc fix.
9203
9fba804b
SM
9204 * subr.el (remove-yank-excluded-properties):
9205 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
9206 and category is now done this way, instead of being hard-coded.
9207 (insert-for-yank-1): Remove font-lock-face handling.
9208 (yank-handle-font-lock-face-property)
9209 (yank-handle-category-property): New function.
9210
ee218151
GM
92112012-08-17 Glenn Morris <rgm@gnu.org>
9212
9213 * mail/rmailout.el (rmail-output-read-file-name):
9214 Check rmail-output-file-alist against the full message body
9215 in the correct rmail buffer. (Bug#12214)
9216
4a6bc3fd
MA
92172012-08-17 Michael Albinus <michael.albinus@gmx.de>
9218
9fba804b
SM
9219 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9220 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 9221
383dcbf9
CY
92222012-08-17 Chong Yidong <cyd@gnu.org>
9223
9224 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9225 font spec, set the font directly (Bug#3228).
9226
998c4a6a
MR
92272012-08-17 Martin Rudalics <rudalics@gmx.at>
9228
9229 * window.el (delete-window): Fix last fix.
9230
52162052
MR
92312012-08-16 Martin Rudalics <rudalics@gmx.at>
9232
9233 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
9234 (window-child, window-child-count, window-last-child)
9235 (window-normalize-window, window-combined-p)
9236 (window-combinations, window-atom-root, window-min-size)
9237 (window-sizable, window-sizable-p, window-size-fixed-p)
9238 (window-min-delta, window-max-delta, window--resizable)
9239 (window--resizable-p, window-resizable, window-total-size)
9240 (window-full-height-p, window-full-width-p, window-body-size)
9241 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9242 (minimize-window, window-deletable-p, delete-window)
9243 (delete-other-windows, set-window-buffer-start-and-point)
9244 (next-buffer, previous-buffer, split-window, balance-windows-2)
9245 (set-window-text-height, window-buffer-height)
9246 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
9247 (truncated-partial-width-window-p): Minor code adjustments.
9248 In doc-strings state whether the argument window has to denote a
85c2386b 9249 live, valid or any window.
52162052 9250
1c308380
PS
92512012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9252
9253 * progmodes/subword.el (subword-forward-function)
9254 (subword-backward-function, subword-forward-regexp)
9255 (subword-backward-regexp): New variables.
9256 (subword-forward, subword-forward-internal, subword-backward-internal):
9257 Use new variables, eg so that different "word" definitions
9258 can be easily used. (Bug#11411)
9259
94c9ece1
SM
92602012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9263 for composite selectors.
9264 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9265 operation just because we can't find a previous revision.
9266
f2045622
CY
92672012-08-15 Chong Yidong <cyd@gnu.org>
9268
9269 * frame.el (set-frame-font): Accept font objects.
9270
582db660
SM
92712012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9274
2f29c200
WJ
92752012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9276
456e62c2
WJ
9277 * man.el (Man-overstrike-face, Man-underline-face)
9278 (Man-reverse-face): Remove variables.
9279 (Man-overstrike, Man-underline, Man-reverse): New faces.
9280 (Man-fontify-manpage): Use them instead of the variables.
9281 (Man-cleanup-manpage): Comment change.
9282 (Man-ansi-color-map): New variable.
9283 (Man-fontify-manpage): Use it.
9284 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9285
2f29c200
WJ
9286 Implement ANSI SGR parameters 22-27 (bug#12146).
9287 * ansi-color.el (ansi-colors): Doc fix.
9288 (ansi-color-context, ansi-color-context-region): Doc fix.
9289 (ansi-color--find-face): New function.
9290 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9291 Rename the local variable `face' to `codes' since it is now a list of
9292 ansi codes. Doc fix.
9293 (ansi-color-get-face): Remove.
9294 (ansi-color-parse-sequence): New function, derived from
9295 ansi-color-get-face.
9296 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9297 codes 22-27.
9298
b4f5e9df
SM
92992012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * subr.el (read-passwd): Allow use from a minibuffer.
9302
ba025fbd
EZ
93032012-08-14 Eli Zaretskii <eliz@gnu.org>
9304
9305 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9306 inside comments and strings as identifiers.
9307
9308 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9309 expression to evaluate. This allows to evaluate expressions with
9310 embedded whitespace.
9311 (gud-tooltip-tips): Add a blank before the newline in the
9312 message-box text, for the benefit of message-box emulation on
9313 MS-Windows.
9314
9315 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9316 messages from GDB, pop them up in a tooltip to give feedback to
9317 user.
b4f5e9df
SM
9318 (gdb-tooltip-print-1): Quote the expression to evaluate.
9319 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
9320 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9321 if the TTY name is nil or empty (which happens when communicating
9322 with the inferior via pipes, e.g. on MS-Windows).
9323 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9324 don't send that to the GUD buffer.
9325
c548f821
GM
93262012-08-14 Glenn Morris <rgm@gnu.org>
9327
9328 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9329 Optimize away setq-default with no args, as for setq. (Bug#12195)
9330
55802e4a
CY
93312012-08-14 Chong Yidong <cyd@gnu.org>
9332
4abcdac8
CY
9333 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9334
55802e4a
CY
9335 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9336 (Bug#12085).
9337
3c3cda1a
GM
93382012-08-14 Glenn Morris <rgm@gnu.org>
9339
9340 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9341
e1873bd0
MA
93422012-08-14 Michael Albinus <michael.albinus@gmx.de>
9343
9344 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9345 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9346 Use cached shell name.
9347
925411b4
FEG
93482012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9349
9350 * progmodes/python.el (python-shell-send-string):
3c3cda1a 9351 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 9352
e636fafe
DG
93532012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9354
9355 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9356 (ruby-percent-literal-beg-re): New constant.
9357 (ruby-syntax-general-delimiters-goto-beg): Rename to
9358 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9359 (ruby-syntax-propertize-general-delimiters): Rename to
9360 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9361 popular term. Adjust comments everywhere.
9362 (ruby-syntax-propertize-percent-literal): Only propertize when not
9363 inside a simple string or comment. When the literal is unclosed,
9364 leave the text after it unpropertized.
f063063a
DG
9365 (ruby-syntax-methods-before-regexp): New constant.
9366 (ruby-syntax-propertize-function): Use it to recognize regexps.
9367 Don't look at the text after regexp, just use the whitelist.
e636fafe 9368
e5b19827
AS
93692012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9370
9371 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9372 non-nil always load the compiled file if it exists. (Bug#12197)
9373
a9f6f311
CY
93742012-08-14 Chong Yidong <cyd@gnu.org>
9375
9376 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9377 (hi-lock-set-pattern): When deciding whether to use font lock or
9378 overlays, look at font-lock-mode instead of font-lock-fontified
9379 (Bug#12168).
9380 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9381 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9382
7d806b1e
DU
93832012-08-14 Daiki Ueno <ueno@unixuser.org>
9384
9385 * subr.el (internal--after-with-selected-window): Fix typo
9386 (Bug#12193).
9387
5beed586
FEG
93882012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9389
9390 Use `completion-table-dynamic' for completion functions.
9391 * progmodes/python.el
9392 (python-shell-completion--do-completion-at-point)
e636fafe
DG
9393 (python-shell-completion--get-completions):
9394 Remove functions.
5beed586
FEG
9395 (python-shell-completion-complete-at-point): New function.
9396 (python-completion-complete-at-point): Use it.
9397
92cb3b04
J
93982012-08-13 Jambunathan K <kjambunathan@gmail.com>
9399
9400 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9401 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9402
89660017
SM
94032012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9404
3c98c962
SM
9405 * subr.el (function-get): Refine `autoload' arg so it can also
9406 autoload functions for gv.el (bug#12191).
9407 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9408 autoloads macros.
9409
aa7c6dbe
SM
9410 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9411 Prefer pcase-let over destructuring-bind.
9412 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9413 Also, remove whitespace as we go, rather than after accumulating the
9414 various places.
9415
89660017
SM
9416 * subr.el (internal--before-with-selected-window)
9417 (internal--after-with-selected-window): Fix typo seleted->selected.
9418 (with-selected-window): Adjust callers.
9419 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9420
31cd32c9
BG
94212012-08-13 Bastien Guerry <bzg@gnu.org>
9422
0fcd3d9f 9423 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
9424 enhancement. (Bug#12172)
9425
1b15d8ad
AS
94262012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9427
31e54db0
AS
9428 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9429 type 1-6.
9430 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9431 extended headers.
9432
1b15d8ad
AS
9433 * files.el (hack-local-variables-filter): Remove useless eval.
9434
35cb9c06
MR
94352012-08-13 Martin Rudalics <rudalics@gmx.at>
9436
9437 * subr.el (with-selected-window): Fix last change.
9438
1439443b
SM
94392012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * subr.el (internal--before-with-seleted-window)
9442 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
9443 (with-selected-window): Use them, to replace dependency on
9444 tty-top-frame.
1439443b 9445
0d9e2599
NN
94462012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9447
9448 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9449 binding for `newline'.
9450 (ruby-move-to-block): When moving backward, stop at block opening,
9451 not indentation.
9452 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9453 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9454 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9455 `ruby-toggle-block'.
9456
ba10c48c
SM
94572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * ibuffer.el (ibuffer-do-toggle-read-only):
9460 * dired.el (dired-toggle-read-only):
9461 * buff-menu.el (Buffer-menu-toggle-read-only):
9462 * bindings.el (mode-line-toggle-read-only):
9463 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9464
9229c658
AS
94652012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9466
9467 * descr-text.el (describe-char): Put the overlays over the
9468 "displayed as" character.
9469
0fd09128
JB
94702012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9471
9472 * calc/calc-units.el (math-default-units-table): Give an
9473 initial value.
9474 (math-put-default-units): Add options to put composite units and
9475 unit systems in the default units table.
9476 (calc-convert-units): Send composite units to
9477 `math-put-default-units' when appropriate.
9478
9ff9402d 94792012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 9480
fbb5e336
GM
9481 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9482
7aacaf15
GM
9483 * tutorial.el (help-with-tutorial):
9484 * emacs-lisp/copyright.el (copyright-update-directory):
9485 * emacs-lisp/autoload.el (autoload-find-generated-file)
9486 (autoload-find-file): Disable local eval: (for insurance).
9487
f40b9f10
GM
9488 * files.el (hack-local-variables-filter): If an eval: form is not
9489 known to be safe, and enable-local-variables is :safe, then ignore
9490 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 9491 This is CVE-2012-3479.
f40b9f10 9492
daa9f1a6
SM
94932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9496 (rx-form): Simplify.
9497
9cd80478
DG
94982012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9499
0d9e2599
NN
9500 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9501 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9502 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9503 (ruby-syntax-propertize-function): Adjust for changes in
9504 `ruby-syntax-propertize-heredoc'.
9505
95062012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9507
9cd80478
DG
9508 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9509 binding (use `M-;' instead).
9cd80478 9510 (ruby-singleton-class-p): New function.
0d9e2599 9511 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 9512
d301b413
SM
95132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9516
1530c98e
CY
95172012-08-10 Chong Yidong <cyd@gnu.org>
9518
9519 * progmodes/python.el (python-shell-get-process-name): Don't mess
9520 with same-window-buffer-names.
9521
9522 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9523 (eshell-remove-from-window-buffer-names): Make obsolete.
9524 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9525 (eshell): Just use pop-to-buffer-same-window instead.
9526
e1293765
CY
95272012-08-10 Chong Yidong <cyd@gnu.org>
9528
9529 * bindings.el: Bind M-= back to count-words-region.
9530
9531 * simple.el (count-words-region): Accept a prefix arg for acting
9532 on the entire buffer.
9533 (count-words--buffer-message): New helper function.
9534
e1894109
SM
95352012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9538 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9539 (event-start, event-end): Use posn-at-point to return a more
9540 informative posn.
9541 (posnp): New function.
9542 * mouse.el (popup-menu-normalize-position): Use it.
9543
c69f56a2
MY
95442012-08-10 Masatake YAMATO <yamato@redhat.com>
9545
9546 * mouse.el (popup-menu-normalize-position): New function.
9547 (popup-menu): Use `popup-menu-normalize-position' to normalize
9548 the form for POSITION argument.
9549
9550 * term/x-win.el (x-menu-bar-open):
9551 Use the value returend from (posn-at-point) as position
9552 passed to `popup-menu'.
9553
31673780
JB
95542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9555
9556 * calc/calccomp.el (math-compose-expr): Add extra argument
9557 indicating that parentheses should be put around products in
9558 denominators. Give multiplication precedence over division during
9559 composition.
9560
dab7711b
CY
95612012-08-09 Chong Yidong <cyd@gnu.org>
9562
dee4ef93
CY
9563 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9564 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9565 (Man-untabify-command, manual-program): Convert to defcustom
9566 (Bug#10429).
9567
73e2bbc5
CY
9568 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9569
3e861c8a
CY
9570 * descr-text.el (describe-char): Don't insert extra newlines
9571 (Bug#10127).
9572
a9f5a649
CY
9573 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9574 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9575
dab7711b
CY
9576 * align.el (align-region): Delete temporary markers (Bug#10047).
9577 Plus some code cleanups.
9578
e0cc4efa
FEG
95792012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9580
9581 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9582 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9583 (python-shell-internal-last-output): Use make-local-variable
9584 instead of make-variable-buffer-local.
9585
489af14f
FEG
95862012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9587
9588 * progmodes/python.el: Enhancements to forward-sexp.
9589 (python-nav-forward-sexp): Rename from
9590 python-nav-forward-sexp-function.
c69f56a2
MY
9591 (python-nav--forward-sexp, python-nav--backward-sexp):
9592 New functions.
489af14f 9593
0fc50303
JB
95942012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9595
9596 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9597 modes and simplification modes.
9598
5d65606a
SM
95992012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * delsel.el (delete-selection-pre-hook): Don't propagate the
9602 file-supersession signals (bug#12161).
9603
4250fdf5
SM
96042012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9607 (cl-map-extents): Add compatibility aliases (bug#12135).
9608
d9f9b465
MA
96092012-08-08 Michael Albinus <michael.albinus@gmx.de>
9610
9611 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9612 tests by `ignore-error'.
9613 (tramp-find-shell): Open also a new shell, when cache is already
9614 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9615
ce0fcefa
JL
96162012-08-08 Juri Linkov <juri@jurta.org>
9617
9618 * bookmark.el: Add `defaults' property to the bookmark record.
9619 (bookmark-current-buffer): Doc fix.
9620 (bookmark-make-record): Add `defaults' property with default values
9621 to the bookmark record.
9622 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9623 with `bookmark-insert-current-bookmark'.
9624 (bookmark-set): Get `defaults' property from the bookmark record
9625 and use it in `read-from-minibuffer'.
9626 (bookmark-insert-current-bookmark): Remove function.
9627
9628 * info.el (Info-bookmark-make-record): Add `defaults' property
9629 with values of canonical Info node name, the current Info file
9630 name and the current Info node name. (Bug#12107)
9631
53fa8652
JL
96322012-08-08 Juri Linkov <juri@jurta.org>
9633
9634 * files.el (basic-save-buffer): Use `buffer-name' as the default
9635 of `read-file-name' when buffer is not visiting a file (bug#12128).
9636
242c0a95
JL
96372012-08-08 Juri Linkov <juri@jurta.org>
9638
9639 * info.el (Info-isearch-search): Doc fix.
9640 (Info-search): Change search-failed message from "initial node" to
9641 "end of node" (bug#12078).
9642 (Info-isearch-search): Change `isearch-string-state' to
9643 `isearch--state-string'.
9644
32ac3a6b
GM
96452012-08-08 Glenn Morris <rgm@gnu.org>
9646
9647 * language/persian.el: Remove file.
f8c1afd5 9648 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
9649 * loadup.el: Remove language/persian.
9650
2c2d9c9c
OF
96512012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9652
9653 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9654
2d79ec42
FEG
96552012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9656
3c855b96 9657 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
9658 (python-syntax-context) Rename from python-info-ppss-context.
9659 (python-syntax-context-type): Rename from
9660 python-info-ppss-context-type.
9661 (python-syntax-comment-or-string-p): Rename from
9662 python-info-ppss-comment-or-string-p.
9663
2bd255dd
JB
96642012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9665
9666 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9667
c395097f
AS
96682012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9669
6125983e
AS
9670 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9671 a defcustom that is quoted with backquote.
9672
4250fdf5
SM
9673 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9674 Fix handling of interactive spec when the body uses return.
651eaf36
AS
9675 (math-do-arg-check, math-define-function-body): Use backquote forms.
9676 * calc/calc-ext.el (math-defcache): Likewise.
9677 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9678 * allout.el (allout-new-exposure): Likewise.
9679 * calc/calcalg2.el (math-tracing-integral): Likewise.
9680 * info.el (Info-last-menu-item): Likewise.
9681 * emulation/vip.el (vip-loop): Likewise.
9682 * textmodes/artist.el (artist-funcall): Likewise.
9683 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9684 Construct menu-item directly.
9685
4250fdf5
SM
9686 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9687 Don't declare.
c395097f 9688
5fb50dd3
CY
96892012-08-07 Chong Yidong <cyd@gnu.org>
9690
9691 * simple.el (deactivate-mark): Preserve text properties when
9692 saving the primary selection (Bug#8384).
9693
54eea618
KR
96942012-08-07 Kevin Ryde <user42@zip.com.au>
9695
9696 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9697 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9698 and continue processing (Bug#12110).
9699
638eaeb9
SM
97002012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9703 syntax-propertize-function (bug#10095).
9704
ea376861
SM
97052012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9706
f91b35be
SM
9707 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9708 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9709 describe-function-1.
9710 (describe-function-1): Use them. Move compiler macro after sig.
9711 (help-fns--compiler-macro): Use function-get. Assume we're already in
9712 standard-output. Adjust layout to new call order.
9713
ea376861
SM
9714 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9715 re-binding a symbol that has a symbol-macro (bug#12119).
9716
d5be7bd0
MB
97172012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9718
9719 * language/persian.el: New file. (Bug#11812)
9720 * loadup.el: Add language/persian.el.
9721
90749b53
CY
97222012-08-06 Chong Yidong <cyd@gnu.org>
9723
9724 * window.el (window--maybe-raise-frame): New function.
9725 (window--display-buffer): Split off from here.
9726 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9727 (display-buffer-pop-up-window, display-buffer-use-some-window):
9728 Obey an inhibit-switch-frame action alist entry.
9729 (display-buffer): Update doc.
9730
9731 * replace.el (occur-after-change-function): Avoid losing focus by
9732 using the inhibit-switch-frame display parameter (Bug#12139).
9733
ba7b0154
FEG
97342012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9735
9736 Make internal shell process buffer names start with space.
9737 * progmodes/python.el (python-shell-make-comint): Add optional
9738 argument INTERNAL.
9739 (run-python-internal): Use it.
9740 (python-shell-internal-get-or-create-process): Check for new
9741 internal buffer names.
9742
5eaeacb5
GM
97432012-08-06 Glenn Morris <rgm@gnu.org>
9744
e296d94b 9745 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
9746 Do less getting and setting of environment variables.
9747
b7ccbdc2
CY
97482012-08-05 Chong Yidong <cyd@gnu.org>
9749
777fe95e
CY
9750 * proced.el (proced): Add substitution string to docstring to
9751 trigger autoloading of the proced library on C-h f (Bug#1768).
9752
4250fdf5
SM
9753 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9754 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
9755
9756 * imenu.el (imenu-generic-expression): Move documentation here
9757 from imenu--generic-function.
9758 (imenu--generic-function): Refer to imenu-generic-expression.
9759
9e3b7800 97602012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
9761
9762 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9763 indentation declaration.
9764 (viper-loop): Add indentation declaration (Bug#7025).
9765
e5d9c0d1
CY
97662012-08-05 Chong Yidong <cyd@gnu.org>
9767
f0422feb
CY
9768 * help-fns.el (describe-variable): Add hyperlink for
9769 directory-local variables files. Improve buffer-local and
9770 permanent-local reporting; suggested by MON KEY (Bug#6644).
9771
9772 * help-mode.el (help-dir-local-var-def): New button type.
9773
e5d9c0d1
CY
9774 * files.el (kill-buffer-hook): Provide a defvar.
9775
a4f2deaa
GM
97762012-08-05 Glenn Morris <rgm@gnu.org>
9777
9778 * eshell/esh-ext.el (eshell/addpath):
9779 Also update eshell-path-env. (Bug#12013)
9780
a9dd5754
CY
97812012-08-05 Chong Yidong <cyd@gnu.org>
9782
a4f2deaa 9783 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 9784
d014c740
CY
9785 * fringe.el (fringe-styles): Add docstring.
9786 (fringe--check-mode): New function.
9787 (set-fringe-mode, set-fringe-style): Use it.
9788 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9789
a9dd5754
CY
9790 * files.el (set-auto-mode): Fix invalid setq call.
9791
7c2dc8bd
SM
97922012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * isearch.el: Misc simplification; use defstruct.
9795 (isearch-mode-map): Dense maps now work like sparse ones.
9796 (isearch--state): New defstruct.
9797 (isearch-string-state, isearch-message-state, isearch-point-state)
9798 (isearch-success-state, isearch-forward-state)
9799 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9800 (isearch-wrapped-state, isearch-barrier-state)
9801 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9802 replaced by defstruct's accessors.
9803 (isearch--set-state): Rename from isearch-top-state and change
9804 calling convention.
9805 (isearch-push-state): Use new isearch--get-state.
9806 (isearch-toggle-word): Disable regexp when enabling word.
9807 (isearch-message-prefix): Remove unused arg _c-q-hack.
9808 (isearch-message-suffix): Remove unused arg _ellipsis.
9809
7fcc0070
AS
98102012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9811
9812 * simple.el (list-processes--refresh): For a server use :host or
9813 :local as the address.
97ad0769 9814 (list-processes): Doc fix.
7fcc0070 9815
a11035b8 98162012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
9817
9818 * lisp/mpc.el: Support password in host argument.
9819 (mpc--proc-connect): Parse and use new password element.
9820 Set mpc-proc variable instead of returning process.
9821 (mpc-proc): Adjust accordingly.
9822
6dad7178
EZ
98232012-08-03 Eli Zaretskii <eliz@gnu.org>
9824
18949c2f
EZ
9825 * whitespace.el (whitespace-display-mappings): Use Unicode
9826 codepoints, instead of emacs-mule codepoints. See
9827 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9828 for the details.
9829
6dad7178
EZ
9830 * files.el (file-truename): Don't skip symlink-chasing part on
9831 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
9832 Windows into the loop that recursively chases symlinks.
9833 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
9834 MS-DOS.
9835
385b0198
CY
98362012-08-03 Chong Yidong <cyd@gnu.org>
9837
6200f3c4
CY
9838 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9839
385b0198
CY
9840 * sort.el (sort-regexp-fields): Doc fix.
9841
b9e74744
TH
98422012-08-03 Tassilo Horn <tsdh@gnu.org>
9843
9844 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9845 labels regex position point at the expected place.
9846
41013cb4
MK
98472012-08-03 MON KEY <monkey@sandpframing.com>
9848
9849 * net/imap.el (imap-interactive-login, imap-authenticate)
9850 (imap-mailbox-lsub, imap-mailbox-list)
9851 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9852 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9853 (imap-parse-response): Doc fix.
9854
0ffee616
JT
98552012-08-03 João Távora <joaotavora@gmail.com>
9856
9857 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9858 if sexp scanning does not move point (Bug#5734).
9859
cfcc9cc8
TH
98602012-08-02 Tassilo Horn <tsdh@gnu.org>
9861
9862 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9863 Add listings, minted, and ctable packages.
9864 (reftex-label-alist-builtin): Move listings, minted, and ctable
9865 entries before LaTeX.
a01bbb84 9866 (reftex-label-alist): Docfix.
cfcc9cc8 9867
66ec2442
BG
98682012-08-02 Bastien Guerry <bzg@gnu.org>
9869
9870 * replace.el (occur): Fix docstring (bug#12122).
9871
837b365b
GM
98722012-08-02 Glenn Morris <rgm@gnu.org>
9873
9874 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9875
e098de97
PE
98762012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9877
9878 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9879 * international/mule-cmds.el: Create
9880 inactivate-current-input-method-function as an obsolete alias for
9881 deactivate-current-input-method-function. See Katsumi Yamaoka in
9882 <http://bugs.gnu.org/10150#46>.
9883
a0f95636
JB
98842012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9885
9886 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9887 of nested `if's.
9888
0d26d7c4
GM
98892012-08-01 Glenn Morris <rgm@gnu.org>
9890
9891 * progmodes/autoconf.el (autoconf-definition-regexp):
9892 Add AH_TEMPLATE, adjust submatch numbering.
9893 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9894 (autoconf-current-defun-function): Update for above change.
9895 (autoconf-current-defun-function): First skip to end of current word.
9896
b686ba06
RS
98972012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9898
9899 * calendar/cal-html.el (cal-html-insert-agenda-days):
9900 Fix typo. (Bug#12018)
9901
0d49da68
FEG
99022012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9903
9904 Shell processes: enhancements to startup and CEDET compatibility.
9905 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9906 (python-shell-make-comint): accept-process-output at startup.
9907 (run-python-internal): Set inferior-python-mode-hook to nil.
9908 (python-shell-internal-get-or-create-process): call sit-for.
9909 (python-preoutput-result): Add obsolete alias.
9910 (python-shell-internal-send-string): Use it.
9911 (python-shell-send-setup-code): Remove call to
9912 accept-process-output.
9913
f1a71c6e
AS
99142012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9915
9916 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9917 (Bug#12108)
9918
d2605269
JB
99192012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9920
9921 * calc-mode.el (calc-basic-simplification-mode): Rename from
9922 `calc-limited-simplification-mode'.
9923 (calc-alg-simplification-mode): New function.
fc0c31f8 9924 (calc-set-simplify-mode): Adjust message.
f1a71c6e 9925
d2605269
JB
9926 * calc.el (calc-set-mode-line): Adjust mode line display for
9927 basic simplification mode.
9928
9929 * calc-help.el (calc-m-prefix-help): Update help message.
9930
9931 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9932 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9933
a3827a43
BG
99342012-07-31 Bastien Guerry <bzg@gnu.org>
9935
9936 * man.el (man): Fix comment. (bug#12101)
9937
502e3f89
MR
99382012-07-31 Martin Rudalics <rudalics@gmx.at>
9939
9940 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9941 Don't return a non-nil value when no suitable buffer was found.
9942
d7714961
FEG
99432012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9944
9945 * progmodes/python.el (run-python-internal): Disable font lock for
9946 internal shells.
9947
1f45e27e
SM
99482012-07-30 Stefan Merten <smerten@oekonux.de>
9949
70efc5c9 9950 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
9951 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9952 (rst-official-version, rst-official-cvs-rev)
9953 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9954 (rst-mode-map): New key binding.
9955
0aee6912
PE
99562012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9957
9958 Update .PHONY listings in makefiles.
9959 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9960 autoloads, update-subdirs, updates, bzr-update, update-authors,
9961 compile-onefile, compile-calc, backup-compiled-files,
9962 compile-after-backup, compile-one-process, mh-autoloads,
9963 bootstrap-clean, distclean, maintainer-clean.
9964
9052f9f0
JB
99652012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9966
1823ac5a
JB
9967 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9968 (calc-set-mode-line): Don't display "AlgSimp ".
9969
9970 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9971 (calc-lim-simplify-mode): New function.
9972 (calc-set-simplify-mode): Default to 'alg.
9973 (calc-default-simplify-mode): Make algebraic simplifications
9974 the default.
9975
9976 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9977 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9978
8d7c7eed 9979 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
9980 indicate new simplification modes.
9981
1823ac5a
JB
9982 * calc/README: Mention new default simplification mode.
9983
9052f9f0
JB
9984 * calc/calc.el (math-normalize-error): New variable.
9985 (math-normalize): Set `math-normalize-error' to t
9986 when there's an error.
9987
9988 * calc/calc-alg.el (math-simplify): Don't simplify when
9989 `math-normalize' returns an error.
9990
20ba0cb4
EZ
99912012-07-29 Eli Zaretskii <eliz@gnu.org>
9992
9993 * international/mule-cmds.el (set-locale-environment): Revert last
9994 change, since display-graphic-p returns nil when this function is
9995 called during startup. Instead...
9996
9997 * term/w32console.el (terminal-init-w32console): ...setup the
9998 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9999
a5dcc929
JL
100002012-07-29 Juri Linkov <juri@jurta.org>
10001
10002 * simple.el (goto-line): Don't display default line number in the
10003 prompt because it should be displayed by `read-number' (bug#9952).
10004 Add the current line number to the defaults of `goto-line' to
10005 allow its easier modification by users with `M-n' (bug#9201).
10006
10007 * subr.el (read-number): Support multiple default values like in
10008 other minibuffer reading functions. Replace `read' with
10009 `string-to-number' for consistency with `number-to-string'.
10010
72b255c7
PE
100112012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10012
10013 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10014 * emulation/viper-init.el (viper-deactivate-input-method-action):
10015 Rename from viper-inactivate-input-method-action.
10016 (viper-deactivate-input-method):
10017 Rename from viper-inactivate-input-method.
10018 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10019 * international/mule-cmds.el (deactivate-input-method):
10020 Rename from inactivate-input-method.
10021 Also run input-method-deactivate-hook.
10022 (deactivate-current-input-method-function):
10023 Rename from inactivate-current-input-method-function.
10024 (input-method-deactivate-hook): New hook.
10025 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
10026 (inactivate-input-method): Mark obsolete.
10027
72b255c7
PE
10028 * international/quail.el (quail-activate):
10029 Also run quail-deactivate-hook.
10030 (quail-deactivate): Rename from quail-inactivate.
10031 * international/robin.el (robin-activate):
10032 Also run robin-deactivate-hook.
10033 (robin-deactivate): Rename from robin-inactivate.
10034
2549c068
CY
100352012-07-29 Chong Yidong <cyd@gnu.org>
10036
10037 * simple.el (indicate-copied-region): New function.
10038 (kill-ring-save): Split off from here.
10039
10040 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10041 (kill-rectangle): Set deactivate-mark to t on read-only error.
10042
10043 * register.el (copy-to-register, copy-rectangle-to-register):
10044 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
10045 (append-to-register, prepend-to-register): Call indicate-copied-region.
10046
100472012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
10048
10049 * simple.el (async-shell-command-buffer): New defcustom.
10050 (shell-command): Use it. (Bug#4719)
10051
01bd1b0d
EZ
100522012-07-28 Eli Zaretskii <eliz@gnu.org>
10053
10054 * international/mule-cmds.el (set-locale-environment): In a
10055 console session on MS-Windows, set up keyboard and terminal
10056 encoding from the OEM codepage, not the ANSI codepage.
10057 (Bug#12055)
10058
a55739d3
CY
100592012-07-28 Chong Yidong <cyd@gnu.org>
10060
10061 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10062 gdb-get-location.
10063
0e1a094f 100642012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
10065
10066 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10067 the alist (bug#12029).
10068
20329d73
EZ
100692012-07-28 Eli Zaretskii <eliz@gnu.org>
10070
10071 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10072 (compile-always, compile-first)
10073 ($(lisp)/calendar/cal-loaddefs.el)
10074 ($(lisp)/calendar/diary-loaddefs.el)
10075 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10076 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10077 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10078 instead of on update-subdirs.
10079 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10080
345a2258
CY
100812012-07-28 Chong Yidong <cyd@gnu.org>
10082
1eee6341
CY
10083 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10084 directory if vc-deduce-backend returns nil (Bug#7350).
10085
345a2258
CY
10086 * simple.el (delete-trailing-lines): New option.
10087 (delete-trailing-whitespace): Obey it (Bug#11879).
10088
049a0936
DE
100892012-07-28 David Engster <deng@randomsample.de>
10090
10091 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10092 Explanation of new 'symbol-qnames feature in doc-strings.
10093 (xml-maybe-do-ns): Return expanded names as plain symbols if
10094 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10095 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10096
aa81af71
FEG
100972012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10098
10099 Consistent completion in inferior python with emacs -nw.
10100 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10101 binding in inferior-python-mode-map with "\t".
10102 (python-shell-completion-complete-at-point)
10103 (python-completion-complete-at-point): Remove interactive spec.
10104
e827b1eb
JB
101052012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10106
10107 * calc/calccomp.el (math-compose-expr): Undo previous change.
10108
a90dfb95
FEG
101092012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10110
4250fdf5 10111 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
10112 run-python.
10113 (python-shell-make-comint): Fix pop-to-buffer call.
10114 (run-python): Autoload. New arg SHOW.
10115 (python-shell-get-or-create-process): Do not pop python process
10116 buffer.
10117
32770973 101182012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
10119
10120 * notifications.el (notifications-on-action-signal)
10121 (notifications-on-closed-signal): Use also the bus address for the map.
10122 (notifications-notify, notifications-close-notification)
fc0c31f8 10123 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 10124
86332df2
TH
101252012-07-27 Tassilo Horn <tsdh@gnu.org>
10126
4250fdf5
SM
10127 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10128 Add support for the lstlisting and minted environments, and for the
86332df2
TH
10129 ctable macro.
10130 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10131 labels written in keyvals syntax.
10132
ca1302a4
JB
101332012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10134
10135 * calc/calccomp.el (math-compose-expr): Use parentheses when
10136 there is a product in the denominator of a fraction.
10137
f8b91036
EZ
101382012-07-26 Eli Zaretskii <eliz@gnu.org>
10139
10140 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10141 ($(lisp)/calendar/diary-loaddefs.el)
10142 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
10143 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10144 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
10145 rewritten while the autoload files are built at the same time,
10146 which needs to load subdirs.el.
10147
c8e5a42c
MR
101482012-07-26 Martin Rudalics <rudalics@gmx.at>
10149
10150 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10151 (mouse-drag-line): Don't exit tracking when a switch-frame or
10152 switch-window event occurs (Bug#12006).
10153
670d85ea
SM
101542012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * mouse.el (popup-menu): Fix last change.
10157
7abaf5cc
SM
101582012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 Autoload from Lisp with more care. Follow aliases when looking for
10161 function properties.
10162 * subr.el (autoloadp): New function.
10163 (symbol-file): Use it.
10164 (function-get): New function.
10165 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10166 autoload-do-load.
10167 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10168 (lisp-indent-function):
10169 * emacs-lisp/gv.el (gv-get):
10170 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10171 * emacs-lisp/byte-opt.el (byte-optimize-form):
10172 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10173 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10174 Use function-get.
10175 * emacs-lisp/cl.el: Don't propagate function properties any more.
10176
10177 * speedbar.el (speedbar-add-localized-speedbar-support):
10178 * emacs-lisp/disass.el (disassemble-internal):
10179 * desktop.el (desktop-load-file):
10180 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10181 (describe-function-1):
10182 * emacs-lisp/find-func.el (find-function-noselect):
10183 * emacs-lisp/elp.el (elp-instrument-function):
10184 * emacs-lisp/advice.el (ad-has-proper-definition):
10185 * apropos.el (apropos-safe-documentation, apropos-macrop):
10186 * emacs-lisp/debug.el (debug-on-entry):
10187 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10188 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10189 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10190
b1364986
AA
101912012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10192
10193 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10194 function, not an obsolete variable (Bug#12046).
10195
67ada220
AS
101962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10197
10198 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10199
f08088e3
CS
102002012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10201
10202 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10203 window only if it is still live (Bug#12034).
10204
8137e7b3
MR
102052012-07-25 Martin Rudalics <rudalics@gmx.at>
10206
10207 * subr.el (redirect-frame-focus): Add advertised calling
10208 convention (Bug#12030).
10209
09ae5da1
PE
102102012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10211
10212 Prefer typical American spelling for "acknowledgment".
10213 * vc/add-log.el (change-log-acknowledgment): Rename from
10214 change-log-acknowledgement, with an alias for the old name.
10215
3cc5a3a8
JB
102162012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10217
10218 * calc-alg.el (math-simplify-divide): Don't cross multiply
10219 in an equation when the lhs is a variable.
10220
b7af7f62
JD
102212012-07-24 Julien Danjou <julien@danjou.info>
10222
10223 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10224 Remove, unused.
10225
ec1b09b1
EZ
102262012-07-23 Eli Zaretskii <eliz@gnu.org>
10227
10228 * startup.el (command-line): Don't display an empty user name in
10229 the error message about non-existent home directory, when
10230 init-file-user was set to an empty string. See
10231 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10232 for the details and context.
10233
b525fd8a
VB
102342012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10235
10236 * ses.el (ses-cell-formula-aset): New macro.
10237 (ses-cell-references-aset): New macro.
10238 (ses-cell-p): New function.
10239 (ses-rename-cell): Do no longer rely on complex operations like
10240 ses-cell-set-formula or ses-set-cell to change the cell and handle
10241 the undo at the same time, but rather use lower level new macros
10242 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 10243 the undo directly. Refresh the mode line.
b525fd8a 10244
2c73e345
LL
102452012-07-21 Leo Liu <sdl.web@gmail.com>
10246
670d85ea
SM
10247 * progmodes/cc-cmds.el (c-defun-name):
10248 Use match-string-no-properties instead for consistency.
2c73e345 10249
542dfbde
LL
102502012-07-20 Leo Liu <sdl.web@gmail.com>
10251
3646bcd6
LL
10252 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10253 (Bug#7879)
10254
542dfbde
LL
10255 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10256
25721031
CY
102572012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10260 * progmodes/bug-reference.el, misearch.el: Provide themselves
10261 (bug#11915).
10262
10263 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10264 of narrowed buffer (bug#11966).
10265
316e68a7
VB
102662012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10267
10268 * ses.el (ses-rename-cell): Set new name also in reference list of
10269 cells of which the renamed cell depends.
10270
bbf0e7d9
MY
102712012-07-20 Masatake YAMATO <yamato@redhat.com>
10272
10273 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10274 to check whether menu-bar is shown or not. If not shown,
10275 show the menu-bar as a popup menu instead of using tmm.
10276 * mouse.el (popup-menu): Accept `point' as `position' argument.
10277
c28662a8
DG
102782012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10279
10280 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10281 up inside string symbol literal (bug#11923).
10282
87ab808f
EZ
102832012-07-20 Eli Zaretskii <eliz@gnu.org>
10284
10285 * startup.el (fancy-startup-text): Read the whole tutorial, not
10286 just its first 256 bytes. Prevents gibberish in display of the
10287 tutorial title.
10288
89dea803
DA
102892012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10290
10291 Drop idle buffer compaction due to an absence of the
10292 proved efficiency.
10293 * compact.el: Remove.
10294
8a4e6db8
SS
102952012-07-19 Sam Steingold <sds@gnu.org>
10296
10297 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10298 vc-bzr-pull & vc-bzr-merge-branch.
10299 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10300 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10301 for consistency with compilation-error-regexp-alist.
10302 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10303 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10304 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10305 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10306
5db81e33
SM
103072012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * emacs-lisp/chart.el: Use lexical-binding.
10310 (chart-emacs-storage): Don't hardcode the list of entries.
10311
5b835e1d
DA
103122012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10313
10314 Next round of tweaks caused by Fgarbage_collect changes.
10315 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10316
9cd47b72
DA
103172012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10318
10319 Compact buffers when idle.
10320 * compact.el: New file.
10321
1d6fc0df
SM
103222012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * subr.el (eventp): Presume that if it looks vaguely like an event,
10325 it's an event (bug#10190).
10326
1d29cc7d
FEG
103272012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10328
10329 Enhancements to ppss related code (thanks Stefan).
10330 * progmodes/python.el (python-indent-context)
10331 (python-indent-calculate-indentation, python-indent-dedent-line)
10332 (python-indent-electric-colon, python-nav-forward-block)
10333 (python-mode-abbrev-table)
1d6fc0df 10334 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
10335 for ppss context.
10336 (python-info-continuation-line-p): Cleanup.
10337 (python-info-ppss-context): Do not catch 'quote.
10338 (python-info-ppss-context-type)
10339 (python-info-ppss-comment-or-string-p): Simplify.
10340
d583cbe6
FEG
103412012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10342
10343 * progmodes/python.el: Enhancements to eldoc support.
10344 (python-info-current-symbol): New function.
10345 (python-eldoc-at-point): Use python-info-current-symbol.
10346 (python-info-current-defun): Fix cornercase on first defun scan.
10347 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10348 and signal error when no inferior python process is available.
10349
eceb6feb
DG
103502012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10351
10352 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10353 assume it's always t.
10354 (vc-git-registered): Remove caching, the function is only called
10355 once.
10356 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10357
4c8ff0fe
CY
103582012-07-18 Chong Yidong <cyd@gnu.org>
10359
19fb7186
CY
10360 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10361
9587c688
CY
10362 * simple.el (count-words): Report on narrowing (Bug#9959).
10363
0fe776a1
CY
10364 * bindings.el: Bind M-= to count-words.
10365
4c8ff0fe
CY
10366 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10367
7f5331cc
MY
103682012-07-18 Masatake YAMATO <yamato@redhat.com>
10369
10370 * progmodes/sh-script.el (sh-imenu-generic-expression):
10371 Capture a function with `function' keyword and without parentheses
10372 like "function FOO" (bug#11856).
10373
2dc2a609
TH
103742012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10375
10376 * window.el (split-window-sensibly): Make WINDOW argument
10377 optional.
10378
439f7677
CY
103792012-07-18 Chong Yidong <cyd@gnu.org>
10380
9aeb25a6
CY
10381 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10382
439f7677
CY
10383 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10384 and make C-x 8 RET exit isearch (Bug#11439).
10385
10386 * international/iso-transl.el: Move isearch-mode-map key
10387 definitions to isearch.el.
10388
12999ea8
SM
103892012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10392 (eieio-defclass): Use gv-define-setter when possible.
10393
3ab6e069
DA
103942012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10395
10396 Reflect recent changes in Fgarbage_collect.
10397 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10398 reflect new format of data returned by Fgarbage_collect.
10399
0a60bc10
FEG
104002012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10401
10402 New utility functions + python-info-ppss-context fix (Bug#11910).
10403 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10404 (python-info-ppss-comment-or-string-p): New functions.
10405 (python-info-ppss-context): Small fix for string check.
10406
6dafa0d5
JL
104072012-07-17 Juri Linkov <juri@jurta.org>
10408
10409 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10410 (dired-do-async-shell-command): Don't add `*' at the end of the
10411 command (Bug#11815).
10412 (dired-do-shell-command): Doc fix.
10413 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10414 Join the individual commands using either "&" or ";" as the
10415 separator depending on the values of these trailing characters.
10416 At the end re-add the trailing "&". (Bug#10598)
10417
10418 * simple.el (async-shell-command): Sync the interactive spec with
10419 `shell-command'. Doc fix.
10420 (shell-command): Doc fix.
10421
b19dd9d1
JL
104222012-07-17 Juri Linkov <juri@jurta.org>
10423
10424 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10425
bcdc27d7 104262012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 10427
bcdc27d7 10428 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
10429 * progmodes/python.el (python-nav-beginning-of-statement):
10430 Rename from python-nav-statement-start.
bcdc27d7
FEG
10431 (python-nav-end-of-statement): Rename from
10432 python-nav-statement-end.
10433 (python-nav-beginning-of-block): Rename from
10434 python-nav-block-start.
10435 (python-nav-end-of-block): Rename from python-nav-block-end.
10436
191da00e
FEG
104372012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10438
7f5331cc
MY
10439 * progmodes/python.el (python-shell-send-string-no-output):
10440 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
10441 future interactions (Bug#11868).
10442
4dc7c8d5 104432012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 10444
88ecaf8f
SM
10445 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10446
ef501ef0
SM
10447 * emacs-lisp/elint.el (elint-find-args-in-code):
10448 Use help-function-arglist, so as to handle lexical byte-code.
10449
aa7aaf8f
SM
10450 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10451 change (bug#11826).
10452
45fd731c
SM
104532012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10454
2143fa32
SM
10455 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10456 Avoid spuriously marking the buffer as modified because of c-is-sws.
10457
efc26dbe
SM
10458 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10459 as not-a-comment (bug#11946).
10460
f5695c9a
SM
10461 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10462 for uninterned vars.
10463
10464 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10465 Use read-event since we don't really want to read chars but bytes.
10466
45fd731c
SM
10467 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10468 $$..$$ but also $..$ using regexps (bug#11953).
10469 Use tex-verbatim for \url and \path.
10470 (tex-font-lock-keywords): Define as defconst like the others.
10471 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10472
ddfc8813
RK
104732012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10474
10475 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10476 alias for insert-char.
10477
758e556a
FEG
104782012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10479
10480 * progmodes/python.el: Simplified imenu implementation.
10481 (python-nav-jump-to-defun): Remove command.
10482 (python-mode-map): Use `imenu' instead.
10483 (python-nav-list-defun-positions-cache)
10484 (python-imenu-include-defun-type, python-imenu-make-tree)
10485 (python-imenu-subtree-root-label, python-imenu-index-alist):
10486 Remove vars.
10487 (python-nav-list-defun-positions, python-nav-read-defun)
10488 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
10489 (python-imenu-make-tree, python-imenu-create-index):
10490 Remove functions.
758e556a
FEG
10491 (python-mode): Update to interact with imenu by setting
10492 `imenu-extract-index-name-function' only.
10493
032d23ab
FEG
104942012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10495
10496 * progmodes/python.el: Enhancements to navigation commands.
10497 (python-nav-backward-sentence)
10498 (python-nav-forward-sentence): Remove.
10499 (python-nav-backward-statement, python-nav-forward-statement)
10500 (python-nav-statement-start, python-nav-statement-end)
10501 (python-nav-backward-block, python-nav-forward-block)
10502 (python-nav-block-start, python-nav-block-end)
10503 (python-nav-forward-sexp-function)
10504 (python-info-current-line-comment-p)
10505 (python-info-current-line-empty-p): New functions.
10506 (python-indent-context): Use `python-nav-statement-start'.
10507
01795a1b
MA
105082012-07-16 Michael Albinus <michael.albinus@gmx.de>
10509
9328d9aa
MA
10510 * eshell/em-ls.el (eshell/ls): Use `apply'.
10511
10512 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10513 multi-hops, instead of Tramp internals.
10514
01795a1b
MA
10515 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10516
10517 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10518 when F1 and F2 are located on different hosts.
10519
63408057
CY
105202012-07-14 Chong Yidong <cyd@gnu.org>
10521
10522 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10523 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10524 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10525 (xterm-mouse--read-event-sequence-1000)
10526 (xterm-mouse--read-event-sequence-1006): New functions. For old
10527 mouse protocol, handle M-mouse-X events correctly.
10528 (xterm-mouse-event): New arg specifying mouse protocol.
10529 (turn-on-xterm-mouse-tracking-on-terminal)
10530 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
10531 sequence to toggle extended coordinates on newer XTerms.
10532 This appears to be harmless on terminals which do not support this.
63408057 10533
cd276f6e
LL
105342012-07-14 Leo Liu <sdl.web@gmail.com>
10535
28ca98ac
LL
10536 Add fringe bitmap indicators for flymake. (Bug#11253)
10537 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10538 (flymake-make-overlay): New arg BITMAP.
10539 (flymake-error-bitmap, flymake-warning-bitmap)
10540 (flymake-fringe-indicator-position): New user variables.
10541
cd276f6e
LL
10542 * fringe.el: New bitmap exclamation-mark.
10543
04408072
JD
105442012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10545
10546 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10547 also (Bug#7879).
10548
b5cf7fc4
CY
105492012-07-14 Chong Yidong <cyd@gnu.org>
10550
10551 * electric.el (electric-pair-post-self-insert-function): Fix pair
10552 insertion in empty-region case (Bug#11520).
10553
be755c79
RT
105542012-07-14 Chong Yidong <cyd@gnu.org>
10555
45fd731c
SM
10556 * bindings.el: Consolidate ctl-x-r-map bindings.
10557 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
10558
10559 * rect.el, register.el: Move bindings to bindings.el.
10560
105612012-07-14 Reuben Thomas <rrt@sc3d.org>
10562
10563 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10564
7f5b3198
AS
105652012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10566
10567 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10568
97662200
JB
105692012-07-13 Juanma Barranquero <lekktu@gmail.com>
10570
80185fed
JB
10571 * bindings.el (top): Use `mapc' instead of `mapcar'.
10572
97662200
JB
10573 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10574
2bb1ae55
MA
105752012-07-13 Michael Albinus <michael.albinus@gmx.de>
10576
10577 * progmodes/sql.el (sql-comint): Suppress the check for program on
10578 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10579 (Bug#11908)
10580
dea31bd3
CY
105812012-07-13 Chong Yidong <cyd@gnu.org>
10582
10583 * bindings.el: Assign a non-nil permanent-local property to
10584 per-buffer variables which lack a default value (Bug#11930).
10585
10586 * help-fns.el (describe-variable): In the "automatically becomes
10587 local" notice, take note of permanent-local variables.
10588
b68b3337
CY
105892012-07-13 Chong Yidong <cyd@gnu.org>
10590
10591 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10592 to allow printing the message when called from Lisp.
10593
10594 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10595 Remove toggle-read-only.
10596
10597 * bs.el (bs-toggle-readonly):
45fd731c
SM
10598 * buff-menu.el (Buffer-menu-toggle-read-only):
10599 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
10600
10601 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10602 Remove with-no-warnings around toggle-read-only.
10603 (ffap-read-only, ffap-read-only-other-window)
10604 (ffap-read-only-other-frame): Callers changed.
10605
10606 * help-mode.el: Don't require view package.
10607 (help-mode-finish): Set buffer-read-only instead of calling
10608 toggle-read-only.
10609
10610 * bindings.el (mode-line-toggle-read-only):
10611 * dired.el (dired-toggle-read-only):
10612 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10613 with non-nil second arg.
10614
10615 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10616 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10617 directly.
10618
56bc1586
EZ
106192012-07-12 Eli Zaretskii <eliz@gnu.org>
10620
10621 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10622 not incf.
10623
a464a6c7
SM
106242012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 More CL cleanups and reduction of use of cl.el.
10627 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10628 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10629 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10630 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10631 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10632 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10633 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10634 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10635 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10636 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10637 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10638 * eshell/em-cmpl.el, eshell/em-banner.el:
10639 * calendar/parse-time.el: Use cl-lib.
10640 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10641 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10642 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10643 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10644 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10645 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10646 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10647 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10648 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10649 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10650 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10651 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10652 `lambda' rather than with `quote'.
10653 (eshell-do-opt): Adjust accordingly.
10654 (eshell-process-option): Simplify.
10655 * eshell/esh-var.el:
10656 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10657 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10658 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10659 to `pcase--dontcare'.
10660 * emacs-lisp/cl.el (labels): Mark obsolete.
10661 (cl--letf, letf): Move to cl-lib.
10662 (cl--letf*, letf*): Remove.
10663 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10664 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10665 (cl-progv): Rewrite.
10666 (cl--letf, cl-letf): Move from cl.el.
10667 (cl-letf*): New macro.
10668 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10669
7ad4afe1
MA
106702012-07-11 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10673
9af57756
CY
106742012-07-11 Chong Yidong <cyd@gnu.org>
10675
10676 * vc/log-edit.el (log-edit-vc-backend): New variable.
10677 (log-edit): Doc fix.
10678
10679 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10680 argument of log-edit to set up all local variables.
10681 (vc-start-logentry): New optional arg specifying VC backend.
10682
10683 * vc/vc.el (vc-checkin): Use it.
10684 (vc-deduce-fileset): Handle Log Edit buffers.
10685 (vc-diff): Make first argument optional too.
10686
10687 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10688
8477cc7a
MA
106892012-07-10 Michael Albinus <michael.albinus@gmx.de>
10690
10691 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10692 command, just in case. The function is not needed anymore.
10693 (eshell-external-command): Do not call `eshell-remote-command'.
10694
19faa8e8
SM
106952012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10696
f58e0fd5
SM
10697 Reduce use of (require 'cl).
10698 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10699 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10700 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10701 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10702 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10703 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10704 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10705 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10706 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10707 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10708 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10709 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10710 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10711 (byte-compile-unfold-bcf, byte-compile-check-variable):
10712 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10713 (byte-compile-nilconstp):
10714 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10715 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10716
2519d43a
SM
10717 * emacs-lisp/gv.el (cond): Make it a valid place.
10718 (if): Simplify slightly.
10719
19faa8e8
SM
10720 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10721 (pcase--self-quoting-p): New function.
10722 (pcase--u1): Use it.
10723
c4907a5e
GM
107242012-07-10 Glenn Morris <rgm@gnu.org>
10725
10726 * emacs-lisp/authors.el (authors-fixed-entries):
10727 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10728
c4444d16
PE
107292012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10730
10731 Rename configure.in to configure.ac (Bug#11603).
10732 * emacs-lisp/authors.el (authors-canonical-file-name):
10733 * progmodes/autoconf.el (autoconf-mode):
10734 Prefer configure.ac to configure.in.
10735
d75be97d
CY
107362012-07-08 Chong Yidong <cyd@gnu.org>
10737
01ac65bd
CY
10738 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10739 Implement the mouse-1-click-follows-link handling properly.
10740
10741 * info.el (Info-link-keymap): Use follow-link mechanism for
10742 header-line links (Bug#374).
10743
d75be97d
CY
10744 * simple.el (deactivate-mark): Do not set the primary selection
10745 if another program has acquired it (Bug#11772).
10746
87a92845 107472012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
10748
10749 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10750 (woman-decode-region): Replace escaped-escapes without destroying
10751 bold or underline (Bug#11552).
87a92845 10752 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 10753
621b9d6c
CY
107542012-07-07 Chong Yidong <cyd@gnu.org>
10755
10756 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
10757 (interprogram-cut-function, interprogram-paste-function):
10758 Mention that we typically mean the clipboard.
621b9d6c 10759
133a11fc
GM
107602012-07-06 Glenn Morris <rgm@gnu.org>
10761
0d27a45e
GM
10762 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10763
133a11fc
GM
10764 * files.el (toggle-read-only): Restrict message to interactive use.
10765
07b151f1
MA
107662012-07-06 Michael Albinus <michael.albinus@gmx.de>
10767
10768 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10769
10770 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10771
211b896b
GM
107722012-07-06 Glenn Morris <rgm@gnu.org>
10773
50394322
GM
10774 * Makefile.in (compile-one-process): Rename from "recompile".
10775
211b896b
GM
10776 * Makefile.in (bzr-update): "compile" is the same as "recompile
10777 autoloads", but parallelizable, so use that instead.
10778
4737eec9
DG
107792012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10780
10781 * window.el (quit-window): Always restore window height when
8137e7b3 10782 it's saved in quit-restore parameter (Bug#11810).
4737eec9 10783
226c3633 107842012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
10785
10786 * simple.el (kill-whole-line): Doc tweak.
10787
226c3633 107882012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
10789
10790 * files.el (file-relative-name): Compare file names
10791 case-insensitively if on MS-Windows or MS-DOS, or if
10792 read-file-name-completion-ignore-case is non-nil. Don't use
10793 case-fold-search for this purpose. (Bug#11827)
10794
4dc7c8d5
SM
107952012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10796
10797 * calendar/cal-dst.el (calendar-current-time-zone):
10798 Return calendar-current-time-zone-cache if non-nil.
10799
108002012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 108012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10802
19faa8e8
SM
10803 * calendar/cal-dst.el (calendar-current-time-zone):
10804 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10805
60198fc9
GM
108062012-07-06 Glenn Morris <rgm@gnu.org>
10807
10808 * Makefile.in (cvs-update): Remove old alias.
10809
957b3189
MA
108102012-07-05 Michael Albinus <michael.albinus@gmx.de>
10811
10812 Sync with Tramp 2.2.6-pre.
10813
10814 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10815 compatible declaration.
10816
19faa8e8
SM
10817 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10818 Protect `list-load-path-shadows' call.
957b3189
MA
10819
10820 * net/tramp-compat.el (top): Require packages, which aren't
10821 autoloaded anymore for XEmacs. Protect call of
10822 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10823 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10824 it hurts at least for SXEmacs.
10825 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10826 standard-value for `temporary-file-directory'.
10827
10828 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10829 Redirect stderr to /dev/null.
10830 (tramp-sh-handle-write-region): uid and gid can be floats.
10831 Reported by Russell Sim <russell.sim@gmail.com>.
10832 (tramp-sh-handle-vc-registered): Hide errors.
10833 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10834 and `start-file-process'.
10835 (tramp-maybe-open-connection): Check also whether `non-essential'
10836 is bound.
10837
566df3fc
CY
108382012-07-04 Chong Yidong <cyd@gnu.org>
10839
10840 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10841 (xml-parse-tag): Likewise, and avoid changing entity tables.
10842 (xml-syntax-table): Define from scratch, making sure not to give
10843 x2000 and other Unicode spaces whitespace syntax, since those are
10844 not spaces in XML.
10845 (xml-parse-fragment): Delete unused function.
10846 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10847 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10848 (xml-entity-ref, xml-pe-reference-re)
10849 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10850 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10851 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10852 (xml-entity-value-re): Use syntax references in regexps where
10853 possible; no need to define inside a let-binding.
10854 (xml-parse-dtd): Use xml-pe-reference-re.
10855 (xml-entity-or-char-ref-re): New defconst.
10856 (xml-parse-string, xml-substitute-special): Use it.
10857
30eabd7a
SM
108582012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10859
0781098a
SM
10860 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10861 (find-file--read-only): New function.
10862 (find-file-read-only, find-file-read-only-other-window)
10863 (find-file-read-only-other-frame): Use it.
10864 (insert-file-contents-literally): Don't `fset'.
10865 (get-free-disk-space): Use locate-dominating-file.
10866
b5771c0d
SM
10867 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10868 function is already compiled.
10869
30eabd7a
SM
10870 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10871
b4886f6e
MA
108722012-07-03 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10875 files on the same host.
10876
b9d82339
AS
108772012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10878
10879 * help-fns.el (describe-function-1): Only call
10880 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10881
a76e6535
CY
108822012-07-03 Chong Yidong <cyd@gnu.org>
10883
10884 * xml.el: Protect parser against XML bombs.
10885 (xml-entity-expansion-limit): New variable.
10886 (xml-parse-string, xml-substitute-special): Use it.
10887 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10888
b544fef2
GM
108892012-07-03 Glenn Morris <rgm@gnu.org>
10890
10891 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10892 Allow linking to specific messages in debbugs reports (eg 123#5).
10893
a7aef6f5
CY
108942012-07-02 Chong Yidong <cyd@gnu.org>
10895
10896 * xml.el: Fix entity and character reference expansion, allowing
10897 them to expand into markup as per XML spec.
10898 (xml-default-ns): New variable.
10899 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
10900 (xml-parse-region): Make first two arguments optional.
10901 Discard text properties.
10902 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10903 All callers changed.
a7aef6f5
CY
10904 (xml-parse-tag): Call xml-parse-tag-1. For backward
10905 compatibility, this function should not modify buffer contents.
10906 (xml-parse-tag-1): Fix opening-tag regexp.
10907 (xml-parse-string): Rewrite, handling entity and character
10908 references properly.
10909 (xml--entity-replacement-text): Signal an error if a parameter
10910 entity is undefined.
10911
3df31c9f
SM
109122012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10913
2b5208f1
SM
10914 * comint.el (comint-output-filter): Filter out repeated prompts.
10915
3df31c9f
SM
10916 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10917 and file-name-absolute-p.
10918 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10919 internal calls.
10920
e3ac1281
PE
109212012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10922
10923 Spelling fixes.
10924 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10925 Rename from byte-compile--refiy-function. All uses changed.
10926
fbf2e7ad
CY
109272012-07-01 Chong Yidong <cyd@gnu.org>
10928
10929 * xml.el (xml--parse-buffer): New function. Move most of
10930 xml-parse-region here.
10931 (xml-parse-region): Copy region into a temporary buffer, since
10932 parameter entity substitution requires changing buffer contents.
10933 Use xml--parse-buffer.
10934 (xml-parse-file): Use xml--parse-buffer.
10935 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 10936 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 10937
9bf0aa15
GM
109382012-06-30 Glenn Morris <rgm@gnu.org>
10939
bbce2853
GM
10940 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10941
9bf0aa15
GM
10942 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10943 Remove outdated and unnecessary dbus declarations.
10944
0d23c240
EZ
109452012-06-30 Eli Zaretskii <eliz@gnu.org>
10946
10947 * emacs-lisp/timer.el (timer-until): Subtract results of
10948 float-time, instead of taking float-time of the result of
10949 time-subtract, since float-time signals an error for negative time
10950 arguments.
10951
b3218de1
CY
109522012-06-30 Chong Yidong <cyd@gnu.org>
10953
10954 * xml.el (xml-*-re): Convert defvars into defconsts, and
10955 eval-and-compile them so eval-and-compile works on derivatives.
10956 (xml--entity-replacement-text): Use eval-and-comple.
10957
a40c87a0
MA
109582012-06-30 Michael Albinus <michael.albinus@gmx.de>
10959
10960 * vc/vc-git.el (vc-git-registered): Use cache property
10961 `git-registered'.
10962 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10963 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 10964 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 10965
ac87de97
DG
109662012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10967
10968 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 10969 removed (likely outside Emacs). (Bug#11757)
ac87de97 10970
ac10fe06
SM
109712012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10972
3df31c9f 10973 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 10974
7f3fbd5d
CY
109752012-06-30 Chong Yidong <cyd@gnu.org>
10976
10977 * xml.el: Implement XML parameter entities.
10978 (xml-parameter-entity-alist): New variable.
10979 (xml-parse-region, xml-parse-fragment): Preserve previous values
10980 of xml-entity-alist and xml-parameter-entity-alist, so that
10981 repeated calls on different documents do not change them.
10982 (xml-parse-tag): Fix doctype regexp.
10983 (xml--entity-replacement-text): New function.
10984 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10985 properly requires url retrieval which is unimplemented.
10986 (xml-escape-string): Doc fix.
10987
3cfbebba
SM
109882012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10989
10990 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10991
2af3565e
DA
109922012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10993
10994 * fringe.el (fringe-mode): Doc fix.
10995
929df0e7
MA
109962012-06-29 Michael Albinus <michael.albinus@gmx.de>
10997
10998 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10999 is non-nil.
11000 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11001 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11002
c8d3a25c 110032012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 11004
c8d3a25c
GM
11005 * calendar/cal-dst.el (calendar-current-time-zone):
11006 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 11007
c8d3a25c 110082012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
11009
11010 * progmodes/which-func.el (which-func-format):
11011 Add mouse-face. (Bug#11698)
11012
c8d3a25c
GM
110132012-06-29 Leo Liu <sdl.web@gmail.com>
11014
11015 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11016
110172012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * minibuffer.el (minibuffer-confirm-exit-commands):
11020 Add completion-at-point (bug#11725).
11021
110222012-06-29 Glenn Morris <rgm@gnu.org>
11023
11024 * progmodes/f90.el (f90-font-lock-keywords-2):
11025 Add some preprocessor elements. (Bug#10499)
11026
110272012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11030 Use syntax-propertize (bug#11739).
11031
2badeec4
JB
110322012-06-28 Juanma Barranquero <lekktu@gmail.com>
11033
11034 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11035
ae4969c2
JD
110362012-06-28 Julien Danjou <julien@danjou.info>
11037
11038 * term.el (term-handle-colors-array): Use a set of new faces to
11039 color the terminal. Also uses :inverse-video property.
11040 (term-default-fg-color): Set to nil by default, deprecate in favor
11041 of `term-face'.
11042 (term-default-bg-color): Set to nil by default, deprecate in favor
11043 of `term-face'.
11044 (term-current-face): Use `term-face' by default.
11045 (term-bold-attribute): Variable deleted.
11046
1c9bd870
GM
110472012-06-28 Glenn Morris <rgm@gnu.org>
11048
11049 * simple.el (completion-list-mode-finish):
11050 Don't use toggle-read-only. (Since completion-list-mode has
11051 a special mode-class, it wasn't doing anything extra anyway.)
11052
c207708c
SM
110532012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 Make inlining of other-mode interpreted functions work (bug#11799).
11056 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11057 (byte-compile): Use it to fix compilation of lexical-binding closures.
11058 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11059 function, if needed.
11060
3fd56834
SM
110612012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11062
04901786
SM
11063 * help-mode.el (help-make-xrefs): Don't just withstand
11064 cyclic-variable-indirection but any error in documentation-property.
11065
1ec4b7b2
SM
11066 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11067 memory use.
11068 * bindings.el (bindings--define-key): New function.
11069 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11070 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11071 * bindings.el: Use it to purecopy define-key bindings.
11072
e309e2a5
SM
11073 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11074
d5c6faf9
SM
11075 * emacs-lisp/cl.el (flet): Mark obsolete.
11076 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11077 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11078 * progmodes/js.el (js-c-fill-paragraph):
11079 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11080 (ebrowse-switch-member-buffer-to-derived-class):
11081 * play/5x5.el (5x5-solver): Use cl-flet.
11082
6e9590e2
SM
11083 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11084 (cl--symbol-function): New macro.
11085 (cl--letf, cl--letf*): Use it.
11086
3fd56834
SM
11087 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11088 Strip "toggle-" if any.
11089
35ff222c
GM
110902012-06-27 Glenn Morris <rgm@gnu.org>
11091
1ba6038a
GM
11092 * info.el (Info-default-directory-list): Move here from paths.el.
11093 * paths.el: Remove file, which is now empty.
11094 * loadup.el: No longer load "paths".
11095
0ea0e51b
GM
11096 * custom.el (custom-initialize-delay): Doc fix.
11097
35ff222c
GM
11098 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11099 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11100 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11101 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11102 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11103 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11104 * eshell/eshell.el (eshell-defgroup): Remove alias.
11105
c89926a5
CY
111062012-06-27 Chong Yidong <cyd@gnu.org>
11107
11108 * help.el (help-enable-auto-load): New variable.
11109
11110 * help-fns.el (help-fns--autoloaded-p): New function.
11111 (describe-function-1): Refer to a function as "autoloaded" if it
11112 was autoloaded at any time in the past. Perform autoloading if
11113 help-enable-auto-load is non-nil.
11114
cc06e7e7
EZ
111152012-06-26 Eli Zaretskii <eliz@gnu.org>
11116
11117 * makefile.w32-in (compile, compile-always): Depend on
11118 update-subdirs, not on subdirs.el. Otherwise, several different
11119 sub-targets of 'bootstrap' running in parallel could
11120 simultaneously write to subdirs.el, producing a garbled file.
11121
d2c32364
SS
111222012-06-26 Sam Steingold <sds@gnu.org>
11123
11124 * files.el (file-name-base): New convenience function.
0d14cc21
GM
11125 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11126 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11127 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11128 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11129 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
11130 * textmodes/tex-mode.el: Use it.
11131 Did not touch cedet and org because they are maintained elsewhere.
11132
5cf983b2
MR
111332012-06-26 Martin Rudalics <rudalics@gmx.at>
11134
11135 * calendar/calendar.el (calendar-exit): Don't try to delete or
11136 iconify last frame. See:
11137 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11138
8c4f2952
JD
111392012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11140
11141 * server.el (server-process-filter): Remember dir in the
11142 process's `server-client-directory' properties.
11143
772b2e2c
CY
111442012-06-24 Chong Yidong <cyd@gnu.org>
11145
11146 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11147 non-tag text.
11148
711b11e1
JB
111492012-06-23 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11152
dc5d230c
SM
111532012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * help-fns.el (describe-variable): Don't croak when doc is not found.
11156 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11157 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11158 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11159 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11160 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11161 ((lambda ..) ..).
11162 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11163
136e1c1d
CY
111642012-06-23 Chong Yidong <cyd@gnu.org>
11165
e8c1cabf
CY
11166 * info.el (Info-mouse-follow-link): Accept symbol values of
11167 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
11168 (Info-fontify-node): Use Info-link-keymap for all navigation
11169 buttons, with link-args property to perform the desired action.
11170 (Info-link-keymap): Doc fix.
11171 (Info-next-link-keymap, Info-prev-link-keymap)
11172 (Info-up-link-keymap): Delete now-unused keymaps.
11173
0e9e6c6a
CY
111742012-06-23 Chong Yidong <cyd@gnu.org>
11175
05e89fea
CY
11176 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11177
0e9e6c6a
CY
11178 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11179 system abbrevs.
11180
11181 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11182
e33c6771
SM
111832012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11184
b68581e2
SM
11185 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11186 (bug#11719).
11187
e33c6771
SM
11188 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11189 the requote function doesn't work properly (bug#11714).
11190
7117e105
GM
111912012-06-23 Glenn Morris <rgm@gnu.org>
11192
11193 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11194
36cec983
SM
111952012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 Further GV/CL cleanups.
11198 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11199 gv-expander.
11200 (gv--defun-declaration): New function.
11201 (defun-declarations-alist): Use it.
11202 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11203 (gv-place): Autoload.
11204 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11205 original definition of dotimes and dolist.
11206 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11207 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11208 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11209 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11210 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11211 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11212 to the function's definition.
11213 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11214 * window.el:
11215 * files.el:
11216 * faces.el:
11217 * env.el: Don't use CL.
11218
d35af63c
PE
112192012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11220
11221 Support higher-resolution time stamps (Bug#9000).
11222
11223 * calendar/time-date.el (with-decoded-time-value): New arg
11224 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11225 (encode-time-value): New optional arg PICO. New type 3.
11226 (time-to-seconds) [!float-time]: Support the new picoseconds
11227 component if it's used.
11228 (seconds-to-time, time-subtract, time-add):
11229 Support ps-resolution time stamps as well.
11230
11231 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11232 (timerp): Timer vectors now have length 9, not 8.
11233 (timer--time): Support new-style (4-part) time stamps.
11234 (timer-next-integral-multiple-of-time): Time stamps now have
11235 picosecond resolution, so take a bit more care about rounding.
11236 (timer-relative-time, timer-inc-time): New optional arg psecs.
11237 (timer-set-time-with-usecs): Set psecs to 0.
11238 (timer--activate): Check psecs component, too.
11239
11240 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11241
ac77b21a
SM
112422012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11243
f143bfe3
SM
11244 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11245 Move the non-essential binding to the post/pre-command-hook where it is
11246 more obviously correct.
11247
ac77b21a
SM
11248 * subr.el (read-passwd): Don't use a history at all.
11249 * savehist.el (savehist-save): Remove password saved accidentally
11250 because of the above bug.
11251
76386c5a
BG
112522012-06-22 Bastien Guerry <bzg@gnu.org>
11253
11254 * files.el (toggle-read-only): Display a message telling whether
11255 the buffer is read-only or not (bug#11726).
11256
2ee3d7f0
SM
112572012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * emacs-lisp/gv.el: New file.
11260 * subr.el (push, pop): Extend to generalized variables.
11261 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11262 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11263 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11264 gv-define-simple-setter, and gv-define-expander.
11265 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11266 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11267 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11268 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11269 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11270 gv-letplace.
11271 (cl-defstruct): Don't define setf-method any more.
11272 * emacs-lisp/cl.el (flet): Don't autoload.
11273 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11274 (define-setf-expander, defsetf, define-modify-macro)
11275 (cl-struct-setf-expander): Move from cl-lib.el.
11276 * emacs-lisp/syntax.el:
11277 * emacs-lisp/ewoc.el:
11278 * emacs-lisp/smie.el:
11279 * emacs-lisp/cconv.el:
11280 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11281 (timer--time): Use gv-define-simple-setter.
11282 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11283 to avoid coding-system problems in subr.el. Adjust all users.
11284 (macroexp--maxsize, macroexp-small-p): New functions.
11285 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11286 * scroll-bar.el (scroll-bar-mode):
11287 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11288 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11289 * winner.el (winner-configuration, winner-make-point-alist)
11290 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11291 * files.el (locate-file-completion-table): Avoid list*.
11292
c5695d1d
CY
112932012-06-22 Chong Yidong <cyd@gnu.org>
11294
11295 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11296 (dired-create-files): Doc fix (Bug#11329).
11297 (dired-do-copy): Doc fix (Bug#11334).
11298 (dired-mark-read-string): Doc fix (Bug#11553).
11299
2ee3d7f0
SM
11300 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11301 Doc fix (Bug#11326).
c5695d1d
CY
11302 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11303 (dired-dwim-target): Doc fix.
11304
11305 * wdired.el (wdired-mode): Doc fix.
11306
89b5595a
GM
113072012-06-22 Glenn Morris <rgm@gnu.org>
11308
575db3f1
GM
11309 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11310 (pcmpl-rpm-cache-stamp-file): New constant.
11311 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11312 (pcmpl-rpm-packages): Optionally cache list of packages.
11313
a4c8dd51
GM
11314 * pcmpl-rpm.el (pcmpl-rpm): New group.
11315 (pcmpl-rpm-query-options): New option.
11316 (pcmpl-rpm-packages): No need to inline it.
11317 Use pcmpl-rpm-query-options.
11318
89b5595a
GM
11319 * calendar/calendar.el (calendar-in-read-only-buffer):
11320 Avoid some needless mode changes.
11321
e76f0800
CY
113222012-06-21 Chong Yidong <cyd@gnu.org>
11323
11324 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11325 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 11326 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 11327
297a8f1d
CY
113282012-06-20 Chong Yidong <cyd@gnu.org>
11329
11330 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11331
d34c18b1
DR
113322012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11333
11334 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11335 (bug#11201).
11336
32f7f28e
CY
113372012-06-20 Chong Yidong <cyd@gnu.org>
11338
11339 * term.el (term-window-width): Handle the case of a missing right
11340 fringe (Bug#8837).
11341 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
11342 (term-mode): Use define-derived-mode. Minor cleanups.
11343 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
11344 (term-move-columns, term-insert-char, term-emulate-terminal)
11345 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 11346
493c6688
MA
113472012-06-20 Michael Albinus <michael.albinus@gmx.de>
11348
d34c18b1
DR
11349 * net/ange-ftp.el (ange-ftp-get-passwd):
11350 Bind `enable-recursive-minibuffers'.
493c6688
MA
11351 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11352
3f06ecf4
DR
113532012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11354
11355 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11356
68f12411
GM
113572012-06-19 Glenn Morris <rgm@gnu.org>
11358
11359 * progmodes/python.el (python-mode): Derive from prog-mode.
11360
b3820318
KG
113612012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11362
11363 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11364 (edt-user-menu-bar-update-buffers): New functions.
11365 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11366
c6bf3022
CY
113672012-06-19 Chong Yidong <cyd@gnu.org>
11368
11369 * subr.el (with-selected-window): Preserve the selected window's
11370 terminal's top-frame (Bug#4702).
11371
11372 * window.el (save-selected-window): Likewise.
11373
25f09295
SM
113742012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * progmodes/python.el (python-rx-constituents): Move backquote.
11377 (python-skeleton-define, python-define-auxiliary-skeleton):
11378 Use `declare'.
11379
6b11952a
MA
113802012-06-18 Michael Albinus <michael.albinus@gmx.de>
11381
11382 * minibuffer.el (read-file-name-default): Revert the patch from
11383 2012-06-17.
11384
ee4b1330
SM
113852012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11388 (pcase--u1, pcase--q1): Don't use apply-partially.
11389
35647f79
GM
113902012-06-18 Glenn Morris <rgm@gnu.org>
11391
11392 * progmodes/python.el (python-proc, python-buffer)
11393 (python-send-receive, python-send-string): Fix obsolete versions.
11394
24b0cff0
MR
113952012-06-18 Martin Rudalics <rudalics@gmx.at>
11396
11397 * window.el (special-display-p): Completely remove stringp
11398 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11399
29855149
MA
114002012-06-17 Michael Albinus <michael.albinus@gmx.de>
11401
11402 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11403
11404 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11405
11406 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11407 * net/tramp-sh.el (tramp-maybe-open-connection):
11408 Throw if `non-essential' is non-nil.
11409
07463363
MR
114102012-06-17 Martin Rudalics <rudalics@gmx.at>
11411
11412 * window.el (special-display-p): Signal an error if BUFFER-NAME
11413 is not a string (Bug#11713).
11414
48d1354e
PE
114152012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11416
11417 * progmodes/python.el (python-info-beginning-of-backslash):
11418 Rename from python-info-beginning-of-backlash, as a spelling fix.
11419
eb4a8a9a
CY
114202012-06-17 Chong Yidong <cyd@gnu.org>
11421
11422 * term.el (term-emulate-terminal): If term-check-size is called,
11423 move point to the process mark without resetting point (Bug#4635).
11424
ddfbf826 114252012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
11426
11427 * international/mule-cmds.el (mule-menu-keymap)
11428 (set-language-environment, set-locale-environment): Doc tweaks.
11429
9b0e3eba
AA
114302012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11431
11432 * cus-face.el (custom-face-attributes): Add wave-style underline
11433 attribute.
11434 * faces.el (set-face-attribute): Update docstring to describe
11435 wave-style underline attribute.
11436
771e3eae
CY
114372012-06-16 Chong Yidong <cyd@gnu.org>
11438
11439 * term/xterm.el (terminal-init-xterm): Discard input before
11440 querying background mode (Bug#10959).
11441
7ae2ea10
SM
114422012-06-16 Stefan Merten <smerten@oekonux.de>
11443
11444 * textmodes/rst.el: Added and corrected some comments.
11445 (rst-re-alist-def): Improve symbol syntax.
11446 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
11447 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11448 (rst-official-version, rst-official-cvs-rev): Update version
11449 information.
7ae2ea10 11450
b6974efa
JB
114512012-06-15 Juanma Barranquero <lekktu@gmail.com>
11452
11453 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11454 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11455
8826d473
GM
114562012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11457
11458 * progmodes/python.el: New python.el merge.
11459 (python-guess-indent): Obsolete var.
11460 (python-indent-guess-indent-offset): New defcustom.
11461 (python-indent): Obsolete var.
11462 (python-indent-offset): New defcustom.
11463 (python-python-command, python-jython-command): Delete var.
11464 (python-shell-interpreter): New defcustom.
11465 (python-pdbtrack-do-tracking-p): Delete var.
11466 (python-pdbtrack-activate): New defcustom.
11467 (python-use-skeletons): Obsolete var.
11468 (python-skeleton-autoinsert): New defcustom.
11469 (inferior-python-filter-regexp, python-continuation-offset)
11470 (python-honour-comment-indentation, python-indent-string-contents)
11471 (python-jython-packages, python-mode-hook)
11472 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11473 (python-shell-prompt-alist)
11474 (python-source-modes): Delete defcustoms.
11475 (python-check-buffer-name, python-eldoc-setup-code)
11476 (python-eldoc-string-code, python-ffap-setup-code)
11477 (python-ffap-string-code, python-fill-comment-function)
11478 (python-fill-decorator-function, python-fill-paren-function)
11479 (python-fill-string-function, python-imenu-include-defun-type)
11480 (python-imenu-make-tree, python-imenu-subtree-root-label)
11481 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11482 (python-shell-compilation-regexp-alist)
11483 (python-shell-completion-module-string-code)
11484 (python-shell-completion-pdb-string-code)
11485 (python-shell-completion-setup-code)
11486 (python-shell-completion-string-code)
11487 (python-shell-enable-font-lock, python-shell-exec-path)
11488 (python-shell-extra-pythonpaths)
11489 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11490 (python-shell-process-environment)
11491 (python-shell-prompt-block-regexp)
11492 (python-shell-prompt-output-regexp)
11493 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11494 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11495 (python-shell-virtualenv-path): New defcustoms.
11496 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11497 (inferior-python-mode-syntax-table, python--prompt-regexp)
11498 (python-buffer, python-command python-python-command)
11499 (python-default-template, python-imports, python-indent-index)
11500 (python-indent-list, python-indent-list-length)
11501 (python-mode-running, python-pdbtrack-is-tracking-p)
11502 (python-preoutput-continuation, python-preoutput-leftover)
11503 (python-preoutput-result, python-preoutput-skip-next-prompt)
11504 (python-prev-dir/file, python-recursing)
11505 (python-saved-check-command, python-version-checked)
11506 (python-which-func-length-limit)
11507 (view-return-to-alist): Delete vars.
11508 (python-check-custom-command, python-dotty-syntax-table)
11509 (python-imenu-index-alist, python-indent-current-level)
11510 (python-indent-dedenters, python-indent-levels)
11511 (python-nav-beginning-of-defun-regexp)
11512 (python-nav-list-defun-positions-cache)
11513 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11514 (python-shell-internal-buffer)
11515 (python-skeleton-available): New vars.
11516 (def-python-skeleton): Delete macro.
11517 (python-skeleton-define): New macro.
11518 (python-define-auxiliary-skeleton, python-rx): New macros.
11519 (python-insert-class): Delete command.
11520 (python-skeleton-class): New command.
11521 (python-insert-def): Delete command.
11522 (python-skeleton-def): New command.
11523 (python-insert-for): Delete command.
11524 (python-skeleton-for): New command.
11525 (python-insert-if): Delete command.
11526 (python-skeleton-if): New command.
11527 (python-insert-try/except, python-insert-try/finally): Delete commands.
11528 (python-skeleton-try): New command.
11529 (python-insert-while): Delete command.
11530 (python-skeleton-while): New command.
11531 (python-backspace): Delete command.
11532 (python-indent-dedent-line-backspace): New command.
11533 (python-electric-colon): Delete command.
11534 (python-indent-electric-colon): New command.
11535 (python-guess-indent): Delete command.
11536 (python-indent-guess-indent-offset): New command.
11537 (python-shift-left): Delete command.
11538 (python-indent-shift-left): New command.
11539 (python-shift-right): Delete command.
11540 (python-indent-shift-right): New command.
11541 (python-find-function): Delete command.
11542 (python-nav-jump-to-defun): New command.
11543 (python-next-statement): Delete command.
11544 (python-nav-forward-sentence): New command.
11545 (python-previous-statement): Delete command.
11546 (python-nav-backward-sentence): New command.
11547 (python-fill-paragraph): Delete command.
11548 (python-fill-paragraph-function): New command.
11549 (python-send-buffer): Delete command.
11550 (python-shell-send-buffer): New command.
11551 (python-send-defun): Delete command.
11552 (python-shell-send-defun): New command.
11553 (python-send-region, python-send-region-and-go): Delete commands.
11554 (python-shell-send-region)
11555 (python-shell-switch-to-shell): New commands.
11556 (python-send-string): Delete command.
11557 (python-shell-send-string): New command.
11558 (python-switch-to-python): Delete command.
11559 (python-shell-switch-to-shell): New command.
11560 (python-describe-symbol): Delete command.
11561 (python-eldoc-at-point): New command.
11562 (python--set-prompt-regexp, python-args-to-list)
11563 (python-after-info-look, python-check-version)
11564 (python-check-comint-prompt, python-find-imports)
11565 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11566 (python-unload-function, python-expand-template)
11567 (python-maybe-jython, python-preoutput-filter)
11568 (python-pdbtrack-get-source-buffer)
11569 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11570 (python-pdbtrack-toggle-stack-tracking)
11571 (python-pdbtrack-track-stack-file, python-initial-text)
11572 (python-first-word, python-comment-line-p, python-send-command)
11573 (python-setup-brm, python-sentinel, python-set-proc)
11574 (python-skip-out, python-input-filter, python-outdent-p)
11575 (python-outline-level, python-backslash-continuation-line-p)
11576 (python-end-of-block, python-end-of-statement, python-mark-block)
11577 (python-beginning-of-block, python-beginning-of-statement)
11578 (python-blank-line-p, python-beginning-of-string)
11579 (python-open-block-statement-p): Delete functions.
11580 (python-indent-line, python-indent-line-1): Delete functions.
11581 (python-indent-line): New function.
11582 (python-indentation-levels): Delete function.
11583 (python-indent-calculate-levels): New function.
11584 (python-proc): Delete function.
11585 (python-shell-get-process): New function.
11586 (python-send-receive): Delete function.
11587 (python-shell-send-string-no-output): New function.
11588 (python-module-path): Delete function.
11589 (python-ffap-module-path): New function.
11590 (python-completion-at-point)
11591 (python-symbol-completions): Delete functions.
11592 (python-completion-complete-at-point): New function.
11593 (python-load-file): Delete function.
11594 (python-shell-send-file): New function.
11595 (python-calculate-indentation): Delete function.
11596 (python-indent-calculate-indentation): New function.
11597 (python-skip-comments/blanks): Delete function.
11598 (python-util-forward-comment): New function.
11599 (python-continuation-line-p): Delete function.
11600 (python-info-continuation-line-p): New function.
11601 (python-which-func, python-current-defun): Delete function.
11602 (python-info-current-defun): New function.
11603 (python-beginning-of-defun): Delete function.
11604 (python-nav-beginning-of-defun): New function.
11605 (python-close-block-statement-p)
11606 (python-block-end-p): Delete function.
11607 (python-info-closing-block): New function.
11608 (python-comint-output-filter-function)
11609 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11610 (python-fill-comment, python-fill-decorator, python-fill-paren)
11611 (python-fill-string, python-imenu-make-element-tree)
11612 (python-imenu-make-tree, python-imenu-tree-assoc)
11613 (python-indent-context, python-indent-dedent-line)
11614 (python-indent-line-function)
11615 (python-indent-post-self-insert-function)
11616 (python-indent-toggle-levels)
11617 (python-info-assignment-continuation-line-p)
11618 (python-info-beginning-of-backlash)
11619 (python-info-block-continuation-line-p)
11620 (python-info-closing-block-message)
11621 (python-info-line-ends-backslash-p)
11622 (python-info-looking-at-beginning-of-defun)
11623 (python-info-ppss-context, python-info-ppss-context-type)
11624 (python-nav-list-defun-positions, python-nav-read-defun)
11625 (python-nav-sentence-end, python-nav-sentence-start)
11626 (python-pdbtrack-comint-output-filter-function)
11627 (python-pdbtrack-set-tracked-buffer)
11628 (python-shell-calculate-exec-path)
11629 (python-shell-calculate-process-environment)
11630 (python-shell-completion--do-completion-at-point)
11631 (python-shell-completion--get-completions)
11632 (python-shell-completion-complete-at-point)
11633 (python-shell-completion-complete-or-indent)
11634 (python-shell-get-or-create-process)
11635 (python-shell-get-process-name)
11636 (python-shell-internal-get-or-create-process)
11637 (python-shell-internal-get-process-name)
11638 (python-shell-internal-send-string, python-shell-make-comint)
11639 (python-shell-parse-command, python-shell-send-setup-code)
11640 (python-skeleton-add-menu-items)
11641 (python-util-clone-local-variables, python-util-position)
11642 (run-python-internal, python-indentation-levels)
11643 (python-nav-beginning-of-defun)
11644 (python-completion-complete-at-point): New functions.
11645 (run-python): Change arguments. New API requirements.
11646
4302f5ba
SM
116472012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11648
f38ea36d
SM
11649 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11650 (bug#11649).
11651
11652 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11653 (macroexp--expand-all): Use it.
11654
4302f5ba
SM
11655 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11656 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11657 Use `cl-function' instead.
11658
33377562
JB
116592012-06-14 Juanma Barranquero <lekktu@gmail.com>
11660
11661 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11662 Suggested by Stefan Monnier while discussing bug#11657.
11663
54c5ba1a
SS
116642012-06-14 Sam Steingold <sds@gnu.org>
11665
11666 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11667
f9f1b1fe
AS
116682012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11669
11670 * play/doctor.el (doctor-doc): Remove parameter and use
11671 doctor-sent instead of sent.
11672 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11673
a81068ba
SM
116742012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11675
5a315f9c
SM
11676 * files.el: Require cl-lib.
11677 (file-name-non-special): Replace case -> cl-case.
11678
11679 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11680
a81068ba
SM
11681 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11682 mapping from #' to function*.
11683
8cca9703
CY
116842012-06-13 Chong Yidong <cyd@gnu.org>
11685
11686 * mouse.el (mouse-drag-track): Do not set the mark if the user
11687 releases the mouse without selecting anything (Bug#11588).
11688
a12ac9d7
SM
116892012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11690
ccf1dc18
SM
11691 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11692 as well (bug#11646).
11693
ef62b23d
SM
11694 * loadup.el: Count byte-code functions as well.
11695
c4c8444a
SM
11696 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11697 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11698
a12ac9d7
SM
11699 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11700 (bug#11649). Add cl-defun and cl-defmacro.
11701
87e6e64f
DA
117022012-06-13 Drew Adams <drew.adams@oracle.com>
11703
11704 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11705 Fix last change.
11706
682cefaf
MA
117072012-06-13 Michael Albinus <michael.albinus@gmx.de>
11708
11709 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11710 Otherwise, it blocks in batch mode.
11711
773e1f08
JB
117122012-06-13 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * help-mode.el (bookmark-make-record-default): Declare.
11715
60057926
CY
117162012-06-13 Chong Yidong <cyd@gnu.org>
11717
11718 * emacs-lisp/package.el (list-packages): Compute a list of
11719 packages that are newly-available since the last list-packages
11720 invocation.
11721 (package-menu--new-package-list): New var.
11722 (package-menu--generate, package-menu--print-info)
11723 (package-menu--status-predicate, package-menu-mark-install):
11724 Handle new status label "new".
11725
ad4d226c
SM
117262012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11729 conversion to backquotes.
11730
f1a4e679
CY
117312012-06-12 Chong Yidong <cyd@gnu.org>
11732
11733 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11734 Rename from gud-inhibit-global-bindings.
11735
11736 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11737
11738 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11739 hook from nxml-glyph-set-hook.
11740
11741 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11742 declaration.
11743
11744 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11745
11746 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11747 Convert to defcustom.
11748
0c9e42b5
DA
117492012-06-12 Drew Adams <drew.adams@oracle.com>
11750
11751 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11752 New functions.
11753 (help-mode): Use them.
11754
09e06855
GM
117552012-06-11 Glenn Morris <rgm@gnu.org>
11756
11757 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11758 Use preprocessor face for directives.
11759 (fortran-directive-re): Doc fix.
11760
71adb94b
SM
117612012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11762
2eb87922
SM
11763 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11764 conversion to backquotes (bug#11652).
11765
71adb94b
SM
11766 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11767 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11768 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11769 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11770 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11771 (cl-ninth, cl-tenth): Mark them as inlinable.
11772 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11773 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11774 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11775 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11776 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11777 (cl-list*, cl-adjoin): Don't put an autoload manually.
11778 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11779 (cl--compiler-macro-list*): Add autoload cookie.
11780 (cl--compiler-macro-cXXr): New function.
2eb87922 11781
71adb94b
SM
11782 * help-fns.el (help-fns--compiler-macro): New function extracted from
11783 describe-function-1; follow aliases and use `compiler-macro' property.
11784 (describe-function-1): Use it.
11785
a6674402
CY
117862012-06-11 Chong Yidong <cyd@gnu.org>
11787
11788 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11789 is uninstalled, if imagemagick is installed.
11790
bb3faf5b
SM
117912012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * emacs-lisp/cl-lib.el: Use lexical-binding.
11794 (cl-map-extents, cl-maclisp-member): Remove.
11795 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11796 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11797 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11798 * emacs-lisp/cl-extra.el: Use lexical-binding.
11799 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11800 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11801 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11802 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11803 * emacs-lisp/cl-seq.el: Use lexical-binding.
11804 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11805 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11806 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11807 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11808 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11809 CL's internals.
11810
2fe4b125
MA
118112012-06-11 Michael Albinus <michael.albinus@gmx.de>
11812
11813 Sync with Tramp 2.2.6-pre.
11814
11815 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11816 `print-length' and `print-level' to nil, in order to avoid
11817 truncation. Reported by Christopher Schmidt
11818 <christopher@ristopher.com>.
11819
11820 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11821
11822 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11823 New defmacro.
11824 (tramp-compat-copy-directory): Add optional argument
11825 COPY-CONTENTS. It is not handled yet.
11826
11827 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11828 (tramp-ftp-file-name-p): Simplify.
11829
11830 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11831 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11832 connection vector.
11833
11834 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11835 (tramp-methods): Do not use `tramp-password-end-of-line'.
11836 (tramp-completion-function-alist-putty): Handle UNIX case.
11837 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11838 (tramp-do-file-attributes-with-stat)
11839 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11840 gid as real numbers. They could run out of integer range on cygwin.
11841 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11842 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
11843 (tramp-open-connection-setup-interactive-shell):
11844 Use `tramp-cleanup'. Move check for busyboxes ...
11845 (tramp-find-shell): ... here. Simplify implementation.
11846 Set "remote-shell" property also for alternative shells.
11847 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11848 If failing, a regular file would be written otherwise.
11849 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
11850 (tramp-find-inline-encoding): Cache the coding commands in the
11851 process cache. Apply test command on the remote side, if defined.
11852 (tramp-find-inline-compress): Cache the compress commands in the
11853 process cache.
11854 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11855 when requested. Handle hops.
11856 (tramp-current-connection): New defvar.
87e6e64f
DA
11857 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11858 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 11859 Handle user interrupt. (Bug#10187)
87e6e64f
DA
11860 (tramp-get-inline-compress, tramp-get-inline-coding):
11861 Read connection properties from the process cache.
2fe4b125
MA
11862
11863 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
11864 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11865 New defconsts.
2fe4b125
MA
11866 (tramp-smb-prompt): Extend for powershell prompt.
11867 (tramp-smb-file-name-handler-alist): Add handlers for
11868 `process-file', `shell-command' and `start-file-process'.
11869 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11870 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11871 (tramp-smb-file-name-p): Simplify.
11872 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11873 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11874 (tramp-smb-shell-quote-argument): New defuns.
11875 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11876 Implement using "tar". By this, time-stamps are preserved.
11877 (tramp-smb-handle-copy-file): Handle also the case of directories.
11878 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
11879 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11880 Use `tramp-get-connection-buffer').
2fe4b125
MA
11881 (tramp-smb-handle-rename-file): Use "rename", when source and
11882 target are on the same share.
87e6e64f
DA
11883 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11884 Use `tramp-smb-server-version'.
2fe4b125
MA
11885 (tramp-smb-wait-for-output): Remove prompt.
11886
11887 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
11888 (tramp-methods, tramp-rsh-end-of-line):
11889 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
11890 (tramp-save-ad-hoc-proxies): New defcustom.
11891 (tramp-completion-function-alist): Adapt docstring.
11892 (tramp-default-password-end-of-line): Remove defcustom.
11893 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11894 (tramp-user-regexp, tramp-file-name-regexp-unified)
11895 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11896 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11897 (tramp-remote-file-name-spec-regexp): New defconst.
11898 (tramp-file-name-structure): Extend structure for hops.
11899 (tramp-get-method-parameter): Move up.
11900 (tramp-file-name-p, tramp-dissect-file-name)
11901 (with-parsed-tramp-file-name): Handle hops.
11902 (tramp-file-name-hop): New defun.
11903 (tramp-make-tramp-file-name): New optional arg HOP.
11904 (tramp-message-show-progress-reporter-message): New defvar.
11905 (tramp-with-progress-reporter): Use it. We cannot use
11906 `tramp-message-show-message' here, because this suppresses also
11907 error buffers.
11908 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
11909 `tramp-message-show-message' is nil.
11910 Use `tramp-get-connection-buffer'.
2fe4b125
MA
11911 (tramp-cleanup): New defun.
11912 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11913 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11914 an error unchanged.
11915 (tramp-completion-handle-file-name-all-completions): Handle hops.
11916 Fix an error when called from ido.
11917 (tramp-completion-dissect-file-name): Use better local variable
11918 name. Add hop to the vector.
11919 (tramp-handle-insert-file-contents): Use progress-reporter for the
11920 whole scenario.
11921 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11922 to `t'.
11923 (tramp-check-for-regexp): Simplify search.
11924 (tramp-enter-password): Remove it. Move implementation ...
11925 (tramp-action-password): ... here.
11926 (tramp-mode-string-to-int, tramp-local-host-p)
11927 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
11928 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11929 Set tramp-autoload cookie.
2fe4b125
MA
11930
11931 * net/trampver.el: Update release number.
11932
119332012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11934 Michael Albinus <michael.albinus@gmx.de>
11935
11936 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11937 (tramp-parse-group, tramp-parse-file)
11938 (tramp-parse-shostkeys-sknownhosts): New defuns.
11939 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11940 (tramp-parse-shosts-group, tramp-parse-sconfig)
11941 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11942 (tramp-parse-sknownhosts, tramp-parse-hosts)
11943 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11944 Use them.
11945 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11946 (tramp-parse-putty-group): Don't narrow.
11947 (tramp-parse-putty): Make a loop.
11948 (tramp-file-name-handler): Catch the `suppress' signal.
11949
72834e10
CY
119502012-06-11 Chong Yidong <cyd@gnu.org>
11951
11952 * image.el (imagemagick-register-types): Put the ImageMagick entry
11953 at the end of image-type-file-name-regexps.
11954
a4712e11
JB
119552012-06-11 Johan Bockgård <bojohan@gnu.org>
11956
11957 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11958 (pcase, pcase-let*, pcase-dolist): Use them.
11959
82ad98e3
SM
119602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * emacs-lisp/pcase.el (pcase--let*): New function.
11963 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11964 (pcase--expand): Use macroexp-let².
11965
f80efb86
SM
119662012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11969 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11970 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11971 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11972 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11973 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11974
31ca4639 119752012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 11976
31ca4639
CY
11977 * mail/rmail.el (rmail-yank-current-message): Leave point at
11978 correct position. (Bug#11660)
94f0aa34 11979
31ca4639 119802012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 11981
31ca4639 11982 * allout-widgets.el: Fix code header.
9e1b8ec4 11983
31ca4639 119842012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 11985
f80efb86
SM
11986 * cus-edit.el (customize-changed-options-previous-release):
11987 Bump to 24.1.
31ca4639 11988
642b6d30
AS
119892012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11990
11991 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11992
4f5d2ba1
CY
119932012-06-09 Chong Yidong <cyd@gnu.org>
11994
11995 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11996
e75852fd
MR
119972012-06-09 Martin Rudalics <rudalics@gmx.at>
11998
11999 * window.el (special-display-popup-frame): Don't use
12000 window--display-buffer (Bug#11651).
12001
1e48e282
EZ
120022012-06-09 Eli Zaretskii <eliz@gnu.org>
12003
8a26b487
EZ
12004 Fix parallel builds: make sure loaddefs.el is not being written
12005 while Lisp files are compiled.
12006 (compile): Don't depend on 'mh-autoloads'.
12007 (compile-CMD, compile-SH): Depend on 'autoloads'.
12008 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12009
1e48e282
EZ
12010 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12011
6175e34b
CY
120122012-06-09 Chong Yidong <cyd@gnu.org>
12013
12014 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12015 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12016 Doc fixes (Bug#11225).
12017
d9857e53
SM
120182012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12021 a function if there's a clear indication that it has a compiler-macro.
12022 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12023 (macro-declarations-alist): Add arglist to declaration functions.
12024 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12025 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12026 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12027 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12028 Also add autoload to find the compiler macro.
12029 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12030 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12031 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12032 (cl--compiler-macro-get): New functions, replacing calls to
12033 cl-define-compiler-macro.
12034 (cl-typep) [compiler-macro]: Use macroexp-let².
12035
f81298f8 120362012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
12037
12038 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12039 string properly, fixes Bug#11473.
12040
4b56d0fe
CY
120412012-06-08 Chong Yidong <cyd@gnu.org>
12042
12043 * faces.el (set-face-attribute): Doc fix.
12044 (modify-face): Don't use :bold and :italic.
12045 (error, warning, success): Tweak definitions.
12046
12047 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12048 (custom-modified, custom-set, custom-changed, custom-themed)
12049 (custom-saved, custom-button, custom-button-mouse)
12050 (custom-button-pressed, custom-state, custom-comment-tag)
12051 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12052 (custom-group-subtitle): Use new-style face specs.
12053 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12054 (custom-set-face, custom-changed-face, custom-saved-face)
12055 (custom-button-face, custom-button-pressed-face)
12056 (custom-documentation-face, custom-state-face)
12057 (custom-comment-face, custom-comment-tag-face)
12058 (custom-variable-tag-face, custom-variable-button-face)
12059 (custom-face-tag-face, custom-group-tag-face-1)
12060 (custom-group-tag-face): Remove obsolete face alias.
12061
12062 * epa.el (epa-validity-high, epa-validity-medium)
12063 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12064 (epa-field-name, epa-field-body):
12065 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12066 (font-lock-keyword-face, font-lock-builtin-face)
12067 (font-lock-function-name-face, font-lock-variable-name-face)
12068 (font-lock-type-face, font-lock-constant-face):
12069 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12070 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12071 * speedbar.el (speedbar-button-face, speedbar-file-face)
12072 (speedbar-directory-face, speedbar-tag-face)
12073 (speedbar-selected-face, speedbar-highlight-face)
12074 (speedbar-separator-face):
12075 * whitespace.el (whitespace-newline, whitespace-space)
12076 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12077 (whitespace-line, whitespace-space-before-tab)
12078 (whitespace-space-after-tab, whitespace-indentation)
12079 (whitespace-empty):
12080 * emulation/cua-base.el (cua-global-mark):
12081 * eshell/em-prompt.el (eshell-prompt):
12082 * net/newst-plainview.el (newsticker-new-item-face)
12083 (newsticker-old-item-face, newsticker-immortal-item-face)
12084 (newsticker-obsolete-item-face, newsticker-date-face)
12085 (newsticker-statistics-face, newsticker-default-face):
12086 * net/newst-reader.el (newsticker-feed-face)
12087 (newsticker-extra-face, newsticker-enclosure-face):
12088 * net/newst-treeview.el (newsticker-treeview-face)
12089 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12090 (newsticker-treeview-immortal-face)
12091 (newsticker-treeview-obsolete-face)
12092 (newsticker-treeview-selection-face):
12093 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12094 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12095 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12096 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12097 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12098 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12099 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12100 (mpuz-text):
12101 * progmodes/vera-mode.el (vera-font-lock-number)
12102 (vera-font-lock-function, vera-font-lock-interface):
12103 * textmodes/table.el (table-cell): Use new-style face specs, and
12104 don't use the old :bold and :italic attributes.
12105
12106 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12107 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12108 (ebrowse-member-class, ebrowse-progress): Likewise.
12109 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12110 (ebrowse-file-name-face, ebrowse-default-face)
12111 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12112 (ebrowse-progress-face): Remove obsolete faces.
12113
12114 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12115 Inherit from error and warning faces respectively.
12116
12117 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12118 Likewise.
f80efb86
SM
12119 (flyspell-incorrect-face, flyspell-duplicate-face):
12120 Remove obsolete aliases.
4b56d0fe 12121
03310646
MA
121222012-06-08 Michael Albinus <michael.albinus@gmx.de>
12123
12124 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12125 Avoid infloop.
12126
513749ee
SM
121272012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * startup.el (argv, argi): Make lexically scoped.
12130 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12131 * emacs-lisp/cl-macs.el: Use lexical-binding.
12132 Rename cl-bind-* to cl--bind-*.
12133 * files.el: Don't require `cl' since it doesn't use it.
12134 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12135
595ef4ad
JB
121362012-06-08 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12139 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12140 instead of calling external sort utility.
12141 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12142
e9f66fcb
EZ
121432012-06-08 Eli Zaretskii <eliz@gnu.org>
12144
12145 * descr-text.el (describe-char): Mention how to insert the
12146 character, if the current input method doesn't support it.
12147 See the discussion in this thread for the details:
12148 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12149
3d10db47
SS
121502012-06-08 Sam Steingold <sds@gnu.org>
12151
12152 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12153 XF86Back to previous-buffer.
12154 (minibuffer-local-map): Bind them to next-history-element and
12155 previous-history-element respectively.
12156 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12157 help-go-back respectively.
12158 * info.el (Info-mode-map): Bind them to Info-history-forward and
12159 Info-history-back respectively.
12160 These are the keys next to Up on the ThinkPad keyboard.
12161
de7e2b36
SM
121622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12165 * emacs-lisp/cl-macs.el: Provide itself.
12166 (cl--labels-convert-cache): New var.
12167 (cl--labels-convert): New function.
12168 (cl-flet, cl-labels): New implementation with new semantics, relying on
12169 lexical-binding.
12170 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12171 (cl-closure-vars, cl--function-convert-cache)
12172 (cl--function-convert): Move from cl-macs.el.
12173 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12174 rename by removing the "cl-" prefix.
12175 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12176
6fa6c4ae
SM
121772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12180 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12181 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12182 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12183 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12184 (cl-hash-table-count): Add old compatibility aliases.
12185
12186 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12187 Use macroexpand-all-environment instead.
12188 (cl--old-macroexpand): New var.
12189 (cl--sm-macroexpand): New function.
12190 (cl-symbol-macrolet): Use it during macro expansion.
12191 (cl--function-convert-cache): New var.
12192 (cl--function-convert): New function, extracted from
12193 cl-macroexpand-all.
12194 (cl-lexical-let): Use it.
12195
12196 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12197 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12198 (cl-member): Remove old alias.
12199
12200 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12201 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12202 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12203 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12204 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12205 (cl-macroexpand-cmacs): Remove var.
12206 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12207 Use macroexpand-all instead.
12208
4dd1c416
SM
122092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12212 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12213 (macroexp-copyable-p): New functions and macros.
12214 * emacs-lisp/edebug.el (edebug-unwrap):
12215 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12216 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12217 (pcase--let*): Remove.
12218 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12219 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12220 macroexp-const-p instead.
12221 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12222
12223 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12224 instead of "cl-" for internal definitions. Use macroexp-const-p.
12225 (cl-old-bc-file-form): Remove var.
12226 (cl-const-exprs-p): Remove fun.
12227 (cl-labels, cl-macrolet): Use backquote.
12228 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12229 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12230 (cl-define-setf-expander): Rename from cl-define-setf-method.
12231 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12232
12233 * international/mule-cmds.el: Don't require CL.
12234 (view-hello-file): Don't use `letf'.
12235
ed8bd4d7
SM
122362012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12237
7287f2f3
SM
12238 * tmm.el (tmm-prompt): Use string-prefix-p.
12239 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12240 (tmm-add-prompt): Use minibuffer-completion-help.
12241 (tmm-delete-map): Remove.
12242
ed8bd4d7
SM
12243 * subr.el (kbd): Make it its own function.
12244
7b4cdbf4
SM
122452012-06-07 Stefan Merten <smerten@oekonux.de>
12246
12247 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12248 Silence compiler warnings. Fix versions.
ed8bd4d7 12249 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 12250 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 12251 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
12252 (rst-package-emacs-version-alist): Correct Emacs version to
12253 represent major merge with upstream.
ed8bd4d7 12254 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 12255
2b48d721
GM
122562012-06-06 Glenn Morris <rgm@gnu.org>
12257
12258 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12259 Only print environment variables if set.
12260
fa779ab0
SM
122612012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12264 (macroexp--cons): Rename from maybe-cons.
12265 (macroexp--accumulate): Rename from macroexp-accumulate.
12266 (macroexp--all-forms): Rename from macroexpand-all-forms.
12267 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12268 (macroexp--expand-all): Rename from macroexpand-all-1.
12269
628299e0
SS
122702012-06-06 Sam Steingold <sds@gnu.org>
12271
12272 * calendar/calendar.el (calendar-in-read-only-buffer):
12273 Call `special-mode' to enable the standard read-only keybindings.
12274
b7bb5838
SM
122752012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12278 with "loading" messages (bug#11635).
12279
dfb308ba
MA
122802012-06-06 Michael Albinus <michael.albinus@gmx.de>
12281
12282 * files.el (enable-remote-dir-locals): New option.
12283 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12284
0372ee92
MA
12285 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12286 Ensure, that the temp directory is local.
12287
12288 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12289 `temporary-file-directory'.
12290
eed0bb91
MA
12291 * progmodes/python.el (python-send-region): Ensure, that the
12292 temporary file is created also in the remote case.
12293
7a58f64d
GM
122942012-06-06 Glenn Morris <rgm@gnu.org>
12295
f7dd4e98
GM
12296 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12297 (vc-rcs-update-changelog): Use it.
12298
090bd7cb 12299 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 12300
7a58f64d
GM
12301 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12302 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12303 (vc-sccs-diff): Replace use of the external vcdiff script.
12304
daed4003
GM
123052012-06-05 Glenn Morris <rgm@gnu.org>
12306
12307 * ledit.el: Move to obsolete/.
12308
48c455c7
SS
123092012-06-05 Sam Steingold <sds@gnu.org>
12310
ed9265fc 12311 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
12312 patch (Bug#11140).
12313
57a7d507
SM
123142012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12315
090bd7cb 12316 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 12317
53aacf21
SM
12318 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12319 compiler-macro expansion.
12320
57a7d507
SM
12321 Add native compiler-macro support.
12322 * emacs-lisp/macroexp.el (macroexpand-all-1):
12323 Support compiler-macros directly. Properly follow aliases and apply
12324 the compiler macros more thoroughly.
12325 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12326 macroexpand now properly follows aliases.
12327 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12328 (cl-compiler-macroexpand): Use new prop.
12329 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12330
12331 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12332
51a5f9d8
MR
123332012-06-05 Martin Rudalics <rudalics@gmx.at>
12334
12335 * window.el (get-lru-window, get-mru-window, get-largest-window):
12336 New argument NOT-SELECTED to avoid picking the selected window.
12337 (window--display-buffer-1, window--display-buffer-2): Replace by
12338 new function window--display-buffer
12339 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
12340 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12341 Use window--display-buffer.
51a5f9d8
MR
12342 (display-buffer-use-some-window): Remove temporary dedication
12343 hack by calling get-lru-window and get-largest-window with
12344 NOT-SELECTED argument non-nil. Call window--display-buffer.
12345
08f9f738
GM
123462012-06-05 Glenn Morris <rgm@gnu.org>
12347
12348 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12349 Replace external vcdiff script.
12350
e364a2b7
SM
123512012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12354
041df390
CY
123552012-06-04 Chong Yidong <cyd@gnu.org>
12356
e364a2b7
SM
12357 * image.el (imagemagick-types-inhibit): Revert last change.
12358 Add INFO and M.
47b36b94 12359 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 12360
7c1898a7
SM
123612012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * emacs-lisp/cl-lib.el: Rename from cl.el.
12364 * emacs-lisp/cl.el: New compatibility file.
12365 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12366 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12367 to obey the "cl-" prefix.
12368 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12369
0c3461de
GM
123702012-06-03 Glenn Morris <rgm@gnu.org>
12371
1e266c88
GM
12372 * emacs-lisp/authors.el (authors-aliases): Addition.
12373
0c3461de
GM
12374 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12375 Fix :version.
12376
d8a52e15
SM
123772012-06-03 Stefan Merten <smerten@oekonux.de>
12378
12379 * textmodes/rst.el: Add comments.
12380 (rst-transition, rst-adornment): New faces.
12381 (rst-adornment-faces-alist): Make default safe to reevaluate.
12382 Fixes
12383 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12384 Improve customization tags.
12385 (rst-define-level-faces): Clarify meaning.
12386
5205d6f6
CY
123872012-06-03 Chong Yidong <cyd@gnu.org>
12388
12389 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
12390 (compilation-mode-line-run, compilation-mode-line-exit):
12391 New faces.
5205d6f6
CY
12392 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12393
757ee657
JD
123942012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12395
7c1898a7
SM
12396 * progmodes/which-func.el (which-func-update-ediff-windows):
12397 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 12398
5f2c76c6
CY
123992012-06-03 Chong Yidong <cyd@gnu.org>
12400
12401 * bindings.el: Remove explicit help text from format-mode-line.
12402 It is now supplied by mode-line-default-help-echo.
12403 (mode-line-front-space, mode-line-end-spaces)
12404 (mode-line-misc-info): New variables.
12405 (mode-line-modes, mode-line-position): Move the default value to
12406 the variable definition.
12407 (mode-line-default-help-echo): New defcustom.
383f7350
CY
12408 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12409 (mode-line-modified-help-echo): New functions.
12410 (mode-line-mule-info, mode-line-modified): Use them.
12411 (mode-line-eol-desc, propertized-buffer-identification):
12412 Consistency fixes for help text.
cbe46e5f
CY
12413 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12414 set-buffer-file-coding-system (Bug#289).
12415 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 12416
f2d6a3df
SM
124172012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * simple.el (execute-extended-command): Set real-this-command
12420 (bug#11506).
12421
37269466
CY
124222012-06-02 Chong Yidong <cyd@gnu.org>
12423
12424 Remove incorrect uses of "modeline" in comments, docstrings, and
12425 function/variable names (Bug#10329).
12426
12427 * cus-edit.el (mode-line):
12428 * dframe.el (dframe-mouse-hscroll):
12429 * emacs-lisp/re-builder.el:
12430 * emacs-lisp/easy-mmode.el (define-minor-mode):
12431 * frame.el (set-frame-name):
12432 * help.el (lookup-minor-mode-from-indicator):
12433 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12434 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12435 (c-toggle-hungry-state):
12436 * progmodes/antlr-mode.el (antlr-language-alist):
12437 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12438 * progmodes/vhdl-mode.el (vhdl-mode):
12439 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12440 * term/ns-win.el (ns-face-at-pos):
12441 * term/sup-mouse.el (sup-mouse-report):
12442 * textmodes/flyspell.el (flyspell-mode-line-string):
12443 * textmodes/ispell.el (ispell-highlight-face):
12444 * textmodes/reftex-global.el:
12445 * vc/vc-arch.el (vc-arch-mode-line-string):
12446 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12447 * vc/vc-git.el (vc-git-mode-line-string):
12448 * vc/vc-hooks.el (vc-display-status)
12449 (vc-default-mode-line-string):
12450 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12451
12452 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12453
12454 * dired.el (dired-sort-set-mode-line): Rename from
12455 dired-sort-set-modeline. All callers changed.
12456
12457 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12458 eshell-status-in-modeline.
12459
12460 * foldout.el (foldout-mode-line-string): Rename from
12461 foldout-modeline-string. All callers changed.
12462 (foldout-update-mode-line): Rename from foldout-update-modeline.
12463
12464 * subr.el (redraw-modeline): Make into obsolete alias.
12465
12466 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12467 timeclock-modeline-display. Make old name an alias.
12468 (timeclock-update-mode-line): Likewise. All callers changed.
12469 (timeclock-mode-line-display): No need to check before using
12470 add-hook.
12471 (timeclock-relative, timeclock-day-over-hook)
12472 (timeclock-use-elapsed, timeclock-mode-string)
12473 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12474
12475 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12476 crisp-mode-modeline-string.
12477
12478 * play/solitaire.el (solitaire-build-mode-line): Rename from
12479 solitaire-build-modeline. All callers changed.
12480
12481 * play/zone.el (zone-hiding-mode-line): Rename from
12482 zone-hiding-modeline. All callers changed.
12483 (zone): Remove unusued `modeline-hidden-level' property.
12484
12485 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12486 xscheme-modeline-initialize. All callers changed.
12487
12488 * strokes.el (strokes-lighter): Rename from
12489 strokes-modeline-string.
12490
12491 * textmodes/sgml-mode.el (html-face-tag-alist)
12492 (html-tag-face-alist): Use mode-line face instead of obsolete
12493 alias modeline.
12494
42152ee4
SM
124952012-06-02 Stefan Merten <smerten@oekonux.de>
12496
12497 * textmodes/rst.el: Always require `cl'.
4cf9b38d 12498 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 12499
95f520b5
CY
125002012-06-02 Chong Yidong <cyd@gnu.org>
12501
12502 * image.el (imagemagick-enabled-types): Rename from
12503 imagemagick-types-enable. Add many more types.
12504 (imagemagick-types-inhibit): Change default to nil.
12505 (imagemagick-filter-types): Caller changed.
12506
4a5f187a
SM
125072012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12508
03fef3e6
SM
12509 * emacs-lisp/cl-macs.el: Use backquotes.
12510 (cl-transform-function-property): Use eval-and-compile rather than
12511 abusing `require'.
12512 (defstruct): Use declare-function instead of with-no-warnings.
12513
4a5f187a
SM
12514 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12515 (byte-compile-output-docform): Re-add the print-circle bindings.
12516 (byte-compile-fix-header): Use #$ just because it's shorter.
12517 (byte-compile-output-file-form): Remove defun/defmacro.
12518
bd56924f
MR
125192012-06-01 Martin Rudalics <rudalics@gmx.at>
12520
12521 * simple.el (choose-completion): Remove now obsolete binding for
12522 owindow.
12523
046e38ce
MA
125242012-06-01 Michael Albinus <michael.albinus@gmx.de>
12525
12526 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12527 in order to avoid "Stack overflow in regexp matcher".
12528
32d72c2f
GM
125292012-05-31 Glenn Morris <rgm@gnu.org>
12530
12531 * image.el: For clarity, call imagemagick-register-types at
12532 top-level, rather than relying on a custom :initialize.
12533 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
12534 (imagemagick-filter-types): New function. (Bug#7406)
12535 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
12536 If disabling support, remove elements altogether rather
12537 than using an impossible regexp.
12538 (imagemagick-types-inhibit): Give it the default init function.
12539
dd41169b
SM
125402012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12541
4a5f187a
SM
12542 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12543 Handle arbitrary file name lengths (Bug#11585).
dd41169b 12544
efc00ab1 125452012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
12546
12547 * desktop.el (desktop-read): Clear previous and next buffers for
12548 all windows and bury *Messages* buffer (bug#11556).
12549
500fcedc
SM
125502012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 Add `declare' for `defun'. Align `defmacro's with it.
12553 * emacs-lisp/easy-mmode.el (define-minor-mode)
12554 (define-globalized-minor-mode): Don't autoload the var definitions.
12555 * emacs-lisp/byte-run.el: Use lexical-binding.
12556 (defun-declarations-alist, macro-declarations-alist): New vars.
12557 (defmacro, defun): Use them.
12558 (make-obsolete, define-obsolete-function-alias)
12559 (make-obsolete-variable, define-obsolete-variable-alias):
12560 Use `declare'.
12561 (macro-declaration-function): Mark obsolete.
12562 * emacs-lisp/autoload.el: Use lexical-binding.
12563 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12564
6e8a1786
AM
125652012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12566
12567 * textmodes/ispell.el (ispell-with-no-warnings):
12568 Define as a macro.
500fcedc
SM
12569 (ispell-kill-ispell, ispell-change-dictionary):
12570 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
12571 `interactive-p'.
12572
61b108cc
SM
125732012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12574
12575 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12576 (macro-declaration-function): Move var from C code.
12577 (macro-declaration-function): Define function with defalias.
12578 * emacs-lisp/macroexp.el (macroexpand-all-1):
12579 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12580 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12581 defun/defmacro any more.
12582 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12583 Provide fallback for unknown arglist.
12584 (byte-compile-arglist-warn): Change calling convention.
12585 (byte-compile-output-file-form): Move print-vars binding.
12586 (byte-compile-output-docform): Simplify accordingly.
12587 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12588 (byte-compile-defmacro-declaration): Remove.
12589 (byte-compile-file-form-defmumble): Generalize to defalias.
12590 (byte-compile-output-as-comment): Return byte-positions.
12591 Simplify callers accordingly.
12592 (byte-compile-lambda): Use `assert'.
12593 (byte-compile-defun, byte-compile-defmacro): Remove.
12594 (byte-compile-file-form-defalias):
12595 Use byte-compile-file-form-defmumble.
12596 (byte-compile-defalias-warn): Remove.
12597
6d3f7c2f
SM
125982012-05-29 Stefan Merten <smerten@oekonux.de>
12599
12600 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 12601 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
12602
12603 (rst-mode-abbrev-table): Merge definition.
12604 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12605 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12606
6dbaa1c7
UJ
126072012-05-29 Ulf Jasper <ulf.jasper@web.de>
12608
12609 * calendar/icalendar.el
12610 (icalendar-export-region): Export UID properly.
12611
d209e2fb 126122012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
12613 * calendar/icalendar.el (icalendar-import-format):
12614 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
12615 (icalendar-import-format-uid): New.
12616 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12617 Export UID.
12618
6876a58d
SM
126192012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12622 different alternative patterns.
12623 (pcase-codegen): Be more careful to preserve identity.
12624 (pcase--u1): Don't forget to mark vars as used.
12625
12626 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12627 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12628 (byte-compile-from-buffer): ...rather than here.
12629
12630 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12631 functions from byte-compile-function-environment.
12632
46b7967e
TN
126332012-05-29 Troels Nielsen <bn.troels@gmail.com>
12634
12635 * window.el (window-deletable-p): Avoid deleting the root window
12636 of a frame with an active minibuffer.
12637
69d565e2
MR
126382012-05-29 Martin Rudalics <rudalics@gmx.at>
12639
12640 * simple.el (choose-completion): Use quit-window (Bug#11567).
12641
a149fa51
CY
126422012-05-29 Chong Yidong <cyd@gnu.org>
12643
12644 * whitespace.el (whitespace-cleanup): Fix usage of
12645 whitespace-empty-at-bob-regexp (Bug#11492).
12646
2b311310
AH
126472012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12648
12649 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12650 revert (Bug#11488).
12651
b9cb2387
JL
126522012-05-29 Juri Linkov <juri@jurta.org>
12653
12654 * isearch.el (isearch-mode-map): Bind `M-s _' to
12655 `isearch-toggle-symbol'. Bind `M-s c' to
12656 `isearch-toggle-case-fold'.
12657 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12658 (isearch-forward): Add `M-s _' to the docstring.
12659 (isearch-forward-symbol, isearch-toggle-case-fold)
12660 (isearch-symbol-regexp): New functions. (Bug#11381)
12661
d5e61c1c
JL
126622012-05-29 Juri Linkov <juri@jurta.org>
12663
12664 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12665 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12666 a function, call it to get the regexp.
12667 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12668 property `isearch-message-prefix' instead of the string "word ".
12669 (isearch-search-fun-default): For the case of `isearch-word',
12670 return a lambda that calls re-search-forward/re-search-backward
12671 with a regexp returned by `word-search-regexp' or by the function
12672 in `isearch-word'.
12673
8cbd80f7
JL
126742012-05-29 Juri Linkov <juri@jurta.org>
12675
12676 * isearch.el (isearch-search-fun-default): New function.
12677 (isearch-search-fun): Move default part to the new function
12678 `isearch-search-fun-default'.
12679 (isearch-search-fun-function): Set the default value to
12680 `isearch-search-fun-default'. (Bug#11381)
12681
12682 * comint.el (comint-history-isearch-end):
12683 Use `isearch-search-fun-default'.
12684 (comint-history-isearch-search): Use `isearch-search-fun-default'
12685 and remove spacial case for `isearch-word'.
12686 (comint-history-isearch-wrap): Remove spacial case for
12687 `isearch-word'.
12688
12689 * hexl.el (hexl-isearch-search-function):
12690 Use `isearch-search-fun-default'.
12691
12692 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12693 Use `word-search-regexp' for `isearch-word'.
12694
12695 * misearch.el (multi-isearch-search-fun):
12696 Use `isearch-search-fun-default'.
12697
12698 * simple.el (minibuffer-history-isearch-search):
12699 Use `isearch-search-fun-default' and remove spacial case for
12700 `isearch-word'.
12701 (minibuffer-history-isearch-wrap): Remove spacial case for
12702 `isearch-word'.
12703
12704 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12705 Remove spacial case for `isearch-word'.
12706 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12707
85c8c5b6
AM
127082012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12709
12710 Decrease XEmacs incompatibilities.
12711 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12712 Use `string-match'.
12713 (flyspell-delete-region-overlays): Use alternative definition for
12714 XEmacs.
12715 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12716 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12717 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12718 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12719 `define-obsolete-face-alias' under XEmacs, but old method.
12720
12721 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12722 `with-no-warnings' definition or Emacs alias.
12723 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12724 (ispell-word): Do not use `region-p' if XEmacs.
12725
8cab9efc
AM
127262012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12727
12728 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12729 Check for `ispell-dictionary-base-alist' instead of full
12730 `ispell-dictionary-alist'.
12731 (ispell-init-process): Show spellchecker when starting new Ispell
12732 process.
12733
fda91268
RZ
127342012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12737 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12738
694ea8e3
JB
127392012-05-27 Juanma Barranquero <lekktu@gmail.com>
12740
12741 * version.el (motif-version-string, gtk-version-string)
12742 (ns-version-string): Declare.
12743
e4d4f539
JL
127442012-05-27 Juri Linkov <juri@jurta.org>
12745
12746 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12747 after the `eval-defun-1' specialcaseing
12748 like in `edebug-eval-defun' (bug#10181).
12749
12750 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12751 like in `eval-defun-1'.
12752
33017faf 127532012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 12754
fda91268
RZ
12755 * mail/sendmail.el (mail-yank-region):
12756 Recognize rmail-yank-current-message in addition to insert-buffer.
12757 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
12758 a *mail* buffer created through rmail-start-mail with sendmail as
12759 mail-user-agent.
12760
33017faf
GM
127612012-05-27 Chong Yidong <cyd@gnu.org>
12762
12763 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12764 Default to 256 (Bug#11267).
12765
12766 * help.el (describe-mode): Doc fix.
12767
04188bb9
GM
127682012-05-26 Glenn Morris <rgm@gnu.org>
12769
38264cc9
GM
12770 * w32-fns.el (w32-init-info): Remove.
12771 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12772
eb7afdad
GM
12773 * info.el (info-initialize): For self-contained NS builds, put the
12774 included info/ directory at the front. (Bug#2791)
12775
04188bb9
GM
12776 * paths.el (Info-default-directory-list): Make it a defcustom,
12777 mainly so that we can use custom-initialize-delay.
12778
a179e3f7
SM
127792012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12780
43416392
SM
12781 * subr.el (buffer-has-markers-at): Mark obsolete.
12782
a179e3f7 12783 * subr.el (lambda): Use declare.
43416392 12784
a179e3f7
SM
12785 * emacs-lisp/lisp-mode.el (lambda):
12786 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12787
34a008d9
AH
127882012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12789
12790 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12791
0a3b289f
GM
127922012-05-26 Glenn Morris <rgm@gnu.org>
12793
12794 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12795
758c81e8
GM
127962012-05-25 Glenn Morris <rgm@gnu.org>
12797
f9f334f0
GM
12798 * paths.el: Remove no-byte-compile.
12799 * loadup.el: No need to load paths.el uncompiled.
12800
87eb79c2
GM
12801 * image.el (imagemagick-types-inhibit): Doc fix.
12802
758c81e8
GM
12803 * version.el: Remove no-byte-compile and associated formatting.
12804 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12805 is ancient code from when there was an "inc-vers.el".
12806
e7e85dc0
SM
128072012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * progmodes/gdb-mi.el: Minor style changes.
12810 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12811 Turn into minor modes.
12812 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12813 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12814 (gdb-shell): Remove unneeded let-binding.
12815 (gdb-get-many-fields): Eliminate O(n²) behavior.
12816
f31237a4
EZ
128172012-05-25 Eli Zaretskii <eliz@gnu.org>
12818
12819 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12820 platforms that don't link in fontset.c.
12821
bc1b21bb
JL
128222012-05-25 Juri Linkov <juri@jurta.org>
12823
12824 Use the same diff color scheme as in modern VCSes (bug#10181).
12825
12826 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12827 to avoid confusion with `diff-added' that now uses green colors.
12828 (diff-removed): Use shades of red.
12829 (diff-added): Use shades of green.
12830 (diff-changed): Leave just the yellow color.
12831 (diff-use-changed-face): New variable.
12832 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12833 how to highlight context diff changes.
12834 (diff-refine-change): Use shades of yellow.
12835 (diff-refine-removed): New face that uses shades of red.
12836 (diff-refine-added): New face that uses shades of green.
12837 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12838 `diff-refine-removed' in the call to `smerge-refine-subst'
12839 depending on the value of `diff-use-changed-face'.
12840
12841 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12842 (smerge-other): Use shades of green.
12843 (smerge-base): Use shades of yellow.
12844 (smerge-refined-change): Empty face.
12845 (smerge-refined-removed): New face that uses shades of red.
12846 (smerge-refined-added): New face that uses shades of green.
12847 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12848 args `props-r' and `props-a', and use them. Doc fix.
12849 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12850 on its value use different faces `smerge-refined-change',
12851 `smerge-refined-removed', `smerge-refined-added' in the call to
12852 `smerge-refine-subst'.
12853
12854 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12855 Add face condition `min-colors 88' with shades of red.
12856 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12857 `min-colors 88' with shades of green.
12858 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12859 `min-colors 88' with shades of yellow.
12860
6df9112c
GM
128612012-05-24 Glenn Morris <rgm@gnu.org>
12862
ead5edc0
GM
12863 * paths.el (prune-directory-list, remote-shell-program): Move to...
12864 * files.el (prune-directory-list, remote-shell-program): ...here.
12865 For the latter, delay initialization, prefer ssh, just search PATH.
12866
f18b81e6
GM
12867 * paths.el (term-file-prefix): Move to faces.el (the only user).
12868 * faces.el (term-file-prefix): Move here, make it a defcustom.
12869
ee2f89a6
GM
12870 * paths.el (news-directory, news-path, news-inews-program):
12871 Move to gnus/nnspool.el.
61a583ca 12872
f8815e4c
GM
12873 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12874
c8f3b42c
GM
12875 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12876 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12877 Make the latter a defcustom, with a delayed initialization.
12878
6df9112c
GM
12879 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12880 These were deleted from Gnus itself late 2010.
12881
5dadff36
JB
128822012-05-22 Juanma Barranquero <lekktu@gmail.com>
12883
9e1701c6
JB
12884 * progmodes/which-func.el (which-func-ff-hook):
12885 Check against user-error, not error.
12886
bd7239f5 12887 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
12888 cl-specs.el, which no longer exists.
12889
3290526d
GM
128902012-05-22 Glenn Morris <rgm@gnu.org>
12891
12892 * info.el (info-emacs-bug): New command.
12893 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12894 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12895
ff0c3cfb
GM
128962012-05-21 Glenn Morris <rgm@gnu.org>
12897
12898 * makefile.w32-in (update-subdirs-SH):
12899 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12900
5814f126
SM
129012012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12902
a52c0aa0
SM
12903 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12904
5814f126
SM
12905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12906 Simplify Maven regexp, and make sure the file can't start with a space
12907 (bug#11517).
12908
b847032c
GM
129092012-05-21 Glenn Morris <rgm@gnu.org>
12910
12911 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12912 Scrap superfluous subshells.
12913
3858bfe7
SM
129142012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12917 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12918
d14b0029
JB
129192012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12920
12921 * calc/calc.el (calc-ensure-consistent-units): New variable.
12922
a52c0aa0
SM
12923 * calc/calc-units.el (math-consistent-units-p)
12924 (math-check-unit-consistency): New functions.
12925 (calc-quick-units, calc-convert-units):
12926 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12927 is non-nil.
d14b0029
JB
12928 (calc-extract-units): Fix typo.
12929
60c4db3a
SM
129302012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12931
77f3b62e
SM
12932 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12933
60c4db3a
SM
12934 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12935 (flyspell-default-deplacement-commands): Don't spell check after
12936 repeated window/frame switches (e.g. triggered by mouse-movement).
12937 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12938 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12939 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12940 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12941 Remove unused vars.
12942 (flyspell-get-casechars, flyspell-get-not-casechars):
12943 Simplify; Don't bother removing a ] just to add it back.
12944 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12945
d209e2fb 129462012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
12947
12948 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12949 New functions.
bd7239f5 12950 (math-function-table): Add support for more C functions.
b1a10716 12951
3f1b25b5
AM
129522012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12953
090bd7cb
JB
12954 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12955 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12956 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 12957
b581bb5c
SM
129582012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12961 their respective macro declarations.
12962 * skeleton.el (define-skeleton):
12963 * progmodes/compile.el (define-compilation-mode):
12964 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12965 (define-ibuffer-filter):
12966 * emacs-lisp/generic.el (define-generic-mode):
12967 * emacs-lisp/easy-mmode.el (define-minor-mode)
12968 (define-globalized-minor-mode):
12969 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12970 * emacs-lisp/byte-run.el (defsubst):
12971 * custom.el (deftheme): Add doc-string metadata.
12972
70b8ef8f
SM
129732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12976
b1198e17
SM
129772012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12978
9abdc45d
SM
12979 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12980
b1198e17
SM
12981 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12982 * emacs-lisp/cl-macs.el: Idem.
12983 * emacs-lisp/cl-specs.el: Remove.
12984
4735906a
SM
129852012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 Minor renaming of internal CL functions and variables.
12988 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12989 (cl--position): Rename from cl-position.
12990 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12991 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12992 (cl--random-state): Rename from *random-state*.
12993
ac348012
SM
129942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12997 parens around the arg list (bug#11499).
12998
a0a79cde
JL
129992012-05-17 Juri Linkov <juri@jurta.org>
13000
13001 * isearch.el (word-search-regexp, word-search-backward)
13002 (word-search-forward, word-search-backward-lax)
13003 (word-search-forward-lax): Move functions from search.c
13004 (bug#10145, bug#11381).
13005
65034a51
AM
130062012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13007
090bd7cb
JB
13008 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13009 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13010 Delay for otherchars as for normal word components.
65034a51 13011
1a72a195
SM
130122012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * minibuffer.el (completion--sifn-requote): Fix last change.
13015 (minibuffer-local-must-match-filename-map):
13016 Move define-obsolete-variable-alias before its var.
13017
fdb058c2
SM
130182012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13019
c41045e6
SM
13020 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13021
036dfb8b
SM
13022 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13023 behavior.
13024 (completion--string-equal-p): New function.
13025 (completion--twq-all): Use it to get better assertion failure data.
13026
2473256d
SM
13027 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13028 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13029 (shell--requote-argument): New functions.
13030 (shell-completion-vars): Use them.
13031 (shell--parse-pcomplete-arguments): Rename from
13032 shell-parse-pcomplete-arguments.
13033 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13034 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13035 Obey comint-file-name-quote-list.
13036
fdb058c2
SM
13037 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13038 (smie-indent-keyword): Use it.
13039
51fa99f1
SM
130402012-05-14 Stefan Merten <smerten@oekonux.de>
13041
13042 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13043
e18afed7 130442012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
13045
13046 * net/rlogin.el (rlogin-mode-map): Fix last change.
13047
e18afed7 130482012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
13049
13050 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13051 the following \r\n using a single `process-send-string', since the
13052 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 13053 with two `process-send-string's (Bug#11444).
8633b1f4 13054
e18afed7 130552012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 13056
fdb058c2
SM
13057 * shell.el (shell-parse-pcomplete-arguments):
13058 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 13059
2d21d7f6
WJ
130602012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13061
e18afed7 13062 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
13063 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13064 (image-transform-width, image-transform-fit-width): New functions.
13065 (image-transform-properties): Use them.
13066 (image-transform-check-size): New function.
13067 (image-toggle-display-image): Use it (for testing).
13068 (image-transform-set-rotation): Reduce angle mod 360.
13069 Delete obsolete comment.
13070
7102e6d0
WJ
130712012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13072
13073 * image-mode.el: Fix scaling (bug#11399).
13074 (image-transform-resize): Doc fix.
13075 (image-transform-properties): Default scale is 1 and height should
13076 be an integer.
13077
06bc5e6e
SM
130782012-05-13 Johan Bockgård <bojohan@gnu.org>
13079
13080 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13081 than hard-coding `car', to fix misbehavior when moving forward.
13082
0ae03b6a
CY
130832012-05-13 Chong Yidong <cyd@gnu.org>
13084
13085 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13086 (tabulated-list-entries, tabulated-list-padding)
13087 (tabulated-list-sort-key): Make permanent-local.
13088
13089 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13090 (electric-buffer-list): Put electric buffer menu
13091 command descriptions in this docstring, instead of the docstring
13092 of electric-buffer-menu-mode. Code cleanups.
13093 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13094 Electric-buffer-menu-mode.
13095 (electric-buffer-update-highlight): Minor code cleanup.
13096
205a7391
MA
130972012-05-13 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13100 (Bug#11447)
13101
e5bd0a28
SM
131022012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13103
13104 Move define-obsolete-variable-alias before the var's definition.
13105 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13106 * tooltip.el (tooltip-hook):
13107 * textmodes/reftex-toc.el (reftex-toc-map):
13108 * textmodes/reftex-sel.el (reftex-select-label-map)
13109 (reftex-select-bib-map):
13110 * textmodes/reftex-index.el (reftex-index-map)
13111 (reftex-index-phrases-map):
13112 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13113 * progmodes/meta-mode.el (meta-mode-map):
13114 * novice.el (disabled-command-hook):
13115 * loadhist.el (unload-hook-features-list):
13116 * frame.el (blink-cursor):
13117 * files.el (find-file-not-found-hooks, write-file-hooks)
13118 (write-contents-hooks):
13119 * emulation/tpu-edt.el (GOLD-map):
13120 * emacs-lock.el (emacs-lock-from-exiting):
13121 * emacs-lisp/generic.el (generic-font-lock-defaults):
13122 * emacs-lisp/chart.el (chart-map):
13123 * dos-fns.el (register-name-alist):
13124 * dired-x.el (dired-omit-files-p):
13125 * desktop.el (desktop-enable):
13126 * cus-edit.el (custom-mode-hook):
13127 * buff-menu.el (buffer-menu-mode-hook):
13128 * bookmark.el (bookmark-read-annotation-text-func)
13129 (bookmark-exit-hooks):
13130 * allout.el (allout-mode-deactivate-hook)
13131 (allout-exposure-change-hook, allout-structure-added-hook)
13132 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13133 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13134 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13135 comes before the corresponding variable's definition.
13136
ac59c2f6
CY
131372012-05-12 Chong Yidong <cyd@gnu.org>
13138
13139 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
13140 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13141 (Buffer-menu-mode-map): Bind it.
13142 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 13143
dee6c9a3
SM
131442012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13145
2171cea5
SM
13146 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13147 (prolog-upper-case-string, prolog-lower-case-string)
13148 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13149 (prolog-use-smie, prolog-smie-grammar): New vars.
13150 (prolog-smie-forward-token, prolog-smie-backward-token)
13151 (prolog-smie-rules): New funs.
13152 (prolog-comment-indent): Remove.
13153 (prolog-mode-variables): Use default comment indentation instead.
13154 Setup SMIE.
13155 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13156 (prolog-mode): Don't call them any more.
13157 (prolog-electric-colon, prolog-electric-dash)
13158 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13159
aa0382bd
SM
13160 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13161
dbacb4bd
SM
13162 * minibuffer.el (completion--twq-all): Again, allow case differences.
13163
13bdd94c
SM
13164 * term.el: Move keymap initialization code to be more idiomatic.
13165 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13166 (term-terminal-menu): Move initialization into declaration.
13167 (term-escape-char): Let the user set it in her .emacs.
13168
ff46c759
SM
13169 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13170 Provide SMIE-based indentation (not enabled by default yet).
13171 (sh-mode-map): Don't bind electric keys.
13172 Use electric-pair-mode instead of skeleton-pair.
13173 (sh-assignment-regexp): Fit within 80 columns.
13174 (sh-indent-supported): Specify actual shell name instead of boolean.
13175 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13176 (sh-maybe-here-document): Use it. Make obsolete.
13177 (sh-electric-here-document-mode) New minor mode.
13178 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13179 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13180 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13181 (sh-smie-rc-grammar, sh-use-smie): New vars.
13182 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13183 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13184 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13185 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13186 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13187 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13188 (sh-set-shell): Use smie-setup if requested.
13189
dee6c9a3
SM
13190 * term.el (term-set-escape-char): Properly set term-escape-char.
13191 See http://stackoverflow.com/questions/10524656.
13192
9f9aa044
CY
131932012-05-10 Chong Yidong <cyd@gnu.org>
13194
13195 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13196 Use url-generic-parse-url, and handle host names and Windows
13197 filenames properly.
13198 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13199 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13200 URL schemes to work on.
13201 (ffap--toggle-read-only): New function.
13202 (ffap-read-only, ffap-read-only-other-window)
13203 (ffap-read-only-other-frame): Use it.
13204 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13205 necessary for ffap-url-unwrap-remote.
13206
836d29b3
DA
132072012-05-10 Dave Abrahams <dave@boostpro.com>
13208
13209 * cus-start.el (create-lockfiles): Add it.
13210
00fd78ed
CY
132112012-05-09 Chong Yidong <cyd@gnu.org>
13212
13213 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13214 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13215
666b903b 132162012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
13217
13218 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13219
666b903b 132202012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
13221
13222 * ansi-color.el (ansi-color-process-output): Check for validity of
13223 comint-last-output-start before using it. This avoids a bad
13224 interaction with gdb-mi's input/output buffer.
13225
666b903b 132262012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
13227
13228 * files.el (dir-locals-read-from-file):
13229 Mention dir-locals in any error message.
13230
666b903b 132312012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
13232
13233 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13234 package (Bug#11410).
13235
f677562b
CY
13236 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13237 variables into description.
13238
666b903b 132392012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
13240
13241 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13242 shell-delimiter-argument-list (bug#11348).
13243 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13244
b499d8d0
JB
132452012-05-09 Juanma Barranquero <lekktu@gmail.com>
13246
8f6b6da8
JB
13247 * textmodes/rst.el: Silence byte-compiler warnings.
13248 (rst-re-alist, rst-reset-section-caches): Move around.
13249 (rst-re): Use `characterp', not `char-valid-p'.
13250 (font-lock-beg, font-lock-end): Declare.
13251
4824146a
JB
13252 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13253 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13254
b499d8d0
JB
13255 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13256
ad89bb83
GM
132572012-05-08 Glenn Morris <rgm@gnu.org>
13258
13259 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13260
8bba5a75
SM
132612012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13262
49ed9c8e
SM
13263 * vc/log-edit.el: Add GNU coding standards highlighting.
13264 (log-edit-font-lock-gnu-style)
13265 (log-edit-font-lock-gnu-keywords): New vars.
13266 (log-edit-font-lock-keywords): New fun.
13267 (log-edit-mode): Don't fold case in font-lock.
13268 (log-edit-font-lock-keywords): Do not assume case-folding.
13269
07d00b56
SM
13270 * imenu.el: Misc cleanup. Make docstrings out of comments.
13271 Use lexical-binding.
13272 (imenu--index-alist, imenu--last-menubar-index-alist)
13273 (imenu-menubar-modified-tick): Use defvar-local.
13274 (imenu--split-menu): Remove unused var.
13275 (imenu--cleanup-seen): Declare as global.
13276 (imenu--cleanup): Use dolist.
13277
8bba5a75
SM
13278 * subr.el (defvar-local): Add debug spec and doc-string position.
13279
5075bdb5
GM
132802012-05-08 Glenn Morris <rgm@gnu.org>
13281
090bd7cb 13282 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
13283 * language/english.el, language/georgian.el, language/greek.el:
13284 * language/japanese.el, language/khmer.el, language/korean.el:
13285 * language/lao.el, language/misc-lang.el, language/romanian.el:
13286 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13287 * language/thai.el, language/utf-8-lang.el:
13288 Remove no-byte-compile setting.
13289
5075bdb5
GM
13290 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13291
06f679a7
AH
132922012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13293
13294 * progmodes/make-mode.el (makefile-browse):
13295 Remove unnecessary interactive. (Bug#11324)
13296
03794570
GM
132972012-05-07 Glenn Morris <rgm@gnu.org>
13298
af8630f4
GM
13299 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13300
03794570
GM
13301 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13302
f0809a9d
SM
133032012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13304
28be5ce7
SM
13305 * loadup.el: Preload newcomment.el.
13306 * newcomment.el: Move autoload-only code to toplevel.
13307
f0809a9d
SM
13308 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13309 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13310 Handle new :right-align column property.
13311 (tabulated-list-print-col): Idem, plus use `display' text-property to
13312 try and preserve alignment for variable pitch fonts.
13313
1241b724
CY
133142012-05-07 Chong Yidong <cyd@gnu.org>
13315
13316 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13317 (tabulated-list-use-header-line): New var.
13318 (tabulated-list-init-header): Use it.
13319 (tabulated-list-print-fake-header): New function.
13320 (tabulated-list-print): Use it.
13321 (tabulated-list-sort-button-map): Add non-header-line commands.
13322 (tabulated-list-init-header): Add column name property to basic
13323 labels as well.
13324 (tabulated-list-col-sort): Handle non-header-line button case.
13325 (tabulated-list--sort-by-column-name): Fix a corner case.
13326
f0809a9d
SM
13327 * buff-menu.el (list-buffers--refresh):
13328 Handle Buffer-menu-use-header-line.
1241b724 13329
e5f9458f
CY
133302012-05-06 Chong Yidong <cyd@gnu.org>
13331
13332 * buff-menu.el: Convert to Tabulated List mode.
13333 (Buffer-menu-buffer+size-width): Make obsolete.
13334 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13335 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13336 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13337 documentation into docstring of buffer-menu.
13338 (Buffer-menu-toggle-files-only): Add an informative message.
13339 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13340 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13341 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13342 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13343 (Buffer-menu-execute, Buffer-menu-select)
13344 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13345 (Buffer-menu-bury): Use Tabulated List machinery.
13346 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13347 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 13348 Delete.
e5f9458f
CY
13349 (list-buffers--refresh): New function.
13350 (list-buffers-noselect): Use it.
13351 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13352 (Buffer-menu--pretty-file-name): New helper functions.
13353
13354 * loadup.el: Preload tabulated-list.
13355
13356 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13357 tabulated-list-sort-column.
13358 (tabulated-list-init-header): Add the initial aligning space even
13359 if tabulated-list-padding is zero.
13360
e129292c
CS
133612012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13362
13363 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13364 whose cdr is not a cons cell correctly (bug#11038).
13365
6632d361
CY
133662012-05-06 Chong Yidong <cyd@gnu.org>
13367
e129292c
CS
13368 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13369 Accept additional plist in column descriptors.
6632d361
CY
13370 (tabulated-list-init-header): Obey it.
13371 (tabulated-list-get-entry): New function.
13372 (tabulated-list-put-tag): Use it. Use string-width instead of
13373 length.
13374 (tabulated-list--column-number): New function.
13375 (tabulated-list-print): Use it.
e129292c
CS
13376 (tabulated-list-print-col): New function.
13377 Set `tabulated-list-column-name' property on each column's text.
6632d361 13378 (tabulated-list-print-entry): Use it.
e129292c
CS
13379 (tabulated-list-delete-entry, tabulated-list-set-col):
13380 New functions.
6632d361
CY
13381 (tabulated-list-sort-column): New command (Bug#11337).
13382
3cc99f68
CY
13383 * buff-menu.el (list-buffers): Move C-x C-b binding from
13384 buff-menu.el to bindings.el.
13385
13386 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13387 :advertised-binding feature.
13388
52b61776
TN
133892012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13390
13391 * progmodes/compile.el (compilation-internal-error-properties):
13392 Calculate start position correctly when end-col is set but
13393 end-line is not (Bug#11382).
13394
ebfe2597
WJ
133952012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13396
13397 * man.el (Man-unindent): Use text-property-default-nonsticky to
13398 prevent untabify from inheriting face properties (Bug#11408).
13399
6d3f7c2f
SM
134002012-05-05 Stefan Merten <smerten@oekonux.de>
13401
13402 * textmodes/rst.el: Major merge with upstream development up to
13403 Docutils SVN r7399 / rst.el V1.2.1.
13404
13405 Clarify maintainership and authors.
13406
13407 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13408 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13409 (rst-official-version, rst-official-cvs-rev, rst-version)
13410 (rst-package-emacs-version-alist): New functions and variables
13411 for version information.
13412
13413 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13414 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13415 (rst-mode-syntax-table, rst-mode): New and corrected functions
13416 and variables representing reStructuredText features.
13417
13418 (rst-re): New function for reStructuredText regexes. Use in
13419 many places.
13420
13421 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13422 (rst-mode-map): Rebind keys.
13423
13424 (rst-mode-lazy, rst-font-lock-keywords)
13425 (rst-font-lock-extend-region)
13426 (rst-font-lock-extend-region-internal)
13427 (rst-font-lock-extend-region-extend)
13428 (rst-font-lock-find-unindented-line-limit)
13429 (rst-font-lock-find-unindented-line-match)
13430 (rst-adornment-level, rst-font-lock-adornment-level)
13431 (rst-font-lock-adornment-match)
13432 (rst-font-lock-handle-adornment-pre-match-form)
13433 (rst-font-lock-handle-adornment-matcher): Major revision of
13434 font-locking. Integrate with other code. Use `jit-lock-mode'.
13435
13436 (rst-preferred-adornments, rst-adjust-hook)
13437 (rst-new-adornment-down, rst-preferred-bullets)
13438 (rst-preferred-bullets, rst-indent, rst-indent-width)
13439 (rst-indent-field, rst-indent-literal-normal)
13440 (rst-indent-literal-minimized, rst-indent-comment): Change,
13441 extend and improve customization.
13442
13443 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13444 (rst-normalize-cursor-position, rst-get-decoration)
13445 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13446 (rst-rstrip, rst-toc-insert-find-delete-contents)
13447 (rst-shift-fill-region, rst-compute-bullet-tabs)
13448 (rst-debug-print-tabs, rst-debug-mark-found)
13449 (rst-shift-region-guts, rst-shift-region-right)
13450 (rst-shift-region-left, rst-use-char-classes)
13451 (rst-font-lock-keywords-function)
13452 (rst-font-lock-indentation-point)
13453 (rst-font-lock-find-unindented-line-begin)
13454 (rst-font-lock-find-unindented-line-end)
13455 (rst-font-lock-find-unindented-line)
13456 (rst-font-lock-adornment-point, rst-font-lock-level)
13457 (rst-adornment-level-alist): Remove functions and variables.
13458
13459 (rst-compare-adornments, rst-get-adornment-match)
13460 (rst-suggest-new-adornment, rst-get-adornments-around)
13461 (rst-adornment-complete-p, rst-get-next-adornment)
13462 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13463 (rst-straighten-adornments): Standardize function names to
13464 use "adornment" instead of "decoration". Correct callers.
13465 Similar standardizing in many places.
13466
13467 (rst-update-section, rst-adjust, rst-promote-region)
13468 (rst-enumerate-region, rst-bullet-list-region)
13469 (rst-repeat-last-character): Correct use of `interactive'.
13470
13471 (rst-classify-adornment, rst-find-all-adornments)
13472 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13473 (rst-find-leftmost-column, rst-repeat-last-character):
13474 Refactor functions.
13475
13476 (rst-find-title-line, rst-reset-section-caches)
13477 (rst-get-adornments-around, rst-adjust-adornment-work)
13478 (rst-arabic-to-roman, rst-roman-to-arabic)
13479 (rst-insert-list-pos, rst-insert-list-new-item)
13480 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13481 New functions.
13482
13483 (rst-all-sections, rst-section-hierarchy)
13484 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13485 New variables.
13486
13487 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13488 configuration instead of only buffer. Change where necessary.
13489
13490 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13491 (rst-shift-region, rst-adaptive-fill): New functions for
13492 indentation and filling.
13493
13494 (rst-comment-line-break, rst-comment-indent)
13495 (rst-comment-insert-comment, rst-comment-region)
13496 (rst-uncomment-region): New functions for handling comments.
13497
13498 (rst-compile): Quote shell arguments.
13499
13500 (rst-compile-pdf-preview, rst-compile-slides-preview):
13501 Delete temporary files after use.
13502
a43f98b3
GM
135032012-05-05 Glenn Morris <rgm@gnu.org>
13504
48176e8b
GM
13505 * calendar/cal-html.el: Optionally include holidays in the output.
13506 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13507 (cal-html-holidays): New option.
13508 (cal-html-css-default): Add holiday entry.
13509 (holiday-in-range): Autoload it.
13510 (cal-html-htmlify-entry): Add optional class argument.
13511 (cal-html-htmlify-list): Add optional holidays argument.
13512 (cal-html-insert-agenda-days): Include holidays in the output.
13513 (cal-html-one-month): Maybe include holidays.
13514
a43f98b3
GM
13515 * calendar/holidays.el (holiday-in-range):
13516 Move here from cal-tex-list-holidays.
13517 * calendar/cal-tex.el (cal-tex-list-holidays):
13518 Make it an obsolete alias for holiday-in-range. Update all callers.
13519
fef9d149 135202012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
13521
13522 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13523 Nextstep.
13524
248da2f4
RW
135252012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13526
13527 * files.el (file-auto-mode-skip): New var.
13528 (set-auto-mode-1): Use it.
13529
f95e9344
SM
135302012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13531
df96ab1e
SM
13532 * repeat.el: Use lexical-binding.
13533 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13534 (repeat-undo-count): Remove.
13535 (repeat):
13536 * progmodes/octave-mod.el (octave-abbrev-start):
13537 * progmodes/f90.el (f90-abbrev-start):
13538 * face-remap.el (text-scale-adjust):
13539 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13540
5342bb06
SM
13541 * emacs-lisp/pcase.el (pcase--let*): New function.
13542 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13543 a bit more.
13544 (pcase--split-pred): Be more clever about ruling out overlap between
13545 a predicate and some constant pattern.
13546 (pcase--q1): Use `null' instead of (eq foo nil).
13547
f95e9344
SM
13548 * subr.el (setq-local, defvar-local): New macros.
13549 (kbd): Redefine as an alias.
13550 (with-selected-window): Leave unrelated frames alone.
13551 (set-temporary-overlay-map): New function.
13552
71873e2b
SM
135532012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * subr.el (user-error): New function.
13556 * window.el (switch-to-buffer):
13557 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13558 (smerge-match-conflict):
13559 * simple.el (previous-matching-history-element)
13560 (next-matching-history-element, goto-history-element, undo-more)
13561 (undo-start):
13562 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13563 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13564 (next-file, tags-loop-scan, list-tags, complete-tag):
13565 * progmodes/compile.el (compilation-loop):
13566 * mouse.el (mouse-minibuffer-check):
13567 * man.el (Man-bgproc-sentinel, Man-goto-page):
13568 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13569 (Info-history-forward, Info-follow-reference, Info-menu)
13570 (Info-extract-menu-item, Info-extract-menu-counting)
13571 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13572 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13573 (Info-next-reference, Info-prev-reference, Info-index)
13574 (Info-index-next, Info-follow-nearest-node)
13575 (Info-copy-current-node-name):
13576 * imenu.el (imenu--make-index-alist)
13577 (imenu-default-create-index-function, imenu-add-to-menubar):
13578 * files.el (basic-save-buffer, recover-file):
13579 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13580 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13581 (checkdoc-message-text, checkdoc-defun):
13582 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13583 * cus-edit.el (customize-changed-options, customize-rogue)
13584 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13585 (custom-variable-mark-to-reset-standard)
13586 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13587 (custom-file):
13588 * completion.el (check-completion-length):
13589 * comint.el (comint-search-arg)
13590 (comint-previous-matching-input-string-position)
13591 (comint-previous-matching-input)
13592 (comint-replace-by-expanded-history-before-point, comint-send-input)
13593 (comint-copy-old-input, comint-backward-matching-input)
13594 (comint-goto-process-mark, comint-set-process-mark):
13595 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13596 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13597
8a61ee22
SM
135982012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13599
66408d1e
SM
13600 * dabbrev.el (dabbrev--ignore-case-p): New function.
13601 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13602 Use it.
13603
8a61ee22
SM
13604 * files.el (automount-dir-prefix): Mark as obsolete.
13605
3c74813a
GM
136062012-05-04 Glenn Morris <rgm@gnu.org>
13607
13608 * patcomp.el, play/bruce.el: Move to obsolete/.
13609
0bfcf5c5
PE
136102012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13611
13612 Fix minor Y10k bugs.
13613 * arc-mode.el (archive-unixdate):
13614 * autoinsert.el (auto-insert-alist):
13615 * calc/calc-forms.el (math-this-year):
13616 * emacs-lisp/copyright.el (copyright-current-year)
13617 (copyright-update-year, copyright):
13618 * tar-mode.el (tar-clip-time-string):
13619 * time.el (display-time-update):
13620 Don't assume years have 4 digits.
13621
78f3273a
CY
136222012-05-04 Chong Yidong <cyd@gnu.org>
13623
13624 * dos-w32.el (file-name-buffer-file-type-alist)
13625 (direct-print-region-use-command-dot-com):
13626 * ffap.el (ffap-menu-regexp):
13627 * find-file.el (ff-special-constructs):
13628 * follow.el (follow-debug):
13629 * forms.el (forms--debug):
13630 * iswitchb.el (iswitchb-all-frames):
13631 * ido.el (ido-all-frames):
13632 * emacs-lisp/timer.el (timer-max-repeats):
13633 * mail/feedmail.el (feedmail-mail-send-hook)
13634 (feedmail-mail-send-hook-queued):
13635 * mail/footnote.el (footnote-signature-separator):
13636 * mail/mailabbrev.el (mail-alias-separator-string)
13637 (mail-abbrev-mode-regexp):
13638 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13639 * progmodes/idlwave.el (idlwave-libinfo-file)
13640 (idlwave-default-completion-case-is-down)
13641 (idlwave-library-routines): Convert defvars to defcustoms.
13642
13643 * mail/rmail.el (rmail-decode-mime-charset):
13644 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13645 (idlwave-shell-fix-inserted-breaks)
13646 (idlwave-shell-activate-alt-keybindings)
13647 (idlwave-shell-use-breakpoint-glyph):
13648 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13649
f7ae6719
SM
136502012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13653
47086495
WS
136542012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13655
13656 * progmodes/verilog-mode.el (font-lock-keywords):
13657 Fix mis-highligting auto. Reported by Craig Barner.
13658 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 13659 defines from global name space. Reported by Dan Dever.
47086495
WS
13660 (verilog-auto-reset, verilog-auto-reset-widths)
13661 (verilog-auto-tieoff): Support using unbased numbers for
13662 AUTORESET and AUTOTIEOFF.
13663 (verilog-submit-bug-report): Update variable list.
13664 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 13665 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
13666 (verilog-auto-template-lint): Fix hash error when linting modules
13667 with no used templates.
13668 (verilog-warn, verilog-warn-error)
13669 (verilog-warn-fatal): When non-interactive report multiple
13670 warnings before exiting. Suggested by Brad Dobbie.
13671 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13672 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13673 to report unused template errors. Reported by Brad Dobbie.
13674 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 13675 nets, bug438. Reported by Vns Blore.
47086495
WS
13676 (verilog-auto-inout-module, verilog-auto-reg)
13677 (verilog-read-decls, verilog-read-sub-decls-sig)
13678 (verilog-signals-edit-wire-reg, verilog-signals-with):
13679 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 13680 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
13681 "reg" for backwards compatibility presuming Verilog 2001.
13682 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13683 (verilog-preprocess): Fix replication of preprocess output.
13684 Reported by Brad Dobbie.
13685 (verilog-auto-inst-interfaced-ports):
13686 Create verilog-auto-inst-interfaced-ports, bug429.
13687 Reported by Julian Gorfajn.
13688 (verilog-after-save-font-hook)
13689 (verilog-before-save-font-hook): New variable.
13690 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13691 (verilog-save-font-mods): Wrap disabling fontification, reported
13692 by David Rogoff.
13693 (verilog-do-indent, verilog-pretty-declarations-auto)
13694 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13695 Reported by Pierre-David Pfister.
13696 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13697 of class declarations, bug292. Reported by Kevin Heilman.
13698 (verilog-read-decls): Fix 'parameter type' not appearing in
13699 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13700 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 13701 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
13702 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13703 Reported by David Kravitz.
13704
137052012-05-03 Michael McNamara <mac@mail.brushroad.com>
13706
13707 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13708 assignment with tests in ifs and for loops.
13709 (verilog-extended-complete-re, verilog-complete-reg): Change so
13710 that DPI inport functions don't look like fuction declarations.
13711 (verilog-pretty-expr): Don't line up assignment
13712 operations to the test and increment in if and for loops
13713 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 13714 that DPI inport functions don't look like fuction declarations.
47086495 13715
2e51d4b5
KH
137162012-05-03 Kenichi Handa <handa@m17n.org>
13717
13718 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 13719 decoding, and show a warning message without signaling an error
2e51d4b5
KH
13720 (Bug#11282).
13721
2bd785a2
SM
137222012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * emacs-lisp/bytecomp.el
13725 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13726 since cconv.el might have introduced :fun-body, internal-make-closure,
13727 and friends for bytecomp to handle (bug#11391).
13728 * custom.el (defcustom): Avoid ((λ ..) ..).
13729
99d27583
SM
137302012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13733
55a71479
JB
137342012-05-02 Juanma Barranquero <lekktu@gmail.com>
13735
13736 * notifications.el (dbus-debug):
13737 * term/linux.el (gpm-mouse-enable):
13738 * term/screen.el (xterm-register-default-colors): Declare.
13739
7b97c764
CY
137402012-05-02 Chong Yidong <cyd@gnu.org>
13741
2bc356d7
CY
13742 * cus-start.el (gc-cons-percentage, exec-suffixes)
13743 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13744 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13745 (make-cursor-line-fully-visible, void-text-area-pointer)
13746 (font-list-limit): Add customization data.
13747
7b97c764
CY
13748 * allout.el (allout-exposure-change-functions)
13749 (allout-structure-added-functions)
13750 (allout-structure-deleted-functions)
13751 (allout-structure-shifted-functions): Rename abnormal hooks from
13752 *-hook, and convert to defcustoms.
5d3385a0
JB
13753 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13754 Convert to defcustoms.
7b97c764
CY
13755 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13756
13757 * allout-widgets.el: Hook callers changed.
13758
90207a15 137592012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
13760
13761 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13762 the yanked message in preference to the default value of
13763 buffer-file-coding-system.
13764
90207a15 137652012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 13766
5d3385a0
JB
13767 * window.el (display-buffer--action-function-custom-type):
13768 Fix entry.
d9558cad 13769
90207a15 137702012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
13771
13772 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13773
d80ac57b
GM
137742012-05-01 Glenn Morris <rgm@gnu.org>
13775
976f7668
GM
13776 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13777
beb83b5a
GM
13778 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13779
d80ac57b
GM
13780 * cus-edit.el (custom-variable-documentation): Simplify with format.
13781
b593d6a9 137822012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 13783 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
13784
13785 * simple.el (suggest-key-bindings, execute-extended-command):
13786 Move from keyboard.c.
13787
782fbf2a
CY
137882012-05-01 Chong Yidong <cyd@gnu.org>
13789
13790 * follow.el: Eliminate advice.
13791 (set-process-filter, process-filter, sit-for): Advice deleted.
13792 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
13793 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13794 Vars deleted.
782fbf2a
CY
13795 (follow-auto): Use a :set function.
13796 (follow-mode): Rewritten. Don't advise process filters.
13797 (follow-switch-to-current-buffer-all, follow-scroll-up)
13798 (follow-scroll-down): Assume follow-mode is bound.
13799 (follow-comint-scroll-to-bottom)
13800 (follow-align-compilation-windows): New functions.
13801 (follow--window-sorter): New function.
13802 (follow-all-followers): Use it to explicitly sort windows by their
13803 positions; don't make assumptions about next-window order.
13804 (follow-windows-start-end, follow-delete-other-windows-and-split)
13805 (follow-calc-win-start): Doc fix.
13806 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13807 vertical-motion unnecessarily.
13808 (follow-adjust-window): New function.
13809 (follow-post-command-hook): Use it.
13810 (follow-call-set-process-filter, follow-call-process-filter)
13811 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13812 (follow-stop-intercept-process-output, follow-generic-filter):
13813 Functions deleted.
13814 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
13815 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13816 New functions, replacing advice on scroll-bar-* commands.
87233a14 13817 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
13818
13819 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
13820 (comint-postoutput-scroll-to-bottom): Use it.
13821 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 13822
290af740
GM
138232012-05-01 Glenn Morris <rgm@gnu.org>
13824
13825 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13826 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13827 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13828 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13829 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13830 Remove no-byte-compile setting.
13831
6eac8dc9
SM
138322012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13835 all-completions code to not return a number in the last cdr.
13836
9cc7819c
LL
138372012-04-30 Leo Liu <sdl.web@gmail.com>
13838
13839 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13840 read-only error.
13841
c93b886f
CY
138422012-04-29 Chong Yidong <cyd@gnu.org>
13843
13844 * follow.el (follow-calc-win-end): Rewrite to handle partial
13845 screen lines correctly (Bug#8390).
13846 (follow-avoid-tail-recenter): Minor cleanup.
13847
8b6c19f4
SM
138482012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 Avoid the obsolete `assoc' package.
13851 * speedbar.el (speedbar-refresh): Avoid adelete.
13852 (speedbar-file-lists): Simplify and avoid aput.
13853 * man.el (Man--sections, Man--refpages): New vars, replacing
13854 Man-sections-alist and Man-refpages-alist.
13855 (Man-build-section-alist, Man-build-references-alist):
13856 Use them; avoid aput.
13857 (Man--last-section, Man--last-refpage): New vars.
13858 (Man-follow-manual-reference): Use them.
13859 Use the `default' arg of completing-read.
13860 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13861
c5bb7569
CY
138622012-04-27 Chong Yidong <cyd@gnu.org>
13863
d1d2e2e8
CY
13864 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13865
15cd8efd
CY
13866 * startup.el (x-apply-session-resources): New function.
13867
13868 * term/ns-win.el (ns-initialize-window-system):
13869 * term/w32-win.el (w32-initialize-window-system):
13870 * term/x-win.el (x-initialize-window-system): Use it to properly
13871 set menu-bar-mode and other vars from X resources, even if the
13872 initial frame is not a window-system frame (Bug#2299).
13873
c5bb7569
CY
13874 * subr.el (read-key): Avoid running filter function when setting
13875 up temporary tool bar entries (Bug#9922).
13876
a8e7d6d7 138772012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
13878
13879 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13880 (Bug#11344)
13881
a8e7d6d7 138822012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
13883
13884 * select.el (xselect--encode-string): New function, split from
13885 xselect-convert-to-string.
13886 (xselect-convert-to-string): Use it.
13887 (xselect-convert-to-filename, xselect-convert-to-os)
13888 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13889 returned strings are properly encoded (Bug#11315).
13890
a8e7d6d7 138912012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
13892
13893 * simple.el (delete-active-region): Move to killing custom group.
13894
a8e7d6d7 138952012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
13896
13897 * progmodes/which-func.el (which-func-current): Quote %
13898 characters for mode-line processing.
13899
578c1d4b 139002012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
13901
13902 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13903 reaching eob (Bug#11286).
13904
a8e7d6d7 139052012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
13906
13907 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13908 (gdb): Make it buffer-local and init to zero.
13909 (gdb-control-commands-regexp): New variable.
13910 (gdb-send): Don't wrap in "-interpreter-exec console" if
13911 gdb-control-level is positive. Increment gdb-control-level
13912 whenever the command matches gdb-control-commands-regexp, and
13913 decrement it each time the command is "end". (Bug#11279)
13914
a8e7d6d7 139152012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
13916
13917 * window.el (adjust-window-trailing-edge, enlarge-window)
13918 (shrink-window, window-resize):
13919 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13920 windows (Bug#11276).
13921
b3608390
CY
139222012-04-27 Chong Yidong <cyd@gnu.org>
13923
13924 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 13925 fix "missing prefix" warning. All callers changed.
b3608390 13926
797e6e88
SM
139272012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13928
13929 * emacs-lisp/assoc.el: Move to obsolete/.
13930
e95a67dc
SM
139312012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13932
657c21e4 13933 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
13934
13935 * term/ns-win.el (ns-define-service):
13936 * progmodes/pascal.el (pascal-goto-defun):
13937 * progmodes/js.el (js--read-tab):
13938 * progmodes/etags.el (tags-lazy-completion-table):
13939 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13940 * emacs-lisp/ewoc.el (ewoc--wrap):
13941 * emacs-lisp/assoc.el (aput, adelete, amake):
13942 * doc-view.el (doc-view-convert-current-doc):
13943 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13944
cb3e7ae0
CY
139452012-04-26 Chong Yidong <cyd@gnu.org>
13946
dce04f7f
CY
13947 * image.el (image-type-from-buffer): Only return supported image
13948 type (Bug#9045).
13949
cb3e7ae0
CY
13950 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13951 value, for symmetry with diff-end-of-hunk.
13952 (diff-split-hunk, diff-find-source-location)
13953 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13954 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13955 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13956 compute the relevant hunk or file properly (Bug#6005).
13957 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13958
0d42eb3e
SM
139592012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * vc/vc-mtn.el:
13962 * vc/vc-hg.el:
13963 * vc/vc-git.el:
13964 * vc/vc-dir.el:
13965 * vc/vc-cvs.el:
13966 * vc/vc-bzr.el:
13967 * vc/vc-arch.el:
13968 * vc/vc.el: Replace lexical-let by lexical-binding.
13969 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13970 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13971 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13972
f08ae1c9
CY
139732012-04-26 Chong Yidong <cyd@gnu.org>
13974
8b71081d
CY
13975 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13976 (diff-mode-shared-map): Bind it to / and [remap undo].
13977
f08ae1c9
CY
13978 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13979 (ediff-window-setup-function): Use it as the default, to set up
13980 windows based on whether the current frame is graphical (Bug#2138).
13981 (ediff-choose-window-setup-function-automatically): Make obsolete.
13982
13983 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13984
ef24141c
SM
139852012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13986
cc356a5d
SM
13987 * ffap.el: Remove old code for obsolete package.
13988 (ffap-complete-as-file-p): Remove.
13989
b4ff4f1f
SM
13990 Use completion-table-with-quoting for comint and pcomplete.
13991 * comint.el (comint--unquote&requote-argument)
13992 (comint--unquote-argument, comint--requote-argument): New functions.
13993 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13994 (comint-quote-filename): Use regexp-opt-charset.
13995 (comint--common-suffix, comint--common-quoted-suffix)
13996 (comint--table-subvert): Remove.
13997 (comint-unquote-function, comint-requote-function): New vars.
13998 (comint--complete-file-name-data): Use them with
13999 completion-table-with-quoting.
14000 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14001 * pcomplete.el (pcomplete-arg-quote-list)
14002 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14003 (pcomplete-unquote-argument-function): Default to non-nil.
14004 (pcomplete-unquote-argument): Simplify.
14005 (pcomplete--common-quoted-suffix): Remove.
14006 (pcomplete-requote-argument-function): New var.
14007 (pcomplete--common-suffix): New function.
14008 (pcomplete-completions-at-point): Use completion-table-with-quoting
14009 and completion-table-subvert.
14010
79c4eeb4
SM
14011 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14012 (minibuffer--double-dollars): Preserve properties.
14013 (completion--sifn-requote): New function.
14014 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14015
ef24141c
SM
14016 * minibuffer.el: Add support for completion of quoted/escaped data.
14017 (completion-table-with-quoting, completion-table-subvert): New funs.
14018 (completion--twq-try, completion--twq-all): New functions.
14019 (completion--nth-completion): New function.
14020 (completion-try-completion, completion-all-completions): Use it.
14021
784e7d6e
LL
140222012-04-25 Leo Liu <sdl.web@gmail.com>
14023
dd2ac746
SM
14024 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14025 Use compilation-message if available to find real filename.
784e7d6e 14026
07875ee7
CY
140272012-04-25 Chong Yidong <cyd@gnu.org>
14028
14029 * vc/diff-mode.el (diff-setup-whitespace): New function.
14030 (diff-mode): Use it.
14031
14032 * vc/diff.el (diff-sentinel):
14033 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14034 Whitespace mode variables based on diff style (Bug#8612).
14035
5055880d
LL
140362012-04-25 Leo Liu <sdl.web@gmail.com>
14037
daf75653
LL
14038 * progmodes/python.el (python-send-region): Add suffix .py to the
14039 temp file.
14040
5055880d
LL
14041 * files.el (auto-mode-alist): Use javascript-mode instead.
14042
db9b177b
AH
140432012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14044
ef24141c 14045 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 14046
090bd7cb 14047 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 14048 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 14049 references, see Bug#9.
ef24141c 14050 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 14051 when receiving a fault reply.
ef24141c 14052 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 14053
090bd7cb 14054 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 14055 (soap-inspect-simple-type): New function.
db9b177b 14056
090bd7cb 14057 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 14058 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
14059 (soap-decode-basic-type, soap-encode-basic-type):
14060 support unsignedInt and double basic types.
db9b177b 14061 (soap-resolve-references-for-simple-type)
ef24141c
SM
14062 (soap-parse-simple-type, soap-encode-simple-type): New function.
14063 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 14064
090bd7cb 14065 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
14066 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14067 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14068 the local name of "soapenc:Array".
14069 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
14070 decoding integer, byte and anyURI xsd types.
14071
1fc6097b
CY
140722012-04-25 Chong Yidong <cyd@gnu.org>
14073
14074 * cus-edit.el (custom-buffer-create-internal): Update header text.
14075
afc6df87
EZ
140762012-04-25 Eli Zaretskii <eliz@gnu.org>
14077
14078 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14079 settings on 'system-type', not on 'window-system'. On MS-Windows,
14080 set interactive-mode on in GDB.
14081
dfbd787f
SM
140822012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14085 (ruby-syntax-propertize-regexp): Remove.
14086 (ruby-syntax-propertize-function): Split regexp into chunks.
14087 Match following code directly.
14088
85222d44
DG
140892012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14090
51a8ea2a
DG
14091 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14092 (ruby-syntax-propertize-regexp): New function.
14093 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14094 by a special keyword.
14095
85222d44
DG
14096 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14097 (ruby-syntax-general-delimiters-goto-beg)
14098 (ruby-syntax-propertize-general-delimiters): New functions.
14099 (ruby-syntax-propertize-function): Use them to handle GDL.
14100 (ruby-font-lock-keywords): Move old handling of GDL...
14101 (ruby-font-lock-syntactic-keywords): .. to here.
14102 (ruby-calculate-indent): Adjust indentation for GDL.
14103
b613912b
MA
141042012-04-24 Michael Albinus <michael.albinus@gmx.de>
14105
b5380639
MA
14106 * notifications.el (top): Remove unneeded declarations.
14107 (notifications-specification-version): Change to "1.2".
e43042fe 14108 (notifications-interface, notifications-notify-method)
b613912b
MA
14109 (notifications-close-notification-method): Fix docstring.
14110 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
14111 (notifications-notify): Add :action-items, :resident and
14112 :transient hints. Change "image_data" to "image-data" and
14113 "image_path" to "image-path".
b613912b
MA
14114 (notifications-get-capabilities): New defun.
14115
257440aa
LL
141162012-04-24 Leo Liu <sdl.web@gmail.com>
14117
14118 * progmodes/python.el: Move hideshow setup to the end.
14119
b1bac16e
MR
141202012-04-24 Martin Rudalics <rudalics@gmx.at>
14121
14122 * window.el (handle-select-window): Clear echo area since this is
14123 no more done by read_char (Bug#11304).
14124
d81bd059
SM
141252012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14128 and `/ M' to filter-derived-mode.
14129 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14130 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14131 (ibuffer-mark-by-mode): Use default rather than initial-input.
14132 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14133
c4cf6d91
IA
141342012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14135
14136 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14137 (ibuffer-filter-by-derived-mode): New filter.
14138 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14139
7511ded8
CY
141402012-04-23 Andreas Politz <politza@fh-trier.de>
14141
14142 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14143
775c916b
CY
141442012-04-23 Chong Yidong <cyd@gnu.org>
14145
14146 * cus-edit.el (customize-apropos, customize-apropos-options):
14147 Disable matching of non-option variables (Bug#11176).
14148 (customize-option, customize-option-other-window)
14149 (customize-changed-options): Doc fix.
14150 (customize-apropos-options, customize-apropos-faces)
14151 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14152
14153 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 14154 Fix word list splitting (Bug#11132).
46c71e23
CY
14155 (apropos-symbol, apropos-keybinding, apropos-label)
14156 (apropos-property, apropos-function-button)
14157 (apropos-variable-button, apropos-misc-button): New faces.
14158 (apropos-symbol-face, apropos-keybinding-face)
14159 (apropos-label-face, apropos-property-face, apropos-match-face):
14160 Variables removed (Bug#8396).
14161 (apropos-library-button, apropos-format-plist, apropos-print)
14162 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 14163
2df41f9c
MA
141642012-04-23 Michael Albinus <michael.albinus@gmx.de>
14165
14166 * net/xesam.el (xesam-mode-map): Use let-bound map in
14167 initialization. (Bug#11292)
14168
da00640a
AM
141692012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14170
14171 Preserve ispell session localwords when switching back to
14172 original buffer.
14173
090bd7cb
JB
14174 * textmodes/ispell.el (ispell-buffer-session-localwords):
14175 New buffer-local variable to hold buffer session localwords.
ed9265fc 14176 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
14177 localwords.
14178 (ispell-command-loop, ispell-change-dictionary)
14179 (ispell-buffer-local-words): Preserve session localwords when
14180 needed.
14181
090bd7cb
JB
14182 * textmodes/flyspell.el (flyspell-process-localwords)
14183 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 14184
f621ccf5
AM
141852012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14186
090bd7cb
JB
14187 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14188 using obsolete `translation-table-for-input'.
ef24141c
SM
14189 (ispell-word, ispell-process-line, ispell-complete-word):
14190 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 14191
c2d1019e
CY
141922012-04-22 Chong Yidong <cyd@gnu.org>
14193
14194 * cus-edit.el (custom-variable-menu)
14195 (custom-variable-reset-saved, custom-face-menu)
14196 (custom-face-reset-saved): If there is no saved value, make the
14197 "reset-saved" operation bring back the default (Bug#9509).
14198 (custom-face-state): Properly detect themed faces.
14199
eeddc531
CY
14200 * faces.el (face-spec-set): Stop supporting deprecated form of
14201 third arg.
14202
dcbf5805
MA
142032012-04-22 Michael Albinus <michael.albinus@gmx.de>
14204
14205 Move functions from C to Lisp. Make non-blocking method calls
14206 the default. Implement further D-Bus standard interfaces.
14207
ef24141c
SM
14208 * net/dbus.el (dbus-message-internal): Declare function.
14209 Remove unneeded function declarations.
dcbf5805
MA
14210 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14211 (dbus-message-type-method-return, dbus-message-type-error)
14212 (dbus-message-type-signal): Declare variables. Remove local
14213 definitions.
14214 (dbus-interface-dbus, dbus-interface-peer)
14215 (dbus-interface-introspectable, dbus-interface-properties)
14216 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14217 Adapt docstring.
14218 (dbus-interface-objectmanager): New defconst.
14219 (dbus-call-method, dbus-call-method-asynchronously)
14220 (dbus-send-signal, dbus-method-return-internal)
14221 (dbus-method-error-internal, dbus-register-service)
14222 (dbus-register-signal, dbus-register-method): New defuns, moved
14223 from dbusbind.c
14224 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
14225 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14226 New defuns.
dcbf5805
MA
14227 (dbus-call-method-non-blocking): Make it an obsolete function.
14228 (dbus-unregister-object, dbus-unregister-service)
14229 (dbus-handle-event, dbus-register-property)
14230 (dbus-property-handler): Obey the new structure of
14231 `bus-registered-objects'.
14232 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14233 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14234 Use `dbus-call-method'.
14235
cf20dee0
CY
142362012-04-22 Chong Yidong <cyd@gnu.org>
14237
14238 * cus-edit.el (custom-commands, custom-reset-menu)
14239 (Custom-reset-standard): Tweak labels.
14240 (custom-reset-button-menu): Change default to t.
14241 (custom-buffer-create-internal): For the custom-reset-button-menu
14242 case, put the revert button first.
14243 (custom-group-subtitle): New face.
14244 (custom-group-value-create): Align docstring to a specific column.
14245
14246 * wid-edit.el (widget-documentation-link-add): Don't handle
14247 indentation in this function.
14248 (widget-documentation-string-indent-to): New function.
14249 (widget-documentation-string-value-create): Use it.
14250
14251 * autorevert.el (auto-revert):
14252 * epg-config.el (epg):
14253 * ibuffer.el (ibuffer):
14254 * mpc.el (mpc):
14255 * ses.el (ses):
14256 * eshell/eshell.el (eshell):
14257 * net/ange-ftp.el (ange-ftp):
14258 * progmodes/ebnf2ps.el (postscript):
14259 * progmodes/flymake.el (flymake):
14260 * progmodes/prolog.el (prolog):
14261 * progmodes/verilog-mode.el (verilog-mode):
14262 * progmodes/which-func.el (which-func):
14263 * term/xterm.el (xterm):
14264 * textmodes/picture.el (picture):
14265 * textmodes/tildify.el (tildify):
14266 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14267 customization buffers.
14268
583e23bd
AM
142692012-04-22 Alan Mackenzie <acm@muc.de>
14270
14271 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14272 Adding a ) can hide the resulting (..) from searches. Fix it.
14273 Bound the backward search to the position of the existing (.
14274
7dd51bf1
JB
142752012-04-21 Juanma Barranquero <lekktu@gmail.com>
14276
14277 * progmodes/verilog-mode.el (verilog-mode): Check whether
14278 which-func-modes is t before adding verilog-mode.
14279 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14280
d64a438f
LL
142812012-04-21 Leo Liu <sdl.web@gmail.com>
14282
7dd51bf1 14283 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 14284
081e8d65
MV
142852012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14286
14287 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14288 filling of the last column of a table (Bug#5635).
14289 (woman-find-next-control-line): New arg, specifying an additional
14290 regexp component for the control line.
14291 (woman2-roff-buffer): Use it.
14292 (woman-break-table): New function.
14293 (woman2-TS): Use it.
14294
142952012-04-21 Chong Yidong <cyd@gnu.org>
14296
14297 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14298 (woman-horizontal-escapes, woman-negative-vertical-space)
14299 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14300 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14301
ed571ccb
SM
143022012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * minibuffer.el (completion-file-name-table): Complete user names.
14305
39773899
LL
143062012-04-20 Leo Liu <sdl.web@gmail.com>
14307
14308 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14309 and pcase-let*.
14310
de6ff46d
CY
143112012-04-20 Chong Yidong <cyd@gnu.org>
14312
14313 * server.el (server-execute): Respect initial-buffer-choice if it
14314 is a string and there are no files to open (Bug#2825).
14315 (server-create-window-system-frame, server-create-tty-frame):
14316 Don't switch buffers here.
2d0e8e61
CY
14317 (server-process-filter): Only try to open a window system frame if
14318 compiled with graphical support (Bug#8314).
de6ff46d 14319
54071013
DN
143202012-04-20 Dan Nicolaescu <dann@gnu.org>
14321
14322 * battery.el (battery-echo-area-format): Display remaining time
14323 for sysfs backend too (Bug#11269).
14324 (battery-linux-sysfs): Fix conditional for the charge.
14325
f30d612a
CY
143262012-04-20 Chong Yidong <cyd@gnu.org>
14327
c07a4c0b 14328 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
14329 (gdb-inferior-io--init-proc): New function.
14330 (gdb-init-1): Use it.
14331 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14332 responsible for allocating a new pty and hooking it to gdb when
14333 the old pty gets an EIO due to process exit.
14334 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14335 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14336 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14337
2116e93c
EZ
143382012-04-20 Eli Zaretskii <eliz@gnu.org>
14339
14340 * window.el (window-min-size, window-sizable, window-min-delta)
14341 (window-max-delta, window--resizable, window-resizable)
14342 (window-total-size, window-full-height-p, window-full-width-p)
14343 (window-in-direction, window--resize-mini-window, window-resize)
14344 (window--resize-child-windows-normal)
14345 (window--resize-child-windows, window--resize-siblings)
14346 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 14347 (enlarge-window, shrink-window): Doc fixes.
2116e93c 14348
c07a4c0b 143492012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 14350
ef24141c
SM
14351 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14352 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
14353 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14354 pty process (Bug#11273).
14355 (gdb-update): New arg to suppress talking to the gdb process.
14356 (gdb-done-or-error): Use it.
14357 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14358 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14359 sentinel not being called.
14360
14361 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14362
d02766ab
CY
14363 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14364
c07a4c0b 143652012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
14366
14367 * net/network-stream.el (open-network-stream): Doc fix.
14368
c07a4c0b 143692012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
14370
14371 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14372
c07a4c0b 143732012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
14374
14375 Ensure searching for keywords is case sensitive.
14376
14377 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14378 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14379 (c-defun-name, c-mark-function, c-cpp-define-name)
14380 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 14381 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 14382
ef24141c
SM
14383 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14384 Bind case-fold-search to nil.
f0f6bc35 14385
c07a4c0b 143862012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
14387
14388 * mail/sendmail.el (mail-bury): Call return action with the right
14389 Rmail buffer (Bug#11242).
14390
9a864fa2
CY
14391 * server.el (server-process-filter): Handle corner case where both
14392 tty and nowait options are present (Bug#11102).
14393
539aa513
EZ
143942012-04-20 Eli Zaretskii <eliz@gnu.org>
14395
14396 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
14397 (top level): Put into the executable the ident-style '$Id:' tag on
14398 windows-nt as well.
539aa513 14399
cfc7d5da
SM
144002012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * electric.el (electric-indent-post-self-insert-function): Check that
14403 electric-indent-mode is enabled in current buffer.
14404
5b01685c
JB
144052012-04-19 Juanma Barranquero <lekktu@gmail.com>
14406
14407 * imenu.el (imenu-progress-message): Restore; it is "used" in
14408 erc/erc-imenu.el and net/snmp-mode.el.
14409
4d6769e1
JB
144102012-04-19 Juanma Barranquero <lekktu@gmail.com>
14411
14412 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14413 (mouse-avoidance-nudge-mouse): Remove unused binding.
14414
14415 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14416
14417 * descr-text.el (describe-char):
14418 * progmodes/python.el (python-describe-symbol):
14419 Don't call `toggle-read-only', set `buffer-read-only'.
14420
14421 * imenu.el (imenu-default-goto-function): Mark unused args.
14422 (imenu-progress-message): Remove obsolete macro; all callers changed.
14423
14424 * subr.el (keymap-canonicalize): Remove unused binding.
14425 (read-passwd): Mark unused arg.
14426
14427 * tutorial.el (tutorial--display-changes): Remove unused binding.
14428 (tutorial--save-tutorial-to): Remove unused variable.
14429
14430 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14431 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14432 (package-generate-autoloads, package-menu--generate)
14433 (package-menu--find-upgrades): Remove unused bindings.
14434
14435 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14436 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14437 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14438 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14439 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14440 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14441 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14442 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14443 (cua-delete-char-rectangle): Mark unused args.
14444 (cua-align-rectangle): Remove unused binding.
14445
14446 * mail/rmail.el (compilation--message->loc)
14447 (epa--find-coding-system-for-mime-charset): Declare.
14448
14449 * net/dbus.el (dbus-register-service): Declare.
14450 (dbus-name-owner-changed-handler): Remove unused binding.
14451
14452 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14453 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14454 (nxml-scan-backward-within): Mark unused arg.
14455 (nxml-dynamic-markup-word): Remove unused binding.
14456
14457 * mouse.el (mouse-menu-major-mode-map):
14458 * emacs-lisp/authors.el (authors-scan-change-log)
14459 (authors-add-to-author-list):
14460 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14461 * emacs-lisp/smie.el (smie-auto-fill):
14462 * mail/sendmail.el (mail-bury):
14463 * mail/unrmail.el (unrmail):
14464 * net/tls.el (open-tls-stream):
14465 * textmodes/picture.el (picture-mouse-set-point):
14466 Remove unused bindings.
14467
8c8fc5df
MA
144682012-04-19 Michael Albinus <michael.albinus@gmx.de>
14469
14470 * net/tramp.el (tramp-action-password): Let-bind
14471 `enable-recursive-minibuffers' to t.
14472
a77b0ac9
SS
144732012-04-18 Sam Steingold <sds@gnu.org>
14474
14475 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14476 instead of 'string to accommodate values like [f11].
14477 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14478 * progmodes/gdb-mi.el: Likewise.
14479
12a106a9
LL
144802012-04-18 Leo Liu <sdl.web@gmail.com>
14481
14482 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14483 current buffer.
14484 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14485 LOCAL is nil.
14486
bc6494ef
CY
144872012-04-18 Chong Yidong <cyd@gnu.org>
14488
14489 * simple.el (line-move): Use forward-line if in batch mode
14490 (Bug#11053).
14491
c09c46b2
CS
144922012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14493
14494 * files.el (after-find-file): Do not try to add a final newline if
14495 the buffer is read-only (Bug#11156).
14496
5f6530ea
RS
144972012-04-17 Richard Stallman <rms@gnu.org>
14498
14499 * mail/rmail.el (rmail-start-mail):
14500 Pass (rmail-mail-return...) for the return-action.
14501 Pass (rmail-yank-current-message...) for the yank-action.
14502 (rmail-yank-current-message): New function.
14503 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14504 (rmail-reply): Likewise.
14505 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14506
14507 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 14508 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
14509 buffer, not newbuf.
14510
197b6f3c
JB
145112012-04-17 Juanma Barranquero <lekktu@gmail.com>
14512
14513 * server.el (server-ensure-safe-dir): Simplify.
14514
2311d8e5 145152012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 14516
2311d8e5
GM
14517 * emacs-lisp/smie.el: Provide smarter auto-filling.
14518 (smie-auto-fill): New function.
14519 (smie-setup): Use it.
98fb480e 14520
2311d8e5
GM
14521 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14522
145232012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
14524
14525 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14526 (comment-indent): Use it.
14527
2311d8e5 145282012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
14529
14530 * ses.el: The overall change is to add cell renaming, that is
14531 setting fancy names for cell symbols other than name matching
14532 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 14533 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 14534 (ses-create-cell-variable): New defun.
2311d8e5 14535 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
14536 (ses-relocate-formula): Relocate formulas only for cells the
14537 symbols of which are not renamed, i.e. symbols whose names do not
14538 match regexp "\\`[A-Z]+[0-9]+\\'".
14539 (ses-relocate-all): Relocate values only for cells the symbols of
14540 which are not renamed.
14541 (ses-load): Create cells variables as the (ses-cell ...) are read,
14542 in order to check row col consistency with cell symbol name only
14543 for cells that are not renamed.
14544 (ses-replace-name-in-formula): New defun.
14545 (ses-rename-cell): New defun.
4bdf2ad2 14546
fc72b15c
PO
145472012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14548
14549 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14550 New option (bug#11118).
14551 (perl-calculate-indent): Respect it.
14552
12e10e61
GM
145532012-04-17 Glenn Morris <rgm@gnu.org>
14554
14555 * dired-aux.el (dired-mark-read-string): Doc fix.
14556
30009afd
DA
145572012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14558
14559 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14560 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14561
41f03f4d
GM
145622012-04-17 Glenn Morris <rgm@gnu.org>
14563
14564 * mouse.el (mouse-drag-track):
14565 * speedbar.el (speedbar-frame-mode):
14566 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14567
f45f90f3
LL
145682012-04-16 Leo Liu <sdl.web@gmail.com>
14569
14570 * progmodes/python.el: Trivial cleanup.
14571
94ee8db5
GM
145722012-04-16 Glenn Morris <rgm@gnu.org>
14573
121b8917
GM
14574 * vc/vc.el (vc-string-prefix-p):
14575 * vc/pcvs-util.el (cvs-string-prefix-p):
14576 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14577 * mpc.el (mpc-string-prefix-p):
14578 Make all of these into obsolete aliases for string-prefix-p.
14579 Update callers.
14580 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14581
1197ecfa
GM
14582 * textmodes/two-column.el: Move custom options to the start.
14583 (frame-width): Remove compat definition.
14584 (2C-associate-buffer, 2C-dissociate):
14585 Use with-current-buffer rather than save-excursion.
14586 (2C-dissociate): Force a mode-line update.
14587 (2C-autoscroll): Use ignore-errors.
14588
099e7202
GM
14589 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14590 Autoload trivia.
14591
bf350d6a
GM
14592 * emacs-lisp/cl-extra.el (*random-state*):
14593 Remove unnecessary declaration.
14594
0e829eab
GM
14595 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14596
e3ad7552
GM
14597 * play/cookie1.el (cookie-snarf):
14598 Give an explicit error if input file cannot be read.
14599
68892d27
GM
14600 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14601
20f0c46d
GM
14602 * progmodes/perl-mode.el (c-macro-expand):
14603 Remove unnecessary autoload (it is in loaddefs.el).
14604
5a0978ce
GM
14605 * textmodes/picture.el (picture-desired-column)
14606 (picture-update-desired-column): Convert comments to doc-strings.
14607 (picture-substitute): Remove function.
14608 (picture-mode-map): Initialize in the defvar.
14609
6b955486
GM
14610 * woman.el: Remove eval-after-load for tar-mode.
14611 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14612 (woman-tar-extract-file): Autoload it.
14613
94ee8db5
GM
14614 * frame.el (automatic-hscrolling): Make this alias obsolete.
14615
177eca34
AM
146162012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14617
090bd7cb 14618 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 14619 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
14620 (ispell-dictionary-base-alist): Revert to original XEmacs
14621 friendly version for default. [:alpha:] will be added in
090bd7cb 14622 `ispell-set-spellchecker-params' if needed.
177eca34 14623
c505aaeb
CY
146242012-04-16 Chong Yidong <cyd@gnu.org>
14625
b19dd9d1 14626 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
14627 (imagemagick-register-types): Use it.
14628 (imagemagick-types-inhibit): Add :set function. Allow new value
14629 of t to inhibit all types.
14630
14631 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14632 so we can preload it.
14633
14634 * loadup.el (fboundp): Preload regexp-opt, needed by
14635 imagemagick-register-types.
14636
60efac0f
CY
146372012-04-15 Chong Yidong <cyd@gnu.org>
14638
14639 * frame.el (scrolling): Remove nearly unused customization group.
14640
14641 * scroll-all.el (scroll-all-mode): Move to windows group.
14642
5dd1713e
CY
146432012-04-15 Chong Yidong <cyd@gnu.org>
14644
14645 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14646
e6fd457e
CY
146472012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 14650 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 14651
e153c136
GM
146522012-04-15 Glenn Morris <rgm@gnu.org>
14653
14654 * simple.el (process-file-side-effects): Doc fix.
14655
e6fd457e 146562012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
14657
14658 * international/mule-cmds.el (set-language-environment): Doc fix.
14659
3603c3b1
JB
146602012-04-14 Juanma Barranquero <lekktu@gmail.com>
14661
14662 * server.el (server-auth-key, server-generate-key): Doc fixes.
14663 (server-get-auth-key): Doc fix. Use `string-match-p'.
14664 (server-start): Reflow docstring.
14665
e6de100c
LI
146662012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14667
14668 * server.el (server-generate-key): `called-interactively-p'
14669 requires a parameter.
14670
29734c21
MN
146712012-04-14 Michal Nazarewicz <mina86@mina86.com>
14672
14673 * server.el (server-auth-key): New variable.
75f1671a 14674 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
14675 (server-start): Use the new variable and functions to allow
14676 setting a permanent server key (bug#9423).
14677
d65c9521
LL
146782012-04-14 Leo Liu <sdl.web@gmail.com>
14679
14680 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14681
5ae255c7
PE
146822012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14683
14684 Spelling fixes.
14685 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14686 Emacs uses American spelling.
14687
d5e6342e
JB
146882012-04-14 Juanma Barranquero <lekktu@gmail.com>
14689
14690 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14691 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14692 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14693 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14694
ab036cd7
SM
146952012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * progmodes/which-func.el (which-func-modes): Change default.
14698
35dc09a1 146992012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
14700
14701 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14702 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14703
35dc09a1 147042012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
14705
14706 * custom.el (custom-theme-set-variables): Doc fix.
14707
35dc09a1 147082012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
14709
14710 * international/mule.el (set-auto-coding-for-load): Doc fix.
14711
35dc09a1 147122012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 14713
35dc09a1
GM
14714 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14715 imenu work again for Objective C Mode. Correct the *-index values,
14716 these having been disturbed by a previous change in 2011-08.
57f845ee 14717
0de3da9f
AM
14718 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14719 Correct two search limits.
14720
35dc09a1 147212012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
14722
14723 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14724
35dc09a1 147252012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
14726
14727 * international/characters.el: Fix sorting.
14728
35dc09a1 147292012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
14730
14731 * international/characters.el: Add more missing Latin case pairs.
14732
35dc09a1 147332012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
14734
14735 * files.el (dir-locals-set-class-variables): Doc fix.
14736
35dc09a1 147372012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 14738
3f1b5bf8
EZ
14739 * international/characters.el: Add set-case-syntax-pair call for
14740 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14741 counterpart. (Bug#11209)
14742
9f847f41
EZ
14743 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14744
35dc09a1 147452012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
14746
14747 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14748
35dc09a1 147492012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 14750
35dc09a1
GM
14751 * textmodes/ispell.el (ispell-dictionary-base-alist):
14752 Add data for Hebrew.
e2627d21 14753
35dc09a1 147542012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 14755
35dc09a1
GM
14756 * net/rcirc.el (rcirc-cmd-quit):
14757 Revert 2012-03-18 change (Bug#11192).
5c14e333 14758
35dc09a1 147592012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
14760
14761 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14762
35dc09a1 147632012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 14764
4517fe3a
SM
14765 * minibuffer.el (completion-in-region-mode-map):
14766 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 14767
b472a594
VD
147682012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14769
14770 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14771
09b95ce3
MY
147722012-04-13 Masatake YAMATO <yamato@redhat.com>
14773
14774 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14775 to allow `C-M-f' and `C-M-b' to move to the nearest path
14776 separator (bug#9511).
14777
4b63a9ca
LI
147782012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14779
14780 * avoid.el: Require cl when compiling. And also move the
14781 `provide' to the end.
14782
7b55b8bf
TV
147832012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14784
14785 * avoid.el (mouse-avoidance-banish-position): New variable.
14786 (mouse-avoidance-banish-destination): Use it (bug#10165).
14787
adedaa1f
LL
147882012-04-13 Leo Liu <sdl.web@gmail.com>
14789
14790 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14791
70e74021
KB
147922012-04-13 Ken Brown <kbrown@cornell.edu>
14793
14794 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 14795 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
14796 (browse-url-filename-alist): For the same reason, don't modify
14797 file:// URLs on Cygwin.
14798
e75e89ba
SM
147992012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14802 the region on shift if the binding is already shifted (bug#11221).
14803
82f289a4
GM
148042012-04-12 Glenn Morris <rgm@gnu.org>
14805
14806 * mail/mailpost.el: Move to obsolete/.
14807
d333dc4c
DA
148082012-04-12 Drew Adams <drew.adams@oracle.com>
14809
14810 * imenu.el (imenu--generic-function): Ignore invisible definitions
14811 (bug#10123).
14812
0d15b5ba
VD
148132012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14814
14815 * hexl.el (hexl-bits): New variable.
14816 (hexl-options): Mention the variable in the doc string.
75f1671a 14817 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 14818 (hexl-mode): Mention the new variable.
75f1671a
JB
14819 (hexl-mode, hexl-current-address, hexl-current-address):
14820 Use the displen.
0d15b5ba
VD
14821 (hexl-ascii-start-column): New function.
14822 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14823 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14824
64a440db
AM
148252012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14826
14827 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14828 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14829 the encoding, as expected by hunspell.
14830
6decb6c2
SM
148312012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * battery.el (battery--linux-sysfs-regexp): New const.
14834 (battery-status-function): Use it. Remove yeeloong special case.
14835 (battery-yeeloong-sysfs): Remove.
14836 (battery-echo-area-format): Remove yeeloong special case.
14837
088be6fb
SM
148382012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14839
6622e416
SM
14840 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14841 Reported by Noah Friedman.
14842
088be6fb
SM
14843 * subr.el (read-passwd): Use read-string.
14844
b49f886e
LMI
148452012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
14847 * vcursor.el (vcursor-move): Increase the priority of the overlay
14848 (bug#9663).
14849
a63067fc
DD
148502012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14851
14852 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14853 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14854
ac3cf14a
WS
148552012-04-11 William Stevenson <yhvh2000@gmail.com>
14856
14857 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14858 define-minor-mode (bug#10760).
14859
c4fc691b 148602012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 14861
4d6769e1 14862 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
14863 that directories matching `grep-find-ignored-files' won't be
14864 pruned (bug#10351).
14865
af23e2e5
CY
148662012-04-11 Chong Yidong <cyd@gnu.org>
14867
14868 * startup.el (command-line): Remove support for long-obsolete
14869 variable font-lock-face-attributes.
14870
ab7ce8c1
GM
148712012-04-11 Glenn Morris <rgm@gnu.org>
14872
14873 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14874
de8c03dc
SM
148752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14876
14877 * window.el (window--state-get-1): Obey window-point-insertion-type.
14878
050cc68b
LB
148792012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14880
14881 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14882 to previous function when point is on the first character of a
75f1671a 14883 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 14884
a38c310c
GM
148852012-04-11 Glenn Morris <rgm@gnu.org>
14886
effed0c2
GM
14887 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14888 not just file-errors.
14889
a38c310c
GM
14890 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14891 (vc-bzr-sha1): Use internal sha1.
14892
0221e323
SM
148932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14896
43956923
SG
148972012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14898
14899 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14900 that start in the middle of the line (bug#10496).
14901
6a8c9eaf
DN
149022012-04-10 Dan Nicolaescu <dann@gnu.org>
14903
14904 * battery.el (battery-linux-proc-acpi): Only one battery is
14905 discharged at a time, but that seems to confuse battery.el when
14906 computing `rate-type' for the battery not being discharged
14907 (bug#10332).
14908
1930bf5d
SM
149092012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14910
2a718f6f
SM
14911 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14912
599430d0
SM
14913 * international/quail.el: Use dolist and simplify.
14914 (quail-define-package, quail-update-keyboard-layout)
14915 (quail-define-rules): Use dolist.
14916 (quail-insert-kbd-layout, quail-get-translation): CSE.
14917
a2754b6c
SM
14918 * tmm.el: Use dolist, remove left over hook.
14919 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14920 Use dolist.
14921 (calendar-load-hook): Don't mess with it.
14922
1930bf5d
SM
14923 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14924 Use derived-mode-p. Run the diff asynchronously.
14925
9f67961c
LMI
149262012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14927
14928 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14929
2a8ce227
JB
149302012-04-10 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14933 (list-dynamic-libraries--loaded): New function.
14934 (list-dynamic-libraries--refresh): Use it.
14935
8f33b5f8
NW
149362012-04-10 Nathan Weizenbaum <nweiz@google.com>
14937
1930bf5d
SM
14938 * progmodes/python.el (python-fill-paragraph):
14939 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
14940 disabled (bug#7018).
14941
b12f0439
L
149422012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14943
1930bf5d 14944 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
14945 DOS/MS Windows for the Baltic languages. There are still plenty
14946 of texts written in this encoding/codepage (bug#6519).
b12f0439 14947
57c3bd01
GM
149482012-04-10 Glenn Morris <rgm@gnu.org>
14949
14950 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14951 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14952
6c3eab30
FA
149532012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14954
1930bf5d 14955 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
14956 next-line "n" and previous-line "p" in order to make recentf more
14957 consistent with ibuffer, dired or org-mode (bug#9387).
14958
24d78a88
LMI
149592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14960
bc72b5d9
LMI
14961 * image.el (put-image): Return the overlay created instead of the
14962 optional input string (bug#7834). Note that this may break code
14963 that is (for some reason or other) depending on `put-image'
14964 returning the string.
14965
bd2dba5a
LMI
14966 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14967
74beb59f
LMI
14968 * simple.el (zap-to-char): Allow zapping using input methods
14969 (bug#1580).
14970
24d78a88
LMI
14971 * textmodes/fill.el (fill-region): Leave point and mark where they
14972 were before filling (bug#5399).
14973
263f20cd
GM
149742012-04-09 Glenn Morris <rgm@gnu.org>
14975
14976 * version.el (emacs-bzr-get-version):
14977 Handle lightweight checkouts of local branches.
14978
58d1f797
AS
149792012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14980
263f20cd 14981 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 14982
b4d3bc10
CY
149832012-04-09 Chong Yidong <cyd@gnu.org>
14984
14985 * custom.el (custom-variable-p): Return nil for non-symbol
14986 arguments instead of signaling an error.
14987 (user-variable-p): Obsolete alias for custom-variable-p.
14988
14989 * apropos.el (apropos-variable):
14990 * files-x.el (read-file-local-variable):
14991 * simple.el (set-variable):
14992 * woman.el (woman-mini-help):
14993 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14994
fd06db5d
GM
149952012-04-09 Glenn Morris <rgm@gnu.org>
14996
e5fcdb5e
GM
14997 * startup.el (normal-top-level): Don't look for leim-list.el
14998 in places where it will not be found. (Bug#910)
14999
fd06db5d
GM
15000 * international/mule-cmds.el (set-default-coding-systems):
15001 * files.el (normal-mode):
15002 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15003 This function was removed with ucs-tables.el in 2008.
15004
b39bb7e1
EZ
150052012-04-08 Eli Zaretskii <eliz@gnu.org>
15006
15007 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15008 ispell-encoding8-command to "-i", without a trailing space.
15009 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15010 separate command-line arguments, to specify the encoding, since
15011 that's how hunspell expects it.
15012
5c5b8e23
GM
150132012-04-08 Glenn Morris <rgm@gnu.org>
15014
15015 * loadup.el: Load bindings before cus-start.
15016 This reduces somewhat the number of "rogue" settings in emacs -Q.
15017
a1ed8b05
GM
150182012-04-07 Glenn Morris <rgm@gnu.org>
15019
15020 * version.el (emacs-bzr-get-version): New function.
dfae128a 15021 (emacs-bzr-version): New variable.
a1ed8b05
GM
15022 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15023 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15024
b142f158
EZ
150252012-04-07 Eli Zaretskii <eliz@gnu.org>
15026
dfae128a
GM
15027 * international/uni-bidi.el, international/uni-category.el:
15028 * international/uni-combining.el, international/uni-decimal.el:
15029 * international/uni-decomposition.el, international/uni-digit.el:
15030 * international/uni-lowercase.el, international/uni-mirrored.el:
15031 * international/uni-name.el, international/uni-numeric.el:
15032 * international/uni-titlecase.el, international/uni-uppercase.el:
15033 Update for Unicode 6.1.
b142f158 15034
9078ead6
EZ
150352012-04-07 Eli Zaretskii <eliz@gnu.org>
15036
15037 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15038
f23d2c7d
LMI
150392012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15040
15041 * window.el (shrink-window): Mention the `window-min-height'
15042 variable in the doc string.
15043
0a0a3573
BG
150442012-04-05 Bastien Guerry <bzg@altern.org>
15045
15046 * color.el (color-lighten-name): Fix typo.
15047
e5248ac9
SM
150482012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15049
15050 * server.el (server--on-display-p): New function.
15051 (server--on-display-p): Use it.
15052
a8e4d516 150532012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
15054
15055 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15056 (bug#11145).
15057
305d9f44
SM
150582012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * comint.el (comint--common-quoted-suffix): Check string boundary
15061 before comparing (bug#11158).
15062 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15063
3d439cd1
CY
150642012-04-04 Chong Yidong <cyd@gnu.org>
15065
321cc491
CY
15066 * minibuffer.el (completion-extra-properties): Doc fix.
15067
3d439cd1
CY
15068 * subr.el (delayed-warnings-hook): Doc fix.
15069
2d562c0f
DU
150702012-04-04 Daiki Ueno <ueno@unixuser.org>
15071
15072 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15073 selection (Bug#11159).
15074 (epa-insert-keys): Inform that the default public key will be
15075 exported if no key is selected.
15076
4443f204
RS
150772012-04-04 Richard Stallman <rms@gnu.org>
15078
15079 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15080
529c06b6
CY
150812012-04-03 Chong Yidong <cyd@gnu.org>
15082
15083 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15084 mail-insert-file, not its obsolete alias mail-attach-file.
15085
66b907dc
MA
150862012-04-03 Michael Albinus <michael.albinus@gmx.de>
15087
15088 * notifications.el (notifications-notify): Fix docstring.
15089
c0ea195d
GM
150902012-04-02 Glenn Morris <rgm@gnu.org>
15091
15092 * emacs-lisp/authors.el (authors-aliases): Another addition.
15093
5ca64e00
MA
150942012-04-02 Michael Albinus <michael.albinus@gmx.de>
15095
15096 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15097 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15098 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15099
42ee526b
CY
151002012-04-01 Chong Yidong <cyd@gnu.org>
15101
15102 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15103 Handle root directory properly.
15104 (copy-directory): Caller changed.
15105
15106 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15107 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15108
0b021094
GM
151092012-03-31 Glenn Morris <rgm@gnu.org>
15110
40f86458
GM
15111 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15112
7019c177
GM
15113 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15114
a1daddd6
GM
15115 * calendar/calendar.el (calendar-window-list)
15116 (calendar-hide-window): Restore. (Bug#11140)
15117 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15118
0b021094
GM
15119 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15120
40311efc
TV
151212012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15122
15123 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15124 Check if file is a symlink (Bug#10489).
15125
15126 * files.el (copy-directory): Likewise.
15127
5319014e
CY
151282012-03-30 Chong Yidong <cyd@gnu.org>
15129
15130 * image.el (imagemagick-types-inhibit)
15131 (imagemagick-register-types): Doc fix.
15132
935d1290
AM
151332012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15134
090bd7cb 15135 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 15136 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 15137 and treats ~word as ordinary words in pipe mode.
935d1290 15138
61c6e8fd
GM
151392012-03-30 Glenn Morris <rgm@gnu.org>
15140
15141 * tutorial.el (help-with-tutorial): Ensure local variables don't
15142 happen to make the buffer read-only. (Bug#11127)
15143
81fdff00
SM
151442012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15147 (perl-calculate-indent): Return `noindent' in strings.
15148
6e7a6ec0
SS
151492012-03-28 Sam Steingold <sds@gnu.org>
15150
15151 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15152 instead of the broken adhockery which does not prevent calendar
15153 buffers from being displayed at random after exit.
15154 (calendar-window-list, calendar-hide-window): Remove the broken
15155 adhockery.
15156
fee88ca0
GM
151572012-03-28 Glenn Morris <rgm@gnu.org>
15158
15159 * replace.el (query-replace-map): Doc fix.
15160
38de3354
AS
151612012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15162
15163 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15164 contents. (Bug#11109)
15165
b973155e
SM
151662012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15167
15168 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15169 (bug#11077).
15170 (avl-tree--check, avl-tree--check-node): New funs.
15171
dcb6e7b3
MR
151722012-03-27 Martin Rudalics <rudalics@gmx.at>
15173
15174 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
15175 (switch-to-prev-buffer, switch-to-next-buffer):
15176 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
15177 showing a buffer already is done on the same frame.
15178
b4fa35fa
GM
151792012-03-27 Glenn Morris <rgm@gnu.org>
15180
15181 * startup.el (mail-host-address): Doc fix.
15182
f9210e18
SM
151832012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15186 than 197 variables.
15187
c0bf7753
AF
151882012-03-26 Ami Fischman <ami@fischman.org>
15189
15190 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15191
33da7b16
GM
151922012-03-26 Glenn Morris <rgm@gnu.org>
15193
02243d9d
GM
15194 * files.el (save-buffers-kill-emacs): Doc fix.
15195
33da7b16
GM
15196 * startup.el (normal-top-level, command-line, command-line-1):
15197 Give them doc strings.
15198
e5a69fd0
EZ
151992012-03-25 Eli Zaretskii <eliz@gnu.org>
15200
15201 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 15202 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 15203
9a69676a
CY
152042012-03-25 Chong Yidong <cyd@gnu.org>
15205
4125cb8b
CY
15206 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15207 theme if it was previously enabled before (Bug#11031).
15208
dd470960
CY
15209 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15210 spec with custom-face-get-current-spec if its :shown-value is not
15211 determined yet (Bug#9337).
4125cb8b 15212 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 15213
9a69676a
CY
15214 * button.el (button-at): Minor addition to docstring.
15215
6e7e90fa
SL
152162012-03-24 Simon Leinen <simon.leinen@gmail.com>
15217
15218 * vc/vc.el (vc-merge): Fix a prompt.
15219
f06e2758
CY
152202012-03-24 Chong Yidong <cyd@gnu.org>
15221
15222 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15223 point (Bug#9623).
15224
6e7e90fa
SL
15225 * button.el (button-at): Minor addition to docstring.
15226
b9d0879b
SM
152272012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * newcomment.el (comment-choose-indent): No space after BOL.
15230
e71cebb3
SS
152312012-03-22 Sam Steingold <sds@gnu.org>
15232
15233 * window.el (switch-to-prev-buffer): Revert last patch because the
15234 bug turned out to be an advertised feature (Elisp manual 28.14).
15235
335aff35
GM
152362012-03-22 Glenn Morris <rgm@gnu.org>
15237
15238 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15239 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15240
c676576a
LMI
152412012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15242
15243 * net/network-stream.el (network-stream-open-starttls): Make error
15244 message under Windows be less misleading.
15245
126f3d39
LW
152462012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15247
15248 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15249 understands (bug#9942).
15250
64fee311
CY
152512012-03-22 Chong Yidong <cyd@gnu.org>
15252
15253 * simple.el (end-of-visible-line): Handle return value of
15254 next-single-property-change properly (Bug#9371).
15255
a640d29a
KH
152562012-03-22 Kenichi Handa <handa@m17n.org>
15257
15258 * international/quail.el (quail-insert-kbd-layout): Fix previous
15259 change. To avoid unwanted bidi reordering, use
15260 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15261
39675016
DG
152622012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15263
15264 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15265 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15266 (ruby-beginning-of-indent): Be more careful with the difference
15267 between word-boundary and symbol boundary.
15268 (ruby-mode-syntax-table): Make : a symbol constituent.
15269
0a6934fc 152702012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 15271
3d008e4f
SM
15272 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15273
0a6934fc
SM
152742012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15275
af67c9d7
SM
15276 * progmodes/etags.el (tags-completion-at-point-function):
15277 Improve last fix.
15278
1acad97c
SM
15279 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15280
e298b5da
SS
152812012-03-21 Sam Steingold <sds@gnu.org>
15282
15283 * progmodes/etags.el (tags-completion-at-point-function):
15284 Avoid the error when point is inside the pattern.
15285
91d82a70
JY
152862012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15287
15288 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15289 line (Bug#10855).
15290
69188b79
CY
152912012-03-21 Drew Adams <drew.adams@oracle.com>
15292
15293 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15294
99fc91fe
AK
152952012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15296
15297 * ido.el (ido-set-current-directory, ido-read-internal)
15298 (ido-choose-completion-string, ido-completion-help): Handle nil
15299 value of ido-completion-buffer (Bug#11008).
15300
087bbb4c
SS
153012012-03-21 Sam Steingold <sds@gnu.org>
15302
15303 * window.el (switch-to-prev-buffer): Do not switch to a visible
15304 window previous buffer, just like with the frame previous buffers.
15305
fb5b8aca
CY
153062012-03-21 Chong Yidong <cyd@gnu.org>
15307
15308 * faces.el (make-face, make-empty-face, copy-face):
15309 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15310 Doc fixes.
15311
dc9924b8
SM
153122012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15315 (widget-complete): Remove broken use of it.
15316
f0bcceb9
CY
153172012-03-20 Chong Yidong <cyd@gnu.org>
15318
dc9924b8
SM
15319 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15320 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
15321 characters.
15322
ee52ebf3
TH
153232012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15324
15325 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15326 to draw rectangles, not squares. (Regression introduced by revno
15327 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15328
4c5779ab
CY
153292012-03-18 Chong Yidong <cyd@gnu.org>
15330
15331 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15332 it is not yet defined (for temacs).
15333
15360934
LL
153342012-03-18 Leo Liu <sdl.web@gmail.com>
15335
735135f9
PE
15336 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15337 prefix.
15360934 15338
d9a8eb66
EZ
153392012-03-17 Eli Zaretskii <eliz@gnu.org>
15340
15341 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15342 (ispell-choices-win-default-height, ispell-silently-savep)
15343 (ispell-dictionary-alist, ispell-encoding8-command)
15344 (ispell-check-version, ispell-aspell-find-dictionary)
15345 (ispell-valid-dictionary-list, ispell-words-keyword)
15346 (ispell-get-word, ispell-internal-change-dictionary)
15347 (ispell-region, ispell-skip-region-list)
15348 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15349 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15350 (ispell-message-text-end, ispell-message)
15351 (ispell-buffer-local-parsing): Doc fix.
15352
f02ff80d
J
153532012-03-13 Jambunathan K <kjambunathan@gmail.com>
15354
15355 * htmlfontify.el: Add support for code block fontification for ODT
15356 export (Bug #9914).
15357 (hfy-optimisations): Define new option
15358 `body-text-only'
15359 (hfy-fontify-buffer): Honor above setting.
15360 (hfy-begin-span, hfy-end-span): New routines factored out form
15361 `hfy-fontify-buffer'.
15362 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15363 that permit insertion of custom tags.
15364 (hfy-fontify-buffer): Use above handlers.
15365 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15366 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 15367 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 15368 over multiple runs. This is made possible by having the caller let
f02ff80d
J
15369 bind a special variable `hfy-user-sheet-assoc'.
15370 (htmlfontify-string): New defun.
15371 (hfy-compile-face-map): Make sure that the last char in the
15372 buffer is correctly fontified.
15373 (hfy-face-resolve-face): Whitespace only change.
15374
9ac7a13f
EZ
153752012-03-17 Eli Zaretskii <eliz@gnu.org>
15376
15377 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15378 message more clear.
15379
e2b5bdd7
LL
153802012-03-16 Leo Liu <sdl.web@gmail.com>
15381
15382 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15383
2e492df3
AM
153842012-03-16 Alan Mackenzie <acm@muc.de>
15385
677d5c92 15386 Further optimize the handling of large macros.
2e492df3
AM
15387
15388 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15389 limit to a call of `c-literal-limits'.
15390 (c-determine-+ve-limit): New function.
dc9924b8
SM
15391 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15392 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
15393 In CASE 5B, restrict a search limit to 500.
15394 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15395
15396 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15397 Restrict macro bounds to +-500 from after-change's BEG END.
15398
50e94f0c
LL
153992012-03-16 Leo Liu <sdl.web@gmail.com>
15400
15401 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15402
6f09f6ed
AH
154032012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15404
15405 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 15406 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 15407
c7e73d51
GM
154082012-03-16 Glenn Morris <rgm@gnu.org>
15409
da986230
GM
15410 * view.el (view-buffer, view-buffer-other-window)
15411 (view-buffer-other-frame): Doc fixes re special mode-class.
15412
0835f01e
GM
15413 * subr.el (eval-after-load): If named feature is provided not from
15414 a file, run after-load forms. (Bug#10946)
15415
c7e73d51
GM
15416 * calendar/calendar.el (calendar-insert-at-column):
15417 Handle non-unit-width characters a bit better. (Bug#10978)
15418
3f2eafd1
CY
154192012-03-15 Chong Yidong <cyd@gnu.org>
15420
15421 * emacs-lisp/ring.el (ring-extend): New function.
15422 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15423
15424 * comint.el (comint-read-input-ring)
15425 (comint-add-to-input-history): Grow comint-input-ring lazily.
15426
103af3fe
SM
154272012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15428
663b1677
SM
15429 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15430 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15431
103af3fe
SM
15432 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15433 (imenu-add-to-menubar): Don't add a redundant index.
15434 (imenu-update-menubar): Handle a dynamically composed keymap.
15435
899cb7cb
KY
154362012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15437
15438 * mail/sendmail.el (mail-encode-header):
15439 Bind rfc2047-encode-encoded-words to nil.
15440
3809f91d
GM
154412012-03-13 Glenn Morris <rgm@gnu.org>
15442
15443 * calendar/calendar.el (calendar-string-spread):
15444 Handle non-unit-width characters a bit better. (Bug#10978)
15445
9e345a01
LL
154462012-03-13 Leo Liu <sdl.web@gmail.com>
15447
15448 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15449 directory and file as argument (Bug#10822).
15450
4a07df36
KS
154512012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15452
15453 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15454 For dynamically generated code, follow $PC.
15455 (gdb-disassembly-handler-custom): Handle no function name case.
15456
4aaa9356
TL
154572012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15458
15459 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15460 * emulation/ws-mode.el (ws-query-replace):
15461 * sort.el (sort-regexp-fields):
15462 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15463
225979da
SM
154642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15465
15466 * dabbrev.el: Fix cycle completion order (bug#10963).
15467 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15468 (dabbrev-completion): Don't use an obarray; provide
15469 a cycle-sort-function.
15470
e2f1fdab
LL
154712012-03-12 Leo Liu <sdl.web@gmail.com>
15472
dc9924b8 15473 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
15474 (kill-do-not-save-duplicates): Doc fix.
15475
b19490ed
SM
154762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * dabbrev.el: Fix cycle completion (bug#10963).
15479 Use lexical binding and wrap to 80 columns.
15480 (dabbrev-completion): Delay computing the list of completions.
15481
4b05d722
KH
154822012-03-12 Kenichi Handa <handa@m17n.org>
15483
15484 * international/quail.el (quail-insert-kbd-layout): Surround each
15485 row by LRO and PDF instead of inserting many LRMs. Pad the left
15486 and right of each non-spacing marks. Insert invisible space
15487 between lower and upper characters to prevent composition.
15488
dbbc2e69
SM
154892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15490
15491 * minibuffer.el (minibuffer-complete): Don't get confused when the
15492 function is run twice via different commands (bug#10958).
15493 (complete-with-action): Fix docstring.
15494
292112ed
CY
154952012-03-12 Chong Yidong <cyd@gnu.org>
15496
5d1ac394
CY
15497 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15498 (nxml-completion-at-point-function): New function.
15499 (nxml-mode): Use it.
15500 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15501
292112ed
CY
15502 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15503 Load generated autoloads file before byte compiling (Bug#10970).
15504 (package--make-autoloads-and-compile): New helper fun.
15505
4098f8f7
CS
155062012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15507
15508 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15509
8f754691
MA
155102012-03-11 Michael Albinus <michael.albinus@gmx.de>
15511
15512 * autorevert.el (auto-revert-handler): Ensure, that
15513 file-readable-p is applied only for local files or in
15514 auto-revert-tail-mode.
15515
e29ab36b
AS
155162012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15517
dbbc2e69
SM
15518 * server.el (server-eval-at): Handle non-tcp connections.
15519 Decode result string.
ad0bf5b6 15520
e29ab36b
AS
15521 * server.el (server-msg-size): New constant.
15522 (server-reply-print): New function.
15523 (server-eval-and-print): Use it.
15524 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15525 Handle -print-nonl.
15526
de5939ba
CS
155272012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15528
15529 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15530 (Bug#10987).
15531
0c93eabf
CY
155322012-03-11 Chong Yidong <cyd@gnu.org>
15533
397a688f
CY
15534 * simple.el (goto-line): Doc fix (Bug#9938).
15535
2cc775f9
CY
15536 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15537
0c93eabf
CY
15538 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15539 when finished (Bug#10963).
15540
c491fa41
MR
155412012-03-11 Martin Rudalics <rudalics@gmx.at>
15542
15543 * window.el (split-window-below): Fix bug in case where
15544 split-window-keep-point is nil (Bug#10971).
15545
300e8fa5
JL
155462012-03-11 Juri Linkov <juri@jurta.org>
15547
15548 * replace.el (replace-highlight): Set isearch-word to nil
15549 unconditionally. (Bug#10887)
15550
dbf6c5a1
EZ
155512012-03-10 Eli Zaretskii <eliz@gnu.org>
15552
15553 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15554 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 15555 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
15556 (mairix-widget-create-query): Add usage information about mairix
15557 search forms: negating words, searching for substrings, etc.
15558
b9e501de
JP
155592012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15560
15561 * international/fontset.el (font-encoding-alist): Add an entry for
15562 ksx1001 (Bug#5667).
15563
92795c91
RS
155642012-03-10 Richard Stallman <rms@gnu.org>
15565
1694e6c1
RS
15566 * mail/sendmail.el (mail-encode-header):
15567 Set rfc2047-encode-encoded-words.
15568
607e8555
RS
15569 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15570
de3bc99a
RS
15571 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15572 view buffer means not swapped.
15573 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15574 (rmail-write-region-annotate): Error if real text has disappeared.
15575
92795c91
RS
15576 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15577
699bd04e
CY
155782012-03-10 Chong Yidong <cyd@gnu.org>
15579
15580 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
15581 * emulation/cua-base.el (cua--init-keymaps):
15582 Add delete-forward-char to remappings (Bug#9666).
699bd04e 15583
570a1714
MR
155842012-03-10 Martin Rudalics <rudalics@gmx.at>
15585
dbbc2e69
SM
15586 * speedbar.el (speedbar-unhighlight-one-tag-line):
15587 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 15588
82dcf4e4
CY
155892012-03-10 Chong Yidong <cyd@gnu.org>
15590
7a2c7ca7
CY
15591 * minibuffer.el (completion-in-region, completion-help-at-point):
15592 Give the completion field overlay a high priority (Bug#6830).
15593
82dcf4e4
CY
15594 * dired.el (dired-goto-file): Recognize absolute file name
15595 listings (Bug#7126).
15596 (dired-goto-file-1): New helper function.
15597 (dired-toggle-read-only): Inhibit warnings.
15598
052e28ac
MA
155992012-03-09 Michael Albinus <michael.albinus@gmx.de>
15600
75f1671a 15601 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
15602 there are no properties.
15603
95d5e396
LL
156042012-03-09 Leo Liu <sdl.web@gmail.com>
15605
15606 * savehist.el (savehist-printable): Stricter check for string
15607 value (Bug#10937).
15608
3f018d6d
EZ
156092012-03-09 Eli Zaretskii <eliz@gnu.org>
15610
dbbc2e69
SM
15611 * mail/smtpmail.el (smtpmail-send-it):
15612 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
15613 valid mbox format.
15614
f7fd3d79
GM
156152012-03-09 Glenn Morris <rgm@gnu.org>
15616
15617 * files.el (dir-locals-find-file):
15618 Don't check result is regular, readable.
15619 (dir-locals-read-from-file): Demote errors.
15620
6ff6e72f
EZ
156212012-03-08 Eli Zaretskii <eliz@gnu.org>
15622
dbbc2e69
SM
15623 * international/quail.el (quail-insert-kbd-layout):
15624 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
15625 layout cell, to prevent their reordering by bidi display engine.
15626 For details, see the discussion in
15627 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15628
9cec7834
AM
156292012-03-08 Alan Mackenzie <acm@muc.de>
15630
15631 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15632 the starting position; make it extend the marked region when
15633 invoked repeatedly - all under appropriate circumstances.
15634 Fixes bugs #5525, #10906.
15635
9a40b8d4
GM
156362012-03-08 Glenn Morris <rgm@gnu.org>
15637
15638 * files.el (locate-dominating-file, dir-locals-find-file):
15639 Undo 2012-03-06 change.
15640
7a08ed35
EZ
156412012-03-07 Eli Zaretskii <eliz@gnu.org>
15642
dbbc2e69
SM
15643 * international/quail.el (quail-help):
15644 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
15645 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15646 for the reason.
15647
5aca4f71 156482012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
15649
15650 Avoid superfluous registering of signals. (Bug#10807)
15651
15652 * notifications.el (notifications-on-action-object)
15653 (notifications-on-close-object): New defvars.
15654 (notifications-on-action-signal, notifications-on-closed-signal):
15655 Unregister the signal if not needed any longer.
15656 (notifications-notify): Register `notifications-action-signal' or
15657 `notifications-closed-signal', if :on-action or :on-close has been
15658 passed as argument.
15659
78e8b10a
CY
156602012-03-07 Chong Yidong <cyd@gnu.org>
15661
15662 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15663 non-X platforms.
15664
69481eb8
GM
156652012-03-06 Glenn Morris <rgm@gnu.org>
15666
15667 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15668 (x-disown-selection-internal, x-get-selection-internal):
15669 Doc fix (add arglist signatures). (Bug#10783)
15670
133b8e11
KS
156712012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15672
15673 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15674 Handle breakpoints with no "type".
15675
99a83064
GM
156762012-03-06 Glenn Morris <rgm@gnu.org>
15677
15678 * files.el (locate-dominating-file): Add optional predicate argument.
15679 (dir-locals-find-file): Make use of above change.
15680
17798e78
TTN
156812012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15682
15683 * info.el (Info-insert-dir): Also try "dir.gz".
15684
eb182446
GM
156852012-03-06 Glenn Morris <rgm@gnu.org>
15686
8f2114ee
GM
15687 * files.el (dir-locals-find-file):
15688 Ignore non-readable or non-regular files. (Bug#10928)
15689
eb182446
GM
15690 * files.el (locate-dominating-file): Doc fix.
15691
24679323
AS
156922012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15693
15694 * calendar/calendar.el (calendar-set-mode-line):
15695 `getenv' returns a string. (Bug#10951)
15696
01d972a9
LL
156972012-03-05 Leo Liu <sdl.web@gmail.com>
15698
109aa8a9
LL
15699 * simple.el (backward-delete-char-untabify): Constrain point to
15700 field (Bug#10939).
15701
01d972a9
LL
15702 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15703
10607bea
CY
157042012-03-05 Chong Yidong <cyd@gnu.org>
15705
15706 * simple.el (count-words): If called from Lisp, return the word
15707 count, for symmetry with `count-lines'. Arglist changed.
15708 (count-words--message): Args changed. Consolidate counting code
15709 from count-words and count-words-region.
15710 (count-words-region): Caller changed.
15711 (count-lines-region): Make it an obsolete alias.
15712
5dd11cfe
TH
157132012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15714
15715 * saveplace.el (save-place-to-alist)
15716 (save-place-ignore-files-regexp): Allow value nil to disable this
15717 feature.
15718
c349f4e6
CY
157192012-03-04 Chong Yidong <cyd@gnu.org>
15720
15721 * faces.el (face-spec-reset-face): For the default face, reset the
15722 attributes to default values (Bug#10748).
15723
e627be4c
LMI
157242012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15725
15726 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15727 previous patch: Check `message-send-mail-function', and not the
15728 default function (bug#10897).
15729
ebeabff4
MA
157302012-03-04 Michael Albinus <michael.albinus@gmx.de>
15731
a41a6cf4
MA
15732 * notifications.el (notifications-on-action-signal)
15733 (notifications-on-closed-signal): Check for unique service name of
15734 incoming event. Fix error in removing entry.
ebeabff4 15735 (top): Register for signals with wildcard service name.
a41a6cf4 15736 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 15737
c1ca42b4
CY
157382012-03-04 Chong Yidong <cyd@gnu.org>
15739
dc9924b8 15740 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 15741
ea16568d
GM
157422012-03-04 Glenn Morris <rgm@gnu.org>
15743
15744 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15745 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15746 (expand-abbrev, define-abbrev-table): Doc fixes.
15747
fbae4637
LMI
157482012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15749
15750 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15751 `message-default-send-mail-function' and not `send-mail-function'
15752 when doing the prompting for `sendmail-query-once' before sending
15753 in Message buffers (bug#10897).
15754
a1e7225c
LMI
15755 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15756 This is inconsistent with all the other stream functions, which leave
15757 the setting up to the higher levels (if so wanted) (bug#10931).
15758
56d093a9
AM
157592012-03-02 Alan Mackenzie <acm@muc.de>
15760
15761 Depessimize the handling of very large macros.
15762
15763 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15764 (c-macro-cache-syntactic): New variables to implement a one
15765 element macro cache.
15766 (c-invalidate-macro-cache): New function.
15767 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15768 Adapt to use the new cache.
15769 (c-state-safe-place): Use better the cache of safe positions.
15770 (c-state-semi-nonlit-pos-cache)
15771 (c-state-semi-nonlit-pos-cache-limit):
15772 New variables for...
15773 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15774 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
15775 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15776 Use c-state-semi-safe-place.
56d093a9 15777
dbbc2e69
SM
15778 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15779 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 15780
817e5c3d
MA
157812012-03-02 Michael Albinus <michael.albinus@gmx.de>
15782
dbbc2e69
SM
15783 * jka-compr.el (jka-compr-call-process):
15784 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
15785 not remote.
15786
a032a702
MA
157872012-03-01 Michael Albinus <michael.albinus@gmx.de>
15788
15789 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15790 access of FILE2, if FILE1 does not exist.
15791
99a54f21
MA
15792 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15793 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15794
15795 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15796 Add "PAGER=" to `process-environment'.
15797
f6561e1f
MM
157982012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15799
15800 * progmodes/sql.el: Bug fix
15801 (sql-get-login-ext): Save login values in globals.
15802 (sql-get-login): Use new version of `sql-get-login-ext'.
15803 (sql-interactive-mode): Set global `sql-connection' to nil.
15804 (sql-connect): Set global values for connection.
15805 (sql-product-interactive): Save global values as buffer local.
15806
2d44d9cc
LL
158072012-02-29 Leo Liu <sdl.web@gmail.com>
15808
15809 * abbrev.el (define-abbrevs): Reset sys to nil.
15810
96b49301 158112012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15812
bf7f9bc5
JB
15813 * files.el (file-equal-p): Rename from `files-equal-p'.
15814 Return nil when one or both files don't exist.
96b49301 15815 (file-subdir-of-p): Now only top directory must exists,
15816 return nil if it doesn't.
bf7f9bc5
JB
15817 (copy-directory): No need to test with `file-subdir-of-p' after
15818 creating dir.
15819 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15820 to `file-equal-p'.
96b49301 15821
44e97401
GM
158222012-02-28 Glenn Morris <rgm@gnu.org>
15823
15824 * shell.el (shell-mode):
15825 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15826 * play/landmark.el (landmark-font-lock-face-O):
15827 * play/handwrite.el (handwrite):
15828 * play/gomoku.el (gomoku-O):
15829 * net/browse-url.el (browse-url-browser-display):
15830 * international/mule.el (define-charset):
15831 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15832 * filesets.el (filesets-find-file-delay):
15833 * eshell/em-xtra.el (eshell-xtra):
15834 * eshell/em-unix.el (eshell-grep):
15835 * emulation/viper.el (viper-mode):
15836 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15837 * emacs-lisp/easymenu.el (easy-menu-define):
15838 * calendar/timeclock.el (timeclock-use-display-time):
15839 * bs.el (bs-mode):
15840 * bookmark.el (bookmark-save-flag):
15841 Doc fix (standardize possessive apostrophe usage).
15842
c98c6276
CY
158432012-02-27 Chong Yidong <cyd@gnu.org>
15844
bf7f9bc5
JB
15845 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15846 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 15847
c98c6276
CY
15848 * font-lock.el (font-lock-specified-p): Rename from
15849 font-lock-spec-present. Callers changed.
15850
9c62cd04 158512012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 15852
bf7f9bc5
JB
15853 * emacs-lisp/package.el (package-compute-transaction):
15854 Handle holding a package version to t in package-load-list.
8ac9e529 15855
530739c9
MA
158562012-02-26 Michael Albinus <michael.albinus@gmx.de>
15857
15858 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15859 (tramp-get-inode, tramp-get-device): Use cached values.
15860
487915d7
AM
158612012-02-26 Alan Mackenzie <acm@muc.de>
15862
15863 Check there is a font-lock specification before doing initial
15864 fontification.
15865
15866 * font-core.el (font-lock-mode): Move the conditional from
15867 :after-hook to font-lock-initial-fontify.
15868 (font-lock-default-function): Move the check for a specification
15869 to font-lock-spec-present.
15870
dc9924b8 15871 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
15872 (font-lock-spec-present): New function.
15873
4fd96557
JB
158742012-02-26 Jim Blandy <jimb@red-bean.com>
15875
15876 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15877 (gdb-send): Apply it to the operand of the '-interpreter-exec
15878 console' command, so that we can pass arguments with (say) quotes
15879 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15880
9a4888c0
CY
158812012-02-26 Chong Yidong <cyd@gnu.org>
15882
07498861
CY
15883 * help-fns.el (describe-function-1): Clarify description of
15884 remapping (Bug#10844).
15885
9a4888c0
CY
15886 * files.el (files-equal-p): Doc fix.
15887 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15888 and quit the loop once a mismatch is found.
15889
ea8fb88d
JB
158902012-02-25 Juanma Barranquero <lekktu@gmail.com>
15891
15892 * bs.el (bs--show-with-configuration): Don't throw an error
15893 if the window cannot be split; otherwise, subsequent calls to
15894 bs-show fail, restoring a stale window config. (Bug#10882)
15895
525795c1
JD
158962012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15897
15898 * term/ns-win.el (global-map): Bind ns-drag-file to
15899 ns-find-file (Bug#5855, Bug#10050).
15900
f008086f
AS
159012012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15902
15903 * calendar/parse-time.el (parse-time-string): Allow extractor to
15904 return nil.
15905
a3fcfa99
MA
159062012-02-25 Michael Albinus <michael.albinus@gmx.de>
15907
91027d08
JB
15908 * net/tramp.el (tramp-file-name-for-operation):
15909 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
15910
15911 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
15912 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15913 Add COPY-CONTENTS argument.
a3fcfa99 15914
67b0de11
CY
159152012-02-25 Chong Yidong <cyd@gnu.org>
15916
15917 Add custom groups for VC backends, for consistency with vc-bzr.
15918
15919 * vc/vc-arch.el (vc-arch):
15920 * vc/vc-cvs.el (vc-cvs):
15921 * vc/vc-git.el (vc-git):
15922 * vc/vc-hg.el (vc-hg):
15923 * vc/vc-mtn.el (vc-mtn):
15924 * vc/vc-rcs.el (vc-rcs):
15925 * vc/vc-sccs.el (vc-sccs):
15926 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15927 All relevant defcustoms reassigned.
15928
3c9dfce6
CY
159292012-02-25 Chong Yidong <cyd@gnu.org>
15930
1339bf43
CY
15931 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15932
3c9dfce6
CY
15933 * term/x-win.el (x-initialize-window-system): Reduce default for
15934 x-selection-timeout to 5 seconds (Bug#8869).
15935
25b2e303 159362012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15937
ec70a47d
GM
15938 * files.el (files-equal-p, file-subdir-of-p): New functions.
15939 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 15940 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
15941 * dired-aux.el (dired-copy-file-recursive): Same.
15942 (dired-create-files): Modify destination when source is equal to
15943 dest when copying files.
53a46cd0 15944 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 15945
914260cd
MA
159462012-02-24 Michael Albinus <michael.albinus@gmx.de>
15947
15948 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15949 (Bug#10874)
15950
2cb228f7
AM
159512012-02-23 Alan Mackenzie <acm@muc.de>
15952
15953 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15954 parameter "after-hook:" to allow the expansion to run code after
15955 the execution of the mode hooks.
15956
15957 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 15958 from font-lock-mode-internal.
2cb228f7 15959
91027d08 15960 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
15961 :after-hook.
15962
8f0fde21
SM
159632012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15964
3e88618b
SM
15965 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15966 (completion--cache-all-sorted-completions): New function.
15967 (completion-all-sorted-completions): Use it.
15968 (completion--do-completion, minibuffer-force-complete):
15969 Use it to re-instate the flush hook.
15970
8f0fde21
SM
15971 * icomplete.el (icomplete-completions): Replace last fix with a better
15972 one (bug#10850).
15973
8e911f6f
DG
159742012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15975
15976 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15977 when it might call us back infinitely (bug#10797).
15978
49fe4321
GM
159792012-02-23 Glenn Morris <rgm@gnu.org>
15980
15981 * minibuffer.el (completion-category-overrides): Doc fix.
15982
b291b572
SM
159832012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15986 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15987
31a9ef2e
GM
159882012-02-23 Glenn Morris <rgm@gnu.org>
15989
5e6e6794 15990 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
15991 (authors-obsolete-files-regexps, authors-ignored-files)
15992 (authors-ambiguous-files, authors-renamed-files-alist):
15993 Add more entries.
15994
0bd1e074
JL
159952012-02-23 Juri Linkov <juri@jurta.org>
15996
15997 * isearch.el (isearch-occur): Sync interactive spec with occur's
15998 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15999
b617673c
JL
16000 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16001
19e9789e
JL
160022012-02-22 Juri Linkov <juri@jurta.org>
16003
16004 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16005 (ucs-insert): Doc fix. Check for hex digits in the string.
16006 Don't display `nil' in the error message. (Bug#10857)
16007
f41ce09d
AM
160082012-02-22 Alan Mackenzie <acm@muc.de>
16009
7a71b18d 16010 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 16011
ac2eceee
GM
160122012-02-22 Glenn Morris <rgm@gnu.org>
16013
16014 * ffap.el (ffap-c-path):
16015 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16016
abd1f678
CY
160172012-02-22 Chong Yidong <cyd@gnu.org>
16018
16019 * custom.el (load-theme): Doc fix.
16020
f25aef2e
GM
160212012-02-22 Glenn Morris <rgm@gnu.org>
16022
16023 * dired-x.el (dired-guess-shell-alist-default):
16024 Remove escape sequences from nroff output. (Bug#172)
16025
5f8dc2ca
GM
160262012-02-21 Glenn Morris <rgm@gnu.org>
16027
6ff86ec4
GM
16028 * vc/emerge.el (emerge-defvar-local):
16029 Set `permanent-local' property rather than unused `preserved'.
16030
be3223a3 16031 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
16032 (picture-mode-map): Use it. (Bug#10860)
16033 (picture-mode): Doc fix.
16034
3fe58f4f
JB
160352012-02-21 Juanma Barranquero <lekktu@gmail.com>
16036
16037 * newcomment.el (uncomment-region-default): Remove unused binding.
16038
f9a998c3
GM
160392012-02-21 Glenn Morris <rgm@gnu.org>
16040
16041 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16042 (picture-self-insert, picture-tab-chars): Doc fix.
16043 (picture-mode-map): Fix C-a, C-e.
16044
c6029348
GM
160452012-02-20 Glenn Morris <rgm@gnu.org>
16046
16047 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16048
ab1ce9d7
LL
160492012-02-20 Leo Liu <sdl.web@gmail.com>
16050
16051 * icomplete.el (icomplete-completions): Check FROM arg before
16052 passing to substring (Bug#10850).
16053
0fd40f89
CY
160542012-02-19 Chong Yidong <cyd@gnu.org>
16055
16056 * comint.el: Require ansi-color.
16057 (comint-output-filter-functions): Add ansi-color-process-output.
16058
16059 * ansi-color.el: Don't set comint-output-filter-functions; it is
16060 now in the initial value defined in comint.el.
16061 (ansi-color-apply-face-function): New variable.
16062 (ansi-color-apply-on-region): Use it.
16063 (ansi-color-apply-overlay-face): New function.
16064
16065 * shell.el (shell): No need to require ansi-color.
16066 (shell-mode): Use ansi-color-apply-face-function to highlight
16067 color escapes using font-lock-face property (Bug#10835).
16068
20af2394
CY
160692012-02-19 Chong Yidong <cyd@gnu.org>
16070
16071 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16072 mode-line formats (Bug#10839).
16073
e23a3fbe
GM
160742012-02-18 Glenn Morris <rgm@gnu.org>
16075
b474519e
GM
16076 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16077
16078 * mail/undigest.el (unforward-rmail-message): Doc fix.
16079
e23a3fbe
GM
16080 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16081
57939ff4
EZ
160822012-02-18 Eli Zaretskii <eliz@gnu.org>
16083
16084 * international/characters.el (script-list): Sync with the latest
16085 Unicode Character Database.
16086
0c23686e
AS
160872012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16088
16089 * international/titdic-cnv.el: Remove duplicate coding tag.
16090 * language/cham.el: Likewise.
16091 * language/tai-viet.el: Likewise.
16092
6818b449
GM
160932012-02-18 Glenn Morris <rgm@gnu.org>
16094
16095 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16096 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16097 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16098 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16099 * calendar/holidays.el (holiday-bahai-holidays)
16100 (calendar-holidays, list-holidays):
16101 Use utf-8 Bahá'í in doc-strings, menus, etc.
16102
0311a3fc
TH
161032012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16104
16105 * saveplace.el (save-place-ignore-files-regexp): New variable
16106 allowing for excluding files from saving their location of point.
16107 The default value matches the temporary commit message editing
16108 files from Git, SVN, Bazaar, and Mercurial.
16109 (save-place-to-alist): Use it.
16110
d209e2fb 161112012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 16112 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
16113
16114 * newcomment.el (uncomment-region-default): Don't leave extra space
16115 when an arg is provided (bug#8150).
16116
ee0ce425
TZ
161172012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16118
eb864a71 16119 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 16120
95ddf442
GM
161212012-02-17 Glenn Morris <rgm@gnu.org>
16122
16123 * net/socks.el: Require network-stream. (Bug#10599)
16124
48dd1e39 161252012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
16126
16127 * international/charprop.el:
16128 * international/uni-name.el:
16129 * international/uni-old-name.el:
16130 * international/uni-comment.el: Regenerate.
16131
d68cd087
GM
161322012-02-16 Glenn Morris <rgm@gnu.org>
16133
16134 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16135 Interactively in calendar buffer, give an error if not on a date.
16136
13932042
GM
161372012-02-15 Glenn Morris <rgm@gnu.org>
16138
16139 * shell.el (shell-delimiter-argument-list):
16140 Revert 2011-02-17 change. (Bug#8027)
16141
c3a70e2b
CY
161422012-02-15 Chong Yidong <cyd@gnu.org>
16143
60236b0d
CY
16144 * minibuffer.el (completion-at-point-functions): Doc fix.
16145
c3a70e2b
CY
16146 * custom.el (defcustom): Doc fix; note use of defvar.
16147
9f26dc24
GM
161482012-02-15 Glenn Morris <rgm@gnu.org>
16149
16150 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16151 Doc fixes.
16152
6546b134
GM
161532012-02-14 Glenn Morris <rgm@gnu.org>
16154
16155 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16156
d29b2b4c
LI
161572012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16158
16159 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16160 way the ports list is computed.
835bdcba
LI
16161 (smtpmail-query-smtp-server): Prompt the user for a port number if
16162 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 16163
08dcdbc9
TZ
161642012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16165
16166 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16167
2605051a
GM
161682012-02-13 Glenn Morris <rgm@gnu.org>
16169
16170 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16171
7ee99f32
TZ
161722012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16173
16174 * net/gnutls.el (gnutls-trustfiles): New variable.
16175 (gnutls-negotiate): Use it.
16176
5f0af64f
LI
161772012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16178
16179 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16180 does its stuff if Gnus is running.
16181
c14fcc95
AM
161822012-02-13 Alan Mackenzie <acm@muc.de>
16183
16184 Fix a loop in c-set-fl-decl-start.
16185
7a71b18d 16186 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
16187 c-backward-syntactic-ws actually moves backwards.
16188
142b4d90
LL
161892012-02-13 Leo Liu <sdl.web@gmail.com>
16190
16191 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16192 beginning so that all \C-o chars are removed.
16193
fa9958a6
TZ
161942012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16195
dc9924b8 16196 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 16197
0bc5886a
AM
161982012-02-12 Alan Mackenzie <acm@muc.de>
16199
16200 Fix infinite loop with long macros.
4d6769e1 16201 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 16202
d4bd55e7
CY
162032012-02-12 Chong Yidong <cyd@gnu.org>
16204
16205 * window.el (display-buffer): Doc fix (Bug#10785).
16206
66f3fe22
GM
162072012-02-12 Glenn Morris <rgm@gnu.org>
16208
bd7da63e
GM
16209 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16210 (x-disown-selection-internal, x-get-selection-internal):
16211 Sync docs with the xselect.c versions.
16212
66f3fe22
GM
16213 * allout-widgets.el: Add missing license notice.
16214
3e0d2fa7
GM
162152012-02-11 Glenn Morris <rgm@gnu.org>
16216
cfecdf09
GM
16217 * select.el (x-get-selection-internal, x-own-selection-internal)
16218 (x-disown-selection-internal):
16219 * x-dnd.el (x-get-selection-internal): Update declarations.
16220
6d216d7f
GM
16221 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16222
2bed3f04
GM
16223 * window.el (window-sides-slots):
16224 * tool-bar.el (tool-bar-position):
16225 * term/xterm.el (xterm-extra-capabilities):
16226 * ses.el (ses-self-reference-early-detection):
16227 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16228 (verilog-auto-wire-type)
16229 (verilog-auto-delete-trailing-whitespace)
16230 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16231 (verilog-auto-tieoff-declaration):
16232 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16233 (sql-oracle-statement-starters, sql-oracle-scan-on):
16234 * progmodes/prolog.el (prolog-align-comments-flag)
16235 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16236 (prolog-left-indent-regexp, prolog-paren-indent-p)
16237 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16238 (prolog-types, prolog-mode-specificators)
16239 (prolog-determinism-specificators, prolog-directives)
16240 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16241 (prolog-electric-dot-flag)
16242 (prolog-electric-dot-full-predicate-template)
16243 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16244 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16245 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16246 (prolog-program-switches, prolog-prompt-regexp)
16247 (prolog-debug-on-string, prolog-debug-off-string)
16248 (prolog-trace-on-string, prolog-trace-off-string)
16249 (prolog-zip-on-string, prolog-zip-off-string)
16250 (prolog-use-standard-consult-compile-method-flag)
16251 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16252 (prolog-imenu-max-lines, prolog-info-predicate-index)
16253 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16254 (prolog-char-quote-workaround):
16255 * progmodes/cc-vars.el (c-defun-tactic):
16256 * net/tramp.el (tramp-encoding-command-interactive)
16257 (tramp-local-end-of-line):
16258 * net/soap-client.el (soap-client):
16259 * net/netrc.el (netrc-file):
16260 * net/gnutls.el (gnutls):
16261 * minibuffer.el (completion-category-overrides)
16262 (completion-cycle-threshold)
16263 (completion-pcm-complete-word-inserts-delimiters):
16264 * man.el (Man-name-local-regexp):
16265 * mail/feedmail.el (feedmail-display-full-frame):
16266 * international/characters.el (glyphless-char-display-control):
16267 * eshell/em-ls.el (eshell-ls-date-format):
16268 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16269 (lisp-lambda-list-keyword-parameter-indentation)
16270 (lisp-lambda-list-keyword-parameter-alignment):
16271 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16272 * dired-x.el (dired-omit-verbose):
16273 * cus-theme.el (custom-theme-allow-multiple-selections):
16274 * calc/calc.el (calc-highlight-selections-with-faces)
16275 (calc-lu-field-reference, calc-lu-power-reference)
16276 (calc-note-threshold):
16277 * battery.el (battery-mode-line-limit):
16278 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16279 (archive-7z-update):
16280 * allout.el (allout-prefixed-keybindings)
16281 (allout-unprefixed-keybindings)
16282 (allout-inhibit-auto-fill-on-headline)
16283 (allout-flattened-numbering-abbreviation):
16284 * allout-widgets.el (allout-widgets-auto-activation)
16285 (allout-widgets-icons-dark-subdir)
16286 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16287 (allout-widgets-theme-dark-background)
16288 (allout-widgets-theme-light-background)
16289 (allout-widgets-item-image-properties-emacs)
16290 (allout-widgets-item-image-properties-xemacs)
16291 (allout-widgets-run-unit-tests-on-load)
16292 (allout-widgets-time-decoration-activity)
16293 (allout-widgets-hook-error-post-time)
16294 (allout-widgets-track-decoration):
16295 Add missing :version tags to new defcustoms and defgroups.
16296
5fec1b8e
GM
16297 * progmodes/sql.el (sql-ansi-statement-starters)
16298 (sql-oracle-statement-starters): Add custom type.
16299
3e0d2fa7
GM
16300 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16301 (prolog-system-version): Give it a type.
16302
90b671e2
EZ
163032012-02-11 Eli Zaretskii <eliz@gnu.org>
16304
16305 * term/pc-win.el (x-select-text, x-selection-owner-p)
16306 (x-own-selection-internal, x-disown-selection-internal)
16307 (x-get-selection-internal): Sync doc strings and argument lists
16308 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16309
5eac0c02
LL
163102012-02-11 Leo Liu <sdl.web@gmail.com>
16311
16312 * progmodes/python.el (python-end-of-statement): Fix infinite
16313 loop. (Bug#10788)
16314
f82cb659
GM
163152012-02-10 Glenn Morris <rgm@gnu.org>
16316
16317 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16318 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16319
cc26d239
LI
163202012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16321
16322 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16323 about SMTP before checking the From header.
16324
91027d08 16325 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
16326 into own function for reuse by emacsbug.el.
16327
1be3ca5a
LL
163282012-02-10 Leo Liu <sdl.web@gmail.com>
16329
16330 * subr.el (condition-case-unless-debug): Rename from
16331 condition-case-no-debug. All callers changed.
16332 (with-demoted-errors): Fix caller.
16333
16334 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16335 * nxml/rng-valid.el (rng-do-some-validation):
16336 * emacs-lisp/package.el (package-refresh-contents)
16337 (package-menu-execute):
16338 * desktop.el (desktop-create-buffer):
91027d08 16339 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 16340
b011fbfe
GM
163412012-02-10 Glenn Morris <rgm@gnu.org>
16342
b2096d72
GM
16343 * textmodes/bibtex.el:
16344 Add missing :version tags for new/changed defcustoms.
16345
b011fbfe
GM
16346 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16347
4c7e65bf
LI
163482012-02-09 Lars Ingebrigtsen <larsi@rusty>
16349
16350 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16351 (smtpmail-via-smtp): Use it, or fall back on the From address.
16352 (smtpmail-send-it): Ditto.
16353
f3934f6f
SM
163542012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16355
16356 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16357 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16358 (byte-compile-tmp-var): New const.
16359 (byte-compile-defvar): Use it to minimize .elc size.
16360 Just use `defvar' rather than simulate it (bug#10761).
16361
a075a2c5
GM
163622012-02-09 Glenn Morris <rgm@gnu.org>
16363
cf3aa21b
GM
16364 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16365
354998cd
GM
16366 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16367 Add :version tags.
16368
dc9924b8
SM
16369 * progmodes/compile.el (compilation-error-screen-columns)
16370 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 16371
dab3703d
GM
16372 * vc/log-view.el (log-view-toggle-entry-display):
16373 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16374
3f88cd72
GM
16375 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16376 (report-emacs-bug-can-use-xdg-email):
16377 (report-emacs-bug-insert-to-mailer): Doc fixes.
16378 (report-emacs-bug): Message fix.
16379
d95b247d
GM
16380 * net/browse-url.el (browse-url-can-use-xdg-open)
16381 (browse-url-xdg-open): Doc fixes.
16382
a075a2c5
GM
16383 * electric.el (electric-indent-mode, electric-pair-mode)
16384 (electric-layout-rules, electric-layout-mode): Doc fixes.
16385 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16386
ffb6157e
MR
163872012-02-08 Martin Rudalics <rudalics@gmx.at>
16388
16389 * server.el (server-unselect-display): Don't inadvertently kill
16390 the current buffer. (Bug#10729)
16391
e1ac4066
GM
163922012-02-08 Glenn Morris <rgm@gnu.org>
16393
34e8a2da
GM
16394 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16395 (sql-list-table): Doc fixes.
16396
b4ac6e8c
GM
16397 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16398 Comment out (does nothing).
16399
e1ac4066
GM
16400 * completion.el (dynamic-completion-mode):
16401 * dirtrack.el (dirtrack-debug-mode):
16402 * electric.el (electric-layout-mode):
16403 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16404 * face-remap.el (text-scale-mode, buffer-face-mode):
16405 * iimage.el (iimage-mode):
16406 * image-mode.el (image-transform-mode):
16407 * minibuffer.el (completion-in-region-mode):
16408 * scroll-lock.el (scroll-lock-mode):
16409 * simple.el (next-error-follow-minor-mode):
16410 * tar-mode.el (tar-subfile-mode):
16411 * tooltip.el (tooltip-mode):
16412 * vcursor.el (vcursor-use-vcursor-map):
16413 * wid-browse.el (widget-minor-mode):
16414 * emulation/tpu-edt.el (tpu-edt-mode):
16415 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16416 * international/iso-ascii.el (iso-ascii-mode):
16417 * language/thai-util.el (thai-word-mode):
16418 * mail/supercite.el (sc-minor-mode):
16419 * net/goto-addr.el (goto-address-mode):
16420 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16421 * progmodes/cwarn.el (cwarn-mode):
16422 * progmodes/flymake.el (flymake-mode):
16423 * progmodes/glasses.el (glasses-mode):
16424 * progmodes/hideshow.el (hs-minor-mode):
16425 * progmodes/pascal.el (pascal-outline-mode):
16426 * textmodes/enriched.el (enriched-mode):
16427 * vc/smerge-mode.el (smerge-mode):
16428 Doc fixes (minor mode argument).
16429
5e0d957f
EZ
164302012-02-07 Eli Zaretskii <eliz@gnu.org>
16431
16432 * ls-lisp.el (ls-lisp-sanitize): New function.
16433 (ls-lisp-insert-directory): Use it to fix or remove any elements
16434 in file-alist with missing attributes. (Bug#4673)
16435
98d7371e
AM
164362012-02-07 Alan Mackenzie <acm@muc.de>
16437
16438 Fix spurious recognition of c-in-knr-argdecl.
16439
16440 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16441 putative K&R region.
16442
667ced3a
AM
164432012-02-07 Alan Mackenzie <acm@muc.de>
16444
eb864a71
LM
16445 * progmodes/cc-engine.el (c-forward-objc-directive):
16446 Prevent looping in "#pragma mark @implementation".
667ced3a 16447
5b77774d
MA
164482012-02-07 Michael Albinus <michael.albinus@gmx.de>
16449
16450 * notifications.el (notifications-on-closed-signal): Make `reason'
16451 optional. (Bug#10744)
16452
af008560
GM
164532012-02-07 Glenn Morris <rgm@gnu.org>
16454
60d47423
GM
16455 * emacs-lisp/easy-mmode.el (define-minor-mode):
16456 Doc fixes for the macro and the mode it defines.
16457
dd605cc4
GM
16458 * image.el (imagemagick-types-inhibit): Doc fix.
16459
af008560
GM
16460 * cus-start.el (imagemagick-render-type): Add it.
16461
5cc59a37
LI
164622012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16463
4d6769e1
JB
16464 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16465 Set the default at load time, too, so that `font-lock-fontify-buffer'
16466 can be called without setting up the entire mode first. This fixes
16467 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 16468
9a6dd747
CY
164692012-02-06 Chong Yidong <cyd@gnu.org>
16470
2d16b285
CY
16471 * simple.el (list-processes--refresh): Delete exited processes
16472 (Bug#8094).
16473
171e9b6e
CY
16474 * comint.el (comint-next-prompt): next-single-char-property-change
16475 and prev-single-char-property-change never return nil (Bug#8657).
16476
9a6dd747
CY
16477 * custom.el (defcustom): Doc fix (Bug#9711).
16478
aa4589a7
CY
164792012-02-05 Chong Yidong <cyd@gnu.org>
16480
5c2a252f
CY
16481 * cus-edit.el (custom-variable-reset-backup): Quote the value
16482 before storing it in the customized-value property (Bug#6712).
4aab9006 16483 (custom-display): Add a customization type tag.
983b9602 16484 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 16485
aa4589a7
CY
16486 * wid-edit.el (widget-field-value-get): New optional arg to
16487 suppress trailing whitespace truncation.
16488 (character): Use it (Bug#2689).
16489
1ff980ae
AS
164902012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16491
16492 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16493 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16494
03988c98
CY
164952012-02-05 Chong Yidong <cyd@gnu.org>
16496
eeb6cc88
CY
16497 * cus-edit.el (custom-variable-value-create): For mismatched
16498 types, show the current value (Bug#7600).
16499
03988c98
CY
16500 * custom.el (defcustom): Doc fix.
16501
f8cdeef0
GM
165022012-02-05 Glenn Morris <rgm@gnu.org>
16503
16504 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16505
0696d255
JB
165062012-02-05 Juanma Barranquero <lekktu@gmail.com>
16507
16508 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16509 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16510 (pp-last-sexp): Use `looking-at-p'.
16511
34c99998
GM
165122012-02-04 Glenn Morris <rgm@gnu.org>
16513
8f05da42
GM
16514 * files.el (revert-buffer):
16515 Doc fix (mention revert-buffer-in-progress-p).
16516
f160676e
GM
16517 * emacs-lisp/ert-x.el (ert-simulate-command):
16518 Check deferred-action-list (which is obsolete) is bound.
16519
c7291ad9
GM
16520 * subr.el (with-wrapper-hook): Doc fixes.
16521
34c99998
GM
16522 * simple.el (filter-buffer-substring-functions)
16523 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16524
6283a7d3
LL
165252012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16526
16527 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16528 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16529
e96e3013
LL
165302012-02-04 Leo Liu <sdl.web@gmail.com>
16531
16532 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16533
8ded50f2
GM
165342012-02-04 Glenn Morris <rgm@gnu.org>
16535
82ff1d13
GM
16536 * image.el (image-extension-data): Add obsolete alias.
16537
987a0a16
GM
16538 * isearch.el (isearch-update): Doc fix.
16539
ea32ef46
GM
16540 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16541
8ded50f2
GM
16542 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16543
eea14f31
GM
165442012-02-03 Glenn Morris <rgm@gnu.org>
16545
16546 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16547 (image-animate-timeout): Doc fix.
16548
16549 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16550
12f381b7
GM
165512012-02-02 Glenn Morris <rgm@gnu.org>
16552
953cebf5
GM
16553 * server.el (server-auth-dir): Doc fix.
16554 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16555
12f381b7
GM
16556 * subr.el (run-mode-hooks): Doc fix.
16557
953a8c3b
JL
165582012-02-02 Juri Linkov <juri@jurta.org>
16559
16560 * image-mode.el (image-toggle-display-image): Remove tautological
16561 `major-mode' from the `derived-mode-p' test.
16562
c5d3843c
KH
165632012-02-02 Kenichi Handa <handa@m17n.org>
16564
9f6e692e 16565 * composite.el (compose-region): Cancel previous change.
c5d3843c 16566
159462d4 165672012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
16568
16569 * composite.el (compose-region, compose-string): Signal error for
16570 a null string component (Bug#6988).
16571
9f562668
CY
165722012-02-01 Chong Yidong <cyd@gnu.org>
16573
e2cef717
CY
16574 * view.el (view-buffer-other-window, view-buffer-other-frame):
16575 Handle special modes like view-buffer (Bug#10650).
16576 (view-buffer): Simplify.
16577
9f562668
CY
16578 * frame.el (set-frame-font): Tweak meaning of third argument.
16579
9f6e692e
JB
16580 * dynamic-setting.el (font-setting-change-default-font):
16581 Use set-frame-font (Bug#9982).
9f562668 16582
781acb9f
GM
165832012-02-01 Glenn Morris <rgm@gnu.org>
16584
6035be52
GM
16585 * progmodes/compile.el (compilation-internal-error-properties):
16586 Respect compilation-first-column in the "*compilation*" buffer.
16587
781acb9f
GM
16588 * emacs-lisp/easy-mmode.el (define-minor-mode):
16589 Relax :variable's test for a named function.
16590
abbceb00
AM
165912012-01-31 Alan Mackenzie <acm@muc.de>
16592
16593 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16594 off by one error.
16595
fce3fdeb
CY
165962012-01-31 Chong Yidong <cyd@gnu.org>
16597
16598 * frame.el (set-frame-font): New arg ALL-FRAMES.
16599
16600 * menu-bar.el (menu-set-font): Use set-frame-font.
16601
16602 * faces.el (face-spec-reset-face): Don't apply unspecified
16603 attribute values to the default face.
16604
47893581
JB
166052012-01-31 Juanma Barranquero <lekktu@gmail.com>
16606
16607 * progmodes/cwarn.el (cwarn): Remove dead link.
16608 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16609 Remove * from defcustom docstrings.
16610 (turn-on-cwarn-mode): Make obsolete.
16611 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16612 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16613
e58e988a
GM
166142012-01-31 Glenn Morris <rgm@gnu.org>
16615
60dc2671 16616 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 16617 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 16618 Allow named functions to be used as the cdr of :variable.
e58e988a 16619
7a3f511d
GM
166202012-01-30 Glenn Morris <rgm@gnu.org>
16621
16622 * emacs-lisp/authors.el (authors-fixed-entries):
16623 Remove reference to deleted file rnewspost.el.
16624
cb882333
JB
166252012-01-29 Juanma Barranquero <lekktu@gmail.com>
16626
16627 * window.el (window-with-parameter): Remove unused variable `windows'.
16628 (window--side-check): Remove unused variable `code'.
16629 (window--resize-siblings): Remove unused variable `first'.
16630 (adjust-window-trailing-edge): Remove unused variable `failed'.
16631 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16632 Use `let', not `let*'.
16633 (balance-windows-2): Remove unused variable `found'.
16634 (window--state-put-2): Remove unused variable `splits'.
16635 (window-state-put): Remove unused variable `selected'.
16636 (same-window-p): Use `string-match-p'.
16637 (display-buffer-assq-regexp): Remove unused variable `value'.
16638 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16639 Mark argument ALIST as ignored.
16640 (pop-to-buffer): Remove unused variable `old-window'.
16641
907201af
EZ
166422012-01-29 Eli Zaretskii <eliz@gnu.org>
16643
16644 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16645 and .lzma compressed files.
16646
ea162670
CY
166472012-01-29 Chong Yidong <cyd@gnu.org>
16648
5b95ee8a
CY
16649 * frame.el (window-system-default-frame-alist): Doc fix.
16650
ea162670
CY
16651 * dynamic-setting.el (font-setting-change-default-font): Don't
16652 change the default face if SET-FONT argument is non-nil (Bug#9982).
16653
6fccd6e8 166542012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
16655
16656 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16657
0f29fa41 166582012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
16659
16660 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16661 breakpoints in files outside current directory (Bug#6098).
16662
db174434
CY
166632012-01-29 Chong Yidong <cyd@gnu.org>
16664
6b25e4e2
SE
16665 * progmodes/python.el: Require ansi-color at top-level.
16666
6df6ae42
JB
16667 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16668 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
16669 (lisp-mode-abbrev-table): Add doc.
16670 (lisp-mode-variables): Don't set local-abbrev-table.
16671 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16672
e70ee681
RW
166732012-01-28 Roland Winkler <winkler@gnu.org>
16674
16675 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16676
ace88aa2
RW
166772012-01-28 Roland Winkler <winkler@gnu.org>
16678
16679 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16680 (bibtex-set-dialect): Use it. Either set global values of
16681 dialect-dependent variables or bind these variables buffer-locally
16682 (Bug#10254).
16683 (bibtex-mode): Call bibtex-set-dialect via
16684 hack-local-variables-hook.
eb864a71
LM
16685 (bibtex-dialect): Update docstring.
16686 Add safe-local-variable predicate.
ace88aa2
RW
16687 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16688 bibtex-set-dialect.
16689 (bibtex-mode-map): Define menu for each dialect.
16690 (bibtex-entry): Fix docstring.
16691
93376c5b
CY
166922012-01-28 Chong Yidong <cyd@gnu.org>
16693
16694 * eshell/esh-arg.el (eshell-quote-argument): New function.
16695
16696 * eshell/esh-ext.el (eshell-invoke-batch-file):
16697 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16698 first arg to eshell-parse-command (Bug#10523).
16699
4372494f
DA
167002012-01-28 Drew Adams <drew.adams@oracle.com>
16701
16702 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16703 `default-directory' is non-nil.
16704
4d4ec1f8
EZ
167052012-01-28 Eli Zaretskii <eliz@gnu.org>
16706
16707 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16708 line that displays system-configuration-options. (Bug#9924)
16709
7c188927
DA
167102012-01-28 Drew Adams <drew.adams@oracle.com>
16711
16712 * descr-text.el (describe-char): Show information about POS, in
16713 addition to information about the character at POS. Improve and
16714 update the doc string. Change "code point" to "code point in
16715 charset", to avoid confusion with the character's Unicode code
16716 point shown above that. (Bug#10129)
16717
e0da685a
EZ
167182012-01-28 Eli Zaretskii <eliz@gnu.org>
16719
16720 * descr-text.el (describe-char): Show the raw character, not only
16721 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16722 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16723 for the reasons.
16724
70550acf
PH
167252012-01-28 Phil Hagelberg <phil@hagelb.org>
16726
eb864a71
LM
16727 * emacs-lisp/package.el (package-install):
16728 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 16729
0ce8e868
CY
167302012-01-28 Chong Yidong <cyd@gnu.org>
16731
cb882333
JB
16732 * emacs-lisp/package.el (package-maybe-load-descriptor):
16733 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
16734 (package-maybe-load-descriptor): Use it.
16735 (package-download-transaction): Fully load required packages
16736 inside the loop, so that `require' calls work (Bug#10593).
16737 (package-install): No need to call package-initialize now.
16738
2e7f3bea
CY
167392012-01-28 Chong Yidong <cyd@gnu.org>
16740
6e9bad14
CY
16741 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16742
f823b8ca
CY
16743 * tooltip.el (tooltip-mode): Doc fix.
16744 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16745
2680c309
CY
16746 * frame.el (set-cursor-color): Doc fix (Bug#352).
16747
d7a9e63b
CY
16748 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16749 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16750
2e7f3bea
CY
16751 * cus-edit.el (custom-buffer-create-internal): Fix search button
16752 action (Bug#10542).
2ae01800 16753 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 16754
fc4f7a23
EW
167552012-01-27 Eduard Wiebe <usenet@pusto.de>
16756
16757 * dired.el (dired-mark-files-regexp):
16758 Include any subdirectory components. (Bug#10445)
16759
7dd37071
ML
167602012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16761
16762 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16763 Handle [host]:port syntax. (Bug#10533)
16764
a268160b
AH
167652012-01-27 Alex Harsanyi <harsanyi@mac.com>
16766
16767 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16768
e43273ef
GM
167692012-01-26 Glenn Morris <rgm@gnu.org>
16770
16771 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16772 * term.el (term-raw-escape-map): Use Control-X-prefix.
16773 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16774
1edf595d
MR
167752012-01-25 Martin Rudalics <rudalics@gmx.at>
16776
16777 * window.el (window-state-get, window--state-get-1): Don't deal
16778 with fixed-sizeness of windows. Simplify code.
16779
fa8eafef
JC
167802012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16781
6df6ae42
JB
16782 * window.el (window--state-get-1, window--state-put-2):
16783 Don't save and restore the mark.
fa8eafef 16784
0b21c100
CY
167852012-01-25 Chong Yidong <cyd@gnu.org>
16786
16787 * custom.el (custom-variable-p): Doc fix.
16788
5ae1a6c8
GM
167892012-01-25 Glenn Morris <rgm@gnu.org>
16790
40047858
GM
16791 * dired.el (dired-goto-file): Handle some of the more common
16792 characters that `ls -b' escapes. (Bug#10596)
16793
5ddce96c
GM
16794 * progmodes/compile.el (compilation-next-error-function):
16795 Respect compilation-first-column in the "*compilation*" buffer.
16796 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16797
5ae1a6c8
GM
16798 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16799
b559f1a9
GM
168002012-01-24 Glenn Morris <rgm@gnu.org>
16801
16802 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16803
6725d21a
JD
168042012-01-24 Julien Danjou <julien@danjou.info>
16805
16806 * color.el (color-rgb-to-hsl): Fix value computing.
16807 (color-hue-to-rgb): New function.
16808 (color-hsl-to-rgb): New function.
16809 (color-clamp, color-saturate-hsl, color-saturate-name)
16810 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16811 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16812
70df4bbe
GM
168132012-01-24 Glenn Morris <rgm@gnu.org>
16814
16815 * vc/vc-rcs.el (vc-rcs-create-tag):
16816 * vc/vc-sccs.el (vc-sccs-create-tag):
16817 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16818
802a2ae2
ML
168192012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16820
16821 * eshell/esh-util.el (eshell-read-hosts-file):
16822 Skip comment lines. (Bug#10549)
16823
d7128bb1
ML
16824 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16825
d1a5c3b4
JB
168262012-01-23 Juanma Barranquero <lekktu@gmail.com>
16827
2724d9c7
JB
16828 * subr.el (display-delayed-warnings): Doc fix.
16829 (collapse-delayed-warnings): New function to collapse identical
16830 adjacent warnings.
16831 (delayed-warnings-hook): Add it.
d1a5c3b4 16832
a5509865
MA
168332012-01-22 Michael Albinus <michael.albinus@gmx.de>
16834
16835 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16836
a5509865
MA
16837 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16838 (tramp-default-user-alist): Don't add "pscp".
16839 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16840 property "login-as", if set. (Bug#10530)
16841
cc6d5805
MA
168422012-01-21 Michael Albinus <michael.albinus@gmx.de>
16843
16844 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16845 "plink1" and "psftp". (Bug#10530)
16846
168472012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
16848
16849 * international/mule-cmds.el (prefer-coding-system): Show a
16850 warning message if the default value of file-name-coding-system
16851 was not changed.
16852
f0960428
JC
168532012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16854
cb882333
JB
16855 * windmove.el (windmove-reference-loc):
16856 Fix windmove-reference-loc miscalculation.
f0960428 16857
dd6f2a63
JB
168582012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16859
16860 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16861 default unit.
16862
7b447e9b
GM
168632012-01-21 Glenn Morris <rgm@gnu.org>
16864
117a9ea1
GM
16865 * international/mule.el (auto-coding-alist): Add .tbz.
16866
7b447e9b
GM
16867 * files.el (local-enable-local-variables): Doc fix.
16868 (inhibit-local-variables-regexps): Rename from
16869 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16870 Doc fix. Add some extensions from auto-coding-alist.
16871 (inhibit-local-variables-suffixes):
16872 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16873 (inhibit-local-variables-p):
16874 New function, extracted from set-auto-mode-1.
16875 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16876 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16877 (hack-local-variables): Doc fix. Make the mode-only case
16878 respect enable-local-variables and friends.
16879 Respect inhibit-local-variables-regexps for file-locals, but
16880 not for directory-locals.
16881 (set-visited-file-name):
16882 Take account of inhibit-local-variables-regexps.
16883 Whether it applies may change as the file name is changed.
16884 * jka-cmpr-hook.el (jka-compr-install):
16885 * jka-compr.el (jka-compr-uninstall):
16886 Update for inhibit-first-line-modes-suffixes name change.
16887
dd6e3cdd
MR
168882012-01-20 Martin Rudalics <rudalics@gmx.at>
16889
16890 * help-macro.el (make-help-screen): Temporarily restore original
16891 binding for minor-mode-map-alist (Bug#10454).
16892
0d0deb38
JD
168932012-01-19 Julien Danjou <julien@danjou.info>
16894
16895 * color.el (color-name-to-rgb): Use the white color to find the max
16896 color component value and return correctly computed values.
16897 (color-name-to-rgb): Add missing float conversion for max value.
16898
34a02f46
MR
168992012-01-19 Martin Rudalics <rudalics@gmx.at>
16900
16901 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
16902 special state value for window-persistent-parameters.
16903 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
16904 (window--state-put-2): Reset all window parameters to nil before
16905 assigning values of persistent parameters.
16906
606c44c4
AM
169072012-01-18 Alan Mackenzie <acm@muc.de>
16908
16909 Eliminate sluggishness and hangs in fontification of "semicolon
16910 deserts".
16911
cb882333
JB
16912 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16913 Change value 10000 -> 3000.
606c44c4
AM
16914 (c-state-safe-place): Reformulate so it doesn't stack up an
16915 infinite number of wrong entries in c-state-nonlit-pos-cache.
16916 (c-determine-limit-get-base, c-determine-limit): New functions to
16917 determine backward search limits disregarding literals.
16918 (c-find-decl-spots): Amend commenting.
16919 (c-cheap-inside-bracelist-p): New function which detects "={".
16920
16921 * progmodes/cc-fonts.el
16922 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16923 backward search.
16924 (c-font-lock-declarations): Fix an occurrence of point being
16925 undefined. Check additionally for point being in a bracelist or
16926 near a macro invocation without a semicolon so as to avoid a
16927 fruitless time consuming search for a declarator. Give a more
16928 precise search limit for declarators using the new
16929 c-determine-limit.
16930
f3860cea
GM
169312012-01-18 Glenn Morris <rgm@gnu.org>
16932
16933 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16934 (set-auto-mode): Doc fixes.
16935
1db03b16
GM
169362012-01-17 Glenn Morris <rgm@gnu.org>
16937
0e6038be
GM
16938 * isearch.el (search-nonincremental-instead): Fix doc typo.
16939
1db03b16
GM
16940 * dired.el (dired-insert-directory): Handle newlines in directory name.
16941 (dired-build-subdir-alist): Unescape newlines in directory name.
16942
4cb0aa75
MA
169432012-01-17 Michael Albinus <michael.albinus@gmx.de>
16944
16945 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16946 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16947 (tramp-action-terminal): Use it. (Bug#10530)
16948
1d00653d
SM
169492012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16950
16951 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16952
6a6ee00d
MR
169532012-01-16 Martin Rudalics <rudalics@gmx.at>
16954
16955 * window.el (window-state-ignored-parameters): Remove variable.
16956 (window--state-get-1): Rename argument MARKERS to IGNORE.
16957 Handle persistent window parameters. Make copy of clone-of
16958 parameter only if requested. (Bug#10348)
16959 (window--state-put-2): Install a window parameter only if it has
16960 a non-nil value or an existing parameter shall be overwritten.
16961
97912def
MA
169622012-01-15 Michael Albinus <michael.albinus@gmx.de>
16963
16964 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16965
688070a5
EZ
169662012-01-14 Eli Zaretskii <eliz@gnu.org>
16967
16968 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16969 don't pass the (nil) value of `upnode' to string-match.
16970
301afadc
CY
169712012-01-14 Chong Yidong <cyd@gnu.org>
16972
16973 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 16974 Fix values recognized by the cursorBlink resource.
301afadc 16975
9e5788aa
PE
169762012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16977
16978 * epg.el (epg--make-temp-file): Avoid permission race condition
16979 when running on old Emacs versions (bug#10403).
16980
3cdb7f5a
GM
169812012-01-14 Glenn Morris <rgm@gnu.org>
16982
16983 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16984
8c82b1b4
AM
169852012-01-13 Alan Mackenzie <acm@muc.de>
16986
16987 Fix filling for when filladapt mode is enabled.
16988
16989 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16990 c-mask-paragraph, pass in `fill-paragraph' rather than
16991 `fill-region-as-paragraph'. (This is a reversion of a previous
16992 change.)
eb864a71
LM
16993 * progmodes/cc-mode.el (c-basic-common-init):
16994 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 16995
e517eda4
GM
169962012-01-13 Glenn Morris <rgm@gnu.org>
16997
1498536e
GM
16998 * dired.el (dired-switches-escape-p): New function.
16999 (dired-insert-directory): Use dired-switches-escape-p.
17000 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17001
e517eda4
GM
17002 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17003
328f984d
GM
170042012-01-12 Glenn Morris <rgm@gnu.org>
17005
17006 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17007 changes in adaptive-fill-regexp. (Bug#10276)
17008
2cc769a8
AM
170092012-01-11 Alan Mackenzie <acm@muc.de>
17010
17011 Fix Emacs bug #10463 - put `widen's around the critical spots.
17012
1d00653d 17013 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
17014 widen around each invocation of c-state-pp-to-literal. Remove an
17015 unused let variable.
17016
e52c37fa
GM
170172012-01-11 Glenn Morris <rgm@gnu.org>
17018
17019 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 17020 Doc fix.
e52c37fa 17021
96f8741e
CY
170222012-01-10 Chong Yidong <cyd@gnu.org>
17023
1d00653d
SM
17024 * net/network-stream.el (network-stream-open-starttls):
17025 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
17026 response to the capability command.
17027
b09a806e
GM
170282012-01-10 Glenn Morris <rgm@gnu.org>
17029
17030 * mail/unrmail.el (unrmail): Tweak previous change.
17031
7655cb66
CY
170322012-01-09 Chong Yidong <cyd@gnu.org>
17033
17034 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17035
9d5a8f0b
AM
170362012-01-08 Alan Mackenzie <acm@muc.de>
17037
677d5c92 17038 Optimize font locking in long enum definitions.
9d5a8f0b
AM
17039
17040 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17041 arm to a cond form to handle enums.
17042 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17043 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17044
9a0115ab 170452012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
17046
17047 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 17048 (Bug#10401)
6bb72cbd 17049
f186bb95
LMI
170502012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17051
29232a68
LMI
17052 * faces.el (set-face-attribute): Clarify the meaning of the nil
17053 frame (bug#10294).
17054
4e5d086d
LMI
17055 * subr.el (with-selected-frame): Mention that the selected frame
17056 is restored (bug#9980).
17057
8e66aebe
LMI
17058 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17059 (bug#9759).
17060
cd394be1 17061 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
17062 (password-read): Don't autoload unused function.
17063
adf4e762
JB
170642012-01-07 Juanma Barranquero <lekktu@gmail.com>
17065
17066 * progmodes/which-func.el (which-func-mode): Turn into a
17067 non-interactive function and mark as obsolete (bug#10428).
17068
89bd9ccd
CY
170692012-01-06 Chong Yidong <cyd@gnu.org>
17070
17071 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17072 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17073 functions, along with 1 and -1.
17074
4afee9d5
EZ
170752012-01-06 Eli Zaretskii <eliz@gnu.org>
17076
17077 * time.el (display-time-load-average)
17078 (display-time-default-load-average): Doc fixes. See the thread
17079 starting at
17080 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17081 for the details.
17082
536aea70
GM
170832012-01-06 Glenn Morris <rgm@gnu.org>
17084
665ae865
GM
17085 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17086 has no messages. (Bug#10377)
17087
c869783d
GM
17088 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17089 than Info-edit. (Bug#10385)
17090
2bb4227e
GM
17091 * time.el (display-time-load-average, display-time-next-load-average):
17092 Doc fixes.
17093
7d5944b9
GM
17094 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17095 local setting of buffer-read-only to the input buffer. (Bug#10419)
17096
536aea70
GM
17097 * calendar/calendar.el (calendar-mode):
17098 Locally set scroll-margin to 0. (Bug#10379)
17099
7dccca16
UM
171002012-01-06 Ulrich Mueller <ulm@gentoo.org>
17101
17102 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17103
afbb7930
GM
171042012-01-05 Glenn Morris <rgm@gnu.org>
17105
17106 * eshell/em-unix.el (diff-no-select): Autoload it.
17107 (eshell/diff): Use diff-no-select. (Bug#10420)
17108
04482335
CY
171092012-01-05 Chong Yidong <cyd@gnu.org>
17110
7baca3bc
CY
17111 * shell.el (shell-dynamic-complete-functions): Revert last change.
17112 (shell-command-completion-function): New function.
17113 (shell-completion-vars): Use it to implement
17114 shell-completion-execonly (Bug#10417).
17115
04482335
CY
17116 * custom.el (enable-theme): Don't set custom-safe-themes.
17117
1d00653d
SM
17118 * cus-theme.el (custom-theme-merge-theme):
17119 Ignore custom-enabled-themes and custom-safe-themes.
04482335 17120
bb5aa5d6
MM
171212012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17122
17123 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17124 first prompt in `sql-interacive-mode'.
17125 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 17126 keywords.
6df6ae42 17127 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
17128 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17129 context of original buffer. Invoke `sql-login-hook'.
17130
a7183d7c
EZ
171312012-01-04 Eli Zaretskii <eliz@gnu.org>
17132
17133 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17134 letters in cite-prefix.
17135
a1eacd1e
LMI
171362012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17137
17138 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17139
787cdb34
CY
171402012-01-03 Chong Yidong <cyd@gnu.org>
17141
1d00653d
SM
17142 * shell.el (shell-dynamic-complete-functions):
17143 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
17144 comint-filename-completion first (Bug#10417).
17145
30710442
RS
171462012-01-02 Richard Stallman <rms@gnu.org>
17147
17148 * battery.el (battery-status-function):
17149 Detect when to use battery-yeeloong-sysfs.
17150 (battery-echo-area-format): Add string for Yeeloong.
17151 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17152 (battery-yeeloong-sysfs): New function.
17153
f75bfc33
CY
171542012-01-02 Chong Yidong <cyd@gnu.org>
17155
17156 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17157 (dirtrack): Merge code for handling relative filenames in prompt
17158 from shell-dir-cookie-watcher.
17159 (dirtrack-debug-message): New arg to avoid excess format calls.
17160
17161 * shell.el (shell-dir-cookie-re): Variable deleted.
17162 (shell-dir-cookie-watcher): Function deleted.
17163 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17164 with dirtrack-mode.
17165
651e947e
EZ
171662012-01-01 Eli Zaretskii <eliz@gnu.org>
17167
1d00653d
SM
17168 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17169 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
17170 libgnutls-26.dll.
17171
94d4c7dc
AS
171722011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17173
17174 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17175
8d43f3cd
EZ
171762011-12-31 Eli Zaretskii <eliz@gnu.org>
17177
17178 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17179 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17180
98c8795a
MA
171812011-12-29 Michael Albinus <michael.albinus@gmx.de>
17182
17183 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17184 also for alternative shells.
17185 (tramp-open-connection-setup-interactive-shell): Check, whether
17186 the shell is a busybox.
17187 (tramp-send-command): Don't suppress multiple prompts for
17188 busyboxes, it hurts.
17189
51281b32
CY
171902011-12-28 Chong Yidong <cyd@gnu.org>
17191
17192 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17193 (gdb-get-source-file): Move mode line update to
17194 gdb-get-source-file (Bug#10087).
17195
2170cb53
CY
171962011-12-25 Chong Yidong <cyd@gnu.org>
17197
17198 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17199 gud-gdb-marker-filter without taking it as an argument.
17200 (gud-gdb-run-command-fetch-lines): Caller changed.
17201 (gud-gdb-completion-function): New variable.
17202 (gud-gdb-completion-at-point): Use it.
17203 (gud-gdb-completions-1): Split from gud-gdb-completions.
17204
17205 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17206 function as separate arguments.
17207 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17208 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17209 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17210 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17211 (gdb-stopped, def-gdb-auto-update-trigger)
17212 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
17213 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17214 Callers changed.
2170cb53
CY
17215 (gud-gdbmi-completions): New function.
17216 (gdb): Use it for generating the completion table.
17217
be8b11bb
AM
172182011-12-24 Alan Mackenzie <acm@muc.de>
17219
17220 Introduce a mechanism to widen the region used in context font
1d00653d 17221 locking. Use this to protect declarations from losing their contexts.
be8b11bb 17222
1d00653d
SM
17223 * progmodes/cc-langs.el (c-before-font-lock-functions):
17224 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 17225 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
17226 functions to be run just before context (etc.) font locking.
17227
17228 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 17229 New, functionality extracted from
be8b11bb 17230 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 17231 (c-in-after-change-fontification): New variable.
be8b11bb
AM
17232 (c-after-change): Set c-in-after-change-fontification.
17233 (c-set-fl-decl-start): Rejig its interface, so it can be called
17234 from both after-change and context fontifying.
b81d40f0
JB
17235 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17236 New functions.
17237 (c-standard-font-lock-fontify-region-function): New variable.
17238 (c-font-lock-fontify-region): New function.
be8b11bb 17239
341cf6ac
JL
172402011-12-24 Juri Linkov <juri@jurta.org>
17241
17242 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17243 (Bug#10348)
17244
bffcee0a
MA
172452011-12-23 Michael Albinus <michael.albinus@gmx.de>
17246
17247 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17248 existence of source file. (Bug#10325)
17249
cb5e207c
AM
172502011-12-23 Alan Mackenzie <acm@muc.de>
17251
17252 Fix unstable fontification inside templates.
17253
b81d40f0
JB
17254 * progmodes/cc-langs.el (c-before-font-lock-functions):
17255 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
17256 additionally has c-set-fl-decl-start. The other languages (apart
17257 from AWK) have that as a single entry.
17258
b81d40f0
JB
17259 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17260 The functionality for "local" declarations has been extracted to
cb5e207c
AM
17261 c-set-fl-decl-start.
17262
b81d40f0
JB
17263 * progmodes/cc-mode.el (c-common-init, c-after-change):
17264 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
17265 (c-set-fl-decl-start): New function, extracted from
17266 c-font-lock-enclosing-decls and enhanced.
17267
60ff536c
JB
172682011-12-23 Juanma Barranquero <lekktu@gmail.com>
17269
17270 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17271
1c4757d6
JL
172722011-12-22 Juri Linkov <juri@jurta.org>
17273
17274 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17275
d031f2c7
CY
172762011-12-22 Chong Yidong <cyd@gnu.org>
17277
17278 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17279
bace743a
DA
172802011-12-21 Drew Adams <drew.adams@oracle.com>
17281
17282 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17283
728a1f2b
JC
172842011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17285
17286 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17287
0d373f73
TZ
172882011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17289
fec0aaa4
TZ
17290 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17291 highlighting and support. Fix up comments for capitalization.
17292 (cfengine-mode-debug): New var.
17293 (cfengine3-mode): Change the modeline indicator to "CFE3".
17294 (cfengine3-font-lock-keywords): Improve defun highlighting.
17295 (cfengine2-actions): Rename from `cfengine-actions'.
17296 (cfengine2-font-lock-keywords): Rename from
17297 `cfengine-font-lock-keywords'.
17298 (cfengine2-imenu-expression): Rename from
17299 `cfengine-imenu-expression'.
17300 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17301 (cfengine2-beginning-of-defun): Rename from
17302 `cfengine-beginning-of-defun'.
17303 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17304 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17305 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17306 modeline indicator to "CFE2".
17307 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17308 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 17309
bc86f573
CY
173102011-12-21 Chong Yidong <cyd@gnu.org>
17311
17312 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17313 filename argument.
17314
d45ba96b
MR
173152011-12-20 Martin Rudalics <rudalics@gmx.at>
17316
17317 * window.el (window-normalize-buffer-to-display): Remove.
17318 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17319
a6198c90
CY
173202011-12-19 Chong Yidong <cyd@gnu.org>
17321
17322 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17323 Don't signal an error in a predicate function; return non-nil.
17324 (vc-dir-mark-file): Move the error here.
17325 (vc-dir-mark-unmark): If acting on the region, keep going if one
17326 of the entries cannot be marked/unmarked.
17327 (vc-dir-mark-all-files): If current entry is a directory, mark
17328 only child files, as documented.
17329
34c5fb55
VB
173302011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17331
17332 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17333 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17334 addition.
17335
c803b2b7
JD
173362011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17337
17338 * term/ns-win.el (ns-get-selection-internal)
17339 (ns-store-selection-internal): Declare.
1154d12e
JB
17340 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17341 Declare as obsolete.
17342 (ns-get-pasteboard, ns-paste-secondary):
17343 Use ns-get-selection-internal.
41e9b956 17344 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 17345 Use ns-store-selection-internal.
c803b2b7 17346
9cff91f8 173472011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
17348
17349 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 17350 (vc-deduce-fileset): Doc fix.
99a289d9 17351
f16c898a
AS
173522011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17353
17354 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17355
763237c4
SS
173562011-12-13 Sam Steingold <sds@gnu.org>
17357
17358 * man.el (Man-getpage-in-background): When running under a
17359 window-system, ignore $MANWIDTH and $COLUMNS.
17360
5fc1c122
KH
173612011-12-15 Kenichi Handa <handa@m17n.org>
17362
17363 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17364 (setup-ethiopic-environment-internal): Comment out key-binding for
17365 ethio-toggle-punctuation.
17366
13d49cbb
AM
173672011-12-13 Alan Mackenzie <acm@muc.de>
17368
898169a2
AM
17369 Add the switch statement to AWK Mode.
17370
7a71b18d 17371 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
17372 "default" to the keywords regexp.
17373
7a71b18d 17374 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 17375 expression as the rest.
1d00653d
SM
17376 (c-nonlabel-token-key): Allow string literals for AWK.
17377 Refactor for the other modes.
898169a2 17378
13d49cbb 17379 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 17380 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
17381 routines. Limit backward searching in c-font-lock-enclosing.decl.
17382
17383 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17384 pp-state and literal type in addition to the limits.
1d00653d 17385 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 17386 (c-state-literal-at): Use the above new defun.
1d00653d
SM
17387 (c-slow-in-literal, c-fast-in-literal): Remove.
17388 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
17389
17390 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17391 being in a literal. Add a limit for backward searching.
17392
17393 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17394 c-slow-in-literal.
17395
15e0efc7
SM
173962011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17397
17398 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17399
454592a6
MR
174002011-12-13 Martin Rudalics <rudalics@gmx.at>
17401
17402 * window.el (delete-other-windows): Use correct frame in call to
17403 window-with-parameter.
17404
87393f26
DP
174052011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17406
17407 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17408 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17409 (makefile-gmake-statements, makefile-makepp-statements):
17410 Use it and add new makepp keywords.
17411 (makefile-makepp-font-lock-keywords): Add new patterns.
17412 (makefile-match-function-end): Match new [...] and [[...]].
17413
11636b22
JB
174142011-12-11 Juanma Barranquero <lekktu@gmail.com>
17415
17416 * ses.el (ses-call-printer-return, ses-cell-property-get)
17417 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17418 (ses-create-cell-variable, ses-reset-header-string)
17419 (ses-cell-set-formula, ses-repair-cell-reference-all)
17420 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17421 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17422 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17423 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17424 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17425 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17426 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17427 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17428 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17429 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17430 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17431 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17432
cf018193
VB
174332011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17434
17435 * ses.el: The overall change is to add cell renaming, that is
17436 setting fancy names for cell symbols other than name matching
17437 "\\`[A-Z]+[0-9]+\\'" regexp .
17438 (ses-create-cell-variable): New defun.
17439 (ses-relocate-formula): Relocate formulas only for cells the
17440 symbols of which are not renamed, i.e. symbols whose names do not
17441 match regexp "\\`[A-Z]+[0-9]+\\'".
17442 (ses-relocate-all): Relocate values only for cells the symbols of
17443 which are not renamed.
17444 (ses-load): Create cells variables as the (ses-cell ...) are read,
17445 in order to check row col consistency with cell symbol name only
17446 for cells that are not renamed.
17447 (ses-replace-name-in-formula): New defun.
17448 (ses-rename-cell): New defun.
17449
ee957461
CY
174502011-12-11 Chong Yidong <cyd@gnu.org>
17451
17452 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17453 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17454
9a9e9ef0
MR
174552011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17456
17457 * window.el (other-window): Fix docstring.
17458
92a8eba5
EZ
174592011-12-10 Eli Zaretskii <eliz@gnu.org>
17460
17461 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
17462 `from' or `to' address before taking its substring.
17463 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
17464 encoded name is chopped in the middle of the encoded string, and
17465 thus displayed encoded.
17466
e152e577
JB
174672011-12-10 Juanma Barranquero <lekktu@gmail.com>
17468
17469 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17470
e5d84bfe
EZ
174712011-12-10 Eli Zaretskii <eliz@gnu.org>
17472
17473 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17474 to use texinfo-update-node and commands that call it if the
17475 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 17476 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
17477 (texinfo-all-menus-update, texinfo-master-menu)
17478 (texinfo-update-node, texinfo-every-node-update)
17479 (texinfo-multiple-files-update): Doc fix. Warn against updating
17480 all the @node lines.
17481 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
17482 argument is numeric. Explain better in the doc string what the
17483 function really does.
17484 (texinfo-insert-master-menu-list): Improve the error message
17485 displayed if there's no menu in the Top node.
17486 (Bug#2975) See also this thread:
e5d84bfe
EZ
17487 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17488
1d84e9bb
MG
174892011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17490
17491 * speedbar.el (speedbar-supported-extension-expressions):
17492 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17493
382c953b
JB
174942011-12-09 Juanma Barranquero <lekktu@gmail.com>
17495
17496 * printing.el (pr-mode-alist):
17497 * simple.el (filter-buffer-substring-functions)
17498 (completion-list-insert-choice-function):
17499 * window.el (window-with-parameter, window-atom-root)
17500 (window-sides-slots, window-size-fixed, window-min-delta)
17501 (window-max-delta, window--resize-mini-window)
17502 (window--resize-child-windows-normal, window-tree)
17503 (delete-other-windows, quit-window, split-window)
17504 (display-buffer-record-window, special-display-buffer-names)
17505 (special-display-regexps, special-display-popup-frame)
17506 (same-window-p, split-window-sensibly)
17507 (display-buffer-overriding-action, display-buffer-alist)
17508 (display-buffer-base-action, display-buffer, switch-to-buffer)
17509 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17510 (fit-window-to-buffer, recenter-positions)
17511 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17512 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17513 and remove unneeded backslashes in docstrings.
17514
39c9faef
SM
175152011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17516
98449af8
SM
17517 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17518
39c9faef
SM
17519 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17520 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17521 end in ".mk".
17522 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17523 when reading the makefile (bug#10116).
17524
86ed9fdc
SM
175252011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17528 (bug#10116).
17529
5580f89d
GM
175302011-12-06 Glenn Morris <rgm@gnu.org>
17531
17532 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17533
28d3917c
CY
175342011-12-06 Chong Yidong <cyd@gnu.org>
17535
17536 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17537
a98edce9
JB
175382011-12-06 Juanma Barranquero <lekktu@gmail.com>
17539
17540 * textmodes/table.el (table-shorten-cell): Fix typo.
17541
e65adfac
CG
175422011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17543
17544 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17545
71cc0b74
EZ
175462011-12-05 Eli Zaretskii <eliz@gnu.org>
17547
17548 * descr-text.el (describe-char): Fix display of strong
17549 right-to-left characters and directional embeddings and overrides.
17550
17551 * simple.el (what-cursor-position): Fix display of codepoints of
17552 strong right-to-left characters.
17553
315bc30d
CY
175542011-12-05 Chong Yidong <cyd@gnu.org>
17555
17556 * faces.el (read-color): Doc fix.
17557
58a70b94
GM
175582011-12-05 Glenn Morris <rgm@gnu.org>
17559
17560 * align.el (align--set-marker): Add doc-string.
17561 Don't try to move something that is not a marker. (Bug#10216)
17562
5158face
GM
175632011-12-04 Glenn Morris <rgm@gnu.org>
17564
17565 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17566 overly zealous deletion of trailing whitespace.
17567
520fca41
JB
175682011-12-04 Juanma Barranquero <lekktu@gmail.com>
17569
17570 * server.el (server-delete-client): On Windows, do not try to delete
17571 the only terminal.
17572 (server-process-filter): On Windows, treat requests for a tty frame as
17573 if they were for a GUI frame if the running server is in GUI mode.
17574
5e605a2e
GM
175752011-12-03 Glenn Morris <rgm@gnu.org>
17576
17577 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17578
5c3fe83f
SM
175792011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17580
6f5e57e7
SM
17581 * electric.el: Streamline electric-indent's hook.
17582 (electric-indent-chars): Revert to simple list.
17583 (electric-indent-functions): New var.
17584 (electric-indent-post-self-insert-function): Use it.
17585
5c3fe83f
SM
17586 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17587 there's no inferior buffer (bug#10196).
17588 (prolog-consult-compile): Don't use toggle-read-only.
17589
6bdac736
MA
175902011-12-02 Michael Albinus <michael.albinus@gmx.de>
17591
17592 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17593 interrupt. (Bug#10187)
17594
6131ba7f
SM
175952011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17596
99c79fee
SM
17597 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17598 (bug#9160).
17599
6131ba7f
SM
17600 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17601 (bug#10191).
17602
cb0a02ea
JL
176032011-12-02 Juri Linkov <juri@jurta.org>
17604
17605 * info.el (Info-search): Display "end of manual" when Isearch
17606 reaches the end of single-file Info manual. (Bug#9918)
17607
66e0570c
EZ
176082011-12-02 Eli Zaretskii <eliz@gnu.org>
17609
17610 * isearch.el (isearch-message-prefix): Run the input method part
17611 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17612
02b16839
JL
176132011-12-02 Juri Linkov <juri@jurta.org>
17614
17615 * isearch.el (isearch-occur): Use `word-search-regexp' for
17616 `isearch-word'.
17617 (isearch-search-and-update): Add condition for `isearch-word' and
17618 call `word-search-regexp'. (Bug#10145)
17619
0b950688
GM
176202011-12-01 Glenn Morris <rgm@gnu.org>
17621
17622 * eshell/em-hist.el (eshell-hist-initialize):
17623 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 17624 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 17625
9505c3c7
SM
176262011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17629
1bbe96b2 176302011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 17631
a1beca85
SM
17632 * progmodes/verilog-mode.el (verilog-pretty-expr):
17633 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
17634 verilog, such as += *= and the like.
17635 (verilog-assignment-operator-re): Regular expression to find the
17636 assigment operator in a verilog assignment.
17637 (verilog-assignment-operation-re): Regular expression to find an
17638 assignment statement for pretty-expr.
17639 (verilog-in-attribute-p): Query returns true if point is in an
17640 attribute context; used to skip these for expression line up from
17641 pretty-expr.
17642 (verilog-in-parameter-p): Query returns true if point is in an
17643 parameter definition context; used to skip these for expression
17644 line up from pretty-expr.
17645 (verilog-in-parenthesis-p): Query returns true if point is in a
17646 parenthetical expression, specifically ( ) but not [ ] or { };
17647 used by pretty-expr.
17648 (verilog-just-one-space): If there is no space, don't add one.
17649 (verilog-get-lineup-indent-2): Specifically skip just attribute
17650 contexts for expression lineup, rather than skipping all
17651 parenthetical expressions.
17652 (verilog-calculate-indent): Fix comment, and fix indent.
17653 (verilog-do-indent): Indent declarations in lists (suggested by
17654 Joachim Lechner).
17655 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17656 skeleton items.
17657 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17658 by Alain Mellan).
17659
1bbe96b2 176602011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
17661
17662 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17663 parameters with embedded comments. Reported by Ray Stevens.
17664 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17665 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17666 Reported by Tim Holt.
17667 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17668 instantiated by upper module causing wrong expansion until AUTOed a
17669 second time. Reported by K C Buckenmaier.
17670 (verilog-diff-auto): Fix showing .* as a difference when
17671 `verilog-auto-star-save' off. Reported by Dan Dever.
17672 (verilog-auto-reset, verilog-read-always-signals)
17673 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17674 temporary signals in reset list if
17675 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
17676 style to each signal's assignment type, bug381.
17677 Reported by Thomas Esposito.
6288f0ca
WS
17678 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17679 (verilog-uvm-statement-re): Support UVM indentation and
17680 highlighting, with old OVM keywords only.
a1beca85 17681 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
17682 Support AUTOTIEOFF creating non-wire data types.
17683 Suggested by Jonathan Greenlaw.
6288f0ca
WS
17684 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17685 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17686 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
17687 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17688 Fix mismatching parenthesis inside commented out code when deleting
382c953b 17689 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
17690 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17691 non-numeric vector width. Reported by Alex Reed.
17692 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 17693 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
17694 (verilog-auto-delete-trailing-whitespace):
17695 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
17696 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17697 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17698 Fix verilog-scan-cache corruption when running user AUTO expansion
17699 hooks that call indentation routines.
17700 (verilog-simplify-range-expression): Fix typo ignoring lower case
17701 identifiers.
17702 (verilog-delete-auto): Fix delete-autos to also remove user created
17703 automatics, as long as they start with AUTO.
17704 (verilog-batch-diff-auto, verilog-diff-auto)
17705 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17706 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17707 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17708 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
17709 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17710 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
17711 is disabled and its cache will get corrupt, causing AUTOS not to
17712 expand. Instead use only -quick functions.
17713 (verilog-scan-region): Fix scanning over escaped quotes.
17714 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17715 (verilog-re-search-backward-quick)
17716 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17717 related functions now ignore strings, to fix misparsing of strings
17718 with magic comments embedded in them.
a1beca85
SM
17719 (verilog-read-auto-template):
17720 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17721 Reported by Brad Dobbie.
17722 (verilog-read-auto-template):
17723 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 17724 Reported by Brad Dobbie.
6288f0ca
WS
17725 (verilog-auto-inst, verilog-auto-inst-param)
17726 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17727 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17728 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
17729 debugging templates without merge conflicts, bug357.
17730 Reported by Brad Dobbie.
17731 (verilog-read-auto-template):
17732 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
17733 Reported by Brad Dobbie.
17734 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17735 abbrevs so user won't be asked to save.
17736 (verilog-read-auto-lisp-present): Fix to start at beginning of
17737 buffer in case called outside of verilog-auto.
17738 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17739 to "X-2". Reported by Matthew Myers.
17740 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17741 all inputs from module templates. Reported by Leith Johnson.
17742 (verilog-module-inside-filename-p): Fix locating programs as with
17743 modules.
17744 (verilog-auto-inst-port): Fix vl-width expressions when using
17745 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17746 (verilog-decls-get-regs, verilog-decls-get-signals,
17747 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17748 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17749 verilog-read-decls): Combine reg and wire structures into one var
17750 structure to represent SystemVerilog concepts.
17751 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17752 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
17753 (verilog-auto-wire-type, verilog-insert-definition):
17754 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
17755 SystemVerilog "logic" keyword instead of "wire"/"reg".
17756 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17757 to declares outputs that also have assignments (presumably in an
a1beca85
SM
17758 ifdef or generate if so there's not a driver conflict).
17759 Reported by Matthew Myers.
17760 (verilog-auto-declare-nettype, verilog-insert-definition):
17761 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
17762 `default_nettype none. Reported by Julian Gorfajn.
17763 (verilog-read-always-signals-recurse, verilog-read-decls)
17764 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17765 malformed end statement, bug325. Reported by Joshua Wise and
17766 Andrew Drake.
17767 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17768 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
17769 when expanding .* in interfaces, bug320.
17770 Reported by Pierre-David Pfister.
6288f0ca 17771 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
17772 name and open parenthesis, bug317.
17773 Reported by Pierre-David Pfister.
6288f0ca
WS
17774 (verilog-simplify-range-expression): Fix simplification of
17775 multiplications inside AUTOWIRE connections, bug303.
17776 (verilog-auto-inst-port): Support parameter expansion in
17777 multidimensional arrays.
17778 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17779 after "assert property". Reported by Julian Gorfajn.
17780 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17781 with multiplication, bug303.
17782 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17783 Reported by Jan Frode Lonnum.
17784
1bbe96b2
GM
177852011-11-30 Juanma Barranquero <lekktu@gmail.com>
17786
17787 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17788 (hfy-shell-file-name, hfy-shell):
17789 * international/fontset.el (x-decompose-font-name): Fix typos.
17790
177912011-11-29 Ken Brown <kbrown@cornell.edu>
17792
17793 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17794 (gdb-version): Remove defvar.
17795 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17796 (gdb-gud-context-command, gdb-non-stop-handler)
17797 (gdb-current-context-command, gdb-stopped): Use it.
17798 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
17799 (gdb-non-stop-handler): Don't enable pretty-printing here.
17800 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
17801 non-stop mode. Use the following.
17802 (gdb-check-target-async): New defun.
17803 (gud-watch, gdb-stopped): Fix whitespace.
17804 (gdb-get-source-file): Don't try to display the source file if
17805 `gdb-main-file' is nil.
17806
178072011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 * align.el: Try to generate fewer markers (bug#10047).
17810 (align--set-marker): New macro.
17811 (align-region): Use it.
17812
c935221f
SM
178132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17814
17815 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17816
e70b5064
CY
178172011-11-29 Chong Yidong <cyd@gnu.org>
17818
17819 * indent.el (indent-for-tab-command, indent-according-to-mode):
17820 Doc fix.
17821 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17822
f3af92b7
MA
178232011-11-29 Michael Albinus <michael.albinus@gmx.de>
17824
17825 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17826 aware of remote file names. (Bug#10124)
17827
ed472be9
CY
178282011-11-29 Chong Yidong <cyd@gnu.org>
17829
17830 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17831
24510c22
SM
178322011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17833
17834 * files.el (find-file): Don't use force-same-window (bug#10144).
17835 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17836 use pop-to-buffer if the selected window can't be used.
17837 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17838
c60c3703
EZ
178392011-11-28 Eli Zaretskii <eliz@gnu.org>
17840
17841 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17842 special-mode-map.
17843
e95def75
CY
178442011-11-28 Chong Yidong <cyd@gnu.org>
17845
17846 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17847
c3f1c606
NR
178482011-11-27 Nick Roberts <nickrob@snap.net.nz>
17849
17850 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17851 gdb-get-source-file-list on gdb-create-source-file-list.
17852
00db469c
EZ
178532011-11-26 Eli Zaretskii <eliz@gnu.org>
17854
17855 * whitespace.el (whitespace-newline): Use a different foreground
17856 color for 16-color light-background displays.
17857
4ad3bc2a
CY
178582011-11-24 Chong Yidong <cyd@gnu.org>
17859
17860 * window.el (display-buffer--special-action): Doc fix.
17861
e9fce1ac
JB
178622011-11-25 Juanma Barranquero <lekktu@gmail.com>
17863
17864 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17865 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17866 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17867 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17868 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17869 (avl-tree-stack-first):
17870 * emacs-lisp/cconv.el (cconv--analyse-use):
17871 * net/gnutls.el (gnutls-negotiate): Fix typos.
17872
cb825e5d
GM
178732011-11-24 Glenn Morris <rgm@gnu.org>
17874
3adbe224
GM
17875 * lpr.el (lpr-windows-system, lpr-lp-system):
17876 * mail/binhex.el (binhex-begin-line):
17877 * progmodes/grep.el (grep-history, grep-find-history):
17878 * textmodes/flyspell.el:
17879 * vc/pcvs-defs.el (cvs-global-menu):
17880 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17881 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17882 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17883
321decc8
GM
17884 * net/tls.el: Fix case of "GnuTLS".
17885
420b63ad
GM
17886 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17887
cb825e5d
GM
17888 * version.el (emacs-build-system): Give it a doc-string.
17889
a0649f08
JL
178902011-11-24 Juri Linkov <juri@jurta.org>
17891
17892 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17893
c0bc0fd4
GM
178942011-11-24 Glenn Morris <rgm@gnu.org>
17895
17896 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17897 if called on a non-mime message just toggle the headers. (Bug#8006)
17898
20db1522
JB
178992011-11-24 Juanma Barranquero <lekktu@gmail.com>
17900
17901 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17902 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17903 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17904 (allout-rebullet-heading, allout-open-sibtopic)
17905 (allout-toggle-current-subtree-encryption)
17906 (allout-toggle-subtree-encryption, allout-encrypt-string)
17907 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17908 (allout-distinctive-bullets-string, allout-auto-activation):
17909 * window.el (window-normalize-buffer-to-display):
17910 * progmodes/verilog-mode.el (verilog-batch-indent):
17911 * textmodes/bibtex.el (bibtex-field-braces-opt)
17912 (bibtex-field-strings-opt):
17913 * vc/cvs-status.el (cvs-tree-merge):
17914 Fix typos.
17915
7262a87c
MA
179162011-11-23 Michael Albinus <michael.albinus@gmx.de>
17917
17918 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17919 `non-essential' to t, in order to avoid remote connections.
17920
283430a1
EZ
179212011-11-23 Eli Zaretskii <eliz@gnu.org>
17922
a1beca85
SM
17923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17924 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
17925 case-insensitively.
17926
d2992a38
ML
179272011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17928
17929 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17930
50419064
GM
179312011-11-23 Glenn Morris <rgm@gnu.org>
17932
da94eca1
GM
17933 * paths.el (rmail-file-name): Reformat the doc-string so that it
17934 is picked up.
17935
9aac4de2
GM
17936 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17937 (rmail-auto-file): Ignore case in the "special" field names,
17938 as mail-fetch-field does for all others.
17939
8038d2d2
GM
17940 * mail/rmail.el (rmail-forward):
17941 * mail/rmailkwd.el (rmail-set-label):
17942 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17943 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17944
f3fe222a
GM
17945 * mail/rmail.el (rmail-current-message): Doc fix.
17946
50419064
GM
17947 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17948
28109f49
SM
179492011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17950
17951 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17952
394c65f1
GM
179532011-11-22 Glenn Morris <rgm@gnu.org>
17954
17955 * mail/rmailmm.el (test-rmail-mime-handler)
17956 (test-rmail-mime-bulk-handler)
17957 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17958
f2a0aa3a
JL
179592011-11-21 Juri Linkov <juri@jurta.org>
17960
1154d12e
JB
17961 * calc/calc.el (calc-read-key-sequence):
17962 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 17963
9c34a344
LMI
179642011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17965
17966 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17967 Tell the caller that the next line needs recomputation, even
17968 though it doesn't start a sexp (bug#10094).
17969
f04a3be9
SM
179702011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17971
17972 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17973
7978747f
SM
179742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17975
f04a3be9
SM
17976 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17977 Use force-same-window.
7978747f 17978
fe7a3057
JB
179792011-11-20 Juanma Barranquero <lekktu@gmail.com>
17980
17981 * descr-text.el (describe-char-unicode-data):
17982 * json.el (json-string-escape):
17983 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17984 (Footnote-unicode, Footnote-style-p):
17985 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17986
24901d61
CY
179872011-11-20 Chong Yidong <cyd@gnu.org>
17988
17989 * window.el (replace-buffer-in-windows): Restore interactive spec.
17990
bac7ff22
SM
179912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17992
24f3d7b9
SM
17993 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17994
bac7ff22
SM
17995 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17996 (byte-compile-global-not-obsolete-vars): New var.
17997 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17998 Use it.
17999 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18000
cd1181db
JB
180012011-11-20 Juanma Barranquero <lekktu@gmail.com>
18002
18003 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18004 * progmodes/pascal.el (electric-pascal-equal):
18005 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18006 * xml.el (xml-substitute-special): Fix typos.
18007
7fb18e9e
GM
180082011-11-20 Glenn Morris <rgm@gnu.org>
18009
18010 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18011 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18012 Doc fixes.
18013 (rmail-decode-mime-charset): Mark as obsolete.
18014
18015 * mail/rmailsum.el (rmail-message-regexp-p-1):
18016 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18017 Before using mime functions, check they are set. (Bug#10077)
18018
d5a6b3ba
JL
180192011-11-19 Juri Linkov <juri@jurta.org>
18020
18021 * info.el (Info-finder-find-node): Use `package--builtins' instead
18022 of `package-alist'. Use node names formed by the pattern "Keyword "
18023 and the keyword name.
18024
e981b61f
AS
180252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18026
1d00653d 18027 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 18028
3ffbc301
JL
180292011-11-19 Juri Linkov <juri@jurta.org>
18030
18031 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18032 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18033 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18034 `old-history', `old-history-forward'. Add let-binding
18035 `window-selected'. Remove calls to `kill-buffer',
18036 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18037 before calling `Info-find-node', so `Info-find-node-2' will reread
18038 the Info file. Restore window positions only when `window-selected'
18039 is non-nil.
18040
30c62133
JL
180412011-11-19 Juri Linkov <juri@jurta.org>
18042
18043 * isearch.el (isearch-lazy-highlight-new-loop):
18044 Remove condition `(not isearch-error)'. (Bug#9918)
18045
18046 * misearch.el (multi-isearch-search-fun): Add condition
18047 `(not bound)' to ignore lazy-highlighting search.
18048 Add the search-failed message "end of multi" when the end of
18049 multi-sequence is reached. Uncapitalize the search-failed
18050 message "Repeat for next buffer".
18051
18052 * info.el (Info-search): Add the search-failed message
18053 "end of the manual" when the end of the manual is reached
18054 in Isearch mode.
18055
645ca9cf
JL
180562011-11-19 Juri Linkov <juri@jurta.org>
18057
18058 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18059 Use non-destructive `remove' instead of `delete' because
18060 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18061 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18062
df754f66
JL
180632011-11-19 Juri Linkov <juri@jurta.org>
18064
18065 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18066 to nil instead of binding `search-ring' and `regexp-search-ring'.
18067 (Bug#9185)
18068
0e23d96a
EZ
180692011-11-19 Eli Zaretskii <eliz@gnu.org>
18070
18071 * simple.el (line-move): Force movement by logical lines for any
18072 hscrolled window, not only when auto-hscroll-mode is on.
18073 (line-move-visual): Update doc string to that effect. (Bug#10076)
18074
8a6ccb66
AS
180752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18076
18077 * language/european.el (macintosh): Define as alias for mac-roman.
18078
49ae5b39
EZ
180792011-11-19 Eli Zaretskii <eliz@gnu.org>
18080
18081 * mail/rmailmm.el (rmail-mime-display-header)
18082 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18083 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18084 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18085 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18086 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18087 of a raw aref.
18088 (rmail-mime-entity-segment): To get past the tagline, move forward
18089 2 more lines, to account for the 2 empty lines that precede and
18090 follow the line with the buttons.
18091 (rmail-mime-update-tagline): Move one more line, to get past the
18092 empty line that follows the buttons in the tagline. (Bug#9520)
18093
c56cad4a
MR
180942011-11-19 Martin Rudalics <rudalics@gmx.at>
18095
18096 * window.el (window-max-delta-1, window-min-delta-1)
18097 (window-min-size-1, window-state-get-1, window-state-put-1)
18098 (window-state-put-2): Use "window--" prefix.
18099
cbe71af3
SM
181002011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18101
2ad52c60
SM
18102 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18103 (smie-warning-count): New var.
18104 (smie-set-prec2tab): Use it.
18105 (smie-bnf->prec2): Improve warnings. Add docstring.
18106 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18107 (smie-bnf--set-class): New function.
18108 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18109 corner case.
18110
6944dbc1
SM
18111 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18112 (compilation-error-properties, compilation-move-to-column):
18113 Handle compilation-first-column while in the target buffer.
18114
c400c4d7
SM
18115 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18116 Don't hardcode point-min==1.
18117
6dbe3e96
SM
18118 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18119 (eshell-rewrite-for-command): Remove workaround.
18120 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18121 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18122 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18123
cbe71af3
SM
18124 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18125
a8e1496d
GM
181262011-11-17 Glenn Morris <rgm@gnu.org>
18127
18128 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18129 Ignore buffer-local generated-autoload-file if it is the same
18130 as the global value. (Bug#10049)
18131
df85d315
JB
181322011-11-17 Juanma Barranquero <lekktu@gmail.com>
18133
18134 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18135 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18136 (reftex-toc-previous-heading, reftex-toc-max-level)
18137 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18138 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18139 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18140 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18141 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18142 (reftex-toc-rename-label, reftex-toc-visit-location)
18143 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18144 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18145 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18146 leaving "*toc*" only for references to the buffer.
18147
a0c2d0ae
MR
181482011-11-17 Martin Rudalics <rudalics@gmx.at>
18149
18150 * window.el (window-resize, delete-window, split-window):
18151 Replace window-splits by window-combination-resize.
1d00653d 18152 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 18153
35c0bac8
GM
181542011-11-17 Glenn Morris <rgm@gnu.org>
18155
18156 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18157 Make bash entry derive from sh entry, not shell entry.
18158
d0c8fc8a
MA
181592011-11-16 Michael Albinus <michael.albinus@gmx.de>
18160
7262a87c
MA
18161 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18162 local file name.
18163
7877f373
JB
181642011-11-16 Juanma Barranquero <lekktu@gmail.com>
18165
18166 * menu-bar.el (menu-bar-file-menu):
18167 * printing.el (pr-ps-utility):
18168 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18169 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18170 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18171 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18172 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18173 (icalendar--convert-cyclic-to-ical)
18174 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18175 (icalendar--convert-ical-to-diary)
18176 (icalendar--convert-recurring-to-diary)
18177 (icalendar--convert-non-recurring-all-day-to-diary)
18178 (icalendar-import-format-sample):
18179 * progmodes/idlw-shell.el (idlwave-shell-mode):
18180 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18181 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18182 (vhdl-ps-print-init): Fix typos.
18183
10649b82
KM
181842011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18185
9d0cfcd6
GM
18186 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18187 FSF and collapse date sequence, obscure author/maintainer email address
18188 better, remove extra version line, track relocation of author's webpage.
10649b82 18189
9d0cfcd6
GM
18190 * progmodes/python.el (python-pdbtrack-input-prompt)
18191 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18192 regular python pdb prompts. Adjustments shamelessly taken exactly as
18193 suggested in EmacsWiki page (tiny change):
18194 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 18195
58179cce
JB
181962011-11-16 Juanma Barranquero <lekktu@gmail.com>
18197
18198 * expand.el (expand-pos, expand-index, expand-point):
18199 Remove redundant info from docstring.
18200 (expand-add-abbrevs): Doc fix.
18201 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18202 (expand-sample-perl-mode-expand-list): Fix typos.
18203
18204 * net/dbus.el (dbus-event-member-name):
18205 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18206 * term/pc-win.el (msdos-create-frame-with-faces):
18207 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18208
b6f67890
MR
182092011-11-16 Martin Rudalics <rudalics@gmx.at>
18210
18211 * window.el (split-window, window-state-get-1)
18212 (window-state-put-1, window-state-put-2): Rename occurrences of
18213 window-nest to window-combination-limit.
1d00653d 18214 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 18215
ce7ddba0
CY
182162011-11-16 Chong Yidong <cyd@gnu.org>
18217
18218 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18219 regexp (Bug#10033).
18220
3ae704f4
SM
182212011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18224 `completing-read' will remove *Completions* and will preserve
18225 current-buffer for us.
18226 (tmm-add-prompt): Users of *Completions* will always (re)set its
18227 major mode.
18228 (tmm-old-comp-map): Remove.
18229
6ad1cdde
GM
182302011-11-16 Glenn Morris <rgm@gnu.org>
18231
18232 * mail/rmailedit.el: Require rmailmm when compiling.
18233 (rmail-old-mime-state): New declaration.
18234 (rmail-edit-current-message): If editing a mime message,
18235 edit the "raw" message from the mbox buffer.
18236 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18237
d20faa20
GM
182382011-11-15 Glenn Morris <rgm@gnu.org>
18239
18240 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18241 which wasn't being used. Add optional arg to force given state.
18242 (rmail-mime): Add optional arg to force given state.
18243
c7015153
JB
182442011-11-15 Juanma Barranquero <lekktu@gmail.com>
18245
18246 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18247 * frame.el (display-mm-dimensions-alist):
18248 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18249 (outline-move-subtree-down):
18250 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18251 (newsticker--treeview-do-get-node):
18252 * net/quickurl.el (quickurl-list-buffer-name):
18253 * progmodes/dcl-mode.el (dcl-mode):
18254 * progmodes/gdb-mi.el (gdb-mapcar*):
18255 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18256
45261b50
GM
182572011-11-15 Glenn Morris <rgm@gnu.org>
18258
18259 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18260 in a boolean sense, so just make it a boolean, and fix the doc.
18261 (rmail-show-mime-function, rmail-mime-feature)
18262 (rmail-require-mime-maybe): Doc fixes.
18263 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18264
18265 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18266
0d26e0b6
JB
182672011-11-15 Juanma Barranquero <lekktu@gmail.com>
18268
18269 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18270 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18271 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18272 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18273
447f30f6
GM
182742011-11-15 Glenn Morris <rgm@gnu.org>
18275
672b871d
GM
18276 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18277 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18278 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18279 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18280 (rmail-mime, rmail-show-mime): Doc fixes.
18281
f6aa5bb1
GM
18282 * term/ns-win.el (mode-line-frame-identification):
18283 Leave it alone. (Bug#10051)
18284
947cd66b
GM
18285 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18286
447f30f6
GM
18287 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18288 Handle empty buffers. (Bug#9978)
18289
0b381c7e
JB
182902011-11-14 Juanma Barranquero <lekktu@gmail.com>
18291
18292 * international/mule.el (define-charset):
18293 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18294 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18295 * progmodes/verilog-mode.el (verilog-backward-token):
18296 * textmodes/ispell.el (lookup-words):
18297 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18298
71e027ac
GM
182992011-11-14 Glenn Morris <rgm@gnu.org>
18300
56632ce4
GM
18301 * progmodes/executable.el
18302 (executable-make-buffer-file-executable-if-script-p):
18303 Handle file-modes returning nil.
18304
40500957
GM
18305 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18306 message - not necessary, and causes problems. (Bug#9831)
18307
071c2340
GM
18308 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18309
d3cfca60
GM
18310 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18311
71e027ac
GM
18312 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18313 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18314 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18315
89d61221
MR
183162011-11-12 Martin Rudalics <rudalics@gmx.at>
18317
18318 * window.el (window-resize, delete-window): Use window-splits
18319 variable instead of function.
18320 (window-state-get-1, window-state-put-2, window-state-put):
18321 Don't deal with windows' splits status.
18322
98282f6f
GM
183232011-11-12 Glenn Morris <rgm@gnu.org>
18324
18325 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18326 (apropos-documentation): Doc fixes.
18327
40a8bdf6
JB
183282011-11-11 Juanma Barranquero <lekktu@gmail.com>
18329
18330 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18331 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18332
65bd19ff
SM
183332011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18334
18335 * electric.el (electric-indent-post-self-insert-function): Make it
18336 possible for a char to only indent in some circumstances.
18337 (electric-indent-mode): Simplify.
18338
54f9154c
MR
183392011-11-11 Martin Rudalics <rudalics@gmx.at>
18340
18341 * window.el (windows-with-parameter): Remove unused function.
18342 (windows-at-side): Rename to window-at-side-list.
18343 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
18344 (window-side-check, window-size-ignore, window-size-fixed-1)
18345 (window-in-direction-2): Prefix with "window--".
18346 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 18347
68cbc58b
GM
183482011-11-11 Glenn Morris <rgm@gnu.org>
18349
18350 * subr.el (eval-after-load): If FILE is already loaded,
18351 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18352
b2621720
GM
183532011-11-10 Glenn Morris <rgm@gnu.org>
18354
9a4de110
GM
18355 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18356 Call svn via vc-svn-command rather than vc-do-command.
18357 (vc-svn-command): Add --non-interactive. (Bug#9993)
18358 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18359
b2621720
GM
18360 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18361 Add toggle-read-only. (Bug#7292)
18362 * files.el (toggle-read-only): Mention that it should only
18363 be used interactively. (Bug#10006)
18364
1dce7193
SM
183652011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18366
d9ac1a1e
SM
18367 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18368 Adjust regexp for OCaml warnings.
18369
0c325082
SM
18370 * electric.el (electric-pair-post-self-insert-function): Let user
18371 turn it off buffer-locally (bug#9932).
18372
90132c14
SM
18373 * progmodes/python.el (python-beginning-of-statement):
18374 Rewrite (bug#2703).
18375
1dce7193
SM
18376 * progmodes/compile.el: Better handle TABs (bug#9749).
18377 (compilation-internal-error-properties)
18378 (compilation-next-error-function): Obey the target buffer's
18379 compilation-error-screen-columns.
18380
c4e7c63a
JB
183812011-11-09 Juanma Barranquero <lekktu@gmail.com>
18382
18383 * progmodes/meta-mode.el: Remove obsolete comments.
18384 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18385 Fix typos in docstrings.
18386
2cffd681
MR
183872011-11-09 Martin Rudalics <rudalics@gmx.at>
18388
18389 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 18390 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
18391 (window--resizable): New function. Make all callers of
18392 window-resizable call window--resizable instead.
18393 (window-resizable): Rewrite in terms of window--resizable.
18394
0edcba87
GM
183952011-11-08 Glenn Morris <rgm@gnu.org>
18396
18397 * progmodes/delphi.el (delphi-mode-syntax-table):
18398 Let define-derived-mode define a proper syntax table. (Bug#9994)
18399
4b0d61e3
SM
184002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18401
18402 * window.el: Stay away from defsubst.
18403 (window-list-no-nils): Remove.
18404 (window-state-get-1, window-state-get): Use backquote instead.
18405
cd394be1 184062011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 18407
4b0d61e3 18408 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 18409 Fix incorrect use of default argument in `completing-read'.
18410
e1c2c6f2
MR
184112011-11-08 Martin Rudalics <rudalics@gmx.at>
18412
18413 * window.el (display-buffer-function, special-display-function):
18414 Mention display-buffer-record-window but do not mention
18415 help-setup parameter in doc-strings.
b3f4a882 18416 (window-min-delta): Fix doc-string typo.
e1c2c6f2 18417
105216ed
CY
184182011-11-08 Chong Yidong <cyd@gnu.org>
18419
18420 * window.el (window-total-height, window-total-width): Doc fix.
18421 (window-body-size): Move from C.
18422 (window-body-height, window-body-width): Move to C.
18423
0a9f9ab5
SM
184242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18425
18426 * window.el: Make special-display like display-buffer-alist (bug#9532).
18427 (display-buffer--special-action): New function, morphed
18428 from display-buffer--special.
18429 (display-buffer): Use it to handle special-display-buffers at higher
18430 priority (just after display-buffer-alist).
18431 (display-buffer-fallback-action, display-buffer--other-frame-action)
18432 (pop-to-buffer-same-window): Remove display-buffer--special.
18433
a769dd15
GM
184342011-11-07 Glenn Morris <rgm@gnu.org>
18435
18436 * calendar/cal-menu.el (cal-menu-set-date-title):
18437 Do nothing if not in a calendar. (Bug#9976)
18438
05a61ee3
SM
184392011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * files.el (find-file): Always use selected-window.
18442
be7f5545
MR
184432011-11-07 Martin Rudalics <rudalics@gmx.at>
18444
18445 * window.el (window-combinations): Make WINDOW argument
18446 mandatory. Rewrite doc-string.
18447 (walk-window-subtree, window-atom-check, window-min-delta)
18448 (window-max-delta, window--resize-this-window)
18449 (window--resize-root-window-vertically, window-tree)
18450 (balance-windows, window-state-put): Rewrite doc-strings as to
18451 not mention the term "subwindow".
18452 (window--resize-subwindows-skip-p): Rename to
18453 window--resize-child-windows-skip-p.
18454 (window--resize-subwindows-normal): Rename to
18455 window--resize-child-windows-normal.
18456 (window--resize-subwindows): Rename to
18457 window--resize-child-windows.
18458 (window-or-subwindow-p): Rename to window--in-subtree-p.
18459
3c6702ef
ML
184602011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18461
18462 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18463 Ensure that mbox format messages end in two newlines (Bug#9974).
18464
49745b39
CY
184652011-11-06 Chong Yidong <cyd@gnu.org>
18466
18467 * window.el (window-combination-p): Function deleted; its
18468 side-effect is not used in any existing code.
18469 (window-combinations, window-combined-p): Call window-*-child
18470 directly.
18471
24300f5f
CY
184722011-11-05 Chong Yidong <cyd@gnu.org>
18473
18474 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
18475 (window-size-ignore, window-state-get): Callers changed.
18476 (window-normalize-window): Rename from window-normalize-any-window.
18477 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 18478 (window-normalize-live-window): Delete.
447f16b8
CY
18479 (window-combination-p, window-combined-p, window-combinations)
18480 (walk-window-subtree, window-atom-root, window-min-size)
18481 (window-sizable, window-sizable-p, window-size-fixed-p)
18482 (window-min-delta, window-max-delta, window-resizable)
18483 (window-resizable-p, window-full-height-p, window-full-width-p)
18484 (window-current-scroll-bars, window-point-1, set-window-point-1)
18485 (window-at-side-p, window-in-direction, window-resize)
18486 (adjust-window-trailing-edge, maximize-window, minimize-window)
18487 (window-deletable-p, delete-window, delete-other-windows)
18488 (record-window-buffer, unrecord-window-buffer)
18489 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18490 (quit-window, split-window, window-state-put)
18491 (set-window-text-height, fit-window-to-buffer)
18492 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 18493
89bd5ee1
EZ
184942011-11-04 Eli Zaretskii <eliz@gnu.org>
18495
53479029
EZ
18496 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18497 rfc2047-decode-string.
18498 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18499 warnings.
18500
89bd5ee1
EZ
18501 * window.el (window-body-height, window-body-width): Mention in
18502 the doc string that the return values are in frame's canonical
18503 units. (Bug#9949)
18504
bd17fdee
AM
185052011-11-03 Alan Mackenzie <acm@muc.de>
18506
18507 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18508 change in cc-engine.el.
18509
acc825c5
SM
185102011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18513
1885e5b8
MR
185142011-11-02 Martin Rudalics <rudalics@gmx.at>
18515
18516 * window.el (quit-window): Call unrecord-window-buffer after
18517 showing another buffer in the window. (Bug#9937)
acc825c5 18518 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 18519
ebe06da9
JB
185202011-11-02 Juanma Barranquero <lekktu@gmail.com>
18521
18522 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18523 Accept status with more than 9 shelves. (Bug#9935)
18524 Reported by Colin D Bennett <colin@gibibit.com>.
18525
4ee88440
MR
185262011-11-01 Martin Rudalics <rudalics@gmx.at>
18527
18528 * help.el (with-help-window): Don't reference
18529 temp-buffer-show-specifiers in doc-string.
18530
08e1d82c
AS
185312011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18532
18533 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18534 menu-item.
18535
84bd6e9e
VJL
185362011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18537
18538 * whitespace.el: New version 13.2.2.
18539 (whitespace-newline-mode): Disable properly. Reported by Sarah
18540 <EmacsWiki>.
18541
dba0634a
UJ
185422011-10-30 Ulf Jasper <ulf.jasper@web.de>
18543
18544 * net/newst-treeview.el: Remove "Time-stamp".
18545 (newsticker--group-manage-orphan-feeds): Do not call
18546 newsticker--treeview-tree-update.
db22a3c2
JB
18547 (newsticker-treeview-update, newsticker-treeview):
18548 Call newsticker--treeview-tree-update if necessary.
dba0634a 18549
3d8daefe
MR
185502011-10-30 Martin Rudalics <rudalics@gmx.at>
18551
18552 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
18553 (window-iso-combinations): Remove "iso-" infix.
18554 Suggested by Chong Yidong.
3d8daefe
MR
18555 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18556 (window-max-delta-1, window-resize, window--resize-siblings)
18557 (window--resize-this-window, adjust-window-trailing-edge)
18558 (split-window, balance-windows-1)
18559 (shrink-window-if-larger-than-buffer):
18560 * calendar/calendar.el (calendar-generate-window):
db22a3c2 18561 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 18562
1bc4c3ae
SM
185632011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18564
18565 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18566 in place (bug#9907).
18567 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18568 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18569 (eshell-structure-basic-command, eshell-rewrite-while-command)
18570 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18571 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18572 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18573 (eshell-do-pipelines-synchronously, eshell-eval-command):
18574 Use backquotes and prefer setq to set.
18575 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18576 (eshell-macrop): Use functionp.
c1e2f5fa 18577 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 18578
30b65d9c
CY
185792011-10-30 Chong Yidong <cyd@gnu.org>
18580
18581 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18582 instead of set-mark (Bug#9810).
18583
2d197ffb
CY
185842011-10-30 Chong Yidong <cyd@gnu.org>
18585
18586 * window.el (split-window-below, split-window-right): Rename from
18587 split-window-above-each-other and split-window-side-by-side
18588 respectively. All callers changed.
18589 (split-window-sensibly, split-window-sensibly): Use them.
18590 (split-window-keep-point): Doc fix.
18591
18592 * isearch.el: Add isearch-scroll property to split-window-below
18593 and split-window-right.
18594
18595 * follow.el (follow-mode):
18596 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18597 * progmodes/ada-xref.el (ada-gdb-application):
18598 * emulation/vip.el (vip-buffer-in-two-windows):
18599 * image-dired.el (image-dired-dired-with-window-configuration):
18600 * dired-x.el (dired-do-find-marked-files):
18601 * dired.el (dired-pop-to-buffer):
18602 * bs.el (bs--show-with-configuration):
18603 * vc/emerge.el (emerge-setup-windows):
18604 * textmodes/two-column.el (2C-two-columns):
18605 * textmodes/reftex-toc.el (reftex-toc):
18606 * progmodes/gdb-mi.el (gdb-setup-windows):
18607 * progmodes/fortran.el (fortran-window-create):
18608 * net/newst-treeview.el (newsticker--treeview-window-init):
18609 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18610 * emulation/tpu-edt.el (tpu-gold-map):
18611 * emulation/crisp.el (crisp-mode-map):
18612 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18613
38bb2ca8
CY
186142011-10-29 Chong Yidong <cyd@gnu.org>
18615
aa4de341
CY
18616 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18617
e1eb5385
CY
18618 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18619
5d2ece3c
CY
18620 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18621 forged Ispell output (Bug#7904).
18622
38bb2ca8
CY
18623 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18624
d0af9f77
SM
186252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 * doc-view.el: Avoid ugly errors about not finding nil.
18628 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18629 (doc-view-dvipdf-program, doc-view-unoconv-program)
18630 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18631 Avoid nil or absolute file name as default value.
18632 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18633
52bedd34
AM
186342011-10-28 Alan Mackenzie <acm@muc.de>
18635
db22a3c2 18636 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 18637
7e43cfa5
AM
186382011-10-28 Alan Mackenzie <acm@muc.de>
18639
18640 Amend the handling of c-beginning/end-of-defun in nested declaration
18641 scopes.
18642
52bedd34
AM
18643 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18644 cc-langs.el. Change it to a defcustom.
7e43cfa5 18645
52bedd34
AM
18646 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18647 cc-vars.el.
7e43cfa5 18648
d0af9f77
SM
18649 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18650 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 18651
52bedd34 18652 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 18653 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
18654 (c-widen-to-enclosing-decl-scope): New function.
18655 (c-while-widening-to-decl-block): New macro.
18656 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18657 outward for defun boundaries, and correspondingly change symbol
18658 `respect-enclosure' to `go-outward'.
18659 (c-declaration-limits): Change algorithm to report only the "innermost"
18660 defun's boundaries.
18661
1a2ce9ee
DD
186622011-10-28 Deniz Dogan <deniz@dogan.se>
18663
18664 * net/rcirc.el (rcirc-mode): Use hard newlines.
18665
bc97a826
AM
186662011-10-28 Alan Mackenzie <acm@muc.de>
18667
18668 Amend to indent and fontify macros "which include their own semicolon"
18669 correctly, using the "virtual semicolon" mechanism.
18670
52bedd34 18671 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 18672
d0af9f77 18673 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 18674 Recode to scan one line at a time rather than having \n and \r
58179cce 18675 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 18676 (c-forward-label): Amend for virtual semicolons.
58179cce 18677 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 18678
52bedd34
AM
18679 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18680 of the new C macros.
bc97a826 18681
52bedd34 18682 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
18683 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18684 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
18685 (c-opt-cpp-macro-define): Make into a full language variable.
18686 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18687 AWK Mode (including \n, \r) removed, no longer needed.
18688
d0af9f77
SM
18689 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18690 Invoke c-make-macro-with-semi-re.
bc97a826 18691
52bedd34
AM
18692 * progmodes/cc-vars.el (c-macro-with-semi-re):
18693 (c-macro-names-with-semicolon): New variables.
58179cce 18694 (c-make-macro-with-semi-re): New function.
bc97a826 18695
7a6c0941
SM
186962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18697
18698 * vc/log-edit.el: Fill empty field rather than adding new one.
18699 (log-edit-add-field): New function.
18700 (log-edit-insert-changelog): Use it.
18701
b0c4cdcf
ML
187022011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18703
18704 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18705
ee1f1da9
SM
187062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18707
18708 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18709 (gdb--check-interpreter): New function.
18710 (gdb): Use it.
18711
51bc5f8b
GM
187122011-10-27 Glenn Morris <rgm@gnu.org>
18713
416a2c45
GM
18714 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18715 (least-positive-float, least-negative-float)
18716 (least-positive-normalized-float, least-negative-normalized-float)
18717 (float-epsilon, float-negative-epsilon):
18718 Remove unnecessary declarations.
18719
18720 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18721 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18722 (least-positive-float, least-negative-float)
18723 (least-positive-normalized-float, least-negative-normalized-float)
18724 (float-epsilon, float-negative-epsilon): Add doc-strings,
18725 based on those in cl.texi.
18726
51bc5f8b
GM
18727 * files.el (set-visited-file-name): If the major-mode changed,
18728 reload the local variables. (Bug#9796)
18729
15de15c6
CY
187302011-10-27 Chong Yidong <cyd@gnu.org>
18731
18732 * subr.el (change-major-mode-after-body-hook): New hook.
18733 (run-mode-hooks): Run it.
18734
ee1f1da9
SM
18735 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18736 Use change-major-mode-before-body-hook.
15de15c6
CY
18737
18738 * simple.el (fundamental-mode):
18739 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18740 change introducing fundamental-mode-hook.
18741
5430d399
JB
187422011-10-26 Juanma Barranquero <lekktu@gmail.com>
18743
acc825c5 18744 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 18745
ad74a69e
MA
187462011-10-26 Michael Albinus <michael.albinus@gmx.de>
18747
18748 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 18749 tramp.el explicitly. (Bug#7583)
ad74a69e 18750
71d4c2a5
SM
187512011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18752
18753 * progmodes/octave-mod.el:
18754 * progmodes/octave-inf.el: Update maintainer.
18755
b1f6fa26
CY
187562011-10-26 Chong Yidong <cyd@gnu.org>
18757
18758 * subr.el (with-wrapper-hook): Rewrite doc.
18759
3f04efd6
MA
187602011-10-25 Michael Albinus <michael.albinus@gmx.de>
18761
18762 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 18763 filenames "/method:foo:". (Bug#9793)
3f04efd6 18764
410488d3
SM
187652011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18766
18767 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18768 (bug#9865).
18769
c1ebb47e
GM
187702011-10-24 Glenn Morris <rgm@gnu.org>
18771
18772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18773
7f5c46c7
MA
187742011-10-24 Michael Albinus <michael.albinus@gmx.de>
18775
18776 * notifications.el: Add the requirement of a running D-Bus session
18777 bus to the Commentary.
18778
db2440b6
JL
187792011-10-24 Juri Linkov <juri@jurta.org>
18780
18781 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18782 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18783 (Bug#9364)
18784
feecf435
JL
187852011-10-24 Juri Linkov <juri@jurta.org>
18786
18787 * info.el (Info-following-node-name-re): Add newline to the list
18788 of allowed characters for leading space. (Bug#9824)
18789
a3839de2
SM
187902011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18791
acc825c5
SM
18792 * progmodes/octave-inf.el (inferior-octave-mode-map):
18793 Fix C-c C-h binding.
a3839de2
SM
18794 * progmodes/octave-mod.el (octave-help): Remove.
18795
09388e76
MA
187962011-10-23 Michael Albinus <michael.albinus@gmx.de>
18797
18798 Sync with Tramp 2.2.3.
18799
18800 * net/tramp-cache.el (top): Pacify byte-compiler using
18801 `init-file-user' and `site-run-file'.
18802
18803 * net/trampver.el: Update release number.
18804
86c60681
CY
188052011-10-23 Chong Yidong <cyd@gnu.org>
18806
18807 * files.el (toggle-read-only): Remove obsolete comment about
18808 version control.
18809
18810 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18811 for toggle-read-only. Note that this hasn't called vc-next-action
18812 since 2008-05-02, though it wasn't documented at the time.
18813
a3839de2
SM
18814 * vc/ediff-init.el (ediff-toggle-read-only-function):
18815 Use toggle-read-only.
86c60681 18816
cd5495ff
AM
188172011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18818
18819 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18820 of c-parse-state.
18821
00b77525 18822 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 18823 correct faulty logical expression.
cd5495ff
AM
18824 (c-parse-state-state, c-record-parse-state-state):
18825 (c-replay-parse-state-state): New defvar/defuns.
18826 (c-debug-parse-state): Use new functions.
18827
42ee24ed
MR
188282011-10-22 Martin Rudalics <rudalics@gmx.at>
18829
18830 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 18831 last fix. Use window-in-direction correctly.
42ee24ed 18832
a7dee7e7
CY
188332011-10-21 Chong Yidong <cyd@gnu.org>
18834
18835 * progmodes/idlwave.el (idlwave-mode):
18836 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
18837 require-final-newline; that's done in prog-mode.
18838 Suggested by Stefan Monnier.
a7dee7e7 18839
e07b9a6d
MR
188402011-10-21 Martin Rudalics <rudalics@gmx.at>
18841
18842 * mouse.el (mouse-drag-window-above)
18843 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18844 (mouse-drag-mode-line-1, mouse-drag-header-line)
18845 (mouse-drag-vertical-line-rightward-window): Remove.
18846 (mouse-drag-line): New function.
18847 (mouse-drag-mode-line, mouse-drag-header-line)
18848 (mouse-drag-vertical-line): Call mouse-drag-line.
18849 * window.el (window-at-side-p, windows-at-side): New functions.
18850
7e1361d9
UM
188512011-10-21 Ulrich Mueller <ulm@gentoo.org>
18852
18853 * tar-mode.el (tar-grind-file-mode):
18854 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18855
30fcaf3a
CY
188562011-10-21 Chong Yidong <cyd@gnu.org>
18857
18858 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
18859 * progmodes/vera-mode.el (vera-mode):
18860 Use mode-require-final-newline.
30fcaf3a 18861
516eddb0
GM
188622011-10-20 Glenn Morris <rgm@gnu.org>
18863
db22a3c2 18864 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 18865
10d5f513
CS
188662011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18867
18868 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18869
ac6c8639
CY
188702011-10-20 Chong Yidong <cyd@gnu.org>
18871
18872 * emulation/cua-base.el (cua-mode):
18873 * mail/footnote.el (footnote-mode):
18874 * mail/mailabbrev.el (mail-abbrevs-mode):
18875 * net/xesam.el (xesam-minor-mode):
18876 * progmodes/bug-reference.el (bug-reference-mode):
18877 * progmodes/cap-words.el (capitalized-words-mode):
18878 * progmodes/compile.el (compilation-minor-mode)
18879 (compilation-shell-minor-mode):
18880 * progmodes/gud.el (gud-tooltip-mode):
18881 * progmodes/hideif.el (hide-ifdef-mode):
18882 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18883 * progmodes/subword.el (subword-mode):
18884 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18885 * progmodes/which-func.el (which-function-mode):
18886 * term/tvi970.el (tvi970-set-keypad-mode):
18887 * term/vt100.el (vt100-wide-mode):
18888 * textmodes/flyspell.el (flyspell-mode):
18889 * textmodes/ispell.el (ispell-minor-mode):
18890 * textmodes/nroff-mode.el (nroff-electric-mode):
18891 * textmodes/paragraphs.el (use-hard-newlines):
18892 * textmodes/refill.el (refill-mode):
18893 * textmodes/reftex.el (reftex-mode):
18894 * textmodes/rst.el (rst-minor-mode):
18895 * textmodes/sgml-mode.el (html-autoview-mode)
18896 (sgml-electric-tag-pair-mode):
18897 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18898 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18899 * emulation/crisp.el (crisp-mode):
18900 * emacs-lisp/eldoc.el (eldoc-mode):
18901 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18902 minor mode behavior.
18903
aa42ab43
JL
189042011-10-19 Juri Linkov <juri@jurta.org>
18905
18906 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18907 the list of hard-coded chars with escape-glyph face.
18908
89400f1d
SM
189092011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18912
305c07f6
MA
189132011-10-19 Michael Albinus <michael.albinus@gmx.de>
18914
18915 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18916 running process.
18917
13754b54
GM
189182011-10-19 Glenn Morris <rgm@gnu.org>
18919
18920 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18921 Ignore ignored files. (Bug#9726)
18922
06e21633
CY
189232011-10-19 Chong Yidong <cyd@gnu.org>
18924
18925 Doc fix for minor modes, stating that an omitted argument enables
18926 the mode unconditionally when called from Lisp.
18927
18928 * abbrev.el (abbrev-mode):
18929 * allout.el (allout-mode):
18930 * autoinsert.el (auto-insert-mode):
18931 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18932 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18933 (global-auto-revert-mode):
18934 * battery.el (display-battery-mode):
18935 * composite.el (global-auto-composition-mode)
18936 (auto-composition-mode):
18937 * delsel.el (delete-selection-mode):
18938 * desktop.el (desktop-save-mode):
18939 * dired-x.el (dired-omit-mode):
18940 * dirtrack.el (dirtrack-mode):
18941 * doc-view.el (doc-view-minor-mode):
18942 * double.el (double-mode):
18943 * electric.el (electric-indent-mode, electric-pair-mode):
18944 * emacs-lock.el (emacs-lock-mode):
18945 * epa-hook.el (auto-encryption-mode):
18946 * follow.el (follow-mode):
18947 * font-core.el (font-lock-mode):
18948 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18949 * help.el (temp-buffer-resize-mode):
18950 * hilit-chg.el (highlight-changes-mode)
18951 (highlight-changes-visible-mode):
18952 * hi-lock.el (hi-lock-mode):
18953 * hl-line.el (hl-line-mode, global-hl-line-mode):
18954 * icomplete.el (icomplete-mode):
18955 * ido.el (ido-everywhere):
18956 * image-file.el (auto-image-file-mode):
18957 * image-mode.el (image-minor-mode):
18958 * iswitchb.el (iswitchb-mode):
18959 * jka-cmpr-hook.el (auto-compression-mode):
18960 * linum.el (linum-mode):
18961 * longlines.el (longlines-mode):
18962 * master.el (master-mode):
18963 * mb-depth.el (minibuffer-depth-indicate-mode):
18964 * menu-bar.el (menu-bar-mode):
18965 * minibuf-eldef.el (minibuffer-electric-default-mode):
18966 * mouse-sel.el (mouse-sel-mode):
18967 * msb.el (msb-mode):
18968 * mwheel.el (mouse-wheel-mode):
18969 * outline.el (outline-minor-mode):
18970 * paren.el (show-paren-mode):
18971 * recentf.el (recentf-mode):
18972 * reveal.el (reveal-mode, global-reveal-mode):
18973 * rfn-eshadow.el (file-name-shadow-mode):
18974 * ruler-mode.el (ruler-mode):
18975 * savehist.el (savehist-mode):
18976 * scroll-all.el (scroll-all-mode):
18977 * scroll-bar.el (scroll-bar-mode):
18978 * server.el (server-mode):
18979 * shell.el (shell-dirtrack-mode):
18980 * simple.el (auto-fill-mode, transient-mark-mode)
18981 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18982 (line-number-mode, column-number-mode, size-indication-mode)
18983 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18984 * strokes.el (strokes-mode):
18985 * time.el (display-time-mode):
18986 * t-mouse.el (gpm-mouse-mode):
18987 * tool-bar.el (tool-bar-mode):
18988 * tooltip.el (tooltip-mode):
18989 * type-break.el (type-break-mode-line-message-mode)
18990 (type-break-query-mode):
18991 * view.el (view-mode):
18992 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18993 (global-whitespace-mode, global-whitespace-newline-mode):
18994 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18995
a3839de2
SM
18996 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18997 Fix autogenerated docstring.
06e21633 18998
5214e501
JL
189992011-10-19 Juri Linkov <juri@jurta.org>
19000
19001 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19002 by checking environment variables "DESKTOP_SESSION" and
19003 "XDG_CURRENT_DESKTOP". (Bug#9779)
19004
195f8db9
JL
190052011-10-19 Juri Linkov <juri@jurta.org>
19006
19007 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19008 (browse-url-chromium-program, browse-url-chromium-arguments):
19009 New defcustoms.
19010 (browse-url-default-browser): Check for `browse-url-chromium' and
19011 call `browse-url-chromium-program'.
19012 (browse-url-chromium): New command. (Bug#9779)
19013
343a34ff
JB
190142011-10-18 Juanma Barranquero <lekktu@gmail.com>
19015
19016 * facemenu.el (list-colors-duplicates): On Windows, detect more
19017 duplicates by assuming that only colors matching "^System" are
19018 special "system colors". (Bug#9722)
19019
6978a151
SM
190202011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19021
19022 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19023 to distinguish the author from the committer.
19024
6a80b297
MA
190252011-10-18 Michael Albinus <michael.albinus@gmx.de>
19026
19027 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19028
b31a5677
JK
190292011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19030
19031 * international/mule.el (sgml-html-meta-auto-coding-function):
19032 Add support for detecting encoding in HTML5 specified only as
19033 <meta charset="UTF-8">. Implementation just makes http-equiv and
19034 content-type parts from HTML4 encoding string optional. (Bug#9716)
19035
80c6d77f
GM
190362011-10-18 Glenn Morris <rgm@gnu.org>
19037
19038 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19039
08b0fee8
CY
190402011-10-18 Chong Yidong <cyd@gnu.org>
19041
19042 * faces.el (cursor): Doc fix.
19043
67e729a5
CY
190442011-10-17 Chong Yidong <cyd@gnu.org>
19045
19046 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19047
343a34ff 190482011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
19049
19050 * dirtrack.el (dirtrack): Support shell buffers with path
19051 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19052
0bc06380
TZ
190532011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19054
19055 * json.el: Bump version to 1.3 and note change in History.
19056 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19057
8b79f3e0
SM
190582011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19059
5a7c536b
SM
19060 * comint.el (comint-insert-input, comint-send-input)
19061 (comint-get-old-input-default, comint-backward-matching-input)
19062 (comint-next-prompt): Use nil instead of `input' for field property of
19063 past user input (bug#114).
19064
96a8a0df
SM
19065 * minibuffer.el (completion--replace): Inherit surrounding properties
19066 (bug#114).
19067 (minibuffer-complete-and-exit): Use it.
19068
8b79f3e0
SM
19069 * comint.el (comint--table-subvert): Quote the all-completions output
19070 (bug#9160).
19071
b8f7ff0d
MR
190722011-10-17 Martin Rudalics <rudalics@gmx.at>
19073
8b79f3e0 19074 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 19075
b8f7ff0d 19076 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 19077 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
19078 entries and separate them from frame entries.
19079
c235b555
GM
190802011-10-15 Glenn Morris <rgm@gnu.org>
19081
19082 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19083 Doc fixes.
19084
6bbfa6e1
CY
190852011-10-15 Chong Yidong <cyd@stupidchicken.com>
19086
8b79f3e0
SM
19087 * net/network-stream.el (network-stream-open-starttls):
19088 Improve detection of failure due to lack of TLS support.
ec5c990d 19089
6bbfa6e1
CY
19090 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19091 putting the input text in front and in bold.
19092
98488977
SM
190932011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19094
3d1337be
SM
19095 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19096
ee0b45e4
SM
19097 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19098 empty buffer.
19099
98488977
SM
19100 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19101 unread-command-events rather than pushing yet-another event.
19102
186f4720
EZ
191032011-10-14 Eli Zaretskii <eliz@gnu.org>
19104
19105 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19106 the explanation of the possible choices. Make the options passed
19107 to completing-read shorter.
19108
8b7a997c
AM
191092011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19110
19111 * textmodes/flyspell.el (flyspell-large-region): Make sure
19112 extended character mode is used if defined (Bug#1339).
19113
12587bbb
EZ
191142011-10-13 Eli Zaretskii <eliz@gnu.org>
19115
19116 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
19117 character info for LRE, LRO, RLE, and RLO characters by appending
19118 an invisible PDF.
12587bbb 19119
bad41229
SM
191202011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19121
19122 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19123 even in case of error; add debug spec; simplify data flow.
19124 (with-timeout-handler): Remove.
19125
28dbc92f
MA
191262011-10-12 Michael Albinus <michael.albinus@gmx.de>
19127
19128 Fix Bug#6019, Bug#9315.
19129
19130 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19131 complete `buffer-file-name', the local file name part could look
19132 remotely (for example on VMS).
19133
19134 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19135 `tramp-run-real-handler'.
19136 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19137 already quoted by '"'.
19138
19139 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19140 Let `file-name-handler-alist' be nil, the local file name part
19141 could look remotely (for example on VMS).
19142
e1b0b23a
SM
191432011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19144
19145 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19146 from here...
19147 (flyspell-post-command-hook): ...to here.
19148
a120bde9
SM
191492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19150
19151 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19152 if not needed.
19153 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19154 using completion. Protect against "slow" callers.
19155 Remove the "message hack".
19156
7ce7717b
JL
191572011-10-11 Juri Linkov <juri@jurta.org>
19158
19159 * isearch.el (isearch-lazy-highlight-word): New variable.
19160 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19161 Use it. (Bug#9727)
19162
c02ee9d6
GM
191632011-10-11 Glenn Morris <rgm@gnu.org>
19164
19165 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19166 like f90-previous-statement does.
19167
93e616fd 191682011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19169
1f190e73 19170 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
19171 only in interactive use, to avoid error.
19172
af7b6078
SM
191732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19174
19175 * minibuffer.el (completion-file-name-table): Fix last change,
19176 i.e. ignore normal errors but not the other ones.
19177
0563dae9
MR
191782011-10-10 Martin Rudalics <rudalics@gmx.at>
19179
19180 * window.el (special-display-buffer-names)
19181 (special-display-regexps): Remove some remnants of earlier
19182 changes from doc-strings.
366ca7f3
MR
19183 (quit-windows-on): New function.
19184
19185 * vc/vc.el (vc-revert, vc-rollback):
19186 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19187 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 19188 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 19189
49677495
MR
191902011-10-09 Martin Rudalics <rudalics@gmx.at>
19191
19192 * window.el (frame-auto-hide-function): Add version tag.
19193 (Bug#9699)
19194
56f2d1e1
MA
191952011-10-09 Michael Albinus <michael.albinus@gmx.de>
19196
19197 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19198 condition.
19199
112a6592
LL
192002011-10-09 Leo Liu <sdl.web@gmail.com>
19201
19202 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19203 (Bug#9701)
19204
0812589b
GM
192052011-10-08 Glenn Morris <rgm@gnu.org>
19206
19207 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19208 before the first code statement zero indent. (Bug#9690)
19209
b2b0776e
CY
192102011-10-08 Chong Yidong <cyd@stupidchicken.com>
19211
19212 * simple.el (count-words-region): Always count in the region.
19213 Report the number of lines and characters too.
19214 (count-words): New command, which counts in the buffer if the
19215 region is inactive, as count-words-region used to.
19216 (count-words--message): New function. Handle plurals.
19217 (count-lines-region): Make it an alias for count-words-region.
19218
19219 * bindings.el (esc-map): Replace count-lines-region with
19220 count-words-region.
19221
c557cd6b
MR
192222011-10-08 Martin Rudalics <rudalics@gmx.at>
19223
19224 * window.el (window--delete): Delete dedicated frame
19225 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 19226 (switch-to-buffer): Fix doc-string typo.
c557cd6b 19227
61a57ef4 192282011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19229
3a7d293b 19230 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 19231
c3833279
CY
192322011-10-07 Chong Yidong <cyd@stupidchicken.com>
19233
19234 * bindings.el ([M-left],[M-right]): Bind to left-word and
19235 right-word respectively.
19236
21ce8245
GM
192372011-10-07 Glenn Morris <rgm@gnu.org>
19238
19239 * cus-start.el (debug-on-quit): Fix custom type.
19240
6d823bb2
LMI
192412011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19242
0181e193
LMI
19243 * subr.el (define-key-after): Clarify that the function is not
19244 useful for non-menu keymaps.
19245
6d823bb2
LMI
19246 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19247
8e3459ce 192482011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19249
21ce8245 19250 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 19251 in current minibuffer (Fix bug with recursive minibuffers).
19252
a1c2d21e
CY
192532011-10-06 Chong Yidong <cyd@stupidchicken.com>
19254
19255 * progmodes/gdb-mi.el (gdb): Doc fix.
19256
5a4cf282
MR
192572011-10-05 Martin Rudalics <rudalics@gmx.at>
19258
19259 * window.el (frame-auto-hide-function): New option replacing
19260 frame-auto-delete. Suggested by Stefan Monnier.
19261 (window--delete): Call frame-auto-hide-function instead of
19262 investigating frame-auto-delete.
c96111ea
MR
19263 (window-point-1, set-window-point-1): New functions.
19264 (window-in-direction, record-window-buffer, window-state-get-1)
19265 (display-buffer-record-window): Use window-point-1 instead of
19266 window-point.
19267 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 19268
9854542e
SM
192692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19270
19271 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19272
8943cfb0
GM
192732011-10-05 Glenn Morris <rgm@gnu.org>
19274
19275 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19276 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19277
647ab967
LL
192782011-10-05 Leo Liu <sdl.web@gmail.com>
19279
19280 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19281 works with buffer object.
19282
3ddfbced
SM
192832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19284
19285 * mpc.el (mpc-tool-bar-map): Add labels.
19286
bdfa5dd2
GM
192872011-10-04 Glenn Morris <rgm@gnu.org>
19288
19289 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19290
0e2070b5
MR
192912011-10-04 Martin Rudalics <rudalics@gmx.at>
19292
19293 * window.el (window--delete): New function.
19294 (frame-auto-delete): Resuscitate option.
19295 (bury-buffer, replace-buffer-in-windows)
19296 (quit-window): Rewrite using window--delete.
19297 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19298 Pass display-buffer-mark-dedicated to window--display-buffer-2
19299 (Bug#9639).
19300
3dc61a09
SM
193012011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19302
915a9b64
SM
19303 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19304 returns a list (bug#9554). Add remote file name completion.
19305 * comint.el (comint--table-subvert): Curry and get quote&unquote
19306 functions as arguments.
19307 (comint--complete-file-name-data): Adjust call accordingly.
19308 * pcomplete.el (pcomplete--table-subvert): Remove.
19309 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19310
3dc61a09
SM
19311 * minibuffer.el (completion-table-case-fold): Use currying.
19312 (completion--styles-type, completion--cycling-threshold-type):
19313 New constants.
19314 (completion-styles, completion-category-overrides)
19315 (completion-cycle-threshold): Use them.
19316 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19317 completion-table-case-fold.
19318
8ea0a993
SB
193192011-10-03 Stephen Berman <stephen.berman@gmx.net>
19320
19321 * minibuffer.el (completion-category-overrides): Fix type of styles
19322 and add more user friendly tags (bug#9660).
19323
8c24b7f6
SM
193242011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19325
19326 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19327 (mule-input-method-string): New widget.
19328 (default-input-method, language-info-custom-alist): Use it.
19329
428fe61a
SM
193302011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19331
32c1fffd
SM
19332 * pcomplete.el: Require comint.
19333 (pcomplete--common-suffix): Remove.
19334 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19335 (pcomplete--table-subvert): Sync with comint--table-subvert.
19336 (pcomplete--entries): Use comint-completion-file-name-table.
19337 * comint.el (comint-unquote-filename): Simplify.
19338 (comint-completion-file-name-table): New function (bug#9616).
19339 (comint--complete-file-name-data): Use it.
19340
428fe61a
SM
19341 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19342 (pcmpl-gnu-tar-buffer): Remove.
19343 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
19344 around. Make sure pcomplete-suffix-list is only changed temporarily.
19345 Don't look inside the tar's file if it's too large.
428fe61a 19346
04c52e2f
CY
193472011-10-01 Chong Yidong <cyd@stupidchicken.com>
19348
ce3cefcc
CY
19349 * cus-edit.el (custom-mode-map):
19350 * epa.el (epa-key-list-mode-map):
19351 * man.el (Man-mode-map):
19352 * startup.el (splash-screen-keymap):
19353 * simple.el (special-mode-map): Use scroll-up-command and
19354 scroll-down-command.
19355
19356 * progmodes/idlw-help.el (idlwave-help-mode-map):
19357 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19358 * net/newst-plainview.el (newsticker-mode-map):
19359 * emulation/ws-mode.el (wordstar-mode-map):
19360 * emulation/vi.el (vi-com-map):
19361 * calc/calc-graph.el (calc-graph-show-dumb):
19362 * term/sun.el (terminal-init-sun):
19363 * term/ns-win.el (global-map):
19364 * progmodes/grep.el (grep-mode-map):
19365 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19366 * mail/rmail.el (rmail-mode-map):
19367 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19368
04c52e2f
CY
19369 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19370 custom-safe-themes as special.
19371
79adf8c8
JD
193722011-10-01 Julien Danjou <julien@danjou.info>
19373
19374 * notifications.el (notifications-notify): Fix docstring.
19375
63bd50d3
PS
193762011-10-01 Per Starbäck <per@starback.se>
19377
19378 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19379
199e4c7e
MR
193802011-09-30 Martin Rudalics <rudalics@gmx.at>
19381
19382 * startup.el (command-line-1): Fix last fix by inserting
19383 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 19384 (Bug#9605) and (Bug#9636)
199e4c7e 19385
fe5f08dd
EZ
193862011-09-29 Eli Zaretskii <eliz@gnu.org>
19387
19388 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19389 window is hscrolled, move by logical lines. (Bug#9607)
19390 (line-move-visual): Update the doc string to the above effect.
19391
b5516bbd
MR
193922011-09-29 Martin Rudalics <rudalics@gmx.at>
19393
ccee00c0
MR
19394 * window.el (display-buffer-record-window): When WINDOW is the
19395 selected window use `point' instead of `window-point'. (Bug#9626)
19396
b5516bbd
MR
19397 * startup.el (command-line-1): Use insert-before-markers when
19398 inserting initial-scratch-message. (Bug#9605)
ccee00c0 19399
b5516bbd
MR
19400 * help.el (help-window): Remove variable.
19401
52aa0014
GM
194022011-09-29 Glenn Morris <rgm@gnu.org>
19403
19404 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19405
df9a7357
JB
194062011-09-29 Juanma Barranquero <lekktu@gmail.com>
19407
19408 * descr-text.el (describe-char-categories): Accept category
19409 descriptions more than one line long.
19410
a8406c20
SM
194112011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19412
88d9610c
SM
19413 * simple.el (delete-trailing-whitespace): Fix last change.
19414
a5daf810
SM
19415 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19416 Don't confuse "y => 3" as the beginning of a `y' operation.
19417
a8406c20
SM
19418 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19419 object has more than 4 slots (bug#9613).
19420
a239d4e9
JB
194212011-09-28 Juanma Barranquero <lekktu@gmail.com>
19422
19423 * subr.el (with-output-to-temp-buffer):
19424 * net/quickurl.el (quickurl, quickurl-browse-url):
19425 Fix typos in docstrings.
19426
693fbdb6
EZ
194272011-09-27 Eli Zaretskii <eliz@gnu.org>
19428
19429 * minibuffer.el (completion-styles)
19430 (completion-category-overrides): Cross reference each other in doc
19431 strings.
19432
8b457e28
GM
194332011-09-27 Glenn Morris <rgm@gnu.org>
19434
19435 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19436 to split-string. (Bug#9606)
19437
85a16208
LMI
194382011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19439
19440 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19441 (bug#9615).
19442
502f9ebd
CY
194432011-09-27 Chong Yidong <cyd@stupidchicken.com>
19444
19445 * emacs-lisp/package.el (list-packages): Fix echo area message.
19446
7690bdea
LL
194472011-09-27 Leo Liu <sdl.web@gmail.com>
19448
19449 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19450
e2ee6f30
MA
194512011-09-25 Michael Albinus <michael.albinus@gmx.de>
19452
19453 * net/dbus.el (dbus-unregister-object): Don't release services for
19454 registered signals. (Bug#9581)
19455
f3f98342
TZ
194562011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19457
19458 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19459 function that picks between cfengine 2 and 3 support
19460 automatically. Update docs accordingly.
19461
dd7aa8dd
KH
194622011-09-22 Kenichi Handa <handa@m17n.org>
19463
19464 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19465 ZERO.
19466 (indian-itrans-v5-table-for-tamil): New variable.
19467 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19468
3f2b07f8
KM
194692011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19470
19471 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19472 that's true if the current command involved collapsing of text.
19473 It's reset to false at the beginning of the next command.
19474 (allout-post-command-business): Move the cursor to the beginning
19475 of entry if the cursor is hidden and collapsing activity just
19476 happened.
19477
371d6a61
CY
194782011-09-24 Chong Yidong <cyd@stupidchicken.com>
19479
19480 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19481 tracking (Bug#9541).
19482
2ac2721a
UJ
194832011-09-24 Ulf Jasper <ulf.jasper@web.de>
19484
19485 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
19486 (newsticker-show-news): Automatically load html rendering package
19487 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19488 because w3m-fill-column is let-bound" and the error "Symbol's value
19489 as variable is void: w3m-fill-column".
2ac2721a 19490
fac7ae53
MA
194912011-09-24 Michael Albinus <michael.albinus@gmx.de>
19492
19493 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19494 Release services only if they are defined. (Bug#9581)
19495
e08b633b
RS
194962011-09-23 Richard Stallman <rms@gnu.org>
19497
e488d29c
RS
19498 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19499 distinguish start of paragraph from start of its text.
19500
19c38752
RS
19501 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19502
e08b633b
RS
19503 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19504 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19505 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19506
0a39f27e
AS
195072011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19508
19509 * international/mule-diag.el (mule-diag): Insert a newline after
19510 each fontset description.
19511
db4e950d
SM
195122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19513
19514 * simple.el (delete-trailing-whitespace):
19515 Document last change; simplify.
19516
eca3f3ea
PW
195172011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19518
d68e189a
PW
19519 * simple.el (delete-trailing-whitespace): Also delete
19520 extra newlines at the end of the buffer.
19521
eca3f3ea
PW
19522 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19523 (picture-newline): Use forward-line so as to ignore fields.
19524
01c157cc
SM
195252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 * subr.el (with-wrapper-hook): Fix edebug spec.
19528
022de23e
LMI
195292011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19530
19531 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19532 (bug#4538).
19533
91683089
MA
195342011-09-23 Michael Albinus <michael.albinus@gmx.de>
19535
eca3f3ea
PW
19536 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19537 Fix nasty bug using wrong cached values.
91683089 19538
5bdd6fa4
AM
195392011-09-23 Alan Mackenzie <acm@muc.de>
19540
19541 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19542
97adfb97
CY
195432011-09-23 Chong Yidong <cyd@stupidchicken.com>
19544
19545 * window.el (pop-to-buffer): Ensure right window is selected if we
19546 chose another frame.
19547
d4ef2b50
EZ
195482011-09-22 Eli Zaretskii <eliz@gnu.org>
19549
19550 * simple.el (what-cursor-position): Use get-char-property-change
19551 and next-single-char-property-change, to be able to show display
19552 properties that come from overlays as well as text properties.
19553
72258fe5
CY
195542011-09-22 Chong Yidong <cyd@stupidchicken.com>
19555
19556 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19557
19558 * cmuscheme.el (run-scheme, switch-to-scheme):
19559 * cus-edit.el (customize-group, custom-buffer-create)
19560 (customize-browse):
19561 * info.el (info):
19562 * shell.el (shell):
19563 * mail/sendmail.el (mail):
19564 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19565
8f098516
RS
195662011-09-22 Richard Stallman <rms@gnu.org>
19567
19568 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19569 move back only to line beg, don't move back over blank lines.
19570
e74f1bb6
MA
195712011-09-22 Michael Albinus <michael.albinus@gmx.de>
19572
19573 * files.el (copy-directory): Set directory attributes only in case
19574 they could be retrieved from the source directory. (Bug#9565)
19575
bfeef8b6
DK
195762011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19577
19578 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19579 (hs-find-block-beginning, hs-hide-level-recursive):
19580 Ignore strings as well as comments. (Bug#9502)
19581
7e423bb8
AS
195822011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19583
19584 * progmodes/sql.el (sql-comint-postgres):
19585 Convert port number to a string. (Bug#9566)
19586
b4d72fcf
MR
195872011-09-22 Martin Rudalics <rudalics@gmx.at>
19588
19589 * window.el (quit-window): Undedicate window when switching to
19590 previous buffer. Reported by Thierry Volpiatto
19591 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
19592 (special-display-popup-frame): When popping up a new frame reset
19593 its previous buffers to nil. Simplify code.
b4d72fcf 19594
a7b88dc6
MA
195952011-09-21 Michael Albinus <michael.albinus@gmx.de>
19596
19597 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19598 and process filter, as done also in `shell-command'.
19599
cf4eacfd
MR
196002011-09-21 Martin Rudalics <rudalics@gmx.at>
19601
eca3f3ea 19602 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
19603 Call set-window-start with NOFORCE argument t.
19604 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
19605 (quit-window): Reword doc-string. Handle new format of
19606 quit-restore parameter. Don't delete window if it has a
19607 previous buffer we can show instead of the present one.
19608 (display-buffer-record-window): Rewrite using a new format for
19609 the quit-restore window parameter
19610 (special-display-popup-frame, display-buffer-same-window)
19611 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19612 (display-buffer-pop-up-window, display-buffer-use-some-window):
19613 Adapt symbol passed to display-buffer-record-window.
19614 * help.el (help-window-setup): Handle new format of quit-restore
19615 parameter.
19616
8d28cb95
SM
196172011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19618
94ab793f
SM
19619 * faces.el (face-list): Fix docstring (bug#9564).
19620
8d28cb95
SM
19621 * window.el (display-buffer--action-function-custom-type):
19622 Don't include internal functions in the Custom interface.
19623
3820edeb
JL
196242011-09-20 Juri Linkov <juri@jurta.org>
19625
19626 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19627 (Info-forward-node, Info-backward-node, Info-next-preorder)
19628 (Info-last-preorder): Use it. (Bug#9528)
19629
5147931d
JL
196302011-09-20 Juri Linkov <juri@jurta.org>
19631
19632 * info.el (Info-last-preorder): Visit last menu item only when
19633 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19634
cf499a1a
JD
196352011-09-20 Julien Danjou <julien@danjou.info>
19636
19637 * password-cache.el (password-cache-remove): Remove entries even if the
19638 value is nil, so that password with a nil value (negative caching) is
19639 possible to invalidate.
19640
f84e2fe2
LM
196412011-09-20 Lawrence Mitchell <wence@gmx.li>
19642
19643 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19644 all whitespace around breakpoint. (Bug#9553)
19645 (f90-find-breakpoint): Only break at whitespace inside a comment.
19646
78054a46
SM
196472011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19648
19649 * minibuffer.el (completion-file-name-table): Keep track of errors.
19650 (completion-table-with-predicate): Handle the case where pred1 is nil.
19651 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19652
345083b2
SM
196532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19654
e24e27be
SM
19655 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19656 (debugger-return-value): Signal an error if the debugging context does
19657 not await any return value.
19658
345083b2
SM
19659 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19660 * image-mode.el (image-toggle-display-text)
19661 (image-toggle-display-image): Stay away from evil `intangible'.
19662
08d355e3
LL
196632011-09-19 Leo Liu <sdl.web@gmail.com>
19664
19665 * replace.el (occur-revert-arguments): Make it permanent-local.
19666 (occur-mode): Don't call font-lock-defontify.
19667
f01da43f
CY
196682011-09-19 Chong Yidong <cyd@stupidchicken.com>
19669
19670 * net/ldap.el (ldap-search-internal): Don't push empty search
19671 result (Bug#9508).
19672
b6072fa6
SM
196732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19674
19675 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19676
443d6696
MA
196772011-09-19 Michael Albinus <michael.albinus@gmx.de>
19678
19679 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19680 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19681
7cc6e154
JL
196822011-09-18 Juri Linkov <juri@jurta.org>
19683
19684 * buff-menu.el (Buffer-menu-mode-map):
19685 * dired.el (dired-mode-map):
19686 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19687 (lisp-interaction-mode-map):
19688 * emacs-lisp/package.el (package-menu-mode-map):
19689 * epa.el (epa-key-list-mode-map):
19690 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19691 (menu-bar-options-menu):
19692 * outline.el (outline-mode-menu-bar-map):
19693 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19694 * vc/vc-dir.el (vc-dir-menu-map):
19695 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19696 Capitalize non-function content words in menu item strings.
19697
19698 * dired.el (dired-mode-map): Add menu item for
19699 `image-dired-dired-toggle-marked-thumbs'.
19700
80302a81
JL
197012011-09-18 Juri Linkov <juri@jurta.org>
19702
19703 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19704 to `isearch-case-fold-search' and restore its original value
19705 after the `isearch-mode' call.
19706
46c5cf66
JL
197072011-09-18 Juri Linkov <juri@jurta.org>
19708
19709 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19710 because `zgrep' returns 1 for successful matches (bug#9226).
19711
d18b513b
JL
197122011-09-18 Juri Linkov <juri@jurta.org>
19713
19714 * info.el (Info-extract-menu-node-name): Check the second match
19715 for empty string (second test-case of bug#9528).
19716 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19717 intermediate nodes to the history (first test-case of bug#9528).
19718
72753f87
JL
197192011-09-18 Juri Linkov <juri@jurta.org>
19720
19721 * info.el (Info-mode-syntax-table): New variable.
1154d12e 19722 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 19723
c9384295
JL
197242011-09-18 Juri Linkov <juri@jurta.org>
19725
1154d12e
JB
19726 * info.el (Info-file-supports-index-cookies):
19727 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19728 outputs one more line for long file names (bug#4142).
c9384295 19729
d473dce8
CY
197302011-09-18 Chong Yidong <cyd@stupidchicken.com>
19731
19732 * newcomment.el (comment-normalize-vars): If prompting for
19733 comment-start, set comment-start-skip too (Bug#8424).
19734
2176854d
JB
197352011-09-18 Johan Bockgård <bojohan@gnu.org>
19736
19737 * icomplete.el: Fix previous fix of Bug#5849.
19738 (icomplete-mode): Don't set completion-show-inline-help.
19739 (icomplete-minibuffer-setup): Set completion-show-inline-help
19740 locally during icompletion.
19741
3aace4e4
CY
197422011-09-18 Chong Yidong <cyd@stupidchicken.com>
19743
c940224f
CY
19744 * woman.el (woman2-process-escapes): Don't delete unrecognized
19745 escapes (Bug#7843).
19746
3aace4e4
CY
19747 * files.el (inhibit-first-line-modes-regexps): Add image files.
19748 (hack-local-variables-prop-line): Return nil for malformed
19749 prop-lines (Bug#9044).
19750
710dec63
MA
197512011-09-18 Michael Albinus <michael.albinus@gmx.de>
19752
19753 * net/tramp.el (top): Don't require 'shell.
19754 (tramp-methods): Fix docstring.
19755 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
19756 Return complete remote file name. Handle "smb" case.
19757 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
19758 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19759
19760 * net/tramp-compat.el (top): Require 'shell.
19761
19762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19763 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19764 `tramp-current-host'.
19765 (tramp-get-remote-tmpdir): Remove.
19766
19767 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19768 `tramp-tmpdir' entries.
19769 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19770 (tramp-smb-handle-file-attributes): Ignore errors.
19771 (tramp-smb-wait-for-output): Check also for process end.
19772
5d5ac8ec
LMI
197732011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19774
19775 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19776 when sending QUIT (bug#9312).
19777
8c0f49f0
CY
197782011-09-17 Chong Yidong <cyd@stupidchicken.com>
19779
19780 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19781 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19782 occur-mode-display-occurrence.
19783 (occur-edit-mode): Add usage message.
19784 (occur-cease-edit): New command.
19785 (occur-after-change-function): Use text properties to find the
19786 position of the prefix text.
19787 (occur-engine): Set stickiness of prefix text properties.
19788
8f1383f7
GM
197892011-09-17 Glenn Morris <rgm@gnu.org>
19790
19791 * progmodes/etags.el (complete-tag):
19792 Fix call to completion-in-region. (Bug#9526)
19793
744ba0e3
JL
197942011-09-17 Juri Linkov <juri@jurta.org>
19795
19796 * textmodes/ispell.el (ispell-word): Add to the error message
19797 the word, ispell program name and current dictionary (bug#9121).
19798 (ispell-tex-arg-end): Capitalize "error" in the error message.
19799
d9bbf400
AS
198002011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19801
19802 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19803 check. (Bug#4251)
19804
8da11505
JL
198052011-09-17 Juri Linkov <juri@jurta.org>
19806
19807 * window.el (window-safe-min-height, window-safe-min-width):
19808 Fix typos (followup to bug#9522).
19809
a91adc7e
SJ
198102011-09-17 Sven Joachim <svenjoac@gmx.de>
19811
19812 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19813
064f328a
EZ
198142011-09-16 Eli Zaretskii <eliz@gnu.org>
19815
19816 * simple.el (line-move): If goal-column is set, move by logical
19817 lines, not by display lines. (Bug#971)
19818 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19819 to reflect the above change.
19820
e69df516
SM
198212011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * image.el (imagemagick-register-types): Use regexp-opt.
19824
cbb0f9ab
CY
198252011-09-15 Chong Yidong <cyd@stupidchicken.com>
19826
19827 * window.el (display-buffer-base-action): Rename from
19828 display-buffer-default-action. Make default value empty.
19829 (display-buffer-overriding-action): Convert to defvar.
19830 (display-buffer-fallback-action): New var.
19831
25322144
CY
198322011-09-15 Chong Yidong <cyd@stupidchicken.com>
19833
19834 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19835 declaration.
19836 (package--add-to-archive-contents): If there is a duplicate entry
19837 with an older version, remove it.
19838 (package-menu-mark-delete, package-menu-mark-install)
19839 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
19840 (package-menu-mark-obsolete-for-deletion):
19841 Use package-menu-get-status instead of a regexp search.
25322144
CY
19842 (package-menu-get-status): Use tabulated-list-entry.
19843 (package-menu-mark-upgrades): New command.
d770725a 19844 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
19845 (package-menu-execute): Do installation before deletion.
19846 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19847 instead of checking major-mode.
19848 (package-menu--find-upgrades): New function.
19849
7520339c
LMI
198502011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851
19852 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19853 passwords in the log buffer.
65a046c4
LMI
19854 (smtpmail-process-filter): Update the process marker so that the
19855 "broken by peer" status message is inserted in the right place.
7520339c 19856
d3c30954
SM
198572011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19858
3fe48822
SM
19859 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19860 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19861 bibtex-completion-at-point-function.
19862 (bibtex-completion-at-point-function): Use them.
19863
1b8b3954
SM
19864 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19865
d3c30954
SM
19866 * mpc.el (mpc-constraints-tag-lookup): New function.
19867 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19868 also to browser "album|playlist".
19869
72779976
JL
198702011-09-14 Juri Linkov <juri@jurta.org>
19871
19872 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19873 (isearch-edit-string): Use length of `isearch-string' when
19874 `isearch-fail-pos' returns nil.
19875 (isearch-message): Remove duplicate code and call
19876 `isearch-fail-pos' with arg `t'.
19877
a0bf2bcd
CY
198782011-09-14 Chong Yidong <cyd@stupidchicken.com>
19879
17bb0a2d
CY
19880 * replace.el (occur-mode-goto-occurrence): Don't force using other
19881 window (Bug#9499).
19882
a0bf2bcd
CY
19883 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19884
f678e0b6
MR
198852011-09-14 Martin Rudalics <rudalics@gmx.at>
19886
19887 * window.el (display-buffer-window): Remove.
19888 (display-buffer-record-window): Use help-setup window parameter
19889 instead of variable display-buffer-window.
19890 (display-buffer-function, special-display-buffer-names)
19891 (special-display-function): Mention help-setup parameter instead
19892 of display-buffer-window in doc-string.
d3c30954
SM
19893 * help.el (help-window-setup): New argument help-window.
19894 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
19895 Reword some messages.
19896 (with-help-window): Pass window used for displaying the buffer
19897 to help-window-setup. Don't set display-buffer-window.
19898
8e39b2e8
GM
198992011-09-13 Glenn Morris <rgm@gnu.org>
19900
19901 * emacs-lisp/debug.el (debugger-make-xrefs):
19902 Preserve point. (Bug#9462)
19903
85e9c04b
CY
199042011-09-13 Chong Yidong <cyd@stupidchicken.com>
19905
19906 * window.el (window-deletable-p): Use next-frame.
19907
1b36ed6a
MR
199082011-09-13 Martin Rudalics <rudalics@gmx.at>
19909
19910 * window.el (window-auto-delete): Remove.
19911 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 19912 dedication and previous buffers.
1b36ed6a
MR
19913 (switch-to-prev-buffer): Don't delete window.
19914 (delete-windows-on): Delete a window's frame if and only if the
19915 window is dedicated.
19916 (replace-buffer-in-windows): Delete buffer's window or frame if
19917 and only if window is dedicated.
19918 (quit-window): Handle quit-restore as before last change.
4d61f28d 19919 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 19920
ef8ef9fb
CY
199212011-09-13 Chong Yidong <cyd@stupidchicken.com>
19922
19923 * window.el (window-deletable-p): Never delete the last frame on a
19924 given terminal.
19925
b2cba41e
GM
199262011-09-13 Glenn Morris <rgm@gnu.org>
19927
19928 * help.el (describe-key-briefly): Copy previous standard-output change.
19929
51553db6 199302011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
19931
19932 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19933
b7556719
GM
199342011-09-13 Glenn Morris <rgm@gnu.org>
19935
19936 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19937 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19938
64b51947
CY
199392011-09-12 Chong Yidong <cyd@stupidchicken.com>
19940
19941 * dired-aux.el (dired-mark-read-string): Don't return default
19942 value on empty input (Bug#9361).
19943 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19944 Omit initial minibuffer contents.
19945 (dired-do-chmod): Signal an error on empty input.
19946 (dired-mark-read-string): Don't return default on empty input.
19947
19948 * files.el (file-modes-symbolic-to-number): Doc fix.
19949
393a301e
SM
199502011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19951
19952 * international/mule-cmds.el (ucs-completions): Remove.
19953 (read-char-by-name): Use complete-with-action instead; add metadata.
19954
fa5660f9
CY
199552011-09-11 Chong Yidong <cyd@stupidchicken.com>
19956
19957 * window.el (display-buffer--action-function-custom-type)
19958 (display-buffer--action-custom-type): New vars.
19959 (display-buffer-alist, display-buffer-default-action)
19960 (display-buffer-overriding-action): Add defcustom types.
19961
4a592f66
CY
19962 * frame.el (delete-other-frames): Doc fix (Bug#276).
19963
73d56dbd
LMI
199642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19965
19966 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19967
37ac18a3
CY
199682011-09-11 Chong Yidong <cyd@stupidchicken.com>
19969
19970 Change modes that used same-window-* vars to use switch-to-buffer.
19971
19972 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19973 Use switch-to-buffer.
19974
19975 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
19976 (customize-browse, custom-buffer-create-other-window):
19977 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
19978
19979 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19980 (Info-prev, Info-up, Info-speedbar-goto-node)
19981 (info-display-manual): Use switch-to-buffer.
19982 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19983
19984 * mail/sendmail.el (mail): Use switch-to-buffer.
19985 (mail-recover): Use switch-to-buffer-other-window.
19986
19987 * cmuscheme.el (run-scheme, switch-to-scheme):
19988 * ielm.el (ielm):
19989 * shell.el (shell):
19990 * net/rlogin.el (rlogin):
19991 * net/telnet.el (telnet, rsh):
19992 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19993
10195bd6
AS
199942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19995
19996 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19997
b322f63a
LMI
199982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19999
39d7fed6
LMI
20000 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20001 so don't mention it (bug#9301).
ba5a81f1 20002 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 20003
ee0e9f11
LMI
20004 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20005 match `x', `w32' and `ns', like the manual says (bug#9029).
20006
0b1c89c1 20007 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
20008 (process-kill-buffer-query-function): Mention the buffer name in
20009 the query.
0b1c89c1 20010
77549ea8
LMI
20011 * image-mode.el (image-next-line): The line parameter is mandatory
20012 (bug#9258).
20013
803ef892
LMI
20014 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20015 which can be useful (bug#9301).
20016
12980837
LMI
20017 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20018
91054f8f
LMI
20019 * subr.el (match-string): Mention that the current buffer should
20020 be the same as the search was done in (bug#9282).
20021
b322f63a
LMI
20022 * facemenu.el: Disable the remove-* commands if the mark isn't
20023 active (bug#9162).
20024
3199b96f
CY
200252011-09-10 Chong Yidong <cyd@stupidchicken.com>
20026
20027 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20028 of display-buffer.
20029 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20030
20031 * replace.el (occur-mode-goto-occurrence)
20032 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20033 and display-buffer.
20034
20035 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20036 display-buffer.
20037
20038 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20039 special-display and same-window variables.
20040 (mail-other-window): Use switch-to-buffer-other-window.
20041 (mail-other-frame): USe switch-to-buffer-other-frame.
20042
393a301e
SM
20043 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20044 Use display-buffer-other-frame.
3199b96f
CY
20045 (gdb-display-gdb-buffer): Use pop-to-buffer.
20046
20047 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20048
20049 * progmodes/python.el: Don't set same-window-buffer-names.
20050
20051 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20052
20053 * window.el (display-buffer-alist): Add *Python*.
20054
8319e0bf
CY
200552011-09-10 Chong Yidong <cyd@stupidchicken.com>
20056
20057 * window.el (display-buffer-alist): Add entry for buffers
20058 previously handled same-window-*.
20059 (display-buffer-alist, display-buffer-default-action)
20060 (display-buffer-overriding-action): Mark as risky.
20061 (display-buffer-alist): Document action function changes.
20062 (display-buffer--same-window-action)
20063 (display-buffer--other-frame-action): New variables.
20064 (switch-to-buffer, display-buffer-other-frame): Use them.
20065 (display-buffer): Rename reuse-frame entry to reusable-frames.
20066 (display-buffer-reuse-selected-window): Function deleted.
20067 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20068 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20069 (display-buffer-special): New function.
20070 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20071 display-buffer-reuse-or-pop-window. Split off special-display
20072 part into display-buffer-special.
20073 (display-buffer-use-some-window): Don't perform any special
20074 pop-up-frames handling.
20075 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 20076 (display-buffer--maybe-same-window): Rename from
0d3ff375 20077 display-buffer-maybe-same-window.
8319e0bf 20078
919a69aa
CY
20079 * info.el: Don't set same-window-regexps.
20080 (info-setup): New function.
20081 (info-other-window, info): Call it.
20082
20083 * cus-edit.el: Don't set same-window-regexps.
20084 (customize-group): New argument.
20085 (customize-group-other-window): Use it.
20086 (customize-face, customize-face-other-window): Likewise.
20087 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20088
8319e0bf
CY
20089 * net/rlogin.el:
20090 * net/telnet.el:
20091 * progmodes/gud.el: Don't set same-window-regexps.
20092
20093 * cmuscheme.el:
20094 * ielm.el:
20095 * shell.el:
20096 * mail/sendmail.el:
20097 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20098
25173000
JL
200992011-09-10 Juri Linkov <juri@jurta.org>
20100
20101 * isearch.el (isearch-edit-string): Remove obsolete mention of
20102 `C-w' (`isearch-yank-word-or-char') from docstring.
20103 (isearch-query-replace): Fix typo in docstring (bug#9466).
20104
056e44ef
JL
201052011-09-10 Juri Linkov <juri@jurta.org>
20106
20107 * paren.el (show-paren-function): Don't show escaped parens.
20108 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20109
c3760c17
EZ
201102011-09-10 Eli Zaretskii <eliz@gnu.org>
20111
20112 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20113 (mm-default-file-encoding): Remove autoload forms, they are
20114 replaced with autoload cookies in mml.el and mm-encode.el.
20115 (mail-add-attachment): New command.
20116 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20117 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20118 the doc string.
20119 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20120
fece895e
RT
201212011-09-10 Reuben Thomas <rrt@sc3d.org>
20122
e69df516
SM
20123 * simple.el (count-words-region): Use buffer if there's no region
20124 (bug#9429).
fece895e 20125
5e68ce4a
JL
201262011-09-09 Juri Linkov <juri@jurta.org>
20127
20128 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20129 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20130 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20131
0a6b9622
AM
201322011-09-09 Alan Mackenzie <acm@muc.de>
20133
20134 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20135 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20136
14a29deb
EZ
201372011-09-09 Eli Zaretskii <eliz@gnu.org>
20138
20139 Fix for Savannah bug#9392.
20140 * simple.el (mail-encode-mml): New defvar.
20141
20142 * mail/rmail.el (mail-encode-mml): Add a defvar.
20143 (rmail-enable-mime-composing): Default to t.
20144 (rmail-forward): Use MIME method of forwarding only if both
20145 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20146 Set mail-encode-mml non-nil if the MIME method was used.
20147
20148 * mail/sendmail.el (mml-to-mime): Add autoload form.
20149 (mail-encode-mml): Add a defvar.
20150 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20151 to nil.
20152 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20153 message through mml-to-mime, and reset mail-encode-mml to nil.
20154
28c45130
GM
201552011-09-09 Glenn Morris <rgm@gnu.org>
20156
20157 * woman.el (woman-if-body): When processing an .el block,
20158 do not delete the next .el block as well. (Bug#9447)
69f4b618 20159 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 20160
9b1c252e
MR
201612011-09-08 Martin Rudalics <rudalics@gmx.at>
20162
20163 * window.el (window-deletable-p): Make sure window is live before
20164 invoking window-prev-buffers.
20165
567457e3
LL
201662011-09-08 Leo Liu <sdl.web@gmail.com>
20167
20168 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20169
97f05794
JL
201702011-09-08 Juri Linkov <juri@jurta.org>
20171
20172 * progmodes/compile.el (compilation-environment): Make it
20173 a defcustom (bug#8340).
20174
8b0874b5
MR
201752011-09-08 Martin Rudalics <rudalics@gmx.at>
20176
20177 * window.el (frame-auto-delete): Rename to window-auto-delete.
20178 Make it control auto-deletion of windows and/or frames.
20179 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 20180 for deleting window/frame. (Bug#9419)
8b0874b5
MR
20181 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20182 Rewrite handling of case when window/frame can be deleted.
20183 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 20184 argument t. (Bug#9456)
8b0874b5 20185
4feb6e73
CY
201862011-09-07 Chong Yidong <cyd@stupidchicken.com>
20187
20188 * help-mode.el (help-mode): Restore autoload.
20189
91ab9c13
JL
201902011-09-07 Juri Linkov <juri@jurta.org>
20191
20192 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20193 `compilation-environment'. Set buffer-local
20194 `compilation-environment' to `thisenv' later after (funcall mode).
20195 (Bug#8340)
20196
20197 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20198 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20199 instead of replacing its value. (Bug#8340)
20200
0527e251
JL
202012011-09-07 Juri Linkov <juri@jurta.org>
20202
20203 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20204 based on text properties put by `grep-filter' instead of matching
20205 escape sequences.
20206 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20207 to the value of `grep-error-screen-columns' (bug#9438).
20208
249f792c
JL
202092011-09-07 Juri Linkov <juri@jurta.org>
20210
20211 * simple.el (next-error-highlight, next-error-highlight-no-select):
20212 Doc fix (bug#9432).
20213
ff7271b9
OT
202142011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20215
20216 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20217 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20218
183fc730
LL
202192011-09-07 Leo Liu <sdl.web@gmail.com>
20220
20221 * net/rcirc.el (rcirc-mode): Conditionally initialize
20222 rcirc-input-ring.
20223
77694924
SM
202242011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 * emacs-lisp/find-func.el (find-function-C-source): Only set
20227 find-function-C-source-directory after checking that we found a source
20228 file there (bug#9440).
20229
d809b8eb
AM
202302011-09-06 Alan Mackenzie <acm@muc.de>
20231
20232 * isearch.el (isearch-other-meta-char): Wherever a key list is
20233 unread, "unread" the prefix arg, too. This fixes bug #8901.
20234
453de99f
OG
202352011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20236
20237 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20238
90439906
JL
202392011-09-05 Juri Linkov <juri@jurta.org>
20240
20241 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20242
f62bd846
JL
202432011-09-05 Juri Linkov <juri@jurta.org>
20244
20245 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20246 keeping point where processing of grep matches begins, and
20247 continue to delete remaining escape sequences from the same point.
20248 (grep-filter): Make leading zero optional in "0?1;31m" because
20249 git-grep emits "\033[1;31m" escape sequences unlike expected
20250 "\033[01;31m" as GNU Grep does (bug#9408).
20251 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20252
045820ec
JL
202532011-09-05 Juri Linkov <juri@jurta.org>
20254
20255 * subr.el (y-or-n-p): Capitalize "yes".
20256
f5e29b9b
MA
202572011-09-04 Michael Albinus <michael.albinus@gmx.de>
20258
20259 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20260 `tramp-cache-unload-hook' where appropriate.
20261 (tramp-methods): Rename `tramp-remote-sh' to
20262 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20263 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20264
20265 * net/tramp-sh.el (top): Don't require 'shell.
20266 (tramp-methods): Add `tramp-remote-shell' and
20267 `tramp-remote-shell-args' entries.
20268 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20269 (tramp-sh-handle-shell-command): Remove.
20270 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20271 Use `tramp-remote-shell'.
20272
2784c434
CY
202732011-09-03 Chong Yidong <cyd@stupidchicken.com>
20274
393a301e 20275 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
20276 (sendmail-query-once): Save directly to send-mail-function.
20277 Update message-send-mail-function too.
20278
20279 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20280
464cdf56
CS
202812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20282
20283 * progmodes/python.el (python-mode-map): Use correct function to
20284 start python interpreter from menu-bar (as reported by Geert
20285 Kloosterman).
20286 (inferior-python-mode-map): Fix typo.
393a301e 20287 (python-shell-map): Remove.
464cdf56 20288
d37e5c87
DD
202892011-09-03 Deniz Dogan <deniz@dogan.se>
20290
20291 * net/rcirc.el (rcirc-print): Simplify code for
20292 rcirc-scroll-show-maximum-output. There is no need to walk
20293 through all windows to find the right one.
20294
f3ada0ee
CS
202952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20296
20297 * help.el (help-return-method): Doc fix.
20298
1f3c99ca
MR
202992011-09-03 Martin Rudalics <rudalics@gmx.at>
20300
20301 * window.el (window-deletable-p): Don't return a non-nil value
20302 when there's a buffer that was shown in the window before.
20303 (Bug#9419)
393a301e
SM
20304 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20305 Set window's previous buffers to nil.
1f3c99ca 20306
a3cf097f
EZ
203072011-09-03 Eli Zaretskii <eliz@gnu.org>
20308
20309 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20310 newline before and after the tag line, so it doesn't interfere
20311 with determining the paragraph direction of bidirectional text.
20312
3d03de90
LL
203132011-09-03 Leo Liu <sdl.web@gmail.com>
20314
20315 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20316
c3313451
CY
203172011-09-02 Chong Yidong <cyd@stupidchicken.com>
20318
393a301e 20319 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
20320 (pop-to-buffer): Change interactive spec. Pass second argument
20321 directly to display-buffer.
20322 (display-buffer): Fix interactive spec. Use functionp to
20323 distinguish between a function and a list of functions.
20324
20325 * abbrev.el (edit-abbrevs):
20326 * arc-mode.el (archive-extract):
20327 * autoinsert.el (auto-insert):
20328 * bookmark.el (bookmark-bmenu-list):
20329 * files.el (find-file):
20330 * view.el (view-buffer):
20331 * progmodes/compile.el (compilation-goto-locus):
20332 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20333
89894cd8
CY
203342011-09-02 Chong Yidong <cyd@stupidchicken.com>
20335
20336 * window.el (display-buffer-alist): Doc fix.
20337 (display-buffer): Add docstring. Don't treat
20338 display-buffer-default specially.
20339 (display-buffer-reuse-selected-window)
20340 (display-buffer-same-window, display-buffer-maybe-same-window)
20341 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20342 (display-buffer-pop-up-window)
20343 (display-buffer-reuse-or-pop-window)
20344 (display-buffer-use-some-window): New functions.
20345 (display-buffer-default-action): Use them.
393a301e 20346 (display-buffer-default): Delete.
89894cd8
CY
20347 (pop-to-buffer-1): Fix choice of actions.
20348
ae0bc9fb
SM
203492011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20350
20351 * minibuffer.el (completion--insert-strings): Don't get confused by
20352 completion entries that end with an LF char.
20353
e9d90883
EZ
203542011-09-01 Eli Zaretskii <eliz@gnu.org>
20355
20356 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20357
437014c8
CY
203582011-09-01 Chong Yidong <cyd@stupidchicken.com>
20359
20360 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
20361 (display-buffer-same-window, display-buffer-other-window):
20362 New functions.
437014c8
CY
20363 (pop-to-buffer-1): New function. Use the above.
20364 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 20365 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
20366
20367 * view.el (view-buffer-other-window, view-buffer-other-frame):
20368 Just use pop-to-buffer.
20369
a5e063d5
TV
203702011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20371
20372 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20373
793d32bb
WH
203742011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20375
20376 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20377
d65e4c15
RS
203782011-08-31 Richard Stallman <rms@gnu.org>
20379
20380 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20381 of the separation of rmail-view-buffer from rmail-buffer.
20382 If you say no to "replace original", the decrypt is in the
20383 view buffer. If you say yes, the decrypt goes into the
20384 rmail buffer also.
20385
f818cd2a
MR
203862011-08-31 Martin Rudalics <rudalics@gmx.at>
20387
20388 * window.el (display-buffer-window): Rewrite doc-string.
20389 (display-buffer-record-window): New function.
20390 (display-buffer-macro-specifiers)
20391 (display-buffer-even-window-sizes, display-buffer-set-height)
20392 (display-buffer-set-width, display-buffer-in-window)
20393 (display-buffer-reuse-window, display-buffer-split-specifiers)
20394 (display-buffer-side-specifiers, display-buffer-split-window-1)
20395 (display-buffer-split-window, display-buffer-split-atom-window)
20396 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20397 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20398 (display-buffer-other-window-means-other-frame)
20399 (display-buffer-normalize-special)
20400 (display-buffer-normalize-default)
20401 (display-buffer-normalize-argument)
20402 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20403 (display-buffer-normalize-specifiers, display-buffer-frame)
20404 (display-buffer-same-window, display-buffer-same-frame)
20405 (display-buffer-other-window)
20406 (display-buffer-same-frame-other-window)
20407 (display-buffer-other-frame, pop-to-buffer-same-window)
20408 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20409 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20410 (switch-to-buffer-same-frame)
20411 (switch-to-buffer-other-window-same-frame)
20412 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20413 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20414 (display-buffer-alist-set): Remove.
20415 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
20416 (special-display-regexps, special-display-function):
20417 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
20418 parameter.
20419 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20420 (special-display-frame-alist, special-display-popup-frame)
20421 (same-window-buffer-names, same-window-regexps, same-window-p)
20422 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20423 (split-window-preferred-function, split-height-threshold)
20424 (split-width-threshold, window-splittable-p)
20425 (split-window-sensibly, window--try-to-split-window)
20426 (window--frame-usable-p, even-window-heights)
20427 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
20428 (window--display-buffer-2, display-buffer-other-frame):
20429 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
20430 (display-buffer-default, display-buffer-assq-regexp): New functions.
20431 (display-buffer-alist): Rewrite doc-string.
20432 (display-buffer-default-action)
20433 (display-buffer-overriding-action): New variables.
20434 (display-buffer, switch-to-buffer): Rewrite.
20435 (pop-to-buffer): Restore Emacs 23 behavior but use
20436 window-normalize-buffer-to-display.
20437 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20438 Restore Emacs 23 behavior but use
20439 window-normalize-buffer-to-switch-to.
20440 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
20441 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20442 Rewrite using Emacs 23 options.
f818cd2a 20443
5bc3b51d
MA
204442011-08-31 Michael Albinus <michael.albinus@gmx.de>
20445
20446 * net/tramp.el (tramp-root-regexp): Remove.
20447 (tramp-completion-file-name-regexp-unified)
20448 (tramp-completion-file-name-regexp-separate)
20449 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 20450 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
20451 (tramp-drop-volume-letter): Simplify definition.
20452 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 20453
b1a4f8e1
SM
204542011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20455
20456 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20457 (bug#9356).
20458
5664fa7b
RT
204592011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20460
b1a4f8e1 20461 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 20462
9a45d6c3
JL
204632011-08-29 Juri Linkov <juri@jurta.org>
20464
20465 * isearch.el (isearch-done): Don't display message "Mark saved"
20466 when arg `edit' is non-nil to prevent its flicker in the echo area.
20467
fb87e0fb
CY
204682011-08-28 Chong Yidong <cyd@stupidchicken.com>
20469
20470 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20471 obsolete packages for deletion.
20472
09ac1c2a
CS
204732011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20474
20475 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 20476 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
20477 view-mode from help-mode.
20478 (help-xref-override-view-map): Remove.
20479 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20480 view-mode is not used anymore.
20481
7a1ff57f
CY
204822011-08-28 Chong Yidong <cyd@stupidchicken.com>
20483
20484 * server.el (server-port): Doc fix.
20485
b9696605
CY
20486 * cus-theme.el (custom-theme-choose-mode): Inherit from
20487 special-mode (Bug#9124).
20488 (custom-theme-choose-mode-map): Add special-mode to parent.
20489
ef8cdf8c
AM
204902011-08-28 Alan Mackenzie <acm@muc.de>
20491
20492 * progmodes/cc-fonts.el
20493 (c-make-font-lock-BO-decl-search-function): New function.
20494 (c-basic-matchers-after - "Fontify the clauses after various
20495 keywords"): Extract the three keyword lists for the 3 erroneous
20496 constructs from the list of four, and use the new function above
20497 in place of an old one.
20498
27de4e20
DD
204992011-08-28 Deniz Dogan <deniz@dogan.se>
20500
20501 * net/rcirc.el (rcirc-insert-prev-input)
20502 (rcirc-insert-next-input): Remove unused argument.
20503
356a3681
SM
205042011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20507
3fc9b218
AM
205082011-08-27 Alan Mackenzie <acm@muc.de>
20509
20510 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20511 handle function pointer parameters properly.
20512
538a061c
MR
205132011-08-27 Martin Rudalics <rudalics@gmx.at>
20514
20515 * window.el (display-buffer-reuse-window): Fix case where
20516 selected window was reused with non-nil OTHER-WINDOW argument.
20517 (Bug#9381)
20518
35b1c40c
DD
205192011-08-27 Deniz Dogan <deniz@dogan.se>
20520
20521 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20522 oftc's NickServ messages.
20523
2f6a3e79
GM
205242011-08-27 Glenn Morris <rgm@gnu.org>
20525
20526 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20527
7254299e
CY
205282011-08-26 Chong Yidong <cyd@stupidchicken.com>
20529
20530 * emacs-lisp/package.el (package-install): Call package-initialize
20531 if called interactively.
20532
f8ccf167
LL
205332011-08-26 Leo Liu <sdl.web@gmail.com>
20534
20535 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20536
3e8cd5ce
JL
205372011-08-25 Juri Linkov <juri@jurta.org>
20538
20539 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20540 `search-whitespace-regexp' (bug#9364).
20541
93eb7113
JL
205422011-08-25 Juri Linkov <juri@jurta.org>
20543
20544 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20545 `regexp-search-ring' to their global values to protect from
20546 updating by `read-from-minibuffer' (bug#9185).
20547
f65d1611
JL
205482011-08-25 Juri Linkov <juri@jurta.org>
20549
20550 * textmodes/ispell.el (ispell-command-loop): Add newline
20551 at the end of the "Use option `i'..." line.
20552
f1cf7a31
JL
205532011-08-25 Juri Linkov <juri@jurta.org>
20554
20555 * battery.el (display-battery-mode): If `battery-status-function'
20556 or `battery-mode-line-format' is nil, display the message and set
20557 `display-battery-mode' to nil (bug#9363).
20558
0c95fcf7
EZ
205592011-08-25 Eli Zaretskii <eliz@gnu.org>
20560
20561 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20562 bidi-string-mark-left-to-right; they are unnecessary now.
20563
a2ebe600
DD
205642011-08-25 Deniz Dogan <deniz@dogan.se>
20565
20566 * net/quickurl.el: Documentation typo fixes.
20567
e4ed06f1
CY
205682011-08-25 Chong Yidong <cyd@stupidchicken.com>
20569
20570 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20571
e5f1c99e
GM
205722011-08-25 Glenn Morris <rgm@gnu.org>
20573
b2948976
GM
20574 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20575
e5f1c99e
GM
20576 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20577 (smtpmail-via-smtp): Handle nil response from smtp.
20578
f22f4808
JL
205792011-08-24 Juri Linkov <juri@jurta.org>
20580
20581 * proced.el (proced-marked): Inherit from `error' instead of
20582 `font-lock-warning-face'.
20583
20584 * ibuffer.el (ibuffer-marked-face): Change default face from
20585 `font-lock-warning-face' to `warning'.
20586 (ibuffer-deletion-face): Change default face from
20587 `font-lock-type-face' to `error'.
20588
20589 * battery.el (battery-update): Use the face `error' instead of
20590 `font-lock-warning-face' (bug#6117).
20591
6a93965e
JL
205922011-08-24 Juri Linkov <juri@jurta.org>
20593
20594 * faces.el (success): Change face color from "Green3" to
20595 "ForestGreen" on light background (bug#9353).
20596
1ed43b09
CY
205972011-08-24 Chong Yidong <cyd@stupidchicken.com>
20598
5664fa7b
RT
20599 * window.el (quit-window): Rename from quit-restore-window.
20600 Use same arglist as old quit-window.
1ed43b09
CY
20601 (frame-auto-delete): Doc fix.
20602
20603 * view.el (view-mode-exit): Use quit-window.
20604
11dcdbb2
JL
206052011-08-24 Juri Linkov <juri@jurta.org>
20606
20607 * isearch.el (isearch-ring-adjust1): Start visiting previous
20608 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20609 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20610 for empty search string (when the last search string is reused
20611 automatically) to adjust the isearch ring to the last element and
20612 prepare the correct index for further M-p commands (bug#9185).
20613
de62b4df
KH
206142011-08-24 Kenichi Handa <handa@m17n.org>
20615
20616 * international/ucs-normalize.el: If decomposition property of
20617 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20618 nil.
20619 (nfd, nfkd): Likewise.
20620
963b492b
SM
206212011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20622
20623 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20624 from process filters aren't reliably transmitted to the surrounding
20625 accept-process-output.
20626 (mpc-proc-check): New function.
20627 (mpc-proc-sync): Use it (bug#8293)
20628
93b6b5e1
SM
206292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20630
20631 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20632 Add compatibility functions (bug#9313).
20633
bca633fb
EZ
206342011-08-23 Eli Zaretskii <eliz@gnu.org>
20635
b177498a
EZ
20636 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20637
6df6ae42 20638 * international/uni-bidi.el: Regenerate.
bca633fb 20639
0902a04e
KH
206402011-08-23 Kenichi Handa <handa@m17n.org>
20641
20642 * international/charprop.el:
20643 * international/uni-bidi.el:
20644 * international/uni-category.el:
20645 * international/uni-combining.el:
20646 * international/uni-comment.el:
20647 * international/uni-decimal.el:
20648 * international/uni-decomposition.el:
20649 * international/uni-digit.el:
20650 * international/uni-lowercase.el:
20651 * international/uni-mirrored.el:
20652 * international/uni-name.el:
20653 * international/uni-numeric.el:
20654 * international/uni-old-name.el:
20655 * international/uni-titlecase.el:
20656 * international/uni-uppercase.el: Regenerate.
20657
3bbf23bc
MR
206582011-08-23 Martin Rudalics <rudalics@gmx.at>
20659
20660 * help.el (help-window-setup): Fix message displayed when other
20661 window is reused. (Bug#9341)
20662
b3fd59bd
SM
206632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20664
1802e444
SM
20665 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20666 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20667
b3fd59bd
SM
20668 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20669 Mark obsolete.
20670 * shell.el (shell-parse-pcomplete-arguments): New function.
20671 (shell-completion-vars): Use it instead (bug#9160).
20672
4eb61348
SM
206732011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20674
867cab74
SM
20675 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20676 strings and comments (bug#9333).
20677
4eb61348
SM
20678 * emacs-lisp/debug.el (debug-arglist): New function.
20679 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20680 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20681
262a1439
JL
206822011-08-22 Juri Linkov <juri@jurta.org>
20683
56ee679c
JL
20684 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20685 Revert regexp that highlights output switches to its old
20686 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20687
262a1439
JL
20688 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20689 to check for empty output (bug#9226).
20690
f13f86fb
CY
206912011-08-22 Chong Yidong <cyd@stupidchicken.com>
20692
20693 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20694 symbol-constituent as the default, as that stops font-lock from
20695 working properly (Bug#8843).
20696
c65c9622
LMI
206972011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20698
20699 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20700 `coding-system-for-*' around the process open call to avoid
20701 auth-source side effects.
e7f2c178 20702 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
20703 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20704 probe hangs.
c65c9622 20705
23a8a5ab
CY
207062011-08-21 Chong Yidong <cyd@stupidchicken.com>
20707
ff98b2dd
CY
20708 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20709
23a8a5ab
CY
20710 * emacs-lisp/find-func.el (find-function-noselect): New arg
20711 lisp-only.
20712
20713 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20714 signal an error for built-in functions (Bug#6664).
20715
f5e3c598
LMI
207162011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20717
20718 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20719 (smtpmail-try-auth-methods): Use it.
20720
a3f2468a
CY
207212011-08-21 Chong Yidong <cyd@stupidchicken.com>
20722
2c34e8da
CY
20723 * font-lock.el (font-lock-fontify-region)
20724 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20725 (font-lock-default-unfontify-buffer)
20726 (font-lock-default-fontify-region)
20727 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20728
b3fd59bd
SM
20729 * progmodes/compile.el (compilation-error-properties):
20730 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
20731 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20732 `ant' regexp.
ee31aabc 20733
a3f2468a
CY
20734 * net/browse-url.el (browse-url-firefox): Don't call
20735 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20736
8e999f70
GM
207372011-08-20 Glenn Morris <rgm@gnu.org>
20738
c21a496a
GM
20739 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20740
59ee0542
GM
20741 * tutorial.el (tutorial--default-keys): Update some default bindings.
20742
8e999f70
GM
20743 * files.el (hack-local-variables): Fully ignore case for "mode:".
20744
e3715033
AM
207452011-08-20 Alan Mackenzie <acm@muc.de>
20746
20747 Resolve invalid use of a regexp in regexp-opt.
20748
4d61f28d
JB
20749 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20750 detection for a java annotation.
e3715033 20751
4d61f28d 20752 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
20753 detection for a java annotation.
20754
4d61f28d
JB
20755 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20756 handling for java.
e3715033
AM
20757 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20758
04ed2e9c
CY
207592011-08-20 Chong Yidong <cyd@stupidchicken.com>
20760
20761 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20762 (Bug#9274).
20763
826cee64
AM
207642011-08-20 Alan Mackenzie <acm@muc.de>
20765
58179cce 20766 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
20767 such a construct. Mainly for when jit-lock etc. starts a chunk
20768 here.
20769
58179cce 20770 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 20771 variable.
58179cce 20772 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
20773 c-make-font-lock-search-function.
20774 (c-make-font-lock-search-function): Use the above function.
20775 (c-make-font-lock-context-search-function): New function.
20776 (c-cpp-matchers): Enhance the preprocessor expression case with
20777 the above function
20778 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20779 which takes an expression.
20780
20781 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20782
13009bd8
MR
207832011-08-20 Martin Rudalics <rudalics@gmx.at>
20784
20785 * window.el (display-buffer-reuse-window)
20786 (display-buffer-pop-up-window): Don't reuse or split a side
20787 window.
20788
9234ff7f
GM
207892011-08-19 Glenn Morris <rgm@gnu.org>
20790
20791 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 20792 Downcase "Mode:". (Bug#9331)
9234ff7f 20793
f635daa1
CY
207942011-08-18 Chong Yidong <cyd@stupidchicken.com>
20795
20796 * international/characters.el: Add L and R categories.
20797
20798 * subr.el (bidi-string-mark-left-to-right): Rename from
20799 string-mark-left-to-right. Use category search.
20800
20801 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20802
bc987f8b
JL
208032011-08-18 Juri Linkov <juri@jurta.org>
20804
20805 * faces.el (error, warning, success): New faces with definitions
20806 copied from old default values of `font-lock-warning-face',
20807 `compilation-warning', `compilation-info' (bug#6117).
20808
20809 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20810
20811 * progmodes/compile.el (compilation-error): Inherit from `error'.
20812 (compilation-warning): Inherit from `warning'.
20813 (compilation-info): Inherit from `success'.
20814
20815 * dired.el (dired-marked): Inherit from `warning'.
20816 (dired-flagged): Inherit from `error'.
20817
57173b96
LMI
208182011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20819
3e79eb87
LMI
20820 * mail/smtpmail.el (auth-source): Require to avoid problems with
20821 binding variables (bug#9298). Also clean up some unused
20822 autoloads.
20823
b3fd59bd
SM
20824 * net/network-stream.el (network-stream-open-starttls):
20825 Support using starttls.el without using gnutls-cli.
57173b96 20826
02b404de
JL
208272011-08-17 Juri Linkov <juri@jurta.org>
20828
20829 * progmodes/grep.el (rgrep): Handle the case when
20830 `grep-find-command' is a cons cell (bug#9278).
20831
8c9177f2
MR
208322011-08-17 Martin Rudalics <rudalics@gmx.at>
20833
20834 * window.el (display-buffer-pop-up-frame): Run frame creation
20835 function with BUFFER current (as special-display-popup-frame
20836 does). Reported by Drew Adams.
20837
3644a0ab
DU
208382011-08-17 Daiki Ueno <ueno@unixuser.org>
20839
20840 * epa-mail.el: Simplify GnuPG group expansion using
20841 epg-expand-group.
20842 (epa-mail-group-alist, epa-mail-group-modtime)
20843 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20844 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20845 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20846 Remove.
20847
5e617bc2 208482011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
20849
20850 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20851
9c4aeabf
AM
208522011-08-16 Alan Mackenzie <acm@muc.de>
20853
20854 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20855 Correct, to avoid the inside of macros.
20856
3a99bf64
RS
208572011-08-16 Richard Stallman <rms@gnu.org>
20858
04963aa8
RS
20859 * epa-mail.el: Handle GnuPG group definitions.
20860 (epa-mail-group-alist, epa-mail-group-modtime)
20861 (epa-mail-gnupg-conf-file): New variables.
20862 (epa-mail-parse-groups, epa-mail-sync-groups)
20863 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20864 (epa-mail-expand-recipients): New functions.
20865 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20866
177549d0
RS
20867 * mail/rmail.el (rmail-epa-decrypt): New command.
20868
fe38beef
RS
20869 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20870 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
20871 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20872 (epa-decrypt-armor-in-region): Make error message clearer.
20873
934eacb9
SM
208742011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20875
20876 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20877 and "a2b" to "ab" for `prefix'.
20878
d024fb4e
CY
208792011-08-14 Chong Yidong <cyd@stupidchicken.com>
20880
20881 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20882 filter groups.
de148fee
CY
20883 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20884 Fourquet (Bug#8804).
d024fb4e 20885
62f1ca49
JB
208862011-08-12 Juanma Barranquero <lekktu@gmail.com>
20887
20888 * startup.el (argi): Declare as global variable (bug#9275).
20889
9ccaaa4b
CY
208902011-08-12 Chong Yidong <cyd@stupidchicken.com>
20891
20892 * subr.el (string-mark-left-to-right): Search the entire string
20893 for RTL script, not just the terminating character. Doc fix.
20894
a3dae87a
SM
208952011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20896
6cd18349
SM
20897 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20898 New function.
20899 (js--regexp-literal, js-syntax-propertize-function): Remove.
20900 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20901 (js-mode-map): Don't rebind electric keys.
20902 (js-insert-and-indent): Remove.
20903 (js-mode): Setup electric-layout and electric-indent instead.
20904
a3dae87a
SM
20905 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20906
9d5cb631
DU
209072011-08-12 Daiki Ueno <ueno@unixuser.org>
20908
20909 * epa.el (epa-progress-callback-function): Fix the logic of
20910 displaying progress.
20911 * epa-file.el (epa-file-insert-file-contents): Make progress
20912 display more user-friendly.
20913 (epa-file-write-region): Ditto.
20914
3e26a4a2
CY
209152011-08-10 Chong Yidong <cyd@stupidchicken.com>
20916
20917 * subr.el (string-mark-left-to-right): New function.
20918
20919 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20920 Use string-mark-left-to-right.
20921 (list-buffers-noselect): Caller changed.
20922
a3dae87a
SM
20923 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20924 Use string-mark-left-to-right.
3e26a4a2
CY
20925 (tabulated-list-print): Recenter after moving point.
20926
ac8cf6e6
JL
209272011-08-10 Juri Linkov <juri@jurta.org>
20928
20929 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20930 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20931 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20932
8d96c9a4
CY
209332011-08-09 Chong Yidong <cyd@stupidchicken.com>
20934
20935 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20936 (Bug#7554).
20937
7be1c708 209382011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
20939
20940 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20941 character. (Bug#6594)
20942
37e11a63
CY
209432011-08-08 Chong Yidong <cyd@stupidchicken.com>
20944
839dde57
CY
20945 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20946 (image-dired--with-db-file): New macro.
20947 (image-dired-write-tags, image-dired-remove-tag)
20948 (image-dired-create-gallery-lists, image-dired-write-comments)
20949 (image-dired-get-comment, image-dired-mark-tagged-files)
20950 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20951 (image-dired-gallery-generate): Use insert-file-contents.
20952
37e11a63
CY
20953 * time.el (display-time-world-list, display-time-world-display):
20954 * time-stamp.el (time-stamp-string):
20955 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20956 set-time-zone-rule (Bug#7337).
20957
0b4946c4
DU
209582011-08-08 Daiki Ueno <ueno@unixuser.org>
20959
20960 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20961 (epg-error-to-string, epg-errors-to-string): New function.
20962 (epg-wait-for-completion): Reverse errors list.
20963 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20964 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20965 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20966 (epg-sign-keys, epg-generate-key-from-file)
20967 (epg-generate-key-from-string): Format errors by using
20968 epg-errors-to-string (bug#9255).
20969 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20970
75bfc667
JL
209712011-08-07 Juri Linkov <juri@jurta.org>
20972
20973 * faces.el (list-faces-display): Remove extra angle bracket
20974 from `help-mode-map'.
20975
20976 * info.el (Info-history-toc-nodes): Doc fix.
20977
20978 * longlines.el (longlines-mode): Doc fix.
20979
673e08bb
SM
209802011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20981
4640dd88
SM
20982 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20983 of statements and in a few more cases (bug#9183).
20984
673e08bb
SM
20985 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20986 New functions.
20987 (cl-transform-lambda): Use them (bug#9239).
20988
89b3f019
MR
209892011-08-05 Martin Rudalics <rudalics@gmx.at>
20990
20991 * window.el (display-buffer-same-window)
20992 (display-buffer-same-frame, display-buffer-other-window)
20993 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20994 (pop-to-buffer-other-window)
20995 (pop-to-buffer-same-frame-other-window)
20996 (pop-to-buffer-other-frame): Make them defuns.
20997 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20998
640c8776
SM
209992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21000
21001 * subr.el (make-composed-keymap): Move from C. Change calling
21002 convention, and improve docstring to bring attention to a subtle point.
21003 * minibuffer.el (completing-read-default): Adjust accordingly.
21004
63648a95
MA
210052011-08-03 Michael Albinus <michael.albinus@gmx.de>
21006
21007 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21008 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21009
21010 * net/trampver.el: Update release number.
21011
b796c9b7
SM
210122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21013
21014 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21015 "in" (bug#9190).
21016
2239d7d5
LMI
210172011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21018
e07dd7c3
LMI
21019 * mail/sendmail.el (sendmail-query-once): Restore the current
21020 buffer after querying (bug#9074).
21021
0e6a2bd7
LMI
21022 * dired.el (dired-flagged): Use different faces for marked and
21023 flagged files (bug#6117).
21024
ce887515
LMI
21025 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21026 (bug#4433).
21027
92f2affc
LMI
21028 * ido.el (ido-mode): Switch off the message if called
21029 non-interactively.
21030
57d5aff0
LMI
21031 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21032 before 587, since it appears that that's more likely to work for
21033 more people.
21034
98cd6c18 21035 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 21036 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
21037 exist.
21038
b96dec83
LMI
21039 * info.el: Remove the `Info-beginning-of-buffer' function
21040 (bug#8325).
21041
b796c9b7
SM
21042 * net/network-stream.el (network-stream-open-starttls):
21043 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 21044
d90e2ea0
MR
210452011-08-01 Martin Rudalics <rudalics@gmx.at>
21046
21047 * window.el (display-buffer-in-window): Don't set dedicated status
21048 of window here (Bug#9215).
21049 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21050 (display-buffer-pop-up-side-window)
b796c9b7 21051 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 21052
cca09170
SM
210532011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21054
21055 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21056 before binding generated-autoload-file.
21057
027b979c
DD
210582011-08-01 Deniz Dogan <deniz@dogan.se>
21059
21060 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21061
3c7ee4f3
MA
210622011-07-30 Michael Albinus <michael.albinus@gmx.de>
21063
21064 Sync with Tramp 2.2.2.
21065
21066 * net/trampver.el: Update release number.
21067
2cc8e51a
JL
210682011-07-30 Juri Linkov <juri@jurta.org>
21069
21070 * dired-aux.el (dired-touch-initial): Remove function.
21071 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21072 current time, and `default' to the last modification time of the
21073 current marked file (bug#6887).
21074
a514d856
JM
210752011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21076
21077 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 21078 numeric argument to read-number (bug#9163).
a514d856 21079
8a7eddd7
MA
210802011-07-27 Michael Albinus <michael.albinus@gmx.de>
21081
21082 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21083 connection process, it could be nil.
21084
1ddd96f5
LL
210852011-07-27 Leo Liu <sdl.web@gmail.com>
21086
21087 Simplify url handling in rcirc-mode.
21088
21089 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21090 (rcirc-browse-url-at-mouse): Remove.
21091 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21092
b248a85d
AM
210932011-07-26 Alan Mackenzie <acm@muc.de>
21094
21095 Fontify bitfield declarations properly.
21096
21097 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21098 (c-symbol-chars): Now exported as a lang variable.
21099 (c-not-primitive-type-keywords): New lang variable.
21100
21101 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21102 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 21103 parsed as a bitfield declaration.
b248a85d 21104
b796c9b7
SM
21105 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21106 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
21107 (c-punctuation-in): New function.
21108 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21109 declarations properly.
21110
68575ab0
UJ
211112011-07-26 Ulf Jasper <ulf.jasper@web.de>
21112
21113 * calendar/icalendar.el (icalendar--all-events): Take care of
21114 multiple vcalendars in a single file.
b796c9b7 21115 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 21116
0f0a88b9
DD
211172011-07-25 Deniz Dogan <deniz@dogan.se>
21118
21119 * image.el (insert-image): Clarifying docstring.
21120
0b3f36df
MA
211212011-07-24 Michael Albinus <michael.albinus@gmx.de>
21122
21123 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21124 `tramp-send-command-and-check' if there is no error.
21125 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21126
a9901f61
AM
211272011-07-22 Alan Mackenzie <acm@muc.de>
21128
21129 Prevent cc-langs.elc being loaded at run time.
21130
21131 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21132 cc-langs.
21133
4d61f28d 21134 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
21135 "(require 'cc-langs)". Quote a form so it will evaluate at
21136 (cc-mode's) compilation time.
21137
11d074b2
MA
211382011-07-22 Michael Albinus <michael.albinus@gmx.de>
21139
21140 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21141 loading. (Bug#9114)
21142
938b94c8
MR
211432011-07-21 Martin Rudalics <rudalics@gmx.at>
21144
21145 * window.el (display-buffer-pop-up-window)
21146 (display-buffer-pop-up-side-window)
21147 (display-buffer-in-side-window): Call display-buffer-set-height
21148 and display-buffer-set-width after setting the new window's
b796c9b7 21149 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 21150
bfa4f190
SS
211512011-07-20 Sam Steingold <sds@gnu.org>
21152
21153 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21154 (etags-tags-included-tables): Call `convert-standard-filename' on
21155 the file names contained in TAGS so that windows Emacs can handle
21156 TAGS files created by cygwin ctags.
21157
8ca42262
LMI
211582011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21159
21160 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21161 which apparently didn't work.
21162
5db2afd2 211632011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 21164
5db2afd2
RW
21165 * proced.el (proced-send-signal): For *Marked Processes* buffer
21166 put point at beginning of buffer.
21167
92e15d10
SB
211682011-07-19 Stephen Berman <stephen.berman@gmx.net>
21169
21170 * proced.el (proced-format): Make header lines align with the text
21171 (bug#1779).
21172
1bfd59e5
LMI
211732011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21174
21175 * view.el (view-buffer): Allow running in `special' modes if we're
21176 visiting a file (bug#8615).
21177
f5aae37c
MR
211782011-07-19 Martin Rudalics <rudalics@gmx.at>
21179
21180 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
21181 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21182 New functions.
f5aae37c
MR
21183 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21184 more accurately.
21185
bf2c1571
AM
211862011-07-18 Alan Mackenzie <acm@muc.de>
21187
21188 Fontify declarators properly when, e.g., a jit-lock chunk begins
21189 inside a declaration.
21190
21191 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21192
b796c9b7
SM
21193 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21194 New function.
bf2c1571
AM
21195 (c-complex-decl-matchers): Insert reference to
21196 c-font-lock-enclosing-decls.
21197
21198 * progmodes/cc-engine.el (c-backward-single-comment):
21199 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21200 to nil around calls to (forward-comment -1).
21201
4e190b80
LMI
212022011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21203
12dc863d
LMI
21204 * image.el (put-image): Doc typo fix.
21205
a762e966
LMI
21206 * progmodes/etags.el (tags-search): Doc typo fix.
21207
4e190b80
LMI
21208 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21209 password if we get errors 550 to 554.
21210
f019fb21
LMI
212112011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21212
b796c9b7 21213 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 21214
81746738
LMI
21215 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21216 indentation character (bug#6380).
21217
3ee3a1b5
LMI
21218 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21219
c82f64de
LMI
21220 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21221 to clarify what the problem is (bug#4291).
21222
f019fb21
LMI
21223 * simple.el (current-kill): Clarify what
21224 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
21225 (auto-fill-mode): Document `auto-fill-function' in relation to
21226 `auto-fill-mode' (bug#2470).
f019fb21 21227
0794775d
LM
212282011-07-16 Lawrence Mitchell <wence@gmx.li>
21229
21230 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21231 method if slot is read-only (bug#9035).
21232
be39b8cc
MR
212332011-07-16 Martin Rudalics <rudalics@gmx.at>
21234
b796c9b7 21235 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 21236 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
21237 selected before, see discussion of (Bug#8615), (Bug#6954).
21238 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 21239
6ccf7859
GM
212402011-07-15 Glenn Morris <rgm@gnu.org>
21241
21242 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 21243 Respect help-form.
6ccf7859 21244
87e86684
LM
212452011-07-09 Lawrence Mitchell <wence@gmx.li>
21246
21247 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21248 (gnutls-negotiate): Use it.
21249
d6066239
LMI
212502011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21251
b796c9b7
SM
21252 * net/gnutls.el (gnutls-negotiate):
21253 Upcase `gnutls-algorithm-priority'.
d6066239 21254
bd23ebc0
GM
212552011-07-15 Glenn Morris <rgm@gnu.org>
21256
c65bca65
GM
21257 * jka-compr.el (jka-compr-verbose): Move from here...
21258 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21259 Add missing :version tag.
21260 * info.el: No need to require jka-compr when compiling.
bd23ebc0 21261
478615cc
LMI
212622011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21263
7b41decb
LMI
21264 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21265 (gnutls-negotiate): Use it.
21266
dbc44fcd
LMI
21267 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21268
06789f97
LMI
21269 * info.el (Info-beginning-of-buffer): New command.
21270 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21271 announcing `b' as the key (bug#8325).
ab896c37 21272 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 21273
c39da690
LMI
21274 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21275
3aa5f34b
LMI
21276 * international/mule-cmds.el
21277 (describe-specified-language-support): Make the error message
21278 clearer (bug#8905).
21279
4bf0979f
LMI
21280 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21281
478615cc
LMI
21282 * isearch.el (isearch-barrier): Add a doc string, since it's
21283 mentioned in a function doc string (bug#8678).
21284
75c68aa1
MR
212852011-07-15 Martin Rudalics <rudalics@gmx.at>
21286
21287 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21288 buffer argument (Bug#9083) and self-identifying label argument.
21289
a7c33da2
GM
212902011-07-15 Glenn Morris <rgm@gnu.org>
21291
21292 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21293
2f5c6024
LMI
212942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21295
21296 * man.el (Man-fontify-manpage): Fix message when formatting the
21297 man page (bug#7929).
21298
0bb23927 212992011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
21300
21301 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21302 argument LRM; if non-nil, append an invisible LRM character to the
21303 buffer name.
21304 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21305 last argument non-nil, when formatting buffer names.
0bb23927
EZ
21306 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21307 paragraph direction.
cce4b0a7 21308
621ef9ab
LMI
213092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21310
d1583c48
LMI
21311 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21312 the man page name (bug#7929).
21313
6a57fb5f
LMI
21314 * image.el (put-image): Mention the `put-image' overlay property
21315 (bug#7834).
21316
d7956b14
LMI
21317 * scroll-bar.el (set-scroll-bar-mode): Mention that
21318 `scroll-bar-mode' lists the values (bug#7772).
21319
5b2d4a66
LMI
21320 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21321 command (bug#7729).
21322
7509a874
LMI
21323 * rect.el (apply-on-rectangle): Return the point after the last
21324 operation.
21325 (string-rectangle): Go to the point after the last operation
21326 (bug#7522).
21327
4fe74b19
LMI
21328 * printing.el (pr-toggle-region): Clarify the documentation
21329 slightly (bug#7493).
21330
b796c9b7
SM
21331 * time.el (display-time-update):
21332 Allow `display-time-mail-function' to return nil (bug#7158).
21333 Fix suggested by Detlev Zundel.
ab283561 21334
fc233c9d
LMI
21335 * vc/diff.el (diff): Clarify the order the file names are read
21336 (bug#7111).
21337
43f5740b
LMI
21338 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21339 the doc string (bug#7015).
21340
f2182a76
LMI
21341 * font-lock.el (font-lock-maximum-decoration): Mention what
21342 numeric levels mean (bug#6935).
21343
621ef9ab
LMI
21344 * startup.el (initial-buffer-choice): Don't mention the `none'
21345 selection, which is against policy.
21346
adc47434
MR
213472011-07-14 Martin Rudalics <rudalics@gmx.at>
21348
b796c9b7
SM
21349 * window.el (display-buffer-normalize-special):
21350 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 21351
7e5bfb8f
EZ
213522011-07-14 Eli Zaretskii <eliz@gnu.org>
21353
21354 * subr.el (version<, version<=, version=): Mention "-CVS" and
21355 "-12345" alpha version numbers.
21356
27fa387a
CY
213572011-07-14 Chong Yidong <cyd@stupidchicken.com>
21358
21359 * bindings.el: Add advertised binding for set-mark-command
21360 (Bug#5772).
21361
8bdfa064
CY
213622011-07-14 Chong Yidong <cyd@stupidchicken.com>
21363
21364 * bindings.el (mode-line-other-buffer):
21365 * bookmark.el (bookmark-bmenu-2-window):
21366 * bs.el (bs-cycle-next, bs-cycle-previous):
21367 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21368 switch-to-buffer.
21369
21370 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 21371 Delete.
8bdfa064 21372
5eba16a3
JB
213732011-07-14 Juanma Barranquero <lekktu@gmail.com>
21374
21375 * follow.el (follow-debug-message, follow-redisplay):
21376 * jka-cmpr-hook.el (with-auto-compression-mode):
21377 Fix typos in docstrings.
21378
15853710
LMI
213792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21380
a28e4607
LMI
21381 * subr.el (with-silent-modifications): Clarify somewhat what the
21382 macro inhibits (bug#6525).
21383
15853710
LMI
21384 * simple.el (eval-expression): Note what it does if called
21385 interactively (bug#6495).
21386
bee0fcef
CY
213872011-07-13 Chong Yidong <cyd@stupidchicken.com>
21388
b796c9b7
SM
21389 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21390 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
21391
21392 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21393 Remove switch-to-buffer.
21394
58274504
LMI
213952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21396
bd2fcc8d
LMI
21397 * files.el (make-directory): Clarify that an error will be raised
21398 if there's an error (bug#6397).
21399
0f04b32c
LMI
21400 * startup.el (initial-buffer-choice): Add `none' as a choice
21401 (bug#6234).
21402
465c5fc8
LMI
21403 * subr.el (add-hook): Clarify section about buffer-local hooks
21404 (bug#6218).
21405
58274504
LMI
21406 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21407
bead9a43
JB
214082011-07-13 Juanma Barranquero <lekktu@gmail.com>
21409
21410 * tabify.el (untabify): Preserve the current column so that point
21411 doesn't move (bug#6032).
21412
3af98a7b
LMI
214132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21414
b796c9b7
SM
21415 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21416 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 21417
6240145a
GM
214182011-07-13 Glenn Morris <rgm@gnu.org>
21419
21420 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21421 (dired-insert-directory): Give a message the first time
21422 if ls is found not to support --dired.
21423
1d8c2ccc
LMI
214242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21425
21426 * simple.el (toggle-truncate-lines): Clarify what is toggled
21427 (bug#5580). Text by Drew Adams.
21428
5fc4038e
CY
214292011-07-13 Chong Yidong <cyd@stupidchicken.com>
21430
21431 * simple.el (blink-matching-open): Make the error message from the
21432 last change less verbose.
21433
bf6012e5
DN
214342011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21435
21436 * font-lock.el (font-lock-comment-face): Use the high contrast
21437 "yellow" color for font-lock-comment-face on low color terminals
21438 using a dark background color (bug#4221).
21439
343c3b5a
LMI
214402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21441
7e9505c5
LMI
21442 * dired.el (dired-insert-set-properties): Make the doc string
21443 reflect what it does now (bug#5325).
21444
c26fdcf5
LMI
21445 * simple.el (blink-matching-open): Say that we were unable to find
21446 the match within the limit, if we're limited (bug#5122).
21447
bb388cc5
LMI
21448 * international/mule-cmds.el (prefer-coding-system): Add an
21449 example (bug#4869).
21450
343c3b5a
LMI
21451 * progmodes/etags.el (tags-search): Document `file-list-form'
21452 (bug#4731).
21453
2a517d45
LM
214542011-07-13 Lawrence Mitchell <wence@gmx.li>
21455
21456 * net/browse-url.el (browse-url-default-browser)
21457 (browse-url-browser-function): Make the default browser choice a
21458 bit more logical (bug#4300). Also clean up the doc string.
21459
b6c78ef2
JB
214602011-07-13 Juanma Barranquero <lekktu@gmail.com>
21461
21462 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21463 binary endings (bug#4440).
21464
1c4dd947
LMI
214652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21466
a2014063
LMI
21467 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21468 which can be pretty annoying (bug#8971).
21469
9c9c2d88
LMI
21470 * jka-compr.el (jka-compr-verbose): New variable, and use
21471 throughout (bug#8971).
21472
1c4dd947
LMI
21473 * info.el (Info-find-file): Fall back on the installation
21474 directory if we can't find the info node anywhere else.
21475
a1c9f41b
SO
214762011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21477
21478 * vc/vc.el (vc-revert-file):
21479 Don't set file time-stamp in the past. (Bug#5181)
21480
536f3d36
LMI
214812011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21482
7152b011
LMI
21483 * files.el (after-find-file): Give a better error message when
21484 trying to find a symlink that points to a file that doesn't exist
21485 (bug#4398).
21486
536f3d36
LMI
21487 * progmodes/cc-vars.el: Remove (probably) misleading comment
21488 (bug#4396).
21489
460c0fba
JB
214902011-07-12 Johan Bockgård <bojohan@gnu.org>
21491
21492 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21493
7a6bda45
CY
214942011-07-12 Chong Yidong <cyd@stupidchicken.com>
21495
21496 * mouse-sel.el: Hack restoring functionality, while keeping
21497 compatibility with 2010-07-03 changes to mouse selection.
21498 (mouse-sel-primary-overlay): New var.
21499 (mouse-sel-selection-alist): Use it.
21500 (mouse-sel-mode): Doc fix; remove points that are default features
21501 of mouse.el.
21502
c79598ef
JB
215032011-07-12 Johan Bockgård <bojohan@gnu.org>
21504
21505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21506 Fix previous fix (bug#2490).
21507
ff8be6ef
RW
215082011-07-12 Roland Winkler <winkler@gnu.org>
21509
b796c9b7
SM
21510 * textmodes/bibtex.el (bibtex-initialize):
21511 Use pop-to-buffer-same-window.
ff8be6ef
RW
21512 (bibtex-search-entries): Fix interactive call.
21513
296ba3ee
LMI
215142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21515
f5242a02 21516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
21517 Fontise bytecomp Error lines more correctly (bug#2490).
21518 Fix suggested by Johan Bockgård.
f5242a02 21519
296ba3ee
LMI
21520 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21521
21522 * dired-x.el (dired-guess-default): Use `delete-dups'.
21523
f69fd0d2
CY
215242011-07-12 Chong Yidong <cyd@stupidchicken.com>
21525
21526 * dired.el (dired-mark-prompt):
21527 * dired-aux.el (dired-read-shell-command): Doc fix.
21528
eab5dc07
LMI
215292011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21530
b796c9b7
SM
21531 * mail/sendmail.el (sendmail-query-once):
21532 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
21533 emacs -Q.
21534
21535 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21536
eab5dc07
LMI
21537 * cus-edit.el (custom-file): Take an optional no-error variable.
21538 (customize-save-variable): Set the variable, and give a warning if
21539 running under "emacs -q".
21540
a1e65d42
JB
215412011-07-11 Juanma Barranquero <lekktu@gmail.com>
21542
21543 * loadhist.el (unload-feature-special-hooks):
21544 Add `auto-coding-functions', `fill-nobreak-predicate' and
21545 `find-directory-functions' (bug#5327).
21546
1d52da10
LMI
215472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21548
be958f1d
LMI
21549 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21550
5bedb26c
LMI
21551 * cus-edit.el (custom-guess-name-alist): -alist variables should
21552 use the `alist' type (bug#3120). Suggested by Drew Adams.
21553
1d52da10
LMI
21554 * printing.el: Add documentation to all the `pr-toggle-' commands.
21555
cd394be1 215562011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
21557
21558 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21559 backends where it makes sense (bug#2623).
21560
dcc88d8a
LMI
215612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21562
c3de9feb
LMI
21563 * dired-x.el (dired-guess-default): Remove duplicate shell command
21564 entries (bug#2028).
8a93078b 21565 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 21566 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 21567
dcc88d8a
LMI
21568 * subr.el (remove-duplicates): New conveniency function.
21569
505e3645
LMI
215702011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21571
21572 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21573 (bug#1526).
21574
215752011-07-10 Martin Rudalics <rudalics@gmx.at>
21576
21577 * window.el (display-buffer-normalize-default): Don't invert
21578 meaning of even-window-heights. Reported by Eli Zaretskii
21579 <eliz@gnu.org>.
21580
455e4fa1
BR
215812011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21582
21583 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21584
8e0bc3e9
CY
215852011-07-10 Chong Yidong <cyd@stupidchicken.com>
21586
21587 * window.el (display-buffer): Fix arguments to
21588 display-buffer-reuse-window in last change.
21589
fa7c3228
CY
21590 * faces.el (link): Use a less saturated blue on light backgrounds.
21591
21592 * startup.el (fancy-startup-text, fancy-about-text)
21593 (fancy-startup-tail): Use font-lock faces, for background safety.
21594
c0a7f300
BN
215952011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21596
b796c9b7
SM
21597 * emulation/viper-cmd.el (viper-change-state-to-vi):
21598 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 21599
4dc2a129
MR
216002011-07-09 Martin Rudalics <rudalics@gmx.at>
21601
21602 * window.el (display-buffer-default-specifiers): Remove.
21603 (display-buffer-macro-specifiers): Remove default specifiers.
21604 (display-buffer-alist): Default to nil.
b796c9b7 21605 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
21606 (display-buffer-pop-up-window): Allow splitting internal
21607 windows. Check whether a live window was created.
21608 (display-buffer-other-window-means-other-frame)
21609 (display-buffer-normalize-arguments): Rename to
21610 display-buffer-normalize-argument and rewrite. Set the
21611 other-window specifier.
21612 (display-buffer-normalize-special): New function.
21613 (display-buffer-normalize-options): Rename to
21614 display-buffer-normalize-default and rewrite.
21615 (display-buffer-normalize-options-inhibit): Remove.
21616 (display-buffer-normalize-specifiers): Rewrite.
21617 (display-buffer): Process other-window specifier and call
21618 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21619 more faithfully.
b796c9b7 21620 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 21621 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
21622 (display-buffer-in-window, display-buffer-alist-set):
21623 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
21624 <tassilo@member.fsf.org>.
21625
2d43b8c9
LL
216262011-07-09 Leo Liu <sdl.web@gmail.com>
21627
21628 * register.el (insert-register): Restore accidental change on
21629 2011-06-26. (Bug#9028)
21630
7f9b7c53
GM
216312011-07-09 Glenn Morris <rgm@gnu.org>
21632
21633 * subr.el (remq): Handle the empty list. (Bug#9024)
21634
f042cfd8
AS
216352011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21636
21637 * mail/sendmail.el (send-mail-function): No longer delay custom
21638 initialization.
21639 * custom.el (custom-initialize-delay): Doc fix.
21640
856b2f11
SM
216412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21642
21643 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21644
afae1d68
MA
216452011-07-08 Michael Albinus <michael.albinus@gmx.de>
21646
21647 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21648 human-friendly prompt.
21649
0757af94
SM
216502011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21651
21652 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21653 provided by a particular plugin.
21654
d760b731
LMI
216552011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21656
21657 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21658 save customizations (with "emacs -Q"), just set the variable
21659 instead of erroring out.
21660
21661 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21662
cd79ce90
JL
216632011-07-08 Juri Linkov <juri@jurta.org>
21664
21665 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21666 (archive-zip-update-case): Use 7z if found by `executable-find'.
21667 The order of searching the available programs is the same as in
21668 `archive-zip-extract' (bug#8968).
21669
14cc04aa
CY
216702011-07-07 Chong Yidong <cyd@stupidchicken.com>
21671
21672 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21673 (menu-bar-options-menu): Tweak descriptions.
21674
0a1848ec
LMI
216752011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21676
21677 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21678 menu items into verb phrases (bug#1421). Also refill to fit under
21679 80 columns.
21680
f5bd0689
CY
216812011-07-07 Chong Yidong <cyd@stupidchicken.com>
21682
538e85c6
CY
21683 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21684 (Info-read-node-name): Doc fix (Bug#1084).
21685
f5bd0689
CY
21686 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21687 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21688 (end-of-sexp, beginning-of-sexp)
21689 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21690 (forward-symbol, forward-same-syntax, word-at-point)
21691 (sentence-at-point): Doc fix (Bug#1144).
21692
56ec5115
LMI
216932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21694
f3f8e37f
LMI
21695 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21696 should cover it (bug#1281).
21697
0757af94 21698 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 21699
e9fce1ac 21700 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
21701 negotiation fails, then possibly try again with a non-encrypted
21702 connection (bug#9017).
21703
56ec5115
LMI
21704 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21705 be used.
21706
c2f9aec8
RS
217072011-07-07 Richard Stallman <rms@gnu.org>
21708
21709 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21710 property, and handle its changed format.
21711 Look for the correct line number.
21712 Use file's line contents (but not past first =) to find
21713 correct line in message.
21714
ef7b981d 217152011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
21716
21717 * international/characters.el (build-unicode-category-table):
21718 Delete it.
0757af94 21719 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 21720
0757af94 21721 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
21722 to src/chartab.c.
21723 (get-char-code-property): Call unicode-property-table-internal to
21724 load a file. Call get-unicode-property-internal where necessary.
21725 (put-char-code-property): Call unicode-property-table-internal to
21726 load a file. Call put-unicode-property-internal where necessary.
21727 put-unicode-property-internal where necessary.
0757af94
SM
21728 (char-code-property-description):
21729 Call unicode-property-table-internal to load a file.
c805dec0
KH
21730
21731 * international/charprop.el:
21732 * international/uni-bidi.el:
21733 * international/uni-category.el:
21734 * international/uni-combining.el:
21735 * international/uni-comment.el:
21736 * international/uni-decimal.el:
21737 * international/uni-decomposition.el:
21738 * international/uni-digit.el:
21739 * international/uni-lowercase.el:
21740 * international/uni-mirrored.el:
21741 * international/uni-name.el:
21742 * international/uni-numeric.el:
21743 * international/uni-old-name.el:
21744 * international/uni-titlecase.el:
21745 * international/uni-uppercase.el: Regenerate.
21746
21747 * loadup.el: Load international/charprop.el before
21748 international/characters.
21749
e14b388a
CY
217502011-07-07 Chong Yidong <cyd@stupidchicken.com>
21751
21752 * window.el (next-buffer, previous-buffer): Signal an error if
21753 called from a minibuffer window.
21754
21755 * bindings.el: Revert 2011-07-04 change.
21756
354cf0ba
RS
217572011-07-06 Richard Stallman <rms@gnu.org>
21758
21759 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21760 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21761 Treat markers like ints.
21762 (rmail-mime-entity): Doc fix.
21763
a48868a7
LMI
217642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21765
4906cd3d
LMI
21766 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21767 defcustom again for backwards compatibility.
21768
e0457abe
LMI
21769 * simple.el (shell-command-on-region): Fill.
21770
d67f7e1f
LMI
21771 * dired-aux.el (dired-kill-line): Add a doc string.
21772
fe204702
LMI
21773 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21774 to "\\sw\\|\\s_" (bug#358).
21775
a48868a7
LMI
21776 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21777 (dired-unmark-backward): Ditto.
21778 (dired-flag-backup-files): Ditto.
21779
21780 * dired-x.el (dired-mark-sexp): Ditto.
21781
aa8a705c
RS
217822011-07-06 Richard Stallman <rms@gnu.org>
21783
21784 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21785 (rmail-mime-entity): New arg TRUNCATED.
21786 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21787 New functions.
21788 (rmail-mime-save): Warn if entity is truncated.
21789 (rmail-mime-toggle-hidden): Likewise, for showing.
21790 (rmail-mime-process-multipart): Record when an entity is truncated.
21791
a9a936b9
RS
21792 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21793 if ENTITY is a string.
21794
1f2b92cb
LMI
217952011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21796
f4f73198 21797 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
21798 of faces when `M-C-x'-ing their definitions (bug#8378).
21799 Also clean up the code slightly.
f4f73198 21800
12b16734 21801 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 21802 because that makes the colors go away.
12b16734 21803
f0691d22
LMI
21804 * mail/sendmail.el (send-mail-function): Change the default to
21805 `sendmail-query-once'.
9e87df06 21806 (sendmail-query-once): Add an autoload cookie.
f0691d22 21807
1f2b92cb
LMI
21808 * net/network-stream.el (network-stream-open-starttls): Try using
21809 a plain connection even if the server offered STARTTLS, and we
21810 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21811 capability. This should make smtpmail.el work in slightly more
21812 configurations.
21813
1cdd2a1b
MA
218142011-07-06 Michael Albinus <michael.albinus@gmx.de>
21815
21816 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21817 New defun.
21818 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21819
fbcc67e2
MM
218202011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21821
21822 * progmodes/sql.el: Version 3.0
0757af94 21823 (sql-product-alist): Add product :completion-object,
fbcc67e2 21824 :completion-column, and :statement attributes.
0757af94 21825 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 21826 (sql-mode-syntax-table): Mark all punctuation.
0757af94 21827 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
21828 ansi keywords.
21829 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 21830 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
21831 (sql-oracle-show-reserved-words): New function for development.
21832 (sql-product-font-lock): Simplify for source code buffers.
21833 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21834 New functions.
21835 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
21836 (sql-mode-map): Add statement movement functions.
21837 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21838 New variable.
fbcc67e2
MM
21839 (sql-statement-regexp, sql-beginning-of-statement)
21840 (sql-end-of-statement, sql-signum): New functions.
0757af94 21841 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
21842 (sql-show-sqli-buffer): Bug fix.
21843 (sql-interactive-mode): Store connection data as buffer local.
0757af94 21844 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
21845 with sql-interactive-mode.
21846 (sql-save-connection): Save buffer local settings.
0757af94 21847 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
21848 (sql-product-interactive): Bug fix.
21849 (sql-preoutput-hold): New variable.
21850 (sql-interactive-remove-continuation-prompt): Bug fixes.
21851 (sql-debug-redirect): New variable.
21852 (sql-str-literal): New function.
21853 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 21854 Redesign.
fbcc67e2
MM
21855 (sql-oracle-save-settings, sql-oracle-restore-settings)
21856 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21857 (sql-completion-object, sql-completion-column)
21858 (sql-completion-sqlbuf): New variables.
21859 (sql-build-completions-1, sql-build-completions)
21860 (sql-try-completion): New functions.
21861 (sql-read-table-name): Use them.
21862 (sql-contains-names): New buffer local variable.
21863 (sql-list-all, sql-list-table): Use it.
21864 (sql-oracle-completion-types): New variable.
21865 (sql-oracle-completion-object, sql-sqlite-completion-object)
21866 (sql-postgres-completion-object): New functions.
21867
d4eaeab1
GM
218682011-07-06 Glenn Morris <rgm@gnu.org>
21869
21870 * window.el (pop-to-buffer): Doc fix.
21871
322b7dab 218722011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
21873
21874 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21875
322b7dab 218762011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 21877
322b7dab 21878 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 21879
322b7dab 21880 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 21881
605dd5bf
CY
218822011-07-05 Chong Yidong <cyd@stupidchicken.com>
21883
21884 * button.el (button): Inherit from link face. Suggested by Dan
21885 Nicolaescu.
21886
7dbfa719
SM
218872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21888
3db614b0
SM
21889 * progmodes/gdb-mi.el: Fit in 80 columns.
21890 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21891 switch-to-buffer.
21892
7dbfa719
SM
21893 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21894 if imenu is simply not configured (bug#8941).
21895
919d884a
KM
218962011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21897
21898 * allout.el (allout-post-undo-hook): New allout outline-change
21899 event hook to signal undo activity.
21900 (allout-post-command-business): Run allout-post-undo-hook if an
21901 undo just occurred.
7dbfa719
SM
21902 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21903 * allout-widgets.el (allout-widgets-after-undo-function):
21904 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
21905 in the vicinity of an undo.
21906 (allout-widgets-mode): Include allout-widgets-after-undo-function
21907 on the new allout-post-undo-hook.
21908
450a0f09
SM
219092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21910
21911 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21912 Let define-derived-mode define it.
21913 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21914 cycles of abbrev-table inheritance (bug#8998).
21915
2de69e00
RW
219162011-07-05 Roland Winkler <winkler@gnu.org>
21917
21918 * textmodes/bibtex.el: Add support for biblatex.
21919 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21920 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21921 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21922 (bibtex-entry-alist, bibtex-field-alist): New variables.
21923 (bibtex-entry-field-alist): Obsolete alias for
21924 bibtex-BibTeX-entry-alist.
21925 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21926 (bibtex-set-dialect): New command.
21927 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
21928 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21929 Bind via bibtex-set-dialect.
2de69e00
RW
21930 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21931 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21932 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21933 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21934 Define via bibtex-set-dialect.
450a0f09
SM
21935 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21936 Obey bibtex-no-opt-remove-re.
2de69e00
RW
21937 (bibtex-vec-push, bibtex-vec-incr): New functions.
21938 (bibtex-format-entry, bibtex-field-list)
21939 (bibtex-print-help-message, bibtex-validate)
21940 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21941
2dcdbdd9
SM
219422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21943
21944 * progmodes/compile.el (compilation-goto-locus):
21945 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21946 * bs.el (bs-cycle-next, bs-cycle-previous):
21947 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21948 * bindings.el (mode-line-other-buffer):
21949 * autoinsert.el (auto-insert):
21950 * arc-mode.el (archive-extract):
21951 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21952
b27640fe
JB
219532011-07-05 Juanma Barranquero <lekktu@gmail.com>
21954
21955 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21956 Fix check of `emacs-lock-unlockable-modes'.
21957 Coerce true values of `emacs-lock--try-unlocking' to t.
21958
53bbe3ad
JB
219592011-07-05 Juanma Barranquero <lekktu@gmail.com>
21960
21961 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21962 * emacs-lock.el: New file.
21963
1d3cdbc7
JD
219642011-07-05 Julien Danjou <julien@danjou.info>
21965
21966 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21967 than `boundp' to check if face is set.
21968
9173deec
JB
219692011-07-05 Juanma Barranquero <lekktu@gmail.com>
21970
21971 * register.el (registerv-make):
21972 * window.el (window-min-height): Fix typos in docstrings.
21973
869795d6
JD
219742011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21975
9173deec 21976 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
21977 Update doc string.
21978
b768cdcd
JB
219792011-07-04 Juanma Barranquero <lekktu@gmail.com>
21980
21981 * server.el (server-execute): Catch quit and call
21982 `server-return-error' to pass the error back to emacsclient and
21983 close the connection (bug#8942).
21984
13aa217b
KM
219852011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21986
21987 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21988 insecure exception for current topic. Also note that auto-saves
21989 are handled differently.
21990
5d3385a0 21991 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
21992 State variables for tracking auto-save inhibition situation.
21993
21994 (allout-write-contents-hook-handler): Rename from
21995 'allout-write-file-hook-handler', and describe how it depends on
21996 write-contents-functions sensitivity to non-nil value to prevent
21997 file write.
21998
21999 (allout-auto-save-hook-handler): Remove. auto-save does not check
22000 this in individual buffers, only in the starting buffer, so this
22001 is not the right way for us to inhibit auto-save in a buffer
22002 according to its condition.
22003
22004 (allout-mode): Use new allout-write-contents-hook-handler, and
22005 only with write-contents-functions. Remove auto-save provisions -
22006 they're implemented elsewhere.
22007
22008 (allout-before-change-handler): If undo is in progress, note that
22009 for attention of allout-post-command-business.
22010
22011 (allout-post-command-business): If the command we're following was
22012 an undo, check for change in the status of encrypted items and
22013 adjust auto-save inhibitions accordingly.
22014
22015 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22016 according to whether there are or aren't any plain-text topics
22017 pending encryption.
22018
2dcdbdd9 22019 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
22020 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22021 if there are plain-text topics pending encryption.
13aa217b
KM
22022
22023 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22024 buffer-saved-size and some allout state to not inhibit auto-saves
22025 if there are no longer any plain-text topics pending encryption.
22026
0757af94
SM
22027 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22028 No longer provide for exemption of the current topic.
13aa217b 22029
ac89b32c
JL
220302011-07-04 Juri Linkov <juri@jurta.org>
22031
22032 Add 7z operations to delete and save changed members (bug#8968).
22033 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22034 New defcustoms.
22035 (archive-7z-write-file-member): New function.
22036 (archive-7z-summarize): Fix the number of dashes in the
22037 listing output.
22038
8fa39615
SM
220392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22040
22041 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22042 (bug#8958).
22043
2f11b3f1
CY
220442011-07-04 Chong Yidong <cyd@stupidchicken.com>
22045
d66fef2b
CY
22046 * bindings.el: Ignore next-buffer and previous-buffer in
22047 minibuffer-local-map.
22048
2f11b3f1
CY
22049 * font-lock.el (font-lock-builtin-face): Change light background
22050 color to dark slate blue (Bug#6693).
22051
f932a347
WD
220522011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22053
22054 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22055
c8af70e1
SM
220562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22057
22058 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22059 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22060 Add switch-to-buffer.
22061
f158badc
LMI
220622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22063
22064 * isearch.el (isearch-search-fun-function): Clarify further the
22065 meaning of the function returned.
22066
6d95bd46
MA
220672011-07-04 Michael Albinus <michael.albinus@gmx.de>
22068
22069 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22070
22071 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22072 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22073 Use it.
22074 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22075 `tramp-default-remote-path' does not exist.
22076 (tramp-send-command-and-read): New optional argument NOERROR.
22077 (tramp-open-connection-setup-interactive-shell)
22078 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22079 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22080 (tramp-process-sentinel): Flush also process' connection property.
22081 (tramp-sh-handle-start-file-process): Do not set process
22082 sentinel. It is done now ...
22083 (tramp-maybe-open-connection): ... here. (Bug#8929)
22084
909e6b67
MK
220852011-07-04 MON KEY <monkey@sandpframing.com>
22086
22087 * play/animate.el (animate-string): Doc fixes and allow changing
22088 the buffer name (bug#5417).
22089
220902011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22091
c8af70e1 22092 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 22093
f34755dc
PE
220942011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22095
396cec72
PE
22096 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22097 This is simpler and helps future-proof the code.
22098 (timer-until): Use time-subtract and float-time.
08235028 22099 (timer--time-less-p): Use time-less-p.
f34755dc 22100
56e6cc31
JB
221012011-07-04 Juanma Barranquero <lekktu@gmail.com>
22102
3abb79e5
JB
22103 * type-break.el (timep): Use the value of `float-time' to avoid a
22104 byte-compiler warning.
22105
56e6cc31
JB
22106 * server.el (server-eval-and-print): Return any result, even nil.
22107
7b9430b4
PE
221082011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22109
22110 * type-break.el: Accept time formats that the builtins accept.
22111 (timep, type-break-time-difference): Accept any format that
22112 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22113 This is simpler and helps future-proof the code.
22114 (type-break-time-difference): Round rather than ignoring
22115 subseconds components.
22116
3034e9e7
LMI
221172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22118
22119 * info.el (Info-apropos-matches): Make non-interactive, since it
22120 doesn't seem to do anything useful as a command (bug#8829).
22121
1485f4c0
CY
221222011-07-03 Chong Yidong <cyd@stupidchicken.com>
22123
22124 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 22125 Move from faces.el.
1485f4c0
CY
22126 (frame-default-terminal-background): New function.
22127
22128 * custom.el (custom-push-theme): Don't record faces in `changed'
22129 theme; this doesn't work correctly for per-frame face settings.
22130 (disable-theme): Use face-set-after-frame-default to reset faces.
22131 (custom--frame-color-default): New function.
22132
9fa3dd45
LMI
221332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22134
c8af70e1 22135 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
22136 (bug#8769).
22137
6cbbc20c
KR
221382011-03-29 Kevin Ryde <user42@zip.com.au>
22139
22140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22141 `perl-Test2' extend to match possible "fail #N" rep count
22142 (bug#8377).
22143
c7f98048
LMI
221442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22145
65676592
LMI
22146 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22147 `smtpmail-via-smtp' now returns the error instead of nil.
22148
c7f98048
LMI
22149 * isearch.el (isearch-search-fun-function): Clarify the doc string
22150 (bug#8101).
22151
56e6cc31 221522011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
22153
22154 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22155 unnecessary spaces (bug#8987).
22156
2b216704
LMI
221572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22158
22159 * net/network-stream.el (open-network-stream): Use the
22160 :end-of-capability command thoughout.
22161
221622011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22163
22164 * net/network-stream.el (open-network-stream): Add the
22165 :end-of-capability command parameter, used by pop3.el.
22166
36adf6ce
LMI
221672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22168
1ca0da0e
LMI
22169 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22170
fc00f69c
LMI
22171 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22172 for list)" (bug#6475).
22173
28fd8759 22174 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 22175 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
22176 an error (bug#6297).
22177
0dd8b6da
LMI
22178 * man.el (Man-reference-regexp): Allow matching possible
22179 word-wrapped references (bug#6289).
22180
ce1438d6
LMI
22181 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22182 for consistency with the other vc buffers (bug#6197).
22183 (vc-checkin): Ditto.
22184
22185 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22186
36adf6ce
LMI
22187 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22188
e83cc1f7
LMI
221892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22190
8a20ca4c
LMI
22191 * custom.el (defcustom): Clarify that :set is only used in the
22192 Customize user interface (bug#6089).
22193
83319045
LMI
22194 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22195 associated with a file, refuse to run instead of erroring out
22196 (bug#6084).
22197
a8392169
LMI
22198 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22199 the doc string, since it appears that using `fill-column' always
22200 controls the width (bug#7845).
22201
e83cc1f7
LMI
22202 * simple.el (shell-command-on-region): Say where the error output
22203 went if `shell-command-default-error-buffer' is set (bug#6857).
22204
e47ca23b
KM
222052011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22206
22207 * allout.el (allout-yank-processing): Adjust cursor position for
22208 backwards-deleted space.
22209
22210 (allout-rebullet-heading): Register changes with
22211 allout-exposure-changed-hook, so the modified topic is properly
22212 decorated.
22213
5cf56143
LMI
222142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22215
08549772
LMI
22216 * minibuffer.el (completion-in-region): Document PREDICATE
22217 (bug#7136).
22218
48e96771
LMI
22219 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22220 of keyword/argument pairs (bug#6904).
22221
c8af70e1
SM
22222 * replace.el (multi-occur):
22223 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 22224
e17d05e2
LMI
222252011-07-02 Drew Adams <drew.adams@oracle.com>
22226
22227 * dired.el (dired-mark-if): Make the message about whether it's
22228 marking or unmarking clearer (bug#8523).
22229
063b0e45
LMI
222302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22231
22232 * disp-table.el (display-table-print-array): New function.
22233 (describe-display-table): Use it to print the vectors more pretty
22234 (Bug#8859).
22235
28545e04
MR
222362011-07-02 Martin Rudalics <rudalics@gmx.at>
22237
22238 * window.el (window-state-get-1): Don't assign clone numbers.
22239 Add clone-of item to list of window parameters.
22240 (window-state-put-2): Don't process clone numbers.
22241 (display-buffer-alist): Fix doc-string.
22242
3349e122
SM
222432011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22244
22245 * subr.el (remq): Don't allocate if it's not needed.
22246 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22247 (keymap--merge-bindings): New functions.
22248 (keymap-canonicalize): Use them to refine the canonicalization.
22249 * minibuffer.el (minibuffer-local-completion-map)
22250 (minibuffer-local-must-match-map): Move initialization from C.
22251 (minibuffer-local-filename-completion-map): Move initialization from C;
22252 don't inherit from anything here.
22253 (minibuffer-local-filename-must-match-map): Make obsolete.
22254 (completing-read-default): Use make-composed-keymap to combine
22255 minibuffer-local-filename-completion-map with either
22256 minibuffer-local-must-match-map or
22257 minibuffer-local-filename-completion-map.
22258
d224ac83
GM
222592011-07-01 Glenn Morris <rgm@gnu.org>
22260
3de63bf8
GM
22261 * type-break.el (type-break-time-sum): Use dolist.
22262
d224ac83
GM
22263 * textmodes/flyspell.el (flyspell-word-search-backward):
22264 Replace CL function.
22265
1a1e3f32
SM
222662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22267
fe3f64d5
SM
22268 * mouse.el (mouse--strip-first-event): New function.
22269 (function-key-map): Use it to map fringe clicks to normal clicks
22270 by default.
22271
eb604e34
SM
22272 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22273 (vc-bzr-revision-completion-table): Add support for annotate and date.
22274
1a1e3f32
SM
22275 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22276 inherit from parent.
22277
5bd35902
LMI
222782011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22279
ace6c69c 22280 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 22281 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 22282
191e2bed
LMI
22283 * dired.el (dired-mode): Fix up the doc string as suggested by
22284 Drew Adams (bug#8817).
22285
5bd35902
LMI
22286 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22287 cookie, since the manual says that it should be possible to add
22288 this function to `find-file-hook' (bug#8709).
22289
eee8207a
TZ
222902011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22291
22292 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22293 here. Noted Ted Zlatanov as the maintainer.
22294 (cfengine-common-settings, cfengine-common-syntax): New functions
22295 to set up common things between `cfengine-mode' and
22296 `cfengine3-mode'.
22297 (cfengine3-mode): New mode.
22298 (cfengine3-defuns cfengine3-defuns-regex
22299 (cfengine3-class-selector-regex cfengine3-category-regex)
22300 (cfengine3-vartypes cfengine3-font-lock-keywords)
22301 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 22302 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 22303
36b148cf
MA
223042011-07-01 Michael Albinus <michael.albinus@gmx.de>
22305
22306 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22307
22308 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22309
0bf4ba9a
MR
223102011-07-01 Martin Rudalics <rudalics@gmx.at>
22311
22312 * window.el (same-window-buffer-names, same-window-regexps)
22313 (same-window-p, special-display-frame-alist)
22314 (special-display-popup-frame, special-display-function)
22315 (special-display-buffer-names, special-display-regexps)
22316 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22317 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22318 (split-window-preferred-function, split-height-threshold)
22319 (split-width-threshold, even-window-heights)
22320 (display-buffer-mark-dedicated, window-splittable-p)
22321 (split-window-sensibly, window-safely-shrinkable-p):
22322 Un-obsolete.
22323 (display-buffer): Don't spread args with function specifier
22324 because special-display-popup-frame won't like it.
22325
35837f51
PE
223262011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22327
d0672f86
PE
22328 Time-stamp simplifications and fixes.
22329 These improve accuracy slightly, and future-proof the code
22330 against some potential changes to current-time format.
22331
b9444d97
PE
22332 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22333 by using time-since and float-time.
22334
0ef923dc
PE
22335 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22336 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22337 + NNN microseconds".
22338
2f81380d
PE
22339 * type-break.el (type-break-time-sum): Rewrite using time-add.
22340
845b5c3e
PE
22341 * play/hanoi.el (hanoi-current-time-float): Remove.
22342 All uses replaced by float-time.
22343
ee6f1be0
PE
22344 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22345 This yields a more-accurate answer.
22346 (rng-time-to-float): Remove; no longer needed.
22347
fe955043
PE
22348 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22349
5777162a
PE
22350 * calendar/timeclock.el (timeclock-seconds-to-time):
22351 Defalias to seconds-to-time, since they're the same thing.
22352
3103f8b6 22353 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 22354 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
22355 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22356
0e61a35f
SM
223572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22358
22359 * window.el (bury-buffer): Don't iconify the only frame.
22360 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22361 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22362
ddd63a1e
CY
223632011-07-01 Chong Yidong <cyd@stupidchicken.com>
22364
0e61a35f
SM
22365 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22366 Add mouse-yank-primary.
ddd63a1e 22367
055f4923
TZ
223682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22369
22370 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22371
6a2fb145
SM
223722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22373
22374 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22375 (find-library-name): Use it to find relative load names when provided
22376 absolute file name (bug#8803).
22377
fd4983f2
LMI
223782011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22379
887d14ad
LMI
22380 * textmodes/flyspell.el (flyspell-word): Consider words that
22381 differ only in case as potential doublons (bug#5687).
22382
c53dc7fc
LMI
22383 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22384 Remove two rather uninteresting debugging-like messages to make
22385 debbugs.el more silent.
22386
fd4983f2
LMI
22387 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22388 a password-like phrase.
22389
7a71b18d 223902011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
22391
22392 * progmodes/cc-guess.el: New file.
22393
6a2fb145 22394 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
22395
22396 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22397 derived from `c-basic-common-init'.
22398
22399 * progmodes/cc-mode.el (top-level): Require cc-guess.
22400 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22401
1fa280a3
LM
224022011-06-30 Lawrence Mitchell <wence@gmx.li>
22403
22404 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22405
e6597158
AM
224062011-06-30 Alan Mackenzie <acm@muc.de>
22407
1fa280a3
LM
22408 * progmodes/cc-engine.el (c-guess-continued-construct):
22409 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
22410 lock is disabled. Name this case as "CASE G".
22411
68ba37fb
KM
224122011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22413
22414 * allout.el (allout-yank-processing): Fix injection of extra space
22415 between bullet and non-whitespace character in first topic when
22416 pasting, ensuring that the actual spacing in the pasted topic
22417 following the bullet char is preserved. This extra space was
22418 causing pasted encrypted topics to get a decrypted status even
22419 when the content was actually still encrypted. Now the decryption
22420 status from before the paste is preserved.
22421
22422 (allout-flag-region): Set all allout overlays so they evaporate
22423 when reduced to zero length (evanescent), to prevent overlay
22424 leakage.
22425
887a0b34
GM
224262011-06-30 Glenn Morris <rgm@gnu.org>
22427
94b9acce
GM
22428 * w32-fns.el (w32-charset-info-alist): Declare.
22429
1d9b46d4
GM
22430 * find-dired.el (find-grep-options): Simplify.
22431
cc232200
GM
22432 * term/ns-win.el (ns-set-resource): Declare.
22433
28e77c46
GM
22434 * ses.el (row, col): Declare dynamic variables honestly.
22435
887a0b34
GM
22436 * textmodes/reftex-parse.el (index-tags): Declare.
22437
658d8eb8
CY
224382011-06-30 Chong Yidong <cyd@stupidchicken.com>
22439
22440 * cus-edit.el (customize-push-and-save): New function.
22441
22442 * files.el (hack-local-variables-confirm): Use it.
22443
1fa280a3
LM
22444 * custom.el (load-theme): New arg NO-CONFIRM.
22445 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
22446 (custom-enabled-themes): Doc fix.
22447
22448 * cus-theme.el (customize-create-theme)
22449 (custom-theme-merge-theme): Callers to load-theme changed.
22450
bb617717
LMI
224512011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22452
d61bdd5d
LMI
22453 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22454 short URLs have at least one dot in them (bug #7614).
22455
bb617717
LMI
22456 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22457 nil, because using a pty is apparently too slow (bug #895).
22458
2f31f37a
LMI
224592011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22460
22461 * mail/sendmail.el (sendmail-query-once): New function.
22462 (sendmail-query-once-function): New variable.
22463
3076b24e
GM
224642011-06-29 Glenn Morris <rgm@gnu.org>
22465
faf2a174
GM
22466 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22467
3076b24e
GM
22468 * ses.el (top-level): Require cl when compiling.
22469 (ses-set-localvars): Fix error statement.
22470 Call it at compile time to silence a storm of warnings.
22471
5386012d
MR
224722011-06-29 Martin Rudalics <rudalics@gmx.at>
22473
22474 * window.el (normalize-live-buffer): Rename to
22475 window-normalize-buffer.
22476 (normalize-live-frame): Rename to window-normalize-frame.
22477 (normalize-any-window): Rename to window-normalize-any-window.
22478 (normalize-live-window): Rename to window-normalize-live-window.
22479 (make-window-atom): Rename to window-make-atom.
22480 (window-resize-reset): Rename to window--resize-reset.
22481 (window-resize-reset-1): Rename to window--resize-reset-1.
22482 (resize-mini-window): Rename to window--resize-mini-window.
22483 (resize-subwindows-skip-p): Rename to
22484 window--resize-subwindows-skip-p.
22485 (resize-subwindows-normal): Rename to
22486 window--resize-subwindows-normal.
22487 (resize-subwindows): Rename to window--resize-subwindows.
22488 (resize-other-windows): Rename to window--resize-siblings.
22489 (resize-this-window): Rename to window--resize-this-window.
22490 (resize-root-window): Rename to window--resize-root-window.
22491 (resize-root-window-vertically): Rename to
22492 window--resize-root-window-vertically.
22493 (normalize-buffer-to-display): Rename to
22494 window-normalize-buffer-to-display.
22495 (normalize-buffer-to-switch-to): Rename to
22496 window-normalize-buffer-to-switch-to.
22497 Correspondingly update all callers of the functions listed
22498 above.
22499 (display-buffer-alist, display-buffer-normalize-arguments)
22500 (display-buffer-normalize-options, display-buffer)
22501 (display-buffer-alist-set): Use "function" instead of
22502 "fun-with-args".
22503
1176868d
CY
225042011-06-28 Chong Yidong <cyd@stupidchicken.com>
22505
22506 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22507 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22508 debbugs.gnu.org. Mention acknowledgment email.
22509
20a7a65f
LMI
225102011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22511
22512 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22513 buffer multibyteness, since it shouldn't matter.
22514
5f45cca5
MR
225152011-06-28 Martin Rudalics <rudalics@gmx.at>
22516
22517 * window.el (display-buffer-in-side-window): Handle dedicated
22518 windows as in display-buffer-reuse-window.
22519 (display-buffer-normalize-alist): Use value of override
22520 specifier.
22521 (display-buffer-normalize-specifiers): Use value of
22522 other-window-means-other-frame specifier.
22523 (display-buffer-alist): Rewrite some texts in widgets.
22524 (display-buffer): Spread arguments when calling function
22525 specified by fun-with-args.
22526
ad85fe1f
DD
225272011-06-28 Deniz Dogan <deniz@dogan.se>
22528
1fa280a3
LM
22529 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22530 Unnest `let'.
da68c4c8 22531
ad85fe1f
DD
22532 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22533 selectors (Bug#5732).
ec49bd31 22534 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 22535
a08cc025
JA
225362011-06-27 Jari Aalto <jari.aalto@cante.net>
22537
22538 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22539 (eshell-ls-date-format): New defcustom.
22540 (eshell-ls-file): Use it.
22541
e2b551c5
SM
225422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22543
22544 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22545
8982b231
KY
225462011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22547
22548 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22549 (ange-ftp-make-tmp-name): New arg.
22550 (ange-ftp-file-local-copy): Use it.
22551
36c9fa27
J
225522011-06-27 Jambunathan K <kjambunathan@gmail.com>
22553
22554 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22555 no-conversion (Bug#8870).
22556
d68443dc
MR
225572011-06-27 Martin Rudalics <rudalics@gmx.at>
22558
22559 * window.el (window-right, window-left, window-child)
22560 (window-child-count, window-last-child)
22561 (window-iso-combination-p, walk-window-tree-1)
22562 (window-atom-check-1, window-tree-1, delete-window)
22563 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22564 new naming conventions - window-vchild, window-hchild,
22565 window-next and window-prev are now called window-top-child,
22566 window-left-child, window-next-sibling and window-prev-sibling
22567 respectively.
d615d6d2
MR
22568 (resize-window-reset): Rename to window-resize-reset.
22569 (resize-window-reset-1): Rename to window-resize-reset-1.
22570 (resize-window): Rename to window-resize.
22571 (window-min-height, window-min-width)
22572 (resize-mini-window, resize-this-window, resize-root-window)
22573 (resize-root-window-vertically, adjust-window-trailing-edge)
22574 (enlarge-window, shrink-window, maximize-window)
22575 (minimize-window, delete-window, quit-restore-window)
22576 (split-window, balance-windows, balance-windows-area-adjust)
22577 (balance-windows-area, window-state-put-2)
22578 (display-buffer-even-window-sizes, display-buffer-set-height)
22579 (display-buffer-set-width, set-window-text-height)
22580 (fit-window-to-buffer): Rename all "resize-window" prefixed
22581 calls to use the "window-resize" prefix convention.
22582 (display-buffer-alist): Fix symbol for label specifier.
22583 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22584 corresponding specifier.
22585 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 22586
b6458526
VB
225872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22588
22589 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22590 convention.
22591 (ses-call-printer): Does not pass an empty string to formatter when the
22592 cell is empty to keep from barking printer Calc math-format-value.
22593
d31fd9ac
RS
225942011-06-27 Richard Stallman <rms@gnu.org>
22595
43d5bf84
RS
22596 * battery.el (battery-mode-line-limit): New variable.
22597 (battery-update): Handle it.
22598
d31fd9ac
RS
22599 * mail/rmailmm.el (rmail-mime-process-multipart):
22600 Handle truncated messages.
22601
819a6054
GM
226022011-06-27 Glenn Morris <rgm@gnu.org>
22603
22604 * progmodes/flymake.el (flymake-err-line-patterns):
22605 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22606
cedc73f2
VB
226072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22608
819a6054 22609 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
22610 (ses--clean-!, ses--clean-_): New functions.
22611 (ses-range): Add configurability of readout order, and conversion
22612 to Calc vector.
22613
5e5d49b6
VB
22614 * ses.el (ses-repair-cell-reference-all): New function.
22615 (ses-cell-symbol): Set macro as safe, so that it can be used in
22616 formulas.
22617
56e6cc31 22618 * ses.el: Update cycle detection algorithm.
90ca8b49 22619 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 22620 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
22621 (ses-set-localvars): New function.
22622 (ses-make-cell): Add property-list as a cell element.
22623 (ses-cell-property-get-fun, ses-cell-property-get)
22624 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
22625 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22626 New functions.
90ca8b49
VB
22627 (ses-cell-property-set, ses-cell-property-pop)
22628 (ses-cell-property-get-handle): New macro.
22629 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22630 New aliases, used for code readability.
22631 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22632 cycle detection.
22633 (ses-self-reference-early-detection): New defcustom.
fac916bf 22634 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
22635 (ses-mode): Use ses-set-localvars.
22636 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22637 before lauching the update processing.
22638 (ses-initialize-Dijkstra-attempt): New function.
22639 (ses-recalculate-cell): Update for cycle detection based on
22640 Dijkstra algorithm.
22641
2bb63e81
VB
22642 * ses.el: Fix commenting and indenting convention.
22643
c9d29fb8
SM
226442011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22645
22646 * bs.el (bs-cycle-next): Complete last change.
22647
d8e4b68b
JB
226482011-06-27 Drew Adams <drew.adams@oracle.com>
22649
22650 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22651
40098786
LMI
226522011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22653
c9d29fb8
SM
22654 * net/network-stream.el (network-stream-open-starttls):
22655 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
22656 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22657
40098786
LMI
22658 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22659 to binary to possibly avoid line encoding issues on Windows (among
22660 other things).
22661
468d09d4
LMI
226622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22663
22664 * net/network-stream.el (open-network-stream): Return an :error
22665 saying what the problem was, if possible.
22666
22667 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22668 server.
22669
22670 * net/network-stream.el (network-stream-open-starttls): If we
22671 wanted to use STARTTLS, and the server offered it, but we weren't
22672 able to because we had no STARTTLS support, then close the connection.
22673 (open-network-stream): Return an :error element, if present.
22674
16f07dd7
CY
226752011-06-26 Chong Yidong <cyd@stupidchicken.com>
22676
88821ca0
CY
22677 * hl-line.el (hl-line-sticky-flag): Doc fix.
22678 (global-hl-line-sticky-flag): New option (Bug#8323).
22679 (global-hl-line-highlight): Obey it.
22680
16f07dd7
CY
22681 * vc/vc.el (vc-revert-show-diff): Default to t.
22682
6b5ccddf
KM
226832011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22684
c9d29fb8
SM
22685 * allout-widgets.el (allout-widgets-post-command-business):
22686 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
22687 undecorated when an isearch is continued past, and isearch
22688 automatically collapses them. This leads to "widget leaks", where
22689 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
22690 hidden widgets can slow down cursor travel, substantially.
22691 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
22692 so we're doing without this nicety.
22693
22694 (allout-widgets-tally-string): Don't try to do a hash-table-count
22695 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22696 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22697 *Messages* when allout-widgets-maintain-tally is t.
22698
355f2e07
MR
226992011-06-26 Martin Rudalics <rudalics@gmx.at>
22700
22701 * window.el (display-buffer-normalize-argument): Rename to
22702 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
22703 LABEL argument. Respect special-display-function when popping up
22704 a new frame. Fix code searching for a window showing the buffer
22705 on another frame.
c9d29fb8
SM
22706 (display-buffer-normalize-specifiers):
22707 Call display-buffer-normalize-arguments.
355f2e07
MR
22708 (display-buffer-in-window): Don't undedicate the window if its
22709 buffer remains the same.
22710 Reported by Drew Adams <drew.adams@oracle.com>.
22711 (display-buffer-alist): Add choice for same-window macro
22712 specfier.
22713 (display-buffer): Mention special meaning of LABEL argument in
22714 doc-string. Fix quoting. Don't pop up a new frame even as
22715 fallback.
22716
7ca8fc42
JB
227172011-06-26 Juanma Barranquero <lekktu@gmail.com>
22718
22719 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22720 avoid deleting the current window in some cases (bug#8911).
22721
bc312254
AS
227222011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22723
22724 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22725 (Bug#8934)
22726
2db18f3f
LMI
227272011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22728
c9d29fb8
SM
22729 * net/network-stream.el (network-stream-open-starttls):
22730 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
22731 (network-stream-open-tls): Ditto.
22732
6302e0d3
LL
227332011-06-26 Leo Liu <sdl.web@gmail.com>
22734
22735 * register.el (registerv): New struct.
22736 (registerv-make): New function.
c9d29fb8
SM
22737 (jump-to-register, describe-register-1, insert-register):
22738 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
22739 struct. (Bug#8415)
22740
5fdd4046
CY
227412011-06-26 Chong Yidong <cyd@stupidchicken.com>
22742
2afef60a
CY
22743 * vc/vc.el (vc-revert-show-diff): New defcustom.
22744 (vc-diff-internal): New arg specifying diff buffer.
22745 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22746 reuse an existing *vc-diff* buffer (Bug#8927).
22747
5fdd4046
CY
22748 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22749
e93db24a
GM
227502011-06-26 Glenn Morris <rgm@gnu.org>
22751
22752 * progmodes/f90.el (f90-critical-indent): New option.
22753 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22754 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22755 (f90-mode): Doc fix.
22756 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22757 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22758 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22759 (f90-match-end): Handle block, critical.
22760
eefff499
GM
227612011-06-25 Glenn Morris <rgm@gnu.org>
22762
f6ba4cc9
GM
22763 * calendar/diary-lib.el (diary-included-files): Doc fix.
22764 (diary-include-files): New function, extracted from
22765 diary-include-other-diary-files and diary-mark-included-diary-files.
22766 (diary-include-other-diary-files, diary-mark-included-diary-files):
22767 Just call diary-include-files.
22768 (diary-mark-entries): Reset diary-included-files on first call.
22769
16712304
GM
22770 * calendar/diary-lib.el (diary-mark-entries)
22771 (diary-mark-included-diary-files):
22772 Visit included diary-files in temp buffers.
22773
5d8e0d43
GM
22774 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22775 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22776 (f90-start-block-re, f90-imenu-generic-expression)
22777 (f90-looking-at-program-block-start, f90-no-block-limit):
22778 Add support for submodules.
22779
ccf7a5d5
GM
22780 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22781 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 22782
11fdef7d 227832011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
22784
22785 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22786 buffer-file-type before setting its value, to avoid disastrous
eefff499 22787 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 22788
74f53697
JB
227892011-06-25 Juanma Barranquero <lekktu@gmail.com>
22790
22791 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22792
22793 * ses.el (ses-unload-function):
22794 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22795
22796 * proced.el (proced-unload-function):
22797 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22798
18a4ce5e
AR
227992011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22800
22801 * server.el (server-create-window-system-frame): Add parameters arg.
22802 (server-process-filter): Doc fix. Handle frame-parameters.
22803
519d22cc
JB
228042011-06-25 Juanma Barranquero <lekktu@gmail.com>
22805
22806 Fix bug#8730, bug#8781.
22807
22808 * loadhist.el (unload--set-major-mode): New function.
22809 (unload-feature): Use it.
22810
22811 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22812 (python-unload-function): New function.
22813
c206f5b0
SM
228142011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22815
22816 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22817
f9ad64f3
GS
228182011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22819
22820 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22821 the candidates list.
22822
7d0da90e
JB
228232011-06-24 Juanma Barranquero <lekktu@gmail.com>
22824
22825 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22826
14b4e83d
RS
228272011-06-23 Richard Stallman <rms@gnu.org>
22828
22829 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22830 (rmail-variables): Set next-error-move-function.
22831 (rmail-what-message): Take argument POS.
22832 (rmail-next-error-move): New function.
22833
273d2baf
SM
228342011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22835
22836 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22837 messages for adjacent non-terminals.
22838
56c2cc9a
RS
228392011-06-23 Richard Stallman <rms@gnu.org>
22840
22841 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 22842 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
22843 (rmail-start-mail): Don't specify use of rmail-mail-return;
22844 that's done by mail-bury now.
22845 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 22846
d59eb518
MA
228472011-06-23 Michael Albinus <michael.albinus@gmx.de>
22848
22849 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22850 SIZE is a number.
22851
02cfc6d6
MR
228522011-06-23 Martin Rudalics <rudalics@gmx.at>
22853
22854 * window.el (get-lru-window, get-mru-window)
22855 (get-largest-window): Never return a minibuffer window.
22856 (display-buffer-pop-up-window): Fix a bug that could lead to
22857 reusing the minibuffer window.
22858 (display-buffer): Pass original specifier argument to
22859 display-buffer-function instead of the normalized one.
22860 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22861
4e323265
LL
228622011-06-22 Leo Liu <sdl.web@gmail.com>
22863
22864 * minibuffer.el (completing-read-function)
1f9f395d 22865 (completing-read-default): Move from minibuf.c.
4e323265 22866
7a70468f
RS
228672011-06-22 Richard Stallman <rms@gnu.org>
22868
50718fc2
RS
22869 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22870 to Rmail even if not started by a special Rmail command.
22871
7a70468f
RS
22872 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22873 Copy the buffer currently showing just one message.
22874
297dde5a
RW
228752011-06-22 Roland Winkler <winkler@gnu.org>
22876
22877 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22878 (bibtex-clean-entry): First delete the old key so that a
22879 customized algorithm for generating the new key does not get
22880 confused by the old key.
22881 (bibtex-url): Obey regexp of first step.
22882 (bibtex-search-entries): Do not use add-to-list with local
22883 list-var.
22884
97bb1093
LMI
228852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22886
22887 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22888 stored a user name, then query for the password first, instead of
22889 waiting for SMTP to give an error message and the trying again.
22890
1c0f1a19
JD
228912011-06-22 Lawrence Mitchell <wence@gmx.li>
22892
22893 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22894 BUFFER in call-process.
22895
396f7c9d
LMI
228962011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22897
22898 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22899 QUIT twice.
ddb7ffee
LMI
22900 (smtpmail-try-auth-methods): Require user name and password from
22901 auth-source.
396f7c9d 22902
8998d1b3
MR
229032011-06-22 Martin Rudalics <rudalics@gmx.at>
22904
22905 * window.el (display-buffer-default-specifiers)
22906 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22907 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 22908 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
22909
22910 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22911 (special-display-frame-alist, special-display-popup-frame):
22912 Remove duplicate declarations. These are now in window.el.
22913
4ea31e07
LMI
229142011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22915
c9d29fb8
SM
22916 * mail/smtpmail.el (smtpmail-via-smtp):
22917 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
22918 server supports it. SMTP servers that support STARTTLS commonly
22919 require it.
22920
22921 * net/network-stream.el (network-stream-open-starttls): Support
22922 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 22923 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 22924
95f41d9a
LMI
22925 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22926 upgrades with `open-network-stream', and rely solely on
22927 auth-source for all credentials. Big changes throughout the file,
22928 but in particular:
c9d29fb8
SM
22929 (smtpmail-auth-credentials): Remove.
22930 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
22931 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22932 MAIL FROM, too.
95f41d9a 22933
c9d29fb8
SM
22934 * net/network-stream.el (network-stream-open-starttls):
22935 Provide support for client certificates both for external and built-in
4ea31e07
LMI
22936 STARTTLS.
22937 (auth-source): Require.
22938 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
22939 (network-stream-certificate): Change cert-cert to cert and
22940 cert-key to key.
4ea31e07 22941
065ec2c7
MA
229422011-06-21 Michael Albinus <michael.albinus@gmx.de>
22943
22944 * net/tramp-cache.el (top): Don't load the persistency file when
22945 "emacs -Q" has been called.
22946
cd93b359
DR
229472011-06-21 Tim Harper <timcharper@gmail.com>
22948
d8e4b68b
JB
22949 * term/ns-win.el (ns-initialize-window-system):
22950 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
22951 resource to NO as it is not yet supported by the NS port.
22952
ae9c0411
JB
229532011-06-21 Juanma Barranquero <lekktu@gmail.com>
22954
22955 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22956 (list-dynamic-libraries): ...not here.
22957
7f3f739f
LL
229582011-06-21 Leo Liu <sdl.web@gmail.com>
22959
22960 * subr.el (sha1): Implement sha1 using secure-hash.
22961
327c8fb1
MR
229622011-06-21 Martin Rudalics <rudalics@gmx.at>
22963
22964 * window.el (display-buffer-alist): In default value do not
22965 enforce searching a window on any but the selected frame.
22966 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22967 (display-buffer-select-window): Remove function.
22968 (display-buffer-in-window): When a window on another frame gets
22969 reused, do not select it any more but just raise its frame if
22970 necessary (Bug#8851) and (Bug#8856).
22971 (display-buffer-normalize-options): Handle pop-up-frames related
22972 options more faithfully.
22973 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22974 window if it is on another frame.
c9d29fb8
SM
22975 (display-buffer-alist, display-buffer-default-specifiers):
22976 Don't make new frame unsplittable by default.
9e9de014
MR
22977 (display-buffer-normalize-argument): Fix doc-string typo and use
22978 'same-frame-other-window instead of 'other-window when associating
22979 with display-buffer-macro-specifiers.
327c8fb1 22980
7cf3f556
VB
229812011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22982
22983 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22984 New functions.
22985 (5x5-mode-map, 5x5-mode-menu): Bind them.
22986 (5x5-draw-grid): Tweak the solver's rendering.
22987
60a406cf
SM
229882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22989
22990 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22991 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22992
d8e4b68b 229932011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
22994
22995 * menu-bar.el: Use function variable instead of switch-to-buffer.
22996 (menu-bar-select-buffer-function): New variable.
60a406cf 22997 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 22998
478d6f95
SM
229992011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23000
23001 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23002 variable's status.
23003
ca530739
JD
230042011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23005
23006 * x-dnd.el (x-dnd-version-from-flags)
23007 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23008 and long as number (Bug#8899).
23009 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23010
bcd70d97
SM
230112011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23012
60a406cf 23013 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
23014 (completion-try-completion, completion-all-completions): Compute the
23015 metadata argument if it's missing; make it optional (bug#8795).
23016
60a406cf 23017 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
23018 (widget-complete): Use new :completion-function property.
23019 (widget-completions-at-point): New function.
23020 (default): Use :completion-function instead of :complete.
60a406cf
SM
23021 (widget-default-completions): Rename from widget-default-complete;
23022 Rewrite.
bcd70d97
SM
23023 (widget-string-complete, widget-file-complete, widget-color-complete):
23024 Remove functions.
23025 (file, symbol, function, variable, coding-system, color):
23026 * international/mule-cmds.el (default-input-method, charset)
23027 (language-info-custom-alist):
23028 * cus-edit.el (face): Use new property :completions.
23029
23030 * progmodes/pascal.el (pascal-completions-at-point): New function.
23031 (pascal-mode): Use it.
23032 (pascal-mode-map): Use completion-at-point.
23033 (pascal-toggle-completions): Make obsolete.
23034 (pascal-complete-word, pascal-show-completions):
23035 * progmodes/octave-mod.el (octave-complete-symbol):
23036 Redefine as obsolete alias.
23037 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23038 Signal absence of completion info for old Octave,
23039 (inferior-octave-complete): Redefine as obsolete alias.
23040 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23041 (meta-completions-at-point): Rename from meta-complete-symbol and
23042 adapt it for use on completion-at-point-functions.
23043 (meta-common-mode): Use it.
23044 (meta-looking-at-backward, meta-match-buffer): Remove.
23045 (meta-complete-symbol): Redefine as obsolete alias.
23046 (meta-common-mode-map): Use completion-at-point.
23047 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23048 (makefile-mode-map): Use completion-at-point.
23049 (makefile-completions-at-point): Rename from makefile-complete and
23050 adapt it for use on completion-at-point-functions.
23051 (makefile-mode): Use it.
23052 (makefile-complete): Redefine as obsolete alias.
23053
aebf69c8
DD
230542011-06-20 Deniz Dogan <deniz@dogan.se>
23055
23056 * net/rcirc.el: Delete trailing whitespaces once and for all.
23057
bfbbb27d
DC
230582011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23059
23060 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23061
d264a46b
CY
230622011-06-19 Chong Yidong <cyd@stupidchicken.com>
23063
4ca009e5
CY
23064 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23065
d264a46b
CY
23066 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23067
fbf5b3ce
MR
230682011-06-19 Martin Rudalics <rudalics@gmx.at>
23069
23070 * window.el (display-buffer-other-window-means-other-frame):
23071 Call display-buffer-normalize-alist.
23072 (display-buffer-normalize-specifiers-1): Rename to
23073 display-buffer-normalize-argument. New argument other-frame.
23074 Rewrite.
23075 (display-buffer-normalize-specifiers-2): Rename to
23076 display-buffer-normalize-options.
23077 (display-buffer-normalize-alist-1): New function.
23078 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
23079 display-buffer-normalize-alist.
23080 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
23081 (display-buffer-normalize-options-inhibit): New variable.
23082 (display-buffer-normalize-specifiers): Rewrite calling
23083 display-buffer-normalize-alist,
23084 display-buffer-normalize-argument, and
23085 display-buffer-normalize-options. Don't call the latter if
23086 display-buffer-normalize-options-inhibit is non-nil.
23087 (frame-auto-delete): New option.
23088 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
23089 (window-list-no-nils, window-state-ignored-parameters)
23090 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
23091 (window-state-put-1, window-state-put-2, window-state-put):
23092 New functions.
9a028c23
MR
23093 (display-buffer-normalize-options): Move special-display-p group
23094 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 23095
6d10d800
CY
230962011-06-18 Chong Yidong <cyd@stupidchicken.com>
23097
6420d28b
CY
23098 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23099 groups (Bug#8776).
23100 (rx-submatch-n): New function.
23101 (rx): Document it.
23102
ddb8b596
CY
23103 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23104 (Bug#8768).
23105
23106 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23107
77080289
CY
23108 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23109
61dfb316
CY
23110 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23111 anytime existing face settings are present (Bug#8889).
23112
6d10d800
CY
23113 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23114 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23115 Remove unused argument.
23116
be3fb2b8
MR
231172011-06-18 Martin Rudalics <rudalics@gmx.at>
23118
bcd70d97
SM
23119 * window.el (display-buffer-default-specifiers):
23120 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
23121 pop-up-window-min-width, and another reuse-window specifier
23122 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
23123 (display-buffer-normalize-specifiers-2):
23124 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
23125 pop-up-windows is unset. Add a reuse-window specifier for the
23126 case popping up a new window fails.
23127 (special-display-popup-frame): Remove double quoting.
28dec25a 23128 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 23129
1c6d8c76
SM
231302011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23131
23132 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23133 according to comint-completion-addsuffix.
23134
23135 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23136 (pcomplete-suffix-list): Mark as obsolete.
23137 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23138 pcomplete-seen in the closure.
23139 (pcomplete-comint-setup): Setup completion-at-point as well.
23140 (pcomplete--entries): New function.
23141 (pcomplete--env-regexp): New var.
23142 (pcomplete-entries): Rewrite to work with partial-completion and
23143 without relying on pcomplete-suffix-list.
23144 (pcomplete-pare-list): Remove, unused.
23145
25aef8b8
MR
231462011-06-17 Martin Rudalics <rudalics@gmx.at>
23147
23148 * window.el (display-buffer-alist): Set pop-up-window-min-height
23149 and pop-up-window-min-width in default value. Reported by
23150 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23151 other-window-means-other-frame.
23152 (display-buffer-macro-specifiers): Comment out entry for
23153 other-window specifier.
23154 (display-buffer-other-window-means-other-frame): New function.
23155 (display-buffer-normalize-specifiers-1): New arguments
23156 buffer-name and label. Treat other-window case specially.
23157 (display-buffer-normalize-specifiers-2): Treat other-window case
23158 specially.
23159 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
23160 (display-buffer-normalize-specifiers):
23161 Call display-buffer-normalize-specifiers-3.
25aef8b8 23162
dbad4f69
MR
231632011-06-17 Martin Rudalics <rudalics@gmx.at>
23164
23165 * window.el (same-window-p): Fix two typos introduced when
23166 adding with-no-warnings.
d1067961
MR
23167 (display-buffer-normalize-specifiers-1): Don't check
23168 pop-up-frames for 'unset initialization.
23169 (display-buffer-normalize-specifiers-2): Major rewrite using
23170 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23171 (pop-up-frames, display-buffer-reuse-frames)
23172 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23173 Suggested by David Engster <deng@randomsample.de>.
23174 (even-window-heights): Initialize to 'unset.
23175 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
23176 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23177 other window case.
dbad4f69 23178
9b9c9e3a
MR
231792011-06-16 Martin Rudalics <rudalics@gmx.at>
23180
bcd70d97
SM
23181 * window.el (display-buffer-normalize-specifiers-1):
23182 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 23183 second argument of display-buffer (Bug#8865).
981d5c09
MR
23184 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23185 (switch-to-buffer-other-window-same-frame)
23186 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23187 Adams (Bug#8875).
9c2755e9
MR
23188 (display-buffer): Don't check noninteractive when calling
23189 display-buffer-pop-up-frame.
23190 (display-buffer-pop-up-frame): Never pop up a frame in
23191 noninteractive mode (Bug#8857).
67222e1d
MR
23192 (enlarge-window, shrink-window): Don't report an error when the
23193 window can't be resized as requested (Bug#8862).
9b9c9e3a 23194
2b75be67
SM
231952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23196
9ffdd3ba
SM
23197 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23198
cb581a67
SM
23199 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23200
2b75be67
SM
23201 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23202
8c0e3589
AM
232032011-06-15 Alan Mackenzie <acm@muc.de>
23204
cb581a67
SM
23205 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23206 for declarators, disable knr checking to speed up for normal files.
23207 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 23208
b96e6cde
LMI
232092011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23210
4bba86e6
LMI
23211 * net/network-stream.el (open-network-stream): Add the keyword
23212 :always-query-capabilities for the case where you want to force a
23213 `plain' network connection, but the protocol still requires the
23214 capabilitiy command (i.e., SMTP and EHLO).
23215
2b75be67 23216 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
23217 consistency with other `-live-p' functions.
23218
efdcdbf8
SM
232192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23220
23221 * window.el (same-window-buffer-names, same-window-regexps)
23222 (special-display-frame-alist, special-display-popup-frame)
23223 (special-display-function, special-display-buffer-names)
23224 (special-display-regexps, pop-up-frame-alist)
23225 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23226 (pop-up-windows, split-window-preferred-function)
23227 (split-height-threshold, split-width-threshold, even-window-heights)
23228 (display-buffer-mark-dedicated): Don't encourage the use of
23229 display-buffer-alist from Elisp code.
23230
c5cde042
DN
232312011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23232
23233 * progmodes/python.el (python-mode): Derive from prog-mode.
23234 * progmodes/ps-mode.el (ps-mode):
23235 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 23236 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
23237 * progmodes/ld-script.el (ld-script-mode): Likewise.
23238
baa1c9ab
MR
232392011-06-15 Martin Rudalics <rudalics@gmx.at>
23240
23241 * window.el (display-buffer-alist): Trim default value to avoid
23242 popping up a new frame (Bug#8857) or reusing an arbitrary window
23243 on another frame.
23244 (display-buffer): Do not fall back on popping up a new frame in
23245 batch mode (Bug#8857).
23246
c5dd5a51
CY
232472011-06-14 Chong Yidong <cyd@stupidchicken.com>
23248
23249 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23250 (custom-theme-summary): New function.
23251 (customize-themes): Use it.
23252
d647b7c4
GM
232532011-06-13 Glenn Morris <rgm@gnu.org>
23254
23255 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23256
9481c002
MR
232572011-06-13 Martin Rudalics <rudalics@gmx.at>
23258
357f93d2
MR
23259 * help.el (help-window): Remove variable.
23260 (help-window-point-marker, temp-buffer-max-height)
23261 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23262 (help-print-return-message): Don't set help-window.
23263 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23264 (help-window-setup-finish): Remove.
23265 (help-window-display-message, help-window-setup)
23266 (with-help-window): Major rewrite based on new
23267 display-buffer-window variable.
23268
23269 * help-mode.el (help-mode-finish): Remove help-window related
23270 code.
23271
23272 * view.el (view-exits-all-viewing-windows): Remove reference to
23273 view-return-to-alist in doc-string.
23274 (view-return-to-alist): Make obsolete.
23275 (view-buffer): Call pop-to-buffer-same-window and remove
23276 undo-window code.
23277 (view-buffer-other-window): Call pop-to-buffer-other-window and
23278 simplify code. Ignore second argument.
23279 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23280 simplify code. Ignore second argument.
23281 (view-return-to-alist-update): Make obsolete.
23282 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23283 Rewrite using quit-restore window parameters.
2b75be67
SM
23284 (view-mode-exit): Rename second argument to EXIT-ONLY.
23285 Rewrite using quit-restore-window.
357f93d2
MR
23286 (View-exit, View-exit-and-edit, View-leave, View-quit)
23287 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23288 appropriate arguments.
23289 (view-end-message): Use quit-restore window parameter.
23290
9481c002
MR
23291 * window.el (display-buffer-function): Rewrite doc-string.
23292 (display-buffer-window, display-buffer-alist): New variables.
23293 (display-buffer-split-specifiers)
23294 (display-buffer-side-specifiers)
23295 (display-buffer-macro-specifiers): New constants.
23296 (display-buffer-even-window-sizes, display-buffer-set-height)
23297 (display-buffer-set-width, display-buffer-select-window)
23298 (display-buffer-in-window, display-buffer-reuse-window)
23299 (display-buffer-split-window-1, display-buffer-split-window)
23300 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23301 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23302 (display-buffer-in-side-window, normalize-buffer-to-display)
23303 (display-buffer-normalize-specifiers-1)
23304 (display-buffer-normalize-specifiers-2)
2b75be67
SM
23305 (display-buffer-normalize-specifiers, display-buffer-frame):
23306 New functions.
9481c002
MR
23307 (display-buffer): Major rewrite.
23308 (display-buffer-other-window, display-buffer-other-frame)
23309 (pop-to-buffer, switch-to-buffer-other-window)
23310 (switch-to-buffer-other-frame): Rewrite.
23311 (display-buffer-same-window, display-buffer-same-frame)
23312 (display-buffer-same-frame-other-window)
23313 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23314 (pop-to-buffer-other-window)
23315 (pop-to-buffer-same-frame-other-window)
23316 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23317 (switch-to-buffer-other-window-same-frame): New functions.
23318 (same-window-p, special-display-p): Rewrite disabling warnings.
23319 Make obsolete.
23320 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23321 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23322 Make obsolete
23323 (same-window-buffer-names, same-window-regexps)
23324 (special-display-frame-alist, special-display-popup-frame)
23325 (special-display-function, special-display-buffer-names)
23326 (special-display-regexps, pop-up-frame-alist)
23327 (pop-up-frame-function, split-window-preferred-function)
23328 (split-height-threshold, split-width-threshold)
23329 (even-window-heights): Make obsolete.
23330
9db51aca
GM
233312011-06-12 Glenn Morris <rgm@gnu.org>
23332
23333 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 23334 Misc simplifications.
9db51aca 23335
39cffb44
MR
233362011-06-12 Martin Rudalics <rudalics@gmx.at>
23337
23338 * window.el (window-safely-shrinkable-p): Restore function which
23339 was inadvertently removed in change from 2011-06-11. Declare as
23340 obsolete.
23341
2b75be67
SM
23342 * calendar/calendar.el (calendar-generate-window):
23343 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
23344 window-safely-shrinkable-p.
23345
a8955be7
GM
233462011-06-12 Glenn Morris <rgm@gnu.org>
23347
23348 * progmodes/fortran.el (fortran-mode-syntax-table):
23349 * progmodes/f90.el (f90-mode-syntax-table):
23350 Set % to punctuation. (Bug#8820)
23351 (f90-find-tag-default): Remove, no longer needed.
23352
f0d4059d
DC
233532011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23354
23355 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23356
1100a63c
CY
233572011-06-11 Chong Yidong <cyd@stupidchicken.com>
23358
23359 * image.el (image-animated-p): Return animation delay in seconds.
23360 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23361 (image-animate-timeout): Remove DELAY argument. Don't assume
23362 every subimage has the same delay; get it from image-animated-p.
23363 (image-animate): Caller changed.
23364
def722bf
MA
233652011-06-11 Michael Albinus <michael.albinus@gmx.de>
23366
23367 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23368 to ignored backtrace functions.
23369
0a2bb1a9
GM
233702011-06-11 Glenn Morris <rgm@gnu.org>
23371
23372 * calendar/appt.el (appt-disp-window-function): Doc fix.
23373 (appt-check): Handle overlapping appointments. (Bug#8337)
23374
6198ccd0
MR
233752011-06-11 Martin Rudalics <rudalics@gmx.at>
23376
23377 * window.el (window-tree-1, window-tree): New functions, moving
23378 the latter to window.el.
23379 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23380 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23381 (bw-refresh-edges): Remove.
23382 (balance-windows-1, balance-windows-2): New functions.
23383 (balance-windows): Rewrite in terms of window tree functions,
23384 balance-windows-1 and balance-windows-2.
23385 (bw-adjust-window): Remove.
23386 (balance-windows-area-adjust): New function with functionality of
23387 bw-adjust-window but using resize-window.
2b75be67
SM
23388 (set-window-text-height): Rewrite doc-string.
23389 Use normalize-live-window and resize-window.
23390 (enlarge-window-horizontally, shrink-window-horizontally):
23391 Rename argument to DELTA.
6198ccd0
MR
23392 (window-buffer-height): New function.
23393 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23394 Rewrite using new window resize routines.
2b75be67
SM
23395 (kill-buffer-and-window, mouse-autoselect-window-select):
23396 Use ignore-errors instead of condition-case.
6198ccd0
MR
23397 (quit-window): Call delete-frame instead of delete-windows-on
23398 for the only buffer on frame.
23399
9397e56f
MR
234002011-06-10 Martin Rudalics <rudalics@gmx.at>
23401
23402 * loadup.el (top-level): Load window before files for the sake
23403 of replace-buffer-in-windows.
23404
23405 * files.el (read-buffer-to-switch)
23406 (switch-to-buffer-other-window)
2b75be67
SM
23407 (switch-to-buffer-other-frame, display-buffer-other-frame):
23408 Move to window.el.
9397e56f
MR
23409
23410 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23411 (previous-buffer): Move to window.el.
23412
23413 * bindings.el (unbury-buffer): Move to window.el.
23414
23415 * window.el (delete-other-windows-vertically): Move after
23416 definition of delete-other-windows.
23417 (other-window, delete-windows-on, replace-buffer-in-windows):
23418 Move here from window.c.
23419 (record-window-buffer, unrecord-window-buffer)
23420 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23421 (switch-to-next-buffer): New functions.
23422 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23423 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
23424 (previous-buffer): Move here from simple.el.
23425 Call switch-to-prev-buffer.
9397e56f
MR
23426 (bury-buffer): Move here from buffer.c. Switch to previous
23427 buffer when window cannot be deleted.
23428 (unbury-buffer): Move here from bindings.el.
23429 (ctl-x-map): Move binding for other-window from window.c to
23430 here.
23431 (read-buffer-to-switch, switch-to-buffer-other-window)
23432 (switch-to-buffer-other-frame): Move here from files.el.
23433 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
23434 (switch-to-buffer): Move here from buffer.c.
23435 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 23436
562dd5e9
MR
234372011-06-10 Martin Rudalics <rudalics@gmx.at>
23438
23439 * window.el (window-min-height, window-min-width): Move here
23440 from window.c. Add defcustoms and rewrite doc-strings.
23441 (resize-mini-window, resize-window): New functions.
23442 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23443 Move here from window.c.
23444 (maximize-window, minimize-window): New functions.
23445 (delete-window, delete-other-windows, split-window): Move here
23446 from window.c.
23447 (window-split-min-size): New function.
23448 (split-window-keep-point): Mention split-window-above-each-other
23449 instead of split-window-vertically.
2b75be67 23450 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
23451 Rename split-window-vertically to split-window-above-each-other
23452 and provide defalias for old definition.
23453 (split-window-side-by-side, split-window-horizontally):
23454 Rename split-window-horizontally to split-window-side-by-side
23455 and provide defalias for the old definition.
562dd5e9
MR
23456 (ctl-x-map): Move bindings for delete-window,
23457 delete-other-windows and enlarge-window here from window.c.
23458 Replace bindings for split-window-vertically and
23459 split-window-horizontally by bindings for
23460 split-window-above-each-other and split-window-side-by-side.
23461
23462 * cus-start.el (all): Remove entries for window-min-height and
23463 window-min-width. Add entries for window-splits and
23464 window-nest.
23465
f0da764a
GM
234662011-06-09 Glenn Morris <rgm@gnu.org>
23467
80675c21
GM
23468 * calendar/appt.el (appt-mode-line): New function.
23469 (appt-check, appt-disp-window): Use it.
23470
f0da764a
GM
23471 * files.el (hack-one-local-variable-eval-safep):
23472 Allow minor-modes with explicit +/-1 arguments.
23473
59f623b7
TZ
234742011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23475
23476 * term/xterm.el (xterm): Add defgroup.
23477 (xterm-extra-capabilities): Add defcustom to supply known xterm
23478 capabilities, skip querying them, or query them (default).
23479 (terminal-init-xterm): Use it.
23480 (terminal-init-xterm-modify-other-keys): New function to set up
23481 modifyOtherKeys support to simplify `terminal-init-xterm'.
23482
9aab8e0d
MR
234832011-06-09 Martin Rudalics <rudalics@gmx.at>
23484
23485 * window.el (resize-window-reset, resize-window-reset-1)
23486 (resize-subwindows-skip-p, resize-subwindows-normal)
23487 (resize-subwindows, resize-other-windows, resize-this-window)
23488 (resize-root-window, resize-root-window-vertically)
23489 (window-deletable-p, window-or-subwindow-p)
23490 (frame-root-window-p): New functions.
23491
e8b08aee
GM
234922011-06-09 Glenn Morris <rgm@gnu.org>
23493
23494 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23495 (ange-ftp-get-files): Use it.
23496
254c37a5
AK
234972011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23498
23499 * mail/sendmail.el (mail-recover-1, mail-recover):
23500 * files.el (recover-file, recover-session):
23501 Handle dired-listing-switches not being just a single short option.
23502
35d7dbd3
GM
235032011-06-09 Glenn Morris <rgm@gnu.org>
23504
23505 * calendar/appt.el (appt-display-message, appt-disp-window):
23506 Handle lists of appointments.
23507
387522b2
MR
235082011-06-08 Martin Rudalics <rudalics@gmx.at>
23509
2b75be67
SM
23510 * window.el (one-window-p): Move down in code.
23511 Rewrite doc-string.
23512 (window-current-scroll-bars): Rewrite doc-string.
23513 Normalize live window argument.
387522b2
MR
23514 (walk-windows, get-window-with-predicate, count-windows):
23515 Rewrite doc-string. Use window-list-1.
23516 (window-in-direction-2, window-in-direction, get-mru-window):
23517 New functions.
23518
d8e4b68b 235192011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
23520
23521 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23522 Doc fix (Bug#8713).
23523
235242011-06-08 Chong Yidong <cyd@stupidchicken.com>
23525
23526 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23527
235282011-06-08 Juanma Barranquero <lekktu@gmail.com>
23529
23530 * loadhist.el (unload-feature-special-hooks):
23531 Add `comint-output-filter-functions'.
23532
0de12c52
IK
235332011-06-08 Ivan Kanis <gnu@kanis.fr>
23534
23535 * calendar/appt.el (appt-check): Move some initializations into the let.
23536
f3d1777e
MR
235372011-06-08 Martin Rudalics <rudalics@gmx.at>
23538
23539 * window.el (window-height): Defalias to window-total-height.
23540 (window-width): Defalias to window-body-width.
23541
18af70d0
CY
235422011-06-07 Chong Yidong <cyd@stupidchicken.com>
23543
23544 * image-mode.el (image-toggle-animation): New command.
23545 (image-mode-map): Bind it to RET.
23546 (image-mode): Update message.
23547 (image-toggle-display-image): Avoid a spurious cache flush.
23548 (image-transform-rotation): Doc fix.
23549 (image-transform-properties): Return quickly in the normal case.
23550 (image-animate-loop): Rename from image-animate-max-time.
23551
2b75be67 23552 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
23553 (create-animated-image): Remove unnecessary function.
23554 (image-animate): Rename from image-animate-start. New arg.
2b75be67 23555 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
23556 (image-animate-timer): Use car-safe.
23557 (image-animate-timeout): Rename argument.
23558
190b47e6
MR
235592011-06-07 Martin Rudalics <rudalics@gmx.at>
23560
23561 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
23562 window.c. Rename first argument to ALL-FRAMES.
23563 Rephrase doc-strings.
23564 (get-buffer-window-list): Rewrite using window-list-1.
23565 Rephrase doc-string.
a1511caf
MR
23566 (window-safe-min-height, window-safe-min-width): New constants.
23567 (window-size-ignore, window-min-size, window-min-size-1)
23568 (window-sizable, window-sizable-p, window-size-fixed-1)
23569 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23570 (window-max-delta-1, window-max-delta, window-resizable)
23571 (window-resizable-p, window-total-height, window-total-width)
23572 (window-body-width): New functions.
23573 (window-full-height-p, window-full-width-p): Rewrite using
23574 window-total-size.
23575 (window-body-height): Rewrite using window-body-size.
190b47e6 23576
85cc1f11
MR
235772011-06-06 Martin Rudalics <rudalics@gmx.at>
23578
23579 * window.el (window-right, window-left, window-child)
23580 (window-child-count, window-last-child, window-any-p)
23581 (normalize-live-buffer, normalize-live-frame)
23582 (normalize-any-window, normalize-live-window)
23583 (window-iso-combination-p, window-iso-combined-p)
23584 (window-iso-combinations)
23585 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23586 (windows-with-parameter, window-with-parameter)
23587 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
23588 (window-atom-check, window-side-check, window-check):
23589 New functions.
85cc1f11
MR
23590 (ignore-window-parameters, window-sides, window-sides-vertical)
23591 (window-sides-slots): New variables.
23592 (window-size-fixed): Move down in code. Minor doc-string fix.
23593
e7156492
AS
235942011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23595
23596 * comint.el (comint-dynamic-complete-as-filename)
23597 (comint-dynamic-complete-filename): Correctly call
23598 completion-in-region.
23599
7e821d0d
DD
236002011-06-05 Deniz Dogan <deniz@dogan.se>
23601
23602 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23603 in last change.
23604
ac09b8a1
DD
236052011-06-05 Deniz Dogan <deniz@dogan.se>
23606
23607 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23608 (rcirc): Use it to prompt for encryption.
23609
34699b85
RW
236102011-06-05 Roland Winkler <winkler@gnu.org>
23611
23612 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23613 (bibtex-search-entries): New command bound to C-c C-a.
23614 (bibtex-display-entries): New function.
23615
004dedd3
RW
236162011-06-05 Roland Winkler <winkler@gnu.org>
23617
23618 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23619 (bibtex-insert-kill): After yanking insert newline if necessary.
23620 (bibtex-initialize): Call bibtex-string-files-init only once.
23621 (bibtex-mode): Do not call easy-menu-add.
23622 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23623 (bibtex-yank): Set arg properly if nil.
23624
022fe7ce
RW
236252011-06-05 Roland Winkler <winkler@gnu.org>
23626
2b75be67
SM
23627 * textmodes/bibtex.el (bibtex-search-entry-globally):
23628 New variable.
022fe7ce
RW
23629 (bibtex-search-entry): Use it.
23630
b7c3692a
RW
236312011-06-05 Roland Winkler <winkler@gnu.org>
23632
23633 * textmodes/bibtex.el (bibtex-entry-format): New option
23634 sort-fields.
23635 (bibtex-format-entry, bibtex-reformat): Honor this option.
23636 (bibtex-parse-entry): Return fields in proper order.
23637
8eda563d
JB
236382011-06-05 Juanma Barranquero <lekktu@gmail.com>
23639
23640 * doc-view.el (doc-view-remove-if): Move computation of result out
23641 of `dolist' to silence misleading lexical-binding warning.
23642
7dbe3dbc
CY
236432011-06-04 Chong Yidong <cyd@stupidchicken.com>
23644
23645 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23646 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23647
0c33dd17
MA
236482011-06-04 Michael Albinus <michael.albinus@gmx.de>
23649
23650 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23651 "SunOS 5.10".
23652
f8f91c2b
MA
236532011-06-04 Michael Albinus <michael.albinus@gmx.de>
23654
23655 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23656 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23657 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23658 (tramp-parse-putty):
23659 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23660 (tramp-completion-function-alist-ssh)
23661 (tramp-completion-function-alist-telnet)
23662 (tramp-completion-function-alist-su)
23663 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23664 cookie.
23665
23666 * net/tramp-ftp.el:
23667 * net/tramp-sh.el:
23668 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23669 load "tramp.el" `tramp-set-completion-function'.
23670
e17d9003
SM
236712011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23672
23673 * shell.el: Require and use pcomplete.
23674 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23675 (shell-completion-vars): Set pcomplete-default-completion-function.
23676
6c4cab03
DD
236772011-06-04 Deniz Dogan <deniz@dogan.se>
23678
23679 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23680 `memq' (Bug#8799).
23681
ea9fafe0
SM
236822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23683
23684 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23685
b3e945d3
JB
236862011-06-02 Juanma Barranquero <lekktu@gmail.com>
23687
23688 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23689 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23690 * vc/log-view.el (log-view-beginning-of-defun):
23691 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23692 (smerge-refine-forward, smerge-refine-chopup-region):
23693 Silence warning for unused `dotimes' counter variables.
23694
7d520089
SM
236952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23696
23697 * net/tramp.el (tramp-with-progress-reporter): Rename from
23698 with-progress-reporter. Use `declare'.
23699 * net/tramp-smb.el:
23700 * net/tramp-sh.el:
23701 * net/tramp-gvfs.el: Update all uses.
23702
a1c2400f
JB
237032011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23704
23705 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23706 buffer isn't killed before making it current.
23707
2403c841
SM
237082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23709
23710 Silence various byte-compiler warnings.
23711 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23712 `access-type' and new obsolescence format.
23713 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23714 new format.
23715 (byte-compile-check-variable): New `access-type' argument.
23716 Only warn if the access-type is obsolete.
23717 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23718 (byte-compile-variable-set): Adjust callers.
23719 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23720 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23721 setting it as obsolete.
23722 * simple.el (minibuffer-completing-symbol):
23723 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23724 access as obsolete.
23725 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23726 obsolete yet.
23727 * international/quail.el (quail-mouse-choose-completion): Remove unused
23728 code referring to obsolete var.
23729 (quail-choose-completion-string): Remove.
23730 * server.el (server-clients-with, server-kill-buffer-query-function)
23731 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23732 * proced.el (proced-send-signal):
23733 * emacs-lisp/lisp.el (lisp-complete-symbol):
23734 Replace completion-annotate-function with completion-extra-properties.
23735
2462470b
SM
237362011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23737
fb5b2591
SM
23738 * simple.el (goto-line): Use read-number.
23739 (overriding-map-is-bound): Remove.
23740 (saved-overriding-map): Change default.
23741 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23742 Take the map as argument.
23743 (universal-argument, negative-argument, digit-argument): Use it.
23744 (restore-overriding-map): Adjust.
23745 (do-auto-fill): Use fill-forward-paragraph.
23746 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23747
fd6fa53f
SM
23748 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23749 (minibuffer-inactive-mode): New major mode.
23750 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23751 the *Messages* buffer" hack.
23752 (mouse-popup-menubar): Don't burp if the event is a normal key.
23753
2462470b
SM
23754 Miscellaneous tweaks.
23755 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23756 lexical scoping as in subr.el's dolist and dotimes.
23757 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23758 Silence compiler warning.
23759 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23760 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23761 * international/ccl.el (ccl-compile): Trivial simplification.
23762 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23763 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23764 `printflag' argument.
23765 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23766 Purecopy the whole obsolescence data.
23767
108bf785
LL
237682011-06-01 Leo Liu <sdl.web@gmail.com>
23769
23770 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23771 improve doc-string as suggested by Marco Pessotto
23772 <melmothx@gmail.com>.
23773 (rcirc-print): Fix last change.
23774
30a23501
SM
237752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23776
23777 * minibuffer.el (complete-with-action): Return nil for the metadata and
23778 boundaries of non-functional tables.
23779 (completion-table-dynamic): Return nil for the metadata.
23780 (completion-table-with-terminator): Add default case, using
23781 complete-with-action.
23782 (completion--metadata): New function.
23783 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23784 to try and avoid pathological performance problems.
23785 (completion--embedded-envvar-table): Return `category' metadata.
23786
bcd54f83
LMI
237872011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23788
23789 * subr.el (process-alive-p): New tiny convenience function.
23790
e227544d
SM
237912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23792
23793 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23794 content but also its previous major mode.
23795
e8296fdc
HE
237962011-05-31 Helmut Eller <eller.helmut@gmail.com>
23797
4d61f28d 23798 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
23799 *Backtrace* buffer when we exit with C-M-c.
23800
620c53a6
SM
238012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23802
23803 * minibuffer.el: Add metadata method to completion tables.
23804 (completion-category-overrides): New defcustom.
23805 (completion-metadata, completion--field-metadata)
23806 (completion-metadata-get, completion--styles)
23807 (completion--cycle-threshold): New functions.
23808 (completion-try-completion, completion-all-completions):
23809 Add `metadata' argument to choose completion-styles.
23810 (completion--do-completion): Use metadata to choose cycling.
23811 (completion-all-sorted-completions): Use metadata for sorting.
23812 Remove :completion-cycle-penalty which is not needed any more.
23813 (completion--try-word-completion): Add `metadata' argument.
23814 (minibuffer-completion-help): Check metadata for annotation function
23815 and sorting.
23816 (completion-file-name-table): Return `category' metadata.
23817 (minibuffer-completing-file-name): Make obsolete.
23818 * simple.el (minibuffer-completing-symbol): Make obsolete.
23819 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23820 completion-try-completion.
23821
1257e755
SM
238222011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23823
23824 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23825
3767e706
LL
238262011-05-30 Leo Liu <sdl.web@gmail.com>
23827
23828 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
23829 (rcirc-print): Decode all incoming messages (bug#8744).
23830 (rcirc-decode-coding-system): Allow value nil for automatic coding
23831 system detection.
3767e706 23832
d1a5d56a
GM
238332011-06-01 Glenn Morris <rgm@gnu.org>
23834
23835 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23836
e8cbec34
CY
238372011-05-29 Chong Yidong <cyd@stupidchicken.com>
23838
23839 * image.el (image-animate-max-time): Allow nil and t values.
23840 Default to nil.
23841 (create-animated-image): Doc fix.
23842 (image-animate-start): Remove second arg; just use
23843 image-animate-max-time.
23844 (image-animate-timeout): Doc fix. Args changed.
23845
23846 * image-mode.el (image-toggle-display-image): Ensure that the
23847 image spec passed to the animate timer is the same object as in
58179cce 23848 the buffer's display property (Bug#6981).
e8cbec34
CY
23849 (image-transform-properties): Doc fix.
23850
23851 * image.el (image-animate-max-time): Default to nil.
23852
159daf87
MR
238532011-05-29 Martin Rudalics <rudalics@gmx.at>
23854
23855 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23856 entire buffer list (Bug#8184).
23857
d66c4c7c
CY
238582011-05-29 Chong Yidong <cyd@stupidchicken.com>
23859
23860 * image.el (imagemagick-types-inhibit)
23861 (imagemagick-register-types): Doc fix.
23862
80aec780
DD
238632011-05-29 Deniz Dogan <deniz@dogan.se>
23864
23865 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23866 default.
23867
1dd3c2d9
CY
238682011-05-29 Chong Yidong <cyd@stupidchicken.com>
23869
23870 * select.el: Don't perform clipboard-manager saving in hooks;
23871 leave the hooks empty.
23872
60e56523
LL
238732011-05-28 Leo Liu <sdl.web@gmail.com>
23874
23875 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23876 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23877 (occur-edit-mode): New major mode (Bug#8463).
23878 (occur-after-change-function): New function.
23879 (occur-engine): Give Occur tags a read-only property.
23880
2b1e1a22
KR
238812011-05-28 Kevin Ryde <user42@zip.com.au>
23882
23883 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23884
5d344e88
CY
238852011-05-28 Chong Yidong <cyd@stupidchicken.com>
23886
8e6ca83d
CY
23887 * bindings.el (help-echo): Make the initial non-indicator dash
23888 empty on graphical terminals (Bug#7295).
23889
5d344e88
CY
23890 * files.el (auto-mode-alist): Move config rule after the
23891 in-stripping one (Bug#8547).
23892
bfbbace7
CY
23893 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23894
fbeba6e2
CY
23895 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23896 setting (Bug#8740).
23897
60ed8c72
AA
238982011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23899
4ac619f0
AA
23900 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23901 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23902 (Bug#8539).
60ed8c72 23903
23db196e
CY
239042011-05-28 Chong Yidong <cyd@stupidchicken.com>
23905
23906 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23907
5012f24c
DK
239082011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23909
23910 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23911 (hs-hide-block-at-point, hs-find-block-beginning)
23912 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23913 (Bug#8279).
23914
6a639b16
GM
239152011-05-28 Glenn Morris <rgm@gnu.org>
23916
23917 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23918
d43eaf2c
CY
239192011-05-28 Chong Yidong <cyd@stupidchicken.com>
23920
5199bde1
CY
23921 * help-fns.el (describe-function-1): If the function is a derived
23922 major mode, print the parent mode.
23923
d43eaf2c
CY
23924 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23925 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23926
423428a8
SM
239272011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23928
0ff8e1ba 23929 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 23930 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
23931 * progmodes/etags.el (tags-completion-at-point-function):
23932 * info-look.el (info-lookup-completions-at-point): Mark as
23933 non-exclusive.
23934 (info-complete): Adjust accordingly.
23935
423428a8
SM
23936 * info-look.el: Convert to lexical-binding and completion-at-point.
23937 (info-lookup-completions-at-point): New function.
23938 (info-complete): Use it and completion-in-region.
23939
b74aa22b
DA
239402011-05-28 Drew Adams <drew.adams@oracle.com>
23941
23942 * isearch.el: Let M-e start with point at the first mismatched char.
23943 (isearch-fail-pos): New function.
23944 (isearch-edit-string): Use it.
23945
66e2e71d
DK
239462011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23947
23948 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23949
b1890b0f 239502011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
23951
23952 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23953 traversal functions for avl-trees.
23954 (avl-tree--stack): New struct.
23955 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23956 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
23957 (avl-tree--do-enter): Add optional `updatefun' arg.
23958 Change return value.
eb95d01d 23959 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
23960 (avl-tree--do-delete): Add `test' and `nilflag' args.
23961 Change return value.
eb95d01d
TC
23962 (avl-tree-member): Add optional `nilflag'
23963 (avl-tree-member-p): New function.
23964 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23965 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23966 (avl-tree-stack-empty-p): New functions.
23967
3769ddcf
TC
23968 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23969 avl-tree--del-balance1 and make it work both ways.
23970 (avl-tree--del-balance2): Remove.
23971 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23972 make it work both ways.
23973 (avl-tree--enter-balance2): Remove.
23974 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23975 New macros.
23976 (avl-tree--mapc, avl-tree-map): Add direction argument.
23977
eb95d01d 239782011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
23979
23980 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23981
a9f737ee
CY
239822011-05-27 Chong Yidong <cyd@stupidchicken.com>
23983
23984 * select.el: Support clipboard managers with built-in function
23985 x-clipboard-manager-save, via delete-frame-functions and
23986 kill-emacs-hook.
23987 (xselect-convert-to-targets): Add MULTIPLE target to list.
23988 (xselect-convert-to-save-targets): New function.
23989
c92a1e54
KH
239902011-05-27 Kenichi Handa <handa@m17n.org>
23991
23992 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23993 let-binding rfc2047-encode-encoded-words to nil.
23994
e145f188
GM
239952011-05-27 Glenn Morris <rgm@gnu.org>
23996
5ec8a862
GM
23997 * mail/emacsbug.el: Don't require url-util.
23998
4b29d9fb
GM
23999 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24000
e145f188
GM
24001 * files.el (set-auto-mode):
24002 Also respect mode: entries at the end of the file. (Bug#8586)
24003
7d15102b
GM
240042011-05-26 Glenn Morris <rgm@gnu.org>
24005
98f593b8
GM
24006 * files.el (hack-local-variables-prop-line, hack-local-variables):
24007 Downcase mode names, as seems to be traditional.
27b48e63 24008 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 24009
7d15102b
GM
24010 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24011 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24012
51d5b4ec
JD
240132011-05-25 Julien Danjou <julien@danjou.info>
24014
24015 * textmodes/rst.el (rst-define-level-faces): Do not define face
24016 symbol if it is already defined.
24017
91513f63
VB
240182011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24019
24020 * play/5x5.el (5x5-new-game, 5x5-randomize):
24021 Reset 5x5-solver-output to nil when a new grid is cast.
24022 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24023 these debugging traces, as defmacro breaks the compiled code.
24024
4d90d6d0
DK
240252011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24026
24027 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24028
e1b90ef6
LL
240292011-05-24 Leo Liu <sdl.web@gmail.com>
24030
24031 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24032 (vc-bzr-sha1): Adapt.
24033
d8e4b68b 24034 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
24035
24036 * bindings.el: Provide sha1 feature.
24037
db0406bb 240382011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
24039
24040 * mail/sendmail.el: Require `rfc2047'.
24041 (mail-insert-from-field): Do not perform RFC2047 encoding.
24042 (mail-encode-header): New function.
24043 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
24044 buffer to the return value of select-message-coding-system.
24045 Call mail-encode-header.
b8d747b9
KH
24046
24047 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24048
db0406bb 240492011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 24050
4d90d6d0
DK
24051 * mail/supercite.el (sc-default-cite-frame):
24052 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 24053
eb8a5e9b
GM
240542011-05-24 Glenn Morris <rgm@gnu.org>
24055
f8630703
GM
24056 * progmodes/python.el (brm-menu): Declare.
24057
8831bbed
GM
24058 * emulation/viper.el (viper-set-hooks): Declare.
24059
eb8a5e9b
GM
24060 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24061 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24062 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24063 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24064 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24065 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24066
a2a25d24
SM
240672011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24068
24069 Add an :exit-function for completion-at-point.
24070
24071 * minibuffer.el (completion--done): New fun.
24072 (completion--do-completion): Use it. New arg `expect-exact'.
24073 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24074 since completion--do-completion does it for us now.
24075 (minibuffer-force-complete): Use completion--done and
24076 completion--replace. Handle sole-completion case with more care.
24077 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24078 (completion-extra-properties): New var.
24079 (completion-annotate-function): Make obsolete.
24080 (minibuffer-completion-help): Adjust accordingly.
24081 Use completion-list-insert-choice-function.
24082 (completion-at-point, completion-help-at-point):
24083 Bind completion-extra-properties.
24084 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24085 * simple.el (completion-list-insert-choice-function): New var.
24086 (completion-setup-function): Preserve it.
24087 (choose-completion): Pay attention to it, shuffle the code a bit.
24088 (choose-completion-string): New arg `insert-function'.
24089
24090 * textmodes/bibtex.el: Convert to lexical binding.
24091 (bibtex-mode-map): Use completion-at-point.
24092 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24093 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24094 (bibtex-complete): Define as obsolete alias.
24095 (bibtex-complete-internal): Remove.
24096 (bibtex-format-entry): Remove unused sub-group in regexp.
24097 * shell.el (shell--command-completion-data)
24098 (shell-environment-variable-completion):
24099 * pcomplete.el (pcomplete-completions-at-point):
24100 * comint.el (comint--complete-file-name-data): Use :exit-function
24101 instead of completion-table-with-terminator so it also works for
24102 choose-completion.
24103
e44e373d
SM
241042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24105
4f91a816
SM
24106 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24107
782fc819
SM
24108 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24109 (bug#8710).
24110
e44e373d
SM
24111 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24112
381987c3
KM
241132011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24114
24115 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24116 customization variable and implement: If non-nil, auto-fill will
24117 be inhibited while on topic's header line.
24118
b776bc70
VB
241192011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24120
24121 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 24122 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
24123 always have a solution in grid size = 5 cases.
24124 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24125 (5x5-solver-output, 5x5-log-buffer): New vars.
24126 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24127 Make these variables buffer local to achieve 5x5 multi-session-ness.
24128 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24129 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24130 (5x5-solve-suggest): New funs.
24131 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24132 randomize a grid so that we ensure that there is always a solution.
24133 (5x5-make-random-grid): Allow other movement than flipping.
24134
7de88b6e
KR
241352011-05-23 Kevin Ryde <user42@zip.com.au>
24136
24137 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 24138 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
24139 advice and passes PREDICATE.
24140
b1ef1257
SM
241412011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24142
bbca48fe
SM
24143 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24144 byte-compile-lambda if it's actually a lambda.
24145
b1ef1257
SM
24146 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24147 Fix function quoting. Use backquote better.
24148
92a9cc65
YS
241492011-05-22 Yuanle Song <sylecn@gmail.com>
24150
24151 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24152 matching (Bug#8516).
24153
fe93f41a 241542011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
24155
24156 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24157 different face (Bug#8178).
24158
d5b44c93
CY
241592011-05-22 Chong Yidong <cyd@stupidchicken.com>
24160
24161 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24162 defface (Bug#8144).
24163
79106a44
SM
241642011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24165
9c848d8a
SM
24166 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24167 funcall as well (bug#8712). Warn when performing those conversions.
24168 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24169
79106a44
SM
24170 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24171
88dfa756
GM
241722011-05-22 Glenn Morris <rgm@gnu.org>
24173
24174 * files.el (hack-local-variables-prop-line): Small simplifications.
24175 (hack-local-variables, hack-local-variables-prop-line):
24176 If MODE-ONLY, return the mode, rather than just `t'.
24177
b7cf2c79
SM
241782011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24179
24180 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24181
3f1a8558
GM
241822011-05-21 Glenn Morris <rgm@gnu.org>
24183
7e4ccca3
GM
24184 * files.el (hack-local-variables-prop-line, hack-local-variables):
24185 If only interested in the mode, don't bother doing the other stuff.
24186
637d46ca
GM
24187 * image-mode.el (image-after-revert-hook):
24188 Redraw all frames on which the image is visible. (Bug#8567)
24189
973d955b
GM
24190 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24191
3f1a8558
GM
24192 * wid-edit.el (widget-checklist-match-inline):
24193 Fix 2011-04-19 change. (Bug#8649)
24194
96479927
SM
241952011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24196
1dcf791f
SM
24197 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24198 Also allow singlespace after single-letter capitals followed by a dot.
24199
96479927
SM
24200 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24201 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24202
35fd0881
N
242032011-05-20 Nix <nix@esperi.org.uk>
24204
24205 * files.el (basic-save-buffer-2):
24206 Fix handling of break-hardlink-on-save with non-existent files.
24207
82745640
DD
242082011-05-19 Deniz Dogan <deniz@dogan.se>
24209
24210 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 24211 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 24212
4a720484
GM
242132011-05-19 Glenn Morris <rgm@gnu.org>
24214
d1f21341
GM
24215 * progmodes/f90.el (f90-type-def-re):
24216 Handle "type, bind(c)". (Bug#8691)
24217
4a720484
GM
24218 * emacs-lisp/autoload.el (batch-update-autoloads):
24219 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24220
2fb0a219
MA
242212011-05-18 Michael Albinus <michael.albinus@gmx.de>
24222
24223 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24224 property for the correct connection in case of multihops.
24225
e565dd37
GM
242262011-05-18 Glenn Morris <rgm@gnu.org>
24227
c2571358 24228 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
24229 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24230
e565dd37
GM
24231 Rationalize calendar handling of day and month abbrev-arrays.
24232 * calendar/calendar.el (calendar-customized-p): New function.
24233 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24234 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24235 Add :set function.
24236 (calendar-abbrev-length, calendar-day-abbrev-array)
24237 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24238 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24239 Elements may no longer be nil.
24240 (calendar-day-name, calendar-month-name):
24241 Update for changed nature of abbrev arrays.
24242 * calendar/diary-lib.el (diary-name-pattern):
24243 Update for changed nature of abbrev arrays.
24244 (diary-mark-entries-1): Update calendar-make-alist calls.
24245 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24246 * calendar/cal-html.el (cal-html-day-abbrev-array):
24247 Simply inherit from calendar-day-abbrev-array.
24248
1d99a745
SM
242492011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24250
24251 * progmodes/grep.el (grep-mode): Disable default
24252 compilation-directory-matcher setting (bug#8684).
24253
7c1d9aa0
MA
242542011-05-17 Michael Albinus <michael.albinus@gmx.de>
24255
24256 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24257 instead of "head" and "tail". There were problems with SunOS 5.9,
24258 and it performs better.
24259
3952e9d8
GM
242602011-05-17 Glenn Morris <rgm@gnu.org>
24261
2dd12e7f
GM
24262 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24263
e4157b9c
GM
24264 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24265 Replace obsolete function.
24266
8e249bbd
GM
24267 * shell.el (pcomplete-parse-arguments-function): Declare.
24268
3952e9d8
GM
24269 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24270 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24271 (appt-check): Doc fixes.
24272 (appt-disp-window-function, appt-delete-window-function):
24273 Remove needless special case in custom :type.
24274 (appt-display-count): Default to 0, not nil.
24275 (appt-check): Reset appt-display-count to 0, not nil.
24276
c71a0d48 242772011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 24278
c71a0d48
GM
24279 * progmodes/python.el (python-font-lock-keywords):
24280 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 24281
31d55be9
SM
242822011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24283
24284 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24285
3bfacb2f
KR
242862011-05-16 Kevin Ryde <user42@zip.com.au>
24287
24288 * info-look.el (makefile-automake-mode): New setups, looking in
24289 automake manual, then makefile-mode.
24290 (makefile-mode): Remove automake manual, have it just in
24291 makefile-automake-mode since there's various things different or
24292 not relevant to plain make.
24293 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24294 believe a hypothetical automake-mode would go to makefile-mode,
24295 not the other way around.
24296
c8e83751
CY
242972011-05-15 Chong Yidong <cyd@stupidchicken.com>
24298
5e9e35cd
CY
24299 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24300 hunk-end tags (Bug#8672).
24301
c8e83751
CY
24302 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24303 vc-annotate-show-diff-revision-at-line (Bug#8671).
24304
50b23e5a
GM
243052011-05-14 Glenn Morris <rgm@gnu.org>
24306
7210a739
GM
24307 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24308 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
24309 (change-log-font-lock-keywords): Also handle multiple author lines
24310 with leading tabs. (Bug#8644)
7210a739 24311
4691905a
GM
24312 * calendar/appt.el (appt-check): Rename some local variables.
24313 Some simplification/reordering.
24314
50b23e5a
GM
24315 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24316 (feedmail-sendmail-f-doesnt-sell-me-out)
24317 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24318 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24319 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
24320 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24321 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
24322 (feedmail-binmail-gnulinuxish-template):
24323 Rename from feedmail-binmail-linuxish-template.
24324 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24325 Use insert-buffer-substring.
24326
215cda7c
BC
243272011-05-14 Bill Carpenter <bill@carpenter.org>
24328
24329 * mail/feedmail.el (feedmail-patch-level): Increase.
24330 (feedmail-debug): New custom group.
24331 (feedmail-confirm-outgoing-timeout)
24332 (feedmail-sendmail-f-doesnt-sell-me-out)
24333 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24334 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24335 (feedmail-sender-line, feedmail-from-line)
24336 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 24337 (feedmail-spray-this-address)
215cda7c
BC
24338 (feedmail-spray-address-fiddle-plex-list)
24339 (feedmail-queue-use-send-time-for-date)
24340 (feedmail-queue-use-send-time-for-message-id)
24341 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24342 (feedmail-buffer-eating-function):
24343 Doc fixes.
24344 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24345 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24346 (feedmail-message-action-scroll-down): New functions.
24347 (feedmail-queue-directory, feedmail-queue-draft-directory):
24348 Use expand-file-name.
24349 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24350 Remove C-v help entry.
24351 (feedmail-queue-buffer-file-name): New variable.
24352 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24353 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24354 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24355 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24356 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24357 (feedmail-message-action-toggle-spray)
24358 (feedmail-run-the-queue-no-prompts)
24359 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24360 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24361 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24362 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24363 (feedmail-envelope-deducer, feedmail-fiddle-from)
24364 (feedmail-fiddle-sender, feedmail-default-date-generator)
24365 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24366 (feedmail-fiddle-spray-address)
24367 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24368 (feedmail-fiddle-list-of-fiddle-plexes)
24369 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24370 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24371 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24372 Change default. Doc fix.
24373 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24374 (feedmail-binmail-linuxish-template): New constant.
24375 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24376 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24377 (feedmail-send-it): Add debug call.
24378 Use feedmail-queue-buffer-file-name, and
24379 feedmail-send-it-immediately-wrapper.
24380 (feedmail-message-action-send): Add debug call.
24381 Use feedmail-send-it-immediately-wrapper.
24382 (feedmail-queue-express-to-queue): Add debug call.
24383 Run feedmail-queue-express-hook.
24384 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24385 (feedmail-message-action-help-blat):
24386 Rename from feedmail-queue-send-edit-prompt-help-first.
24387 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24388 Check line-endings. Handle errors better.
24389 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24390 Doc fix. Add debug call.
24391 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24392 Use feedmail-queue-send-edit-prompt-inner.
24393 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24394 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24395 from feedmail-queue-send-edit-prompt.
24396 (feedmail-queue-send-edit-prompt-help)
24397 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24398 (feedmail-tidy-up-slug): Add debug call.
24399 Respect feedmail-queue-slug-suspect-regexp.
24400 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24401 (feedmail-dump-message-to-queue): Add debug call.
24402 Expand queue-directory.
24403 (feedmail-dump-message-to-queue): Change message slightly.
24404 Use feedmail-say-chatter.
24405 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24406 (feedmail-send-it-immediately-wrapper): New function.
24407 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24408 Insert empty string rather than newline. Handle full-frame case.
24409 Use catch/throw. Use feedmail-say-chatter.
24410 (feedmail-fiddle-from): Try mail-host-address.
24411 (feedmail-default-message-id-generator): Doc fix.
24412 Bind system-time-locale. Handle missing end.
24413 (feedmail-fiddle-x-mailer): Add debug call.
24414 Handle feedmail-x-mailer-line being nil.
24415 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24416 Add debug call. Use buffer-substring-no-properties.
24417 (feedmail-say-debug, feedmail-say-chatter): New functions.
24418 (feedmail-find-eoh): Give an explicit error.
24419
42c7e61e
UJ
244202011-05-13 Ulf Jasper <ulf.jasper@web.de>
24421
c2571358 24422 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 24423 family from helvetica to sans.
c2571358 24424 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
24425 etc/images/newsticker.
24426
c2571358 24427 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
24428 family from helvetica to sans.
24429
24430 * net/newst-plainview.el (newsticker-new-item-face)
24431 (newsticker-old-item-face, newsticker-immortal-item-face)
24432 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 24433 (newsticker-statistics-face): Change default family from
42c7e61e 24434 helvetica to sans.
c2571358 24435 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
24436 etc/images/newsticker.
24437
5d3385a0
JB
24438 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24439 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
24440 auto-marking.
24441
8497a297
DV
244422011-05-13 Didier Verna <didier@xemacs.org>
24443
24444 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
24445 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24446 TODO entries.
8497a297
DV
24447 (lisp-lambda-list-keyword-parameter-indentation)
24448 (lisp-lambda-list-keyword-parameter-alignment)
24449 (lisp-lambda-list-keyword-alignment): New customizable user options.
24450 (lisp-indent-defun-method): Improve docstring.
24451 (extended-loop-p): Fix comment.
24452 (lisp-indent-lambda-list-keywords-regexp): New variable.
24453 (lisp-indent-lambda-list): New function.
24454 (lisp-indent-259): Use it.
24455 (lisp-indent-defmethod): Support for more than one
24456 method qualifier and properly indent methods lambda-lists.
24457 (defgeneric): Provide a missing common-lisp-indent-function property.
24458
f278f87f
SM
244592011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24460
24461 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24462 bounds for the empty string (bug#8667).
24463
5233edd7
GM
244642011-05-13 Glenn Morris <rgm@gnu.org>
24465
5237a44f
GM
24466 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24467
8340026c 24468 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 24469 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 24470
5233edd7 24471 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 24472 (appt-time-msg-list): Doc fix.
a5464014 24473 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 24474
92d10796
AS
244752011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24476
24477 * progmodes/ld-script.el (ld-script-keywords)
24478 (ld-script-builtins): Update keywords list.
24479
914a0ae1
SM
244802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24481
c89be45f
SM
24482 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24483
914a0ae1
SM
24484 * shell.el (shell-completion-vars): New function.
24485 (shell-mode):
24486 * simple.el (read-shell-command): Use it.
24487 (blink-matching-open): No need for " [...]" in minibuffer-message.
24488
98dc3df3
GM
244892011-05-12 Glenn Morris <rgm@gnu.org>
24490
24491 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24492 (appt-check): Simplify.
24493
d2fc7e3d 244942011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 24495
4d61f28d 24496 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
24497 literal "/dev/null".
24498
d2fc7e3d 244992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
24500
24501 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24502 Fix typo.
24503
d2fc7e3d 245042011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 24505
3f254caa
SM
24506 * progmodes/which-func.el (which-function):
24507 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
24508 which might not be defined (Bug#8260).
24509
d45885f7
GM
245102011-05-12 Glenn Morris <rgm@gnu.org>
24511
24512 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24513 Let byte-compile-initial-macro-environment always take precedence.
24514
488086f4
SM
245152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24516
24517 * net/rcirc.el: Add support for SSL/TLS connections.
24518 (rcirc-server-alist): New field `encryption'.
24519 (rcirc): Check `encryption' settings.
24520 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24521 Merge make-local-variable into `set'.
24522 (rcirc--connection-open-p): New function.
24523 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24524 the process is not a network process (e.g. running gnutls-cli).
24525 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24526 Make rcirc-(en|de)code-coding-system local here.
24527 (rcirc-mode): Merge make-local-variable into `set'.
24528 (rcirc-parent-buffer): Make permanent buffer-local.
24529 (rcirc-multiline-minor-mode): Don't do it here.
24530 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24531 there's no server buffer.
24532
7d3b9d44
GM
245332011-05-11 Glenn Morris <rgm@gnu.org>
24534
f64049c6
GM
24535 * newcomment.el (comment-kill): Prefix "unused" local.
24536
93c9df73
GM
24537 * term/w32console.el (get-screen-color): Declare.
24538
7d3b9d44
GM
24539 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24540 Handle symbol elements of byte-compile-initial-macro-environment.
24541
9e2dd53f
LL
245422011-05-10 Leo Liu <sdl.web@gmail.com>
24543
488086f4
SM
24544 * bookmark.el (bookmark-bmenu-mode-map):
24545 Bind bookmark-bmenu-search to `/'.
8b340240 24546
9e2dd53f 24547 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
24548 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24549 (Footnote-unicode): New function.
24550 (footnote-style-alist): Add unicode style to the list.
24551 (footnote-style): Doc fix.
9e2dd53f 24552
79b70037
GM
245532011-05-10 Jim Meyering <meyering@redhat.com>
24554
24555 Fix doubled-word typos.
24556 * international/quail.el (quail-insert-kbd-layout): and and -> and
24557 * kermit.el: and and -> and
24558 * net/ldap.el (ldap-search-internal): to to -> to
24559 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24560 * progmodes/js.el (js-mode): and and -> and
24561 * textmodes/artist.el (artist-move-to-xy): at at -> at
24562 (artist-draw-region-trim-line-endings): if if -> if
24563 And Safetyc -> Safety.
24564 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24565
b8f82dc1 245662011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 24567 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
24568
24569 * files.el (hack-one-local-variable-eval-safep):
24570 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24571
4f99f44b
GM
245722011-05-10 Glenn Morris <rgm@gnu.org>
24573
24574 * calendar/diary-lib.el (diary-list-entries-hook)
24575 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24576 (diary-nongregorian-marking-hook, diary-list-entries)
24577 (diary-include-other-diary-files, diary-mark-entries)
24578 (diary-mark-included-diary-files): Doc fixes.
24579
84f29e6b
JB
245802011-05-09 Juanma Barranquero <lekktu@gmail.com>
24581
24582 * misc.el: Require tabulated-list.el during compilation.
24583
9bedd73a
CY
245842011-05-09 Chong Yidong <cyd@stupidchicken.com>
24585
488086f4
SM
24586 * progmodes/compile.el (compilation-start):
24587 Run compilation-filter-hook for the async case too.
9bedd73a
CY
24588 (compilation-filter-hook): Doc fix.
24589
797c735c
DD
245902011-05-09 Deniz Dogan <deniz@dogan.se>
24591
24592 * wdired.el: Remove outdated installation comment. Fix usage
24593 comment.
24594
5f4b1dfe
JB
245952011-05-09 Juanma Barranquero <lekktu@gmail.com>
24596
24597 * misc.el: Implement new command `list-dynamic-libraries'.
24598 (list-dynamic-libraries--loaded-only-p): New variable.
24599 (list-dynamic-libraries--refresh): New function.
24600 (list-dynamic-libraries): New command.
24601
4c44026c
CY
246022011-05-09 Chong Yidong <cyd@stupidchicken.com>
24603
488086f4
SM
24604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24605 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
24606 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24607 higher priority to avoid clobbering by gnu.
24608
027f966d
CY
246092011-05-08 Chong Yidong <cyd@stupidchicken.com>
24610
24611 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24612 if the face has existing theme settings (Bug#8454).
24613
085f5d7d
CY
246142011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24615
488086f4
SM
24616 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24617 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 24618
2a86a00c
RS
24619 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24620 special file names `.' and `..' (Bug#8259).
24621
d9c54a06
CY
246222011-05-08 Chong Yidong <cyd@stupidchicken.com>
24623
488086f4
SM
24624 * progmodes/grep.el (grep-mode-font-lock-keywords):
24625 Remove buffer-changing entries.
d9c54a06
CY
24626 (grep-filter): New function.
24627 (grep-mode): Add it to compilation-filter-hook.
24628
24629 * progmodes/compile.el (compilation-filter-hook)
24630 (compilation-filter-start): New defvars.
24631 (compilation-filter): Call compilation-filter-hook prior to
24632 updating the process mark.
24633
c4662635
SM
246342011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24635
24636 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24637
b0512a1d
EZ
246382011-05-07 Eli Zaretskii <eliz@gnu.org>
24639
605c9376
EZ
24640 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24641 mailclient-send-it even if window-system is nil. (Bug#8595)
24642
c4662635
SM
24643 * term/w32console.el (terminal-init-w32console):
24644 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
24645 background-mode. (Bug#8597)
24646
d1dc2cc2
SM
246472011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24648
24649 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24650 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24651 New functions.
24652 (defgeneric, eieio--defmethod): Use them.
24653 (eieio-defgeneric): Remove.
24654 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24655
915d1300
GM
246562011-05-07 Glenn Morris <rgm@gnu.org>
24657
a3961c3e
GM
24658 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24659 Use let rather than let*.
24660 (timeclock-find-discrep): Remove unused local.
24661
314347b9
GM
24662 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24663
915d1300
GM
24664 * calendar/appt.el (appt-time-msg-list): Doc fix.
24665
275b59b0
NF
246662011-05-06 Noah Friedman <friedman@splode.com>
24667
24668 * apropos.el (apropos-print-doc): Only use
24669 emacs-lisp-docstring-fill-column when it is bound to an integer,
24670 per that variable's documentation.
24671
6c19f744
SM
246722011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24673
24674 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 24675 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 24676
60f884b2
GM
246772011-05-06 Glenn Morris <rgm@gnu.org>
24678
5006e634
GM
24679 * calendar/appt.el (appt-message-warning-time): Doc fix.
24680 (appt-warning-time-regexp): New option.
24681 (appt-make-list): Respect appt-message-warning-time.
24682
548d0a63
GM
24683 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24684 New options.
24685 (diary-add-to-list): Strip comments from the displayed string.
24686 (diary-mode): Set comment-start and comment-end.
24687
60f884b2
GM
24688 * vc/diff-mode.el (smerge-refine-subst): Declare.
24689 (diff-refine-hunk): Don't require smerge-mode when compiling.
24690
989681bb
JB
246912011-05-06 Juanma Barranquero <lekktu@gmail.com>
24692
24693 * simple.el (list-processes): Return nil as the docstring says.
24694
a6bc05e1
MA
246952011-05-05 Michael Albinus <michael.albinus@gmx.de>
24696
24697 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24698 to "".
24699 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24700 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24701 determining of binary transfer. (Bug#7383)
24702
23c22e9a
MA
247032011-05-05 Michael Albinus <michael.albinus@gmx.de>
24704
c4662635
SM
24705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24706 Fix port computation bug. (Bug#8618)
23c22e9a 24707
0bff894f
GM
247082011-05-05 Glenn Morris <rgm@gnu.org>
24709
b8296902
GM
24710 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24711
1f522ce8
GM
24712 * simple.el (shell-dynamic-complete-functions)
24713 (comint-dynamic-complete-functions): Declare.
24714
cf5bee67
GM
24715 * net/network-stream.el (gnutls-negotiate):
24716 * simple.el (tabulated-list-print): Fix declarations.
24717
24718 * progmodes/gud.el (syntax-symbol, syntax-point):
24719 Remove unnecessary and incorrect declarations.
24720
0bff894f 24721 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 24722 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 24723
9869b3ae
SM
247242011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24725
24726 Fix earlier half-done eieio-defmethod change (bug#8338).
24727 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24728 Streamline and change calling convention.
24729 (defmethod): Adjust accordingly and simplify.
24730 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24731 new eieio--defmethod.
24732 (slot-boundp): Minor CSE simplification.
24733
9c1d5ac5
MZ
247342011-05-05 Milan Zamazal <pdm@zamazal.org>
24735
24736 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24737 (glasses-make-readable): Use glasses-separate-capital-groups.
24738
455c834e
JB
247392011-05-05 Juanma Barranquero <lekktu@gmail.com>
24740
24741 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24742 (warning-series): Doc fix.
24743 (display-warning): Don't try to create the buffer if we just found it.
24744
9ed7c8cb
CY
247452011-05-04 Chong Yidong <cyd@stupidchicken.com>
24746
24747 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24748 (autoload-find-generated-file): New function.
24749 (generate-file-autoloads): Bind generated-autoload-file to
24750 buffer-file-name.
9869b3ae
SM
24751 (update-file-autoloads, update-directory-autoloads):
24752 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
24753 output file (Bug#7989).
24754 (batch-update-autoloads): Doc fix.
24755
0898ca10
JB
247562011-05-04 Juanma Barranquero <lekktu@gmail.com>
24757
24758 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24759
31dfb76c
GM
247602011-05-04 Glenn Morris <rgm@gnu.org>
24761
f330b642
GM
24762 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24763 function, so it follows changes in calendar-date-style.
24764 (diary-fancy-date-matcher): New function.
24765 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24766 (diary-fancy-font-lock-fontify-region-function):
24767 Use diary-fancy-date-pattern as a function.
24768
31dfb76c
GM
24769 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24770 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24771
48e79d6a
TZ
247722011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24773
24774 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24775 instead of positional arguments. Allow :keylist and :crlfiles
24776 arguments.
24777 (open-gnutls-stream): Call it.
24778
24779 * net/network-stream.el (network-stream-open-starttls): Adjust to
24780 call `gnutls-negotiate' with :process and :hostname arguments.
24781
dd5a5ee0
SM
247822011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24783
ef80fc09
SM
24784 * minibuffer.el (completion--message): New function.
24785 (completion--do-completion, minibuffer-complete)
24786 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24787 (completion--do-completion): Don't ignore completion-auto-help when in
24788 icomplete-mode.
24789
dd5a5ee0
SM
24790 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24791 internal encoding (e.g. tibetan zero is not whitespace).
24792 (global-whitespace-mode): Prefer save-current-buffer.
24793 (whitespace-trailing-regexp): Remove useless save-match-data.
24794 (whitespace-empty-at-bob-regexp): Minor simplification.
24795
b7d22a83
CY
247962011-05-03 Chong Yidong <cyd@stupidchicken.com>
24797
24798 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24799
5192af46
AM
248002011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24801
24802 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 24803 Use `concat' to create string for insertion.
5192af46 24804
5767d190
SM
248052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24806
24807 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24808 Avoid open-line which runs post-self-insert-hook.
24809 (bibtex-fill-entry): Remove unused `end' var.
24810
bf242939
AM
248112011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24812
5767d190
SM
24813 * textmodes/ispell.el (ispell-add-per-file-word-list):
24814 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 24815
25666126
LL
248162011-05-03 Leo Liu <sdl.web@gmail.com>
24817
24818 * isearch.el (isearch-yank-pop): New command.
5767d190 24819 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
24820 (isearch-forward): Mention it.
24821
52d3c2d0
SM
248222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24823
1bcace58
SM
24824 * simple.el (minibuffer-complete-shell-command): Remove.
24825 (minibuffer-local-shell-command-map): Use completion-at-point.
24826 (read-shell-command): Setup completion vars here instead.
24827 (read-expression-map): Bind TAB to symbol completion.
24828
52d3c2d0
SM
24829 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24830 error directly rather via storing it into `results'.
24831
35813471
LL
248322011-05-02 Leo Liu <sdl.web@gmail.com>
24833
24834 * vc/diff.el: Fix description.
24835
e793a940
LMI
248362011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24837
24838 * server.el (server-eval-at): New function.
24839
8de66e05
LMI
248402011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24841
24842 * net/network-stream.el (open-network-stream): Take a :nowait
24843 parameter and pass it on to `make-network-process'.
24844 (network-stream-open-plain): Ditto.
24845
dcb79f20
AS
248462011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24847
24848 * faces.el (face-spec-set-match-display): Don't match toolkit
24849 options on terminal frames.
24850
14a7fbd8
SM
248512011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24852
7eabc1be
SM
24853 * progmodes/pascal.el: Use lexical binding.
24854 (pascal-mode-map): Remove author preferences.
24855
14a7fbd8
SM
24856 * pcomplete.el (pcomplete-std-complete): Don't abuse
24857 completion-at-point.
24858
50f84510
JB
248592011-04-28 Juanma Barranquero <lekktu@gmail.com>
24860
6e087a44
JB
24861 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24862 removing code that has been dead since 1991 or so.
24863
50f84510
JB
24864 * startup.el (command-line): When warning about "_emacs", use a
24865 delayed warning to allow the user to filter it out.
24866
0ba690bd
DD
248672011-04-28 Deniz Dogan <deniz@dogan.se>
24868
24869 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24870 user has not joined.
24871
08abfaad
SM
248722011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24873
24874 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24875 aren't any completions at point.
24876
638f053a
JB
248772011-04-28 Juanma Barranquero <lekktu@gmail.com>
24878
24879 * subr.el (display-delayed-warnings): New function.
24880 (delayed-warnings-hook): New variable.
24881
8fff8daa
SM
248822011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24883
08abfaad
SM
24884 * minibuffer.el (completion-at-point, completion-help-at-point):
24885 Don't presume that a given completion-at-point-function will always
24886 use the same calling convention.
24887
8fff8daa
SM
24888 * pcomplete.el (pcomplete-completions-at-point):
24889 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24890 pcomplete-seen is non-nil.
24891 (pcomplete-comint-setup): Also recognize the new comint/shell
24892 completion functions.
24893 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24894 pcomplete-seen is non-nil.
24895
841a1577 248962011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 24897
841a1577 24898 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 24899 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 24900 the first character in the entry. This allows for code to add its
211ec907
UJ
24901 own uid to the entry.
24902 (icalendar--convert-float-to-ical): Add export of
24903 `diary-float'-entries save for those with the optional DAY
24904 argument.
24905
2a782793
DC
249062011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24907
24908 * subr.el (shell-quote-argument): Use alternate escaping strategy
24909 when we spot a variable reference in a string.
24910
0438ce91
DC
249112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24912
24913 * cus-start.el (all): Define customization for debug-on-event.
24914
841a1577 249152011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
24916
24917 * subr.el (shell-quote-argument): Escape correctly under Windows.
24918
d090ed6c
SM
249192011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24920
24921 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24922
bfd31217
MA
249232011-04-25 Michael Albinus <michael.albinus@gmx.de>
24924
d090ed6c
SM
24925 * net/tramp.el (tramp-process-actions): Add POS argument.
24926 Delete region between POS and (pos).
bfd31217 24927
d090ed6c
SM
24928 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24929 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
24930 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24931
24932 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24933 position in `tramp-process-actions' call.
24934
24935 * net/trampver.el: Update release number.
24936
e92f3bd3
SM
249372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24938
850256b5
SM
24939 * custom.el (defcustom): Obey lexical-binding.
24940
e92f3bd3
SM
24941 Fix octave-inf completion problems reported by Alexander Klimov.
24942 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24943 Inherit from octave-mode-syntax-table.
24944 (inferior-octave-mode): Set info-lookup-mode.
24945 (inferior-octave-completion-at-point): New function.
24946 (inferior-octave-complete): Use it and completion-in-region.
24947 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24948 comint-filename-completion.
24949 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24950 symbol elements which shouldn't be word elements.
24951 (octave-font-lock-keywords, octave-beginning-of-defun)
24952 (octave-function-header-regexp): Adjust regexps accordingly.
24953 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24954
cd22b309
JB
249552011-04-25 Juanma Barranquero <lekktu@gmail.com>
24956
24957 * net/gnutls.el (gnutls-errorp): Declare before first use.
24958
8b492194
TZ
249592011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24960
24961 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24962 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 24963 default trustfile exists before going to use it. Add missing
5a5fa834 24964 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
24965 Reported by Claudio Bley <claudio.bley@gmail.com>.
24966 (open-gnutls-stream): Add usage example.
24967
24968 * net/network-stream.el (network-stream-open-starttls): Give host
24969 parameter to `gnutls-negotiate'.
24970 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 24971 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 24972
841a1577 249732011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 24974
cd22b309
JB
24975 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24976 Use correct match group (bug#8438).
05842630 24977
3ba7869c
CY
249782011-04-24 Chong Yidong <cyd@stupidchicken.com>
24979
512e3ae1
CY
24980 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24981 (package-menu--generate): New arg specifying packages to show.
24982 (package-menu-refresh, package-menu-execute, list-packages):
24983 Callers changed.
24984 (package-show-package-list): New function, replacing deleted
24985 package--list-packages (renamed because it is non-internal).
24986
24987 * finder.el (finder-list-matches): Use package-show-package-list
24988 instead of deleted package--list-packages.
24989
e92f3bd3
SM
24990 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24991 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
24992 (vc-annotate-mode-map): Bind it to RET.
24993
7031be6d
UR
249942011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24995
24996 * progmodes/etags.el (next-file): Don't use set-buffer to change
24997 buffers (Bug#8478).
24998
4ef177aa
CY
249992011-04-24 Chong Yidong <cyd@stupidchicken.com>
25000
c8d173eb
CY
25001 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25002
4ef177aa
CY
25003 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25004 (apropos-accumulator): Doc fix.
25005 (apropos-function, apropos-macro, apropos-command)
25006 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25007 (apropos-plist): Add face property.
25008 (apropos-symbols-internal): Fix indentation.
25009 (apropos-print): Simplify help, and recognize apropos-multi-type.
25010 (apropos-print-doc): Use button-type-get to extract the button's
25011 face property. Fill docstring (Bug#8352).
25012
4ffd0d6b 250132011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
25014
25015 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25016
c6c32125 25017 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 25018 (mpuz-mode-map): Use mapc.
c6c32125
JB
25019 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25020 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25021 Fix typos in docstrings.
25022
58d468b4
JB
25023 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25024 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25025
6470c3c6
JB
25026 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25027
4ffd0d6b 250282011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
25029
25030 * minibuffer.el (completion--do-completion): Avoid the "Next char
25031 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25032
3ad8bad0
CY
25033 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25034 mouse-2 into unread-command-events, it is interpreted correctly.
25035
71d73c9c 25036 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 25037 (image-toggle-display): Doc fix.
71d73c9c 25038
841a1577 250392011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 25040
4ffd0d6b
GM
25041 * textmodes/page.el (what-page): Use line-number-at-pos to
25042 calculate line number (Bug#6825).
6e1dbaa9 25043
c2fb1b60
JB
250442011-04-22 Juanma Barranquero <lekktu@gmail.com>
25045
25046 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25047 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25048 Pass argument NO-DEFAULT to `find-tag-interactive'.
25049
e02f48d7
JB
250502011-04-22 Juanma Barranquero <lekktu@gmail.com>
25051
25052 Lexical-binding cleanup.
25053
25054 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25055 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25056 * progmodes/ada-prj.el (ada-prj-initialize-values)
25057 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25058 (ada-prj-show-value):
25059 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25060 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25061 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25062 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25063 * progmodes/bug-reference.el (bug-reference-push-button):
25064 * progmodes/fortran.el (fortran-line-length):
25065 * progmodes/glasses.el (glasses-change):
25066 * progmodes/octave-mod.el (octave-fill-paragraph):
25067 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25068 (python-pdbtrack-grub-for-buffer, python-sentinel):
25069 * progmodes/sql.el (sql-save-connection):
25070 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25071 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25072 Mark unused parameters.
25073
25074 * progmodes/compile.el (compilation--flush-directory-cache)
25075 (compilation--flush-parse, compile-internal): Mark unused parameters.
25076 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25077 (compilation-next-error-function): Remove unused variable `timestamp'.
25078
25079 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25080 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25081
25082 * progmodes/dcl-mode.el (dcl-end-of-command):
25083 Remove unused variable `start'.
25084 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25085 (dcl-option-value-basic, dcl-option-value-offset)
25086 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25087 Mark unused parameters.
25088 (dcl-save-local-variable): Remove unused variable `val'.
25089 (mode): Declare.
25090
25091 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25092 Mark unused parameters.
25093 (delphi-ignore-changes): Move before first use.
25094 (delphi-charset-token-at): Remove unused variable `start'.
25095 (delphi-else-start): Remove unused variable `if-count'.
25096 (delphi-comment-block-start, delphi-comment-block-end):
25097 Remove unused variable `kind'.
25098 (delphi-indent-line): Remove unused variable `new-point'.
25099
25100 * progmodes/ebrowse.el (ebrowse-files-list)
25101 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25102 Mark unused parameters. Don't quote `lambda'.
25103 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25104 Don't quote `lambda'.
25105 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25106 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25107 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25108 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25109 Use `ignore-errors'.
25110 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25111 (ebrowse-view/find-file-and-search-pattern)
25112 (ebrowse-view/find-member-declaration/definition):
25113 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25114 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25115 Rename parameter PREFIX-ARG to PREFIX.
25116 (ebrowse-tags-read-name): Remove unused variables `start' and
25117 `member-info'.
25118 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25119 to `tags-file'.
25120
25121 * progmodes/etags.el (local-find-tag-hook): Declare.
25122 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25123 Mark unused parameters.
25124
25125 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25126 (executable-interpret): Mark unused parameter.
25127
25128 * progmodes/flymake.el (flymake-process-sentinel)
25129 (flymake-after-change-function)
25130 (flymake-create-temp-with-folder-structure)
25131 (flymake-get-include-dirs-dot): Mark unused parameters.
25132 (flymake-safe-delete-directory): Remove unused variable `err'.
25133
25134 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25135 (speedbar-timer-fn, speedbar-line-text)
25136 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25137 (speedbar-center-buffer-smartly): Declare functions.
25138 (gdb-find-watch-expression): Remove unused variable `array'.
25139 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25140 (gdb-starting): Mark unused parameters.
25141 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25142 (gdb-table-string): Remove unused variable `res'.
25143 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25144 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25145 (gdb-display-buffer): Remove unused variable `cur-size'.
25146
25147 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25148 allow lexical-binding compilation.
25149 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25150 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25151 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25152 Mark unused parameters.
25153 (gud-gdb-marker-filter): Remove unused variable `match'.
25154 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25155 lambda expressions and funcall them, instead of using `fset'.
25156
25157 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25158 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25159
25160 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25161 variable `header-beg'; use `let'.
25162
25163 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25164 `restart', `last-sexp' and `at-do'.
25165
25166 * progmodes/js.el (js--debug): Mark unused parameter.
25167 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25168 (js--splice-into-items): Remove unused variable `item'.
25169 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25170
25171 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25172 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25173 (makefile-complete): Remove unused variable `try'.
25174 (makefile-fill-paragraph, makefile-match-function-end):
25175 Mark unused parameters.
25176
25177 * progmodes/octave-inf.el (inferior-octave-complete):
25178 Remove unused variable `proc'.
25179 (inferior-octave-output-digest): Mark unused parameter.
25180
25181 * progmodes/perl-mode.el (perl-calculate-indent):
25182 Remove unused variable `err'.
25183
25184 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25185 (prolog-indent-line): Mark unused parameters.
25186 (prolog-indent-line): Remove unused variable `beg'.
25187
25188 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25189 (reporter-dont-compact-list): Declare.
25190
25191 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25192 Remove unused variable `char'.
25193 (sh-debug): Mark unused parameter.
25194 (sh-get-indent-info): Remove unused variable `start'.
25195 (sh-calculate-indent): Remove unused variable `var'.
25196
25197 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25198 (simula-electric-keyword): Remove unused variable `null'.
25199 (simula-search-backward, simula-search-forward): Remove unused
25200 variables `begin' and `end'.
25201
25202 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25203 Remove unused variable `pos'.
25204 (vera-electric-tab, vera-comment-uncomment-region):
25205 Mark unused parameters.
25206 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25207
7ede3b65
CY
252082011-04-22 Chong Yidong <cyd@stupidchicken.com>
25209
25210 * emacs-lisp/package.el (package--builtins, package-alist)
25211 (package-load-descriptor, package-built-in-p, package-activate)
25212 (define-package, package-installed-p)
25213 (package-compute-transaction, package-buffer-info)
25214 (package--push): Doc fix. Distinguish more clearly between
25215 version strings and version lists.
25216
121656e9
JB
252172011-04-21 Juanma Barranquero <lekktu@gmail.com>
25218
25219 Lexical-binding cleanup.
25220
25221 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25222 (5x5-make-mutate-best):
25223 * play/fortune.el (fortune-in-buffer):
25224 * play/gomoku.el (gomoku-init-display):
25225 * play/solitaire.el (solitaire, solitaire-do-check):
25226 * play/tetris.el (tetris-default-update-speed-function):
25227 Mark unused parameters.
25228
25229 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25230 (bubbles--shift): Remove unused variable `char-org'.
25231 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25232 (bubbles--show-images): Remove unused variable `char'.
25233
25234 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25235 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25236 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25237 (decipher-analyze-buffer): Use ?\s.
25238 (decipher-make-checkpoint): Remove unused variable `mapping'.
25239
25240 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25241
25242 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25243 Remove unused variable `result'; use `let'.
25244
25245 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25246 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25247 (gametree-children-shown-p, gametree-compute-reduced-score):
25248 Use `ignore-errors'.
25249
25250 * play/handwrite.el (ps-lpr-switches): Declare.
25251 (handwrite): Remove unused variables `pmin' and `lastp'.
25252
25253 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25254
25255 * play/landmark.el (landmark-init-display)
25256 (landmark-update-naught-weights): Mark unused parameters.
25257 (landmark-y): Remove unused variable `noise'. Simplify.
25258 (landmark-human-plays): Remove unused variable `score'.
25259
25260 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25261 (mpuz-try-proposal): Remove unused variable `game'.
25262
25263 * play/zone.el (life-patterns): Declare.
25264
80f499c7
JB
252652011-04-20 Juanma Barranquero <lekktu@gmail.com>
25266
25267 * vc/vc.el (ediff-vc-internal): Declare function.
25268
024ff170
SM
252692011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25270
c0a193ea
SM
25271 * shell.el: Use lexical-binding and std completion UI.
25272 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25273 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25274 comint-preoutput-filter-functions rather than on
25275 comint-output-filter-functions.
25276 (shell-command-completion, shell--command-completion-data)
25277 (shell-filename-completion, shell-environment-variable-completion)
25278 (shell-c-a-p-replace-by-expanded-directory): New functions.
25279 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25280 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25281 (shell-dynamic-complete-environment-variable): Use them.
25282 (shell-dynamic-complete-as-environment-variable)
25283 (shell-dynamic-complete-as-command): Remove.
25284 (shell-match-partial-variable): Match past point.
25285 * comint.el: Clean up use of completion-at-point-functions.
25286 (comint-completion-at-point): New function.
25287 (comint-mode): Use it completion-at-point-functions.
25288 (comint-dynamic-complete): Make it obsolete.
25289 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25290 (comint-c-a-p-replace-by-expanded-history): New function.
25291 (comint-dynamic-complete-functions)
25292 (comint-replace-by-expanded-history): Use it.
25293 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25294 termination strings. Try harder to avoid second try-completion.
25295 (completion-in-region-mode-map): Disable bindings that don't work yet.
25296
2dbaa080
SM
25297 * comint.el: Use lexical-binding. Require CL.
25298 (comint-dynamic-complete-functions): Use comint-filename-completion.
25299 (comint-completion-addsuffix): Tweak custom type.
25300 (comint-filename-completion, comint--common-suffix)
25301 (comint--common-quoted-suffix, comint--table-subvert)
25302 (comint--complete-file-name-data): New functions.
25303 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25304 (comint-dynamic-list-filename-completions): Use them.
25305 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 25306
2dbaa080
SM
25307 * minibuffer.el (completion-in-region-mode):
25308 Keep completion-in-region-mode--predicate global.
25309 (completion-in-region--postch):
25310 Assume completion-in-region-mode--predicate is not null.
25311
c79a6f38
SM
25312 * progmodes/flymake.el (flymake-start-syntax-check-process):
25313 Obey `dir'. Simplify.
25314
024ff170
SM
25315 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25316 we're in VC after all.
25317
1c6c854e
CS
253182011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25319
25320 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 25321 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
25322 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25323
bed7f140
SM
253242011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25325
332e62ab
SM
25326 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25327 add sanity check.
25328
bed7f140
SM
25329 * obsolete/erc-hecomplete.el: Make obsolete.
25330 * obsolete/: Standardize obsolescence info in the header.
25331
f195c582
GM
253322011-04-20 Glenn Morris <rgm@gnu.org>
25333
25334 * calendar/solar.el (solar-horizontal-coordinates):
25335 Use the longitude argument rather than `calendar-longitude'.
25336 (solar-date-next-longitude): Remove unused locals.
25337
cb79b8c0
VJL
253382011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25339
25340 * whitespace.el: New version 13.2.1.
25341
253422011-04-20 felix <EmacsWiki> (tiny change)
25343
d8e4b68b 25344 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
25345 switching between major modes on a file.
25346
602ea69d
SM
253472011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25348
25349 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25350 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25351 multi-line comments as well.
25352
06b60517
JB
253532011-04-19 Juanma Barranquero <lekktu@gmail.com>
25354
25355 Lexical-binding cleanup.
25356
25357 * arc-mode.el (archive-mode-revert):
25358 * cmuscheme.el (scheme-interactively-start-process):
25359 * custom.el (custom-initialize-delay):
25360 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25361 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25362 * emacs-lock.el (emacs-lock-clear-sentinel):
25363 * ezimage.el (defezimage):
25364 * follow.el (follow-avoid-tail-recenter):
25365 * fringe.el (set-fringe-mode-1):
25366 * generic-x.el (bat-generic-mode-compile):
25367 * help-mode.el (help-info-variable, help-do-xref)
25368 (help-mode-revert-buffer):
25369 * help.el (view-emacs-todo):
25370 * iswitchb.el (iswitchb-completion-help):
25371 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25372 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25373 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25374 * locate.el (locate-update):
25375 * longlines.el (longlines-encode-region)
25376 (longlines-after-change-function):
25377 * outline.el (outline-isearch-open-invisible):
25378 * ps-def.el (declare-function, charset-dimension, char-width)
25379 (encode-char):
25380 * ps-mule.el (ps-mule-plot-string):
25381 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25382 (recentf-edit-list-select, recentf-edit-list-validate)
25383 (recentf-open-files-action):
25384 * rect.el (delete-whitespace-rectangle-line)
25385 (rectangle-number-line-callback):
25386 * register.el (window-configuration-to-register)
25387 (frame-configuration-to-register):
25388 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25389 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25390 (xselect-convert-to-targets, xselect-convert-to-delete)
25391 (xselect-convert-to-filename, xselect-convert-to-charpos)
25392 (xselect-convert-to-lineno, xselect-convert-to-colno)
25393 (xselect-convert-to-os, xselect-convert-to-host)
25394 (xselect-convert-to-user, xselect-convert-to-class)
25395 (xselect-convert-to-name, xselect-convert-to-integer)
25396 (xselect-convert-to-atom, xselect-convert-to-identity):
25397 * subr.el (declare, ignore, process-kill-without-query)
25398 (text-clone-maintain):
25399 * terminal.el (te-get-char, te-tic-sentinel):
25400 * tool-bar.el (tool-bar-make-keymap):
25401 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25402 * type-break.el (type-break-mode, type-break-noninteractive-query):
25403 * view.el (View-back-to-mark):
25404 * wid-browse.el (widget-browse-action, widget-browse-widget)
25405 (widget-browse-widgets, widget-browse-sexp):
25406 * widget.el (define-widget-keywords):
25407 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25408 Mark unused parameters.
25409
25410 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25411 (align-areas): Remove unused variable `look'.
25412 (align-region): Remove unused variables `real-end' and `pos-list'.
25413
25414 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25415
25416 * bindings.el (mode-line-modified, mode-line-remote):
25417 Mark unused parameters.
25418 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25419
25420 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25421 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25422
25423 * comint.el (comint-history-isearch-pop-state)
25424 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25425 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25426 (comint-substitute-in-file-name): Doc fix.
25427
25428 * completion.el (cmpl-statistics-block): Mark unused parameter.
25429 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25430 (save-completions-to-file, load-completions-from-file):
25431 Remove unused local variable `e'.
25432
25433 * composite.el (compose-chars): Remove unused variable `len'.
25434 (lgstring-insert-glyph): Remove unused variable `g'.
25435 (compose-glyph-string): Remove unused variables `ascent',
25436 `descent', `lbearing' and `rbearing'.
25437 (compose-glyph-string-relative): Remove unused variables
25438 `lbearing', `rbearing' and `wadjust'.
25439 (compose-gstring-for-graphic): Remove unused variables `header',
25440 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25441 (compose-gstring-for-terminal): Remove unused variables `header'
25442 and `nchars'. Use `let', not `let*'.
25443
25444 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25445 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25446 (Custom-buffer-done, custom-buffer-create-internal)
25447 (custom-browse-visibility-action, custom-browse-group-tag-action)
25448 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25449 (widget-magic-mouse-down-action, custom-toggle-parent)
25450 (custom-add-parent-links, custom-toggle-hide-variable)
25451 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25452 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25453 (custom-face-menu-create, custom-variable-menu-create, get)
25454 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25455 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25456 (customize-apropos): Remove unused variable `tests'.
25457 (custom-group-value-create): Remove unused variable `hidden-p'.
25458 (sort-fold-case): Declare.
25459
25460 * cus-theme.el (custom-reset-standard-faces-list)
25461 (custom-reset-standard-variables-list): Declare.
25462 (customize-create-theme, custom-theme-revert, custom-theme-write)
25463 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25464 Mark unused parameters.
25465
25466 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25467
25468 * delim-col.el (delimit-columns-max): Move defvar before first use.
25469
25470 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 25471 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
25472
25473 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25474 (auto-insert): Declare.
25475 (desktop-restore-file-buffer): Rename desktop-* parameters;
25476 mark unused ones.
25477 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25478 (desktop-buffer): Rename desktop-* parameters.
25479
25480 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25481 (dframe-reposition-frame-xemacs, dframe-help-echo)
25482 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25483 Mark unused parameters.
25484
25485 * dired-aux.el (backup-extract-version-start, overwrite-query)
25486 (overwrite-backup-query, rename-regexp-query)
25487 (rename-non-directory-query): Declare.
25488 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25489 (dired-add-entry): Remove unused variable `orig-file-name'.
25490 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25491 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25492 `dired-copy-preserve-time' directly.
25493 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25494 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25495
25496 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25497 (dired-virtual-revert, dired-make-relative-symlink):
25498 Mark unused parameters.
25499 (manual-program): Declare.
25500 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25501 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25502 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25503
25504 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25505
25506 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25507
25508 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25509 Declare.
25510
25511 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25512
25513 * electric.el (Electric-command-loop): Rename parameter
25514 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25515
25516 * expand.el (expand-in-literal): Remove unused variable `here'.
25517
25518 * facemenu.el (facemenu-add-new-color):
25519 Remove unused variable `docstring'.
25520
25521 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25522 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25523 (face-attr-construct): Mark unused parameter. Doc fix.
25524 (read-color): Remove unused variable `hex-string'.
25525
25526 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25527 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25528 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25529 (display-buffer-other-frame): Remove unused variable `old-window'.
25530 (kill-buffer-hook): Declare.
25531 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25532 Mark unused parameters.
25533 (after-find-file): Pass 1 to `auto-save-mode', not t.
25534
25535 * files-x.el (auto-insert): Declare.
25536 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25537
25538 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 25539 variable `buf'. Mark unused parameter.
06b60517
JB
25540 (find-lisp-insert-directory): Mark unused parameter.
25541
25542 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25543 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25544 (format-common-tail): Remove, unused.
25545 (format-deannotate-region): Remove unused variable `loc'.
25546 (format-annotate-region): Remove unused variable `p'.
25547 (format-annotate-single-property-change): Remove unused variables
25548 `default' and `tail'.
25549
25550 * forms.el (read-file-filter): Declare.
25551 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25552
25553 * frame.el (frame-creation-function-alist): Mark unused parameter.
25554 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25555
25556 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25557 Remove unused parameters.
25558 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25559 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25560
25561 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25562 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25563 (hfy-prepare-tag-map): Mark unused parameters.
25564 (htmlfontify-buffer): Use `called-interactively-p'.
25565
25566 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25567 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25568 (ibuffer-do-occur): Mark unused parameters.
25569 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25570 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25571
25572 * ibuffer.el: Don't quote `lambda'.
25573 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25574 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25575 Mark unused parameters.
25576
25577 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25578 (ido-completing-read): Mark unused parameters.
25579 (ido-copy-current-word): Mark unused parameters;
25580 remove unused variable `name'.
25581 (ido-sort-merged-list): Remove unused parameter `dirs'.
25582
25583 * ielm.el (ielm-input-sender): Mark unused parameter.
25584 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25585 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25586 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25587 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25588 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25589
25590 * image-dired.el (image-dired-display-thumbs): Remove unused
25591 variables `curr-file' and `count'.
25592 (image-dired-remove-tag): Remove unused variable `start'.
25593 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25594 variable `curr-file'
25595 (image-dired-rotate-original): Remove unused variable `temp-file'.
25596 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25597 Remove unused variable `file'.
25598 (image-dired-gallery-generate): Remove unused variable `curr'.
25599 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25600
25601 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25602
25603 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25604
25605 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25606
25607 * isearch.el (minibuffer-history-symbol): Declare.
25608 (isearch-edit-string): Remove unused variable `err'.
25609 (isearch-message-prefix, isearch-message-suffix):
25610 Mark unused parameters.
25611
25612 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25613
25614 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25615
25616 * makesum.el (double-column): Remove unused variable `cnt'.
25617
25618 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25619 (ido-ignore-item-temp-list): Declare.
25620
25621 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25622 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25623 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25624 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25625 `mouse-col-delta'.
25626
25627 * mouse-sel.el (mouse-extend-internal):
25628 Remove unused variable `orig-window-frame'.
25629
25630 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25631 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25632 Move declarations before first use.
25633 (pcomplete-opt): Mark unused parameters; doc fix.
25634
25635 * proced.el (proced-revert): Mark unused parameter.
25636 (proced-send-signal): Remove unused variable `err'.
25637
25638 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25639 Rename parameter PREFIX-ARG to ARG.
25640 (ps-basic-plot-string, ps-basic-plot-whitespace):
25641 Mark unused parameters.
25642
25643 * replace.el (replace-count): Define.
25644 (occur-revert-function): Mark unused parameters.
25645 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25646 (isearch-case-fold-search, isearch-string): Declare.
25647 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25648 bind `case-fold-search'. Remove unused variables `beg' and `end',
25649 and simplify.
25650 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25651 COUNT and bind `replace-count'.
25652 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25653 to COUNT.
25654
25655 * savehist.el (print-readably, print-string-length): Declare.
25656
25657 * shadowfile.el (shadow-expand-cluster-in-file-name):
25658 Remove unused variable `cluster'.
25659 (shadow-copy-file): Remove unused variable `i'.
25660 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25661 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25662 (shadow-define-literal-group, shadow-define-regexp-group)
25663 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25664
25665 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25666 (shell): Use `called-interactively-p'.
25667 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25668
25669 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25670 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25671 (delete-backward-char): Remove unused variable `ocol'.
25672 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25673 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25674 (event-apply-hyper-modifier, event-apply-shift-modifier)
25675 (event-apply-control-modifier, event-apply-meta-modifier):
25676 Mark unused parameters.
25677 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25678 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25679
25680 * speedbar.el (speedbar-ignored-directory-expressions)
25681 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25682 (speedbar-find-file, speedbar-dir-follow)
25683 (speedbar-directory-buttons-follow, speedbar-tag-find)
25684 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25685 (speedbar-buffers-line-directory, speedbar-buffer-click):
25686 Mark unused parameters.
25687 (speedbar-tag-file): Remove unused variable `mode'.
25688 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25689
25690 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25691
25692 * talk.el (talk): Remove unused variable `display'.
25693
25694 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25695 (tar-write-region-annotate): Mark unused parameter.
25696
25697 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25698 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25699 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25700 warning by another.
25701
25702 * time-stamp.el (time-stamp-string-preprocess):
25703 Remove unused variable `require-padding'.
25704
25705 * tree-widget.el (widget-glyph-enable): Declare.
25706 (tree-widget-action): Mark unused parameter.
25707
25708 * w32-fns.el (x-get-selection): Mark unused parameter.
25709 (autoload-make-program, generated-autoload-file): Declare.
25710
25711 * wdired.el (wdired-revert): Mark unused parameters.
25712 (wdired-xcase-word): Remove unused variable `err'.
25713
25714 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25715 (whitespace-help-scroll): Remove unused variable `data-help'.
25716
25717 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25718 (widget-image-insert, widget-after-change, default)
25719 (widget-default-format-handler, widget-default-notify)
25720 (widget-default-prompt-value, widget-info-link-action)
25721 (widget-url-link-action, widget-function-link-action)
25722 (widget-variable-link-action, widget-file-link-action)
25723 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25724 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25725 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25726 (widget-insert-button-action, widget-delete-button-action, visibility)
25727 (widget-documentation-link-action, widget-documentation-string-action)
25728 (widget-const-prompt-value, widget-regexp-match, symbol)
25729 (widget-coding-system-prompt-value)
25730 (widget-key-sequence-value-to-external, sexp)
25731 (widget-sexp-value-to-internal, character, vector, cons)
25732 (widget-choice-prompt-value, widget-boolean-prompt-value)
25733 (widget-color--choose-action): Mark unused parameters.
25734 (widget-item-match-inline, widget-choice-match-inline)
25735 (widget-checklist-match, widget-checklist-match-inline)
25736 (widget-group-match): Rename parameter VALUES to VALS.
25737 (widget-field-value-set): Remove unused variable `size'.
25738 (widget-color-action): Remove unused variables `value' and `start'.
25739
25740 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 25741 variable `dir'. Doc fix.
06b60517
JB
25742 (windmove-find-other-window): Don't pass it.
25743
25744 * window.el (count-windows): Mark unused parameter.
25745 (bw-adjust-window): Remove unused variable `err'.
25746
25747 * woman.el (woman-file-name): Remove unused variable `default'.
25748 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25749 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25750 (global-font-lock-mode): Declare.
25751 (woman-decode-region): Mark unused parameter.
25752 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25753
25754 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25755 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25756 (x-dnd-handle-moz-url): Remove unused variable `title'.
25757 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25758
25759 * xml.el (xml-parse-tag, xml-parse-attlist):
25760 Remove unused variable `pos'.
25761
bc4f7f3d
GM
257622011-04-19 Glenn Morris <rgm@gnu.org>
25763
25764 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25765 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25766 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25767 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25768 * calendar/cal-html.el (cal-html-insert-minical):
25769 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25770 (calendar-mark-date-pattern):
25771 Prefix "unused" locals.
25772
25773 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25774 optional argument `style'.
25775
25776 * calendar/appt.el (appt-make-list):
25777 * calendar/cal-china.el (calendar-chinese-date-string):
25778 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25779 (diary-hebrew-yahrzeit):
25780 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25781 * calendar/calendar.el (calendar-generate-window):
25782 * calendar/time-date.el (time-to-days):
25783 Remove unused local variables.
25784
16a43933
CY
257852011-04-18 Chong Yidong <cyd@stupidchicken.com>
25786
25787 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25788 glyphless-char-display table.
25789 (tabulated-list-glyphless-char-display): New var.
25790
7eed1860
SS
257912011-04-18 Sam Steingold <sds@gnu.org>
25792
25793 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25794 to acknowledgments.
25795
4d2d1ccd
GM
257962011-04-17 Glenn Morris <rgm@gnu.org>
25797
25798 * calendar/diary-lib.el (diary-sexp-entry):
25799 * calendar/holidays.el (holiday-sexp):
25800 Set debug-on-error rather than the removed stack-trace-on-error.
25801
239da61d
GM
258022011-04-16 Glenn Morris <rgm@gnu.org>
25803
25804 * progmodes/f90.el: Use lexical-binding.
25805 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25806
8b05752a
SM
258072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25808
daca8ba5
SM
25809 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25810 (mail-mode): Setup mailalias completion here instead.
25811 * mail/mailalias.el: Use lexical-binding.
25812 (pattern, mailalias-done): Declare dynamic.
25813 (mail-completion-at-point-function): New function, from mail-complete.
25814 (mail-complete): Use it.
25815 (mail-completion-expand): New function.
25816 (mail-get-names): Use it.
25817 (mail-directory, mail-directory-process, mail-directory-stream):
25818 Don't use `pattern' for lexically bound arg.
25819
6f542485
SM
25820 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25821
037e7c3f
SM
25822 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25823 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25824 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25825
8b05752a
SM
25826 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25827 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25828 (byte-interactive-p): Define them again, for use when inlining
25829 old code.
25830
49093f60
JB
258312011-04-15 Juanma Barranquero <lekktu@gmail.com>
25832
25833 * loadup.el: Use `string-to-number', not `string-to-int'.
25834
b5b8e7de
SM
258352011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25836
25837 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25838 gud-gdb-complete-command.
25839 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25840 (gud-gdb-completion-at-point): New function.
25841 (gud-gdb-completions): Remove.
25842
f42efeb5
MA
258432011-04-14 Michael Albinus <michael.albinus@gmx.de>
25844
49093f60
JB
25845 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25846 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25847 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25848 whether `executable-find' is bound.
f42efeb5
MA
25849
25850 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25851
e240cc21
SM
258522011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25853
25854 * minibuffer.el (completion-in-region-mode-predicate)
25855 (completion-in-region-mode--predicate): New vars.
25856 (completion-in-region, completion-in-region--postch)
25857 (completion-in-region-mode): Use them.
25858 (completion--capf-wrapper): Also return the hook function.
25859 (completion-at-point, completion-help-at-point):
25860 Adjust and provide a predicate.
c2bd2ab0
SM
25861
25862 Preserve arg names for advice of subr and lexical functions (bug#8457).
25863 * help-fns.el (help-function-arglist): Consolidate the subr and
25864 new-byte-code cases. Add argument `preserve-names' to extract names
25865 from the docstring when needed.
25866 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25867 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25868 (ad-arglist): Use help-function-arglist's new arg.
25869 (ad-definition-type): Use cond.
25870
c183f693
JB
258712011-04-13 Juanma Barranquero <lekktu@gmail.com>
25872
06641a47
JB
25873 * autorevert.el (auto-revert-handler):
25874 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25875 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25876 Don't quote lambda.
25877
c183f693
JB
25878 * image-mode.el (image-transform-set-scale):
25879 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25880
1e3b6001
G
258812011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25882
25883 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 25884 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
25885 Upgrades via gnutls-cli are too slow to be done opportunistically.
25886
2d6af8dd
JB
258872011-04-12 Juanma Barranquero <lekktu@gmail.com>
25888
25889 * dframe.el (dframe-current-frame): Remove spurious quote.
25890
c0749a51
GM
258912011-04-12 Glenn Morris <rgm@gnu.org>
25892
088d0d61
GM
25893 * calendar/cal-tex.el (cal-tex-end-document):
25894 Try to automatically use latin1 input if needed.
25895
c0749a51
GM
25896 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25897 Don't try to cons a mark onto an empty element.
25898
5c90fde0
LL
258992011-04-11 Leo Liu <sdl.web@gmail.com>
25900
25901 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25902 buffers.
25903 (ido-kill-buffer-at-head): Support killing virtual buffers.
25904
369e974d
CY
259052011-04-10 Chong Yidong <cyd@stupidchicken.com>
25906
25907 * minibuffer.el (completion-show-inline-help): New var.
25908 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
25909 (minibuffer-force-complete, minibuffer-complete-word):
25910 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
25911
25912 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25913 to avoid interference from inline help (Bug#5849).
25914
37f1c930
LL
259152011-04-10 Leo Liu <sdl.web@gmail.com>
25916
099c39a4
JB
25917 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25918 Fix typo.
37f1c930 25919
a32d4040
CY
259202011-04-09 Chong Yidong <cyd@stupidchicken.com>
25921
25922 * image-mode.el (image-toggle-display-image): Signal an error if
25923 not in Image mode.
25924 (image-transform-mode, image-transform-resize)
25925 (image-transform-set-rotation): Doc fix.
daca8ba5 25926 (image-transform-set-resize): Delete.
a32d4040
CY
25927 (image-transform-set-scale, image-transform-fit-to-height)
25928 (image-transform-fit-to-width): Handle image-toggle-display-image
25929 and image-transform-resize directly.
25930
099c39a4 259312011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
25932
25933 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
25934 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25935 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
25936 (doc-view-mode-map): Add bindings for the new functions.
25937
099c39a4 259382011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 25939
4d61f28d 25940 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
25941 Fix typo in docstring.
25942
3726838a
EZ
259432011-04-08 Eli Zaretskii <eliz@gnu.org>
25944
04f33f1e
EZ
25945 * files.el (file-size-human-readable): Produce one digit after
25946 decimal, like "ls -lh" does.
25947
25948 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25949 the file size representation.
25950
3726838a
EZ
25951 * simple.el (list-processes): If async subprocesses are not
25952 available, error out with a clear error message.
25953
cbb59342
CY
259542011-04-08 Chong Yidong <cyd@stupidchicken.com>
25955
25956 * help.el (help-form-show): New function, to be called from C.
25957 Put help-form output in a buffer named differently than *Help*.
25958
e3971c44
EZ
259592011-04-08 Eli Zaretskii <eliz@gnu.org>
25960
25961 * files.el (file-size-human-readable): New function.
25962
25963 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25964 computing the representation inline. Don't require `cl'.
25965
12544bbe
GM
259662011-04-08 Glenn Morris <rgm@gnu.org>
25967
a1de6c6a
GM
25968 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25969
3c4671f4
GM
25970 * net/browse-url.el (browse-url-firefox):
25971 Test system-type, not system-configuration.
25972
b605679c
GM
25973 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25974 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25975 Use log-edit-empty-buffer-p. (Bug#7598)
25976
56442f0c
GM
25977 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25978 (rlogin-mode-map): Initialize in the defvar.
25979 (rlogin): Use ignore-errors.
25980
12544bbe
GM
25981 * replace.el (occur-mode-map): Some fixes for menu items.
25982
eb237b0f
AH
259832011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25984
25985 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25986
7d668f2c
CY
259872011-04-06 Chong Yidong <cyd@stupidchicken.com>
25988
e67a13ab
CY
25989 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25990 issuing unused warnings.
25991
25992 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25993 macro directly.
25994
7d668f2c
CY
25995 * simple.el: Lisp reimplement of list-processes. Based on an
25996 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25997 (process-menu-mode): New major mode.
25998 (list-processes--refresh, list-processes):
25999 (process-menu-visit-buffer): New functions.
26000
26001 * files.el (save-buffers-kill-emacs): Don't assume any return
26002 value of list-processes, which is undocumented anyway.
26003
a83ec3c9
CY
260042011-04-06 Chong Yidong <cyd@stupidchicken.com>
26005
26006 * emacs-lisp/tabulated-list.el: New file.
26007
e91a96fe
CY
26008 * emacs-lisp/package.el: Use Tabulated List mode.
26009 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26010 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26011 table format using Tabulated List mode variables.
26012 (package--push): New macro, replacing package-list-maybe-add.
26013 (package-menu--generate): Use package--push. Renamed from
26014 package--generate-package-list.
26015 (package-menu-refresh, list-packages): Use it.
daca8ba5 26016 (package-menu--print-info): Rename from package-print-package.
e91a96fe 26017 Return insertion data instead of inserting it directly.
099c39a4
JB
26018 (package-menu-describe-package, package-menu-execute):
26019 Use tabulated-list-get-id.
e91a96fe
CY
26020 (package-menu-mark-delete, package-menu-mark-install)
26021 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
26022 (package-menu-mark-obsolete-for-deletion):
26023 Use tabulated-list-put-tag.
e91a96fe
CY
26024 (package--list-packages, package-menu-revert)
26025 (package-menu-get-package, package-menu-get-version)
26026 (package-menu-sort-by-column): Functions deleted.
26027 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26028 (package-menu--status-predicate, package-menu--version-predicate)
26029 (package-menu--name-predicate)
26030 (package-menu--description-predicate): Handle arguments in the
26031 Tabulated List format.
26032 (package-list-packages-no-fetch): Call list-packages.
26033
3e214b50
JB
260342011-04-06 Juanma Barranquero <lekktu@gmail.com>
26035
26036 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 26037 (after-find-file): Don't bind it.
3e214b50
JB
26038 (revert-buffer-in-progress-p): New variable.
26039 (revert-buffer): Bind it.
26040 Pass nil for `after-find-file-from-revert-buffer'.
26041
26042 * saveplace.el (save-place-find-file-hook): Use new variable
26043 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26044
3f0f1700
GM
260452011-04-06 Glenn Morris <rgm@gnu.org>
26046
c0274801
GM
26047 * Makefile.in (AUTOGEN_VCS): New variable.
26048 (autoloads): Use $AUTOGEN_VCS.
26049
3f0f1700
GM
26050 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26051 * calendar/calendar.el (calendar-mode-map):
26052 Check for toolkit scroll bars. (Bug#8305)
26053
41ea9e48
CY
260542011-04-05 Chong Yidong <cyd@stupidchicken.com>
26055
26056 * minibuffer.el (completion-in-region--postch)
26057 (completion-in-region-mode): Remove unnecessary messages.
26058
6194c800
JB
260592011-04-05 Juanma Barranquero <lekktu@gmail.com>
26060
33256f14
JB
26061 * font-lock.el (font-lock-refresh-defaults):
26062 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26063 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26064
6194c800
JB
26065 * info.el (Info-directory-list, Info-read-node-name-2)
26066 (Info-split-parameter-string): Doc fixes.
26067 (Info-virtual-nodes): Reflow docstring.
26068 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26069 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26070 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26071 Fix typos in docstrings.
26072 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26073 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26074 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26075 (Info-restore-desktop-buffer): Mark unused parameters.
26076 (Info-directory-find-file, Info-directory-find-node)
26077 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26078 (Info-virtual-index-find-node, Info-apropos-find-file)
26079 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 26080 Mark unused parameters; fix typos in docstrings.
6194c800
JB
26081 (Info-virtual-index): Remove unused local variable `nodename'.
26082
b87a8200 260832011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 26084
b87a8200
DD
26085 * net/rcirc.el: Update my e-mail address.
26086 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 26087
3b2ff876
CY
260882011-04-05 Chong Yidong <cyd@stupidchicken.com>
26089
26090 * startup.el (command-line): Save the cursor's theme-face
26091 directly, instead of using face-override-spec.
26092
26093 * custom.el (load-theme): Minor optimization in assigning faces.
26094
8d17e7ca
JB
260952011-04-04 Juanma Barranquero <lekktu@gmail.com>
26096
26097 * help-fns.el (describe-variable): Complete all variables having
26098 documentation, including keywords.
26099 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26100
2fbc1934
JB
261012011-04-04 Juanma Barranquero <lekktu@gmail.com>
26102
26103 Convert to lexical-binding.
26104
26105 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26106 (bs--get-marked-string, bs--get-modified-string)
26107 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26108 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26109 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26110
26111 * ehelp.el (electric-help-execute-extended)
26112 (electric-help-ctrl-x-prefix):
26113 * hexl.el (hexl-revert-buffer-function):
26114 * linum.el (linum-after-change, linum-after-scroll):
26115 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26116
26117 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26118
74f50695
DU
261192011-04-04 Daiki Ueno <ueno@unixuser.org>
26120
26121 * epa-dired.el:
26122 * epa-mail.el:
26123 * epa-hook.el:
26124 * epa-file.el:
26125 * epa.el:
26126 * epg.el: Use lexical binding.
26127
c11325f7
CY
261282011-04-03 Chong Yidong <cyd@stupidchicken.com>
26129
0d9e9a12
CY
26130 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26131
c11325f7 26132 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
26133 dictionary case for flyspell-mark-duplications-exceptions.
26134 Use regexp matching for languages.
c11325f7
CY
26135 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26136 default dictionary (Bug#7926).
26137
da91b5f2
CY
261382011-04-02 Chong Yidong <cyd@stupidchicken.com>
26139
099c39a4
JB
26140 * emacs-lisp/package.el (package--with-work-buffer):
26141 Recognize https URLs.
da91b5f2 26142
099c39a4
JB
26143 * net/network-stream.el: Move from gnus/proto-stream.el.
26144 Change prefix to network-stream throughout.
da91b5f2
CY
26145 (open-protocol-stream): Merge into open-network-stream, leaving
26146 open-protocol-stream as an alias. Handle nil BUFFER args.
26147
26148 * subr.el (open-network-stream): Move to net/network-stream.el.
26149
afa8e9f6
GM
261502011-04-02 Glenn Morris <rgm@gnu.org>
26151
1d2e369d
GM
26152 * find-dired.el (find-exec-terminator): New option.
26153 (find-ls-option): Test for -ls support.
26154 (find-ls-subdir-switches): Test for -b in find-ls-option.
26155 (find-dired, find-grep-dired): Doc fixes.
26156 (find-dired): Use find-exec-terminator.
26157
8abb7da8 26158 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
26159 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26160 (find-name-arg): Remove purecopy.
8abb7da8 26161
f3ca7378
GM
26162 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26163 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26164 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26165 accordingly. Don't add the null-device if not needed.
26166
afa8e9f6
GM
26167 * files.el (save-some-buffers): Doc fix.
26168
35eae264
EZ
261692011-04-02 Eli Zaretskii <eliz@gnu.org>
26170
26171 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26172
26b51db5
JB
261732011-04-01 Juanma Barranquero <lekktu@gmail.com>
26174
26175 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26176 Use `dolist' rather than `mapcar'.
26177
7200d79c
SM
261782011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26179
03408648 26180 Add lexical binding.
7200d79c 26181
03408648
SM
26182 * subr.el (apply-partially): Use new closures rather than CL.
26183 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26184 (dolist, dotimes): Use slightly different expansion for lexical code.
26185 (functionp): Move to C.
26186 (letrec): New macro.
26187 (with-wrapper-hook): Use it and apply-partially instead of CL.
26188 (eval-after-load): Preserve lexical-binding.
26189 (save-window-excursion, with-output-to-temp-buffer): Turn them
26190 into macros.
7200d79c 26191
03408648
SM
26192 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26193
26194 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26195 than the arglist.
26196 (help-add-fundoc-usage): Don't add `Not documented'.
26197 (help-function-arglist): Handle closures, subroutines, and new
26198 byte-code-functions.
26199 (help-make-usage): Remove leading underscores.
26200 (describe-function-1): Handle closures.
26201 (describe-variable): Use special-variable-p for completion.
26202
26203 * files.el (lexical-binding): Declare safe.
f488fb65 26204
03408648
SM
26205 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26206 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26207 (pcase): Add `let' pattern.
26208 Change memoization so it actually works.
26209 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26210 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26211 <let>: New case.
f488fb65 26212
03408648
SM
26213 * emacs-lisp/macroexp.el: Use lexical binding.
26214 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26215 Don't convert ' to #' without checking that it's indeed quoting
26216 a lambda.
26217
26218 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 26219 Use eval-sexp-add-defvars.
03408648
SM
26220 (eval-sexp-add-defvars): New fun.
26221
26222 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26223
26224 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26225 Don't autoload.
26226 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26227 than the internal `byte-compile-lambda'.
26228 (defmethod): Don't hide code under quotes.
26229 (eieio-defmethod): New `code' argument.
26230
26231 * emacs-lisp/eieio-comp.el: Remove.
26232
26233 * emacs-lisp/edebug.el (edebug-eval-defun)
26234 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26235 (edebug-toggle): Avoid `eval'.
26236
26237 * emacs-lisp/disass.el (disassemble-internal): Handle new
26238 `closure' objects.
26239 (disassemble-1): Handle new byte codes.
26240
26241 * emacs-lisp/cl.el (pushnew): Silence warning.
26242
26243 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26244 (cl-byte-compile-throw): Remove.
26245 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26246
26247 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26248 closures.
26249
26250 * emacs-lisp/cconv.el: New file.
26251
26252 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26253 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26254 (byte-compile-initial-macro-environment):
26255 Handle declare-function here.
26256 (byte-compile--lexical-environment): New var.
26257 (byte-stack-ref, byte-stack-set, byte-discardN)
26258 (byte-discardN-preserve-tos): New lap codes.
26259 (byte-interactive-p): Don't use any more.
26260 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26261 New macros.
26262 (byte-compile-lapcode): Use them and handle new lap codes.
26263 (byte-compile-obsolete): Remove.
26264 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26265 (byte-compile-arglist-warn): Check late def of inlinable funs.
26266 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26267 since they should have been expanded by now.
26268 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26269 (byte-compile-from-buffer): Remove unused second arg.
26270 (byte-compile-preprocess): New function.
26271 (byte-compile-toplevel-file-form): New function to distinguish
26272 file-form calls from outside from file-form calls from hunk-handlers.
26273 (byte-compile-file-form): Simplify.
26274 (byte-compile-file-form-defsubst): Remove.
26275 (byte-compile-file-form-defmumble): Simplify now that
26276 byte-compile-lambda always returns a byte-code-function.
26277 (byte-compile): Preprocess.
26278 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26279 Remove, not used any more.
26280 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26281 (byte-compile-make-args-desc): New funs.
26282 (byte-compile-lambda): Handle lexical functions. Always return
26283 a byte-code-function.
26284 (byte-compile-reserved-constants): New var, to make up room for
26285 closed-over variables.
26286 (byte-compile-constants-vector): Obey it.
26287 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26288 (byte-compile-macroexpand-declare-function): New function.
26289 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26290 byte-code-functions.
26291 (byte-compile-form): Check obsolescence here.
26292 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26293 (byte-compile-variable-ref): Remove.
26294 (byte-compile-dynamic-variable-op): New fun.
26295 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26296 (byte-compile-variable-set): New funs.
26297 (byte-compile-discard): Add 2 args.
26298 (byte-compile-stack-ref, byte-compile-stack-set)
26299 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26300 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26301 macroexpand-all instead.
26302 (byte-compile-quote-form): Remove.
26303 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26304 (byte-compile-bind, byte-compile-unbind): New funs.
26305 (byte-compile-let): Handle let* and lexical binding.
26306 (byte-compile-let*): Remove.
26307 (byte-compile-catch, byte-compile-unwind-protect)
26308 (byte-compile-track-mouse, byte-compile-condition-case):
26309 Handle a new :fun-body form, used for lexical scoping.
26310 (byte-compile-save-window-excursion)
26311 (byte-compile-with-output-to-temp-buffer): Remove.
26312 (byte-compile-defun): Simplify.
26313 (byte-compile-stack-adjustment): New fun.
26314 (byte-compile-out): Use it.
26315 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26316
26317 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26318 handler any more.
26319
26320 * emacs-lisp/byte-opt.el: Use lexical binding.
26321 (byte-inline-lapcode): Remove (to bytecomp).
26322 (byte-compile-inline-expand): Pay attention to inlining to/from
26323 lexically bound code.
26324 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26325 any more.
26326 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26327 any more and don't call compiler-macros.
26328 (byte-compile-splice-in-already-compiled-code): Remove.
26329 (byte-code): Don't inline any more.
26330 (disassemble-offset): Receive `bytes' as argument rather than via
26331 dynamic scoping.
26332 (byte-compile-tag-number): Declare before first use.
26333 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26334 `return' even if make-spliceable.
26335 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26336 obsolete interactive-p.
26337 (byte-optimize-lapcode): Optimize new lap-codes.
26338 Don't trip up on new form of `byte-constant' lap code.
26339
26340 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26341
26342 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26343
26344 * custom.el (custom-initialize-default, custom-declare-variable):
26345 Use `defvar'.
26346
26347 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26348 New variables.
26349 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26350 (COMPILE_FIRST): Add macroexp and cconv.
26351 * makefile.w32-in: Mirror changes in Makefile.in.
26352
26353 * vc/cvs-status.el:
26354 * vc/diff-mode.el:
26355 * vc/log-edit.el:
26356 * vc/log-view.el:
26357 * vc/smerge-mode.el:
26358 * textmodes/bibtex-style.el:
090bd7cb 26359 * textmodes/css-mode.el:
03408648
SM
26360 * startup.el:
26361 * uniquify.el:
da91b5f2
CY
26362 * minibuffer.el:
26363 * newcomment.el:
26364 * reveal.el:
26365 * server.el:
26366 * mpc.el:
26367 * emacs-lisp/smie.el:
26368 * doc-view.el:
26369 * dired.el:
03408648
SM
26370 * abbrev.el: Use lexical binding.
26371
0f0c1f27
EZ
263722011-04-01 Eli Zaretskii <eliz@gnu.org>
26373
26374 * info.el (info-display-manual): New function.
26375
c82b2579
SM
263762011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26377
26378 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26379
221ddf68
TH
263802011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26381
26382 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 26383 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 26384
cba6e77e
GM
263852011-03-31 Glenn Morris <rgm@gnu.org>
26386
e040639f
GM
26387 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26388
cba6e77e
GM
26389 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26390
6d0f1c9e
CS
263912011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26392
26393 * progmodes/python.el (python-default-interpreter)
26394 (python-python-command-args, python-jython-command-args)
26395 (python-which-shell, python-which-args, python-which-bufname)
26396 (python-file-queue, python-comint-output-filter-function)
26397 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26398 variables and functions.
26399
3e2d70fd
SM
264002011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26401
26402 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26403 (completion-in-region-mode): New minor mode.
26404 (completion-in-region): Use it.
26405 (completion-in-region--data, completion-in-region-mode-map): New vars.
26406 (completion-in-region--postch): New function.
26407 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26408 New vars.
26409 (completion--capf-wrapper): New function.
26410 (completion-at-point): Use it to track well-behavedness of
26411 hook functions.
26412 (completion-help-at-point): New command.
26413
f3e4086c
JM
264142011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26415
26416 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26417 syntax class to search for whitespace on a single line
26418 (Message-ID: <4D938140.4030905@redhat.com>).
26419
eb7ffc14
LL
264202011-03-30 Leo Liu <sdl.web@gmail.com>
26421
26422 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26423 New commands.
26424 (edit-abbrevs-map): Bind them here.
26425 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26426
d806ab68
KM
264272011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26428
26429 * allout.el (allout-hide-by-annotation, allout-flag-region):
26430 Reduce possibility of overlay leakage by making them volatile.
26431
26432 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26433 hash is not shared between buffers. Mode initialization is
26434 responsible for giving it a useful starting value.
26435 (allout-item-span): Reduce possibility of overlay leakage by
26436 making them volatile.
26437 (allout-widgets-count-buttons-in-region): Add diagnostic function
26438 for tracking down button overlay leaks.
26439
ea622834
LL
264402011-03-29 Leo Liu <sdl.web@gmail.com>
26441
26442 * ido.el (ido-read-internal): Use the default history var
26443 minibuffer-history if no HISTORY is specified.
26444
b62f8267
G
264452011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26446
03408648
SM
26447 * net/imap.el (imap-shell-open, imap-process-connection-type):
26448 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
26449 Kerberos, SSL, other subprocesses.
26450
947b6566
LL
264512011-03-28 Leo Liu <sdl.web@gmail.com>
26452
26453 * abbrev.el (abbrev-table-empty-p): New function.
26454 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26455 nonempty ones. (Bug#5937)
26456
5ffb62aa
JD
264572011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26458
26459 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26460
7a097943
LL
264612011-03-27 Leo Liu <sdl.web@gmail.com>
26462
26463 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26464 for foreground and background colors.
26465 (ansi-color-make-color-map): Adapt.
26466
c5b40130
LL
264672011-03-25 Leo Liu <sdl.web@gmail.com>
26468
1f48f7d2
LL
26469 * midnight.el (midnight-time-float): Remove. Note it calculates
26470 the microsecond component incorrectly and seconds-to-time does the
26471 same job.
625897ec 26472 Remove redundant (require 'timer).
1f48f7d2 26473
c5b40130
LL
26474 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26475 (ido-completions): Remove unused arguments. (Bug#8329)
26476
d86d2721
SM
264772011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26478
26479 * minibuffer.el (completion--flush-all-sorted-completions):
26480 Remove itself from hook.
26481 (completion-at-point): Let the functions perform the completion
26482 immediately and return nil or t.
26483 * comint.el (comint-dynamic-complete-functions): Now identical to
26484 completion-at-point-functions.
26485 (comint-dynamic-list-input-ring): Remove unused var `index'.
26486 (comint--match-partial-filename, comint--unquote&expand-filename):
26487 New funs, split from comint-match-partial-filename.
26488 (comint-dynamic-complete): Use completion-at-point.
26489 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26490
e8974c48
DA
264912011-03-24 Drew Adams <drew.adams@oracle.com>
26492
26493 * thingatpt.el: Support `defun'.
26494
def71b5e
LL
264952011-03-23 Leo Liu <sdl.web@gmail.com>
26496
cb5af48e
LL
26497 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26498
def71b5e
LL
26499 * help-mode.el (help-mode-finish): Tweak regexp.
26500
927c53e7
GM
265012011-03-23 Glenn Morris <rgm@gnu.org>
26502
18d05bed
GM
26503 * eshell/esh-opt.el (eshell-eval-using-options):
26504 Do not bind unused local variable `eshell-option-stub'.
26505
927c53e7
GM
26506 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26507
9d0da923
JB
265082011-03-22 Juanma Barranquero <lekktu@gmail.com>
26509
26510 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26511 keymap variable in `with-no-warnings' to avoid a warning when the
26512 keymap has been already `defconst'ed.
26513
4b978a67
LL
265142011-03-22 Leo Liu <sdl.web@gmail.com>
26515
26516 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26517 encode all chars in abbrevs; otherwise use emacs-mule or
26518 utf-8-emacs. (Bug#8308)
26519
5fd62452
JB
265202011-03-22 Juanma Barranquero <lekktu@gmail.com>
26521
0b1596c6
JB
26522 * simple.el (backward-delete-char-untabify):
26523 Avoid warning about using `delete-backward-char'.
26524
5fd62452
JB
26525 * image.el (image-type-file-name-regexps): Make it variable.
26526 `imagemagick-register-types' modifies it, and the user may want
26527 to add new extensions for known image types.
26528 (imagemagick-register-types): Throw error if not using ImageMagick.
26529
0b4e93f1
LL
265302011-03-22 Leo Liu <sdl.web@gmail.com>
26531
26532 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26533 located before rcirc-prompt-end-marker.
26534 (rcirc-complete): Error if point is not after rcirc prompt.
26535 Handle the case when table is nil.
9882e214 26536 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 26537
fccee4ab
CY
265382011-03-22 Chong Yidong <cyd@stupidchicken.com>
26539
26540 * custom.el (custom--inhibit-theme-enable): Make it affect only
26541 custom-theme-set-variables and custom-theme-set-faces.
26542 (provide-theme): Ignore custom--inhibit-theme-enable.
26543 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26544 (custom-enabling-themes): Delete variable.
d86d2721
SM
26545 (enable-theme): Accept only loaded themes as arguments.
26546 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
26547 (custom-enabled-themes): Forbid themes from setting this.
26548 Eliminate use of custom-enabling-themes.
26549 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 26550
af896da6
LL
265512011-03-21 Leo Liu <sdl.web@gmail.com>
26552
26553 * ido.el (ido-read-internal): Add ido-selected to history instead
26554 of user input.
26555
78f64af0
SM
265562011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26557
26558 * subr.el (deferred-action-list, deferred-action-function):
26559 Mark obsolete.
26560
b16ac1ec
LL
265612011-03-21 Leo Liu <sdl.web@gmail.com>
26562
810f7698
LL
26563 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26564 change on 2011-02-13 (bug#8309).
26565
b16ac1ec
LL
26566 * minibuffer.el (read-file-name-function): Change default value.
26567 (read-file-name--defaults): Rename from read-file-name-defaults.
26568 (read-file-name-default): Rename from read-file-name.
26569 (read-file-name): Call read-file-name-function.
26570
4e05e67e
GM
265712011-03-21 Glenn Morris <rgm@gnu.org>
26572
26573 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26574 Doc fixes.
26575
4359915b
CY
265762011-03-21 Chong Yidong <cyd@stupidchicken.com>
26577
26578 * cus-theme.el: Add missing provide statement.
26579 (customize-create-theme): Extract theme value correctly.
26580 (custom-theme-visit-theme): Autoload.
26581 (customize-create-theme): Prompt before inserting default faces.
26582
1fe275ee
JB
265832011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26584
26585 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26586 units and musical notes.
26587
cd394be1 265882011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
26589
26590 * ido.el (ido-read-internal): Use completing-read-default.
26591 (ido-completing-read): Fix compatibility with completing-read.
26592
7d476bde
CO
265932011-03-20 Christian Ohler <ohler@gnu.org>
26594
26595 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26596 (ert-delete-all-tests): Use `called-interactively-p' rather than
26597 `interactive-p'.
26598 (ert--make-xrefs-region): Respect END.
26599
fe0fb33e
CY
266002011-03-19 Chong Yidong <cyd@stupidchicken.com>
26601
ff854b0b
CY
26602 * dired-aux.el (dired-create-directory): Signal an error if the
26603 directory already exists (Bug#8246).
26604
fe0fb33e
CY
26605 * facemenu.el (list-colors-display): Call list-faces-display
26606 inside with-help-window.
26607 (list-colors-print): Use display property to align the final
26608 column, instead of checking window-width.
26609
576bce32
EZ
266102011-03-19 Eli Zaretskii <eliz@gnu.org>
26611
4d61f28d 26612 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
26613 windows-nt systems.
26614 (emerge-protect-metachars): Quote correctly for ms-dos and
26615 windows-nt systems.
26616
89c41d68 266172011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
26618
26619 * info.el (info-initialize): Replace all uses of `:' with
26620 path-separator for compatibility with non-Unix systems.
26621 Cache quoting of path-separator. (Bug#8258)
26622
b14e3e21 266232011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
26624
26625 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26626 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26627 (mouse-avoidance-mode): Fix typos in docstrings.
26628
4525ce3e
CY
266292011-03-19 Chong Yidong <cyd@stupidchicken.com>
26630
26631 * startup.el (package-subdirectory-regexp): Move from package.el.
26632 Omit \\` and \\', and let callers add them.
26633
26634 * emacs-lisp/package.el (package-strip-version)
26635 (package-load-all-descriptors): Add \\` and \\' to
26636 package-subdirectory-regexp before using it.
26637 (package-untar-buffer): New arg DIR; ensure that file untars only
26638 into this expected directory. Remove superfluous delete-region.
26639 (package-unpack): Caller changed.
26640 (package-tar-file-info): Use package-subdirectory-regexp.
26641
a904a09a 266422011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 26643
a904a09a
SM
26644 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26645 diff-mode-shared-map (bug#8284).
26646 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
26647
266482011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26649
26650 * calendar/time-date.el (format-seconds): Use assoc instead of
26651 assoc-string, since assoc-string doesn't exist in XEmacs.
26652
171fc304
JB
266532011-03-17 Juanma Barranquero <lekktu@gmail.com>
26654
26655 * custom.el (custom-known-themes): Reflow docstring.
26656 (custom-theme-load-path): Fix typo in docstring.
26657 (load-theme): Fix typo in error message.
26658 (custom-available-themes, custom-variable-theme-value):
26659 Use `let', not `let*'.
26660
d71990a1
JB
266612011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26662
26663 * calc/README: Mention inclusion of musical notes.
26664
26665 * calc/calc-units.el (calc-lu-quant): Rename from
26666 `calc-logunits-quantity'.
26667 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26668 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26669 (calc-db): Rename from `calc-dblevel'.
26670 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26671 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26672 (calc-np): Rename from `calc-nplevel'.
26673 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26674 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26675 (calc-lu-plus): Rename from `calc-logunits-add'.
26676 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26677 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26678 (calc-lu-minus): Rename from `calc-logunits-sub'.
26679 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26680 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26681 (calc-lu-times): Rename from `calc-logunits-mul'.
26682 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26683 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26684 (calc-lu-divide): Rename from `calc-logunits-div'.
26685 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26686 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26687
26688 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26689 functions being autoloaded.
26690
26691 * calc/calc.el (calc-lu-power-reference): Rename from
26692 `calc-logunits-power-reference'.
26693 (calc-lu-field-reference): Rename from
26694 `calc-logunits-field-reference'.
26695
7a71b18d
GM
26696 * calc/calc-help.el (calc-l-prefix-help):
26697 Mention musical note functions.
d71990a1 26698
40c2934b
SM
266992011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26700
26701 * minibuffer.el (completion-all-sorted-completions):
26702 Use :completion-cycle-penalty text property if present.
26703
b0911414
KM
267042011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26705
26706 * allout.el (allout-yank-processing): Adjust for new rebulleting
26707 regime so bullet being yanked is used without prompting the user
26708 for a choice.
26709
8a05b668
JB
267102011-03-16 Juanma Barranquero <lekktu@gmail.com>
26711
26712 * startup.el (command-line): Warn the user that _emacs is deprecated.
26713
5ba5fb81
JB
267142011-03-16 Juanma Barranquero <lekktu@gmail.com>
26715
26716 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26717 (delphi-verbose, delphi-comment-face, delphi-string-face)
26718 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26719 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26720 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26721 (delphi-new-comment-line, delphi-font-lock-defaults)
26722 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26723 Fix typos in docstrings.
26724
2dab465b
KM
267252011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26726
5ba5fb81 26727 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
26728 Invert the roles of character and string values for INSTEAD, so a
26729 string is used for the more common case of a defaulting prompt.
26730
0adf5618
SM
267312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26732
26733 * progmodes/ruby-mode.el (ruby-backward-sexp):
26734 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26735 * play/gamegrid.el (gamegrid-make-face):
26736 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26737 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26738 * notifications.el (notifications-notify):
26739 * net/xesam.el (xesam-search-engines):
26740 * net/quickurl.el (quickurl-list-insert):
26741 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26742
d72700e5
CY
267432011-03-15 Chong Yidong <cyd@stupidchicken.com>
26744
26745 * startup.el (command-line): Update package subdirectory regexp.
26746
49c5410a
SM
267472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26748
c6eee9aa
SM
26749 * allout.el (allout-abbreviate-flattened-numbering)
26750 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26751
49c5410a
SM
26752 * subr.el (read-char-choice): Only show the cursor after the prompt,
26753 not after the answer.
26754
047b2bb9
KR
267552011-03-15 Kevin Ryde <user42@zip.com.au>
26756
26757 * help-fns.el (variable-at-point): Skip leading quotes, if any
26758 (bug#8253).
26759
0a57d256
SM
267602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26761
26762 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26763 warning message.
26764
77c992bc
MA
267652011-03-14 Michael Albinus <michael.albinus@gmx.de>
26766
26767 * shell.el (shell): When called interactively, offer to change the
26768 shell file name on remote hosts.
26769
eebc475d
TZ
267702011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26771
26772 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26773 integration for LDAP parameters. The host, base, user or binddn,
26774 and secret tokens can be specified in a netrc file, for instance.
26775 This is optional because an `auth-source' parameter must be
26776 specified in the search attributes.
26777
9d05d1ba
JB
267782011-03-13 Juanma Barranquero <lekktu@gmail.com>
26779
26780 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26781
09d9db2c
GM
267822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26783
26784 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26785 into declaration. Remove redundant and harmful binding.
26786
267872011-03-12 Eli Zaretskii <eliz@gnu.org>
26788
26789 * files.el (file-ownership-preserved-p): Pass `integer' as an
26790 explicit 2nd argument to `file-attributes'. If the file's owner
26791 is the Administrators group on Windows, and the current user is
26792 Administrator, consider that a match.
26793
26794 * server.el (server-ensure-safe-dir): Consider server directory
26795 safe on MS-Windows if its owner is the Administrators group while
26796 the current Emacs user is Administrator. Use `=' to compare
26797 numerical UIDs, since they could be integers or floats.
26798
219bd536
JB
267992011-03-12 Juanma Barranquero <lekktu@gmail.com>
26800
26801 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26802
f3afd36b
MA
268032011-03-12 Michael Albinus <michael.albinus@gmx.de>
26804
26805 Sync with Tramp 2.2.1.
26806
26807 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26808
26809 * net/trampver.el: Update release number.
26810
3aaaa6f1
SM
268112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26812
94642599
SM
26813 * progmodes/compile.el (compilation--previous-directory): Fix up
26814 various nil/dead-marker mismatches (bug#8014).
26815 (compilation-directory-properties, compilation-error-properties):
26816 Don't call it at a position past the one we're about to change.
26817
3aaaa6f1
SM
26818 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26819 Disable obsolescence warnings in the file that declares it.
26820
14239447
KM
268212011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26822
099c39a4
JB
26823 * allout-widgets.el (allout-widgets-tally):
26824 Initialize allout-widgets-tally as a hash table rather than nil to
26825 prevent mode-line redisplay warnings. Also, clarify the module
26826 description and fix a comment typo.
14239447 26827
135e287c
JB
268282011-03-11 Juanma Barranquero <lekktu@gmail.com>
26829
26830 * help-fns.el (describe-variable): Don't complete keywords.
26831 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26832
ffbf300e
CY
268332011-03-10 Chong Yidong <cyd@stupidchicken.com>
26834
ba08b241
CY
26835 * emacs-lisp/package.el (package-version-join): Impose a standard
26836 string representation for pre/alpha/beta version lists.
26837 (package-unpack-single): Standardize the directory name by passing
26838 it through package-version-join.
26839 (package-strip-rcs-id): Accept any version string that does not
26840 signal an error in version-to-list.
ffbf300e 26841
f346fd6b
MA
268422011-03-10 Michael Albinus <michael.albinus@gmx.de>
26843
26844 * simple.el (delete-trailing-whitespace): Return nil for the
26845 benefit of `write-file-functions'.
26846
ccb55d27
GM
268472011-03-10 Glenn Morris <rgm@gnu.org>
26848
5ceaac0c
GM
26849 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26850
02da65ff
GM
26851 * vc/vc-git.el (vc-git-program): New option.
26852 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26853 (vc-git--call): Use it.
26854
b2f603cc
GM
26855 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26856
5772caab
GM
26857 * cus-edit.el (Custom-newline): If no button at point, look
26858 for a subgroup button at start-of-line. (Bug#2298)
26859
ccb55d27
GM
26860 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26861
ec6ecaed
JD
268622011-03-10 Julien Danjou <julien@danjou.info>
26863
26864 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26865 `cursor-type' is nil.
26866
9d5aa01d
JB
268672011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26868
26869 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26870
b6a5875b
KM
268712011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26872
7a71b18d 26873 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
26874 preserves the existing header prefix, rebulleting it if necessary,
26875 rather than replacing it. This is necessary for proper operation
26876 of cooperative addons like allout-widgets.
1154d12e
JB
26877 (allout-make-topic-prefix, allout-rebullet-heading):
26878 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26879 value as alternate bullet to be used, instead of prompting the user
26880 for a bullet character.
b6a5875b 26881
ee545c35
MA
268822011-03-09 Michael Albinus <michael.albinus@gmx.de>
26883
d86d2721
SM
26884 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26885 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
26886 `tramp-default-port'.
26887
c47971d7
DD
268882011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26889
26890 * net/rcirc.el (rcirc-handler-001): Remove useless
26891 with-rcirc-process-buffer.
26892 (rcirc-check-auth-status): Swap arguments to string-match.
26893
13522cb4
GM
268942011-03-09 Glenn Morris <rgm@gnu.org>
26895
0be6f4f1
GM
26896 * shell.el (shell-mode):
26897 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26898
13522cb4
GM
26899 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26900 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26901
515de2e3
CY
269022011-03-08 Chong Yidong <cyd@stupidchicken.com>
26903
26904 * emacs-lisp/package.el (package-refresh-contents)
26905 (package-menu-execute): Use condition-case-no-debug.
26906
b511b994
MA
269072011-03-08 Michael Albinus <michael.albinus@gmx.de>
26908
26909 * simple.el (shell-command-to-string): Use `process-file'.
26910
26911 * emacs-lisp/package.el (package-tar-file-info): Handle also
26912 remote files.
26913
d86d2721
SM
26914 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26915 Use `equal' for upload base check.
b511b994 26916
25bbfb31
AM
269172011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26918
26919 * textmodes/texinfo.el (texinfo-environments):
26920 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26921
be996521
GM
269222011-03-08 Glenn Morris <rgm@gnu.org>
26923
e9c8529f
GM
26924 * cus-start.el (cursor-in-non-selected-windows):
26925 Fix :set quoting oddness. (Bug#8192)
26926
be996521
GM
26927 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26928 in some setf expressions. (Bug#2159)
26929
2bb5649e
CY
269302011-03-08 Chong Yidong <cyd@stupidchicken.com>
26931
26932 * custom.el (custom-available-themes): Return themes in
26933 alphabetical order.
26934
33383987 26935See ChangeLog.15 for earlier changes.
e3d51b27
MR
26936
26937;; Local Variables:
26938;; coding: utf-8
e3d51b27
MR
26939;; End:
26940
ab422c4d 26941 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
26942
26943 This file is part of GNU Emacs.
26944
26945 GNU Emacs is free software: you can redistribute it and/or modify
26946 it under the terms of the GNU General Public License as published by
26947 the Free Software Foundation, either version 3 of the License, or
26948 (at your option) any later version.
26949
26950 GNU Emacs is distributed in the hope that it will be useful,
26951 but WITHOUT ANY WARRANTY; without even the implied warranty of
26952 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26953 GNU General Public License for more details.
26954
26955 You should have received a copy of the GNU General Public License
26956 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.