* doc-view.el (doc-view-display): Better fix for the cl-assertion
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c9e452d3
TH
12012-09-20 Tassilo Horn <tsdh@gnu.org>
2
3 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4 error.
5
ee97deee
SM
62012-09-20 Stefan Merten <smerten@oekonux.de>
7
8 * rst.el: Integrate support for `imenu' and `which-function'.
9 Fixes feature request bug#11711.
10 (rst-mode): Create `imenu-create-index-function'.
11 (rst-get-stripped-line): Delete after refactoring.
12 (rst-section-tree, rst-section-tree-rec)
13 (rst-section-tree-point): Refactor and document properly.
14 (rst-imenu-find-adornments-for-position)
15 (rst-imenu-convert-cell, rst-imenu-create-index): New
16 function.
17
f490dab9
SM
182012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19
95b9712e
SM
20 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
21 (macroexp--expand-all): Use it.
22 (macroexp--funcall-and-return): Remove by folding it into its sole
23 caller (macroexp--warn-and-return).
24 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
25 Use macroexp--obsolete-warning.
26
f490dab9
SM
27 * calc/calc.el: Fix last change by removing the whole chunk, since it
28 was only needed back when Calc was not bundled.
29
96e8d411
MR
302012-09-20 Martin Rudalics <rudalics@gmx.at>
31
32 * emacs-lisp/debug.el (debug): Restore assignment to
33 debugger-old-buffer removed on 2012-09-08.
34
0876a82d
JL
352012-09-20 Juri Linkov <juri@jurta.org>
36
37 * dired-aux.el (dired-diff): Remove (require 'diff) since
38 `diff-latest-backup-file' is now autoloaded.
39
9f7c28f0
CY
402012-09-20 Chong Yidong <cyd@gnu.org>
41
42 * vc/diff.el (diff-latest-backup-file): Autoload.
43
7a04bee9
SM
442012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
45
e6f0a80d
SM
46 * calc/calc.el: Remove redundant autoload shape check.
47 (sel-mode): Don't defvar.
48 (calc-get-stack-element): Add `sel-mode' arg instead.
49 (calc-top, calc-top-list): Pass it this additional argument.
50 * calc/calc-store.el (calc-store-map):
51 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
52 (calc-map-equation, calc-outer-product, calc-inner-product):
53 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
54
7a04bee9
SM
55 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
56
12734222
JL
572012-09-19 Juri Linkov <juri@jurta.org>
58
59 * dired-aux.el (dired-diff): Add (require 'diff) because
60 `diff-latest-backup-file' is not autoloaded.
61 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
62 of `dired-get-filename' to t to not report error when there is
63 no default file on the current line.
64
46624b4f
SM
652012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
66
ce97595b
SM
67 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
68 macroexp--eval-if-compile.
69 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
70 (macroexp--expand-all): Use them (bug#12371).
71
46624b4f
SM
72 * doc-view.el (doc-view-guess-paper-size)
73 (doc-view-scale-bounding-box): Fix unbound `caddr'.
74
db8a5a18
TH
752012-09-19 Tassilo Horn <tsdh@gnu.org>
76
77 New feature: set optimal slice from BoundingBox information.
78 * doc-view.el (doc-view-mode-map): Add keybinding.
79 (doc-view-menu): Add menu entry.
80 (doc-view-set-slice): Adapt docstring.
81 (doc-view-get-bounding-box, doc-view-guess-paper-size)
82 (doc-view-scale-bounding-box)
83 (doc-view-set-slice-from-bounding-box): New functions.
84 (doc-view-paper-sizes): New defvar.
85
69f6644c
GM
862012-09-19 Glenn Morris <rgm@gnu.org>
87
35f5b19d
GM
88 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
89 (byte-compile-log-warning): Autoload. (Bug#12371)
90
69f6644c
GM
91 * calendar/calendar.el (calendar-american-month-header)
92 (calendar-european-month-header, calendar-iso-month-header)
93 (calendar-month-header): New options.
94 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
95 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
96
e543ae91
JD
972012-09-19 Jan Djärv <jan.h.d@swipnet.se>
98
99 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
100
2fd5e67d
JL
1012012-09-18 Juri Linkov <juri@jurta.org>
102
103 * dired-aux.el (dired-diff): Restore original functionality of
104 getting the default value, but keep new feature of using the
105 latest existing backup file (`diff-latest-backup-file').
106
42917e79
JL
1072012-09-18 Juri Linkov <juri@jurta.org>
108
109 * dired.el (dired-mark): If the region is active in Transient Mark
110 mode, mark all files in the active region. Doc fix.
111 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
112 Doc fix. (Bug#10624)
113
20f70ede
JL
1142012-09-18 Juri Linkov <juri@jurta.org>
115
116 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
117 attributes for M-n are pulled from the file at point.
118 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
119 Suggested by Drew Adams. (Bug#10624)
120
32fb8162
DG
1212012-09-18 Dmitry Gutov <dgutov@yandex.ru>
122
123 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
124 whitespace after "end".
125 (ruby-do-end-to-brace): Collapse block to one line if it fits
126 within fill-column.
127
37ab5092
MR
1282012-09-18 Martin Rudalics <rudalics@gmx.at>
129
130 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
131 value.
132 (debug): Don't remove debugger window when debugger is expected
133 to be back.
134
ed1f0bd3
CY
1352012-09-18 Chong Yidong <cyd@gnu.org>
136
137 * custom.el (defface): Doc fix.
138
139 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
140
a11035b8
MB
1412012-09-18 Martin Blais <blais@furius.ca> (tiny change)
142
143 * progmodes/compile.el (compilation-start): Use compilation-always-kill
144 to initialize query-on-exit; then test that instead (bug#12288).
145
64f6a736
SM
1462012-09-17 Stefan Merten <smerten@oekonux.de>
147
148 * rst.el: Add support for `testcover'.
149 (rst-defcustom-testcover, rst-testcover-add-compose)
150 (rst-testcover-add-1value): New functions.
151 (rst-portable-mark-active-p): Replace by `use-region-p'.
152 (rst-update-section, rst-classify-adornment)
153 (rst-find-title-line): Mark `1value' forms.
154 (rst-classify-adornment): Remove superfluous form.
155 (rst-update-section, rst-get-adornments-around)
156 (rst-adornment-complete-p, rst-get-next-adornment)
157 (rst-adjust, rst-promote-region)
158 (rst-display-adornments-hierarchy, rst-straighten-adornments)
159 (rst-find-pfx-in-region, rst-section-tree-rec)
160 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
161 (rst-toc-node, rst-toc, rst-forward-section)
162 (rst-iterate-leftmost-paragraphs)
163 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
164 (rst-bullet-list-region)
165 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
166 (rst-compile-find-conf, rst-compile)
167 (rst-repeat-last-character): Fix style.
168
580bd868
CY
1692012-09-17 Chong Yidong <cyd@gnu.org>
170
171 * comint.el (comint--complete-file-name-data): Don't add a space
172 if the status is `sole'; that adds a gratuitous space in the
173 completion-cycling case (Bug#12092).
174
175 * pcomplete.el (pcomplete-completions-at-point): Likewise.
176
69de3ec6
RS
1772012-09-17 Richard Stallman <rms@gnu.org>
178
0dee970c
RS
179 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
180 only in the mime-shown mode, not in raw mode.
181 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 182 mime processing. (Bug#12305)
0dee970c 183
6b250df6
GM
184 * mail/rmail.el (rmail-retry-failure):
185 Turn off mime processing first. (Bug#12037)
acb1c47b 186
69de3ec6
RS
187 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
188
d079ee5f
CY
1892012-09-17 Chong Yidong <cyd@gnu.org>
190
191 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
192 (shell-dynamic-complete-functions): Convert to defcustom.
193 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
194
865fe16f
CY
195 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
196 * comint.el (comint-prompt-read-only):
197 * custom.el (defcustom):
198 * hi-lock.el (hi-lock-mode):
199 * ibuffer.el (ibuffer-formats):
200 * ielm.el (ielm-prompt-read-only):
201 * novice.el (disable-command):
202 * saveplace.el (toggle-save-place):
203 * speedbar.el (speedbar-supported-extension-expressions):
204 * startup.el (auto-save-list-file-prefix, init-file-user)
205 (after-init-hook, inhibit-startup-echo-area-message):
206 * strokes.el (strokes-help):
207 * time-stamp.el (time-stamp):
208 * calendar/calendar.el (calendar, diary-file):
209 * calendar/diary-lib.el (diary-mail-entries, diary)
210 (diary-list-entries-hook):
211 * calendar/holidays.el (holidays, calendar-holidays):
212 * calendar/lunar.el (lunar-phases):
213 * calendar/solar.el (sunrise-sunset):
214 * emulation/edt.el (edt-load-keys):
215 * emulation/viper.el (viper-mode):
216 * eshell/em-alias.el (eshell-command-aliases-list):
217 * eshell/esh-util.el (eshell-convert-numeric-arguments):
218 * international/ogonek.el (ogonek-information):
219 * net/tramp-cmds.el (tramp-bug):
220 * net/quickurl.el (quickurl-reread-hook-postfix):
221 * play/decipher.el (decipher-font-lock-keywords):
222 * progmodes/cc-styles.el (c-set-style):
223 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
224 * progmodes/inf-lisp.el (inferior-lisp-prompt):
225 * progmodes/octave-mod.el (octave-mode):
226 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
227 * progmodes/verilog-mode.el (verilog-read-defines):
228 * textmodes/two-column.el (2C-mode): Likewise.
229
48093eb9
KY
2302012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
231
232 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
233 that holds many addresses.
234
c584eaf9
CY
2352012-09-16 Chong Yidong <cyd@gnu.org>
236
40d70ecb
CY
237 * align.el (align-areas): Call the indication function with
238 positions instead of markers for arguments (Bug#12343).
239
1667e065
CY
240 * files.el (parse-colon-path): Use split-string (Bug#12351).
241
fdc2806d 242 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 243 (display-buffer-function): Mark as obsolete.
fdc2806d 244
f1be615c 245 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
246 values similar to font-lock-keywords (Bug#12136).
247 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
248 (compilation-error-regexp-alist): Doc fix.
249
f40a9709
GM
2502012-09-15 Glenn Morris <rgm@gnu.org>
251
72aa16e1
GM
252 * version.el (emacs-bzr-version-bzr): New function.
253 (emacs-bzr-get-version): Add optional EXTERNAL argument.
254
82375160
GM
255 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
256 checkouts, check the parent dirstate matches the branch.
257 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
258 empty string.
259
f40a9709
GM
260 * version.el (emacs-bzr-version): Doc fix.
261 (emacs-bzr-version-dirstate): New function.
262 (emacs-bzr-get-version): For lightweight checkouts, if the parent
263 is local try and check that it matches the branch. If not, just
264 use dirstate information. (Bug#12441)
265
cb26b7f5
JL
2662012-09-14 Juri Linkov <juri@jurta.org>
267
268 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
269 (Bug#12399)
270
2de39f08
SM
2712012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
272
0fb3cb7c
SM
273 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
274
2de39f08
SM
275 * emacs-lisp/edebug.el: Miscellaneous cleanup.
276 Remove obsolete byte-compiler hack that tried to silence some warnings.
277 (edebug-submit-bug-report): Remove.
278 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
279 Remove aliases, use the un-prefixed name instead.
280 (edebug-pop-to-buffer): Consider other frames.
281 (edebug-original-read):: Make it more obvious that it's always defined.
282 (edebug--make-form-data-entry, edebug--form-data-name)
283 (edebug--form-data-begin, edebug--form-data-end): Rename from the
284 single-dashed name, and implement with cl-defstruct.
285 (edebug-set-form-data-entry): Use the standard accessors.
286 (edebug-make-top-form-data-entry): Use push.
287 (edebug-no-match): Drop useless `funcall'.
288 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
289 to functions.
290 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
291 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
292 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
293 (easy-menu-define, with-custom-print): Remove redundant specs.
294 (edebug-outside-overriding-local-map)
295 (edebug-outside-overriding-terminal-local-map): Remove, unused.
296 (edebug--display): Bind unread-command-events directly to nil rather
297 than binding it to unread-command-events and later setting it to nil.
298 (edebug--display): Kill edebug-eval-buffer here...
299 (edebug--recursive-edit): ...rather than here.
300 Bind standard-output and standard-input.
301 (edebug-eval): Check cl-macroexpand-all is fboundp.
302 (edebug-temp-display-freq-count): Fix last change.
303
304 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
305 * subr.el (noreturn, 1value): Add `debug' spec.
306 * emacs-lisp/advice.el: Require cl-lib.
307 (ad-copy-tree): Remove, use copy-tree instead.
308 (ad-dolist): Remove use dolist or cl-dolist instead.
309 (ad-do-return): Remove, use cl-return instead.
310 (defadvice): Add `debug' spec.
311
5b68b333
JL
3122012-09-13 Juri Linkov <juri@jurta.org>
313
314 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
315 (Bug#12399)
316
b9800ec4
GM
3172012-09-13 Glenn Morris <rgm@gnu.org>
318
6a2e6868
GM
319 * calc/calc.el (math-compose-expr):
320 * calc/calc-ext.el (math-compose-expr):
321 * progmodes/cc-defs.el (cl-macroexpand-all):
322 * progmodes/cc-langs.el (delete-duplicates, mapcan)
323 (cl-macroexpand-all): Update declarations.
324
b9800ec4
GM
325 * vc/vc.el: No need to require ediff.
326 (ediff-load-version-control): Declare.
327 (ediff-vc-internal): Fix declaration.
328 (vc-version-ediff): Require ediff.
329
c18e885b
PE
3302012-09-13 Paul Eggert <eggert@cs.ucla.edu>
331
332 Use a more backwards-compatible timer format (Bug#12430).
333 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
334 being right after USECS, as that better supports old code that
335 inadvisedly looked directly at the timer vector.
336
d607d303
KH
3372012-09-13 Kenichi Handa <handa@gnu.org>
338
339 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
340 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
341 `coding-priority' property of these language environment.
342
72eac303
PE
3432012-09-13 Paul Eggert <eggert@cs.ucla.edu>
344
345 Fix glitches caused by addition of psec to timers (Bug#12430).
346 * image.el (image-animate-timer):
347 * time.el (display-time-world-timer):
348 Use timer--function and timer--args rather than raw access to
349 timer vector.
350
2168fe4f
GM
3512012-09-13 Glenn Morris <rgm@gnu.org>
352
353 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
354 If not compiling a file, try using load-file-name.
355
bd8d6108
SM
3562012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
357
c0c54fbd
SM
358 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
359 Fix last change.
360 (edebug-update-eval-list): Use `push'.
361
bd8d6108
SM
362 * emacs-lisp/edebug.el: Use lexical-binding.
363 Remove the "edebug-" prefix from non-dynamically-scoped variables.
364 Mark unused args with underscore.
365 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
366 (edebug-form-data): Use defvar-local.
367 (edebug-make-before-and-after-form, edebug-make-after-form):
368 Use backquote.
369 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
370 Not dynamically scoped any more.
371 (edebug--enter-trace): Add arguments `function' and `args'.
372 Rename from edebug-enter-trace.
373 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
374 (edebug--update-coverage): Add `after-index' and `value' args.
375 Rename from edebug-update-coverage.
376 (edebug-slow-after): Call it accordingly.
377 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
378 edebug-recursive-edit.
379 (edebug--display): Call it accordingly. Add args `value',
380 `offset-index', and `arg-mode'. Rename from edebug-display.
381 (edebug-debugger, edebug): Call it accordingly.
382 (edebug-eval-display-list): Use dolist.
383
a9f9d9de
JL
3842012-09-12 Juri Linkov <juri@jurta.org>
385
386 * info.el (Info-search): Don't check for isearch-mode and
387 isearch-regexp before let-binding search-spaces-regexp to
388 Info-search-whitespace-regexp.
389 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
390 search-whitespace-regexp if isearch-lax-whitespace or
391 isearch-regexp-lax-whitespace is non-nil.
392 (Info-mode): Don't set local variable search-whitespace-regexp.
393 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
394
bfeae2cf
SM
3952012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
398 (debugger-env-macro): Remove support for unread-command-char.
399
400 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
401 the temporary map re-appearing on emulation-mode-map-alists.
402
403 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
404 since 22.1.
405
406 * ehelp.el (with-electric-help): Accept functions in
407 electric-help-form-to-execute.
408 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
409 And replace unread-command-char -> unread-command-events.
410
fbbcaf1b
MA
4112012-09-12 Michael Albinus <michael.albinus@gmx.de>
412
413 Sync with Tramp 2.2.6.
414
415 * net/tramp.el (tramp-accept-process-output): Don't use
416 JUST-THIS-ONE in the XEmacs case.
417
418 * net/trampver.el: Update release number.
419
4dece104
MR
4202012-09-12 Martin Rudalics <rudalics@gmx.at>
421
bfeae2cf
SM
422 * emacs-lisp/debug.el (debugger-previous-window-height):
423 New variable.
4dece104
MR
424 (debug): When debugger-jumping-flag is non-nil try to restore
425 height of debugger window. (Bug#8789)
426
45b82ad0
SM
4272012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
428
60c49c0f
SM
429 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
430 overriding-local-map and pre/post-command-hook here.
431 (edebug-recursive-edit): Do it here instead (bug#12345).
432 (edebug-outside-unread-command-char): Remove all uses of
433 unread-command-char.
434
45b82ad0
SM
435 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
436 inhibit-debugger is bound instead.
437
baa26ea0
BG
4382012-09-11 Bastien Guerry <bzg@gnu.org>
439
440 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 441 (Bug#12346)
baa26ea0 442
04e8abfa
BG
4432012-09-11 Bastien Guerry <bzg@gnu.org>
444
96d03571 445 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 446 (Bug#12347)
96d03571
BG
447
4482012-09-11 Bastien Guerry <bzg@gnu.org>
449
fc0c31f8 450 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 451
04e082b0
MM
4522012-09-10 Michael R. Mauger <mmaug@yahoo.com>
453
454 * progmodes/sql.el: Version 3.1
455 (sql-db2-escape-newlines): New variable.
456 (sql-escape-newlines-filter): Use it.
457
399a361b
JB
4582012-09-10 Juanma Barranquero <lekktu@gmail.com>
459
460 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
461
0780c517
DN
4622012-09-10 Dan Nicolaescu <dann@gnu.org>
463
45b82ad0
SM
464 * vc/diff-mode.el (diff-mode-menu):
465 Bind diff-remove-trailing-whitespace.
0780c517 466
9b851e25
SM
4672012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
470 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
471 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
472 (eval-sexp-add-defvars): Don't skip defvars in column >0.
473 (eval-defun-2): Remove bogus interactive spec.
474 (lisp-indent-line): Remove redundant whole-exp code, now done in
475 indent-according-to-mode.
476 (save-match-data): Remove redundant indent data.
477
478 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
479 Use `declare'.
480
3231d532
JL
4812012-09-09 Juri Linkov <juri@jurta.org>
482
483 * replace.el (replace-regexp-lax-whitespace): New defcustom.
484 (replace-lax-whitespace, query-replace-regexp)
485 (query-replace-regexp-eval, replace-regexp): Doc fix.
486 (perform-replace, replace-highlight): Let-bind
487 isearch-lax-whitespace to replace-lax-whitespace and
488 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
489
490 * isearch.el (isearch-query-replace): Let-bind
491 replace-lax-whitespace to isearch-lax-whitespace and
492 replace-regexp-lax-whitespace to
493 isearch-regexp-lax-whitespace. (Bug#10885)
494
70fe8236
SM
4952012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
498
8ed43f15
AM
4992012-09-09 Alan Mackenzie <acm@muc.de>
500
70fe8236
SM
501 * progmodes/cc-engine.el (c-state-cache-init):
502 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
503 (c-record-parse-state-state):
504 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 505
bfabf70a
AS
5062012-09-09 Andreas Schwab <schwab@linux-m68k.org>
507
508 * register.el (register-separator): Rename from
509 separator-register. All uses changed. Doc fix.
510 (register): Fix version.
511
011474aa
CY
5122012-09-09 Chong Yidong <cyd@gnu.org>
513
514 * replace.el (query-replace-map): Bind four new symbols for
515 requesting window scrolling.
516
517 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
518 query-replace-map (Bug#8948).
519
520 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
521
522 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
523 since they are now in query-replace-map.
524
525 * window.el (scroll-other-window-down): Make the arg optional.
526
a8b7cd8d
CY
5272012-09-09 Chong Yidong <cyd@gnu.org>
528
529 * files.el (hack-local-variables-confirm): Use quit-window to kill
530 the *Local Variables* buffer.
531
c3268831
DG
5322012-09-08 Dmitry Gutov <dgutov@yandex.ru>
533
534 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
535 not just expect to be at its beginning. Adjust callees.
536 Succeed when do-end block has no space before the pipe character.
537 (ruby-brace-to-do-end): When the original block is one-liner,
538 convert to multiline. Reindent the result.
539
0979429b
J
5402012-09-08 Jambunathan K <kjambunathan@gmail.com>
541
542 * register.el (register): New group.
543 (register-separator): New user option.
544 (increment-register): Route it to `append-to-register', if
545 register contains text. Implication is that `C-x r +' can now be
546 used for appending to a text register (bug#12217).
547 (append-to-register, prepend-to-register): Add separator based on
548 `register-separator.
549
ace2989a
AM
5502012-09-08 Alan Mackenzie <acm@muc.de>
551
552 AWK Mode: make auto-newline work when there's "==" in the pattern.
553 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
554 correctly.
0979429b
J
555 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
556 Test more rigorously for "=" token.
ace2989a 557
616c6c36
DG
5582012-09-08 Dmitry Gutov <dgutov@yandex.ru>
559
0979429b
J
560 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
561 Only fail when reached LIMIT.
616c6c36 562
35d98877
CY
5632012-09-08 Chong Yidong <cyd@gnu.org>
564
565 * dired.el (dired-mode-map): Don't bind M-=.
566
567 * dired-aux.el (dired-diff): Use backup file as default.
568
1715f2db
DA
5692012-09-08 Drew Adams <drew.adams@oracle.com>
570
571 * subr.el (add-to-history): Fix delete usage (Bug#12314).
572
6dcef6ec
CY
5732012-09-08 Chong Yidong <cyd@gnu.org>
574
575 * subr.el (syntax-after, syntax-class): Doc fix.
576
fa2bcf43
MR
5772012-09-08 Martin Rudalics <rudalics@gmx.at>
578
579 * window.el (display-buffer-in-previous-window): New buffer
580 display action function.
581
582 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
583 (debugger-previous-window): New variable.
584 (debug): Rewrite using display-buffer-in-previous-window,
585 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
586
daac280a
SM
5872012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
590
9dd40b00
MM
5912012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
592
daac280a
SM
593 * progmodes/python.el (python-shell-send-string):
594 When default-directory is remote, create temp file on remote
9dd40b00
MM
595 filesystem.
596 (python-shell-send-file): When file is remote, pass local view of
597 file paths to remote Python interpreter. (Bug#12340)
598
145823ec
CY
5992012-09-07 Chong Yidong <cyd@gnu.org>
600
cee2e90d
CY
601 * window.el (switch-to-buffer): Doc fix (Bug#12181).
602
0d7eb2ea
CY
603 * files.el (after-find-file): Don't fail on a read-only buffer if
604 require-final-newline is `visit' or `visit-save' (Bug#11156).
605
145823ec
CY
606 * subr.el (read-char-choice): Allow quitting via ESC ESC.
607
daac280a
SM
608 * userlock.el (ask-user-about-supersession-threat):
609 Use read-char-choice (Bug#12093).
145823ec 610
74c582e6
CY
6112012-09-07 Chong Yidong <cyd@gnu.org>
612
e5c2edf7
CY
613 * subr.el (buffer-narrowed-p): New function.
614
615 * ses.el (ses-widen):
616 * simple.el (count-words--buffer-message):
617 * net/browse-url.el (browse-url-of-buffer): Use it
618
619 * simple.el (count-words-region): Don't signal an error if there
620 is a non-nil prefix arg and the mark is not set.
c640e87d 621
74c582e6
CY
622 * help.el (describe-key-briefly): Allow the message to be seen
623 when invoked from the minibuffer (Bug#7014).
624
d81ceaaf
DG
6252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
626
627 * progmodes/ruby-mode.el (ruby-end-of-defun)
628 (ruby-beginning-of-defun): Simplify, allow indentation before
629 block beginning and end keywords.
8f06acce
DG
630 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
631 (ruby-end-of-defun): Expect that the point is at the beginning of
632 the defun.
d81ceaaf 633
d458ef98
SM
6342012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
637 (bug#12367).
638 (cl--make-usage-args): Strip _ from argument names.
639
20367d28
RS
6402012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
641
642 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
643 obsolete alias speedbar-key-map.
644 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
645 (vhdl-index-menu-init): Don't use obsolete variable
646 font-lock-maximum-size.
647
3424a4f6
CY
6482012-09-06 Chong Yidong <cyd@gnu.org>
649
650 * frame.el (window-system-version): Mark as obsolete.
651
fcbfbdea
CY
652 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
653 of obsolete variable speedbar-key-map.
654
826b3235
JL
6552012-09-06 Juri Linkov <juri@jurta.org>
656
657 * replace.el (replace-lax-whitespace): New defcustom.
658 (query-replace, query-replace-regexp, query-replace-regexp-eval)
659 (replace-string, replace-regexp): Mention it in docstrings.
660 (perform-replace, replace-highlight): Let-bind
661 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
662 to the values of replace-lax-whitespace and regexp-flag.
663 Don't let-bind search-whitespace-regexp. (Bug#10885)
664
665 * isearch.el (isearch-query-replace): Let-bind
666 replace-lax-whitespace instead of let-binding
667 replace-search-function and replace-re-search-function.
668 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
669 and isearch-regexp-lax-whitespace to lazy-highlight variables.
670 (isearch-toggle-symbol): Set isearch-regexp to nil
671 in isearch-word mode (like in isearch-toggle-word).
672
1ec5e41d
JL
6732012-09-06 Juri Linkov <juri@jurta.org>
674
675 * replace.el (replace-search-function)
676 (replace-re-search-function): Set default values to nil.
677 (perform-replace): Let-bind isearch-related variables based on
678 replace-related values, call `isearch-search-fun' and let-bind
679 the result to `search-function'. Remove code that sets
680 `search-function' and `search-string' separately for
681 `delimited-flag'.
682 (replace-highlight): Add new argument `delimited-flag' and
683 rename other arguments to the names used in `perform-replace'.
684 Let-bind `isearch-word' to the argument `delimited-flag'.
685 (Bug#10885, bug#10887)
686
0ba2d4b6
DG
6872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
688
689 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
690 ruby-beginning-of-indent, simplify, allow all keywords to have
691 indentation before them.
692 (ruby-beginning-of-indent): Adjust for above. Search until the
693 found point is not inside a string or comment.
694 (ruby-font-lock-keywords): Allow symbols to start with "@"
695 character, give them higher priority than variables.
696 (ruby-syntax-propertize-function)
697 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
698 matchers. Expression expansions are not comments when inside a
699 string, and there comment syntax status is irrelevant.
700 (ruby-match-expression-expansion): New function. Check that
701 expression expansion is inside a string, and it's not escaped.
702 (ruby-font-lock-keywords): Use it.
703
ef654460
MR
7042012-09-05 Martin Rudalics <rudalics@gmx.at>
705
706 * help.el (temp-buffer-max-height): New default value.
707 (temp-buffer-resize-frames): New option.
708 (resize-temp-buffer-window): Optionally resize frame.
709
710 * window.el (fit-frame-to-buffer-bottom-margin): New option.
711 (fit-frame-to-buffer): New function.
712
7e570fbf 7132012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
714
715 * emulation/cua-rect.el (cua--init-rectangles):
716 * textmodes/picture.el (picture-mode-map):
717 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
718 like forward-char and backward-char. (Bug#12317)
719
7e570fbf 7202012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
721
722 * progmodes/flymake.el (flymake-warning-re): New variable.
723 (flymake-parse-line): Use it.
724
7e570fbf 7252012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
726
727 * calendar/holidays.el (holiday-christian-holidays):
728 Rename an entry. (Bug#12289)
729
7e570fbf 7302012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
731
732 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
733 (bug#12222).
734
972debf2
SM
7352012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * loadup.el: Load macroexp. Remove hack.
738 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
739 (macroexp--expand-all): Use it to get better warnings.
740 (macroexp--backtrace, macroexp--trim-backtrace-frame)
741 (internal-macroexpand-for-load): New functions.
742 (macroexp--pending-eager-loads): New var.
743 (emacs-startup-hook): New hack to replace one in loadup.el.
744 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
745 (cl--compiler-macro-cXXr): Move to top, before they can be used.
746 (cl-psetf): Simplify.
747 (cl-defstruct): Add indent rule.
748
8ce192e3
LI
7492012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
750
751 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
752 over `user-mail-address' for the SMTP MAIL FROM envelope.
753 (smtpmail-via-smtp): Ditto.
754
6578b4d8
DG
7552012-09-04 Dmitry Gutov <dgutov@yandex.ru>
756
757 * progmodes/ruby-mode.el: Clean up keybindings.
758 (ruby-mode-map): Don't bind ruby-electric-brace,
759 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
760 backward-kill-word, reindent-then-newline-and-indent.
761 (ruby-mark-defun): Remove.
762 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
763 (ruby-mode): Set local beginning-of-defun-function and
764 end-of-defun-function values.
765
c5e28e39
MR
7662012-09-03 Martin Rudalics <rudalics@gmx.at>
767
768 * window.el (temp-buffer-window-setup-hook)
769 (temp-buffer-window-show-hook): New hooks.
770 (temp-buffer-window-setup, temp-buffer-window-show)
771 (with-temp-buffer-window): New functions.
972debf2
SM
772 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
773 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
774
775 * help.el (temp-buffer-resize-mode): Fix doc-string.
776 (resize-temp-buffer-window): New optional argument WINDOW.
777
778 * files.el (recover-file, save-buffers-kill-emacs):
779 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
780
73406194
MA
7812012-09-02 Michael Albinus <michael.albinus@gmx.de>
782
783 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
784 remote definition of `default-directory', ensure we can connect.
785
63dd1c6f
JL
7862012-09-02 Juri Linkov <juri@jurta.org>
787
788 Toggle whitespace matching mode with M-s SPC.
789 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
790
791 * isearch.el (search-whitespace-regexp): Doc fix.
792 Remove cons cell customization.
793 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
794 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
795 New variables.
796 (isearch-forward, isearch-forward-regexp): Doc fix.
797 (isearch-toggle-lax-whitespace): New command.
798 (search-forward-lax-whitespace, search-backward-lax-whitespace)
799 (re-search-forward-lax-whitespace)
800 (re-search-backward-lax-whitespace): New functions.
801 (isearch-whitespace-regexp): Remove function.
802 (isearch-query-replace): Let-bind replace-search-function and
803 replace-re-search-function.
804 (isearch-occur): Let-bind search-spaces-regexp according to the
805 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
806 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
807 condition for C-q SPC.
808 (isearch-search-fun-default): Use new functions mentioned above.
809 (isearch-search-forward, isearch-search-backward): Remove functions.
810 (isearch-search): Don't let-bind search-spaces-regexp.
811 (isearch-lazy-highlight-space-regexp): Remove variable.
812 (isearch-lazy-highlight-lax-whitespace)
813 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
814 (isearch-lazy-highlight-new-loop): Use them.
815 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
816
af7dda05
CY
8172012-09-02 Chong Yidong <cyd@gnu.org>
818
819 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
820
d67d3afd
GM
8212012-09-02 Glenn Morris <rgm@gnu.org>
822
823 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
824
69678719
GM
8252012-09-01 Glenn Morris <rgm@gnu.org>
826
827 * term.el: Tidy up menu definitions.
828 (term-mode-map): Use easymenu for In/Out, Complete menus.
829 (term-pager-break-map): Initialize in the defvar.
830 (term-terminal-menu, term-signals-menu): Define with easymenu.
831 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
832 (term-pager-menu): New, extracted from term-process-pager.
833 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
834 (term-update-mode-line): Propertize line/char and page items.
835 (term-process-pager): Move keymap initialization elsewhere.
836
78dd6ab1
MR
8372012-09-01 Martin Rudalics <rudalics@gmx.at>
838
839 * window.el (switch-to-prev-buffer): Handle additional values of
840 BURY-OR-KILL argument. Don't switch in minibuffer window.
841 (switch-to-next-buffer): Don't switch in minibuffer window.
842 (quit-restore-window): New function based on quit-window.
843 Handle additional values of former KILL argument.
844 (quit-window): Call quit-restore-window with appropriate
845 interpretation of KILL argument.
846 (display-buffer-below-selected): New buffer display action
847 function.
848
3d10e134
SM
8492012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * minibuffer.el (completion-at-point-functions): Complete docstring
852 (bug#12254).
853
0e23ef9d
PE
8542012-09-01 Paul Eggert <eggert@cs.ucla.edu>
855
856 Better seed support for (random).
857 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
858 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
859 * play/mpuz.el, play/tetris.el, play/zone.el:
860 * calc/calc-comb.el (math-init-random-base):
861 * play/blackbox.el (bb-init-board):
862 * play/life.el (life):
863 * server.el (server-use-tcp):
864 * type-break.el (type-break):
865 Remove unnecessary call to (random t).
866 * net/sasl.el (sasl-unique-id-function):
867 Change (random t) to (random), now that the latter is more random.
868 * play/life.el (life-initialized): Remove no-longer-needed var.
869
862382df
MR
8702012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
871
872 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
873 Consider frame's buffer predicate when choosing the buffer.
874 (Bug#12081)
875
262a66e1
RS
8762012-08-30 Richard Stallman <rms@gnu.org>
877
878 * simple.el (special-mode-map): Delete binding for `z'.
879
f17e1d00
AS
8802012-08-30 Andreas Schwab <schwab@linux-m68k.org>
881
882 * progmodes/compile.el (compilation-always-kill): Doc fix.
883
24777832
CY
8842012-08-30 Chong Yidong <cyd@gnu.org>
885
886 * window.el (display-buffer-reuse-frames): Make the obsolescence
887 message more informative.
888
69ba1f04
GM
8892012-08-30 Glenn Morris <rgm@gnu.org>
890
891 * paren.el (show-paren-delay):
892 Add a :set function. Doc fix. (Bug#12297)
893
f0019ede
MB
8942012-08-29 Martin Blais <blais@furius.ca> (tiny change)
895
896 * progmodes/compile.el (compilation-always-kill): New var.
897 (compilation-start): Use it.
898
35e62fc9
SM
8992012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
900
af070a1c
SM
901 * simple.el (read-only-mode): Move from files.el for bootstrapping.
902 * files.el (read-only-mode): Move to simple.el.
903
35e62fc9
SM
904 * files.el (read-only-mode): New minor mode.
905 (toggle-read-only): Use it and mark obsolete.
906 (find-file--read-only):
907 * vc/vc.el (vc-next-action, vc-checkout):
908 * vc/vc-cvs.el (vc-cvs-checkout):
909 * obsolete/vc-mcvs.el (vc-mcvs-update):
910 * ffap.el (ffap--toggle-read-only): Update callers.
911
c2c43c23
MA
9122012-08-29 Michael Albinus <michael.albinus@gmx.de>
913
914 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
915 remote shell scripts.
916 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
917
918 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
919 "/usr/local/sbin".
920
9fba804b
SM
9212012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
924
eada0861 9252012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 926
806f0cc7
LL
927 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
928 completion-at-point. (Bug#12220)
929
3bb213b9
LL
930 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
931
22ab32ef
LL
932 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
933
eada0861 9342012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 935
19c17fc1
CY
936 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
937 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 938
eada0861 9392012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
940
941 * progmodes/hideif.el (hif-compress-define-list):
942 Fix typo. (Bug#11951)
943
eada0861 9442012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
945
946 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
947 buffer local setting.
948
27d6c5a8
LL
949 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
950 rcirc-encode-coding-system.
951
eada0861 9522012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
953
954 * net/rcirc.el (rcirc-split-message): New function.
955 (rcirc-send-message): Use it. (Bug#12051)
956
d44688e4
JL
9572012-08-28 Juri Linkov <juri@jurta.org>
958
959 * info.el (Info-fontify-node): Hide empty lines at the end of
960 the node. (Bug#12272)
961
34f10d41
MR
9622012-08-27 Drew Adams <drew.adams@oracle.com>
963
964 * dired.el (dired-pop-to-buffer): Make window start at beginning
965 of buffer (Bug#12281).
966
77f1f99c
CY
9672012-08-26 Chong Yidong <cyd@gnu.org>
968
969 * window.el (special-display-regexps, special-display-frame-alist)
970 (special-display-buffer-names, special-display-function)
971 (display-buffer-reuse-frames): Mark as obsolete.
972
973 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
974
975 * help.el (help-print-return-message): Don't treat
976 display-buffer-reuse-frames specially.
977
d97af5a0
CY
9782012-08-26 Chong Yidong <cyd@gnu.org>
979
9fba804b
SM
980 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
981 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
982 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
983 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
984 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
985 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
986 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
987 the functions directly with gdb-display-buffer-other-frame-action.
988 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
989 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
990 (gdb-display-stack-buffer, gdb-display-locals-buffer)
991 (gdb-display-registers-buffer): Define directly.
992 (def-gdb-display-buffer): Macro deleted.
993 (gdb-display-buffer): Remove second and third args, callers don't
994 use them. Defer to the default display-buffer behavior, apart
995 from making windows dedicated.
996 (gdb-setup-windows): Don't call display-buffer unnecessarily.
997
998 * progmodes/gud.el (gud-display-line): Just use display-buffer.
999
1000 * window.el (display-buffer-pop-up-frame): Handle a
1001 pop-up-frame-parameters alist entry.
1002 (display-buffer): Document it.
1003
dd7ffad6
CY
10042012-08-26 Chong Yidong <cyd@gnu.org>
1005
1006 * isearch.el (search-whitespace-regexp): Make string and nil
1007 values apply to both ordinary and regexp search. Allow a cons
1008 cell value to distinguish between the two.
1009 (isearch-whitespace-regexp, isearch-search-forward)
1010 (isearch-search-backward): New functions.
1011 (isearch-occur, isearch-search-fun-default, isearch-search)
1012 (isearch-lazy-highlight-new-loop): Use them.
1013 (isearch-forward, isearch-forward-regexp): Doc fix.
1014
4c47bd1e
CY
10152012-08-26 Chong Yidong <cyd@gnu.org>
1016
1017 * faces.el (help-argument-name): Always inherit from italic
1018 (Bug#12213).
1019
9aba119d
MR
10202012-08-25 Martin Rudalics <rudalics@gmx.at>
1021
1022 * window.el (window--even-window-heights): Even heights when
1023 WINDOW and the selected window form a vertical combination.
1024 (display-buffer-use-some-window): Provide that window used gets
1025 sized back by quit-window. (Bug#11880) and (Bug#12091)
1026
ca5256ad
PE
10272012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1028
1029 Fix file time stamp problem with bzr and CVS (Bug#12001).
1030 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1031 in the file's time stamp, since the version control system loses
1032 that information.
1033
d1c0d176
JL
10342012-08-22 Juri Linkov <juri@jurta.org>
1035
1036 * info.el (Info-fontify-node): Hide the suffix of the
1037 Info file name in the header line. (Bug#12187)
1038
141562ff
GM
10392012-08-22 Glenn Morris <rgm@gnu.org>
1040
1041 * calendar/cal-tex.el (cal-tex-weekly-common):
1042 Restore leading blank page.
1043
61a48e19 10442012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1045
1046 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1047 the region under `shift-select-mode'. (Bug#12231)
1048
10492012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1050
1051 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1052 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1053 gives details on why the space is never needed.
1054
ea95074e
MR
10552012-08-22 Martin Rudalics <rudalics@gmx.at>
1056
9fba804b
SM
1057 * window.el (walk-window-tree, window-with-parameter):
1058 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1059 should run on the minibuffer window.
1060 (window-at-side-list): Don't operate on minibuffer window.
1061 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1062 (window--size-ignore): Rename to window--size-ignore-p.
1063 Update callers.
caceae25
MR
1064 (display-buffer-in-atom-window, window--major-non-side-window)
1065 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1066 (delete-side-window, display-buffer-in-side-window):
1067 New functions.
caceae25
MR
1068 (window--side-check, window-deletable-p, delete-window)
1069 (delete-other-windows, split-window): Handle side windows and
1070 atomic windows appropriately.
1071 (window--display-buffer): Call display-buffer-record-window also
1072 when the window buffer did not change.
ea95074e 1073
80a51fa0
CS
10742012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1075
1076 * help-fns.el (help-fns--key-bindings):
1077 Abbreviate non-symbol remap targets. (Bug#12174)
1078
fbb6300b
MR
10792012-08-22 Martin Rudalics <rudalics@gmx.at>
1080
1081 * dired.el (dired-mark-remembered): Don't clobber point.
1082 (Bug#11795)
1083
2b2c0794
GM
10842012-08-22 Glenn Morris <rgm@gnu.org>
1085
1086 * progmodes/bug-reference.el (bug-reference): New custom group.
1087 (bug-reference-bug-regexp): Make it a defcustom.
1088
37219830
DU
10892012-08-22 Daiki Ueno <ueno@unixuser.org>
1090
1091 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1092 (js-paren-indent-offset, js-square-indent-offset)
1093 (js-curly-indent-offset): Add :safe (Bug#12257).
1094
94e0e559
EC
10952012-08-22 Edward O'Connor <hober0@gmail.com>
1096
1097 * json.el (json-key-format): Add error properties.
1098 (json-encode-key): New function.
1099 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1100 Use json-encode-key.
1101
da485f5e
GM
11022012-08-22 Glenn Morris <rgm@gnu.org>
1103
1104 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1105 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1106 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1107 Update for above change.
1108
c6cc78b8
AS
11092012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1110
1111 * cus-face.el (custom-face-attributes): Fix customize type for the
1112 :underline attribute. (Bug#11805)
1113
5481664a
MR
11142012-08-21 Martin Rudalics <rudalics@gmx.at>
1115
1116 * window.el (window-point-1, set-window-point-1): Remove.
1117 (window-in-direction, record-window-buffer)
1118 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1119 (window--state-get-1, display-buffer-record-window):
1120 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1121 window-point and set-window-point respectively.
1122
6d74698e
GM
11232012-08-21 Glenn Morris <rgm@gnu.org>
1124
b7fa2691
GM
1125 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1126 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1127 Use it.
1128
52f56d5a
GM
1129 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1130 (cal-tex-shortday): New function.
1131 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1132 (cal-tex-cursor-filofax-daily): Use the above.
1133
9f1ee09e
GM
1134 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1135 New functions.
1136 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1137 (cal-tex-cursor-filofax-week): Use them.
1138
79858159
GM
1139 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1140 New constants.
1141 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1142 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1143
d346b2b4
GM
1144 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1145 (cal-tex-end-document): Don't rely on buffer name.
1146
b2403709
GM
1147 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1148 Use cal-tex-vspace.
1149 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1150 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1151 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1152 Use cal-tex-arg.
b2403709 1153
1cebb5c0
GM
1154 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1155 (cal-tex-cursor-week, cal-tex-cursor-week2)
1156 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1157 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1158 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1159 (cal-tex-insert-preamble, cal-tex-b-document)
1160 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1161 Improve cal-tex-cmd usage.
1162
c68cd5d4
GM
1163 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1164 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1165 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1166 (cal-tex-weekly-paper): New function.
1167 (cal-tex-cursor-week, cal-tex-cursor-week2)
1168 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1169 (cal-tex-cursor-day): Use it.
1170
9dca4801
GM
1171 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1172 (cal-tex-cursor-filofax-week): Remove leading blank page.
1173
1941e134
GM
1174 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1175 Add autoload cookie. For now at least, don't use color, since
1176 no other cal-tex function does.
1177
6d74698e
GM
1178 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1179 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1180 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1181
64cde199
JL
11822012-08-21 Juri Linkov <juri@jurta.org>
1183
1184 * info.el (Info-file-attributes): New variable.
1185 (info-insert-file-contents): Add file attributes to
1186 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1187 `Info-toc-nodes' when previous modtime of the Info file is less
1188 than new modtime.
1189 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1190 of info.el. (Bug#12230)
1191
32757648
GM
11922012-08-20 Glenn Morris <rgm@gnu.org>
1193
1194 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1195 * calendar/holidays.el (calendar-holiday-list):
1196 Report errors with display-warning rather than beep'n'sleep.
1197
a32fbbcf
MA
11982012-08-20 Michael Albinus <michael.albinus@gmx.de>
1199
1200 * net/tramp.el (tramp-accept-process-output): Accept only output
1201 from PROC. Otherwise, process filters and sentinels might be
1202 confused. (Bug#12145)
1203
a05731a0
CY
12042012-08-20 Chong Yidong <cyd@gnu.org>
1205
1206 * descr-text.el (describe-text-properties-1): Use overlays-in to
1207 report on empty overlays (Bug#3322).
1208
36e8d1eb
GM
12092012-08-20 Glenn Morris <rgm@gnu.org>
1210
3d300447
GM
1211 * mail/rmailout.el (rmail-output-read-file-name):
1212 Trap and report errors in rmail-output-file-alist elements.
1213
36e8d1eb
GM
1214 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1215 since most non-font-lock faces are not also variables).
1216
b96e5814
ER
12172012-08-20 Edward Reingold <reingold@iit.edu>
1218
1219 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1220 New function. (Bug12160)
1221
7cef3569
GM
12222012-08-19 Glenn Morris <rgm@gnu.org>
1223
1224 * mail/rmailout.el (rmail-output-read-file-name):
1225 Fix previous change (when the alist is nil or does not match).
1226
17975d7f
CY
12272012-08-19 Chong Yidong <cyd@gnu.org>
1228
1229 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1230 (Bug#12228).
1231
2170b1bd
CY
12322012-08-18 Chong Yidong <cyd@gnu.org>
1233
1234 * simple.el (yank-handled-properties): New defcustom.
1235 (yank-excluded-properties): Add font-lock-face and category.
1236 (yank): Doc fix.
1237
9fba804b
SM
1238 * subr.el (remove-yank-excluded-properties):
1239 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1240 and category is now done this way, instead of being hard-coded.
1241 (insert-for-yank-1): Remove font-lock-face handling.
1242 (yank-handle-font-lock-face-property)
1243 (yank-handle-category-property): New function.
1244
ee218151
GM
12452012-08-17 Glenn Morris <rgm@gnu.org>
1246
1247 * mail/rmailout.el (rmail-output-read-file-name):
1248 Check rmail-output-file-alist against the full message body
1249 in the correct rmail buffer. (Bug#12214)
1250
4a6bc3fd
MA
12512012-08-17 Michael Albinus <michael.albinus@gmx.de>
1252
9fba804b
SM
1253 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1254 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1255
383dcbf9
CY
12562012-08-17 Chong Yidong <cyd@gnu.org>
1257
1258 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1259 font spec, set the font directly (Bug#3228).
1260
998c4a6a
MR
12612012-08-17 Martin Rudalics <rudalics@gmx.at>
1262
1263 * window.el (delete-window): Fix last fix.
1264
52162052
MR
12652012-08-16 Martin Rudalics <rudalics@gmx.at>
1266
1267 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1268 (window-child, window-child-count, window-last-child)
1269 (window-normalize-window, window-combined-p)
1270 (window-combinations, window-atom-root, window-min-size)
1271 (window-sizable, window-sizable-p, window-size-fixed-p)
1272 (window-min-delta, window-max-delta, window--resizable)
1273 (window--resizable-p, window-resizable, window-total-size)
1274 (window-full-height-p, window-full-width-p, window-body-size)
1275 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1276 (minimize-window, window-deletable-p, delete-window)
1277 (delete-other-windows, set-window-buffer-start-and-point)
1278 (next-buffer, previous-buffer, split-window, balance-windows-2)
1279 (set-window-text-height, window-buffer-height)
1280 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1281 (truncated-partial-width-window-p): Minor code adjustments.
1282 In doc-strings state whether the argument window has to denote a
85c2386b 1283 live, valid or any window.
52162052 1284
1c308380
PS
12852012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1286
1287 * progmodes/subword.el (subword-forward-function)
1288 (subword-backward-function, subword-forward-regexp)
1289 (subword-backward-regexp): New variables.
1290 (subword-forward, subword-forward-internal, subword-backward-internal):
1291 Use new variables, eg so that different "word" definitions
1292 can be easily used. (Bug#11411)
1293
94c9ece1
SM
12942012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1297 for composite selectors.
1298 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1299 operation just because we can't find a previous revision.
1300
f2045622
CY
13012012-08-15 Chong Yidong <cyd@gnu.org>
1302
1303 * frame.el (set-frame-font): Accept font objects.
1304
582db660
SM
13052012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1308
2f29c200
WJ
13092012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1310
456e62c2
WJ
1311 * man.el (Man-overstrike-face, Man-underline-face)
1312 (Man-reverse-face): Remove variables.
1313 (Man-overstrike, Man-underline, Man-reverse): New faces.
1314 (Man-fontify-manpage): Use them instead of the variables.
1315 (Man-cleanup-manpage): Comment change.
1316 (Man-ansi-color-map): New variable.
1317 (Man-fontify-manpage): Use it.
1318 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1319
2f29c200
WJ
1320 Implement ANSI SGR parameters 22-27 (bug#12146).
1321 * ansi-color.el (ansi-colors): Doc fix.
1322 (ansi-color-context, ansi-color-context-region): Doc fix.
1323 (ansi-color--find-face): New function.
1324 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1325 Rename the local variable `face' to `codes' since it is now a list of
1326 ansi codes. Doc fix.
1327 (ansi-color-get-face): Remove.
1328 (ansi-color-parse-sequence): New function, derived from
1329 ansi-color-get-face.
1330 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1331 codes 22-27.
1332
b4f5e9df
SM
13332012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * subr.el (read-passwd): Allow use from a minibuffer.
1336
ba025fbd
EZ
13372012-08-14 Eli Zaretskii <eliz@gnu.org>
1338
1339 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1340 inside comments and strings as identifiers.
1341
1342 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1343 expression to evaluate. This allows to evaluate expressions with
1344 embedded whitespace.
1345 (gud-tooltip-tips): Add a blank before the newline in the
1346 message-box text, for the benefit of message-box emulation on
1347 MS-Windows.
1348
1349 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1350 messages from GDB, pop them up in a tooltip to give feedback to
1351 user.
b4f5e9df
SM
1352 (gdb-tooltip-print-1): Quote the expression to evaluate.
1353 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1354 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1355 if the TTY name is nil or empty (which happens when communicating
1356 with the inferior via pipes, e.g. on MS-Windows).
1357 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1358 don't send that to the GUD buffer.
1359
c548f821
GM
13602012-08-14 Glenn Morris <rgm@gnu.org>
1361
1362 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1363 Optimize away setq-default with no args, as for setq. (Bug#12195)
1364
55802e4a
CY
13652012-08-14 Chong Yidong <cyd@gnu.org>
1366
4abcdac8
CY
1367 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1368
55802e4a
CY
1369 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1370 (Bug#12085).
1371
3c3cda1a
GM
13722012-08-14 Glenn Morris <rgm@gnu.org>
1373
1374 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1375
e1873bd0
MA
13762012-08-14 Michael Albinus <michael.albinus@gmx.de>
1377
1378 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1379 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1380 Use cached shell name.
1381
925411b4
FEG
13822012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1383
1384 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1385 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1386
e636fafe
DG
13872012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1390 (ruby-percent-literal-beg-re): New constant.
1391 (ruby-syntax-general-delimiters-goto-beg): Rename to
1392 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1393 (ruby-syntax-propertize-general-delimiters): Rename to
1394 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1395 popular term. Adjust comments everywhere.
1396 (ruby-syntax-propertize-percent-literal): Only propertize when not
1397 inside a simple string or comment. When the literal is unclosed,
1398 leave the text after it unpropertized.
f063063a
DG
1399 (ruby-syntax-methods-before-regexp): New constant.
1400 (ruby-syntax-propertize-function): Use it to recognize regexps.
1401 Don't look at the text after regexp, just use the whitelist.
e636fafe 1402
e5b19827
AS
14032012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1406 non-nil always load the compiled file if it exists. (Bug#12197)
1407
a9f6f311
CY
14082012-08-14 Chong Yidong <cyd@gnu.org>
1409
1410 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1411 (hi-lock-set-pattern): When deciding whether to use font lock or
1412 overlays, look at font-lock-mode instead of font-lock-fontified
1413 (Bug#12168).
1414 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1415 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1416
7d806b1e
DU
14172012-08-14 Daiki Ueno <ueno@unixuser.org>
1418
1419 * subr.el (internal--after-with-selected-window): Fix typo
1420 (Bug#12193).
1421
5beed586
FEG
14222012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1423
1424 Use `completion-table-dynamic' for completion functions.
1425 * progmodes/python.el
1426 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1427 (python-shell-completion--get-completions):
1428 Remove functions.
5beed586
FEG
1429 (python-shell-completion-complete-at-point): New function.
1430 (python-completion-complete-at-point): Use it.
1431
92cb3b04
J
14322012-08-13 Jambunathan K <kjambunathan@gmail.com>
1433
1434 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1435 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1436
89660017
SM
14372012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1438
3c98c962
SM
1439 * subr.el (function-get): Refine `autoload' arg so it can also
1440 autoload functions for gv.el (bug#12191).
1441 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1442 autoloads macros.
1443
aa7c6dbe
SM
1444 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1445 Prefer pcase-let over destructuring-bind.
1446 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1447 Also, remove whitespace as we go, rather than after accumulating the
1448 various places.
1449
89660017
SM
1450 * subr.el (internal--before-with-selected-window)
1451 (internal--after-with-selected-window): Fix typo seleted->selected.
1452 (with-selected-window): Adjust callers.
1453 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1454
31cd32c9
BG
14552012-08-13 Bastien Guerry <bzg@gnu.org>
1456
0fcd3d9f 1457 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1458 enhancement. (Bug#12172)
1459
1b15d8ad
AS
14602012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1461
31e54db0
AS
1462 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1463 type 1-6.
1464 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1465 extended headers.
1466
1b15d8ad
AS
1467 * files.el (hack-local-variables-filter): Remove useless eval.
1468
35cb9c06
MR
14692012-08-13 Martin Rudalics <rudalics@gmx.at>
1470
1471 * subr.el (with-selected-window): Fix last change.
1472
1439443b
SM
14732012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * subr.el (internal--before-with-seleted-window)
1476 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1477 (with-selected-window): Use them, to replace dependency on
1478 tty-top-frame.
1439443b 1479
0d9e2599
NN
14802012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1481
1482 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1483 binding for `newline'.
1484 (ruby-move-to-block): When moving backward, stop at block opening,
1485 not indentation.
1486 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1487 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1488 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1489 `ruby-toggle-block'.
1490
ba10c48c
SM
14912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * ibuffer.el (ibuffer-do-toggle-read-only):
1494 * dired.el (dired-toggle-read-only):
1495 * buff-menu.el (Buffer-menu-toggle-read-only):
1496 * bindings.el (mode-line-toggle-read-only):
1497 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1498
9229c658
AS
14992012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1500
1501 * descr-text.el (describe-char): Put the overlays over the
1502 "displayed as" character.
1503
0fd09128
JB
15042012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1505
1506 * calc/calc-units.el (math-default-units-table): Give an
1507 initial value.
1508 (math-put-default-units): Add options to put composite units and
1509 unit systems in the default units table.
1510 (calc-convert-units): Send composite units to
1511 `math-put-default-units' when appropriate.
1512
9ff9402d 15132012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1514
fbb5e336
GM
1515 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1516
7aacaf15
GM
1517 * tutorial.el (help-with-tutorial):
1518 * emacs-lisp/copyright.el (copyright-update-directory):
1519 * emacs-lisp/autoload.el (autoload-find-generated-file)
1520 (autoload-find-file): Disable local eval: (for insurance).
1521
f40b9f10
GM
1522 * files.el (hack-local-variables-filter): If an eval: form is not
1523 known to be safe, and enable-local-variables is :safe, then ignore
1524 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1525 This is CVE-2012-3479.
f40b9f10 1526
daa9f1a6
SM
15272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1530 (rx-form): Simplify.
1531
9cd80478
DG
15322012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1533
0d9e2599
NN
1534 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1535 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1536 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1537 (ruby-syntax-propertize-function): Adjust for changes in
1538 `ruby-syntax-propertize-heredoc'.
1539
15402012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1541
9cd80478
DG
1542 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1543 binding (use `M-;' instead).
9cd80478 1544 (ruby-singleton-class-p): New function.
0d9e2599 1545 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1546
d301b413
SM
15472012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1550
1530c98e
CY
15512012-08-10 Chong Yidong <cyd@gnu.org>
1552
1553 * progmodes/python.el (python-shell-get-process-name): Don't mess
1554 with same-window-buffer-names.
1555
1556 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1557 (eshell-remove-from-window-buffer-names): Make obsolete.
1558 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1559 (eshell): Just use pop-to-buffer-same-window instead.
1560
e1293765
CY
15612012-08-10 Chong Yidong <cyd@gnu.org>
1562
1563 * bindings.el: Bind M-= back to count-words-region.
1564
1565 * simple.el (count-words-region): Accept a prefix arg for acting
1566 on the entire buffer.
1567 (count-words--buffer-message): New helper function.
1568
e1894109
SM
15692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1572 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1573 (event-start, event-end): Use posn-at-point to return a more
1574 informative posn.
1575 (posnp): New function.
1576 * mouse.el (popup-menu-normalize-position): Use it.
1577
c69f56a2
MY
15782012-08-10 Masatake YAMATO <yamato@redhat.com>
1579
1580 * mouse.el (popup-menu-normalize-position): New function.
1581 (popup-menu): Use `popup-menu-normalize-position' to normalize
1582 the form for POSITION argument.
1583
1584 * term/x-win.el (x-menu-bar-open):
1585 Use the value returend from (posn-at-point) as position
1586 passed to `popup-menu'.
1587
31673780
JB
15882012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1589
1590 * calc/calccomp.el (math-compose-expr): Add extra argument
1591 indicating that parentheses should be put around products in
1592 denominators. Give multiplication precedence over division during
1593 composition.
1594
dab7711b
CY
15952012-08-09 Chong Yidong <cyd@gnu.org>
1596
dee4ef93
CY
1597 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1598 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1599 (Man-untabify-command, manual-program): Convert to defcustom
1600 (Bug#10429).
1601
73e2bbc5
CY
1602 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1603
3e861c8a
CY
1604 * descr-text.el (describe-char): Don't insert extra newlines
1605 (Bug#10127).
1606
a9f5a649
CY
1607 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1608 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1609
dab7711b
CY
1610 * align.el (align-region): Delete temporary markers (Bug#10047).
1611 Plus some code cleanups.
1612
e0cc4efa
FEG
16132012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1614
1615 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1616 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1617 (python-shell-internal-last-output): Use make-local-variable
1618 instead of make-variable-buffer-local.
1619
489af14f
FEG
16202012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1621
1622 * progmodes/python.el: Enhancements to forward-sexp.
1623 (python-nav-forward-sexp): Rename from
1624 python-nav-forward-sexp-function.
c69f56a2
MY
1625 (python-nav--forward-sexp, python-nav--backward-sexp):
1626 New functions.
489af14f 1627
0fc50303
JB
16282012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1629
1630 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1631 modes and simplification modes.
1632
5d65606a
SM
16332012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * delsel.el (delete-selection-pre-hook): Don't propagate the
1636 file-supersession signals (bug#12161).
1637
4250fdf5
SM
16382012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1641 (cl-map-extents): Add compatibility aliases (bug#12135).
1642
d9f9b465
MA
16432012-08-08 Michael Albinus <michael.albinus@gmx.de>
1644
1645 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1646 tests by `ignore-error'.
1647 (tramp-find-shell): Open also a new shell, when cache is already
1648 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1649
ce0fcefa
JL
16502012-08-08 Juri Linkov <juri@jurta.org>
1651
1652 * bookmark.el: Add `defaults' property to the bookmark record.
1653 (bookmark-current-buffer): Doc fix.
1654 (bookmark-make-record): Add `defaults' property with default values
1655 to the bookmark record.
1656 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1657 with `bookmark-insert-current-bookmark'.
1658 (bookmark-set): Get `defaults' property from the bookmark record
1659 and use it in `read-from-minibuffer'.
1660 (bookmark-insert-current-bookmark): Remove function.
1661
1662 * info.el (Info-bookmark-make-record): Add `defaults' property
1663 with values of canonical Info node name, the current Info file
1664 name and the current Info node name. (Bug#12107)
1665
53fa8652
JL
16662012-08-08 Juri Linkov <juri@jurta.org>
1667
1668 * files.el (basic-save-buffer): Use `buffer-name' as the default
1669 of `read-file-name' when buffer is not visiting a file (bug#12128).
1670
242c0a95
JL
16712012-08-08 Juri Linkov <juri@jurta.org>
1672
1673 * info.el (Info-isearch-search): Doc fix.
1674 (Info-search): Change search-failed message from "initial node" to
1675 "end of node" (bug#12078).
1676 (Info-isearch-search): Change `isearch-string-state' to
1677 `isearch--state-string'.
1678
32ac3a6b
GM
16792012-08-08 Glenn Morris <rgm@gnu.org>
1680
1681 * language/persian.el: Remove file.
f8c1afd5 1682 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1683 * loadup.el: Remove language/persian.
1684
2c2d9c9c
OF
16852012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1686
1687 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1688
2d79ec42
FEG
16892012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1690
1691 * progmodes/python.el Fixed defsubst warning.
1692 (python-syntax-context) Rename from python-info-ppss-context.
1693 (python-syntax-context-type): Rename from
1694 python-info-ppss-context-type.
1695 (python-syntax-comment-or-string-p): Rename from
1696 python-info-ppss-comment-or-string-p.
1697
2bd255dd
JB
16982012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1699
1700 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1701
c395097f
AS
17022012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1703
6125983e
AS
1704 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1705 a defcustom that is quoted with backquote.
1706
4250fdf5
SM
1707 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1708 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1709 (math-do-arg-check, math-define-function-body): Use backquote forms.
1710 * calc/calc-ext.el (math-defcache): Likewise.
1711 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1712 * allout.el (allout-new-exposure): Likewise.
1713 * calc/calcalg2.el (math-tracing-integral): Likewise.
1714 * info.el (Info-last-menu-item): Likewise.
1715 * emulation/vip.el (vip-loop): Likewise.
1716 * textmodes/artist.el (artist-funcall): Likewise.
1717 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1718 Construct menu-item directly.
1719
4250fdf5
SM
1720 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1721 Don't declare.
c395097f 1722
5fb50dd3
CY
17232012-08-07 Chong Yidong <cyd@gnu.org>
1724
1725 * simple.el (deactivate-mark): Preserve text properties when
1726 saving the primary selection (Bug#8384).
1727
54eea618
KR
17282012-08-07 Kevin Ryde <user42@zip.com.au>
1729
1730 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1731 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1732 and continue processing (Bug#12110).
1733
638eaeb9
SM
17342012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1737 syntax-propertize-function (bug#10095).
1738
ea376861
SM
17392012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1740
f91b35be
SM
1741 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1742 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1743 describe-function-1.
1744 (describe-function-1): Use them. Move compiler macro after sig.
1745 (help-fns--compiler-macro): Use function-get. Assume we're already in
1746 standard-output. Adjust layout to new call order.
1747
ea376861
SM
1748 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1749 re-binding a symbol that has a symbol-macro (bug#12119).
1750
d5be7bd0
MB
17512012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1752
1753 * language/persian.el: New file. (Bug#11812)
1754 * loadup.el: Add language/persian.el.
1755
90749b53
CY
17562012-08-06 Chong Yidong <cyd@gnu.org>
1757
1758 * window.el (window--maybe-raise-frame): New function.
1759 (window--display-buffer): Split off from here.
1760 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1761 (display-buffer-pop-up-window, display-buffer-use-some-window):
1762 Obey an inhibit-switch-frame action alist entry.
1763 (display-buffer): Update doc.
1764
1765 * replace.el (occur-after-change-function): Avoid losing focus by
1766 using the inhibit-switch-frame display parameter (Bug#12139).
1767
ba7b0154
FEG
17682012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1769
1770 Make internal shell process buffer names start with space.
1771 * progmodes/python.el (python-shell-make-comint): Add optional
1772 argument INTERNAL.
1773 (run-python-internal): Use it.
1774 (python-shell-internal-get-or-create-process): Check for new
1775 internal buffer names.
1776
5eaeacb5
GM
17772012-08-06 Glenn Morris <rgm@gnu.org>
1778
e296d94b 1779 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1780 Do less getting and setting of environment variables.
1781
b7ccbdc2
CY
17822012-08-05 Chong Yidong <cyd@gnu.org>
1783
777fe95e
CY
1784 * proced.el (proced): Add substitution string to docstring to
1785 trigger autoloading of the proced library on C-h f (Bug#1768).
1786
4250fdf5
SM
1787 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1788 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1789
1790 * imenu.el (imenu-generic-expression): Move documentation here
1791 from imenu--generic-function.
1792 (imenu--generic-function): Refer to imenu-generic-expression.
1793
9e3b7800 17942012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
1795
1796 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1797 indentation declaration.
1798 (viper-loop): Add indentation declaration (Bug#7025).
1799
e5d9c0d1
CY
18002012-08-05 Chong Yidong <cyd@gnu.org>
1801
f0422feb
CY
1802 * help-fns.el (describe-variable): Add hyperlink for
1803 directory-local variables files. Improve buffer-local and
1804 permanent-local reporting; suggested by MON KEY (Bug#6644).
1805
1806 * help-mode.el (help-dir-local-var-def): New button type.
1807
e5d9c0d1
CY
1808 * files.el (kill-buffer-hook): Provide a defvar.
1809
a4f2deaa
GM
18102012-08-05 Glenn Morris <rgm@gnu.org>
1811
1812 * eshell/esh-ext.el (eshell/addpath):
1813 Also update eshell-path-env. (Bug#12013)
1814
a9dd5754
CY
18152012-08-05 Chong Yidong <cyd@gnu.org>
1816
a4f2deaa 1817 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1818
d014c740
CY
1819 * fringe.el (fringe-styles): Add docstring.
1820 (fringe--check-mode): New function.
1821 (set-fringe-mode, set-fringe-style): Use it.
1822 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1823
a9dd5754
CY
1824 * files.el (set-auto-mode): Fix invalid setq call.
1825
7c2dc8bd
SM
18262012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * isearch.el: Misc simplification; use defstruct.
1829 (isearch-mode-map): Dense maps now work like sparse ones.
1830 (isearch--state): New defstruct.
1831 (isearch-string-state, isearch-message-state, isearch-point-state)
1832 (isearch-success-state, isearch-forward-state)
1833 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1834 (isearch-wrapped-state, isearch-barrier-state)
1835 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1836 replaced by defstruct's accessors.
1837 (isearch--set-state): Rename from isearch-top-state and change
1838 calling convention.
1839 (isearch-push-state): Use new isearch--get-state.
1840 (isearch-toggle-word): Disable regexp when enabling word.
1841 (isearch-message-prefix): Remove unused arg _c-q-hack.
1842 (isearch-message-suffix): Remove unused arg _ellipsis.
1843
7fcc0070
AS
18442012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1845
1846 * simple.el (list-processes--refresh): For a server use :host or
1847 :local as the address.
97ad0769 1848 (list-processes): Doc fix.
7fcc0070 1849
a11035b8 18502012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1851
1852 * lisp/mpc.el: Support password in host argument.
1853 (mpc--proc-connect): Parse and use new password element.
1854 Set mpc-proc variable instead of returning process.
1855 (mpc-proc): Adjust accordingly.
1856
6dad7178
EZ
18572012-08-03 Eli Zaretskii <eliz@gnu.org>
1858
18949c2f
EZ
1859 * whitespace.el (whitespace-display-mappings): Use Unicode
1860 codepoints, instead of emacs-mule codepoints. See
1861 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1862 for the details.
1863
6dad7178
EZ
1864 * files.el (file-truename): Don't skip symlink-chasing part on
1865 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1866 Windows into the loop that recursively chases symlinks.
1867 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1868 MS-DOS.
1869
385b0198
CY
18702012-08-03 Chong Yidong <cyd@gnu.org>
1871
6200f3c4
CY
1872 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1873
385b0198
CY
1874 * sort.el (sort-regexp-fields): Doc fix.
1875
b9e74744
TH
18762012-08-03 Tassilo Horn <tsdh@gnu.org>
1877
1878 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1879 labels regex position point at the expected place.
1880
41013cb4
MK
18812012-08-03 MON KEY <monkey@sandpframing.com>
1882
1883 * net/imap.el (imap-interactive-login, imap-authenticate)
1884 (imap-mailbox-lsub, imap-mailbox-list)
1885 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1886 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1887 (imap-parse-response): Doc fix.
1888
0ffee616
JT
18892012-08-03 João Távora <joaotavora@gmail.com>
1890
1891 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1892 if sexp scanning does not move point (Bug#5734).
1893
cfcc9cc8
TH
18942012-08-02 Tassilo Horn <tsdh@gnu.org>
1895
1896 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1897 Add listings, minted, and ctable packages.
1898 (reftex-label-alist-builtin): Move listings, minted, and ctable
1899 entries before LaTeX.
a01bbb84 1900 (reftex-label-alist): Docfix.
cfcc9cc8 1901
66ec2442
BG
19022012-08-02 Bastien Guerry <bzg@gnu.org>
1903
1904 * replace.el (occur): Fix docstring (bug#12122).
1905
837b365b
GM
19062012-08-02 Glenn Morris <rgm@gnu.org>
1907
1908 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1909
e098de97
PE
19102012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1911
1912 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1913 * international/mule-cmds.el: Create
1914 inactivate-current-input-method-function as an obsolete alias for
1915 deactivate-current-input-method-function. See Katsumi Yamaoka in
1916 <http://bugs.gnu.org/10150#46>.
1917
a0f95636
JB
19182012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1919
1920 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1921 of nested `if's.
1922
0d26d7c4
GM
19232012-08-01 Glenn Morris <rgm@gnu.org>
1924
1925 * progmodes/autoconf.el (autoconf-definition-regexp):
1926 Add AH_TEMPLATE, adjust submatch numbering.
1927 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1928 (autoconf-current-defun-function): Update for above change.
1929 (autoconf-current-defun-function): First skip to end of current word.
1930
b686ba06
RS
19312012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1932
1933 * calendar/cal-html.el (cal-html-insert-agenda-days):
1934 Fix typo. (Bug#12018)
1935
0d49da68
FEG
19362012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1937
1938 Shell processes: enhancements to startup and CEDET compatibility.
1939 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1940 (python-shell-make-comint): accept-process-output at startup.
1941 (run-python-internal): Set inferior-python-mode-hook to nil.
1942 (python-shell-internal-get-or-create-process): call sit-for.
1943 (python-preoutput-result): Add obsolete alias.
1944 (python-shell-internal-send-string): Use it.
1945 (python-shell-send-setup-code): Remove call to
1946 accept-process-output.
1947
f1a71c6e
AS
19482012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1949
1950 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1951 (Bug#12108)
1952
d2605269
JB
19532012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1954
1955 * calc-mode.el (calc-basic-simplification-mode): Rename from
1956 `calc-limited-simplification-mode'.
1957 (calc-alg-simplification-mode): New function.
fc0c31f8 1958 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1959
d2605269
JB
1960 * calc.el (calc-set-mode-line): Adjust mode line display for
1961 basic simplification mode.
1962
1963 * calc-help.el (calc-m-prefix-help): Update help message.
1964
1965 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1966 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1967
a3827a43
BG
19682012-07-31 Bastien Guerry <bzg@gnu.org>
1969
1970 * man.el (man): Fix comment. (bug#12101)
1971
502e3f89
MR
19722012-07-31 Martin Rudalics <rudalics@gmx.at>
1973
1974 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1975 Don't return a non-nil value when no suitable buffer was found.
1976
d7714961
FEG
19772012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1978
1979 * progmodes/python.el (run-python-internal): Disable font lock for
1980 internal shells.
1981
1f45e27e
SM
19822012-07-30 Stefan Merten <smerten@oekonux.de>
1983
1984 * rst.el: Silence `checkdoc-ispell'.
1985 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1986 (rst-official-version, rst-official-cvs-rev)
1987 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1988 (rst-mode-map): New key binding.
1989
0aee6912
PE
19902012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1991
1992 Update .PHONY listings in makefiles.
1993 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1994 autoloads, update-subdirs, updates, bzr-update, update-authors,
1995 compile-onefile, compile-calc, backup-compiled-files,
1996 compile-after-backup, compile-one-process, mh-autoloads,
1997 bootstrap-clean, distclean, maintainer-clean.
1998
9052f9f0
JB
19992012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2000
1823ac5a
JB
2001 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2002 (calc-set-mode-line): Don't display "AlgSimp ".
2003
2004 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2005 (calc-lim-simplify-mode): New function.
2006 (calc-set-simplify-mode): Default to 'alg.
2007 (calc-default-simplify-mode): Make algebraic simplifications
2008 the default.
2009
2010 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2011 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2012
8d7c7eed 2013 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2014 indicate new simplification modes.
2015
1823ac5a
JB
2016 * calc/README: Mention new default simplification mode.
2017
9052f9f0
JB
2018 * calc/calc.el (math-normalize-error): New variable.
2019 (math-normalize): Set `math-normalize-error' to t
2020 when there's an error.
2021
2022 * calc/calc-alg.el (math-simplify): Don't simplify when
2023 `math-normalize' returns an error.
2024
20ba0cb4
EZ
20252012-07-29 Eli Zaretskii <eliz@gnu.org>
2026
2027 * international/mule-cmds.el (set-locale-environment): Revert last
2028 change, since display-graphic-p returns nil when this function is
2029 called during startup. Instead...
2030
2031 * term/w32console.el (terminal-init-w32console): ...setup the
2032 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2033
a5dcc929
JL
20342012-07-29 Juri Linkov <juri@jurta.org>
2035
2036 * simple.el (goto-line): Don't display default line number in the
2037 prompt because it should be displayed by `read-number' (bug#9952).
2038 Add the current line number to the defaults of `goto-line' to
2039 allow its easier modification by users with `M-n' (bug#9201).
2040
2041 * subr.el (read-number): Support multiple default values like in
2042 other minibuffer reading functions. Replace `read' with
2043 `string-to-number' for consistency with `number-to-string'.
2044
72b255c7
PE
20452012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2046
2047 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2048 * emulation/viper-init.el (viper-deactivate-input-method-action):
2049 Rename from viper-inactivate-input-method-action.
2050 (viper-deactivate-input-method):
2051 Rename from viper-inactivate-input-method.
2052 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2053 * international/mule-cmds.el (deactivate-input-method):
2054 Rename from inactivate-input-method.
2055 Also run input-method-deactivate-hook.
2056 (deactivate-current-input-method-function):
2057 Rename from inactivate-current-input-method-function.
2058 (input-method-deactivate-hook): New hook.
2059 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2060 (inactivate-input-method): Mark obsolete.
2061
72b255c7
PE
2062 * international/quail.el (quail-activate):
2063 Also run quail-deactivate-hook.
2064 (quail-deactivate): Rename from quail-inactivate.
2065 * international/robin.el (robin-activate):
2066 Also run robin-deactivate-hook.
2067 (robin-deactivate): Rename from robin-inactivate.
2068
2549c068
CY
20692012-07-29 Chong Yidong <cyd@gnu.org>
2070
2071 * simple.el (indicate-copied-region): New function.
2072 (kill-ring-save): Split off from here.
2073
2074 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2075 (kill-rectangle): Set deactivate-mark to t on read-only error.
2076
2077 * register.el (copy-to-register, copy-rectangle-to-register):
2078 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2079 (append-to-register, prepend-to-register):
2080 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2081
2082 * simple.el (async-shell-command-buffer): New defcustom.
2083 (shell-command): Use it. (Bug#4719)
2084
01bd1b0d
EZ
20852012-07-28 Eli Zaretskii <eliz@gnu.org>
2086
2087 * international/mule-cmds.el (set-locale-environment): In a
2088 console session on MS-Windows, set up keyboard and terminal
2089 encoding from the OEM codepage, not the ANSI codepage.
2090 (Bug#12055)
2091
a55739d3
CY
20922012-07-28 Chong Yidong <cyd@gnu.org>
2093
2094 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2095 gdb-get-location.
2096
0e1a094f 20972012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2098
2099 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2100 the alist (bug#12029).
2101
20329d73
EZ
21022012-07-28 Eli Zaretskii <eliz@gnu.org>
2103
2104 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2105 (compile-always, compile-first)
2106 ($(lisp)/calendar/cal-loaddefs.el)
2107 ($(lisp)/calendar/diary-loaddefs.el)
2108 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2109 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2110 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2111 instead of on update-subdirs.
2112 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2113
345a2258
CY
21142012-07-28 Chong Yidong <cyd@gnu.org>
2115
1eee6341
CY
2116 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2117 directory if vc-deduce-backend returns nil (Bug#7350).
2118
345a2258
CY
2119 * simple.el (delete-trailing-lines): New option.
2120 (delete-trailing-whitespace): Obey it (Bug#11879).
2121
049a0936
DE
21222012-07-28 David Engster <deng@randomsample.de>
2123
2124 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2125 Explanation of new 'symbol-qnames feature in doc-strings.
2126 (xml-maybe-do-ns): Return expanded names as plain symbols if
2127 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2128 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2129
aa81af71
FEG
21302012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2131
2132 Consistent completion in inferior python with emacs -nw.
2133 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2134 binding in inferior-python-mode-map with "\t".
2135 (python-shell-completion-complete-at-point)
2136 (python-completion-complete-at-point): Remove interactive spec.
2137
e827b1eb
JB
21382012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2139
2140 * calc/calccomp.el (math-compose-expr): Undo previous change.
2141
a90dfb95
FEG
21422012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2143
4250fdf5 2144 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2145 run-python.
2146 (python-shell-make-comint): Fix pop-to-buffer call.
2147 (run-python): Autoload. New arg SHOW.
2148 (python-shell-get-or-create-process): Do not pop python process
2149 buffer.
2150
32770973 21512012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2152
2153 * notifications.el (notifications-on-action-signal)
2154 (notifications-on-closed-signal): Use also the bus address for the map.
2155 (notifications-notify, notifications-close-notification)
fc0c31f8 2156 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2157
86332df2
TH
21582012-07-27 Tassilo Horn <tsdh@gnu.org>
2159
4250fdf5
SM
2160 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2161 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2162 ctable macro.
2163 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2164 labels written in keyvals syntax.
2165
ca1302a4
JB
21662012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2167
2168 * calc/calccomp.el (math-compose-expr): Use parentheses when
2169 there is a product in the denominator of a fraction.
2170
f8b91036
EZ
21712012-07-26 Eli Zaretskii <eliz@gnu.org>
2172
2173 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2174 ($(lisp)/calendar/diary-loaddefs.el)
2175 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2176 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2177 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2178 rewritten while the autoload files are built at the same time,
2179 which needs to load subdirs.el.
2180
c8e5a42c
MR
21812012-07-26 Martin Rudalics <rudalics@gmx.at>
2182
2183 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2184 (mouse-drag-line): Don't exit tracking when a switch-frame or
2185 switch-window event occurs (Bug#12006).
2186
670d85ea
SM
21872012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * mouse.el (popup-menu): Fix last change.
2190
7abaf5cc
SM
21912012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 Autoload from Lisp with more care. Follow aliases when looking for
2194 function properties.
2195 * subr.el (autoloadp): New function.
2196 (symbol-file): Use it.
2197 (function-get): New function.
2198 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2199 autoload-do-load.
2200 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2201 (lisp-indent-function):
2202 * emacs-lisp/gv.el (gv-get):
2203 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2204 * emacs-lisp/byte-opt.el (byte-optimize-form):
2205 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2206 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2207 Use function-get.
2208 * emacs-lisp/cl.el: Don't propagate function properties any more.
2209
2210 * speedbar.el (speedbar-add-localized-speedbar-support):
2211 * emacs-lisp/disass.el (disassemble-internal):
2212 * desktop.el (desktop-load-file):
2213 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2214 (describe-function-1):
2215 * emacs-lisp/find-func.el (find-function-noselect):
2216 * emacs-lisp/elp.el (elp-instrument-function):
2217 * emacs-lisp/advice.el (ad-has-proper-definition):
2218 * apropos.el (apropos-safe-documentation, apropos-macrop):
2219 * emacs-lisp/debug.el (debug-on-entry):
2220 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2221 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2222 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2223
b1364986
AA
22242012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2225
2226 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2227 function, not an obsolete variable (Bug#12046).
2228
67ada220
AS
22292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2230
2231 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2232
f08088e3
CS
22332012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2234
2235 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2236 window only if it is still live (Bug#12034).
2237
8137e7b3
MR
22382012-07-25 Martin Rudalics <rudalics@gmx.at>
2239
2240 * subr.el (redirect-frame-focus): Add advertised calling
2241 convention (Bug#12030).
2242
09ae5da1
PE
22432012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2244
2245 Prefer typical American spelling for "acknowledgment".
2246 * vc/add-log.el (change-log-acknowledgment): Rename from
2247 change-log-acknowledgement, with an alias for the old name.
2248
3cc5a3a8
JB
22492012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2250
2251 * calc-alg.el (math-simplify-divide): Don't cross multiply
2252 in an equation when the lhs is a variable.
2253
b7af7f62
JD
22542012-07-24 Julien Danjou <julien@danjou.info>
2255
2256 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2257 Remove, unused.
2258
ec1b09b1
EZ
22592012-07-23 Eli Zaretskii <eliz@gnu.org>
2260
2261 * startup.el (command-line): Don't display an empty user name in
2262 the error message about non-existent home directory, when
2263 init-file-user was set to an empty string. See
2264 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2265 for the details and context.
2266
b525fd8a
VB
22672012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2268
2269 * ses.el (ses-cell-formula-aset): New macro.
2270 (ses-cell-references-aset): New macro.
2271 (ses-cell-p): New function.
2272 (ses-rename-cell): Do no longer rely on complex operations like
2273 ses-cell-set-formula or ses-set-cell to change the cell and handle
2274 the undo at the same time, but rather use lower level new macros
2275 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2276 the undo directly. Refresh the mode line.
b525fd8a 2277
2c73e345
LL
22782012-07-21 Leo Liu <sdl.web@gmail.com>
2279
670d85ea
SM
2280 * progmodes/cc-cmds.el (c-defun-name):
2281 Use match-string-no-properties instead for consistency.
2c73e345 2282
542dfbde
LL
22832012-07-20 Leo Liu <sdl.web@gmail.com>
2284
3646bcd6
LL
2285 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2286 (Bug#7879)
2287
542dfbde
LL
2288 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2289
25721031
CY
22902012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2293 * progmodes/bug-reference.el, misearch.el: Provide themselves
2294 (bug#11915).
2295
2296 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2297 of narrowed buffer (bug#11966).
2298
316e68a7
VB
22992012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2300
2301 * ses.el (ses-rename-cell): Set new name also in reference list of
2302 cells of which the renamed cell depends.
2303
bbf0e7d9
MY
23042012-07-20 Masatake YAMATO <yamato@redhat.com>
2305
2306 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2307 to check whether menu-bar is shown or not. If not shown,
2308 show the menu-bar as a popup menu instead of using tmm.
2309 * mouse.el (popup-menu): Accept `point' as `position' argument.
2310
c28662a8
DG
23112012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2312
2313 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2314 up inside string symbol literal (bug#11923).
2315
87ab808f
EZ
23162012-07-20 Eli Zaretskii <eliz@gnu.org>
2317
2318 * startup.el (fancy-startup-text): Read the whole tutorial, not
2319 just its first 256 bytes. Prevents gibberish in display of the
2320 tutorial title.
2321
89dea803
DA
23222012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2323
2324 Drop idle buffer compaction due to an absence of the
2325 proved efficiency.
2326 * compact.el: Remove.
2327
8a4e6db8
SS
23282012-07-19 Sam Steingold <sds@gnu.org>
2329
2330 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2331 vc-bzr-pull & vc-bzr-merge-branch.
2332 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2333 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2334 for consistency with compilation-error-regexp-alist.
2335 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2336 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2337 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2338 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2339
5db81e33
SM
23402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * emacs-lisp/chart.el: Use lexical-binding.
2343 (chart-emacs-storage): Don't hardcode the list of entries.
2344
5b835e1d
DA
23452012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2346
2347 Next round of tweaks caused by Fgarbage_collect changes.
2348 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2349
9cd47b72
DA
23502012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2351
2352 Compact buffers when idle.
2353 * compact.el: New file.
2354
1d6fc0df
SM
23552012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * subr.el (eventp): Presume that if it looks vaguely like an event,
2358 it's an event (bug#10190).
2359
1d29cc7d
FEG
23602012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2361
2362 Enhancements to ppss related code (thanks Stefan).
2363 * progmodes/python.el (python-indent-context)
2364 (python-indent-calculate-indentation, python-indent-dedent-line)
2365 (python-indent-electric-colon, python-nav-forward-block)
2366 (python-mode-abbrev-table)
1d6fc0df 2367 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2368 for ppss context.
2369 (python-info-continuation-line-p): Cleanup.
2370 (python-info-ppss-context): Do not catch 'quote.
2371 (python-info-ppss-context-type)
2372 (python-info-ppss-comment-or-string-p): Simplify.
2373
d583cbe6
FEG
23742012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2375
2376 * progmodes/python.el: Enhancements to eldoc support.
2377 (python-info-current-symbol): New function.
2378 (python-eldoc-at-point): Use python-info-current-symbol.
2379 (python-info-current-defun): Fix cornercase on first defun scan.
2380 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2381 and signal error when no inferior python process is available.
2382
eceb6feb
DG
23832012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2384
2385 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2386 assume it's always t.
2387 (vc-git-registered): Remove caching, the function is only called
2388 once.
2389 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2390
4c8ff0fe
CY
23912012-07-18 Chong Yidong <cyd@gnu.org>
2392
19fb7186
CY
2393 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2394
9587c688
CY
2395 * simple.el (count-words): Report on narrowing (Bug#9959).
2396
0fe776a1
CY
2397 * bindings.el: Bind M-= to count-words.
2398
4c8ff0fe
CY
2399 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2400
7f5331cc
MY
24012012-07-18 Masatake YAMATO <yamato@redhat.com>
2402
2403 * progmodes/sh-script.el (sh-imenu-generic-expression):
2404 Capture a function with `function' keyword and without parentheses
2405 like "function FOO" (bug#11856).
2406
2dc2a609
TH
24072012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2408
2409 * window.el (split-window-sensibly): Make WINDOW argument
2410 optional.
2411
439f7677
CY
24122012-07-18 Chong Yidong <cyd@gnu.org>
2413
9aeb25a6
CY
2414 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2415
439f7677
CY
2416 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2417 and make C-x 8 RET exit isearch (Bug#11439).
2418
2419 * international/iso-transl.el: Move isearch-mode-map key
2420 definitions to isearch.el.
2421
12999ea8
SM
24222012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2425 (eieio-defclass): Use gv-define-setter when possible.
2426
3ab6e069
DA
24272012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2428
2429 Reflect recent changes in Fgarbage_collect.
2430 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2431 reflect new format of data returned by Fgarbage_collect.
2432
0a60bc10
FEG
24332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2434
2435 New utility functions + python-info-ppss-context fix (Bug#11910).
2436 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2437 (python-info-ppss-comment-or-string-p): New functions.
2438 (python-info-ppss-context): Small fix for string check.
2439
6dafa0d5
JL
24402012-07-17 Juri Linkov <juri@jurta.org>
2441
2442 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2443 (dired-do-async-shell-command): Don't add `*' at the end of the
2444 command (Bug#11815).
2445 (dired-do-shell-command): Doc fix.
2446 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2447 Join the individual commands using either "&" or ";" as the
2448 separator depending on the values of these trailing characters.
2449 At the end re-add the trailing "&". (Bug#10598)
2450
2451 * simple.el (async-shell-command): Sync the interactive spec with
2452 `shell-command'. Doc fix.
2453 (shell-command): Doc fix.
2454
b19dd9d1
JL
24552012-07-17 Juri Linkov <juri@jurta.org>
2456
2457 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2458
bcdc27d7 24592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2460
bcdc27d7 2461 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2462 * progmodes/python.el (python-nav-beginning-of-statement):
2463 Rename from python-nav-statement-start.
bcdc27d7
FEG
2464 (python-nav-end-of-statement): Rename from
2465 python-nav-statement-end.
2466 (python-nav-beginning-of-block): Rename from
2467 python-nav-block-start.
2468 (python-nav-end-of-block): Rename from python-nav-block-end.
2469
191da00e
FEG
24702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2471
7f5331cc
MY
2472 * progmodes/python.el (python-shell-send-string-no-output):
2473 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2474 future interactions (Bug#11868).
2475
4dc7c8d5 24762012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2477
88ecaf8f
SM
2478 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2479
ef501ef0
SM
2480 * emacs-lisp/elint.el (elint-find-args-in-code):
2481 Use help-function-arglist, so as to handle lexical byte-code.
2482
aa7aaf8f
SM
2483 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2484 change (bug#11826).
2485
45fd731c
SM
24862012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2143fa32
SM
2488 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2489 Avoid spuriously marking the buffer as modified because of c-is-sws.
2490
efc26dbe
SM
2491 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2492 as not-a-comment (bug#11946).
2493
f5695c9a
SM
2494 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2495 for uninterned vars.
2496
2497 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2498 Use read-event since we don't really want to read chars but bytes.
2499
45fd731c
SM
2500 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2501 $$..$$ but also $..$ using regexps (bug#11953).
2502 Use tex-verbatim for \url and \path.
2503 (tex-font-lock-keywords): Define as defconst like the others.
2504 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2505
ddfc8813
RK
25062012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2507
2508 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2509 alias for insert-char.
2510
758e556a
FEG
25112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2512
2513 * progmodes/python.el: Simplified imenu implementation.
2514 (python-nav-jump-to-defun): Remove command.
2515 (python-mode-map): Use `imenu' instead.
2516 (python-nav-list-defun-positions-cache)
2517 (python-imenu-include-defun-type, python-imenu-make-tree)
2518 (python-imenu-subtree-root-label, python-imenu-index-alist):
2519 Remove vars.
2520 (python-nav-list-defun-positions, python-nav-read-defun)
2521 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2522 (python-imenu-make-tree, python-imenu-create-index):
2523 Remove functions.
758e556a
FEG
2524 (python-mode): Update to interact with imenu by setting
2525 `imenu-extract-index-name-function' only.
2526
032d23ab
FEG
25272012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2528
2529 * progmodes/python.el: Enhancements to navigation commands.
2530 (python-nav-backward-sentence)
2531 (python-nav-forward-sentence): Remove.
2532 (python-nav-backward-statement, python-nav-forward-statement)
2533 (python-nav-statement-start, python-nav-statement-end)
2534 (python-nav-backward-block, python-nav-forward-block)
2535 (python-nav-block-start, python-nav-block-end)
2536 (python-nav-forward-sexp-function)
2537 (python-info-current-line-comment-p)
2538 (python-info-current-line-empty-p): New functions.
2539 (python-indent-context): Use `python-nav-statement-start'.
2540
01795a1b
MA
25412012-07-16 Michael Albinus <michael.albinus@gmx.de>
2542
9328d9aa
MA
2543 * eshell/em-ls.el (eshell/ls): Use `apply'.
2544
2545 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2546 multi-hops, instead of Tramp internals.
2547
01795a1b
MA
2548 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2549
2550 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2551 when F1 and F2 are located on different hosts.
2552
63408057
CY
25532012-07-14 Chong Yidong <cyd@gnu.org>
2554
2555 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2556 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2557 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2558 (xterm-mouse--read-event-sequence-1000)
2559 (xterm-mouse--read-event-sequence-1006): New functions. For old
2560 mouse protocol, handle M-mouse-X events correctly.
2561 (xterm-mouse-event): New arg specifying mouse protocol.
2562 (turn-on-xterm-mouse-tracking-on-terminal)
2563 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2564 sequence to toggle extended coordinates on newer XTerms.
2565 This appears to be harmless on terminals which do not support this.
63408057 2566
cd276f6e
LL
25672012-07-14 Leo Liu <sdl.web@gmail.com>
2568
28ca98ac
LL
2569 Add fringe bitmap indicators for flymake. (Bug#11253)
2570 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2571 (flymake-make-overlay): New arg BITMAP.
2572 (flymake-error-bitmap, flymake-warning-bitmap)
2573 (flymake-fringe-indicator-position): New user variables.
2574
cd276f6e
LL
2575 * fringe.el: New bitmap exclamation-mark.
2576
04408072
JD
25772012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2578
2579 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2580 also (Bug#7879).
2581
b5cf7fc4
CY
25822012-07-14 Chong Yidong <cyd@gnu.org>
2583
2584 * electric.el (electric-pair-post-self-insert-function): Fix pair
2585 insertion in empty-region case (Bug#11520).
2586
be755c79
RT
25872012-07-14 Chong Yidong <cyd@gnu.org>
2588
45fd731c
SM
2589 * bindings.el: Consolidate ctl-x-r-map bindings.
2590 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2591
2592 * rect.el, register.el: Move bindings to bindings.el.
2593
25942012-07-14 Reuben Thomas <rrt@sc3d.org>
2595
2596 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2597
7f5b3198
AS
25982012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2599
2600 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2601
97662200
JB
26022012-07-13 Juanma Barranquero <lekktu@gmail.com>
2603
80185fed
JB
2604 * bindings.el (top): Use `mapc' instead of `mapcar'.
2605
97662200
JB
2606 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2607
2bb1ae55
MA
26082012-07-13 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * progmodes/sql.el (sql-comint): Suppress the check for program on
2611 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2612 (Bug#11908)
2613
dea31bd3
CY
26142012-07-13 Chong Yidong <cyd@gnu.org>
2615
2616 * bindings.el: Assign a non-nil permanent-local property to
2617 per-buffer variables which lack a default value (Bug#11930).
2618
2619 * help-fns.el (describe-variable): In the "automatically becomes
2620 local" notice, take note of permanent-local variables.
2621
b68b3337
CY
26222012-07-13 Chong Yidong <cyd@gnu.org>
2623
2624 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2625 to allow printing the message when called from Lisp.
2626
2627 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2628 Remove toggle-read-only.
2629
2630 * bs.el (bs-toggle-readonly):
45fd731c
SM
2631 * buff-menu.el (Buffer-menu-toggle-read-only):
2632 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2633
2634 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2635 Remove with-no-warnings around toggle-read-only.
2636 (ffap-read-only, ffap-read-only-other-window)
2637 (ffap-read-only-other-frame): Callers changed.
2638
2639 * help-mode.el: Don't require view package.
2640 (help-mode-finish): Set buffer-read-only instead of calling
2641 toggle-read-only.
2642
2643 * bindings.el (mode-line-toggle-read-only):
2644 * dired.el (dired-toggle-read-only):
2645 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2646 with non-nil second arg.
2647
2648 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2649 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2650 directly.
2651
56bc1586
EZ
26522012-07-12 Eli Zaretskii <eliz@gnu.org>
2653
2654 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2655 not incf.
2656
a464a6c7
SM
26572012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 More CL cleanups and reduction of use of cl.el.
2660 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2661 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2662 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2663 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2664 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2665 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2666 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2667 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2668 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2669 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2670 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2671 * eshell/em-cmpl.el, eshell/em-banner.el:
2672 * calendar/parse-time.el: Use cl-lib.
2673 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2674 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2675 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2676 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2677 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2678 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2679 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2680 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2681 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2682 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2683 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2684 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2685 `lambda' rather than with `quote'.
2686 (eshell-do-opt): Adjust accordingly.
2687 (eshell-process-option): Simplify.
2688 * eshell/esh-var.el:
2689 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2690 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2691 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2692 to `pcase--dontcare'.
2693 * emacs-lisp/cl.el (labels): Mark obsolete.
2694 (cl--letf, letf): Move to cl-lib.
2695 (cl--letf*, letf*): Remove.
2696 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2697 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2698 (cl-progv): Rewrite.
2699 (cl--letf, cl-letf): Move from cl.el.
2700 (cl-letf*): New macro.
2701 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2702
7ad4afe1
MA
27032012-07-11 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2706
9af57756
CY
27072012-07-11 Chong Yidong <cyd@gnu.org>
2708
2709 * vc/log-edit.el (log-edit-vc-backend): New variable.
2710 (log-edit): Doc fix.
2711
2712 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2713 argument of log-edit to set up all local variables.
2714 (vc-start-logentry): New optional arg specifying VC backend.
2715
2716 * vc/vc.el (vc-checkin): Use it.
2717 (vc-deduce-fileset): Handle Log Edit buffers.
2718 (vc-diff): Make first argument optional too.
2719
2720 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2721
8477cc7a
MA
27222012-07-10 Michael Albinus <michael.albinus@gmx.de>
2723
2724 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2725 command, just in case. The function is not needed anymore.
2726 (eshell-external-command): Do not call `eshell-remote-command'.
2727
19faa8e8
SM
27282012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2729
f58e0fd5
SM
2730 Reduce use of (require 'cl).
2731 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2732 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2733 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2734 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2735 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2736 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2737 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2738 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2739 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2740 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2741 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2742 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2743 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2744 (byte-compile-unfold-bcf, byte-compile-check-variable):
2745 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2746 (byte-compile-nilconstp):
2747 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2748 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2749
2519d43a
SM
2750 * emacs-lisp/gv.el (cond): Make it a valid place.
2751 (if): Simplify slightly.
2752
19faa8e8
SM
2753 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2754 (pcase--self-quoting-p): New function.
2755 (pcase--u1): Use it.
2756
c4907a5e
GM
27572012-07-10 Glenn Morris <rgm@gnu.org>
2758
2759 * emacs-lisp/authors.el (authors-fixed-entries):
2760 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2761
c4444d16
PE
27622012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2763
2764 Rename configure.in to configure.ac (Bug#11603).
2765 * emacs-lisp/authors.el (authors-canonical-file-name):
2766 * progmodes/autoconf.el (autoconf-mode):
2767 Prefer configure.ac to configure.in.
2768
d75be97d
CY
27692012-07-08 Chong Yidong <cyd@gnu.org>
2770
01ac65bd
CY
2771 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2772 Implement the mouse-1-click-follows-link handling properly.
2773
2774 * info.el (Info-link-keymap): Use follow-link mechanism for
2775 header-line links (Bug#374).
2776
d75be97d
CY
2777 * simple.el (deactivate-mark): Do not set the primary selection
2778 if another program has acquired it (Bug#11772).
2779
87a92845 27802012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2781
2782 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2783 (woman-decode-region): Replace escaped-escapes without destroying
2784 bold or underline (Bug#11552).
87a92845 2785 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2786
621b9d6c
CY
27872012-07-07 Chong Yidong <cyd@gnu.org>
2788
2789 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2790 (interprogram-cut-function, interprogram-paste-function):
2791 Mention that we typically mean the clipboard.
621b9d6c 2792
133a11fc
GM
27932012-07-06 Glenn Morris <rgm@gnu.org>
2794
0d27a45e
GM
2795 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2796
133a11fc
GM
2797 * files.el (toggle-read-only): Restrict message to interactive use.
2798
07b151f1
MA
27992012-07-06 Michael Albinus <michael.albinus@gmx.de>
2800
2801 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2802
2803 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2804
211b896b
GM
28052012-07-06 Glenn Morris <rgm@gnu.org>
2806
50394322
GM
2807 * Makefile.in (compile-one-process): Rename from "recompile".
2808
211b896b
GM
2809 * Makefile.in (bzr-update): "compile" is the same as "recompile
2810 autoloads", but parallelizable, so use that instead.
2811
4737eec9
DG
28122012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * window.el (quit-window): Always restore window height when
8137e7b3 2815 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2816
226c3633 28172012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2818
2819 * simple.el (kill-whole-line): Doc tweak.
2820
226c3633 28212012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2822
2823 * files.el (file-relative-name): Compare file names
2824 case-insensitively if on MS-Windows or MS-DOS, or if
2825 read-file-name-completion-ignore-case is non-nil. Don't use
2826 case-fold-search for this purpose. (Bug#11827)
2827
4dc7c8d5
SM
28282012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2829
2830 * calendar/cal-dst.el (calendar-current-time-zone):
2831 Return calendar-current-time-zone-cache if non-nil.
2832
28332012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 28342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2835
19faa8e8
SM
2836 * calendar/cal-dst.el (calendar-current-time-zone):
2837 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2838
60198fc9
GM
28392012-07-06 Glenn Morris <rgm@gnu.org>
2840
2841 * Makefile.in (cvs-update): Remove old alias.
2842
957b3189
MA
28432012-07-05 Michael Albinus <michael.albinus@gmx.de>
2844
2845 Sync with Tramp 2.2.6-pre.
2846
2847 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2848 compatible declaration.
2849
19faa8e8
SM
2850 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2851 Protect `list-load-path-shadows' call.
957b3189
MA
2852
2853 * net/tramp-compat.el (top): Require packages, which aren't
2854 autoloaded anymore for XEmacs. Protect call of
2855 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2856 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2857 it hurts at least for SXEmacs.
2858 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2859 standard-value for `temporary-file-directory'.
2860
2861 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2862 Redirect stderr to /dev/null.
2863 (tramp-sh-handle-write-region): uid and gid can be floats.
2864 Reported by Russell Sim <russell.sim@gmail.com>.
2865 (tramp-sh-handle-vc-registered): Hide errors.
2866 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2867 and `start-file-process'.
2868 (tramp-maybe-open-connection): Check also whether `non-essential'
2869 is bound.
2870
566df3fc
CY
28712012-07-04 Chong Yidong <cyd@gnu.org>
2872
2873 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2874 (xml-parse-tag): Likewise, and avoid changing entity tables.
2875 (xml-syntax-table): Define from scratch, making sure not to give
2876 x2000 and other Unicode spaces whitespace syntax, since those are
2877 not spaces in XML.
2878 (xml-parse-fragment): Delete unused function.
2879 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2880 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2881 (xml-entity-ref, xml-pe-reference-re)
2882 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2883 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2884 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2885 (xml-entity-value-re): Use syntax references in regexps where
2886 possible; no need to define inside a let-binding.
2887 (xml-parse-dtd): Use xml-pe-reference-re.
2888 (xml-entity-or-char-ref-re): New defconst.
2889 (xml-parse-string, xml-substitute-special): Use it.
2890
30eabd7a
SM
28912012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2892
0781098a
SM
2893 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2894 (find-file--read-only): New function.
2895 (find-file-read-only, find-file-read-only-other-window)
2896 (find-file-read-only-other-frame): Use it.
2897 (insert-file-contents-literally): Don't `fset'.
2898 (get-free-disk-space): Use locate-dominating-file.
2899
b5771c0d
SM
2900 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2901 function is already compiled.
2902
30eabd7a
SM
2903 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2904
b4886f6e
MA
29052012-07-03 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2908 files on the same host.
2909
b9d82339
AS
29102012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2911
2912 * help-fns.el (describe-function-1): Only call
2913 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2914
a76e6535
CY
29152012-07-03 Chong Yidong <cyd@gnu.org>
2916
2917 * xml.el: Protect parser against XML bombs.
2918 (xml-entity-expansion-limit): New variable.
2919 (xml-parse-string, xml-substitute-special): Use it.
2920 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2921
b544fef2
GM
29222012-07-03 Glenn Morris <rgm@gnu.org>
2923
2924 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2925 Allow linking to specific messages in debbugs reports (eg 123#5).
2926
a7aef6f5
CY
29272012-07-02 Chong Yidong <cyd@gnu.org>
2928
2929 * xml.el: Fix entity and character reference expansion, allowing
2930 them to expand into markup as per XML spec.
2931 (xml-default-ns): New variable.
2932 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2933 (xml-parse-region): Make first two arguments optional.
2934 Discard text properties.
2935 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2936 All callers changed.
a7aef6f5
CY
2937 (xml-parse-tag): Call xml-parse-tag-1. For backward
2938 compatibility, this function should not modify buffer contents.
2939 (xml-parse-tag-1): Fix opening-tag regexp.
2940 (xml-parse-string): Rewrite, handling entity and character
2941 references properly.
2942 (xml--entity-replacement-text): Signal an error if a parameter
2943 entity is undefined.
2944
3df31c9f
SM
29452012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2b5208f1
SM
2947 * comint.el (comint-output-filter): Filter out repeated prompts.
2948
3df31c9f
SM
2949 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2950 and file-name-absolute-p.
2951 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2952 internal calls.
2953
e3ac1281
PE
29542012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2955
2956 Spelling fixes.
2957 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2958 Rename from byte-compile--refiy-function. All uses changed.
2959
fbf2e7ad
CY
29602012-07-01 Chong Yidong <cyd@gnu.org>
2961
2962 * xml.el (xml--parse-buffer): New function. Move most of
2963 xml-parse-region here.
2964 (xml-parse-region): Copy region into a temporary buffer, since
2965 parameter entity substitution requires changing buffer contents.
2966 Use xml--parse-buffer.
2967 (xml-parse-file): Use xml--parse-buffer.
2968 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2969 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2970
9bf0aa15
GM
29712012-06-30 Glenn Morris <rgm@gnu.org>
2972
bbce2853
GM
2973 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2974
9bf0aa15
GM
2975 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2976 Remove outdated and unnecessary dbus declarations.
2977
0d23c240
EZ
29782012-06-30 Eli Zaretskii <eliz@gnu.org>
2979
2980 * emacs-lisp/timer.el (timer-until): Subtract results of
2981 float-time, instead of taking float-time of the result of
2982 time-subtract, since float-time signals an error for negative time
2983 arguments.
2984
b3218de1
CY
29852012-06-30 Chong Yidong <cyd@gnu.org>
2986
2987 * xml.el (xml-*-re): Convert defvars into defconsts, and
2988 eval-and-compile them so eval-and-compile works on derivatives.
2989 (xml--entity-replacement-text): Use eval-and-comple.
2990
a40c87a0
MA
29912012-06-30 Michael Albinus <michael.albinus@gmx.de>
2992
2993 * vc/vc-git.el (vc-git-registered): Use cache property
2994 `git-registered'.
2995 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2996 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2997 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2998
ac87de97
DG
29992012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3002 removed (likely outside Emacs). (Bug#11757)
ac87de97 3003
ac10fe06
SM
30042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3df31c9f 3006 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3007
7f3fbd5d
CY
30082012-06-30 Chong Yidong <cyd@gnu.org>
3009
3010 * xml.el: Implement XML parameter entities.
3011 (xml-parameter-entity-alist): New variable.
3012 (xml-parse-region, xml-parse-fragment): Preserve previous values
3013 of xml-entity-alist and xml-parameter-entity-alist, so that
3014 repeated calls on different documents do not change them.
3015 (xml-parse-tag): Fix doctype regexp.
3016 (xml--entity-replacement-text): New function.
3017 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3018 properly requires url retrieval which is unimplemented.
3019 (xml-escape-string): Doc fix.
3020
3cfbebba
SM
30212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3024
2af3565e
DA
30252012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3026
3027 * fringe.el (fringe-mode): Doc fix.
3028
929df0e7
MA
30292012-06-29 Michael Albinus <michael.albinus@gmx.de>
3030
3031 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3032 is non-nil.
3033 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3034 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3035
c8d3a25c 30362012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3037
c8d3a25c
GM
3038 * calendar/cal-dst.el (calendar-current-time-zone):
3039 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3040
c8d3a25c 30412012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3042
3043 * progmodes/which-func.el (which-func-format):
3044 Add mouse-face. (Bug#11698)
3045
c8d3a25c
GM
30462012-06-29 Leo Liu <sdl.web@gmail.com>
3047
3048 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3049
30502012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * minibuffer.el (minibuffer-confirm-exit-commands):
3053 Add completion-at-point (bug#11725).
3054
30552012-06-29 Glenn Morris <rgm@gnu.org>
3056
3057 * progmodes/f90.el (f90-font-lock-keywords-2):
3058 Add some preprocessor elements. (Bug#10499)
3059
30602012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3063 Use syntax-propertize (bug#11739).
3064
2badeec4
JB
30652012-06-28 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3068
ae4969c2
JD
30692012-06-28 Julien Danjou <julien@danjou.info>
3070
3071 * term.el (term-handle-colors-array): Use a set of new faces to
3072 color the terminal. Also uses :inverse-video property.
3073 (term-default-fg-color): Set to nil by default, deprecate in favor
3074 of `term-face'.
3075 (term-default-bg-color): Set to nil by default, deprecate in favor
3076 of `term-face'.
3077 (term-current-face): Use `term-face' by default.
3078 (term-bold-attribute): Variable deleted.
3079
1c9bd870
GM
30802012-06-28 Glenn Morris <rgm@gnu.org>
3081
3082 * simple.el (completion-list-mode-finish):
3083 Don't use toggle-read-only. (Since completion-list-mode has
3084 a special mode-class, it wasn't doing anything extra anyway.)
3085
c207708c
SM
30862012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 Make inlining of other-mode interpreted functions work (bug#11799).
3089 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3090 (byte-compile): Use it to fix compilation of lexical-binding closures.
3091 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3092 function, if needed.
3093
3fd56834
SM
30942012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3095
04901786
SM
3096 * help-mode.el (help-make-xrefs): Don't just withstand
3097 cyclic-variable-indirection but any error in documentation-property.
3098
1ec4b7b2
SM
3099 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3100 memory use.
3101 * bindings.el (bindings--define-key): New function.
3102 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3103 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3104 * bindings.el: Use it to purecopy define-key bindings.
3105
e309e2a5
SM
3106 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3107
d5c6faf9
SM
3108 * emacs-lisp/cl.el (flet): Mark obsolete.
3109 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3110 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3111 * progmodes/js.el (js-c-fill-paragraph):
3112 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3113 (ebrowse-switch-member-buffer-to-derived-class):
3114 * play/5x5.el (5x5-solver): Use cl-flet.
3115
6e9590e2
SM
3116 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3117 (cl--symbol-function): New macro.
3118 (cl--letf, cl--letf*): Use it.
3119
3fd56834
SM
3120 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3121 Strip "toggle-" if any.
3122
35ff222c
GM
31232012-06-27 Glenn Morris <rgm@gnu.org>
3124
1ba6038a
GM
3125 * info.el (Info-default-directory-list): Move here from paths.el.
3126 * paths.el: Remove file, which is now empty.
3127 * loadup.el: No longer load "paths".
3128
0ea0e51b
GM
3129 * custom.el (custom-initialize-delay): Doc fix.
3130
35ff222c
GM
3131 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3132 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3133 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3134 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3135 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3136 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3137 * eshell/eshell.el (eshell-defgroup): Remove alias.
3138
c89926a5
CY
31392012-06-27 Chong Yidong <cyd@gnu.org>
3140
3141 * help.el (help-enable-auto-load): New variable.
3142
3143 * help-fns.el (help-fns--autoloaded-p): New function.
3144 (describe-function-1): Refer to a function as "autoloaded" if it
3145 was autoloaded at any time in the past. Perform autoloading if
3146 help-enable-auto-load is non-nil.
3147
cc06e7e7
EZ
31482012-06-26 Eli Zaretskii <eliz@gnu.org>
3149
3150 * makefile.w32-in (compile, compile-always): Depend on
3151 update-subdirs, not on subdirs.el. Otherwise, several different
3152 sub-targets of 'bootstrap' running in parallel could
3153 simultaneously write to subdirs.el, producing a garbled file.
3154
d2c32364
SS
31552012-06-26 Sam Steingold <sds@gnu.org>
3156
3157 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3158 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3159 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3160 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3161 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3162 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3163 * textmodes/tex-mode.el: Use it.
3164 Did not touch cedet and org because they are maintained elsewhere.
3165
5cf983b2
MR
31662012-06-26 Martin Rudalics <rudalics@gmx.at>
3167
3168 * calendar/calendar.el (calendar-exit): Don't try to delete or
3169 iconify last frame. See:
3170 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3171
8c4f2952
JD
31722012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3173
3174 * server.el (server-process-filter): Remember dir in the
3175 process's `server-client-directory' properties.
3176
772b2e2c
CY
31772012-06-24 Chong Yidong <cyd@gnu.org>
3178
3179 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3180 non-tag text.
3181
711b11e1
JB
31822012-06-23 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3185
dc5d230c
SM
31862012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * help-fns.el (describe-variable): Don't croak when doc is not found.
3189 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3190 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3191 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3192 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3193 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3194 ((lambda ..) ..).
3195 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3196
136e1c1d
CY
31972012-06-23 Chong Yidong <cyd@gnu.org>
3198
e8c1cabf
CY
3199 * info.el (Info-mouse-follow-link): Accept symbol values of
3200 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3201 (Info-fontify-node): Use Info-link-keymap for all navigation
3202 buttons, with link-args property to perform the desired action.
3203 (Info-link-keymap): Doc fix.
3204 (Info-next-link-keymap, Info-prev-link-keymap)
3205 (Info-up-link-keymap): Delete now-unused keymaps.
3206
0e9e6c6a
CY
32072012-06-23 Chong Yidong <cyd@gnu.org>
3208
05e89fea
CY
3209 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3210
0e9e6c6a
CY
3211 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3212 system abbrevs.
3213
3214 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3215
e33c6771
SM
32162012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3217
b68581e2
SM
3218 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3219 (bug#11719).
3220
e33c6771
SM
3221 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3222 the requote function doesn't work properly (bug#11714).
3223
7117e105
GM
32242012-06-23 Glenn Morris <rgm@gnu.org>
3225
3226 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3227
36cec983
SM
32282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 Further GV/CL cleanups.
3231 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3232 gv-expander.
3233 (gv--defun-declaration): New function.
3234 (defun-declarations-alist): Use it.
3235 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3236 (gv-place): Autoload.
3237 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3238 original definition of dotimes and dolist.
3239 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3240 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3241 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3242 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3243 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3244 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3245 to the function's definition.
3246 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3247 * window.el:
3248 * files.el:
3249 * faces.el:
3250 * env.el: Don't use CL.
3251
d35af63c
PE
32522012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3253
3254 Support higher-resolution time stamps (Bug#9000).
3255
3256 * calendar/time-date.el (with-decoded-time-value): New arg
3257 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3258 (encode-time-value): New optional arg PICO. New type 3.
3259 (time-to-seconds) [!float-time]: Support the new picoseconds
3260 component if it's used.
3261 (seconds-to-time, time-subtract, time-add):
3262 Support ps-resolution time stamps as well.
3263
3264 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3265 (timerp): Timer vectors now have length 9, not 8.
3266 (timer--time): Support new-style (4-part) time stamps.
3267 (timer-next-integral-multiple-of-time): Time stamps now have
3268 picosecond resolution, so take a bit more care about rounding.
3269 (timer-relative-time, timer-inc-time): New optional arg psecs.
3270 (timer-set-time-with-usecs): Set psecs to 0.
3271 (timer--activate): Check psecs component, too.
3272
3273 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3274
ac77b21a
SM
32752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3276
f143bfe3
SM
3277 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3278 Move the non-essential binding to the post/pre-command-hook where it is
3279 more obviously correct.
3280
ac77b21a
SM
3281 * subr.el (read-passwd): Don't use a history at all.
3282 * savehist.el (savehist-save): Remove password saved accidentally
3283 because of the above bug.
3284
76386c5a
BG
32852012-06-22 Bastien Guerry <bzg@gnu.org>
3286
3287 * files.el (toggle-read-only): Display a message telling whether
3288 the buffer is read-only or not (bug#11726).
3289
2ee3d7f0
SM
32902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * emacs-lisp/gv.el: New file.
3293 * subr.el (push, pop): Extend to generalized variables.
3294 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3295 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3296 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3297 gv-define-simple-setter, and gv-define-expander.
3298 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3299 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3300 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3301 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3302 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3303 gv-letplace.
3304 (cl-defstruct): Don't define setf-method any more.
3305 * emacs-lisp/cl.el (flet): Don't autoload.
3306 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3307 (define-setf-expander, defsetf, define-modify-macro)
3308 (cl-struct-setf-expander): Move from cl-lib.el.
3309 * emacs-lisp/syntax.el:
3310 * emacs-lisp/ewoc.el:
3311 * emacs-lisp/smie.el:
3312 * emacs-lisp/cconv.el:
3313 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3314 (timer--time): Use gv-define-simple-setter.
3315 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3316 to avoid coding-system problems in subr.el. Adjust all users.
3317 (macroexp--maxsize, macroexp-small-p): New functions.
3318 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3319 * scroll-bar.el (scroll-bar-mode):
3320 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3321 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3322 * winner.el (winner-configuration, winner-make-point-alist)
3323 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3324 * files.el (locate-file-completion-table): Avoid list*.
3325
c5695d1d
CY
33262012-06-22 Chong Yidong <cyd@gnu.org>
3327
3328 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3329 (dired-create-files): Doc fix (Bug#11329).
3330 (dired-do-copy): Doc fix (Bug#11334).
3331 (dired-mark-read-string): Doc fix (Bug#11553).
3332
2ee3d7f0
SM
3333 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3334 Doc fix (Bug#11326).
c5695d1d
CY
3335 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3336 (dired-dwim-target): Doc fix.
3337
3338 * wdired.el (wdired-mode): Doc fix.
3339
89b5595a
GM
33402012-06-22 Glenn Morris <rgm@gnu.org>
3341
575db3f1
GM
3342 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3343 (pcmpl-rpm-cache-stamp-file): New constant.
3344 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3345 (pcmpl-rpm-packages): Optionally cache list of packages.
3346
a4c8dd51
GM
3347 * pcmpl-rpm.el (pcmpl-rpm): New group.
3348 (pcmpl-rpm-query-options): New option.
3349 (pcmpl-rpm-packages): No need to inline it.
3350 Use pcmpl-rpm-query-options.
3351
89b5595a
GM
3352 * calendar/calendar.el (calendar-in-read-only-buffer):
3353 Avoid some needless mode changes.
3354
e76f0800
CY
33552012-06-21 Chong Yidong <cyd@gnu.org>
3356
3357 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3358 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3359 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3360
297a8f1d
CY
33612012-06-20 Chong Yidong <cyd@gnu.org>
3362
3363 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3364
d34c18b1
DR
33652012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3366
3367 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3368 (bug#11201).
3369
32f7f28e
CY
33702012-06-20 Chong Yidong <cyd@gnu.org>
3371
3372 * term.el (term-window-width): Handle the case of a missing right
3373 fringe (Bug#8837).
3374 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3375 (term-mode): Use define-derived-mode. Minor cleanups.
3376 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3377 (term-move-columns, term-insert-char, term-emulate-terminal)
3378 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3379
493c6688
MA
33802012-06-20 Michael Albinus <michael.albinus@gmx.de>
3381
d34c18b1
DR
3382 * net/ange-ftp.el (ange-ftp-get-passwd):
3383 Bind `enable-recursive-minibuffers'.
493c6688
MA
3384 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3385
3f06ecf4
DR
33862012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3387
3388 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3389
68f12411
GM
33902012-06-19 Glenn Morris <rgm@gnu.org>
3391
3392 * progmodes/python.el (python-mode): Derive from prog-mode.
3393
b3820318
KG
33942012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3395
3396 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3397 (edt-user-menu-bar-update-buffers): New functions.
3398 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3399
c6bf3022
CY
34002012-06-19 Chong Yidong <cyd@gnu.org>
3401
3402 * subr.el (with-selected-window): Preserve the selected window's
3403 terminal's top-frame (Bug#4702).
3404
3405 * window.el (save-selected-window): Likewise.
3406
25f09295
SM
34072012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * progmodes/python.el (python-rx-constituents): Move backquote.
3410 (python-skeleton-define, python-define-auxiliary-skeleton):
3411 Use `declare'.
3412
6b11952a
MA
34132012-06-18 Michael Albinus <michael.albinus@gmx.de>
3414
3415 * minibuffer.el (read-file-name-default): Revert the patch from
3416 2012-06-17.
3417
ee4b1330
SM
34182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3421 (pcase--u1, pcase--q1): Don't use apply-partially.
3422
35647f79
GM
34232012-06-18 Glenn Morris <rgm@gnu.org>
3424
3425 * progmodes/python.el (python-proc, python-buffer)
3426 (python-send-receive, python-send-string): Fix obsolete versions.
3427
24b0cff0
MR
34282012-06-18 Martin Rudalics <rudalics@gmx.at>
3429
3430 * window.el (special-display-p): Completely remove stringp
3431 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3432
29855149
MA
34332012-06-17 Michael Albinus <michael.albinus@gmx.de>
3434
3435 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3436
3437 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3438
3439 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3440 * net/tramp-sh.el (tramp-maybe-open-connection):
3441 Throw if `non-essential' is non-nil.
3442
07463363
MR
34432012-06-17 Martin Rudalics <rudalics@gmx.at>
3444
3445 * window.el (special-display-p): Signal an error if BUFFER-NAME
3446 is not a string (Bug#11713).
3447
48d1354e
PE
34482012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3449
3450 * progmodes/python.el (python-info-beginning-of-backslash):
3451 Rename from python-info-beginning-of-backlash, as a spelling fix.
3452
eb4a8a9a
CY
34532012-06-17 Chong Yidong <cyd@gnu.org>
3454
3455 * term.el (term-emulate-terminal): If term-check-size is called,
3456 move point to the process mark without resetting point (Bug#4635).
3457
ddfbf826 34582012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3459
3460 * international/mule-cmds.el (mule-menu-keymap)
3461 (set-language-environment, set-locale-environment): Doc tweaks.
3462
9b0e3eba
AA
34632012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3464
3465 * cus-face.el (custom-face-attributes): Add wave-style underline
3466 attribute.
3467 * faces.el (set-face-attribute): Update docstring to describe
3468 wave-style underline attribute.
3469
771e3eae
CY
34702012-06-16 Chong Yidong <cyd@gnu.org>
3471
3472 * term/xterm.el (terminal-init-xterm): Discard input before
3473 querying background mode (Bug#10959).
3474
7ae2ea10
SM
34752012-06-16 Stefan Merten <smerten@oekonux.de>
3476
3477 * textmodes/rst.el: Added and corrected some comments.
3478 (rst-re-alist-def): Improve symbol syntax.
3479 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3480 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3481 (rst-official-version, rst-official-cvs-rev): Update version
3482 information.
7ae2ea10 3483
b6974efa
JB
34842012-06-15 Juanma Barranquero <lekktu@gmail.com>
3485
3486 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3487 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3488
8826d473
GM
34892012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3490
3491 * progmodes/python.el: New python.el merge.
3492 (python-guess-indent): Obsolete var.
3493 (python-indent-guess-indent-offset): New defcustom.
3494 (python-indent): Obsolete var.
3495 (python-indent-offset): New defcustom.
3496 (python-python-command, python-jython-command): Delete var.
3497 (python-shell-interpreter): New defcustom.
3498 (python-pdbtrack-do-tracking-p): Delete var.
3499 (python-pdbtrack-activate): New defcustom.
3500 (python-use-skeletons): Obsolete var.
3501 (python-skeleton-autoinsert): New defcustom.
3502 (inferior-python-filter-regexp, python-continuation-offset)
3503 (python-honour-comment-indentation, python-indent-string-contents)
3504 (python-jython-packages, python-mode-hook)
3505 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3506 (python-shell-prompt-alist)
3507 (python-source-modes): Delete defcustoms.
3508 (python-check-buffer-name, python-eldoc-setup-code)
3509 (python-eldoc-string-code, python-ffap-setup-code)
3510 (python-ffap-string-code, python-fill-comment-function)
3511 (python-fill-decorator-function, python-fill-paren-function)
3512 (python-fill-string-function, python-imenu-include-defun-type)
3513 (python-imenu-make-tree, python-imenu-subtree-root-label)
3514 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3515 (python-shell-compilation-regexp-alist)
3516 (python-shell-completion-module-string-code)
3517 (python-shell-completion-pdb-string-code)
3518 (python-shell-completion-setup-code)
3519 (python-shell-completion-string-code)
3520 (python-shell-enable-font-lock, python-shell-exec-path)
3521 (python-shell-extra-pythonpaths)
3522 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3523 (python-shell-process-environment)
3524 (python-shell-prompt-block-regexp)
3525 (python-shell-prompt-output-regexp)
3526 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3527 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3528 (python-shell-virtualenv-path): New defcustoms.
3529 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3530 (inferior-python-mode-syntax-table, python--prompt-regexp)
3531 (python-buffer, python-command python-python-command)
3532 (python-default-template, python-imports, python-indent-index)
3533 (python-indent-list, python-indent-list-length)
3534 (python-mode-running, python-pdbtrack-is-tracking-p)
3535 (python-preoutput-continuation, python-preoutput-leftover)
3536 (python-preoutput-result, python-preoutput-skip-next-prompt)
3537 (python-prev-dir/file, python-recursing)
3538 (python-saved-check-command, python-version-checked)
3539 (python-which-func-length-limit)
3540 (view-return-to-alist): Delete vars.
3541 (python-check-custom-command, python-dotty-syntax-table)
3542 (python-imenu-index-alist, python-indent-current-level)
3543 (python-indent-dedenters, python-indent-levels)
3544 (python-nav-beginning-of-defun-regexp)
3545 (python-nav-list-defun-positions-cache)
3546 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3547 (python-shell-internal-buffer)
3548 (python-skeleton-available): New vars.
3549 (def-python-skeleton): Delete macro.
3550 (python-skeleton-define): New macro.
3551 (python-define-auxiliary-skeleton, python-rx): New macros.
3552 (python-insert-class): Delete command.
3553 (python-skeleton-class): New command.
3554 (python-insert-def): Delete command.
3555 (python-skeleton-def): New command.
3556 (python-insert-for): Delete command.
3557 (python-skeleton-for): New command.
3558 (python-insert-if): Delete command.
3559 (python-skeleton-if): New command.
3560 (python-insert-try/except, python-insert-try/finally): Delete commands.
3561 (python-skeleton-try): New command.
3562 (python-insert-while): Delete command.
3563 (python-skeleton-while): New command.
3564 (python-backspace): Delete command.
3565 (python-indent-dedent-line-backspace): New command.
3566 (python-electric-colon): Delete command.
3567 (python-indent-electric-colon): New command.
3568 (python-guess-indent): Delete command.
3569 (python-indent-guess-indent-offset): New command.
3570 (python-shift-left): Delete command.
3571 (python-indent-shift-left): New command.
3572 (python-shift-right): Delete command.
3573 (python-indent-shift-right): New command.
3574 (python-find-function): Delete command.
3575 (python-nav-jump-to-defun): New command.
3576 (python-next-statement): Delete command.
3577 (python-nav-forward-sentence): New command.
3578 (python-previous-statement): Delete command.
3579 (python-nav-backward-sentence): New command.
3580 (python-fill-paragraph): Delete command.
3581 (python-fill-paragraph-function): New command.
3582 (python-send-buffer): Delete command.
3583 (python-shell-send-buffer): New command.
3584 (python-send-defun): Delete command.
3585 (python-shell-send-defun): New command.
3586 (python-send-region, python-send-region-and-go): Delete commands.
3587 (python-shell-send-region)
3588 (python-shell-switch-to-shell): New commands.
3589 (python-send-string): Delete command.
3590 (python-shell-send-string): New command.
3591 (python-switch-to-python): Delete command.
3592 (python-shell-switch-to-shell): New command.
3593 (python-describe-symbol): Delete command.
3594 (python-eldoc-at-point): New command.
3595 (python--set-prompt-regexp, python-args-to-list)
3596 (python-after-info-look, python-check-version)
3597 (python-check-comint-prompt, python-find-imports)
3598 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3599 (python-unload-function, python-expand-template)
3600 (python-maybe-jython, python-preoutput-filter)
3601 (python-pdbtrack-get-source-buffer)
3602 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3603 (python-pdbtrack-toggle-stack-tracking)
3604 (python-pdbtrack-track-stack-file, python-initial-text)
3605 (python-first-word, python-comment-line-p, python-send-command)
3606 (python-setup-brm, python-sentinel, python-set-proc)
3607 (python-skip-out, python-input-filter, python-outdent-p)
3608 (python-outline-level, python-backslash-continuation-line-p)
3609 (python-end-of-block, python-end-of-statement, python-mark-block)
3610 (python-beginning-of-block, python-beginning-of-statement)
3611 (python-blank-line-p, python-beginning-of-string)
3612 (python-open-block-statement-p): Delete functions.
3613 (python-indent-line, python-indent-line-1): Delete functions.
3614 (python-indent-line): New function.
3615 (python-indentation-levels): Delete function.
3616 (python-indent-calculate-levels): New function.
3617 (python-proc): Delete function.
3618 (python-shell-get-process): New function.
3619 (python-send-receive): Delete function.
3620 (python-shell-send-string-no-output): New function.
3621 (python-module-path): Delete function.
3622 (python-ffap-module-path): New function.
3623 (python-completion-at-point)
3624 (python-symbol-completions): Delete functions.
3625 (python-completion-complete-at-point): New function.
3626 (python-load-file): Delete function.
3627 (python-shell-send-file): New function.
3628 (python-calculate-indentation): Delete function.
3629 (python-indent-calculate-indentation): New function.
3630 (python-skip-comments/blanks): Delete function.
3631 (python-util-forward-comment): New function.
3632 (python-continuation-line-p): Delete function.
3633 (python-info-continuation-line-p): New function.
3634 (python-which-func, python-current-defun): Delete function.
3635 (python-info-current-defun): New function.
3636 (python-beginning-of-defun): Delete function.
3637 (python-nav-beginning-of-defun): New function.
3638 (python-close-block-statement-p)
3639 (python-block-end-p): Delete function.
3640 (python-info-closing-block): New function.
3641 (python-comint-output-filter-function)
3642 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3643 (python-fill-comment, python-fill-decorator, python-fill-paren)
3644 (python-fill-string, python-imenu-make-element-tree)
3645 (python-imenu-make-tree, python-imenu-tree-assoc)
3646 (python-indent-context, python-indent-dedent-line)
3647 (python-indent-line-function)
3648 (python-indent-post-self-insert-function)
3649 (python-indent-toggle-levels)
3650 (python-info-assignment-continuation-line-p)
3651 (python-info-beginning-of-backlash)
3652 (python-info-block-continuation-line-p)
3653 (python-info-closing-block-message)
3654 (python-info-line-ends-backslash-p)
3655 (python-info-looking-at-beginning-of-defun)
3656 (python-info-ppss-context, python-info-ppss-context-type)
3657 (python-nav-list-defun-positions, python-nav-read-defun)
3658 (python-nav-sentence-end, python-nav-sentence-start)
3659 (python-pdbtrack-comint-output-filter-function)
3660 (python-pdbtrack-set-tracked-buffer)
3661 (python-shell-calculate-exec-path)
3662 (python-shell-calculate-process-environment)
3663 (python-shell-completion--do-completion-at-point)
3664 (python-shell-completion--get-completions)
3665 (python-shell-completion-complete-at-point)
3666 (python-shell-completion-complete-or-indent)
3667 (python-shell-get-or-create-process)
3668 (python-shell-get-process-name)
3669 (python-shell-internal-get-or-create-process)
3670 (python-shell-internal-get-process-name)
3671 (python-shell-internal-send-string, python-shell-make-comint)
3672 (python-shell-parse-command, python-shell-send-setup-code)
3673 (python-skeleton-add-menu-items)
3674 (python-util-clone-local-variables, python-util-position)
3675 (run-python-internal, python-indentation-levels)
3676 (python-nav-beginning-of-defun)
3677 (python-completion-complete-at-point): New functions.
3678 (run-python): Change arguments. New API requirements.
3679
4302f5ba
SM
36802012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3681
f38ea36d
SM
3682 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3683 (bug#11649).
3684
3685 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3686 (macroexp--expand-all): Use it.
3687
4302f5ba
SM
3688 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3689 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3690 Use `cl-function' instead.
3691
33377562
JB
36922012-06-14 Juanma Barranquero <lekktu@gmail.com>
3693
3694 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3695 Suggested by Stefan Monnier while discussing bug#11657.
3696
54c5ba1a
SS
36972012-06-14 Sam Steingold <sds@gnu.org>
3698
3699 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3700
f9f1b1fe
AS
37012012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3702
3703 * play/doctor.el (doctor-doc): Remove parameter and use
3704 doctor-sent instead of sent.
3705 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3706
a81068ba
SM
37072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3708
5a315f9c
SM
3709 * files.el: Require cl-lib.
3710 (file-name-non-special): Replace case -> cl-case.
3711
3712 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3713
a81068ba
SM
3714 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3715 mapping from #' to function*.
3716
8cca9703
CY
37172012-06-13 Chong Yidong <cyd@gnu.org>
3718
3719 * mouse.el (mouse-drag-track): Do not set the mark if the user
3720 releases the mouse without selecting anything (Bug#11588).
3721
a12ac9d7
SM
37222012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3723
ccf1dc18
SM
3724 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3725 as well (bug#11646).
3726
ef62b23d
SM
3727 * loadup.el: Count byte-code functions as well.
3728
c4c8444a
SM
3729 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3730 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3731
a12ac9d7
SM
3732 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3733 (bug#11649). Add cl-defun and cl-defmacro.
3734
87e6e64f
DA
37352012-06-13 Drew Adams <drew.adams@oracle.com>
3736
3737 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3738 Fix last change.
3739
682cefaf
MA
37402012-06-13 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3743 Otherwise, it blocks in batch mode.
3744
773e1f08
JB
37452012-06-13 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * help-mode.el (bookmark-make-record-default): Declare.
3748
60057926
CY
37492012-06-13 Chong Yidong <cyd@gnu.org>
3750
3751 * emacs-lisp/package.el (list-packages): Compute a list of
3752 packages that are newly-available since the last list-packages
3753 invocation.
3754 (package-menu--new-package-list): New var.
3755 (package-menu--generate, package-menu--print-info)
3756 (package-menu--status-predicate, package-menu-mark-install):
3757 Handle new status label "new".
3758
ad4d226c
SM
37592012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3762 conversion to backquotes.
3763
f1a4e679
CY
37642012-06-12 Chong Yidong <cyd@gnu.org>
3765
3766 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3767 Rename from gud-inhibit-global-bindings.
3768
3769 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3770
3771 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3772 hook from nxml-glyph-set-hook.
3773
3774 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3775 declaration.
3776
3777 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3778
3779 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3780 Convert to defcustom.
3781
0c9e42b5
DA
37822012-06-12 Drew Adams <drew.adams@oracle.com>
3783
3784 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3785 New functions.
3786 (help-mode): Use them.
3787
09e06855
GM
37882012-06-11 Glenn Morris <rgm@gnu.org>
3789
3790 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3791 Use preprocessor face for directives.
3792 (fortran-directive-re): Doc fix.
3793
71adb94b
SM
37942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3795
2eb87922
SM
3796 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3797 conversion to backquotes (bug#11652).
3798
71adb94b
SM
3799 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3800 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3801 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3802 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3803 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3804 (cl-ninth, cl-tenth): Mark them as inlinable.
3805 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3806 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3807 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3808 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3809 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3810 (cl-list*, cl-adjoin): Don't put an autoload manually.
3811 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3812 (cl--compiler-macro-list*): Add autoload cookie.
3813 (cl--compiler-macro-cXXr): New function.
2eb87922 3814
71adb94b
SM
3815 * help-fns.el (help-fns--compiler-macro): New function extracted from
3816 describe-function-1; follow aliases and use `compiler-macro' property.
3817 (describe-function-1): Use it.
3818
a6674402
CY
38192012-06-11 Chong Yidong <cyd@gnu.org>
3820
3821 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3822 is uninstalled, if imagemagick is installed.
3823
bb3faf5b
SM
38242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * emacs-lisp/cl-lib.el: Use lexical-binding.
3827 (cl-map-extents, cl-maclisp-member): Remove.
3828 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3829 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3830 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3831 * emacs-lisp/cl-extra.el: Use lexical-binding.
3832 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3833 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3834 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3835 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3836 * emacs-lisp/cl-seq.el: Use lexical-binding.
3837 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3838 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3839 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3840 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3841 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3842 CL's internals.
3843
2fe4b125
MA
38442012-06-11 Michael Albinus <michael.albinus@gmx.de>
3845
3846 Sync with Tramp 2.2.6-pre.
3847
3848 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3849 `print-length' and `print-level' to nil, in order to avoid
3850 truncation. Reported by Christopher Schmidt
3851 <christopher@ristopher.com>.
3852
3853 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3854
3855 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3856 New defmacro.
3857 (tramp-compat-copy-directory): Add optional argument
3858 COPY-CONTENTS. It is not handled yet.
3859
3860 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3861 (tramp-ftp-file-name-p): Simplify.
3862
3863 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3864 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3865 connection vector.
3866
3867 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3868 (tramp-methods): Do not use `tramp-password-end-of-line'.
3869 (tramp-completion-function-alist-putty): Handle UNIX case.
3870 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3871 (tramp-do-file-attributes-with-stat)
3872 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3873 gid as real numbers. They could run out of integer range on cygwin.
3874 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3875 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3876 (tramp-open-connection-setup-interactive-shell):
3877 Use `tramp-cleanup'. Move check for busyboxes ...
3878 (tramp-find-shell): ... here. Simplify implementation.
3879 Set "remote-shell" property also for alternative shells.
3880 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3881 If failing, a regular file would be written otherwise.
3882 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3883 (tramp-find-inline-encoding): Cache the coding commands in the
3884 process cache. Apply test command on the remote side, if defined.
3885 (tramp-find-inline-compress): Cache the compress commands in the
3886 process cache.
3887 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3888 when requested. Handle hops.
3889 (tramp-current-connection): New defvar.
87e6e64f
DA
3890 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3891 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3892 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3893 (tramp-get-inline-compress, tramp-get-inline-coding):
3894 Read connection properties from the process cache.
2fe4b125
MA
3895
3896 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3897 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3898 New defconsts.
2fe4b125
MA
3899 (tramp-smb-prompt): Extend for powershell prompt.
3900 (tramp-smb-file-name-handler-alist): Add handlers for
3901 `process-file', `shell-command' and `start-file-process'.
3902 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3903 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3904 (tramp-smb-file-name-p): Simplify.
3905 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3906 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3907 (tramp-smb-shell-quote-argument): New defuns.
3908 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3909 Implement using "tar". By this, time-stamps are preserved.
3910 (tramp-smb-handle-copy-file): Handle also the case of directories.
3911 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3912 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3913 Use `tramp-get-connection-buffer').
2fe4b125
MA
3914 (tramp-smb-handle-rename-file): Use "rename", when source and
3915 target are on the same share.
87e6e64f
DA
3916 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3917 Use `tramp-smb-server-version'.
2fe4b125
MA
3918 (tramp-smb-wait-for-output): Remove prompt.
3919
3920 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3921 (tramp-methods, tramp-rsh-end-of-line):
3922 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3923 (tramp-save-ad-hoc-proxies): New defcustom.
3924 (tramp-completion-function-alist): Adapt docstring.
3925 (tramp-default-password-end-of-line): Remove defcustom.
3926 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3927 (tramp-user-regexp, tramp-file-name-regexp-unified)
3928 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3929 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3930 (tramp-remote-file-name-spec-regexp): New defconst.
3931 (tramp-file-name-structure): Extend structure for hops.
3932 (tramp-get-method-parameter): Move up.
3933 (tramp-file-name-p, tramp-dissect-file-name)
3934 (with-parsed-tramp-file-name): Handle hops.
3935 (tramp-file-name-hop): New defun.
3936 (tramp-make-tramp-file-name): New optional arg HOP.
3937 (tramp-message-show-progress-reporter-message): New defvar.
3938 (tramp-with-progress-reporter): Use it. We cannot use
3939 `tramp-message-show-message' here, because this suppresses also
3940 error buffers.
3941 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3942 `tramp-message-show-message' is nil.
3943 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3944 (tramp-cleanup): New defun.
3945 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3946 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3947 an error unchanged.
3948 (tramp-completion-handle-file-name-all-completions): Handle hops.
3949 Fix an error when called from ido.
3950 (tramp-completion-dissect-file-name): Use better local variable
3951 name. Add hop to the vector.
3952 (tramp-handle-insert-file-contents): Use progress-reporter for the
3953 whole scenario.
3954 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3955 to `t'.
3956 (tramp-check-for-regexp): Simplify search.
3957 (tramp-enter-password): Remove it. Move implementation ...
3958 (tramp-action-password): ... here.
3959 (tramp-mode-string-to-int, tramp-local-host-p)
3960 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3961 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3962 Set tramp-autoload cookie.
2fe4b125
MA
3963
3964 * net/trampver.el: Update release number.
3965
39662012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3967 Michael Albinus <michael.albinus@gmx.de>
3968
3969 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3970 (tramp-parse-group, tramp-parse-file)
3971 (tramp-parse-shostkeys-sknownhosts): New defuns.
3972 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3973 (tramp-parse-shosts-group, tramp-parse-sconfig)
3974 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3975 (tramp-parse-sknownhosts, tramp-parse-hosts)
3976 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3977 Use them.
3978 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3979 (tramp-parse-putty-group): Don't narrow.
3980 (tramp-parse-putty): Make a loop.
3981 (tramp-file-name-handler): Catch the `suppress' signal.
3982
72834e10
CY
39832012-06-11 Chong Yidong <cyd@gnu.org>
3984
3985 * image.el (imagemagick-register-types): Put the ImageMagick entry
3986 at the end of image-type-file-name-regexps.
3987
a4712e11
JB
39882012-06-11 Johan Bockgård <bojohan@gnu.org>
3989
3990 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3991 (pcase, pcase-let*, pcase-dolist): Use them.
3992
82ad98e3
SM
39932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * emacs-lisp/pcase.el (pcase--let*): New function.
3996 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3997 (pcase--expand): Use macroexp-let².
3998
f80efb86
SM
39992012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4002 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4003 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4004 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4005 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4006 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4007
31ca4639 40082012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4009
31ca4639
CY
4010 * mail/rmail.el (rmail-yank-current-message): Leave point at
4011 correct position. (Bug#11660)
94f0aa34 4012
31ca4639 40132012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4014
31ca4639 4015 * allout-widgets.el: Fix code header.
9e1b8ec4 4016
31ca4639 40172012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4018
f80efb86
SM
4019 * cus-edit.el (customize-changed-options-previous-release):
4020 Bump to 24.1.
31ca4639 4021
642b6d30
AS
40222012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4023
4024 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4025
4f5d2ba1
CY
40262012-06-09 Chong Yidong <cyd@gnu.org>
4027
4028 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4029
e75852fd
MR
40302012-06-09 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (special-display-popup-frame): Don't use
4033 window--display-buffer (Bug#11651).
4034
1e48e282
EZ
40352012-06-09 Eli Zaretskii <eliz@gnu.org>
4036
8a26b487
EZ
4037 Fix parallel builds: make sure loaddefs.el is not being written
4038 while Lisp files are compiled.
4039 (compile): Don't depend on 'mh-autoloads'.
4040 (compile-CMD, compile-SH): Depend on 'autoloads'.
4041 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4042
1e48e282
EZ
4043 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4044
6175e34b
CY
40452012-06-09 Chong Yidong <cyd@gnu.org>
4046
4047 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4048 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4049 Doc fixes (Bug#11225).
4050
d9857e53
SM
40512012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4054 a function if there's a clear indication that it has a compiler-macro.
4055 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4056 (macro-declarations-alist): Add arglist to declaration functions.
4057 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4058 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4059 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4060 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4061 Also add autoload to find the compiler macro.
4062 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4063 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4064 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4065 (cl--compiler-macro-get): New functions, replacing calls to
4066 cl-define-compiler-macro.
4067 (cl-typep) [compiler-macro]: Use macroexp-let².
4068
f81298f8 40692012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4070
4071 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4072 string properly, fixes Bug#11473.
4073
4b56d0fe
CY
40742012-06-08 Chong Yidong <cyd@gnu.org>
4075
4076 * faces.el (set-face-attribute): Doc fix.
4077 (modify-face): Don't use :bold and :italic.
4078 (error, warning, success): Tweak definitions.
4079
4080 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4081 (custom-modified, custom-set, custom-changed, custom-themed)
4082 (custom-saved, custom-button, custom-button-mouse)
4083 (custom-button-pressed, custom-state, custom-comment-tag)
4084 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4085 (custom-group-subtitle): Use new-style face specs.
4086 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4087 (custom-set-face, custom-changed-face, custom-saved-face)
4088 (custom-button-face, custom-button-pressed-face)
4089 (custom-documentation-face, custom-state-face)
4090 (custom-comment-face, custom-comment-tag-face)
4091 (custom-variable-tag-face, custom-variable-button-face)
4092 (custom-face-tag-face, custom-group-tag-face-1)
4093 (custom-group-tag-face): Remove obsolete face alias.
4094
4095 * epa.el (epa-validity-high, epa-validity-medium)
4096 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4097 (epa-field-name, epa-field-body):
4098 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4099 (font-lock-keyword-face, font-lock-builtin-face)
4100 (font-lock-function-name-face, font-lock-variable-name-face)
4101 (font-lock-type-face, font-lock-constant-face):
4102 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4103 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4104 * speedbar.el (speedbar-button-face, speedbar-file-face)
4105 (speedbar-directory-face, speedbar-tag-face)
4106 (speedbar-selected-face, speedbar-highlight-face)
4107 (speedbar-separator-face):
4108 * whitespace.el (whitespace-newline, whitespace-space)
4109 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4110 (whitespace-line, whitespace-space-before-tab)
4111 (whitespace-space-after-tab, whitespace-indentation)
4112 (whitespace-empty):
4113 * emulation/cua-base.el (cua-global-mark):
4114 * eshell/em-prompt.el (eshell-prompt):
4115 * net/newst-plainview.el (newsticker-new-item-face)
4116 (newsticker-old-item-face, newsticker-immortal-item-face)
4117 (newsticker-obsolete-item-face, newsticker-date-face)
4118 (newsticker-statistics-face, newsticker-default-face):
4119 * net/newst-reader.el (newsticker-feed-face)
4120 (newsticker-extra-face, newsticker-enclosure-face):
4121 * net/newst-treeview.el (newsticker-treeview-face)
4122 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4123 (newsticker-treeview-immortal-face)
4124 (newsticker-treeview-obsolete-face)
4125 (newsticker-treeview-selection-face):
4126 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4127 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4128 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4129 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4130 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4131 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4132 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4133 (mpuz-text):
4134 * progmodes/vera-mode.el (vera-font-lock-number)
4135 (vera-font-lock-function, vera-font-lock-interface):
4136 * textmodes/table.el (table-cell): Use new-style face specs, and
4137 don't use the old :bold and :italic attributes.
4138
4139 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4140 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4141 (ebrowse-member-class, ebrowse-progress): Likewise.
4142 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4143 (ebrowse-file-name-face, ebrowse-default-face)
4144 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4145 (ebrowse-progress-face): Remove obsolete faces.
4146
4147 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4148 Inherit from error and warning faces respectively.
4149
4150 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4151 Likewise.
f80efb86
SM
4152 (flyspell-incorrect-face, flyspell-duplicate-face):
4153 Remove obsolete aliases.
4b56d0fe 4154
03310646
MA
41552012-06-08 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4158 Avoid infloop.
4159
513749ee
SM
41602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * startup.el (argv, argi): Make lexically scoped.
4163 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4164 * emacs-lisp/cl-macs.el: Use lexical-binding.
4165 Rename cl-bind-* to cl--bind-*.
4166 * files.el: Don't require `cl' since it doesn't use it.
4167 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4168
595ef4ad
JB
41692012-06-08 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4172 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4173 instead of calling external sort utility.
4174 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4175
e9f66fcb
EZ
41762012-06-08 Eli Zaretskii <eliz@gnu.org>
4177
4178 * descr-text.el (describe-char): Mention how to insert the
4179 character, if the current input method doesn't support it.
4180 See the discussion in this thread for the details:
4181 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4182
3d10db47
SS
41832012-06-08 Sam Steingold <sds@gnu.org>
4184
4185 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4186 XF86Back to previous-buffer.
4187 (minibuffer-local-map): Bind them to next-history-element and
4188 previous-history-element respectively.
4189 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4190 help-go-back respectively.
4191 * info.el (Info-mode-map): Bind them to Info-history-forward and
4192 Info-history-back respectively.
4193 These are the keys next to Up on the ThinkPad keyboard.
4194
de7e2b36
SM
41952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4198 * emacs-lisp/cl-macs.el: Provide itself.
4199 (cl--labels-convert-cache): New var.
4200 (cl--labels-convert): New function.
4201 (cl-flet, cl-labels): New implementation with new semantics, relying on
4202 lexical-binding.
4203 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4204 (cl-closure-vars, cl--function-convert-cache)
4205 (cl--function-convert): Move from cl-macs.el.
4206 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4207 rename by removing the "cl-" prefix.
4208 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4209
6fa6c4ae
SM
42102012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4213 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4214 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4215 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4216 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4217 (cl-hash-table-count): Add old compatibility aliases.
4218
4219 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4220 Use macroexpand-all-environment instead.
4221 (cl--old-macroexpand): New var.
4222 (cl--sm-macroexpand): New function.
4223 (cl-symbol-macrolet): Use it during macro expansion.
4224 (cl--function-convert-cache): New var.
4225 (cl--function-convert): New function, extracted from
4226 cl-macroexpand-all.
4227 (cl-lexical-let): Use it.
4228
4229 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4230 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4231 (cl-member): Remove old alias.
4232
4233 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4234 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4235 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4236 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4237 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4238 (cl-macroexpand-cmacs): Remove var.
4239 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4240 Use macroexpand-all instead.
4241
4dd1c416
SM
42422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4245 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4246 (macroexp-copyable-p): New functions and macros.
4247 * emacs-lisp/edebug.el (edebug-unwrap):
4248 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4249 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4250 (pcase--let*): Remove.
4251 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4252 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4253 macroexp-const-p instead.
4254 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4255
4256 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4257 instead of "cl-" for internal definitions. Use macroexp-const-p.
4258 (cl-old-bc-file-form): Remove var.
4259 (cl-const-exprs-p): Remove fun.
4260 (cl-labels, cl-macrolet): Use backquote.
4261 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4262 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4263 (cl-define-setf-expander): Rename from cl-define-setf-method.
4264 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4265
4266 * international/mule-cmds.el: Don't require CL.
4267 (view-hello-file): Don't use `letf'.
4268
ed8bd4d7
SM
42692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4270
7287f2f3
SM
4271 * tmm.el (tmm-prompt): Use string-prefix-p.
4272 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4273 (tmm-add-prompt): Use minibuffer-completion-help.
4274 (tmm-delete-map): Remove.
4275
ed8bd4d7
SM
4276 * subr.el (kbd): Make it its own function.
4277
7b4cdbf4
SM
42782012-06-07 Stefan Merten <smerten@oekonux.de>
4279
4280 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4281 Silence compiler warnings. Fix versions.
ed8bd4d7 4282 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4283 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4284 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4285 (rst-package-emacs-version-alist): Correct Emacs version to
4286 represent major merge with upstream.
ed8bd4d7 4287 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4288
2b48d721
GM
42892012-06-06 Glenn Morris <rgm@gnu.org>
4290
4291 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4292 Only print environment variables if set.
4293
fa779ab0
SM
42942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4297 (macroexp--cons): Rename from maybe-cons.
4298 (macroexp--accumulate): Rename from macroexp-accumulate.
4299 (macroexp--all-forms): Rename from macroexpand-all-forms.
4300 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4301 (macroexp--expand-all): Rename from macroexpand-all-1.
4302
628299e0
SS
43032012-06-06 Sam Steingold <sds@gnu.org>
4304
4305 * calendar/calendar.el (calendar-in-read-only-buffer):
4306 Call `special-mode' to enable the standard read-only keybindings.
4307
b7bb5838
SM
43082012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4311 with "loading" messages (bug#11635).
4312
dfb308ba
MA
43132012-06-06 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * files.el (enable-remote-dir-locals): New option.
4316 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4317
0372ee92
MA
4318 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4319 Ensure, that the temp directory is local.
4320
4321 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4322 `temporary-file-directory'.
4323
eed0bb91
MA
4324 * progmodes/python.el (python-send-region): Ensure, that the
4325 temporary file is created also in the remote case.
4326
7a58f64d
GM
43272012-06-06 Glenn Morris <rgm@gnu.org>
4328
f7dd4e98
GM
4329 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4330 (vc-rcs-update-changelog): Use it.
4331
090bd7cb 4332 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4333
7a58f64d
GM
4334 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4335 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4336 (vc-sccs-diff): Replace use of the external vcdiff script.
4337
daed4003
GM
43382012-06-05 Glenn Morris <rgm@gnu.org>
4339
4340 * ledit.el: Move to obsolete/.
4341
48c455c7
SS
43422012-06-05 Sam Steingold <sds@gnu.org>
4343
ed9265fc 4344 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4345 patch (Bug#11140).
4346
57a7d507
SM
43472012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4348
090bd7cb 4349 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4350
53aacf21
SM
4351 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4352 compiler-macro expansion.
4353
57a7d507
SM
4354 Add native compiler-macro support.
4355 * emacs-lisp/macroexp.el (macroexpand-all-1):
4356 Support compiler-macros directly. Properly follow aliases and apply
4357 the compiler macros more thoroughly.
4358 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4359 macroexpand now properly follows aliases.
4360 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4361 (cl-compiler-macroexpand): Use new prop.
4362 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4363
4364 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4365
51a5f9d8
MR
43662012-06-05 Martin Rudalics <rudalics@gmx.at>
4367
4368 * window.el (get-lru-window, get-mru-window, get-largest-window):
4369 New argument NOT-SELECTED to avoid picking the selected window.
4370 (window--display-buffer-1, window--display-buffer-2): Replace by
4371 new function window--display-buffer
4372 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4373 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4374 Use window--display-buffer.
51a5f9d8
MR
4375 (display-buffer-use-some-window): Remove temporary dedication
4376 hack by calling get-lru-window and get-largest-window with
4377 NOT-SELECTED argument non-nil. Call window--display-buffer.
4378
08f9f738
GM
43792012-06-05 Glenn Morris <rgm@gnu.org>
4380
4381 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4382 Replace external vcdiff script.
4383
e364a2b7
SM
43842012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4387
041df390
CY
43882012-06-04 Chong Yidong <cyd@gnu.org>
4389
e364a2b7
SM
4390 * image.el (imagemagick-types-inhibit): Revert last change.
4391 Add INFO and M.
47b36b94 4392 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4393
7c1898a7
SM
43942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/cl-lib.el: Rename from cl.el.
4397 * emacs-lisp/cl.el: New compatibility file.
4398 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4399 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4400 to obey the "cl-" prefix.
4401 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4402
0c3461de
GM
44032012-06-03 Glenn Morris <rgm@gnu.org>
4404
1e266c88
GM
4405 * emacs-lisp/authors.el (authors-aliases): Addition.
4406
0c3461de
GM
4407 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4408 Fix :version.
4409
d8a52e15
SM
44102012-06-03 Stefan Merten <smerten@oekonux.de>
4411
4412 * textmodes/rst.el: Add comments.
4413 (rst-transition, rst-adornment): New faces.
4414 (rst-adornment-faces-alist): Make default safe to reevaluate.
4415 Fixes
4416 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4417 Improve customization tags.
4418 (rst-define-level-faces): Clarify meaning.
4419
5205d6f6
CY
44202012-06-03 Chong Yidong <cyd@gnu.org>
4421
4422 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4423 (compilation-mode-line-run, compilation-mode-line-exit):
4424 New faces.
5205d6f6
CY
4425 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4426
757ee657
JD
44272012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4428
7c1898a7
SM
4429 * progmodes/which-func.el (which-func-update-ediff-windows):
4430 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4431
5f2c76c6
CY
44322012-06-03 Chong Yidong <cyd@gnu.org>
4433
4434 * bindings.el: Remove explicit help text from format-mode-line.
4435 It is now supplied by mode-line-default-help-echo.
4436 (mode-line-front-space, mode-line-end-spaces)
4437 (mode-line-misc-info): New variables.
4438 (mode-line-modes, mode-line-position): Move the default value to
4439 the variable definition.
4440 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4441 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4442 (mode-line-modified-help-echo): New functions.
4443 (mode-line-mule-info, mode-line-modified): Use them.
4444 (mode-line-eol-desc, propertized-buffer-identification):
4445 Consistency fixes for help text.
cbe46e5f
CY
4446 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4447 set-buffer-file-coding-system (Bug#289).
4448 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4449
f2d6a3df
SM
44502012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * simple.el (execute-extended-command): Set real-this-command
4453 (bug#11506).
4454
37269466
CY
44552012-06-02 Chong Yidong <cyd@gnu.org>
4456
4457 Remove incorrect uses of "modeline" in comments, docstrings, and
4458 function/variable names (Bug#10329).
4459
4460 * cus-edit.el (mode-line):
4461 * dframe.el (dframe-mouse-hscroll):
4462 * emacs-lisp/re-builder.el:
4463 * emacs-lisp/easy-mmode.el (define-minor-mode):
4464 * frame.el (set-frame-name):
4465 * help.el (lookup-minor-mode-from-indicator):
4466 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4467 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4468 (c-toggle-hungry-state):
4469 * progmodes/antlr-mode.el (antlr-language-alist):
4470 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4471 * progmodes/vhdl-mode.el (vhdl-mode):
4472 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4473 * term/ns-win.el (ns-face-at-pos):
4474 * term/sup-mouse.el (sup-mouse-report):
4475 * textmodes/flyspell.el (flyspell-mode-line-string):
4476 * textmodes/ispell.el (ispell-highlight-face):
4477 * textmodes/reftex-global.el:
4478 * vc/vc-arch.el (vc-arch-mode-line-string):
4479 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4480 * vc/vc-git.el (vc-git-mode-line-string):
4481 * vc/vc-hooks.el (vc-display-status)
4482 (vc-default-mode-line-string):
4483 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4484
4485 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4486
4487 * dired.el (dired-sort-set-mode-line): Rename from
4488 dired-sort-set-modeline. All callers changed.
4489
4490 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4491 eshell-status-in-modeline.
4492
4493 * foldout.el (foldout-mode-line-string): Rename from
4494 foldout-modeline-string. All callers changed.
4495 (foldout-update-mode-line): Rename from foldout-update-modeline.
4496
4497 * subr.el (redraw-modeline): Make into obsolete alias.
4498
4499 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4500 timeclock-modeline-display. Make old name an alias.
4501 (timeclock-update-mode-line): Likewise. All callers changed.
4502 (timeclock-mode-line-display): No need to check before using
4503 add-hook.
4504 (timeclock-relative, timeclock-day-over-hook)
4505 (timeclock-use-elapsed, timeclock-mode-string)
4506 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4507
4508 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4509 crisp-mode-modeline-string.
4510
4511 * play/solitaire.el (solitaire-build-mode-line): Rename from
4512 solitaire-build-modeline. All callers changed.
4513
4514 * play/zone.el (zone-hiding-mode-line): Rename from
4515 zone-hiding-modeline. All callers changed.
4516 (zone): Remove unusued `modeline-hidden-level' property.
4517
4518 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4519 xscheme-modeline-initialize. All callers changed.
4520
4521 * strokes.el (strokes-lighter): Rename from
4522 strokes-modeline-string.
4523
4524 * textmodes/sgml-mode.el (html-face-tag-alist)
4525 (html-tag-face-alist): Use mode-line face instead of obsolete
4526 alias modeline.
4527
42152ee4
SM
45282012-06-02 Stefan Merten <smerten@oekonux.de>
4529
4530 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4531 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4532
95f520b5
CY
45332012-06-02 Chong Yidong <cyd@gnu.org>
4534
4535 * image.el (imagemagick-enabled-types): Rename from
4536 imagemagick-types-enable. Add many more types.
4537 (imagemagick-types-inhibit): Change default to nil.
4538 (imagemagick-filter-types): Caller changed.
4539
4a5f187a
SM
45402012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4541
03fef3e6
SM
4542 * emacs-lisp/cl-macs.el: Use backquotes.
4543 (cl-transform-function-property): Use eval-and-compile rather than
4544 abusing `require'.
4545 (defstruct): Use declare-function instead of with-no-warnings.
4546
4a5f187a
SM
4547 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4548 (byte-compile-output-docform): Re-add the print-circle bindings.
4549 (byte-compile-fix-header): Use #$ just because it's shorter.
4550 (byte-compile-output-file-form): Remove defun/defmacro.
4551
bd56924f
MR
45522012-06-01 Martin Rudalics <rudalics@gmx.at>
4553
4554 * simple.el (choose-completion): Remove now obsolete binding for
4555 owindow.
4556
046e38ce
MA
45572012-06-01 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4560 in order to avoid "Stack overflow in regexp matcher".
4561
32d72c2f
GM
45622012-05-31 Glenn Morris <rgm@gnu.org>
4563
4564 * image.el: For clarity, call imagemagick-register-types at
4565 top-level, rather than relying on a custom :initialize.
4566 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4567 (imagemagick-filter-types): New function. (Bug#7406)
4568 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4569 If disabling support, remove elements altogether rather
4570 than using an impossible regexp.
4571 (imagemagick-types-inhibit): Give it the default init function.
4572
dd41169b
SM
45732012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4a5f187a
SM
4575 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4576 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4577
efc00ab1 45782012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4579
4580 * desktop.el (desktop-read): Clear previous and next buffers for
4581 all windows and bury *Messages* buffer (bug#11556).
4582
500fcedc
SM
45832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 Add `declare' for `defun'. Align `defmacro's with it.
4586 * emacs-lisp/easy-mmode.el (define-minor-mode)
4587 (define-globalized-minor-mode): Don't autoload the var definitions.
4588 * emacs-lisp/byte-run.el: Use lexical-binding.
4589 (defun-declarations-alist, macro-declarations-alist): New vars.
4590 (defmacro, defun): Use them.
4591 (make-obsolete, define-obsolete-function-alias)
4592 (make-obsolete-variable, define-obsolete-variable-alias):
4593 Use `declare'.
4594 (macro-declaration-function): Mark obsolete.
4595 * emacs-lisp/autoload.el: Use lexical-binding.
4596 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4597
6e8a1786
AM
45982012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4599
4600 * textmodes/ispell.el (ispell-with-no-warnings):
4601 Define as a macro.
500fcedc
SM
4602 (ispell-kill-ispell, ispell-change-dictionary):
4603 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4604 `interactive-p'.
4605
61b108cc
SM
46062012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4609 (macro-declaration-function): Move var from C code.
4610 (macro-declaration-function): Define function with defalias.
4611 * emacs-lisp/macroexp.el (macroexpand-all-1):
4612 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4613 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4614 defun/defmacro any more.
4615 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4616 Provide fallback for unknown arglist.
4617 (byte-compile-arglist-warn): Change calling convention.
4618 (byte-compile-output-file-form): Move print-vars binding.
4619 (byte-compile-output-docform): Simplify accordingly.
4620 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4621 (byte-compile-defmacro-declaration): Remove.
4622 (byte-compile-file-form-defmumble): Generalize to defalias.
4623 (byte-compile-output-as-comment): Return byte-positions.
4624 Simplify callers accordingly.
4625 (byte-compile-lambda): Use `assert'.
4626 (byte-compile-defun, byte-compile-defmacro): Remove.
4627 (byte-compile-file-form-defalias):
4628 Use byte-compile-file-form-defmumble.
4629 (byte-compile-defalias-warn): Remove.
4630
6d3f7c2f
SM
46312012-05-29 Stefan Merten <smerten@oekonux.de>
4632
4633 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4634 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4635
4636 (rst-mode-abbrev-table): Merge definition.
4637 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4638 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4639
6dbaa1c7
UJ
46402012-05-29 Ulf Jasper <ulf.jasper@web.de>
4641
4642 * calendar/icalendar.el
4643 (icalendar-export-region): Export UID properly.
4644
d209e2fb 46452012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4646 * calendar/icalendar.el (icalendar-import-format):
4647 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4648 (icalendar-import-format-uid): New.
4649 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4650 Export UID.
4651
6876a58d
SM
46522012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4655 different alternative patterns.
4656 (pcase-codegen): Be more careful to preserve identity.
4657 (pcase--u1): Don't forget to mark vars as used.
4658
4659 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4660 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4661 (byte-compile-from-buffer): ...rather than here.
4662
4663 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4664 functions from byte-compile-function-environment.
4665
46b7967e
TN
46662012-05-29 Troels Nielsen <bn.troels@gmail.com>
4667
4668 * window.el (window-deletable-p): Avoid deleting the root window
4669 of a frame with an active minibuffer.
4670
69d565e2
MR
46712012-05-29 Martin Rudalics <rudalics@gmx.at>
4672
4673 * simple.el (choose-completion): Use quit-window (Bug#11567).
4674
a149fa51
CY
46752012-05-29 Chong Yidong <cyd@gnu.org>
4676
4677 * whitespace.el (whitespace-cleanup): Fix usage of
4678 whitespace-empty-at-bob-regexp (Bug#11492).
4679
2b311310
AH
46802012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4681
4682 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4683 revert (Bug#11488).
4684
b9cb2387
JL
46852012-05-29 Juri Linkov <juri@jurta.org>
4686
4687 * isearch.el (isearch-mode-map): Bind `M-s _' to
4688 `isearch-toggle-symbol'. Bind `M-s c' to
4689 `isearch-toggle-case-fold'.
4690 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4691 (isearch-forward): Add `M-s _' to the docstring.
4692 (isearch-forward-symbol, isearch-toggle-case-fold)
4693 (isearch-symbol-regexp): New functions. (Bug#11381)
4694
d5e61c1c
JL
46952012-05-29 Juri Linkov <juri@jurta.org>
4696
4697 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4698 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4699 a function, call it to get the regexp.
4700 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4701 property `isearch-message-prefix' instead of the string "word ".
4702 (isearch-search-fun-default): For the case of `isearch-word',
4703 return a lambda that calls re-search-forward/re-search-backward
4704 with a regexp returned by `word-search-regexp' or by the function
4705 in `isearch-word'.
4706
8cbd80f7
JL
47072012-05-29 Juri Linkov <juri@jurta.org>
4708
4709 * isearch.el (isearch-search-fun-default): New function.
4710 (isearch-search-fun): Move default part to the new function
4711 `isearch-search-fun-default'.
4712 (isearch-search-fun-function): Set the default value to
4713 `isearch-search-fun-default'. (Bug#11381)
4714
4715 * comint.el (comint-history-isearch-end):
4716 Use `isearch-search-fun-default'.
4717 (comint-history-isearch-search): Use `isearch-search-fun-default'
4718 and remove spacial case for `isearch-word'.
4719 (comint-history-isearch-wrap): Remove spacial case for
4720 `isearch-word'.
4721
4722 * hexl.el (hexl-isearch-search-function):
4723 Use `isearch-search-fun-default'.
4724
4725 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4726 Use `word-search-regexp' for `isearch-word'.
4727
4728 * misearch.el (multi-isearch-search-fun):
4729 Use `isearch-search-fun-default'.
4730
4731 * simple.el (minibuffer-history-isearch-search):
4732 Use `isearch-search-fun-default' and remove spacial case for
4733 `isearch-word'.
4734 (minibuffer-history-isearch-wrap): Remove spacial case for
4735 `isearch-word'.
4736
4737 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4738 Remove spacial case for `isearch-word'.
4739 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4740
85c8c5b6
AM
47412012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4742
4743 Decrease XEmacs incompatibilities.
4744 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4745 Use `string-match'.
4746 (flyspell-delete-region-overlays): Use alternative definition for
4747 XEmacs.
4748 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4749 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4750 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4751 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4752 `define-obsolete-face-alias' under XEmacs, but old method.
4753
4754 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4755 `with-no-warnings' definition or Emacs alias.
4756 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4757 (ispell-word): Do not use `region-p' if XEmacs.
4758
8cab9efc
AM
47592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4760
4761 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4762 Check for `ispell-dictionary-base-alist' instead of full
4763 `ispell-dictionary-alist'.
4764 (ispell-init-process): Show spellchecker when starting new Ispell
4765 process.
4766
fda91268
RZ
47672012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4770 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4771
694ea8e3
JB
47722012-05-27 Juanma Barranquero <lekktu@gmail.com>
4773
4774 * version.el (motif-version-string, gtk-version-string)
4775 (ns-version-string): Declare.
4776
e4d4f539
JL
47772012-05-27 Juri Linkov <juri@jurta.org>
4778
4779 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4780 after the `eval-defun-1' specialcaseing
4781 like in `edebug-eval-defun' (bug#10181).
4782
4783 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4784 like in `eval-defun-1'.
4785
33017faf 47862012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4787
fda91268
RZ
4788 * mail/sendmail.el (mail-yank-region):
4789 Recognize rmail-yank-current-message in addition to insert-buffer.
4790 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4791 a *mail* buffer created through rmail-start-mail with sendmail as
4792 mail-user-agent.
4793
33017faf
GM
47942012-05-27 Chong Yidong <cyd@gnu.org>
4795
4796 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4797 Default to 256 (Bug#11267).
4798
4799 * help.el (describe-mode): Doc fix.
4800
04188bb9
GM
48012012-05-26 Glenn Morris <rgm@gnu.org>
4802
38264cc9
GM
4803 * w32-fns.el (w32-init-info): Remove.
4804 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4805
eb7afdad
GM
4806 * info.el (info-initialize): For self-contained NS builds, put the
4807 included info/ directory at the front. (Bug#2791)
4808
04188bb9
GM
4809 * paths.el (Info-default-directory-list): Make it a defcustom,
4810 mainly so that we can use custom-initialize-delay.
4811
a179e3f7
SM
48122012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4813
43416392
SM
4814 * subr.el (buffer-has-markers-at): Mark obsolete.
4815
a179e3f7 4816 * subr.el (lambda): Use declare.
43416392 4817
a179e3f7
SM
4818 * emacs-lisp/lisp-mode.el (lambda):
4819 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4820
34a008d9
AH
48212012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4822
4823 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4824
0a3b289f
GM
48252012-05-26 Glenn Morris <rgm@gnu.org>
4826
4827 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4828
758c81e8
GM
48292012-05-25 Glenn Morris <rgm@gnu.org>
4830
f9f334f0
GM
4831 * paths.el: Remove no-byte-compile.
4832 * loadup.el: No need to load paths.el uncompiled.
4833
87eb79c2
GM
4834 * image.el (imagemagick-types-inhibit): Doc fix.
4835
758c81e8
GM
4836 * version.el: Remove no-byte-compile and associated formatting.
4837 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4838 is ancient code from when there was an "inc-vers.el".
4839
e7e85dc0
SM
48402012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * progmodes/gdb-mi.el: Minor style changes.
4843 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4844 Turn into minor modes.
4845 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4846 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4847 (gdb-shell): Remove unneeded let-binding.
4848 (gdb-get-many-fields): Eliminate O(n²) behavior.
4849
f31237a4
EZ
48502012-05-25 Eli Zaretskii <eliz@gnu.org>
4851
4852 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4853 platforms that don't link in fontset.c.
4854
bc1b21bb
JL
48552012-05-25 Juri Linkov <juri@jurta.org>
4856
4857 Use the same diff color scheme as in modern VCSes (bug#10181).
4858
4859 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4860 to avoid confusion with `diff-added' that now uses green colors.
4861 (diff-removed): Use shades of red.
4862 (diff-added): Use shades of green.
4863 (diff-changed): Leave just the yellow color.
4864 (diff-use-changed-face): New variable.
4865 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4866 how to highlight context diff changes.
4867 (diff-refine-change): Use shades of yellow.
4868 (diff-refine-removed): New face that uses shades of red.
4869 (diff-refine-added): New face that uses shades of green.
4870 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4871 `diff-refine-removed' in the call to `smerge-refine-subst'
4872 depending on the value of `diff-use-changed-face'.
4873
4874 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4875 (smerge-other): Use shades of green.
4876 (smerge-base): Use shades of yellow.
4877 (smerge-refined-change): Empty face.
4878 (smerge-refined-removed): New face that uses shades of red.
4879 (smerge-refined-added): New face that uses shades of green.
4880 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4881 args `props-r' and `props-a', and use them. Doc fix.
4882 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4883 on its value use different faces `smerge-refined-change',
4884 `smerge-refined-removed', `smerge-refined-added' in the call to
4885 `smerge-refine-subst'.
4886
4887 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4888 Add face condition `min-colors 88' with shades of red.
4889 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4890 `min-colors 88' with shades of green.
4891 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4892 `min-colors 88' with shades of yellow.
4893
6df9112c
GM
48942012-05-24 Glenn Morris <rgm@gnu.org>
4895
ead5edc0
GM
4896 * paths.el (prune-directory-list, remote-shell-program): Move to...
4897 * files.el (prune-directory-list, remote-shell-program): ...here.
4898 For the latter, delay initialization, prefer ssh, just search PATH.
4899
f18b81e6
GM
4900 * paths.el (term-file-prefix): Move to faces.el (the only user).
4901 * faces.el (term-file-prefix): Move here, make it a defcustom.
4902
ee2f89a6
GM
4903 * paths.el (news-directory, news-path, news-inews-program):
4904 Move to gnus/nnspool.el.
61a583ca 4905
f8815e4c
GM
4906 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4907
c8f3b42c
GM
4908 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4909 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4910 Make the latter a defcustom, with a delayed initialization.
4911
6df9112c
GM
4912 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4913 These were deleted from Gnus itself late 2010.
4914
5dadff36
JB
49152012-05-22 Juanma Barranquero <lekktu@gmail.com>
4916
9e1701c6
JB
4917 * progmodes/which-func.el (which-func-ff-hook):
4918 Check against user-error, not error.
4919
bd7239f5 4920 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4921 cl-specs.el, which no longer exists.
4922
3290526d
GM
49232012-05-22 Glenn Morris <rgm@gnu.org>
4924
4925 * info.el (info-emacs-bug): New command.
4926 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4927 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4928
ff0c3cfb
GM
49292012-05-21 Glenn Morris <rgm@gnu.org>
4930
4931 * makefile.w32-in (update-subdirs-SH):
4932 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4933
5814f126
SM
49342012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4935
a52c0aa0
SM
4936 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4937
5814f126
SM
4938 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4939 Simplify Maven regexp, and make sure the file can't start with a space
4940 (bug#11517).
4941
b847032c
GM
49422012-05-21 Glenn Morris <rgm@gnu.org>
4943
4944 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4945 Scrap superfluous subshells.
4946
3858bfe7
SM
49472012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4950 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4951
d14b0029
JB
49522012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4953
4954 * calc/calc.el (calc-ensure-consistent-units): New variable.
4955
a52c0aa0
SM
4956 * calc/calc-units.el (math-consistent-units-p)
4957 (math-check-unit-consistency): New functions.
4958 (calc-quick-units, calc-convert-units):
4959 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4960 is non-nil.
d14b0029
JB
4961 (calc-extract-units): Fix typo.
4962
60c4db3a
SM
49632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4964
77f3b62e
SM
4965 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4966
60c4db3a
SM
4967 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4968 (flyspell-default-deplacement-commands): Don't spell check after
4969 repeated window/frame switches (e.g. triggered by mouse-movement).
4970 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4971 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4972 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4973 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4974 Remove unused vars.
4975 (flyspell-get-casechars, flyspell-get-not-casechars):
4976 Simplify; Don't bother removing a ] just to add it back.
4977 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4978
d209e2fb 49792012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4980
4981 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4982 New functions.
bd7239f5 4983 (math-function-table): Add support for more C functions.
b1a10716 4984
3f1b25b5
AM
49852012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4986
090bd7cb
JB
4987 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4988 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4989 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4990
b581bb5c
SM
49912012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4994 their respective macro declarations.
4995 * skeleton.el (define-skeleton):
4996 * progmodes/compile.el (define-compilation-mode):
4997 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4998 (define-ibuffer-filter):
4999 * emacs-lisp/generic.el (define-generic-mode):
5000 * emacs-lisp/easy-mmode.el (define-minor-mode)
5001 (define-globalized-minor-mode):
5002 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5003 * emacs-lisp/byte-run.el (defsubst):
5004 * custom.el (deftheme): Add doc-string metadata.
5005
70b8ef8f
SM
50062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5009
b1198e17
SM
50102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5011
9abdc45d
SM
5012 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5013
b1198e17
SM
5014 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5015 * emacs-lisp/cl-macs.el: Idem.
5016 * emacs-lisp/cl-specs.el: Remove.
5017
4735906a
SM
50182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 Minor renaming of internal CL functions and variables.
5021 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5022 (cl--position): Rename from cl-position.
5023 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5024 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5025 (cl--random-state): Rename from *random-state*.
5026
ac348012
SM
50272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5030 parens around the arg list (bug#11499).
5031
a0a79cde
JL
50322012-05-17 Juri Linkov <juri@jurta.org>
5033
5034 * isearch.el (word-search-regexp, word-search-backward)
5035 (word-search-forward, word-search-backward-lax)
5036 (word-search-forward-lax): Move functions from search.c
5037 (bug#10145, bug#11381).
5038
65034a51
AM
50392012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5040
090bd7cb
JB
5041 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5042 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5043 Delay for otherchars as for normal word components.
65034a51 5044
1a72a195
SM
50452012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * minibuffer.el (completion--sifn-requote): Fix last change.
5048 (minibuffer-local-must-match-filename-map):
5049 Move define-obsolete-variable-alias before its var.
5050
fdb058c2
SM
50512012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5052
c41045e6
SM
5053 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5054
036dfb8b
SM
5055 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5056 behavior.
5057 (completion--string-equal-p): New function.
5058 (completion--twq-all): Use it to get better assertion failure data.
5059
2473256d
SM
5060 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5061 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5062 (shell--requote-argument): New functions.
5063 (shell-completion-vars): Use them.
5064 (shell--parse-pcomplete-arguments): Rename from
5065 shell-parse-pcomplete-arguments.
5066 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5067 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5068 Obey comint-file-name-quote-list.
5069
fdb058c2
SM
5070 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5071 (smie-indent-keyword): Use it.
5072
51fa99f1
SM
50732012-05-14 Stefan Merten <smerten@oekonux.de>
5074
5075 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5076
e18afed7 50772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5078
5079 * net/rlogin.el (rlogin-mode-map): Fix last change.
5080
e18afed7 50812012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5082
5083 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5084 the following \r\n using a single `process-send-string', since the
5085 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5086 with two `process-send-string's (Bug#11444).
8633b1f4 5087
e18afed7 50882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5089
fdb058c2
SM
5090 * shell.el (shell-parse-pcomplete-arguments):
5091 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5092
2d21d7f6
WJ
50932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5094
e18afed7 5095 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5096 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5097 (image-transform-width, image-transform-fit-width): New functions.
5098 (image-transform-properties): Use them.
5099 (image-transform-check-size): New function.
5100 (image-toggle-display-image): Use it (for testing).
5101 (image-transform-set-rotation): Reduce angle mod 360.
5102 Delete obsolete comment.
5103
7102e6d0
WJ
51042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5105
5106 * image-mode.el: Fix scaling (bug#11399).
5107 (image-transform-resize): Doc fix.
5108 (image-transform-properties): Default scale is 1 and height should
5109 be an integer.
5110
06bc5e6e
SM
51112012-05-13 Johan Bockgård <bojohan@gnu.org>
5112
5113 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5114 than hard-coding `car', to fix misbehavior when moving forward.
5115
0ae03b6a
CY
51162012-05-13 Chong Yidong <cyd@gnu.org>
5117
5118 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5119 (tabulated-list-entries, tabulated-list-padding)
5120 (tabulated-list-sort-key): Make permanent-local.
5121
5122 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5123 (electric-buffer-list): Put electric buffer menu
5124 command descriptions in this docstring, instead of the docstring
5125 of electric-buffer-menu-mode. Code cleanups.
5126 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5127 Electric-buffer-menu-mode.
5128 (electric-buffer-update-highlight): Minor code cleanup.
5129
205a7391
MA
51302012-05-13 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5133 (Bug#11447)
5134
e5bd0a28
SM
51352012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 Move define-obsolete-variable-alias before the var's definition.
5138 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5139 * tooltip.el (tooltip-hook):
5140 * textmodes/reftex-toc.el (reftex-toc-map):
5141 * textmodes/reftex-sel.el (reftex-select-label-map)
5142 (reftex-select-bib-map):
5143 * textmodes/reftex-index.el (reftex-index-map)
5144 (reftex-index-phrases-map):
5145 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5146 * progmodes/meta-mode.el (meta-mode-map):
5147 * novice.el (disabled-command-hook):
5148 * loadhist.el (unload-hook-features-list):
5149 * frame.el (blink-cursor):
5150 * files.el (find-file-not-found-hooks, write-file-hooks)
5151 (write-contents-hooks):
5152 * emulation/tpu-edt.el (GOLD-map):
5153 * emacs-lock.el (emacs-lock-from-exiting):
5154 * emacs-lisp/generic.el (generic-font-lock-defaults):
5155 * emacs-lisp/chart.el (chart-map):
5156 * dos-fns.el (register-name-alist):
5157 * dired-x.el (dired-omit-files-p):
5158 * desktop.el (desktop-enable):
5159 * cus-edit.el (custom-mode-hook):
5160 * buff-menu.el (buffer-menu-mode-hook):
5161 * bookmark.el (bookmark-read-annotation-text-func)
5162 (bookmark-exit-hooks):
5163 * allout.el (allout-mode-deactivate-hook)
5164 (allout-exposure-change-hook, allout-structure-added-hook)
5165 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5166 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5167 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5168 comes before the corresponding variable's definition.
5169
ac59c2f6
CY
51702012-05-12 Chong Yidong <cyd@gnu.org>
5171
5172 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5173 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5174 (Buffer-menu-mode-map): Bind it.
5175 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5176
dee6c9a3
SM
51772012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5178
2171cea5
SM
5179 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5180 (prolog-upper-case-string, prolog-lower-case-string)
5181 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5182 (prolog-use-smie, prolog-smie-grammar): New vars.
5183 (prolog-smie-forward-token, prolog-smie-backward-token)
5184 (prolog-smie-rules): New funs.
5185 (prolog-comment-indent): Remove.
5186 (prolog-mode-variables): Use default comment indentation instead.
5187 Setup SMIE.
5188 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5189 (prolog-mode): Don't call them any more.
5190 (prolog-electric-colon, prolog-electric-dash)
5191 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5192
aa0382bd
SM
5193 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5194
dbacb4bd
SM
5195 * minibuffer.el (completion--twq-all): Again, allow case differences.
5196
13bdd94c
SM
5197 * term.el: Move keymap initialization code to be more idiomatic.
5198 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5199 (term-terminal-menu): Move initialization into declaration.
5200 (term-escape-char): Let the user set it in her .emacs.
5201
ff46c759
SM
5202 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5203 Provide SMIE-based indentation (not enabled by default yet).
5204 (sh-mode-map): Don't bind electric keys.
5205 Use electric-pair-mode instead of skeleton-pair.
5206 (sh-assignment-regexp): Fit within 80 columns.
5207 (sh-indent-supported): Specify actual shell name instead of boolean.
5208 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5209 (sh-maybe-here-document): Use it. Make obsolete.
5210 (sh-electric-here-document-mode) New minor mode.
5211 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5212 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5213 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5214 (sh-smie-rc-grammar, sh-use-smie): New vars.
5215 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5216 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5217 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5218 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5219 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5220 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5221 (sh-set-shell): Use smie-setup if requested.
5222
dee6c9a3
SM
5223 * term.el (term-set-escape-char): Properly set term-escape-char.
5224 See http://stackoverflow.com/questions/10524656.
5225
9f9aa044
CY
52262012-05-10 Chong Yidong <cyd@gnu.org>
5227
5228 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5229 Use url-generic-parse-url, and handle host names and Windows
5230 filenames properly.
5231 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5232 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5233 URL schemes to work on.
5234 (ffap--toggle-read-only): New function.
5235 (ffap-read-only, ffap-read-only-other-window)
5236 (ffap-read-only-other-frame): Use it.
5237 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5238 necessary for ffap-url-unwrap-remote.
5239
836d29b3
DA
52402012-05-10 Dave Abrahams <dave@boostpro.com>
5241
5242 * cus-start.el (create-lockfiles): Add it.
5243
00fd78ed
CY
52442012-05-09 Chong Yidong <cyd@gnu.org>
5245
5246 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5247 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5248
666b903b 52492012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5250
5251 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5252
666b903b 52532012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5254
5255 * ansi-color.el (ansi-color-process-output): Check for validity of
5256 comint-last-output-start before using it. This avoids a bad
5257 interaction with gdb-mi's input/output buffer.
5258
666b903b 52592012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5260
5261 * files.el (dir-locals-read-from-file):
5262 Mention dir-locals in any error message.
5263
666b903b 52642012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5265
5266 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5267 package (Bug#11410).
5268
f677562b
CY
5269 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5270 variables into description.
5271
666b903b 52722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5273
5274 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5275 shell-delimiter-argument-list (bug#11348).
5276 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5277
b499d8d0
JB
52782012-05-09 Juanma Barranquero <lekktu@gmail.com>
5279
8f6b6da8
JB
5280 * textmodes/rst.el: Silence byte-compiler warnings.
5281 (rst-re-alist, rst-reset-section-caches): Move around.
5282 (rst-re): Use `characterp', not `char-valid-p'.
5283 (font-lock-beg, font-lock-end): Declare.
5284
4824146a
JB
5285 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5286 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5287
b499d8d0
JB
5288 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5289
ad89bb83
GM
52902012-05-08 Glenn Morris <rgm@gnu.org>
5291
5292 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5293
8bba5a75
SM
52942012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5295
49ed9c8e
SM
5296 * vc/log-edit.el: Add GNU coding standards highlighting.
5297 (log-edit-font-lock-gnu-style)
5298 (log-edit-font-lock-gnu-keywords): New vars.
5299 (log-edit-font-lock-keywords): New fun.
5300 (log-edit-mode): Don't fold case in font-lock.
5301 (log-edit-font-lock-keywords): Do not assume case-folding.
5302
07d00b56
SM
5303 * imenu.el: Misc cleanup. Make docstrings out of comments.
5304 Use lexical-binding.
5305 (imenu--index-alist, imenu--last-menubar-index-alist)
5306 (imenu-menubar-modified-tick): Use defvar-local.
5307 (imenu--split-menu): Remove unused var.
5308 (imenu--cleanup-seen): Declare as global.
5309 (imenu--cleanup): Use dolist.
5310
8bba5a75
SM
5311 * subr.el (defvar-local): Add debug spec and doc-string position.
5312
5075bdb5
GM
53132012-05-08 Glenn Morris <rgm@gnu.org>
5314
090bd7cb 5315 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5316 * language/english.el, language/georgian.el, language/greek.el:
5317 * language/japanese.el, language/khmer.el, language/korean.el:
5318 * language/lao.el, language/misc-lang.el, language/romanian.el:
5319 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5320 * language/thai.el, language/utf-8-lang.el:
5321 Remove no-byte-compile setting.
5322
5075bdb5
GM
5323 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5324
06f679a7
AH
53252012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5326
5327 * progmodes/make-mode.el (makefile-browse):
5328 Remove unnecessary interactive. (Bug#11324)
5329
03794570
GM
53302012-05-07 Glenn Morris <rgm@gnu.org>
5331
af8630f4
GM
5332 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5333
03794570
GM
5334 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5335
f0809a9d
SM
53362012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5337
28be5ce7
SM
5338 * loadup.el: Preload newcomment.el.
5339 * newcomment.el: Move autoload-only code to toplevel.
5340
f0809a9d
SM
5341 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5342 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5343 Handle new :right-align column property.
5344 (tabulated-list-print-col): Idem, plus use `display' text-property to
5345 try and preserve alignment for variable pitch fonts.
5346
1241b724
CY
53472012-05-07 Chong Yidong <cyd@gnu.org>
5348
5349 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5350 (tabulated-list-use-header-line): New var.
5351 (tabulated-list-init-header): Use it.
5352 (tabulated-list-print-fake-header): New function.
5353 (tabulated-list-print): Use it.
5354 (tabulated-list-sort-button-map): Add non-header-line commands.
5355 (tabulated-list-init-header): Add column name property to basic
5356 labels as well.
5357 (tabulated-list-col-sort): Handle non-header-line button case.
5358 (tabulated-list--sort-by-column-name): Fix a corner case.
5359
f0809a9d
SM
5360 * buff-menu.el (list-buffers--refresh):
5361 Handle Buffer-menu-use-header-line.
1241b724 5362
e5f9458f
CY
53632012-05-06 Chong Yidong <cyd@gnu.org>
5364
5365 * buff-menu.el: Convert to Tabulated List mode.
5366 (Buffer-menu-buffer+size-width): Make obsolete.
5367 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5368 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5369 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5370 documentation into docstring of buffer-menu.
5371 (Buffer-menu-toggle-files-only): Add an informative message.
5372 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5373 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5374 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5375 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5376 (Buffer-menu-execute, Buffer-menu-select)
5377 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5378 (Buffer-menu-bury): Use Tabulated List machinery.
5379 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5380 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5381 Delete.
e5f9458f
CY
5382 (list-buffers--refresh): New function.
5383 (list-buffers-noselect): Use it.
5384 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5385 (Buffer-menu--pretty-file-name): New helper functions.
5386
5387 * loadup.el: Preload tabulated-list.
5388
5389 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5390 tabulated-list-sort-column.
5391 (tabulated-list-init-header): Add the initial aligning space even
5392 if tabulated-list-padding is zero.
5393
e129292c
CS
53942012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5395
5396 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5397 whose cdr is not a cons cell correctly (bug#11038).
5398
6632d361
CY
53992012-05-06 Chong Yidong <cyd@gnu.org>
5400
e129292c
CS
5401 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5402 Accept additional plist in column descriptors.
6632d361
CY
5403 (tabulated-list-init-header): Obey it.
5404 (tabulated-list-get-entry): New function.
5405 (tabulated-list-put-tag): Use it. Use string-width instead of
5406 length.
5407 (tabulated-list--column-number): New function.
5408 (tabulated-list-print): Use it.
e129292c
CS
5409 (tabulated-list-print-col): New function.
5410 Set `tabulated-list-column-name' property on each column's text.
6632d361 5411 (tabulated-list-print-entry): Use it.
e129292c
CS
5412 (tabulated-list-delete-entry, tabulated-list-set-col):
5413 New functions.
6632d361
CY
5414 (tabulated-list-sort-column): New command (Bug#11337).
5415
3cc99f68
CY
5416 * buff-menu.el (list-buffers): Move C-x C-b binding from
5417 buff-menu.el to bindings.el.
5418
5419 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5420 :advertised-binding feature.
5421
52b61776
TN
54222012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5423
5424 * progmodes/compile.el (compilation-internal-error-properties):
5425 Calculate start position correctly when end-col is set but
5426 end-line is not (Bug#11382).
5427
ebfe2597
WJ
54282012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5429
5430 * man.el (Man-unindent): Use text-property-default-nonsticky to
5431 prevent untabify from inheriting face properties (Bug#11408).
5432
6d3f7c2f
SM
54332012-05-05 Stefan Merten <smerten@oekonux.de>
5434
5435 * textmodes/rst.el: Major merge with upstream development up to
5436 Docutils SVN r7399 / rst.el V1.2.1.
5437
5438 Clarify maintainership and authors.
5439
5440 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5441 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5442 (rst-official-version, rst-official-cvs-rev, rst-version)
5443 (rst-package-emacs-version-alist): New functions and variables
5444 for version information.
5445
5446 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5447 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5448 (rst-mode-syntax-table, rst-mode): New and corrected functions
5449 and variables representing reStructuredText features.
5450
5451 (rst-re): New function for reStructuredText regexes. Use in
5452 many places.
5453
5454 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5455 (rst-mode-map): Rebind keys.
5456
5457 (rst-mode-lazy, rst-font-lock-keywords)
5458 (rst-font-lock-extend-region)
5459 (rst-font-lock-extend-region-internal)
5460 (rst-font-lock-extend-region-extend)
5461 (rst-font-lock-find-unindented-line-limit)
5462 (rst-font-lock-find-unindented-line-match)
5463 (rst-adornment-level, rst-font-lock-adornment-level)
5464 (rst-font-lock-adornment-match)
5465 (rst-font-lock-handle-adornment-pre-match-form)
5466 (rst-font-lock-handle-adornment-matcher): Major revision of
5467 font-locking. Integrate with other code. Use `jit-lock-mode'.
5468
5469 (rst-preferred-adornments, rst-adjust-hook)
5470 (rst-new-adornment-down, rst-preferred-bullets)
5471 (rst-preferred-bullets, rst-indent, rst-indent-width)
5472 (rst-indent-field, rst-indent-literal-normal)
5473 (rst-indent-literal-minimized, rst-indent-comment): Change,
5474 extend and improve customization.
5475
5476 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5477 (rst-normalize-cursor-position, rst-get-decoration)
5478 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5479 (rst-rstrip, rst-toc-insert-find-delete-contents)
5480 (rst-shift-fill-region, rst-compute-bullet-tabs)
5481 (rst-debug-print-tabs, rst-debug-mark-found)
5482 (rst-shift-region-guts, rst-shift-region-right)
5483 (rst-shift-region-left, rst-use-char-classes)
5484 (rst-font-lock-keywords-function)
5485 (rst-font-lock-indentation-point)
5486 (rst-font-lock-find-unindented-line-begin)
5487 (rst-font-lock-find-unindented-line-end)
5488 (rst-font-lock-find-unindented-line)
5489 (rst-font-lock-adornment-point, rst-font-lock-level)
5490 (rst-adornment-level-alist): Remove functions and variables.
5491
5492 (rst-compare-adornments, rst-get-adornment-match)
5493 (rst-suggest-new-adornment, rst-get-adornments-around)
5494 (rst-adornment-complete-p, rst-get-next-adornment)
5495 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5496 (rst-straighten-adornments): Standardize function names to
5497 use "adornment" instead of "decoration". Correct callers.
5498 Similar standardizing in many places.
5499
5500 (rst-update-section, rst-adjust, rst-promote-region)
5501 (rst-enumerate-region, rst-bullet-list-region)
5502 (rst-repeat-last-character): Correct use of `interactive'.
5503
5504 (rst-classify-adornment, rst-find-all-adornments)
5505 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5506 (rst-find-leftmost-column, rst-repeat-last-character):
5507 Refactor functions.
5508
5509 (rst-find-title-line, rst-reset-section-caches)
5510 (rst-get-adornments-around, rst-adjust-adornment-work)
5511 (rst-arabic-to-roman, rst-roman-to-arabic)
5512 (rst-insert-list-pos, rst-insert-list-new-item)
5513 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5514 New functions.
5515
5516 (rst-all-sections, rst-section-hierarchy)
5517 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5518 New variables.
5519
5520 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5521 configuration instead of only buffer. Change where necessary.
5522
5523 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5524 (rst-shift-region, rst-adaptive-fill): New functions for
5525 indentation and filling.
5526
5527 (rst-comment-line-break, rst-comment-indent)
5528 (rst-comment-insert-comment, rst-comment-region)
5529 (rst-uncomment-region): New functions for handling comments.
5530
5531 (rst-compile): Quote shell arguments.
5532
5533 (rst-compile-pdf-preview, rst-compile-slides-preview):
5534 Delete temporary files after use.
5535
a43f98b3
GM
55362012-05-05 Glenn Morris <rgm@gnu.org>
5537
48176e8b
GM
5538 * calendar/cal-html.el: Optionally include holidays in the output.
5539 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5540 (cal-html-holidays): New option.
5541 (cal-html-css-default): Add holiday entry.
5542 (holiday-in-range): Autoload it.
5543 (cal-html-htmlify-entry): Add optional class argument.
5544 (cal-html-htmlify-list): Add optional holidays argument.
5545 (cal-html-insert-agenda-days): Include holidays in the output.
5546 (cal-html-one-month): Maybe include holidays.
5547
a43f98b3
GM
5548 * calendar/holidays.el (holiday-in-range):
5549 Move here from cal-tex-list-holidays.
5550 * calendar/cal-tex.el (cal-tex-list-holidays):
5551 Make it an obsolete alias for holiday-in-range. Update all callers.
5552
fef9d149 55532012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5554
5555 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5556 Nextstep.
5557
248da2f4
RW
55582012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5559
5560 * files.el (file-auto-mode-skip): New var.
5561 (set-auto-mode-1): Use it.
5562
f95e9344
SM
55632012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5564
df96ab1e
SM
5565 * repeat.el: Use lexical-binding.
5566 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5567 (repeat-undo-count): Remove.
5568 (repeat):
5569 * progmodes/octave-mod.el (octave-abbrev-start):
5570 * progmodes/f90.el (f90-abbrev-start):
5571 * face-remap.el (text-scale-adjust):
5572 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5573
5342bb06
SM
5574 * emacs-lisp/pcase.el (pcase--let*): New function.
5575 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5576 a bit more.
5577 (pcase--split-pred): Be more clever about ruling out overlap between
5578 a predicate and some constant pattern.
5579 (pcase--q1): Use `null' instead of (eq foo nil).
5580
f95e9344
SM
5581 * subr.el (setq-local, defvar-local): New macros.
5582 (kbd): Redefine as an alias.
5583 (with-selected-window): Leave unrelated frames alone.
5584 (set-temporary-overlay-map): New function.
5585
71873e2b
SM
55862012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * subr.el (user-error): New function.
5589 * window.el (switch-to-buffer):
5590 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5591 (smerge-match-conflict):
5592 * simple.el (previous-matching-history-element)
5593 (next-matching-history-element, goto-history-element, undo-more)
5594 (undo-start):
5595 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5596 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5597 (next-file, tags-loop-scan, list-tags, complete-tag):
5598 * progmodes/compile.el (compilation-loop):
5599 * mouse.el (mouse-minibuffer-check):
5600 * man.el (Man-bgproc-sentinel, Man-goto-page):
5601 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5602 (Info-history-forward, Info-follow-reference, Info-menu)
5603 (Info-extract-menu-item, Info-extract-menu-counting)
5604 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5605 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5606 (Info-next-reference, Info-prev-reference, Info-index)
5607 (Info-index-next, Info-follow-nearest-node)
5608 (Info-copy-current-node-name):
5609 * imenu.el (imenu--make-index-alist)
5610 (imenu-default-create-index-function, imenu-add-to-menubar):
5611 * files.el (basic-save-buffer, recover-file):
5612 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5613 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5614 (checkdoc-message-text, checkdoc-defun):
5615 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5616 * cus-edit.el (customize-changed-options, customize-rogue)
5617 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5618 (custom-variable-mark-to-reset-standard)
5619 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5620 (custom-file):
5621 * completion.el (check-completion-length):
5622 * comint.el (comint-search-arg)
5623 (comint-previous-matching-input-string-position)
5624 (comint-previous-matching-input)
5625 (comint-replace-by-expanded-history-before-point, comint-send-input)
5626 (comint-copy-old-input, comint-backward-matching-input)
5627 (comint-goto-process-mark, comint-set-process-mark):
5628 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5629 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5630
8a61ee22
SM
56312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5632
66408d1e
SM
5633 * dabbrev.el (dabbrev--ignore-case-p): New function.
5634 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5635 Use it.
5636
8a61ee22
SM
5637 * files.el (automount-dir-prefix): Mark as obsolete.
5638
3c74813a
GM
56392012-05-04 Glenn Morris <rgm@gnu.org>
5640
5641 * patcomp.el, play/bruce.el: Move to obsolete/.
5642
0bfcf5c5
PE
56432012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5644
5645 Fix minor Y10k bugs.
5646 * arc-mode.el (archive-unixdate):
5647 * autoinsert.el (auto-insert-alist):
5648 * calc/calc-forms.el (math-this-year):
5649 * emacs-lisp/copyright.el (copyright-current-year)
5650 (copyright-update-year, copyright):
5651 * tar-mode.el (tar-clip-time-string):
5652 * time.el (display-time-update):
5653 Don't assume years have 4 digits.
5654
78f3273a
CY
56552012-05-04 Chong Yidong <cyd@gnu.org>
5656
5657 * dos-w32.el (file-name-buffer-file-type-alist)
5658 (direct-print-region-use-command-dot-com):
5659 * ffap.el (ffap-menu-regexp):
5660 * find-file.el (ff-special-constructs):
5661 * follow.el (follow-debug):
5662 * forms.el (forms--debug):
5663 * iswitchb.el (iswitchb-all-frames):
5664 * ido.el (ido-all-frames):
5665 * emacs-lisp/timer.el (timer-max-repeats):
5666 * mail/feedmail.el (feedmail-mail-send-hook)
5667 (feedmail-mail-send-hook-queued):
5668 * mail/footnote.el (footnote-signature-separator):
5669 * mail/mailabbrev.el (mail-alias-separator-string)
5670 (mail-abbrev-mode-regexp):
5671 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5672 * progmodes/idlwave.el (idlwave-libinfo-file)
5673 (idlwave-default-completion-case-is-down)
5674 (idlwave-library-routines): Convert defvars to defcustoms.
5675
5676 * mail/rmail.el (rmail-decode-mime-charset):
5677 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5678 (idlwave-shell-fix-inserted-breaks)
5679 (idlwave-shell-activate-alt-keybindings)
5680 (idlwave-shell-use-breakpoint-glyph):
5681 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5682
f7ae6719
SM
56832012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5686
47086495
WS
56872012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5688
5689 * progmodes/verilog-mode.el (font-lock-keywords):
5690 Fix mis-highligting auto. Reported by Craig Barner.
5691 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5692 defines from global name space. Reported by Dan Dever.
47086495
WS
5693 (verilog-auto-reset, verilog-auto-reset-widths)
5694 (verilog-auto-tieoff): Support using unbased numbers for
5695 AUTORESET and AUTOTIEOFF.
5696 (verilog-submit-bug-report): Update variable list.
5697 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5698 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5699 (verilog-auto-template-lint): Fix hash error when linting modules
5700 with no used templates.
5701 (verilog-warn, verilog-warn-error)
5702 (verilog-warn-fatal): When non-interactive report multiple
5703 warnings before exiting. Suggested by Brad Dobbie.
5704 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5705 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5706 to report unused template errors. Reported by Brad Dobbie.
5707 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5708 nets, bug438. Reported by Vns Blore.
47086495
WS
5709 (verilog-auto-inout-module, verilog-auto-reg)
5710 (verilog-read-decls, verilog-read-sub-decls-sig)
5711 (verilog-signals-edit-wire-reg, verilog-signals-with):
5712 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5713 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5714 "reg" for backwards compatibility presuming Verilog 2001.
5715 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5716 (verilog-preprocess): Fix replication of preprocess output.
5717 Reported by Brad Dobbie.
5718 (verilog-auto-inst-interfaced-ports):
5719 Create verilog-auto-inst-interfaced-ports, bug429.
5720 Reported by Julian Gorfajn.
5721 (verilog-after-save-font-hook)
5722 (verilog-before-save-font-hook): New variable.
5723 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5724 (verilog-save-font-mods): Wrap disabling fontification, reported
5725 by David Rogoff.
5726 (verilog-do-indent, verilog-pretty-declarations-auto)
5727 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5728 Reported by Pierre-David Pfister.
5729 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5730 of class declarations, bug292. Reported by Kevin Heilman.
5731 (verilog-read-decls): Fix 'parameter type' not appearing in
5732 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5733 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5734 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5735 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5736 Reported by David Kravitz.
5737
57382012-05-03 Michael McNamara <mac@mail.brushroad.com>
5739
5740 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5741 assignment with tests in ifs and for loops.
5742 (verilog-extended-complete-re, verilog-complete-reg): Change so
5743 that DPI inport functions don't look like fuction declarations.
5744 (verilog-pretty-expr): Don't line up assignment
5745 operations to the test and increment in if and for loops
5746 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5747 that DPI inport functions don't look like fuction declarations.
47086495 5748
2e51d4b5
KH
57492012-05-03 Kenichi Handa <handa@m17n.org>
5750
5751 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5752 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5753 (Bug#11282).
5754
2bd785a2
SM
57552012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * emacs-lisp/bytecomp.el
5758 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5759 since cconv.el might have introduced :fun-body, internal-make-closure,
5760 and friends for bytecomp to handle (bug#11391).
5761 * custom.el (defcustom): Avoid ((λ ..) ..).
5762
99d27583
SM
57632012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5766
55a71479
JB
57672012-05-02 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * notifications.el (dbus-debug):
5770 * term/linux.el (gpm-mouse-enable):
5771 * term/screen.el (xterm-register-default-colors): Declare.
5772
7b97c764
CY
57732012-05-02 Chong Yidong <cyd@gnu.org>
5774
2bc356d7
CY
5775 * cus-start.el (gc-cons-percentage, exec-suffixes)
5776 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5777 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5778 (make-cursor-line-fully-visible, void-text-area-pointer)
5779 (font-list-limit): Add customization data.
5780
7b97c764
CY
5781 * allout.el (allout-exposure-change-functions)
5782 (allout-structure-added-functions)
5783 (allout-structure-deleted-functions)
5784 (allout-structure-shifted-functions): Rename abnormal hooks from
5785 *-hook, and convert to defcustoms.
5d3385a0
JB
5786 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5787 Convert to defcustoms.
7b97c764
CY
5788 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5789
5790 * allout-widgets.el: Hook callers changed.
5791
90207a15 57922012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5793
5794 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5795 the yanked message in preference to the default value of
5796 buffer-file-coding-system.
5797
90207a15 57982012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5799
5d3385a0
JB
5800 * window.el (display-buffer--action-function-custom-type):
5801 Fix entry.
d9558cad 5802
90207a15 58032012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5804
5805 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5806
d80ac57b
GM
58072012-05-01 Glenn Morris <rgm@gnu.org>
5808
976f7668
GM
5809 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5810
beb83b5a
GM
5811 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5812
d80ac57b
GM
5813 * cus-edit.el (custom-variable-documentation): Simplify with format.
5814
b593d6a9 58152012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5816 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5817
5818 * simple.el (suggest-key-bindings, execute-extended-command):
5819 Move from keyboard.c.
5820
782fbf2a
CY
58212012-05-01 Chong Yidong <cyd@gnu.org>
5822
5823 * follow.el: Eliminate advice.
5824 (set-process-filter, process-filter, sit-for): Advice deleted.
5825 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5826 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5827 Vars deleted.
782fbf2a
CY
5828 (follow-auto): Use a :set function.
5829 (follow-mode): Rewritten. Don't advise process filters.
5830 (follow-switch-to-current-buffer-all, follow-scroll-up)
5831 (follow-scroll-down): Assume follow-mode is bound.
5832 (follow-comint-scroll-to-bottom)
5833 (follow-align-compilation-windows): New functions.
5834 (follow--window-sorter): New function.
5835 (follow-all-followers): Use it to explicitly sort windows by their
5836 positions; don't make assumptions about next-window order.
5837 (follow-windows-start-end, follow-delete-other-windows-and-split)
5838 (follow-calc-win-start): Doc fix.
5839 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5840 vertical-motion unnecessarily.
5841 (follow-adjust-window): New function.
5842 (follow-post-command-hook): Use it.
5843 (follow-call-set-process-filter, follow-call-process-filter)
5844 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5845 (follow-stop-intercept-process-output, follow-generic-filter):
5846 Functions deleted.
5847 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5848 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5849 New functions, replacing advice on scroll-bar-* commands.
87233a14 5850 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5851
5852 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5853 (comint-postoutput-scroll-to-bottom): Use it.
5854 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5855
290af740
GM
58562012-05-01 Glenn Morris <rgm@gnu.org>
5857
5858 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5859 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5860 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5861 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5862 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5863 Remove no-byte-compile setting.
5864
6eac8dc9
SM
58652012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5868 all-completions code to not return a number in the last cdr.
5869
9cc7819c
LL
58702012-04-30 Leo Liu <sdl.web@gmail.com>
5871
5872 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5873 read-only error.
5874
c93b886f
CY
58752012-04-29 Chong Yidong <cyd@gnu.org>
5876
5877 * follow.el (follow-calc-win-end): Rewrite to handle partial
5878 screen lines correctly (Bug#8390).
5879 (follow-avoid-tail-recenter): Minor cleanup.
5880
8b6c19f4
SM
58812012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 Avoid the obsolete `assoc' package.
5884 * speedbar.el (speedbar-refresh): Avoid adelete.
5885 (speedbar-file-lists): Simplify and avoid aput.
5886 * man.el (Man--sections, Man--refpages): New vars, replacing
5887 Man-sections-alist and Man-refpages-alist.
5888 (Man-build-section-alist, Man-build-references-alist):
5889 Use them; avoid aput.
5890 (Man--last-section, Man--last-refpage): New vars.
5891 (Man-follow-manual-reference): Use them.
5892 Use the `default' arg of completing-read.
5893 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5894
c5bb7569
CY
58952012-04-27 Chong Yidong <cyd@gnu.org>
5896
d1d2e2e8
CY
5897 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5898
15cd8efd
CY
5899 * startup.el (x-apply-session-resources): New function.
5900
5901 * term/ns-win.el (ns-initialize-window-system):
5902 * term/w32-win.el (w32-initialize-window-system):
5903 * term/x-win.el (x-initialize-window-system): Use it to properly
5904 set menu-bar-mode and other vars from X resources, even if the
5905 initial frame is not a window-system frame (Bug#2299).
5906
c5bb7569
CY
5907 * subr.el (read-key): Avoid running filter function when setting
5908 up temporary tool bar entries (Bug#9922).
5909
a8e7d6d7 59102012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5911
5912 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5913 (Bug#11344)
5914
a8e7d6d7 59152012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5916
5917 * select.el (xselect--encode-string): New function, split from
5918 xselect-convert-to-string.
5919 (xselect-convert-to-string): Use it.
5920 (xselect-convert-to-filename, xselect-convert-to-os)
5921 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5922 returned strings are properly encoded (Bug#11315).
5923
a8e7d6d7 59242012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5925
5926 * simple.el (delete-active-region): Move to killing custom group.
5927
a8e7d6d7 59282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5929
5930 * progmodes/which-func.el (which-func-current): Quote %
5931 characters for mode-line processing.
5932
578c1d4b 59332012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5934
5935 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5936 reaching eob (Bug#11286).
5937
a8e7d6d7 59382012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5939
5940 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5941 (gdb): Make it buffer-local and init to zero.
5942 (gdb-control-commands-regexp): New variable.
5943 (gdb-send): Don't wrap in "-interpreter-exec console" if
5944 gdb-control-level is positive. Increment gdb-control-level
5945 whenever the command matches gdb-control-commands-regexp, and
5946 decrement it each time the command is "end". (Bug#11279)
5947
a8e7d6d7 59482012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5949
5950 * window.el (adjust-window-trailing-edge, enlarge-window)
5951 (shrink-window, window-resize):
5952 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5953 windows (Bug#11276).
5954
b3608390
CY
59552012-04-27 Chong Yidong <cyd@gnu.org>
5956
5957 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5958 fix "missing prefix" warning. All callers changed.
b3608390 5959
797e6e88
SM
59602012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * emacs-lisp/assoc.el: Move to obsolete/.
5963
e95a67dc
SM
59642012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5965
657c21e4 5966 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5967
5968 * term/ns-win.el (ns-define-service):
5969 * progmodes/pascal.el (pascal-goto-defun):
5970 * progmodes/js.el (js--read-tab):
5971 * progmodes/etags.el (tags-lazy-completion-table):
5972 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5973 * emacs-lisp/ewoc.el (ewoc--wrap):
5974 * emacs-lisp/assoc.el (aput, adelete, amake):
5975 * doc-view.el (doc-view-convert-current-doc):
5976 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5977
cb3e7ae0
CY
59782012-04-26 Chong Yidong <cyd@gnu.org>
5979
dce04f7f
CY
5980 * image.el (image-type-from-buffer): Only return supported image
5981 type (Bug#9045).
5982
cb3e7ae0
CY
5983 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5984 value, for symmetry with diff-end-of-hunk.
5985 (diff-split-hunk, diff-find-source-location)
5986 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5987 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5988 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5989 compute the relevant hunk or file properly (Bug#6005).
5990 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5991
0d42eb3e
SM
59922012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * vc/vc-mtn.el:
5995 * vc/vc-hg.el:
5996 * vc/vc-git.el:
5997 * vc/vc-dir.el:
5998 * vc/vc-cvs.el:
5999 * vc/vc-bzr.el:
6000 * vc/vc-arch.el:
6001 * vc/vc.el: Replace lexical-let by lexical-binding.
6002 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6003 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6004 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6005
f08ae1c9
CY
60062012-04-26 Chong Yidong <cyd@gnu.org>
6007
8b71081d
CY
6008 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6009 (diff-mode-shared-map): Bind it to / and [remap undo].
6010
f08ae1c9
CY
6011 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6012 (ediff-window-setup-function): Use it as the default, to set up
6013 windows based on whether the current frame is graphical (Bug#2138).
6014 (ediff-choose-window-setup-function-automatically): Make obsolete.
6015
6016 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6017
ef24141c
SM
60182012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6019
cc356a5d
SM
6020 * ffap.el: Remove old code for obsolete package.
6021 (ffap-complete-as-file-p): Remove.
6022
b4ff4f1f
SM
6023 Use completion-table-with-quoting for comint and pcomplete.
6024 * comint.el (comint--unquote&requote-argument)
6025 (comint--unquote-argument, comint--requote-argument): New functions.
6026 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6027 (comint-quote-filename): Use regexp-opt-charset.
6028 (comint--common-suffix, comint--common-quoted-suffix)
6029 (comint--table-subvert): Remove.
6030 (comint-unquote-function, comint-requote-function): New vars.
6031 (comint--complete-file-name-data): Use them with
6032 completion-table-with-quoting.
6033 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6034 * pcomplete.el (pcomplete-arg-quote-list)
6035 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6036 (pcomplete-unquote-argument-function): Default to non-nil.
6037 (pcomplete-unquote-argument): Simplify.
6038 (pcomplete--common-quoted-suffix): Remove.
6039 (pcomplete-requote-argument-function): New var.
6040 (pcomplete--common-suffix): New function.
6041 (pcomplete-completions-at-point): Use completion-table-with-quoting
6042 and completion-table-subvert.
6043
79c4eeb4
SM
6044 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6045 (minibuffer--double-dollars): Preserve properties.
6046 (completion--sifn-requote): New function.
6047 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6048
ef24141c
SM
6049 * minibuffer.el: Add support for completion of quoted/escaped data.
6050 (completion-table-with-quoting, completion-table-subvert): New funs.
6051 (completion--twq-try, completion--twq-all): New functions.
6052 (completion--nth-completion): New function.
6053 (completion-try-completion, completion-all-completions): Use it.
6054
784e7d6e
LL
60552012-04-25 Leo Liu <sdl.web@gmail.com>
6056
dd2ac746
SM
6057 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6058 Use compilation-message if available to find real filename.
784e7d6e 6059
07875ee7
CY
60602012-04-25 Chong Yidong <cyd@gnu.org>
6061
6062 * vc/diff-mode.el (diff-setup-whitespace): New function.
6063 (diff-mode): Use it.
6064
6065 * vc/diff.el (diff-sentinel):
6066 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6067 Whitespace mode variables based on diff style (Bug#8612).
6068
5055880d
LL
60692012-04-25 Leo Liu <sdl.web@gmail.com>
6070
daf75653
LL
6071 * progmodes/python.el (python-send-region): Add suffix .py to the
6072 temp file.
6073
5055880d
LL
6074 * files.el (auto-mode-alist): Use javascript-mode instead.
6075
db9b177b
AH
60762012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6077
ef24141c 6078 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6079
090bd7cb 6080 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6081 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6082 references, see Bug#9.
ef24141c 6083 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6084 when receiving a fault reply.
ef24141c 6085 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6086
090bd7cb 6087 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6088 (soap-inspect-simple-type): New function.
db9b177b 6089
090bd7cb 6090 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6091 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6092 (soap-decode-basic-type, soap-encode-basic-type):
6093 support unsignedInt and double basic types.
db9b177b 6094 (soap-resolve-references-for-simple-type)
ef24141c
SM
6095 (soap-parse-simple-type, soap-encode-simple-type): New function.
6096 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6097
090bd7cb 6098 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6099 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6100 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6101 the local name of "soapenc:Array".
6102 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6103 decoding integer, byte and anyURI xsd types.
6104
1fc6097b
CY
61052012-04-25 Chong Yidong <cyd@gnu.org>
6106
6107 * cus-edit.el (custom-buffer-create-internal): Update header text.
6108
afc6df87
EZ
61092012-04-25 Eli Zaretskii <eliz@gnu.org>
6110
6111 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6112 settings on 'system-type', not on 'window-system'. On MS-Windows,
6113 set interactive-mode on in GDB.
6114
dfbd787f
SM
61152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6118 (ruby-syntax-propertize-regexp): Remove.
6119 (ruby-syntax-propertize-function): Split regexp into chunks.
6120 Match following code directly.
6121
85222d44
DG
61222012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6123
51a8ea2a
DG
6124 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6125 (ruby-syntax-propertize-regexp): New function.
6126 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6127 by a special keyword.
6128
85222d44
DG
6129 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6130 (ruby-syntax-general-delimiters-goto-beg)
6131 (ruby-syntax-propertize-general-delimiters): New functions.
6132 (ruby-syntax-propertize-function): Use them to handle GDL.
6133 (ruby-font-lock-keywords): Move old handling of GDL...
6134 (ruby-font-lock-syntactic-keywords): .. to here.
6135 (ruby-calculate-indent): Adjust indentation for GDL.
6136
b613912b
MA
61372012-04-24 Michael Albinus <michael.albinus@gmx.de>
6138
b5380639
MA
6139 * notifications.el (top): Remove unneeded declarations.
6140 (notifications-specification-version): Change to "1.2".
e43042fe 6141 (notifications-interface, notifications-notify-method)
b613912b
MA
6142 (notifications-close-notification-method): Fix docstring.
6143 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6144 (notifications-notify): Add :action-items, :resident and
6145 :transient hints. Change "image_data" to "image-data" and
6146 "image_path" to "image-path".
b613912b
MA
6147 (notifications-get-capabilities): New defun.
6148
257440aa
LL
61492012-04-24 Leo Liu <sdl.web@gmail.com>
6150
6151 * progmodes/python.el: Move hideshow setup to the end.
6152
b1bac16e
MR
61532012-04-24 Martin Rudalics <rudalics@gmx.at>
6154
6155 * window.el (handle-select-window): Clear echo area since this is
6156 no more done by read_char (Bug#11304).
6157
d81bd059
SM
61582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6161 and `/ M' to filter-derived-mode.
6162 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6163 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6164 (ibuffer-mark-by-mode): Use default rather than initial-input.
6165 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6166
c4cf6d91
IA
61672012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6168
6169 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6170 (ibuffer-filter-by-derived-mode): New filter.
6171 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6172
7511ded8
CY
61732012-04-23 Andreas Politz <politza@fh-trier.de>
6174
6175 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6176
775c916b
CY
61772012-04-23 Chong Yidong <cyd@gnu.org>
6178
6179 * cus-edit.el (customize-apropos, customize-apropos-options):
6180 Disable matching of non-option variables (Bug#11176).
6181 (customize-option, customize-option-other-window)
6182 (customize-changed-options): Doc fix.
6183 (customize-apropos-options, customize-apropos-faces)
6184 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6185
6186 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6187 Fix word list splitting (Bug#11132).
46c71e23
CY
6188 (apropos-symbol, apropos-keybinding, apropos-label)
6189 (apropos-property, apropos-function-button)
6190 (apropos-variable-button, apropos-misc-button): New faces.
6191 (apropos-symbol-face, apropos-keybinding-face)
6192 (apropos-label-face, apropos-property-face, apropos-match-face):
6193 Variables removed (Bug#8396).
6194 (apropos-library-button, apropos-format-plist, apropos-print)
6195 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6196
2df41f9c
MA
61972012-04-23 Michael Albinus <michael.albinus@gmx.de>
6198
6199 * net/xesam.el (xesam-mode-map): Use let-bound map in
6200 initialization. (Bug#11292)
6201
da00640a
AM
62022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6203
6204 Preserve ispell session localwords when switching back to
6205 original buffer.
6206
090bd7cb
JB
6207 * textmodes/ispell.el (ispell-buffer-session-localwords):
6208 New buffer-local variable to hold buffer session localwords.
ed9265fc 6209 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6210 localwords.
6211 (ispell-command-loop, ispell-change-dictionary)
6212 (ispell-buffer-local-words): Preserve session localwords when
6213 needed.
6214
090bd7cb
JB
6215 * textmodes/flyspell.el (flyspell-process-localwords)
6216 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6217
f621ccf5
AM
62182012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6219
090bd7cb
JB
6220 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6221 using obsolete `translation-table-for-input'.
ef24141c
SM
6222 (ispell-word, ispell-process-line, ispell-complete-word):
6223 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6224
c2d1019e
CY
62252012-04-22 Chong Yidong <cyd@gnu.org>
6226
6227 * cus-edit.el (custom-variable-menu)
6228 (custom-variable-reset-saved, custom-face-menu)
6229 (custom-face-reset-saved): If there is no saved value, make the
6230 "reset-saved" operation bring back the default (Bug#9509).
6231 (custom-face-state): Properly detect themed faces.
6232
eeddc531
CY
6233 * faces.el (face-spec-set): Stop supporting deprecated form of
6234 third arg.
6235
dcbf5805
MA
62362012-04-22 Michael Albinus <michael.albinus@gmx.de>
6237
6238 Move functions from C to Lisp. Make non-blocking method calls
6239 the default. Implement further D-Bus standard interfaces.
6240
ef24141c
SM
6241 * net/dbus.el (dbus-message-internal): Declare function.
6242 Remove unneeded function declarations.
dcbf5805
MA
6243 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6244 (dbus-message-type-method-return, dbus-message-type-error)
6245 (dbus-message-type-signal): Declare variables. Remove local
6246 definitions.
6247 (dbus-interface-dbus, dbus-interface-peer)
6248 (dbus-interface-introspectable, dbus-interface-properties)
6249 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6250 Adapt docstring.
6251 (dbus-interface-objectmanager): New defconst.
6252 (dbus-call-method, dbus-call-method-asynchronously)
6253 (dbus-send-signal, dbus-method-return-internal)
6254 (dbus-method-error-internal, dbus-register-service)
6255 (dbus-register-signal, dbus-register-method): New defuns, moved
6256 from dbusbind.c
6257 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6258 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6259 New defuns.
dcbf5805
MA
6260 (dbus-call-method-non-blocking): Make it an obsolete function.
6261 (dbus-unregister-object, dbus-unregister-service)
6262 (dbus-handle-event, dbus-register-property)
6263 (dbus-property-handler): Obey the new structure of
6264 `bus-registered-objects'.
6265 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6266 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6267 Use `dbus-call-method'.
6268
cf20dee0
CY
62692012-04-22 Chong Yidong <cyd@gnu.org>
6270
6271 * cus-edit.el (custom-commands, custom-reset-menu)
6272 (Custom-reset-standard): Tweak labels.
6273 (custom-reset-button-menu): Change default to t.
6274 (custom-buffer-create-internal): For the custom-reset-button-menu
6275 case, put the revert button first.
6276 (custom-group-subtitle): New face.
6277 (custom-group-value-create): Align docstring to a specific column.
6278
6279 * wid-edit.el (widget-documentation-link-add): Don't handle
6280 indentation in this function.
6281 (widget-documentation-string-indent-to): New function.
6282 (widget-documentation-string-value-create): Use it.
6283
6284 * autorevert.el (auto-revert):
6285 * epg-config.el (epg):
6286 * ibuffer.el (ibuffer):
6287 * mpc.el (mpc):
6288 * ses.el (ses):
6289 * eshell/eshell.el (eshell):
6290 * net/ange-ftp.el (ange-ftp):
6291 * progmodes/ebnf2ps.el (postscript):
6292 * progmodes/flymake.el (flymake):
6293 * progmodes/prolog.el (prolog):
6294 * progmodes/verilog-mode.el (verilog-mode):
6295 * progmodes/which-func.el (which-func):
6296 * term/xterm.el (xterm):
6297 * textmodes/picture.el (picture):
6298 * textmodes/tildify.el (tildify):
6299 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6300 customization buffers.
6301
583e23bd
AM
63022012-04-22 Alan Mackenzie <acm@muc.de>
6303
6304 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6305 Adding a ) can hide the resulting (..) from searches. Fix it.
6306 Bound the backward search to the position of the existing (.
6307
7dd51bf1
JB
63082012-04-21 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * progmodes/verilog-mode.el (verilog-mode): Check whether
6311 which-func-modes is t before adding verilog-mode.
6312 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6313
d64a438f
LL
63142012-04-21 Leo Liu <sdl.web@gmail.com>
6315
7dd51bf1 6316 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6317
081e8d65
MV
63182012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6319
6320 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6321 filling of the last column of a table (Bug#5635).
6322 (woman-find-next-control-line): New arg, specifying an additional
6323 regexp component for the control line.
6324 (woman2-roff-buffer): Use it.
6325 (woman-break-table): New function.
6326 (woman2-TS): Use it.
6327
63282012-04-21 Chong Yidong <cyd@gnu.org>
6329
6330 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6331 (woman-horizontal-escapes, woman-negative-vertical-space)
6332 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6333 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6334
ed571ccb
SM
63352012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * minibuffer.el (completion-file-name-table): Complete user names.
6338
39773899
LL
63392012-04-20 Leo Liu <sdl.web@gmail.com>
6340
6341 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6342 and pcase-let*.
6343
de6ff46d
CY
63442012-04-20 Chong Yidong <cyd@gnu.org>
6345
6346 * server.el (server-execute): Respect initial-buffer-choice if it
6347 is a string and there are no files to open (Bug#2825).
6348 (server-create-window-system-frame, server-create-tty-frame):
6349 Don't switch buffers here.
2d0e8e61
CY
6350 (server-process-filter): Only try to open a window system frame if
6351 compiled with graphical support (Bug#8314).
de6ff46d 6352
54071013
DN
63532012-04-20 Dan Nicolaescu <dann@gnu.org>
6354
6355 * battery.el (battery-echo-area-format): Display remaining time
6356 for sysfs backend too (Bug#11269).
6357 (battery-linux-sysfs): Fix conditional for the charge.
6358
f30d612a
CY
63592012-04-20 Chong Yidong <cyd@gnu.org>
6360
c07a4c0b 6361 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6362 (gdb-inferior-io--init-proc): New function.
6363 (gdb-init-1): Use it.
6364 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6365 responsible for allocating a new pty and hooking it to gdb when
6366 the old pty gets an EIO due to process exit.
6367 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6368 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6369 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6370
2116e93c
EZ
63712012-04-20 Eli Zaretskii <eliz@gnu.org>
6372
6373 * window.el (window-min-size, window-sizable, window-min-delta)
6374 (window-max-delta, window--resizable, window-resizable)
6375 (window-total-size, window-full-height-p, window-full-width-p)
6376 (window-in-direction, window--resize-mini-window, window-resize)
6377 (window--resize-child-windows-normal)
6378 (window--resize-child-windows, window--resize-siblings)
6379 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6380 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6381
c07a4c0b 63822012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6383
ef24141c
SM
6384 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6385 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6386 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6387 pty process (Bug#11273).
6388 (gdb-update): New arg to suppress talking to the gdb process.
6389 (gdb-done-or-error): Use it.
6390 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6391 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6392 sentinel not being called.
6393
6394 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6395
d02766ab
CY
6396 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6397
c07a4c0b 63982012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6399
6400 * net/network-stream.el (open-network-stream): Doc fix.
6401
c07a4c0b 64022012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6403
6404 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6405
c07a4c0b 64062012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6407
6408 Ensure searching for keywords is case sensitive.
6409
6410 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6411 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6412 (c-defun-name, c-mark-function, c-cpp-define-name)
6413 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6414 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6415
ef24141c
SM
6416 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6417 Bind case-fold-search to nil.
f0f6bc35 6418
c07a4c0b 64192012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6420
6421 * mail/sendmail.el (mail-bury): Call return action with the right
6422 Rmail buffer (Bug#11242).
6423
9a864fa2
CY
6424 * server.el (server-process-filter): Handle corner case where both
6425 tty and nowait options are present (Bug#11102).
6426
539aa513
EZ
64272012-04-20 Eli Zaretskii <eliz@gnu.org>
6428
6429 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6430 (top level): Put into the executable the ident-style '$Id:' tag on
6431 windows-nt as well.
539aa513 6432
cfc7d5da
SM
64332012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * electric.el (electric-indent-post-self-insert-function): Check that
6436 electric-indent-mode is enabled in current buffer.
6437
5b01685c
JB
64382012-04-19 Juanma Barranquero <lekktu@gmail.com>
6439
6440 * imenu.el (imenu-progress-message): Restore; it is "used" in
6441 erc/erc-imenu.el and net/snmp-mode.el.
6442
4d6769e1
JB
64432012-04-19 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6446 (mouse-avoidance-nudge-mouse): Remove unused binding.
6447
6448 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6449
6450 * descr-text.el (describe-char):
6451 * progmodes/python.el (python-describe-symbol):
6452 Don't call `toggle-read-only', set `buffer-read-only'.
6453
6454 * imenu.el (imenu-default-goto-function): Mark unused args.
6455 (imenu-progress-message): Remove obsolete macro; all callers changed.
6456
6457 * subr.el (keymap-canonicalize): Remove unused binding.
6458 (read-passwd): Mark unused arg.
6459
6460 * tutorial.el (tutorial--display-changes): Remove unused binding.
6461 (tutorial--save-tutorial-to): Remove unused variable.
6462
6463 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6464 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6465 (package-generate-autoloads, package-menu--generate)
6466 (package-menu--find-upgrades): Remove unused bindings.
6467
6468 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6469 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6470 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6471 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6472 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6473 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6474 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6475 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6476 (cua-delete-char-rectangle): Mark unused args.
6477 (cua-align-rectangle): Remove unused binding.
6478
6479 * mail/rmail.el (compilation--message->loc)
6480 (epa--find-coding-system-for-mime-charset): Declare.
6481
6482 * net/dbus.el (dbus-register-service): Declare.
6483 (dbus-name-owner-changed-handler): Remove unused binding.
6484
6485 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6486 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6487 (nxml-scan-backward-within): Mark unused arg.
6488 (nxml-dynamic-markup-word): Remove unused binding.
6489
6490 * mouse.el (mouse-menu-major-mode-map):
6491 * emacs-lisp/authors.el (authors-scan-change-log)
6492 (authors-add-to-author-list):
6493 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6494 * emacs-lisp/smie.el (smie-auto-fill):
6495 * mail/sendmail.el (mail-bury):
6496 * mail/unrmail.el (unrmail):
6497 * net/tls.el (open-tls-stream):
6498 * textmodes/picture.el (picture-mouse-set-point):
6499 Remove unused bindings.
6500
8c8fc5df
MA
65012012-04-19 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp.el (tramp-action-password): Let-bind
6504 `enable-recursive-minibuffers' to t.
6505
a77b0ac9
SS
65062012-04-18 Sam Steingold <sds@gnu.org>
6507
6508 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6509 instead of 'string to accommodate values like [f11].
6510 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6511 * progmodes/gdb-mi.el: Likewise.
6512
12a106a9
LL
65132012-04-18 Leo Liu <sdl.web@gmail.com>
6514
6515 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6516 current buffer.
6517 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6518 LOCAL is nil.
6519
bc6494ef
CY
65202012-04-18 Chong Yidong <cyd@gnu.org>
6521
6522 * simple.el (line-move): Use forward-line if in batch mode
6523 (Bug#11053).
6524
c09c46b2
CS
65252012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6526
6527 * files.el (after-find-file): Do not try to add a final newline if
6528 the buffer is read-only (Bug#11156).
6529
5f6530ea
RS
65302012-04-17 Richard Stallman <rms@gnu.org>
6531
6532 * mail/rmail.el (rmail-start-mail):
6533 Pass (rmail-mail-return...) for the return-action.
6534 Pass (rmail-yank-current-message...) for the yank-action.
6535 (rmail-yank-current-message): New function.
6536 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6537 (rmail-reply): Likewise.
6538 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6539
6540 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6541 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6542 buffer, not newbuf.
6543
197b6f3c
JB
65442012-04-17 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * server.el (server-ensure-safe-dir): Simplify.
6547
2311d8e5 65482012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6549
2311d8e5
GM
6550 * emacs-lisp/smie.el: Provide smarter auto-filling.
6551 (smie-auto-fill): New function.
6552 (smie-setup): Use it.
98fb480e 6553
2311d8e5
GM
6554 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6555
65562012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6557
6558 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6559 (comment-indent): Use it.
6560
2311d8e5 65612012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6562
6563 * ses.el: The overall change is to add cell renaming, that is
6564 setting fancy names for cell symbols other than name matching
6565 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6566 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6567 (ses-create-cell-variable): New defun.
2311d8e5 6568 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6569 (ses-relocate-formula): Relocate formulas only for cells the
6570 symbols of which are not renamed, i.e. symbols whose names do not
6571 match regexp "\\`[A-Z]+[0-9]+\\'".
6572 (ses-relocate-all): Relocate values only for cells the symbols of
6573 which are not renamed.
6574 (ses-load): Create cells variables as the (ses-cell ...) are read,
6575 in order to check row col consistency with cell symbol name only
6576 for cells that are not renamed.
6577 (ses-replace-name-in-formula): New defun.
6578 (ses-rename-cell): New defun.
4bdf2ad2 6579
fc72b15c
PO
65802012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6581
6582 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6583 New option (bug#11118).
6584 (perl-calculate-indent): Respect it.
6585
12e10e61
GM
65862012-04-17 Glenn Morris <rgm@gnu.org>
6587
6588 * dired-aux.el (dired-mark-read-string): Doc fix.
6589
30009afd
DA
65902012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6591
6592 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6593 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6594
41f03f4d
GM
65952012-04-17 Glenn Morris <rgm@gnu.org>
6596
6597 * mouse.el (mouse-drag-track):
6598 * speedbar.el (speedbar-frame-mode):
6599 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6600
f45f90f3
LL
66012012-04-16 Leo Liu <sdl.web@gmail.com>
6602
6603 * progmodes/python.el: Trivial cleanup.
6604
94ee8db5
GM
66052012-04-16 Glenn Morris <rgm@gnu.org>
6606
121b8917
GM
6607 * vc/vc.el (vc-string-prefix-p):
6608 * vc/pcvs-util.el (cvs-string-prefix-p):
6609 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6610 * mpc.el (mpc-string-prefix-p):
6611 Make all of these into obsolete aliases for string-prefix-p.
6612 Update callers.
6613 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6614
1197ecfa
GM
6615 * textmodes/two-column.el: Move custom options to the start.
6616 (frame-width): Remove compat definition.
6617 (2C-associate-buffer, 2C-dissociate):
6618 Use with-current-buffer rather than save-excursion.
6619 (2C-dissociate): Force a mode-line update.
6620 (2C-autoscroll): Use ignore-errors.
6621
099e7202
GM
6622 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6623 Autoload trivia.
6624
bf350d6a
GM
6625 * emacs-lisp/cl-extra.el (*random-state*):
6626 Remove unnecessary declaration.
6627
0e829eab
GM
6628 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6629
e3ad7552
GM
6630 * play/cookie1.el (cookie-snarf):
6631 Give an explicit error if input file cannot be read.
6632
68892d27
GM
6633 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6634
20f0c46d
GM
6635 * progmodes/perl-mode.el (c-macro-expand):
6636 Remove unnecessary autoload (it is in loaddefs.el).
6637
5a0978ce
GM
6638 * textmodes/picture.el (picture-desired-column)
6639 (picture-update-desired-column): Convert comments to doc-strings.
6640 (picture-substitute): Remove function.
6641 (picture-mode-map): Initialize in the defvar.
6642
6b955486
GM
6643 * woman.el: Remove eval-after-load for tar-mode.
6644 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6645 (woman-tar-extract-file): Autoload it.
6646
94ee8db5
GM
6647 * frame.el (automatic-hscrolling): Make this alias obsolete.
6648
177eca34
AM
66492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6650
090bd7cb 6651 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6652 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6653 (ispell-dictionary-base-alist): Revert to original XEmacs
6654 friendly version for default. [:alpha:] will be added in
090bd7cb 6655 `ispell-set-spellchecker-params' if needed.
177eca34 6656
c505aaeb
CY
66572012-04-16 Chong Yidong <cyd@gnu.org>
6658
b19dd9d1 6659 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6660 (imagemagick-register-types): Use it.
6661 (imagemagick-types-inhibit): Add :set function. Allow new value
6662 of t to inhibit all types.
6663
6664 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6665 so we can preload it.
6666
6667 * loadup.el (fboundp): Preload regexp-opt, needed by
6668 imagemagick-register-types.
6669
60efac0f
CY
66702012-04-15 Chong Yidong <cyd@gnu.org>
6671
6672 * frame.el (scrolling): Remove nearly unused customization group.
6673
6674 * scroll-all.el (scroll-all-mode): Move to windows group.
6675
5dd1713e
CY
66762012-04-15 Chong Yidong <cyd@gnu.org>
6677
6678 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6679
e6fd457e
CY
66802012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6683 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6684
e153c136
GM
66852012-04-15 Glenn Morris <rgm@gnu.org>
6686
6687 * simple.el (process-file-side-effects): Doc fix.
6688
e6fd457e 66892012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6690
6691 * international/mule-cmds.el (set-language-environment): Doc fix.
6692
3603c3b1
JB
66932012-04-14 Juanma Barranquero <lekktu@gmail.com>
6694
6695 * server.el (server-auth-key, server-generate-key): Doc fixes.
6696 (server-get-auth-key): Doc fix. Use `string-match-p'.
6697 (server-start): Reflow docstring.
6698
e6de100c
LI
66992012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6700
6701 * server.el (server-generate-key): `called-interactively-p'
6702 requires a parameter.
6703
29734c21
MN
67042012-04-14 Michal Nazarewicz <mina86@mina86.com>
6705
6706 * server.el (server-auth-key): New variable.
75f1671a 6707 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6708 (server-start): Use the new variable and functions to allow
6709 setting a permanent server key (bug#9423).
6710
d65c9521
LL
67112012-04-14 Leo Liu <sdl.web@gmail.com>
6712
6713 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6714
5ae255c7
PE
67152012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6716
6717 Spelling fixes.
6718 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6719 Emacs uses American spelling.
6720
d5e6342e
JB
67212012-04-14 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6724 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6725 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6726 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6727
ab036cd7
SM
67282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * progmodes/which-func.el (which-func-modes): Change default.
6731
35dc09a1 67322012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6733
6734 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6735 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6736
35dc09a1 67372012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6738
6739 * custom.el (custom-theme-set-variables): Doc fix.
6740
35dc09a1 67412012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6742
6743 * international/mule.el (set-auto-coding-for-load): Doc fix.
6744
35dc09a1 67452012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6746
35dc09a1
GM
6747 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6748 imenu work again for Objective C Mode. Correct the *-index values,
6749 these having been disturbed by a previous change in 2011-08.
57f845ee 6750
0de3da9f
AM
6751 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6752 Correct two search limits.
6753
35dc09a1 67542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6755
6756 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6757
35dc09a1 67582012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6759
6760 * international/characters.el: Fix sorting.
6761
35dc09a1 67622012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6763
6764 * international/characters.el: Add more missing Latin case pairs.
6765
35dc09a1 67662012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6767
6768 * files.el (dir-locals-set-class-variables): Doc fix.
6769
35dc09a1 67702012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6771
3f1b5bf8
EZ
6772 * international/characters.el: Add set-case-syntax-pair call for
6773 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6774 counterpart. (Bug#11209)
6775
9f847f41
EZ
6776 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6777
35dc09a1 67782012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6779
6780 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6781
35dc09a1 67822012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6783
35dc09a1
GM
6784 * textmodes/ispell.el (ispell-dictionary-base-alist):
6785 Add data for Hebrew.
e2627d21 6786
35dc09a1 67872012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6788
35dc09a1
GM
6789 * net/rcirc.el (rcirc-cmd-quit):
6790 Revert 2012-03-18 change (Bug#11192).
5c14e333 6791
35dc09a1 67922012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6793
6794 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6795
35dc09a1 67962012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6797
4517fe3a
SM
6798 * minibuffer.el (completion-in-region-mode-map):
6799 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6800
b472a594
VD
68012012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6802
6803 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6804
09b95ce3
MY
68052012-04-13 Masatake YAMATO <yamato@redhat.com>
6806
6807 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6808 to allow `C-M-f' and `C-M-b' to move to the nearest path
6809 separator (bug#9511).
6810
4b63a9ca
LI
68112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6812
6813 * avoid.el: Require cl when compiling. And also move the
6814 `provide' to the end.
6815
7b55b8bf
TV
68162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6817
6818 * avoid.el (mouse-avoidance-banish-position): New variable.
6819 (mouse-avoidance-banish-destination): Use it (bug#10165).
6820
adedaa1f
LL
68212012-04-13 Leo Liu <sdl.web@gmail.com>
6822
6823 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6824
70e74021
KB
68252012-04-13 Ken Brown <kbrown@cornell.edu>
6826
6827 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6828 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6829 (browse-url-filename-alist): For the same reason, don't modify
6830 file:// URLs on Cygwin.
6831
e75e89ba
SM
68322012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6835 the region on shift if the binding is already shifted (bug#11221).
6836
82f289a4
GM
68372012-04-12 Glenn Morris <rgm@gnu.org>
6838
6839 * mail/mailpost.el: Move to obsolete/.
6840
d333dc4c
DA
68412012-04-12 Drew Adams <drew.adams@oracle.com>
6842
6843 * imenu.el (imenu--generic-function): Ignore invisible definitions
6844 (bug#10123).
6845
0d15b5ba
VD
68462012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6847
6848 * hexl.el (hexl-bits): New variable.
6849 (hexl-options): Mention the variable in the doc string.
75f1671a 6850 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6851 (hexl-mode): Mention the new variable.
75f1671a
JB
6852 (hexl-mode, hexl-current-address, hexl-current-address):
6853 Use the displen.
0d15b5ba
VD
6854 (hexl-ascii-start-column): New function.
6855 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6856 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6857
64a440db
AM
68582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6859
6860 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6861 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6862 the encoding, as expected by hunspell.
6863
6decb6c2
SM
68642012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * battery.el (battery--linux-sysfs-regexp): New const.
6867 (battery-status-function): Use it. Remove yeeloong special case.
6868 (battery-yeeloong-sysfs): Remove.
6869 (battery-echo-area-format): Remove yeeloong special case.
6870
088be6fb
SM
68712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6622e416
SM
6873 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6874 Reported by Noah Friedman.
6875
088be6fb
SM
6876 * subr.el (read-passwd): Use read-string.
6877
b49f886e
LMI
68782012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879
6880 * vcursor.el (vcursor-move): Increase the priority of the overlay
6881 (bug#9663).
6882
a63067fc
DD
68832012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6884
6885 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6886 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6887
ac3cf14a
WS
68882012-04-11 William Stevenson <yhvh2000@gmail.com>
6889
6890 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6891 define-minor-mode (bug#10760).
6892
c4fc691b 68932012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6894
4d6769e1 6895 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6896 that directories matching `grep-find-ignored-files' won't be
6897 pruned (bug#10351).
6898
af23e2e5
CY
68992012-04-11 Chong Yidong <cyd@gnu.org>
6900
6901 * startup.el (command-line): Remove support for long-obsolete
6902 variable font-lock-face-attributes.
6903
ab7ce8c1
GM
69042012-04-11 Glenn Morris <rgm@gnu.org>
6905
6906 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6907
de8c03dc
SM
69082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * window.el (window--state-get-1): Obey window-point-insertion-type.
6911
050cc68b
LB
69122012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6913
6914 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6915 to previous function when point is on the first character of a
75f1671a 6916 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6917
a38c310c
GM
69182012-04-11 Glenn Morris <rgm@gnu.org>
6919
effed0c2
GM
6920 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6921 not just file-errors.
6922
a38c310c
GM
6923 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6924 (vc-bzr-sha1): Use internal sha1.
6925
0221e323
SM
69262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6929
43956923
SG
69302012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6931
6932 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6933 that start in the middle of the line (bug#10496).
6934
6a8c9eaf
DN
69352012-04-10 Dan Nicolaescu <dann@gnu.org>
6936
6937 * battery.el (battery-linux-proc-acpi): Only one battery is
6938 discharged at a time, but that seems to confuse battery.el when
6939 computing `rate-type' for the battery not being discharged
6940 (bug#10332).
6941
1930bf5d
SM
69422012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6943
2a718f6f
SM
6944 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6945
599430d0
SM
6946 * international/quail.el: Use dolist and simplify.
6947 (quail-define-package, quail-update-keyboard-layout)
6948 (quail-define-rules): Use dolist.
6949 (quail-insert-kbd-layout, quail-get-translation): CSE.
6950
a2754b6c
SM
6951 * tmm.el: Use dolist, remove left over hook.
6952 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6953 Use dolist.
6954 (calendar-load-hook): Don't mess with it.
6955
1930bf5d
SM
6956 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6957 Use derived-mode-p. Run the diff asynchronously.
6958
9f67961c
LMI
69592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6960
6961 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6962
2a8ce227
JB
69632012-04-10 Juanma Barranquero <lekktu@gmail.com>
6964
6965 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6966 (list-dynamic-libraries--loaded): New function.
6967 (list-dynamic-libraries--refresh): Use it.
6968
8f33b5f8
NW
69692012-04-10 Nathan Weizenbaum <nweiz@google.com>
6970
1930bf5d
SM
6971 * progmodes/python.el (python-fill-paragraph):
6972 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6973 disabled (bug#7018).
6974
b12f0439
L
69752012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
6976
1930bf5d 6977 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6978 DOS/MS Windows for the Baltic languages. There are still plenty
6979 of texts written in this encoding/codepage (bug#6519).
b12f0439 6980
57c3bd01
GM
69812012-04-10 Glenn Morris <rgm@gnu.org>
6982
6983 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6984 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6985
6c3eab30
FA
69862012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6987
1930bf5d 6988 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6989 next-line "n" and previous-line "p" in order to make recentf more
6990 consistent with ibuffer, dired or org-mode (bug#9387).
6991
24d78a88
LMI
69922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6993
bc72b5d9
LMI
6994 * image.el (put-image): Return the overlay created instead of the
6995 optional input string (bug#7834). Note that this may break code
6996 that is (for some reason or other) depending on `put-image'
6997 returning the string.
6998
bd2dba5a
LMI
6999 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7000
74beb59f
LMI
7001 * simple.el (zap-to-char): Allow zapping using input methods
7002 (bug#1580).
7003
24d78a88
LMI
7004 * textmodes/fill.el (fill-region): Leave point and mark where they
7005 were before filling (bug#5399).
7006
263f20cd
GM
70072012-04-09 Glenn Morris <rgm@gnu.org>
7008
7009 * version.el (emacs-bzr-get-version):
7010 Handle lightweight checkouts of local branches.
7011
58d1f797
AS
70122012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7013
263f20cd 7014 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7015
b4d3bc10
CY
70162012-04-09 Chong Yidong <cyd@gnu.org>
7017
7018 * custom.el (custom-variable-p): Return nil for non-symbol
7019 arguments instead of signaling an error.
7020 (user-variable-p): Obsolete alias for custom-variable-p.
7021
7022 * apropos.el (apropos-variable):
7023 * files-x.el (read-file-local-variable):
7024 * simple.el (set-variable):
7025 * woman.el (woman-mini-help):
7026 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7027
fd06db5d
GM
70282012-04-09 Glenn Morris <rgm@gnu.org>
7029
e5fcdb5e
GM
7030 * startup.el (normal-top-level): Don't look for leim-list.el
7031 in places where it will not be found. (Bug#910)
7032
fd06db5d
GM
7033 * international/mule-cmds.el (set-default-coding-systems):
7034 * files.el (normal-mode):
7035 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7036 This function was removed with ucs-tables.el in 2008.
7037
b39bb7e1
EZ
70382012-04-08 Eli Zaretskii <eliz@gnu.org>
7039
7040 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7041 ispell-encoding8-command to "-i", without a trailing space.
7042 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7043 separate command-line arguments, to specify the encoding, since
7044 that's how hunspell expects it.
7045
5c5b8e23
GM
70462012-04-08 Glenn Morris <rgm@gnu.org>
7047
7048 * loadup.el: Load bindings before cus-start.
7049 This reduces somewhat the number of "rogue" settings in emacs -Q.
7050
a1ed8b05
GM
70512012-04-07 Glenn Morris <rgm@gnu.org>
7052
7053 * version.el (emacs-bzr-get-version): New function.
dfae128a 7054 (emacs-bzr-version): New variable.
a1ed8b05
GM
7055 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7056 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7057
b142f158
EZ
70582012-04-07 Eli Zaretskii <eliz@gnu.org>
7059
dfae128a
GM
7060 * international/uni-bidi.el, international/uni-category.el:
7061 * international/uni-combining.el, international/uni-decimal.el:
7062 * international/uni-decomposition.el, international/uni-digit.el:
7063 * international/uni-lowercase.el, international/uni-mirrored.el:
7064 * international/uni-name.el, international/uni-numeric.el:
7065 * international/uni-titlecase.el, international/uni-uppercase.el:
7066 Update for Unicode 6.1.
b142f158 7067
9078ead6
EZ
70682012-04-07 Eli Zaretskii <eliz@gnu.org>
7069
7070 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7071
f23d2c7d
LMI
70722012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073
7074 * window.el (shrink-window): Mention the `window-min-height'
7075 variable in the doc string.
7076
0a0a3573
BG
70772012-04-05 Bastien Guerry <bzg@altern.org>
7078
7079 * color.el (color-lighten-name): Fix typo.
7080
e5248ac9
SM
70812012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * server.el (server--on-display-p): New function.
7084 (server--on-display-p): Use it.
7085
b4243e22
GV
70862012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7087
7088 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7089 (bug#11145).
7090
305d9f44
SM
70912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * comint.el (comint--common-quoted-suffix): Check string boundary
7094 before comparing (bug#11158).
7095 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7096
3d439cd1
CY
70972012-04-04 Chong Yidong <cyd@gnu.org>
7098
321cc491
CY
7099 * minibuffer.el (completion-extra-properties): Doc fix.
7100
3d439cd1
CY
7101 * subr.el (delayed-warnings-hook): Doc fix.
7102
2d562c0f
DU
71032012-04-04 Daiki Ueno <ueno@unixuser.org>
7104
7105 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7106 selection (Bug#11159).
7107 (epa-insert-keys): Inform that the default public key will be
7108 exported if no key is selected.
7109
4443f204
RS
71102012-04-04 Richard Stallman <rms@gnu.org>
7111
7112 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7113
529c06b6
CY
71142012-04-03 Chong Yidong <cyd@gnu.org>
7115
7116 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7117 mail-insert-file, not its obsolete alias mail-attach-file.
7118
66b907dc
MA
71192012-04-03 Michael Albinus <michael.albinus@gmx.de>
7120
7121 * notifications.el (notifications-notify): Fix docstring.
7122
c0ea195d
GM
71232012-04-02 Glenn Morris <rgm@gnu.org>
7124
7125 * emacs-lisp/authors.el (authors-aliases): Another addition.
7126
5ca64e00
MA
71272012-04-02 Michael Albinus <michael.albinus@gmx.de>
7128
7129 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7130 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7131 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7132
42ee526b
CY
71332012-04-01 Chong Yidong <cyd@gnu.org>
7134
7135 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7136 Handle root directory properly.
7137 (copy-directory): Caller changed.
7138
7139 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7140 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7141
0b021094
GM
71422012-03-31 Glenn Morris <rgm@gnu.org>
7143
40f86458
GM
7144 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7145
7019c177
GM
7146 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7147
a1daddd6
GM
7148 * calendar/calendar.el (calendar-window-list)
7149 (calendar-hide-window): Restore. (Bug#11140)
7150 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7151
0b021094
GM
7152 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7153
40311efc
TV
71542012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7155
7156 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7157 Check if file is a symlink (Bug#10489).
7158
7159 * files.el (copy-directory): Likewise.
7160
5319014e
CY
71612012-03-30 Chong Yidong <cyd@gnu.org>
7162
7163 * image.el (imagemagick-types-inhibit)
7164 (imagemagick-register-types): Doc fix.
7165
935d1290
AM
71662012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7167
090bd7cb 7168 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7169 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7170 and treats ~word as ordinary words in pipe mode.
935d1290 7171
61c6e8fd
GM
71722012-03-30 Glenn Morris <rgm@gnu.org>
7173
7174 * tutorial.el (help-with-tutorial): Ensure local variables don't
7175 happen to make the buffer read-only. (Bug#11127)
7176
81fdff00
SM
71772012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7180 (perl-calculate-indent): Return `noindent' in strings.
7181
6e7a6ec0
SS
71822012-03-28 Sam Steingold <sds@gnu.org>
7183
7184 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7185 instead of the broken adhockery which does not prevent calendar
7186 buffers from being displayed at random after exit.
7187 (calendar-window-list, calendar-hide-window): Remove the broken
7188 adhockery.
7189
fee88ca0
GM
71902012-03-28 Glenn Morris <rgm@gnu.org>
7191
7192 * replace.el (query-replace-map): Doc fix.
7193
38de3354
AS
71942012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7195
7196 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7197 contents. (Bug#11109)
7198
b973155e
SM
71992012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7202 (bug#11077).
7203 (avl-tree--check, avl-tree--check-node): New funs.
7204
dcb6e7b3
MR
72052012-03-27 Martin Rudalics <rudalics@gmx.at>
7206
7207 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7208 (switch-to-prev-buffer, switch-to-next-buffer):
7209 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7210 showing a buffer already is done on the same frame.
7211
b4fa35fa
GM
72122012-03-27 Glenn Morris <rgm@gnu.org>
7213
7214 * startup.el (mail-host-address): Doc fix.
7215
f9210e18
SM
72162012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7219 than 197 variables.
7220
c0bf7753
AF
72212012-03-26 Ami Fischman <ami@fischman.org>
7222
7223 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7224
33da7b16
GM
72252012-03-26 Glenn Morris <rgm@gnu.org>
7226
02243d9d
GM
7227 * files.el (save-buffers-kill-emacs): Doc fix.
7228
33da7b16
GM
7229 * startup.el (normal-top-level, command-line, command-line-1):
7230 Give them doc strings.
7231
e5a69fd0
EZ
72322012-03-25 Eli Zaretskii <eliz@gnu.org>
7233
7234 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7235 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7236
9a69676a
CY
72372012-03-25 Chong Yidong <cyd@gnu.org>
7238
4125cb8b
CY
7239 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7240 theme if it was previously enabled before (Bug#11031).
7241
dd470960
CY
7242 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7243 spec with custom-face-get-current-spec if its :shown-value is not
7244 determined yet (Bug#9337).
4125cb8b 7245 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7246
9a69676a
CY
7247 * button.el (button-at): Minor addition to docstring.
7248
6e7e90fa
SL
72492012-03-24 Simon Leinen <simon.leinen@gmail.com>
7250
7251 * vc/vc.el (vc-merge): Fix a prompt.
7252
f06e2758
CY
72532012-03-24 Chong Yidong <cyd@gnu.org>
7254
7255 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7256 point (Bug#9623).
7257
6e7e90fa
SL
7258 * button.el (button-at): Minor addition to docstring.
7259
b9d0879b
SM
72602012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * newcomment.el (comment-choose-indent): No space after BOL.
7263
e71cebb3
SS
72642012-03-22 Sam Steingold <sds@gnu.org>
7265
7266 * window.el (switch-to-prev-buffer): Revert last patch because the
7267 bug turned out to be an advertised feature (Elisp manual 28.14).
7268
335aff35
GM
72692012-03-22 Glenn Morris <rgm@gnu.org>
7270
7271 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7272 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7273
c676576a
LMI
72742012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7275
7276 * net/network-stream.el (network-stream-open-starttls): Make error
7277 message under Windows be less misleading.
7278
126f3d39
LW
72792012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7280
7281 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7282 understands (bug#9942).
7283
64fee311
CY
72842012-03-22 Chong Yidong <cyd@gnu.org>
7285
7286 * simple.el (end-of-visible-line): Handle return value of
7287 next-single-property-change properly (Bug#9371).
7288
a640d29a
KH
72892012-03-22 Kenichi Handa <handa@m17n.org>
7290
7291 * international/quail.el (quail-insert-kbd-layout): Fix previous
7292 change. To avoid unwanted bidi reordering, use
7293 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7294
39675016
DG
72952012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7296
7297 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7298 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7299 (ruby-beginning-of-indent): Be more careful with the difference
7300 between word-boundary and symbol boundary.
7301 (ruby-mode-syntax-table): Make : a symbol constituent.
7302
0a6934fc 73032012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7304
3d008e4f
SM
7305 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7306
0a6934fc
SM
73072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7308
af67c9d7
SM
7309 * progmodes/etags.el (tags-completion-at-point-function):
7310 Improve last fix.
7311
1acad97c
SM
7312 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7313
e298b5da
SS
73142012-03-21 Sam Steingold <sds@gnu.org>
7315
7316 * progmodes/etags.el (tags-completion-at-point-function):
7317 Avoid the error when point is inside the pattern.
7318
91d82a70
JY
73192012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7320
7321 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7322 line (Bug#10855).
7323
69188b79
CY
73242012-03-21 Drew Adams <drew.adams@oracle.com>
7325
7326 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7327
99fc91fe
AK
73282012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7329
7330 * ido.el (ido-set-current-directory, ido-read-internal)
7331 (ido-choose-completion-string, ido-completion-help): Handle nil
7332 value of ido-completion-buffer (Bug#11008).
7333
087bbb4c
SS
73342012-03-21 Sam Steingold <sds@gnu.org>
7335
7336 * window.el (switch-to-prev-buffer): Do not switch to a visible
7337 window previous buffer, just like with the frame previous buffers.
7338
fb5b8aca
CY
73392012-03-21 Chong Yidong <cyd@gnu.org>
7340
7341 * faces.el (make-face, make-empty-face, copy-face):
7342 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7343 Doc fixes.
7344
dc9924b8
SM
73452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7348 (widget-complete): Remove broken use of it.
7349
f0bcceb9
CY
73502012-03-20 Chong Yidong <cyd@gnu.org>
7351
dc9924b8
SM
7352 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7353 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7354 characters.
7355
ee52ebf3
TH
73562012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7357
7358 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7359 to draw rectangles, not squares. (Regression introduced by revno
7360 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7361
4c5779ab
CY
73622012-03-18 Chong Yidong <cyd@gnu.org>
7363
7364 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7365 it is not yet defined (for temacs).
7366
15360934
LL
73672012-03-18 Leo Liu <sdl.web@gmail.com>
7368
dc9924b8 7369 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7370
d9a8eb66
EZ
73712012-03-17 Eli Zaretskii <eliz@gnu.org>
7372
7373 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7374 (ispell-choices-win-default-height, ispell-silently-savep)
7375 (ispell-dictionary-alist, ispell-encoding8-command)
7376 (ispell-check-version, ispell-aspell-find-dictionary)
7377 (ispell-valid-dictionary-list, ispell-words-keyword)
7378 (ispell-get-word, ispell-internal-change-dictionary)
7379 (ispell-region, ispell-skip-region-list)
7380 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7381 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7382 (ispell-message-text-end, ispell-message)
7383 (ispell-buffer-local-parsing): Doc fix.
7384
f02ff80d
J
73852012-03-13 Jambunathan K <kjambunathan@gmail.com>
7386
7387 * htmlfontify.el: Add support for code block fontification for ODT
7388 export (Bug #9914).
7389 (hfy-optimisations): Define new option
7390 `body-text-only'
7391 (hfy-fontify-buffer): Honor above setting.
7392 (hfy-begin-span, hfy-end-span): New routines factored out form
7393 `hfy-fontify-buffer'.
7394 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7395 that permit insertion of custom tags.
7396 (hfy-fontify-buffer): Use above handlers.
7397 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7398 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7399 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7400 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7401 bind a special variable `hfy-user-sheet-assoc'.
7402 (htmlfontify-string): New defun.
7403 (hfy-compile-face-map): Make sure that the last char in the
7404 buffer is correctly fontified.
7405 (hfy-face-resolve-face): Whitespace only change.
7406
9ac7a13f
EZ
74072012-03-17 Eli Zaretskii <eliz@gnu.org>
7408
7409 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7410 message more clear.
7411
e2b5bdd7
LL
74122012-03-16 Leo Liu <sdl.web@gmail.com>
7413
7414 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7415
2e492df3
AM
74162012-03-16 Alan Mackenzie <acm@muc.de>
7417
7418 Further optimise the handling of large macros.
7419
7420 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7421 limit to a call of `c-literal-limits'.
7422 (c-determine-+ve-limit): New function.
dc9924b8
SM
7423 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7424 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7425 In CASE 5B, restrict a search limit to 500.
7426 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7427
7428 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7429 Restrict macro bounds to +-500 from after-change's BEG END.
7430
50e94f0c
LL
74312012-03-16 Leo Liu <sdl.web@gmail.com>
7432
7433 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7434
6f09f6ed
AH
74352012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7436
7437 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7438 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7439
c7e73d51
GM
74402012-03-16 Glenn Morris <rgm@gnu.org>
7441
da986230
GM
7442 * view.el (view-buffer, view-buffer-other-window)
7443 (view-buffer-other-frame): Doc fixes re special mode-class.
7444
0835f01e
GM
7445 * subr.el (eval-after-load): If named feature is provided not from
7446 a file, run after-load forms. (Bug#10946)
7447
c7e73d51
GM
7448 * calendar/calendar.el (calendar-insert-at-column):
7449 Handle non-unit-width characters a bit better. (Bug#10978)
7450
3f2eafd1
CY
74512012-03-15 Chong Yidong <cyd@gnu.org>
7452
7453 * emacs-lisp/ring.el (ring-extend): New function.
7454 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7455
7456 * comint.el (comint-read-input-ring)
7457 (comint-add-to-input-history): Grow comint-input-ring lazily.
7458
103af3fe
SM
74592012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7460
663b1677
SM
7461 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7462 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7463
103af3fe
SM
7464 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7465 (imenu-add-to-menubar): Don't add a redundant index.
7466 (imenu-update-menubar): Handle a dynamically composed keymap.
7467
899cb7cb
KY
74682012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7469
7470 * mail/sendmail.el (mail-encode-header):
7471 Bind rfc2047-encode-encoded-words to nil.
7472
3809f91d
GM
74732012-03-13 Glenn Morris <rgm@gnu.org>
7474
7475 * calendar/calendar.el (calendar-string-spread):
7476 Handle non-unit-width characters a bit better. (Bug#10978)
7477
9e345a01
LL
74782012-03-13 Leo Liu <sdl.web@gmail.com>
7479
7480 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7481 directory and file as argument (Bug#10822).
7482
4a07df36
KS
74832012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7484
7485 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7486 For dynamically generated code, follow $PC.
7487 (gdb-disassembly-handler-custom): Handle no function name case.
7488
4aaa9356
TL
74892012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7490
7491 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7492 * emulation/ws-mode.el (ws-query-replace):
7493 * sort.el (sort-regexp-fields):
7494 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7495
225979da
SM
74962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * dabbrev.el: Fix cycle completion order (bug#10963).
7499 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7500 (dabbrev-completion): Don't use an obarray; provide
7501 a cycle-sort-function.
7502
e2f1fdab
LL
75032012-03-12 Leo Liu <sdl.web@gmail.com>
7504
dc9924b8 7505 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7506 (kill-do-not-save-duplicates): Doc fix.
7507
b19490ed
SM
75082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * dabbrev.el: Fix cycle completion (bug#10963).
7511 Use lexical binding and wrap to 80 columns.
7512 (dabbrev-completion): Delay computing the list of completions.
7513
4b05d722
KH
75142012-03-12 Kenichi Handa <handa@m17n.org>
7515
7516 * international/quail.el (quail-insert-kbd-layout): Surround each
7517 row by LRO and PDF instead of inserting many LRMs. Pad the left
7518 and right of each non-spacing marks. Insert invisible space
7519 between lower and upper characters to prevent composition.
7520
dbbc2e69
SM
75212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * minibuffer.el (minibuffer-complete): Don't get confused when the
7524 function is run twice via different commands (bug#10958).
7525 (complete-with-action): Fix docstring.
7526
292112ed
CY
75272012-03-12 Chong Yidong <cyd@gnu.org>
7528
5d1ac394
CY
7529 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7530 (nxml-completion-at-point-function): New function.
7531 (nxml-mode): Use it.
7532 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7533
292112ed
CY
7534 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7535 Load generated autoloads file before byte compiling (Bug#10970).
7536 (package--make-autoloads-and-compile): New helper fun.
7537
4098f8f7
CS
75382012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7539
7540 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7541
8f754691
MA
75422012-03-11 Michael Albinus <michael.albinus@gmx.de>
7543
7544 * autorevert.el (auto-revert-handler): Ensure, that
7545 file-readable-p is applied only for local files or in
7546 auto-revert-tail-mode.
7547
e29ab36b
AS
75482012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7549
dbbc2e69
SM
7550 * server.el (server-eval-at): Handle non-tcp connections.
7551 Decode result string.
ad0bf5b6 7552
e29ab36b
AS
7553 * server.el (server-msg-size): New constant.
7554 (server-reply-print): New function.
7555 (server-eval-and-print): Use it.
7556 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7557 Handle -print-nonl.
7558
de5939ba
CS
75592012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7560
7561 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7562 (Bug#10987).
7563
0c93eabf
CY
75642012-03-11 Chong Yidong <cyd@gnu.org>
7565
397a688f
CY
7566 * simple.el (goto-line): Doc fix (Bug#9938).
7567
2cc775f9
CY
7568 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7569
0c93eabf
CY
7570 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7571 when finished (Bug#10963).
7572
c491fa41
MR
75732012-03-11 Martin Rudalics <rudalics@gmx.at>
7574
7575 * window.el (split-window-below): Fix bug in case where
7576 split-window-keep-point is nil (Bug#10971).
7577
300e8fa5
JL
75782012-03-11 Juri Linkov <juri@jurta.org>
7579
7580 * replace.el (replace-highlight): Set isearch-word to nil
7581 unconditionally. (Bug#10887)
7582
dbf6c5a1
EZ
75832012-03-10 Eli Zaretskii <eliz@gnu.org>
7584
7585 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7586 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7587 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7588 (mairix-widget-create-query): Add usage information about mairix
7589 search forms: negating words, searching for substrings, etc.
7590
b9e501de
JP
75912012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7592
7593 * international/fontset.el (font-encoding-alist): Add an entry for
7594 ksx1001 (Bug#5667).
7595
92795c91
RS
75962012-03-10 Richard Stallman <rms@gnu.org>
7597
1694e6c1
RS
7598 * mail/sendmail.el (mail-encode-header):
7599 Set rfc2047-encode-encoded-words.
7600
607e8555
RS
7601 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7602
de3bc99a
RS
7603 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7604 view buffer means not swapped.
7605 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7606 (rmail-write-region-annotate): Error if real text has disappeared.
7607
92795c91
RS
7608 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7609
699bd04e
CY
76102012-03-10 Chong Yidong <cyd@gnu.org>
7611
7612 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7613 * emulation/cua-base.el (cua--init-keymaps):
7614 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7615
570a1714
MR
76162012-03-10 Martin Rudalics <rudalics@gmx.at>
7617
dbbc2e69
SM
7618 * speedbar.el (speedbar-unhighlight-one-tag-line):
7619 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7620
82dcf4e4
CY
76212012-03-10 Chong Yidong <cyd@gnu.org>
7622
7a2c7ca7
CY
7623 * minibuffer.el (completion-in-region, completion-help-at-point):
7624 Give the completion field overlay a high priority (Bug#6830).
7625
82dcf4e4
CY
7626 * dired.el (dired-goto-file): Recognize absolute file name
7627 listings (Bug#7126).
7628 (dired-goto-file-1): New helper function.
7629 (dired-toggle-read-only): Inhibit warnings.
7630
052e28ac
MA
76312012-03-09 Michael Albinus <michael.albinus@gmx.de>
7632
75f1671a 7633 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7634 there are no properties.
7635
95d5e396
LL
76362012-03-09 Leo Liu <sdl.web@gmail.com>
7637
7638 * savehist.el (savehist-printable): Stricter check for string
7639 value (Bug#10937).
7640
3f018d6d
EZ
76412012-03-09 Eli Zaretskii <eliz@gnu.org>
7642
dbbc2e69
SM
7643 * mail/smtpmail.el (smtpmail-send-it):
7644 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7645 valid mbox format.
7646
f7fd3d79
GM
76472012-03-09 Glenn Morris <rgm@gnu.org>
7648
7649 * files.el (dir-locals-find-file):
7650 Don't check result is regular, readable.
7651 (dir-locals-read-from-file): Demote errors.
7652
6ff6e72f
EZ
76532012-03-08 Eli Zaretskii <eliz@gnu.org>
7654
dbbc2e69
SM
7655 * international/quail.el (quail-insert-kbd-layout):
7656 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7657 layout cell, to prevent their reordering by bidi display engine.
7658 For details, see the discussion in
7659 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7660
9cec7834
AM
76612012-03-08 Alan Mackenzie <acm@muc.de>
7662
7663 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7664 the starting position; make it extend the marked region when
7665 invoked repeatedly - all under appropriate circumstances.
7666 Fixes bugs #5525, #10906.
7667
9a40b8d4
GM
76682012-03-08 Glenn Morris <rgm@gnu.org>
7669
7670 * files.el (locate-dominating-file, dir-locals-find-file):
7671 Undo 2012-03-06 change.
7672
7a08ed35
EZ
76732012-03-07 Eli Zaretskii <eliz@gnu.org>
7674
dbbc2e69
SM
7675 * international/quail.el (quail-help):
7676 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7677 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7678 for the reason.
7679
5aca4f71 76802012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7681
7682 Avoid superfluous registering of signals. (Bug#10807)
7683
7684 * notifications.el (notifications-on-action-object)
7685 (notifications-on-close-object): New defvars.
7686 (notifications-on-action-signal, notifications-on-closed-signal):
7687 Unregister the signal if not needed any longer.
7688 (notifications-notify): Register `notifications-action-signal' or
7689 `notifications-closed-signal', if :on-action or :on-close has been
7690 passed as argument.
7691
78e8b10a
CY
76922012-03-07 Chong Yidong <cyd@gnu.org>
7693
7694 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7695 non-X platforms.
7696
69481eb8
GM
76972012-03-06 Glenn Morris <rgm@gnu.org>
7698
7699 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7700 (x-disown-selection-internal, x-get-selection-internal):
7701 Doc fix (add arglist signatures). (Bug#10783)
7702
133b8e11
KS
77032012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7704
7705 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7706 Handle breakpoints with no "type".
7707
99a83064
GM
77082012-03-06 Glenn Morris <rgm@gnu.org>
7709
7710 * files.el (locate-dominating-file): Add optional predicate argument.
7711 (dir-locals-find-file): Make use of above change.
7712
17798e78
TTN
77132012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7714
7715 * info.el (Info-insert-dir): Also try "dir.gz".
7716
eb182446
GM
77172012-03-06 Glenn Morris <rgm@gnu.org>
7718
8f2114ee
GM
7719 * files.el (dir-locals-find-file):
7720 Ignore non-readable or non-regular files. (Bug#10928)
7721
eb182446
GM
7722 * files.el (locate-dominating-file): Doc fix.
7723
24679323
AS
77242012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7725
7726 * calendar/calendar.el (calendar-set-mode-line):
7727 `getenv' returns a string. (Bug#10951)
7728
01d972a9
LL
77292012-03-05 Leo Liu <sdl.web@gmail.com>
7730
109aa8a9
LL
7731 * simple.el (backward-delete-char-untabify): Constrain point to
7732 field (Bug#10939).
7733
01d972a9
LL
7734 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7735
10607bea
CY
77362012-03-05 Chong Yidong <cyd@gnu.org>
7737
7738 * simple.el (count-words): If called from Lisp, return the word
7739 count, for symmetry with `count-lines'. Arglist changed.
7740 (count-words--message): Args changed. Consolidate counting code
7741 from count-words and count-words-region.
7742 (count-words-region): Caller changed.
7743 (count-lines-region): Make it an obsolete alias.
7744
5dd11cfe
TH
77452012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7746
7747 * saveplace.el (save-place-to-alist)
7748 (save-place-ignore-files-regexp): Allow value nil to disable this
7749 feature.
7750
c349f4e6
CY
77512012-03-04 Chong Yidong <cyd@gnu.org>
7752
7753 * faces.el (face-spec-reset-face): For the default face, reset the
7754 attributes to default values (Bug#10748).
7755
e627be4c
LMI
77562012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7757
7758 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7759 previous patch: Check `message-send-mail-function', and not the
7760 default function (bug#10897).
7761
ebeabff4
MA
77622012-03-04 Michael Albinus <michael.albinus@gmx.de>
7763
a41a6cf4
MA
7764 * notifications.el (notifications-on-action-signal)
7765 (notifications-on-closed-signal): Check for unique service name of
7766 incoming event. Fix error in removing entry.
ebeabff4 7767 (top): Register for signals with wildcard service name.
a41a6cf4 7768 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7769
c1ca42b4
CY
77702012-03-04 Chong Yidong <cyd@gnu.org>
7771
dc9924b8 7772 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7773
ea16568d
GM
77742012-03-04 Glenn Morris <rgm@gnu.org>
7775
7776 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7777 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7778 (expand-abbrev, define-abbrev-table): Doc fixes.
7779
fbae4637
LMI
77802012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7783 `message-default-send-mail-function' and not `send-mail-function'
7784 when doing the prompting for `sendmail-query-once' before sending
7785 in Message buffers (bug#10897).
7786
a1e7225c
LMI
7787 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7788 This is inconsistent with all the other stream functions, which leave
7789 the setting up to the higher levels (if so wanted) (bug#10931).
7790
56d093a9
AM
77912012-03-02 Alan Mackenzie <acm@muc.de>
7792
7793 Depessimize the handling of very large macros.
7794
7795 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7796 (c-macro-cache-syntactic): New variables to implement a one
7797 element macro cache.
7798 (c-invalidate-macro-cache): New function.
7799 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7800 Adapt to use the new cache.
7801 (c-state-safe-place): Use better the cache of safe positions.
7802 (c-state-semi-nonlit-pos-cache)
7803 (c-state-semi-nonlit-pos-cache-limit):
7804 New variables for...
7805 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7806 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7807 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7808 Use c-state-semi-safe-place.
56d093a9 7809
dbbc2e69
SM
7810 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7811 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7812
817e5c3d
MA
78132012-03-02 Michael Albinus <michael.albinus@gmx.de>
7814
dbbc2e69
SM
7815 * jka-compr.el (jka-compr-call-process):
7816 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7817 not remote.
7818
a032a702
MA
78192012-03-01 Michael Albinus <michael.albinus@gmx.de>
7820
7821 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7822 access of FILE2, if FILE1 does not exist.
7823
99a54f21
MA
7824 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7825 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7826
7827 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7828 Add "PAGER=" to `process-environment'.
7829
f6561e1f
MM
78302012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7831
7832 * progmodes/sql.el: Bug fix
7833 (sql-get-login-ext): Save login values in globals.
7834 (sql-get-login): Use new version of `sql-get-login-ext'.
7835 (sql-interactive-mode): Set global `sql-connection' to nil.
7836 (sql-connect): Set global values for connection.
7837 (sql-product-interactive): Save global values as buffer local.
7838
2d44d9cc
LL
78392012-02-29 Leo Liu <sdl.web@gmail.com>
7840
7841 * abbrev.el (define-abbrevs): Reset sys to nil.
7842
96b49301 78432012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7844
bf7f9bc5
JB
7845 * files.el (file-equal-p): Rename from `files-equal-p'.
7846 Return nil when one or both files don't exist.
96b49301 7847 (file-subdir-of-p): Now only top directory must exists,
7848 return nil if it doesn't.
bf7f9bc5
JB
7849 (copy-directory): No need to test with `file-subdir-of-p' after
7850 creating dir.
7851 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7852 to `file-equal-p'.
96b49301 7853
44e97401
GM
78542012-02-28 Glenn Morris <rgm@gnu.org>
7855
7856 * shell.el (shell-mode):
7857 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7858 * play/landmark.el (landmark-font-lock-face-O):
7859 * play/handwrite.el (handwrite):
7860 * play/gomoku.el (gomoku-O):
7861 * net/browse-url.el (browse-url-browser-display):
7862 * international/mule.el (define-charset):
7863 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7864 * filesets.el (filesets-find-file-delay):
7865 * eshell/em-xtra.el (eshell-xtra):
7866 * eshell/em-unix.el (eshell-grep):
7867 * emulation/viper.el (viper-mode):
7868 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7869 * emacs-lisp/easymenu.el (easy-menu-define):
7870 * calendar/timeclock.el (timeclock-use-display-time):
7871 * bs.el (bs-mode):
7872 * bookmark.el (bookmark-save-flag):
7873 Doc fix (standardize possessive apostrophe usage).
7874
c98c6276
CY
78752012-02-27 Chong Yidong <cyd@gnu.org>
7876
bf7f9bc5
JB
7877 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7878 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7879
c98c6276
CY
7880 * font-lock.el (font-lock-specified-p): Rename from
7881 font-lock-spec-present. Callers changed.
7882
9c62cd04 78832012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7884
bf7f9bc5
JB
7885 * emacs-lisp/package.el (package-compute-transaction):
7886 Handle holding a package version to t in package-load-list.
8ac9e529 7887
530739c9
MA
78882012-02-26 Michael Albinus <michael.albinus@gmx.de>
7889
7890 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7891 (tramp-get-inode, tramp-get-device): Use cached values.
7892
487915d7
AM
78932012-02-26 Alan Mackenzie <acm@muc.de>
7894
7895 Check there is a font-lock specification before doing initial
7896 fontification.
7897
7898 * font-core.el (font-lock-mode): Move the conditional from
7899 :after-hook to font-lock-initial-fontify.
7900 (font-lock-default-function): Move the check for a specification
7901 to font-lock-spec-present.
7902
dc9924b8 7903 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7904 (font-lock-spec-present): New function.
7905
4fd96557
JB
79062012-02-26 Jim Blandy <jimb@red-bean.com>
7907
7908 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7909 (gdb-send): Apply it to the operand of the '-interpreter-exec
7910 console' command, so that we can pass arguments with (say) quotes
7911 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7912
9a4888c0
CY
79132012-02-26 Chong Yidong <cyd@gnu.org>
7914
07498861
CY
7915 * help-fns.el (describe-function-1): Clarify description of
7916 remapping (Bug#10844).
7917
9a4888c0
CY
7918 * files.el (files-equal-p): Doc fix.
7919 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7920 and quit the loop once a mismatch is found.
7921
ea8fb88d
JB
79222012-02-25 Juanma Barranquero <lekktu@gmail.com>
7923
7924 * bs.el (bs--show-with-configuration): Don't throw an error
7925 if the window cannot be split; otherwise, subsequent calls to
7926 bs-show fail, restoring a stale window config. (Bug#10882)
7927
525795c1
JD
79282012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7929
7930 * term/ns-win.el (global-map): Bind ns-drag-file to
7931 ns-find-file (Bug#5855, Bug#10050).
7932
f008086f
AS
79332012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7934
7935 * calendar/parse-time.el (parse-time-string): Allow extractor to
7936 return nil.
7937
a3fcfa99
MA
79382012-02-25 Michael Albinus <michael.albinus@gmx.de>
7939
91027d08
JB
7940 * net/tramp.el (tramp-file-name-for-operation):
7941 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7942
7943 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7944 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7945 Add COPY-CONTENTS argument.
a3fcfa99 7946
67b0de11
CY
79472012-02-25 Chong Yidong <cyd@gnu.org>
7948
7949 Add custom groups for VC backends, for consistency with vc-bzr.
7950
7951 * vc/vc-arch.el (vc-arch):
7952 * vc/vc-cvs.el (vc-cvs):
7953 * vc/vc-git.el (vc-git):
7954 * vc/vc-hg.el (vc-hg):
7955 * vc/vc-mtn.el (vc-mtn):
7956 * vc/vc-rcs.el (vc-rcs):
7957 * vc/vc-sccs.el (vc-sccs):
7958 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7959 All relevant defcustoms reassigned.
7960
3c9dfce6
CY
79612012-02-25 Chong Yidong <cyd@gnu.org>
7962
1339bf43
CY
7963 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7964
3c9dfce6
CY
7965 * term/x-win.el (x-initialize-window-system): Reduce default for
7966 x-selection-timeout to 5 seconds (Bug#8869).
7967
25b2e303 79682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7969
ec70a47d
GM
7970 * files.el (files-equal-p, file-subdir-of-p): New functions.
7971 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7972 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7973 * dired-aux.el (dired-copy-file-recursive): Same.
7974 (dired-create-files): Modify destination when source is equal to
7975 dest when copying files.
53a46cd0 7976 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7977
914260cd
MA
79782012-02-24 Michael Albinus <michael.albinus@gmx.de>
7979
7980 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7981 (Bug#10874)
7982
2cb228f7
AM
79832012-02-23 Alan Mackenzie <acm@muc.de>
7984
7985 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7986 parameter "after-hook:" to allow the expansion to run code after
7987 the execution of the mode hooks.
7988
7989 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7990 from font-lock-mode-internal.
2cb228f7 7991
91027d08 7992 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7993 :after-hook.
7994
8f0fde21
SM
79952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7996
3e88618b
SM
7997 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7998 (completion--cache-all-sorted-completions): New function.
7999 (completion-all-sorted-completions): Use it.
8000 (completion--do-completion, minibuffer-force-complete):
8001 Use it to re-instate the flush hook.
8002
8f0fde21
SM
8003 * icomplete.el (icomplete-completions): Replace last fix with a better
8004 one (bug#10850).
8005
8e911f6f
DG
80062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8007
8008 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8009 when it might call us back infinitely (bug#10797).
8010
49fe4321
GM
80112012-02-23 Glenn Morris <rgm@gnu.org>
8012
8013 * minibuffer.el (completion-category-overrides): Doc fix.
8014
b291b572
SM
80152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8018 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8019
31a9ef2e
GM
80202012-02-23 Glenn Morris <rgm@gnu.org>
8021
5e6e6794 8022 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8023 (authors-obsolete-files-regexps, authors-ignored-files)
8024 (authors-ambiguous-files, authors-renamed-files-alist):
8025 Add more entries.
8026
0bd1e074
JL
80272012-02-23 Juri Linkov <juri@jurta.org>
8028
8029 * isearch.el (isearch-occur): Sync interactive spec with occur's
8030 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8031
b617673c
JL
8032 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8033
19e9789e
JL
80342012-02-22 Juri Linkov <juri@jurta.org>
8035
8036 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8037 (ucs-insert): Doc fix. Check for hex digits in the string.
8038 Don't display `nil' in the error message. (Bug#10857)
8039
f41ce09d
AM
80402012-02-22 Alan Mackenzie <acm@muc.de>
8041
7a71b18d 8042 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8043
ac2eceee
GM
80442012-02-22 Glenn Morris <rgm@gnu.org>
8045
8046 * ffap.el (ffap-c-path):
8047 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8048
abd1f678
CY
80492012-02-22 Chong Yidong <cyd@gnu.org>
8050
8051 * custom.el (load-theme): Doc fix.
8052
f25aef2e
GM
80532012-02-22 Glenn Morris <rgm@gnu.org>
8054
8055 * dired-x.el (dired-guess-shell-alist-default):
8056 Remove escape sequences from nroff output. (Bug#172)
8057
5f8dc2ca
GM
80582012-02-21 Glenn Morris <rgm@gnu.org>
8059
6ff86ec4
GM
8060 * vc/emerge.el (emerge-defvar-local):
8061 Set `permanent-local' property rather than unused `preserved'.
8062
be3223a3 8063 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8064 (picture-mode-map): Use it. (Bug#10860)
8065 (picture-mode): Doc fix.
8066
3fe58f4f
JB
80672012-02-21 Juanma Barranquero <lekktu@gmail.com>
8068
8069 * newcomment.el (uncomment-region-default): Remove unused binding.
8070
f9a998c3
GM
80712012-02-21 Glenn Morris <rgm@gnu.org>
8072
8073 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8074 (picture-self-insert, picture-tab-chars): Doc fix.
8075 (picture-mode-map): Fix C-a, C-e.
8076
c6029348
GM
80772012-02-20 Glenn Morris <rgm@gnu.org>
8078
8079 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8080
ab1ce9d7
LL
80812012-02-20 Leo Liu <sdl.web@gmail.com>
8082
8083 * icomplete.el (icomplete-completions): Check FROM arg before
8084 passing to substring (Bug#10850).
8085
0fd40f89
CY
80862012-02-19 Chong Yidong <cyd@gnu.org>
8087
8088 * comint.el: Require ansi-color.
8089 (comint-output-filter-functions): Add ansi-color-process-output.
8090
8091 * ansi-color.el: Don't set comint-output-filter-functions; it is
8092 now in the initial value defined in comint.el.
8093 (ansi-color-apply-face-function): New variable.
8094 (ansi-color-apply-on-region): Use it.
8095 (ansi-color-apply-overlay-face): New function.
8096
8097 * shell.el (shell): No need to require ansi-color.
8098 (shell-mode): Use ansi-color-apply-face-function to highlight
8099 color escapes using font-lock-face property (Bug#10835).
8100
20af2394
CY
81012012-02-19 Chong Yidong <cyd@gnu.org>
8102
8103 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8104 mode-line formats (Bug#10839).
8105
e23a3fbe
GM
81062012-02-18 Glenn Morris <rgm@gnu.org>
8107
b474519e
GM
8108 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8109
8110 * mail/undigest.el (unforward-rmail-message): Doc fix.
8111
e23a3fbe
GM
8112 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8113
57939ff4
EZ
81142012-02-18 Eli Zaretskii <eliz@gnu.org>
8115
8116 * international/characters.el (script-list): Sync with the latest
8117 Unicode Character Database.
8118
0c23686e
AS
81192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8120
8121 * international/titdic-cnv.el: Remove duplicate coding tag.
8122 * language/cham.el: Likewise.
8123 * language/tai-viet.el: Likewise.
8124
6818b449
GM
81252012-02-18 Glenn Morris <rgm@gnu.org>
8126
8127 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8128 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8129 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8130 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8131 * calendar/holidays.el (holiday-bahai-holidays)
8132 (calendar-holidays, list-holidays):
8133 Use utf-8 Bahá'í in doc-strings, menus, etc.
8134
0311a3fc
TH
81352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8136
8137 * saveplace.el (save-place-ignore-files-regexp): New variable
8138 allowing for excluding files from saving their location of point.
8139 The default value matches the temporary commit message editing
8140 files from Git, SVN, Bazaar, and Mercurial.
8141 (save-place-to-alist): Use it.
8142
d209e2fb 81432012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8144 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8145
8146 * newcomment.el (uncomment-region-default): Don't leave extra space
8147 when an arg is provided (bug#8150).
8148
ee0ce425
TZ
81492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8150
eb864a71 8151 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8152
95ddf442
GM
81532012-02-17 Glenn Morris <rgm@gnu.org>
8154
8155 * net/socks.el: Require network-stream. (Bug#10599)
8156
48dd1e39 81572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8158
8159 * international/charprop.el:
8160 * international/uni-name.el:
8161 * international/uni-old-name.el:
8162 * international/uni-comment.el: Regenerate.
8163
d68cd087
GM
81642012-02-16 Glenn Morris <rgm@gnu.org>
8165
8166 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8167 Interactively in calendar buffer, give an error if not on a date.
8168
13932042
GM
81692012-02-15 Glenn Morris <rgm@gnu.org>
8170
8171 * shell.el (shell-delimiter-argument-list):
8172 Revert 2011-02-17 change. (Bug#8027)
8173
c3a70e2b
CY
81742012-02-15 Chong Yidong <cyd@gnu.org>
8175
60236b0d
CY
8176 * minibuffer.el (completion-at-point-functions): Doc fix.
8177
c3a70e2b
CY
8178 * custom.el (defcustom): Doc fix; note use of defvar.
8179
9f26dc24
GM
81802012-02-15 Glenn Morris <rgm@gnu.org>
8181
8182 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8183 Doc fixes.
8184
6546b134
GM
81852012-02-14 Glenn Morris <rgm@gnu.org>
8186
8187 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8188
d29b2b4c
LI
81892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8190
8191 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8192 way the ports list is computed.
835bdcba
LI
8193 (smtpmail-query-smtp-server): Prompt the user for a port number if
8194 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8195
08dcdbc9
TZ
81962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8197
8198 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8199
2605051a
GM
82002012-02-13 Glenn Morris <rgm@gnu.org>
8201
8202 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8203
7ee99f32
TZ
82042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8205
8206 * net/gnutls.el (gnutls-trustfiles): New variable.
8207 (gnutls-negotiate): Use it.
8208
5f0af64f
LI
82092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8210
8211 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8212 does its stuff if Gnus is running.
8213
c14fcc95
AM
82142012-02-13 Alan Mackenzie <acm@muc.de>
8215
8216 Fix a loop in c-set-fl-decl-start.
8217
7a71b18d 8218 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8219 c-backward-syntactic-ws actually moves backwards.
8220
142b4d90
LL
82212012-02-13 Leo Liu <sdl.web@gmail.com>
8222
8223 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8224 beginning so that all \C-o chars are removed.
8225
fa9958a6
TZ
82262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8227
dc9924b8 8228 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8229
0bc5886a
AM
82302012-02-12 Alan Mackenzie <acm@muc.de>
8231
8232 Fix infinite loop with long macros.
4d6769e1 8233 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8234
d4bd55e7
CY
82352012-02-12 Chong Yidong <cyd@gnu.org>
8236
8237 * window.el (display-buffer): Doc fix (Bug#10785).
8238
66f3fe22
GM
82392012-02-12 Glenn Morris <rgm@gnu.org>
8240
bd7da63e
GM
8241 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8242 (x-disown-selection-internal, x-get-selection-internal):
8243 Sync docs with the xselect.c versions.
8244
66f3fe22
GM
8245 * allout-widgets.el: Add missing license notice.
8246
3e0d2fa7
GM
82472012-02-11 Glenn Morris <rgm@gnu.org>
8248
cfecdf09
GM
8249 * select.el (x-get-selection-internal, x-own-selection-internal)
8250 (x-disown-selection-internal):
8251 * x-dnd.el (x-get-selection-internal): Update declarations.
8252
6d216d7f
GM
8253 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8254
2bed3f04
GM
8255 * window.el (window-sides-slots):
8256 * tool-bar.el (tool-bar-position):
8257 * term/xterm.el (xterm-extra-capabilities):
8258 * ses.el (ses-self-reference-early-detection):
8259 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8260 (verilog-auto-wire-type)
8261 (verilog-auto-delete-trailing-whitespace)
8262 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8263 (verilog-auto-tieoff-declaration):
8264 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8265 (sql-oracle-statement-starters, sql-oracle-scan-on):
8266 * progmodes/prolog.el (prolog-align-comments-flag)
8267 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8268 (prolog-left-indent-regexp, prolog-paren-indent-p)
8269 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8270 (prolog-types, prolog-mode-specificators)
8271 (prolog-determinism-specificators, prolog-directives)
8272 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8273 (prolog-electric-dot-flag)
8274 (prolog-electric-dot-full-predicate-template)
8275 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8276 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8277 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8278 (prolog-program-switches, prolog-prompt-regexp)
8279 (prolog-debug-on-string, prolog-debug-off-string)
8280 (prolog-trace-on-string, prolog-trace-off-string)
8281 (prolog-zip-on-string, prolog-zip-off-string)
8282 (prolog-use-standard-consult-compile-method-flag)
8283 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8284 (prolog-imenu-max-lines, prolog-info-predicate-index)
8285 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8286 (prolog-char-quote-workaround):
8287 * progmodes/cc-vars.el (c-defun-tactic):
8288 * net/tramp.el (tramp-encoding-command-interactive)
8289 (tramp-local-end-of-line):
8290 * net/soap-client.el (soap-client):
8291 * net/netrc.el (netrc-file):
8292 * net/gnutls.el (gnutls):
8293 * minibuffer.el (completion-category-overrides)
8294 (completion-cycle-threshold)
8295 (completion-pcm-complete-word-inserts-delimiters):
8296 * man.el (Man-name-local-regexp):
8297 * mail/feedmail.el (feedmail-display-full-frame):
8298 * international/characters.el (glyphless-char-display-control):
8299 * eshell/em-ls.el (eshell-ls-date-format):
8300 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8301 (lisp-lambda-list-keyword-parameter-indentation)
8302 (lisp-lambda-list-keyword-parameter-alignment):
8303 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8304 * dired-x.el (dired-omit-verbose):
8305 * cus-theme.el (custom-theme-allow-multiple-selections):
8306 * calc/calc.el (calc-highlight-selections-with-faces)
8307 (calc-lu-field-reference, calc-lu-power-reference)
8308 (calc-note-threshold):
8309 * battery.el (battery-mode-line-limit):
8310 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8311 (archive-7z-update):
8312 * allout.el (allout-prefixed-keybindings)
8313 (allout-unprefixed-keybindings)
8314 (allout-inhibit-auto-fill-on-headline)
8315 (allout-flattened-numbering-abbreviation):
8316 * allout-widgets.el (allout-widgets-auto-activation)
8317 (allout-widgets-icons-dark-subdir)
8318 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8319 (allout-widgets-theme-dark-background)
8320 (allout-widgets-theme-light-background)
8321 (allout-widgets-item-image-properties-emacs)
8322 (allout-widgets-item-image-properties-xemacs)
8323 (allout-widgets-run-unit-tests-on-load)
8324 (allout-widgets-time-decoration-activity)
8325 (allout-widgets-hook-error-post-time)
8326 (allout-widgets-track-decoration):
8327 Add missing :version tags to new defcustoms and defgroups.
8328
5fec1b8e
GM
8329 * progmodes/sql.el (sql-ansi-statement-starters)
8330 (sql-oracle-statement-starters): Add custom type.
8331
3e0d2fa7
GM
8332 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8333 (prolog-system-version): Give it a type.
8334
90b671e2
EZ
83352012-02-11 Eli Zaretskii <eliz@gnu.org>
8336
8337 * term/pc-win.el (x-select-text, x-selection-owner-p)
8338 (x-own-selection-internal, x-disown-selection-internal)
8339 (x-get-selection-internal): Sync doc strings and argument lists
8340 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8341
5eac0c02
LL
83422012-02-11 Leo Liu <sdl.web@gmail.com>
8343
8344 * progmodes/python.el (python-end-of-statement): Fix infinite
8345 loop. (Bug#10788)
8346
f82cb659
GM
83472012-02-10 Glenn Morris <rgm@gnu.org>
8348
8349 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8350 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8351
cc26d239
LI
83522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8353
8354 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8355 about SMTP before checking the From header.
8356
91027d08 8357 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8358 into own function for reuse by emacsbug.el.
8359
1be3ca5a
LL
83602012-02-10 Leo Liu <sdl.web@gmail.com>
8361
8362 * subr.el (condition-case-unless-debug): Rename from
8363 condition-case-no-debug. All callers changed.
8364 (with-demoted-errors): Fix caller.
8365
8366 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8367 * nxml/rng-valid.el (rng-do-some-validation):
8368 * emacs-lisp/package.el (package-refresh-contents)
8369 (package-menu-execute):
8370 * desktop.el (desktop-create-buffer):
91027d08 8371 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8372
b011fbfe
GM
83732012-02-10 Glenn Morris <rgm@gnu.org>
8374
b2096d72
GM
8375 * textmodes/bibtex.el:
8376 Add missing :version tags for new/changed defcustoms.
8377
b011fbfe
GM
8378 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8379
4c7e65bf
LI
83802012-02-09 Lars Ingebrigtsen <larsi@rusty>
8381
8382 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8383 (smtpmail-via-smtp): Use it, or fall back on the From address.
8384 (smtpmail-send-it): Ditto.
8385
f3934f6f
SM
83862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8389 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8390 (byte-compile-tmp-var): New const.
8391 (byte-compile-defvar): Use it to minimize .elc size.
8392 Just use `defvar' rather than simulate it (bug#10761).
8393
a075a2c5
GM
83942012-02-09 Glenn Morris <rgm@gnu.org>
8395
cf3aa21b
GM
8396 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8397
354998cd
GM
8398 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8399 Add :version tags.
8400
dc9924b8
SM
8401 * progmodes/compile.el (compilation-error-screen-columns)
8402 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8403
dab3703d
GM
8404 * vc/log-view.el (log-view-toggle-entry-display):
8405 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8406
3f88cd72
GM
8407 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8408 (report-emacs-bug-can-use-xdg-email):
8409 (report-emacs-bug-insert-to-mailer): Doc fixes.
8410 (report-emacs-bug): Message fix.
8411
d95b247d
GM
8412 * net/browse-url.el (browse-url-can-use-xdg-open)
8413 (browse-url-xdg-open): Doc fixes.
8414
a075a2c5
GM
8415 * electric.el (electric-indent-mode, electric-pair-mode)
8416 (electric-layout-rules, electric-layout-mode): Doc fixes.
8417 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8418
ffb6157e
MR
84192012-02-08 Martin Rudalics <rudalics@gmx.at>
8420
8421 * server.el (server-unselect-display): Don't inadvertently kill
8422 the current buffer. (Bug#10729)
8423
e1ac4066
GM
84242012-02-08 Glenn Morris <rgm@gnu.org>
8425
34e8a2da
GM
8426 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8427 (sql-list-table): Doc fixes.
8428
b4ac6e8c
GM
8429 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8430 Comment out (does nothing).
8431
e1ac4066
GM
8432 * completion.el (dynamic-completion-mode):
8433 * dirtrack.el (dirtrack-debug-mode):
8434 * electric.el (electric-layout-mode):
8435 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8436 * face-remap.el (text-scale-mode, buffer-face-mode):
8437 * iimage.el (iimage-mode):
8438 * image-mode.el (image-transform-mode):
8439 * minibuffer.el (completion-in-region-mode):
8440 * scroll-lock.el (scroll-lock-mode):
8441 * simple.el (next-error-follow-minor-mode):
8442 * tar-mode.el (tar-subfile-mode):
8443 * tooltip.el (tooltip-mode):
8444 * vcursor.el (vcursor-use-vcursor-map):
8445 * wid-browse.el (widget-minor-mode):
8446 * emulation/tpu-edt.el (tpu-edt-mode):
8447 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8448 * international/iso-ascii.el (iso-ascii-mode):
8449 * language/thai-util.el (thai-word-mode):
8450 * mail/supercite.el (sc-minor-mode):
8451 * net/goto-addr.el (goto-address-mode):
8452 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8453 * progmodes/cwarn.el (cwarn-mode):
8454 * progmodes/flymake.el (flymake-mode):
8455 * progmodes/glasses.el (glasses-mode):
8456 * progmodes/hideshow.el (hs-minor-mode):
8457 * progmodes/pascal.el (pascal-outline-mode):
8458 * textmodes/enriched.el (enriched-mode):
8459 * vc/smerge-mode.el (smerge-mode):
8460 Doc fixes (minor mode argument).
8461
5e0d957f
EZ
84622012-02-07 Eli Zaretskii <eliz@gnu.org>
8463
8464 * ls-lisp.el (ls-lisp-sanitize): New function.
8465 (ls-lisp-insert-directory): Use it to fix or remove any elements
8466 in file-alist with missing attributes. (Bug#4673)
8467
98d7371e
AM
84682012-02-07 Alan Mackenzie <acm@muc.de>
8469
8470 Fix spurious recognition of c-in-knr-argdecl.
8471
8472 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8473 putative K&R region.
8474
667ced3a
AM
84752012-02-07 Alan Mackenzie <acm@muc.de>
8476
eb864a71
LM
8477 * progmodes/cc-engine.el (c-forward-objc-directive):
8478 Prevent looping in "#pragma mark @implementation".
667ced3a 8479
5b77774d
MA
84802012-02-07 Michael Albinus <michael.albinus@gmx.de>
8481
8482 * notifications.el (notifications-on-closed-signal): Make `reason'
8483 optional. (Bug#10744)
8484
af008560
GM
84852012-02-07 Glenn Morris <rgm@gnu.org>
8486
60d47423
GM
8487 * emacs-lisp/easy-mmode.el (define-minor-mode):
8488 Doc fixes for the macro and the mode it defines.
8489
dd605cc4
GM
8490 * image.el (imagemagick-types-inhibit): Doc fix.
8491
af008560
GM
8492 * cus-start.el (imagemagick-render-type): Add it.
8493
5cc59a37
LI
84942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8495
4d6769e1
JB
8496 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8497 Set the default at load time, too, so that `font-lock-fontify-buffer'
8498 can be called without setting up the entire mode first. This fixes
8499 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8500
9a6dd747
CY
85012012-02-06 Chong Yidong <cyd@gnu.org>
8502
2d16b285
CY
8503 * simple.el (list-processes--refresh): Delete exited processes
8504 (Bug#8094).
8505
171e9b6e
CY
8506 * comint.el (comint-next-prompt): next-single-char-property-change
8507 and prev-single-char-property-change never return nil (Bug#8657).
8508
9a6dd747
CY
8509 * custom.el (defcustom): Doc fix (Bug#9711).
8510
aa4589a7
CY
85112012-02-05 Chong Yidong <cyd@gnu.org>
8512
5c2a252f
CY
8513 * cus-edit.el (custom-variable-reset-backup): Quote the value
8514 before storing it in the customized-value property (Bug#6712).
4aab9006 8515 (custom-display): Add a customization type tag.
983b9602 8516 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8517
aa4589a7
CY
8518 * wid-edit.el (widget-field-value-get): New optional arg to
8519 suppress trailing whitespace truncation.
8520 (character): Use it (Bug#2689).
8521
1ff980ae
AS
85222012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8523
8524 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8525 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8526
03988c98
CY
85272012-02-05 Chong Yidong <cyd@gnu.org>
8528
eeb6cc88
CY
8529 * cus-edit.el (custom-variable-value-create): For mismatched
8530 types, show the current value (Bug#7600).
8531
03988c98
CY
8532 * custom.el (defcustom): Doc fix.
8533
f8cdeef0
GM
85342012-02-05 Glenn Morris <rgm@gnu.org>
8535
8536 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8537
0696d255
JB
85382012-02-05 Juanma Barranquero <lekktu@gmail.com>
8539
8540 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8541 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8542 (pp-last-sexp): Use `looking-at-p'.
8543
34c99998
GM
85442012-02-04 Glenn Morris <rgm@gnu.org>
8545
8f05da42
GM
8546 * files.el (revert-buffer):
8547 Doc fix (mention revert-buffer-in-progress-p).
8548
f160676e
GM
8549 * emacs-lisp/ert-x.el (ert-simulate-command):
8550 Check deferred-action-list (which is obsolete) is bound.
8551
c7291ad9
GM
8552 * subr.el (with-wrapper-hook): Doc fixes.
8553
34c99998
GM
8554 * simple.el (filter-buffer-substring-functions)
8555 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8556
6283a7d3
LL
85572012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8558
8559 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8560 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8561
e96e3013
LL
85622012-02-04 Leo Liu <sdl.web@gmail.com>
8563
8564 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8565
8ded50f2
GM
85662012-02-04 Glenn Morris <rgm@gnu.org>
8567
82ff1d13
GM
8568 * image.el (image-extension-data): Add obsolete alias.
8569
987a0a16
GM
8570 * isearch.el (isearch-update): Doc fix.
8571
ea32ef46
GM
8572 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8573
8ded50f2
GM
8574 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8575
eea14f31
GM
85762012-02-03 Glenn Morris <rgm@gnu.org>
8577
8578 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8579 (image-animate-timeout): Doc fix.
8580
8581 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8582
12f381b7
GM
85832012-02-02 Glenn Morris <rgm@gnu.org>
8584
953cebf5
GM
8585 * server.el (server-auth-dir): Doc fix.
8586 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8587
12f381b7
GM
8588 * subr.el (run-mode-hooks): Doc fix.
8589
953a8c3b
JL
85902012-02-02 Juri Linkov <juri@jurta.org>
8591
8592 * image-mode.el (image-toggle-display-image): Remove tautological
8593 `major-mode' from the `derived-mode-p' test.
8594
c5d3843c
KH
85952012-02-02 Kenichi Handa <handa@m17n.org>
8596
9f6e692e 8597 * composite.el (compose-region): Cancel previous change.
c5d3843c 8598
159462d4 85992012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8600
8601 * composite.el (compose-region, compose-string): Signal error for
8602 a null string component (Bug#6988).
8603
9f562668
CY
86042012-02-01 Chong Yidong <cyd@gnu.org>
8605
e2cef717
CY
8606 * view.el (view-buffer-other-window, view-buffer-other-frame):
8607 Handle special modes like view-buffer (Bug#10650).
8608 (view-buffer): Simplify.
8609
9f562668
CY
8610 * frame.el (set-frame-font): Tweak meaning of third argument.
8611
9f6e692e
JB
8612 * dynamic-setting.el (font-setting-change-default-font):
8613 Use set-frame-font (Bug#9982).
9f562668 8614
781acb9f
GM
86152012-02-01 Glenn Morris <rgm@gnu.org>
8616
6035be52
GM
8617 * progmodes/compile.el (compilation-internal-error-properties):
8618 Respect compilation-first-column in the "*compilation*" buffer.
8619
781acb9f
GM
8620 * emacs-lisp/easy-mmode.el (define-minor-mode):
8621 Relax :variable's test for a named function.
8622
abbceb00
AM
86232012-01-31 Alan Mackenzie <acm@muc.de>
8624
8625 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8626 off by one error.
8627
fce3fdeb
CY
86282012-01-31 Chong Yidong <cyd@gnu.org>
8629
8630 * frame.el (set-frame-font): New arg ALL-FRAMES.
8631
8632 * menu-bar.el (menu-set-font): Use set-frame-font.
8633
8634 * faces.el (face-spec-reset-face): Don't apply unspecified
8635 attribute values to the default face.
8636
47893581
JB
86372012-01-31 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * progmodes/cwarn.el (cwarn): Remove dead link.
8640 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8641 Remove * from defcustom docstrings.
8642 (turn-on-cwarn-mode): Make obsolete.
8643 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8644 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8645
e58e988a
GM
86462012-01-31 Glenn Morris <rgm@gnu.org>
8647
60dc2671 8648 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8649 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8650 Allow named functions to be used as the cdr of :variable.
e58e988a 8651
7a3f511d
GM
86522012-01-30 Glenn Morris <rgm@gnu.org>
8653
8654 * emacs-lisp/authors.el (authors-fixed-entries):
8655 Remove reference to deleted file rnewspost.el.
8656
cb882333
JB
86572012-01-29 Juanma Barranquero <lekktu@gmail.com>
8658
8659 * window.el (window-with-parameter): Remove unused variable `windows'.
8660 (window--side-check): Remove unused variable `code'.
8661 (window--resize-siblings): Remove unused variable `first'.
8662 (adjust-window-trailing-edge): Remove unused variable `failed'.
8663 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8664 Use `let', not `let*'.
8665 (balance-windows-2): Remove unused variable `found'.
8666 (window--state-put-2): Remove unused variable `splits'.
8667 (window-state-put): Remove unused variable `selected'.
8668 (same-window-p): Use `string-match-p'.
8669 (display-buffer-assq-regexp): Remove unused variable `value'.
8670 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8671 Mark argument ALIST as ignored.
8672 (pop-to-buffer): Remove unused variable `old-window'.
8673
907201af
EZ
86742012-01-29 Eli Zaretskii <eliz@gnu.org>
8675
8676 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8677 and .lzma compressed files.
8678
ea162670
CY
86792012-01-29 Chong Yidong <cyd@gnu.org>
8680
5b95ee8a
CY
8681 * frame.el (window-system-default-frame-alist): Doc fix.
8682
ea162670
CY
8683 * dynamic-setting.el (font-setting-change-default-font): Don't
8684 change the default face if SET-FONT argument is non-nil (Bug#9982).
8685
d6e6f4b1
SB
86862012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8687
8688 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8689
0f29fa41 86902012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8691
8692 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8693 breakpoints in files outside current directory (Bug#6098).
8694
db174434
CY
86952012-01-29 Chong Yidong <cyd@gnu.org>
8696
6b25e4e2
SE
8697 * progmodes/python.el: Require ansi-color at top-level.
8698
6df6ae42
JB
8699 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8700 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8701 (lisp-mode-abbrev-table): Add doc.
8702 (lisp-mode-variables): Don't set local-abbrev-table.
8703 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8704
e70ee681
RW
87052012-01-28 Roland Winkler <winkler@gnu.org>
8706
8707 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8708
ace88aa2
RW
87092012-01-28 Roland Winkler <winkler@gnu.org>
8710
8711 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8712 (bibtex-set-dialect): Use it. Either set global values of
8713 dialect-dependent variables or bind these variables buffer-locally
8714 (Bug#10254).
8715 (bibtex-mode): Call bibtex-set-dialect via
8716 hack-local-variables-hook.
eb864a71
LM
8717 (bibtex-dialect): Update docstring.
8718 Add safe-local-variable predicate.
ace88aa2
RW
8719 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8720 bibtex-set-dialect.
8721 (bibtex-mode-map): Define menu for each dialect.
8722 (bibtex-entry): Fix docstring.
8723
93376c5b
CY
87242012-01-28 Chong Yidong <cyd@gnu.org>
8725
8726 * eshell/esh-arg.el (eshell-quote-argument): New function.
8727
8728 * eshell/esh-ext.el (eshell-invoke-batch-file):
8729 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8730 first arg to eshell-parse-command (Bug#10523).
8731
4372494f
DA
87322012-01-28 Drew Adams <drew.adams@oracle.com>
8733
8734 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8735 `default-directory' is non-nil.
8736
4d4ec1f8
EZ
87372012-01-28 Eli Zaretskii <eliz@gnu.org>
8738
8739 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8740 line that displays system-configuration-options. (Bug#9924)
8741
7c188927
DA
87422012-01-28 Drew Adams <drew.adams@oracle.com>
8743
8744 * descr-text.el (describe-char): Show information about POS, in
8745 addition to information about the character at POS. Improve and
8746 update the doc string. Change "code point" to "code point in
8747 charset", to avoid confusion with the character's Unicode code
8748 point shown above that. (Bug#10129)
8749
e0da685a
EZ
87502012-01-28 Eli Zaretskii <eliz@gnu.org>
8751
8752 * descr-text.el (describe-char): Show the raw character, not only
8753 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8754 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8755 for the reasons.
8756
70550acf
PH
87572012-01-28 Phil Hagelberg <phil@hagelb.org>
8758
eb864a71
LM
8759 * emacs-lisp/package.el (package-install):
8760 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8761
0ce8e868
CY
87622012-01-28 Chong Yidong <cyd@gnu.org>
8763
cb882333
JB
8764 * emacs-lisp/package.el (package-maybe-load-descriptor):
8765 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8766 (package-maybe-load-descriptor): Use it.
8767 (package-download-transaction): Fully load required packages
8768 inside the loop, so that `require' calls work (Bug#10593).
8769 (package-install): No need to call package-initialize now.
8770
2e7f3bea
CY
87712012-01-28 Chong Yidong <cyd@gnu.org>
8772
6e9bad14
CY
8773 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8774
f823b8ca
CY
8775 * tooltip.el (tooltip-mode): Doc fix.
8776 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8777
2680c309
CY
8778 * frame.el (set-cursor-color): Doc fix (Bug#352).
8779
d7a9e63b
CY
8780 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8781 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8782
2e7f3bea
CY
8783 * cus-edit.el (custom-buffer-create-internal): Fix search button
8784 action (Bug#10542).
2ae01800 8785 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8786
fc4f7a23
EW
87872012-01-27 Eduard Wiebe <usenet@pusto.de>
8788
8789 * dired.el (dired-mark-files-regexp):
8790 Include any subdirectory components. (Bug#10445)
8791
7dd37071
ML
87922012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8793
8794 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8795 Handle [host]:port syntax. (Bug#10533)
8796
a268160b
AH
87972012-01-27 Alex Harsanyi <harsanyi@mac.com>
8798
8799 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8800
e43273ef
GM
88012012-01-26 Glenn Morris <rgm@gnu.org>
8802
8803 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8804 * term.el (term-raw-escape-map): Use Control-X-prefix.
8805 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8806
1edf595d
MR
88072012-01-25 Martin Rudalics <rudalics@gmx.at>
8808
8809 * window.el (window-state-get, window--state-get-1): Don't deal
8810 with fixed-sizeness of windows. Simplify code.
8811
fa8eafef
JC
88122012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8813
6df6ae42
JB
8814 * window.el (window--state-get-1, window--state-put-2):
8815 Don't save and restore the mark.
fa8eafef 8816
0b21c100
CY
88172012-01-25 Chong Yidong <cyd@gnu.org>
8818
8819 * custom.el (custom-variable-p): Doc fix.
8820
5ae1a6c8
GM
88212012-01-25 Glenn Morris <rgm@gnu.org>
8822
40047858
GM
8823 * dired.el (dired-goto-file): Handle some of the more common
8824 characters that `ls -b' escapes. (Bug#10596)
8825
5ddce96c
GM
8826 * progmodes/compile.el (compilation-next-error-function):
8827 Respect compilation-first-column in the "*compilation*" buffer.
8828 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8829
5ae1a6c8
GM
8830 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8831
b559f1a9
GM
88322012-01-24 Glenn Morris <rgm@gnu.org>
8833
8834 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8835
6725d21a
JD
88362012-01-24 Julien Danjou <julien@danjou.info>
8837
8838 * color.el (color-rgb-to-hsl): Fix value computing.
8839 (color-hue-to-rgb): New function.
8840 (color-hsl-to-rgb): New function.
8841 (color-clamp, color-saturate-hsl, color-saturate-name)
8842 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8843 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8844
70df4bbe
GM
88452012-01-24 Glenn Morris <rgm@gnu.org>
8846
8847 * vc/vc-rcs.el (vc-rcs-create-tag):
8848 * vc/vc-sccs.el (vc-sccs-create-tag):
8849 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8850
802a2ae2
ML
88512012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8852
8853 * eshell/esh-util.el (eshell-read-hosts-file):
8854 Skip comment lines. (Bug#10549)
8855
d7128bb1
ML
8856 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8857
d1a5c3b4
JB
88582012-01-23 Juanma Barranquero <lekktu@gmail.com>
8859
2724d9c7
JB
8860 * subr.el (display-delayed-warnings): Doc fix.
8861 (collapse-delayed-warnings): New function to collapse identical
8862 adjacent warnings.
8863 (delayed-warnings-hook): Add it.
d1a5c3b4 8864
a5509865
MA
88652012-01-22 Michael Albinus <michael.albinus@gmx.de>
8866
8867 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8868
a5509865
MA
8869 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8870 (tramp-default-user-alist): Don't add "pscp".
8871 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8872 property "login-as", if set. (Bug#10530)
8873
cc6d5805
MA
88742012-01-21 Michael Albinus <michael.albinus@gmx.de>
8875
8876 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8877 "plink1" and "psftp". (Bug#10530)
8878
88792012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8880
8881 * international/mule-cmds.el (prefer-coding-system): Show a
8882 warning message if the default value of file-name-coding-system
8883 was not changed.
8884
f0960428
JC
88852012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8886
cb882333
JB
8887 * windmove.el (windmove-reference-loc):
8888 Fix windmove-reference-loc miscalculation.
f0960428 8889
dd6f2a63
JB
88902012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8891
8892 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8893 default unit.
8894
7b447e9b
GM
88952012-01-21 Glenn Morris <rgm@gnu.org>
8896
117a9ea1
GM
8897 * international/mule.el (auto-coding-alist): Add .tbz.
8898
7b447e9b
GM
8899 * files.el (local-enable-local-variables): Doc fix.
8900 (inhibit-local-variables-regexps): Rename from
8901 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8902 Doc fix. Add some extensions from auto-coding-alist.
8903 (inhibit-local-variables-suffixes):
8904 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8905 (inhibit-local-variables-p):
8906 New function, extracted from set-auto-mode-1.
8907 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8908 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8909 (hack-local-variables): Doc fix. Make the mode-only case
8910 respect enable-local-variables and friends.
8911 Respect inhibit-local-variables-regexps for file-locals, but
8912 not for directory-locals.
8913 (set-visited-file-name):
8914 Take account of inhibit-local-variables-regexps.
8915 Whether it applies may change as the file name is changed.
8916 * jka-cmpr-hook.el (jka-compr-install):
8917 * jka-compr.el (jka-compr-uninstall):
8918 Update for inhibit-first-line-modes-suffixes name change.
8919
dd6e3cdd
MR
89202012-01-20 Martin Rudalics <rudalics@gmx.at>
8921
8922 * help-macro.el (make-help-screen): Temporarily restore original
8923 binding for minor-mode-map-alist (Bug#10454).
8924
0d0deb38
JD
89252012-01-19 Julien Danjou <julien@danjou.info>
8926
8927 * color.el (color-name-to-rgb): Use the white color to find the max
8928 color component value and return correctly computed values.
8929 (color-name-to-rgb): Add missing float conversion for max value.
8930
34a02f46
MR
89312012-01-19 Martin Rudalics <rudalics@gmx.at>
8932
8933 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8934 special state value for window-persistent-parameters.
8935 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8936 (window--state-put-2): Reset all window parameters to nil before
8937 assigning values of persistent parameters.
8938
606c44c4
AM
89392012-01-18 Alan Mackenzie <acm@muc.de>
8940
8941 Eliminate sluggishness and hangs in fontification of "semicolon
8942 deserts".
8943
cb882333
JB
8944 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8945 Change value 10000 -> 3000.
606c44c4
AM
8946 (c-state-safe-place): Reformulate so it doesn't stack up an
8947 infinite number of wrong entries in c-state-nonlit-pos-cache.
8948 (c-determine-limit-get-base, c-determine-limit): New functions to
8949 determine backward search limits disregarding literals.
8950 (c-find-decl-spots): Amend commenting.
8951 (c-cheap-inside-bracelist-p): New function which detects "={".
8952
8953 * progmodes/cc-fonts.el
8954 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8955 backward search.
8956 (c-font-lock-declarations): Fix an occurrence of point being
8957 undefined. Check additionally for point being in a bracelist or
8958 near a macro invocation without a semicolon so as to avoid a
8959 fruitless time consuming search for a declarator. Give a more
8960 precise search limit for declarators using the new
8961 c-determine-limit.
8962
f3860cea
GM
89632012-01-18 Glenn Morris <rgm@gnu.org>
8964
8965 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8966 (set-auto-mode): Doc fixes.
8967
1db03b16
GM
89682012-01-17 Glenn Morris <rgm@gnu.org>
8969
0e6038be
GM
8970 * isearch.el (search-nonincremental-instead): Fix doc typo.
8971
1db03b16
GM
8972 * dired.el (dired-insert-directory): Handle newlines in directory name.
8973 (dired-build-subdir-alist): Unescape newlines in directory name.
8974
4cb0aa75
MA
89752012-01-17 Michael Albinus <michael.albinus@gmx.de>
8976
8977 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8978 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8979 (tramp-action-terminal): Use it. (Bug#10530)
8980
1d00653d
SM
89812012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8982
8983 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8984
6a6ee00d
MR
89852012-01-16 Martin Rudalics <rudalics@gmx.at>
8986
8987 * window.el (window-state-ignored-parameters): Remove variable.
8988 (window--state-get-1): Rename argument MARKERS to IGNORE.
8989 Handle persistent window parameters. Make copy of clone-of
8990 parameter only if requested. (Bug#10348)
8991 (window--state-put-2): Install a window parameter only if it has
8992 a non-nil value or an existing parameter shall be overwritten.
8993
97912def
MA
89942012-01-15 Michael Albinus <michael.albinus@gmx.de>
8995
8996 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8997
688070a5
EZ
89982012-01-14 Eli Zaretskii <eliz@gnu.org>
8999
9000 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9001 don't pass the (nil) value of `upnode' to string-match.
9002
301afadc
CY
90032012-01-14 Chong Yidong <cyd@gnu.org>
9004
9005 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9006 Fix values recognized by the cursorBlink resource.
301afadc 9007
9e5788aa
PE
90082012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9009
9010 * epg.el (epg--make-temp-file): Avoid permission race condition
9011 when running on old Emacs versions (bug#10403).
9012
3cdb7f5a
GM
90132012-01-14 Glenn Morris <rgm@gnu.org>
9014
9015 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9016
8c82b1b4
AM
90172012-01-13 Alan Mackenzie <acm@muc.de>
9018
9019 Fix filling for when filladapt mode is enabled.
9020
9021 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9022 c-mask-paragraph, pass in `fill-paragraph' rather than
9023 `fill-region-as-paragraph'. (This is a reversion of a previous
9024 change.)
eb864a71
LM
9025 * progmodes/cc-mode.el (c-basic-common-init):
9026 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9027
e517eda4
GM
90282012-01-13 Glenn Morris <rgm@gnu.org>
9029
1498536e
GM
9030 * dired.el (dired-switches-escape-p): New function.
9031 (dired-insert-directory): Use dired-switches-escape-p.
9032 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9033
e517eda4
GM
9034 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9035
328f984d
GM
90362012-01-12 Glenn Morris <rgm@gnu.org>
9037
9038 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9039 changes in adaptive-fill-regexp. (Bug#10276)
9040
2cc769a8
AM
90412012-01-11 Alan Mackenzie <acm@muc.de>
9042
9043 Fix Emacs bug #10463 - put `widen's around the critical spots.
9044
1d00653d 9045 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9046 widen around each invocation of c-state-pp-to-literal. Remove an
9047 unused let variable.
9048
e52c37fa
GM
90492012-01-11 Glenn Morris <rgm@gnu.org>
9050
9051 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9052 Doc fix.
e52c37fa 9053
96f8741e
CY
90542012-01-10 Chong Yidong <cyd@gnu.org>
9055
1d00653d
SM
9056 * net/network-stream.el (network-stream-open-starttls):
9057 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9058 response to the capability command.
9059
b09a806e
GM
90602012-01-10 Glenn Morris <rgm@gnu.org>
9061
9062 * mail/unrmail.el (unrmail): Tweak previous change.
9063
7655cb66
CY
90642012-01-09 Chong Yidong <cyd@gnu.org>
9065
9066 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9067
9d5a8f0b
AM
90682012-01-08 Alan Mackenzie <acm@muc.de>
9069
9070 Optimise font locking in long enum definitions.
9071
9072 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9073 arm to a cond form to handle enums.
9074 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9075 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9076
9a0115ab 90772012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9078
9079 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9080 (Bug#10401)
6bb72cbd 9081
f186bb95
LMI
90822012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9083
29232a68
LMI
9084 * faces.el (set-face-attribute): Clarify the meaning of the nil
9085 frame (bug#10294).
9086
4e5d086d
LMI
9087 * subr.el (with-selected-frame): Mention that the selected frame
9088 is restored (bug#9980).
9089
8e66aebe
LMI
9090 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9091 (bug#9759).
9092
cd394be1 9093 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9094 (password-read): Don't autoload unused function.
9095
adf4e762
JB
90962012-01-07 Juanma Barranquero <lekktu@gmail.com>
9097
9098 * progmodes/which-func.el (which-func-mode): Turn into a
9099 non-interactive function and mark as obsolete (bug#10428).
9100
89bd9ccd
CY
91012012-01-06 Chong Yidong <cyd@gnu.org>
9102
9103 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9104 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9105 functions, along with 1 and -1.
9106
4afee9d5
EZ
91072012-01-06 Eli Zaretskii <eliz@gnu.org>
9108
9109 * time.el (display-time-load-average)
9110 (display-time-default-load-average): Doc fixes. See the thread
9111 starting at
9112 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9113 for the details.
9114
536aea70
GM
91152012-01-06 Glenn Morris <rgm@gnu.org>
9116
665ae865
GM
9117 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9118 has no messages. (Bug#10377)
9119
c869783d
GM
9120 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9121 than Info-edit. (Bug#10385)
9122
2bb4227e
GM
9123 * time.el (display-time-load-average, display-time-next-load-average):
9124 Doc fixes.
9125
7d5944b9
GM
9126 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9127 local setting of buffer-read-only to the input buffer. (Bug#10419)
9128
536aea70
GM
9129 * calendar/calendar.el (calendar-mode):
9130 Locally set scroll-margin to 0. (Bug#10379)
9131
7dccca16
UM
91322012-01-06 Ulrich Mueller <ulm@gentoo.org>
9133
9134 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9135
afbb7930
GM
91362012-01-05 Glenn Morris <rgm@gnu.org>
9137
9138 * eshell/em-unix.el (diff-no-select): Autoload it.
9139 (eshell/diff): Use diff-no-select. (Bug#10420)
9140
04482335
CY
91412012-01-05 Chong Yidong <cyd@gnu.org>
9142
7baca3bc
CY
9143 * shell.el (shell-dynamic-complete-functions): Revert last change.
9144 (shell-command-completion-function): New function.
9145 (shell-completion-vars): Use it to implement
9146 shell-completion-execonly (Bug#10417).
9147
04482335
CY
9148 * custom.el (enable-theme): Don't set custom-safe-themes.
9149
1d00653d
SM
9150 * cus-theme.el (custom-theme-merge-theme):
9151 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9152
bb5aa5d6
MM
91532012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9154
9155 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9156 first prompt in `sql-interacive-mode'.
9157 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9158 keywords.
6df6ae42 9159 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9160 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9161 context of original buffer. Invoke `sql-login-hook'.
9162
a7183d7c
EZ
91632012-01-04 Eli Zaretskii <eliz@gnu.org>
9164
9165 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9166 letters in cite-prefix.
9167
a1eacd1e
LMI
91682012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9169
9170 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9171
787cdb34
CY
91722012-01-03 Chong Yidong <cyd@gnu.org>
9173
1d00653d
SM
9174 * shell.el (shell-dynamic-complete-functions):
9175 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9176 comint-filename-completion first (Bug#10417).
9177
30710442
RS
91782012-01-02 Richard Stallman <rms@gnu.org>
9179
9180 * battery.el (battery-status-function):
9181 Detect when to use battery-yeeloong-sysfs.
9182 (battery-echo-area-format): Add string for Yeeloong.
9183 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9184 (battery-yeeloong-sysfs): New function.
9185
f75bfc33
CY
91862012-01-02 Chong Yidong <cyd@gnu.org>
9187
9188 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9189 (dirtrack): Merge code for handling relative filenames in prompt
9190 from shell-dir-cookie-watcher.
9191 (dirtrack-debug-message): New arg to avoid excess format calls.
9192
9193 * shell.el (shell-dir-cookie-re): Variable deleted.
9194 (shell-dir-cookie-watcher): Function deleted.
9195 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9196 with dirtrack-mode.
9197
651e947e
EZ
91982012-01-01 Eli Zaretskii <eliz@gnu.org>
9199
1d00653d
SM
9200 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9201 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9202 libgnutls-26.dll.
9203
94d4c7dc
AS
92042011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9205
9206 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9207
8d43f3cd
EZ
92082011-12-31 Eli Zaretskii <eliz@gnu.org>
9209
9210 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9211 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9212
98c8795a
MA
92132011-12-29 Michael Albinus <michael.albinus@gmx.de>
9214
9215 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9216 also for alternative shells.
9217 (tramp-open-connection-setup-interactive-shell): Check, whether
9218 the shell is a busybox.
9219 (tramp-send-command): Don't suppress multiple prompts for
9220 busyboxes, it hurts.
9221
51281b32
CY
92222011-12-28 Chong Yidong <cyd@gnu.org>
9223
9224 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9225 (gdb-get-source-file): Move mode line update to
9226 gdb-get-source-file (Bug#10087).
9227
2170cb53
CY
92282011-12-25 Chong Yidong <cyd@gnu.org>
9229
9230 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9231 gud-gdb-marker-filter without taking it as an argument.
9232 (gud-gdb-run-command-fetch-lines): Caller changed.
9233 (gud-gdb-completion-function): New variable.
9234 (gud-gdb-completion-at-point): Use it.
9235 (gud-gdb-completions-1): Split from gud-gdb-completions.
9236
9237 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9238 function as separate arguments.
9239 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9240 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9241 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9242 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9243 (gdb-stopped, def-gdb-auto-update-trigger)
9244 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9245 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9246 Callers changed.
2170cb53
CY
9247 (gud-gdbmi-completions): New function.
9248 (gdb): Use it for generating the completion table.
9249
be8b11bb
AM
92502011-12-24 Alan Mackenzie <acm@muc.de>
9251
9252 Introduce a mechanism to widen the region used in context font
1d00653d 9253 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9254
1d00653d
SM
9255 * progmodes/cc-langs.el (c-before-font-lock-functions):
9256 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9257 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9258 functions to be run just before context (etc.) font locking.
9259
9260 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9261 New, functionality extracted from
be8b11bb 9262 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9263 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9264 (c-after-change): Set c-in-after-change-fontification.
9265 (c-set-fl-decl-start): Rejig its interface, so it can be called
9266 from both after-change and context fontifying.
b81d40f0
JB
9267 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9268 New functions.
9269 (c-standard-font-lock-fontify-region-function): New variable.
9270 (c-font-lock-fontify-region): New function.
be8b11bb 9271
341cf6ac
JL
92722011-12-24 Juri Linkov <juri@jurta.org>
9273
9274 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9275 (Bug#10348)
9276
bffcee0a
MA
92772011-12-23 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9280 existence of source file. (Bug#10325)
9281
cb5e207c
AM
92822011-12-23 Alan Mackenzie <acm@muc.de>
9283
9284 Fix unstable fontification inside templates.
9285
b81d40f0
JB
9286 * progmodes/cc-langs.el (c-before-font-lock-functions):
9287 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9288 additionally has c-set-fl-decl-start. The other languages (apart
9289 from AWK) have that as a single entry.
9290
b81d40f0
JB
9291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9292 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9293 c-set-fl-decl-start.
9294
b81d40f0
JB
9295 * progmodes/cc-mode.el (c-common-init, c-after-change):
9296 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9297 (c-set-fl-decl-start): New function, extracted from
9298 c-font-lock-enclosing-decls and enhanced.
9299
60ff536c
JB
93002011-12-23 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9303
1c4757d6
JL
93042011-12-22 Juri Linkov <juri@jurta.org>
9305
9306 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9307
d031f2c7
CY
93082011-12-22 Chong Yidong <cyd@gnu.org>
9309
9310 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9311
bace743a
DA
93122011-12-21 Drew Adams <drew.adams@oracle.com>
9313
9314 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9315
728a1f2b
JC
93162011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9317
9318 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9319
0d373f73
TZ
93202011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9321
fec0aaa4
TZ
9322 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9323 highlighting and support. Fix up comments for capitalization.
9324 (cfengine-mode-debug): New var.
9325 (cfengine3-mode): Change the modeline indicator to "CFE3".
9326 (cfengine3-font-lock-keywords): Improve defun highlighting.
9327 (cfengine2-actions): Rename from `cfengine-actions'.
9328 (cfengine2-font-lock-keywords): Rename from
9329 `cfengine-font-lock-keywords'.
9330 (cfengine2-imenu-expression): Rename from
9331 `cfengine-imenu-expression'.
9332 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9333 (cfengine2-beginning-of-defun): Rename from
9334 `cfengine-beginning-of-defun'.
9335 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9336 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9337 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9338 modeline indicator to "CFE2".
9339 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9340 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9341
bc86f573
CY
93422011-12-21 Chong Yidong <cyd@gnu.org>
9343
9344 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9345 filename argument.
9346
d45ba96b
MR
93472011-12-20 Martin Rudalics <rudalics@gmx.at>
9348
9349 * window.el (window-normalize-buffer-to-display): Remove.
9350 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9351
a6198c90
CY
93522011-12-19 Chong Yidong <cyd@gnu.org>
9353
9354 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9355 Don't signal an error in a predicate function; return non-nil.
9356 (vc-dir-mark-file): Move the error here.
9357 (vc-dir-mark-unmark): If acting on the region, keep going if one
9358 of the entries cannot be marked/unmarked.
9359 (vc-dir-mark-all-files): If current entry is a directory, mark
9360 only child files, as documented.
9361
34c5fb55
VB
93622011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9363
9364 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9365 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9366 addition.
9367
c803b2b7
JD
93682011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9369
9370 * term/ns-win.el (ns-get-selection-internal)
9371 (ns-store-selection-internal): Declare.
1154d12e
JB
9372 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9373 Declare as obsolete.
9374 (ns-get-pasteboard, ns-paste-secondary):
9375 Use ns-get-selection-internal.
9376 (ns-set-pasteboard, ns-copy-including-secondary):
9377 Use ns-store-selection-internal.
c803b2b7 9378
9cff91f8 93792011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9380
9381 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9382 (vc-deduce-fileset): Doc fix.
99a289d9 9383
f16c898a
AS
93842011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9385
9386 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9387
763237c4
SS
93882011-12-13 Sam Steingold <sds@gnu.org>
9389
9390 * man.el (Man-getpage-in-background): When running under a
9391 window-system, ignore $MANWIDTH and $COLUMNS.
9392
5fc1c122
KH
93932011-12-15 Kenichi Handa <handa@m17n.org>
9394
9395 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9396 (setup-ethiopic-environment-internal): Comment out key-binding for
9397 ethio-toggle-punctuation.
9398
13d49cbb
AM
93992011-12-13 Alan Mackenzie <acm@muc.de>
9400
898169a2
AM
9401 Add the switch statement to AWK Mode.
9402
7a71b18d 9403 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9404 "default" to the keywords regexp.
9405
7a71b18d 9406 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9407 expression as the rest.
1d00653d
SM
9408 (c-nonlabel-token-key): Allow string literals for AWK.
9409 Refactor for the other modes.
898169a2 9410
13d49cbb 9411 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9412 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9413 routines. Limit backward searching in c-font-lock-enclosing.decl.
9414
9415 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9416 pp-state and literal type in addition to the limits.
1d00653d 9417 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9418 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9419 (c-slow-in-literal, c-fast-in-literal): Remove.
9420 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9421
9422 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9423 being in a literal. Add a limit for backward searching.
9424
9425 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9426 c-slow-in-literal.
9427
15e0efc7
SM
94282011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9431
454592a6
MR
94322011-12-13 Martin Rudalics <rudalics@gmx.at>
9433
9434 * window.el (delete-other-windows): Use correct frame in call to
9435 window-with-parameter.
9436
87393f26
DP
94372011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9438
9439 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9440 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9441 (makefile-gmake-statements, makefile-makepp-statements):
9442 Use it and add new makepp keywords.
9443 (makefile-makepp-font-lock-keywords): Add new patterns.
9444 (makefile-match-function-end): Match new [...] and [[...]].
9445
11636b22
JB
94462011-12-11 Juanma Barranquero <lekktu@gmail.com>
9447
9448 * ses.el (ses-call-printer-return, ses-cell-property-get)
9449 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9450 (ses-create-cell-variable, ses-reset-header-string)
9451 (ses-cell-set-formula, ses-repair-cell-reference-all)
9452 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9453 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9454 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9455 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9456 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9457 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9458 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9459 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9460 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9461 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9462 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9463 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9464
cf018193
VB
94652011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9466
9467 * ses.el: The overall change is to add cell renaming, that is
9468 setting fancy names for cell symbols other than name matching
9469 "\\`[A-Z]+[0-9]+\\'" regexp .
9470 (ses-create-cell-variable): New defun.
9471 (ses-relocate-formula): Relocate formulas only for cells the
9472 symbols of which are not renamed, i.e. symbols whose names do not
9473 match regexp "\\`[A-Z]+[0-9]+\\'".
9474 (ses-relocate-all): Relocate values only for cells the symbols of
9475 which are not renamed.
9476 (ses-load): Create cells variables as the (ses-cell ...) are read,
9477 in order to check row col consistency with cell symbol name only
9478 for cells that are not renamed.
9479 (ses-replace-name-in-formula): New defun.
9480 (ses-rename-cell): New defun.
9481
ee957461
CY
94822011-12-11 Chong Yidong <cyd@gnu.org>
9483
9484 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9485 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9486
9a9e9ef0
MR
94872011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9488
9489 * window.el (other-window): Fix docstring.
9490
92a8eba5
EZ
94912011-12-10 Eli Zaretskii <eliz@gnu.org>
9492
9493 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9494 `from' or `to' address before taking its substring.
9495 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9496 encoded name is chopped in the middle of the encoded string, and
9497 thus displayed encoded.
9498
e152e577
JB
94992011-12-10 Juanma Barranquero <lekktu@gmail.com>
9500
9501 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9502
e5d84bfe
EZ
95032011-12-10 Eli Zaretskii <eliz@gnu.org>
9504
9505 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9506 to use texinfo-update-node and commands that call it if the
9507 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9508 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9509 (texinfo-all-menus-update, texinfo-master-menu)
9510 (texinfo-update-node, texinfo-every-node-update)
9511 (texinfo-multiple-files-update): Doc fix. Warn against updating
9512 all the @node lines.
9513 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9514 argument is numeric. Explain better in the doc string what the
9515 function really does.
9516 (texinfo-insert-master-menu-list): Improve the error message
9517 displayed if there's no menu in the Top node.
9518 (Bug#2975) See also this thread:
e5d84bfe
EZ
9519 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9520
1d84e9bb
MG
95212011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9522
9523 * speedbar.el (speedbar-supported-extension-expressions):
9524 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9525
382c953b
JB
95262011-12-09 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * printing.el (pr-mode-alist):
9529 * simple.el (filter-buffer-substring-functions)
9530 (completion-list-insert-choice-function):
9531 * window.el (window-with-parameter, window-atom-root)
9532 (window-sides-slots, window-size-fixed, window-min-delta)
9533 (window-max-delta, window--resize-mini-window)
9534 (window--resize-child-windows-normal, window-tree)
9535 (delete-other-windows, quit-window, split-window)
9536 (display-buffer-record-window, special-display-buffer-names)
9537 (special-display-regexps, special-display-popup-frame)
9538 (same-window-p, split-window-sensibly)
9539 (display-buffer-overriding-action, display-buffer-alist)
9540 (display-buffer-base-action, display-buffer, switch-to-buffer)
9541 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9542 (fit-window-to-buffer, recenter-positions)
9543 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9544 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9545 and remove unneeded backslashes in docstrings.
9546
39c9faef
SM
95472011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9548
98449af8
SM
9549 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9550
39c9faef
SM
9551 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9552 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9553 end in ".mk".
9554 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9555 when reading the makefile (bug#10116).
9556
86ed9fdc
SM
95572011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9558
9559 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9560 (bug#10116).
9561
5580f89d
GM
95622011-12-06 Glenn Morris <rgm@gnu.org>
9563
9564 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9565
28d3917c
CY
95662011-12-06 Chong Yidong <cyd@gnu.org>
9567
9568 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9569
a98edce9
JB
95702011-12-06 Juanma Barranquero <lekktu@gmail.com>
9571
9572 * textmodes/table.el (table-shorten-cell): Fix typo.
9573
e65adfac
CG
95742011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9575
9576 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9577
71cc0b74
EZ
95782011-12-05 Eli Zaretskii <eliz@gnu.org>
9579
9580 * descr-text.el (describe-char): Fix display of strong
9581 right-to-left characters and directional embeddings and overrides.
9582
9583 * simple.el (what-cursor-position): Fix display of codepoints of
9584 strong right-to-left characters.
9585
315bc30d
CY
95862011-12-05 Chong Yidong <cyd@gnu.org>
9587
9588 * faces.el (read-color): Doc fix.
9589
58a70b94
GM
95902011-12-05 Glenn Morris <rgm@gnu.org>
9591
9592 * align.el (align--set-marker): Add doc-string.
9593 Don't try to move something that is not a marker. (Bug#10216)
9594
5158face
GM
95952011-12-04 Glenn Morris <rgm@gnu.org>
9596
9597 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9598 overly zealous deletion of trailing whitespace.
9599
520fca41
JB
96002011-12-04 Juanma Barranquero <lekktu@gmail.com>
9601
9602 * server.el (server-delete-client): On Windows, do not try to delete
9603 the only terminal.
9604 (server-process-filter): On Windows, treat requests for a tty frame as
9605 if they were for a GUI frame if the running server is in GUI mode.
9606
5e605a2e
GM
96072011-12-03 Glenn Morris <rgm@gnu.org>
9608
9609 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9610
5c3fe83f
SM
96112011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9612
6f5e57e7
SM
9613 * electric.el: Streamline electric-indent's hook.
9614 (electric-indent-chars): Revert to simple list.
9615 (electric-indent-functions): New var.
9616 (electric-indent-post-self-insert-function): Use it.
9617
5c3fe83f
SM
9618 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9619 there's no inferior buffer (bug#10196).
9620 (prolog-consult-compile): Don't use toggle-read-only.
9621
6bdac736
MA
96222011-12-02 Michael Albinus <michael.albinus@gmx.de>
9623
9624 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9625 interrupt. (Bug#10187)
9626
6131ba7f
SM
96272011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9628
99c79fee
SM
9629 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9630 (bug#9160).
9631
6131ba7f
SM
9632 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9633 (bug#10191).
9634
cb0a02ea
JL
96352011-12-02 Juri Linkov <juri@jurta.org>
9636
9637 * info.el (Info-search): Display "end of manual" when Isearch
9638 reaches the end of single-file Info manual. (Bug#9918)
9639
66e0570c
EZ
96402011-12-02 Eli Zaretskii <eliz@gnu.org>
9641
9642 * isearch.el (isearch-message-prefix): Run the input method part
9643 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9644
02b16839
JL
96452011-12-02 Juri Linkov <juri@jurta.org>
9646
9647 * isearch.el (isearch-occur): Use `word-search-regexp' for
9648 `isearch-word'.
9649 (isearch-search-and-update): Add condition for `isearch-word' and
9650 call `word-search-regexp'. (Bug#10145)
9651
0b950688
GM
96522011-12-01 Glenn Morris <rgm@gnu.org>
9653
9654 * eshell/em-hist.el (eshell-hist-initialize):
9655 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9656 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9657
9505c3c7
SM
96582011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9661
1bbe96b2 96622011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9663
a1beca85
SM
9664 * progmodes/verilog-mode.el (verilog-pretty-expr):
9665 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9666 verilog, such as += *= and the like.
9667 (verilog-assignment-operator-re): Regular expression to find the
9668 assigment operator in a verilog assignment.
9669 (verilog-assignment-operation-re): Regular expression to find an
9670 assignment statement for pretty-expr.
9671 (verilog-in-attribute-p): Query returns true if point is in an
9672 attribute context; used to skip these for expression line up from
9673 pretty-expr.
9674 (verilog-in-parameter-p): Query returns true if point is in an
9675 parameter definition context; used to skip these for expression
9676 line up from pretty-expr.
9677 (verilog-in-parenthesis-p): Query returns true if point is in a
9678 parenthetical expression, specifically ( ) but not [ ] or { };
9679 used by pretty-expr.
9680 (verilog-just-one-space): If there is no space, don't add one.
9681 (verilog-get-lineup-indent-2): Specifically skip just attribute
9682 contexts for expression lineup, rather than skipping all
9683 parenthetical expressions.
9684 (verilog-calculate-indent): Fix comment, and fix indent.
9685 (verilog-do-indent): Indent declarations in lists (suggested by
9686 Joachim Lechner).
9687 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9688 skeleton items.
9689 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9690 by Alain Mellan).
9691
1bbe96b2 96922011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9693
9694 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9695 parameters with embedded comments. Reported by Ray Stevens.
9696 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9697 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9698 Reported by Tim Holt.
9699 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9700 instantiated by upper module causing wrong expansion until AUTOed a
9701 second time. Reported by K C Buckenmaier.
9702 (verilog-diff-auto): Fix showing .* as a difference when
9703 `verilog-auto-star-save' off. Reported by Dan Dever.
9704 (verilog-auto-reset, verilog-read-always-signals)
9705 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9706 temporary signals in reset list if
9707 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9708 style to each signal's assignment type, bug381.
9709 Reported by Thomas Esposito.
6288f0ca
WS
9710 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9711 (verilog-uvm-statement-re): Support UVM indentation and
9712 highlighting, with old OVM keywords only.
a1beca85 9713 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9714 Support AUTOTIEOFF creating non-wire data types.
9715 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9716 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9717 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9718 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9719 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9720 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9721 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9722 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9723 non-numeric vector width. Reported by Alex Reed.
9724 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9725 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9726 (verilog-auto-delete-trailing-whitespace):
9727 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9728 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9729 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9730 Fix verilog-scan-cache corruption when running user AUTO expansion
9731 hooks that call indentation routines.
9732 (verilog-simplify-range-expression): Fix typo ignoring lower case
9733 identifiers.
9734 (verilog-delete-auto): Fix delete-autos to also remove user created
9735 automatics, as long as they start with AUTO.
9736 (verilog-batch-diff-auto, verilog-diff-auto)
9737 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9738 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9739 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9740 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9741 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9742 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9743 is disabled and its cache will get corrupt, causing AUTOS not to
9744 expand. Instead use only -quick functions.
9745 (verilog-scan-region): Fix scanning over escaped quotes.
9746 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9747 (verilog-re-search-backward-quick)
9748 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9749 related functions now ignore strings, to fix misparsing of strings
9750 with magic comments embedded in them.
a1beca85
SM
9751 (verilog-read-auto-template):
9752 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9753 Reported by Brad Dobbie.
9754 (verilog-read-auto-template):
9755 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9756 Reported by Brad Dobbie.
6288f0ca
WS
9757 (verilog-auto-inst, verilog-auto-inst-param)
9758 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9759 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9760 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9761 debugging templates without merge conflicts, bug357.
9762 Reported by Brad Dobbie.
9763 (verilog-read-auto-template):
9764 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9765 Reported by Brad Dobbie.
9766 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9767 abbrevs so user won't be asked to save.
9768 (verilog-read-auto-lisp-present): Fix to start at beginning of
9769 buffer in case called outside of verilog-auto.
9770 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9771 to "X-2". Reported by Matthew Myers.
9772 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9773 all inputs from module templates. Reported by Leith Johnson.
9774 (verilog-module-inside-filename-p): Fix locating programs as with
9775 modules.
9776 (verilog-auto-inst-port): Fix vl-width expressions when using
9777 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9778 (verilog-decls-get-regs, verilog-decls-get-signals,
9779 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9780 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9781 verilog-read-decls): Combine reg and wire structures into one var
9782 structure to represent SystemVerilog concepts.
9783 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9784 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9785 (verilog-auto-wire-type, verilog-insert-definition):
9786 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9787 SystemVerilog "logic" keyword instead of "wire"/"reg".
9788 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9789 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9790 ifdef or generate if so there's not a driver conflict).
9791 Reported by Matthew Myers.
9792 (verilog-auto-declare-nettype, verilog-insert-definition):
9793 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9794 `default_nettype none. Reported by Julian Gorfajn.
9795 (verilog-read-always-signals-recurse, verilog-read-decls)
9796 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9797 malformed end statement, bug325. Reported by Joshua Wise and
9798 Andrew Drake.
9799 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9800 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9801 when expanding .* in interfaces, bug320.
9802 Reported by Pierre-David Pfister.
6288f0ca 9803 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9804 name and open parenthesis, bug317.
9805 Reported by Pierre-David Pfister.
6288f0ca
WS
9806 (verilog-simplify-range-expression): Fix simplification of
9807 multiplications inside AUTOWIRE connections, bug303.
9808 (verilog-auto-inst-port): Support parameter expansion in
9809 multidimensional arrays.
9810 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9811 after "assert property". Reported by Julian Gorfajn.
9812 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9813 with multiplication, bug303.
9814 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9815 Reported by Jan Frode Lonnum.
9816
1bbe96b2
GM
98172011-11-30 Juanma Barranquero <lekktu@gmail.com>
9818
9819 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9820 (hfy-shell-file-name, hfy-shell):
9821 * international/fontset.el (x-decompose-font-name): Fix typos.
9822
98232011-11-29 Ken Brown <kbrown@cornell.edu>
9824
9825 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9826 (gdb-version): Remove defvar.
9827 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9828 (gdb-gud-context-command, gdb-non-stop-handler)
9829 (gdb-current-context-command, gdb-stopped): Use it.
9830 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9831 (gdb-non-stop-handler): Don't enable pretty-printing here.
9832 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9833 non-stop mode. Use the following.
9834 (gdb-check-target-async): New defun.
9835 (gud-watch, gdb-stopped): Fix whitespace.
9836 (gdb-get-source-file): Don't try to display the source file if
9837 `gdb-main-file' is nil.
9838
98392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * align.el: Try to generate fewer markers (bug#10047).
9842 (align--set-marker): New macro.
9843 (align-region): Use it.
9844
c935221f
SM
98452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9848
e70b5064
CY
98492011-11-29 Chong Yidong <cyd@gnu.org>
9850
9851 * indent.el (indent-for-tab-command, indent-according-to-mode):
9852 Doc fix.
9853 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9854
f3af92b7
MA
98552011-11-29 Michael Albinus <michael.albinus@gmx.de>
9856
9857 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9858 aware of remote file names. (Bug#10124)
9859
ed472be9
CY
98602011-11-29 Chong Yidong <cyd@gnu.org>
9861
9862 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9863
24510c22
SM
98642011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * files.el (find-file): Don't use force-same-window (bug#10144).
9867 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9868 use pop-to-buffer if the selected window can't be used.
9869 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9870
c60c3703
EZ
98712011-11-28 Eli Zaretskii <eliz@gnu.org>
9872
9873 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9874 special-mode-map.
9875
e95def75
CY
98762011-11-28 Chong Yidong <cyd@gnu.org>
9877
9878 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9879
c3f1c606
NR
98802011-11-27 Nick Roberts <nickrob@snap.net.nz>
9881
9882 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9883 gdb-get-source-file-list on gdb-create-source-file-list.
9884
00db469c
EZ
98852011-11-26 Eli Zaretskii <eliz@gnu.org>
9886
9887 * whitespace.el (whitespace-newline): Use a different foreground
9888 color for 16-color light-background displays.
9889
4ad3bc2a
CY
98902011-11-24 Chong Yidong <cyd@gnu.org>
9891
9892 * window.el (display-buffer--special-action): Doc fix.
9893
e9fce1ac
JB
98942011-11-25 Juanma Barranquero <lekktu@gmail.com>
9895
9896 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9897 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9898 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9899 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9900 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9901 (avl-tree-stack-first):
9902 * emacs-lisp/cconv.el (cconv--analyse-use):
9903 * net/gnutls.el (gnutls-negotiate): Fix typos.
9904
cb825e5d
GM
99052011-11-24 Glenn Morris <rgm@gnu.org>
9906
3adbe224
GM
9907 * lpr.el (lpr-windows-system, lpr-lp-system):
9908 * mail/binhex.el (binhex-begin-line):
9909 * progmodes/grep.el (grep-history, grep-find-history):
9910 * textmodes/flyspell.el:
9911 * vc/pcvs-defs.el (cvs-global-menu):
9912 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9913 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9914 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9915
321decc8
GM
9916 * net/tls.el: Fix case of "GnuTLS".
9917
420b63ad
GM
9918 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9919
cb825e5d
GM
9920 * version.el (emacs-build-system): Give it a doc-string.
9921
a0649f08
JL
99222011-11-24 Juri Linkov <juri@jurta.org>
9923
9924 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9925
c0bc0fd4
GM
99262011-11-24 Glenn Morris <rgm@gnu.org>
9927
9928 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9929 if called on a non-mime message just toggle the headers. (Bug#8006)
9930
20db1522
JB
99312011-11-24 Juanma Barranquero <lekktu@gmail.com>
9932
9933 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9934 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9935 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9936 (allout-rebullet-heading, allout-open-sibtopic)
9937 (allout-toggle-current-subtree-encryption)
9938 (allout-toggle-subtree-encryption, allout-encrypt-string)
9939 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9940 (allout-distinctive-bullets-string, allout-auto-activation):
9941 * window.el (window-normalize-buffer-to-display):
9942 * progmodes/verilog-mode.el (verilog-batch-indent):
9943 * textmodes/bibtex.el (bibtex-field-braces-opt)
9944 (bibtex-field-strings-opt):
9945 * vc/cvs-status.el (cvs-tree-merge):
9946 Fix typos.
9947
7262a87c
MA
99482011-11-23 Michael Albinus <michael.albinus@gmx.de>
9949
9950 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9951 `non-essential' to t, in order to avoid remote connections.
9952
283430a1
EZ
99532011-11-23 Eli Zaretskii <eliz@gnu.org>
9954
a1beca85
SM
9955 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9956 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9957 case-insensitively.
9958
d2992a38
ML
99592011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9960
9961 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9962
50419064
GM
99632011-11-23 Glenn Morris <rgm@gnu.org>
9964
da94eca1
GM
9965 * paths.el (rmail-file-name): Reformat the doc-string so that it
9966 is picked up.
9967
9aac4de2
GM
9968 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9969 (rmail-auto-file): Ignore case in the "special" field names,
9970 as mail-fetch-field does for all others.
9971
8038d2d2
GM
9972 * mail/rmail.el (rmail-forward):
9973 * mail/rmailkwd.el (rmail-set-label):
9974 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9975 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9976
f3fe222a
GM
9977 * mail/rmail.el (rmail-current-message): Doc fix.
9978
50419064
GM
9979 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9980
28109f49
SM
99812011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9984
394c65f1
GM
99852011-11-22 Glenn Morris <rgm@gnu.org>
9986
9987 * mail/rmailmm.el (test-rmail-mime-handler)
9988 (test-rmail-mime-bulk-handler)
9989 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9990
f2a0aa3a
JL
99912011-11-21 Juri Linkov <juri@jurta.org>
9992
1154d12e
JB
9993 * calc/calc.el (calc-read-key-sequence):
9994 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9995
9c34a344
LMI
99962011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
9998 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9999 Tell the caller that the next line needs recomputation, even
10000 though it doesn't start a sexp (bug#10094).
10001
f04a3be9
SM
100022011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10005
7978747f
SM
100062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10007
f04a3be9
SM
10008 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10009 Use force-same-window.
7978747f 10010
fe7a3057
JB
100112011-11-20 Juanma Barranquero <lekktu@gmail.com>
10012
10013 * descr-text.el (describe-char-unicode-data):
10014 * json.el (json-string-escape):
10015 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10016 (Footnote-unicode, Footnote-style-p):
10017 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10018
24901d61
CY
100192011-11-20 Chong Yidong <cyd@gnu.org>
10020
10021 * window.el (replace-buffer-in-windows): Restore interactive spec.
10022
bac7ff22
SM
100232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10024
24f3d7b9
SM
10025 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10026
bac7ff22
SM
10027 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10028 (byte-compile-global-not-obsolete-vars): New var.
10029 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10030 Use it.
10031 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10032
cd1181db
JB
100332011-11-20 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10036 * progmodes/pascal.el (electric-pascal-equal):
10037 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10038 * xml.el (xml-substitute-special): Fix typos.
10039
7fb18e9e
GM
100402011-11-20 Glenn Morris <rgm@gnu.org>
10041
10042 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10043 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10044 Doc fixes.
10045 (rmail-decode-mime-charset): Mark as obsolete.
10046
10047 * mail/rmailsum.el (rmail-message-regexp-p-1):
10048 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10049 Before using mime functions, check they are set. (Bug#10077)
10050
d5a6b3ba
JL
100512011-11-19 Juri Linkov <juri@jurta.org>
10052
10053 * info.el (Info-finder-find-node): Use `package--builtins' instead
10054 of `package-alist'. Use node names formed by the pattern "Keyword "
10055 and the keyword name.
10056
e981b61f
AS
100572011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10058
1d00653d 10059 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10060
3ffbc301
JL
100612011-11-19 Juri Linkov <juri@jurta.org>
10062
10063 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10064 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10065 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10066 `old-history', `old-history-forward'. Add let-binding
10067 `window-selected'. Remove calls to `kill-buffer',
10068 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10069 before calling `Info-find-node', so `Info-find-node-2' will reread
10070 the Info file. Restore window positions only when `window-selected'
10071 is non-nil.
10072
30c62133
JL
100732011-11-19 Juri Linkov <juri@jurta.org>
10074
10075 * isearch.el (isearch-lazy-highlight-new-loop):
10076 Remove condition `(not isearch-error)'. (Bug#9918)
10077
10078 * misearch.el (multi-isearch-search-fun): Add condition
10079 `(not bound)' to ignore lazy-highlighting search.
10080 Add the search-failed message "end of multi" when the end of
10081 multi-sequence is reached. Uncapitalize the search-failed
10082 message "Repeat for next buffer".
10083
10084 * info.el (Info-search): Add the search-failed message
10085 "end of the manual" when the end of the manual is reached
10086 in Isearch mode.
10087
645ca9cf
JL
100882011-11-19 Juri Linkov <juri@jurta.org>
10089
10090 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10091 Use non-destructive `remove' instead of `delete' because
10092 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10093 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10094
df754f66
JL
100952011-11-19 Juri Linkov <juri@jurta.org>
10096
10097 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10098 to nil instead of binding `search-ring' and `regexp-search-ring'.
10099 (Bug#9185)
10100
0e23d96a
EZ
101012011-11-19 Eli Zaretskii <eliz@gnu.org>
10102
10103 * simple.el (line-move): Force movement by logical lines for any
10104 hscrolled window, not only when auto-hscroll-mode is on.
10105 (line-move-visual): Update doc string to that effect. (Bug#10076)
10106
8a6ccb66
AS
101072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10108
10109 * language/european.el (macintosh): Define as alias for mac-roman.
10110
49ae5b39
EZ
101112011-11-19 Eli Zaretskii <eliz@gnu.org>
10112
10113 * mail/rmailmm.el (rmail-mime-display-header)
10114 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10115 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10116 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10117 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10118 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10119 of a raw aref.
10120 (rmail-mime-entity-segment): To get past the tagline, move forward
10121 2 more lines, to account for the 2 empty lines that precede and
10122 follow the line with the buttons.
10123 (rmail-mime-update-tagline): Move one more line, to get past the
10124 empty line that follows the buttons in the tagline. (Bug#9520)
10125
c56cad4a
MR
101262011-11-19 Martin Rudalics <rudalics@gmx.at>
10127
10128 * window.el (window-max-delta-1, window-min-delta-1)
10129 (window-min-size-1, window-state-get-1, window-state-put-1)
10130 (window-state-put-2): Use "window--" prefix.
10131
cbe71af3
SM
101322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10133
2ad52c60
SM
10134 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10135 (smie-warning-count): New var.
10136 (smie-set-prec2tab): Use it.
10137 (smie-bnf->prec2): Improve warnings. Add docstring.
10138 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10139 (smie-bnf--set-class): New function.
10140 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10141 corner case.
10142
6944dbc1
SM
10143 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10144 (compilation-error-properties, compilation-move-to-column):
10145 Handle compilation-first-column while in the target buffer.
10146
c400c4d7
SM
10147 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10148 Don't hardcode point-min==1.
10149
6dbe3e96
SM
10150 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10151 (eshell-rewrite-for-command): Remove workaround.
10152 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10153 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10154 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10155
cbe71af3
SM
10156 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10157
a8e1496d
GM
101582011-11-17 Glenn Morris <rgm@gnu.org>
10159
10160 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10161 Ignore buffer-local generated-autoload-file if it is the same
10162 as the global value. (Bug#10049)
10163
df85d315
JB
101642011-11-17 Juanma Barranquero <lekktu@gmail.com>
10165
10166 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10167 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10168 (reftex-toc-previous-heading, reftex-toc-max-level)
10169 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10170 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10171 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10172 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10173 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10174 (reftex-toc-rename-label, reftex-toc-visit-location)
10175 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10176 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10177 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10178 leaving "*toc*" only for references to the buffer.
10179
a0c2d0ae
MR
101802011-11-17 Martin Rudalics <rudalics@gmx.at>
10181
10182 * window.el (window-resize, delete-window, split-window):
10183 Replace window-splits by window-combination-resize.
1d00653d 10184 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10185
35c0bac8
GM
101862011-11-17 Glenn Morris <rgm@gnu.org>
10187
10188 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10189 Make bash entry derive from sh entry, not shell entry.
10190
d0c8fc8a
MA
101912011-11-16 Michael Albinus <michael.albinus@gmx.de>
10192
7262a87c
MA
10193 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10194 local file name.
10195
7877f373
JB
101962011-11-16 Juanma Barranquero <lekktu@gmail.com>
10197
10198 * menu-bar.el (menu-bar-file-menu):
10199 * printing.el (pr-ps-utility):
10200 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10201 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10202 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10203 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10204 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10205 (icalendar--convert-cyclic-to-ical)
10206 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10207 (icalendar--convert-ical-to-diary)
10208 (icalendar--convert-recurring-to-diary)
10209 (icalendar--convert-non-recurring-all-day-to-diary)
10210 (icalendar-import-format-sample):
10211 * progmodes/idlw-shell.el (idlwave-shell-mode):
10212 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10213 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10214 (vhdl-ps-print-init): Fix typos.
10215
10649b82
KM
102162011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10217
9d0cfcd6
GM
10218 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10219 FSF and collapse date sequence, obscure author/maintainer email address
10220 better, remove extra version line, track relocation of author's webpage.
10649b82 10221
9d0cfcd6
GM
10222 * progmodes/python.el (python-pdbtrack-input-prompt)
10223 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10224 regular python pdb prompts. Adjustments shamelessly taken exactly as
10225 suggested in EmacsWiki page (tiny change):
10226 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10227
58179cce
JB
102282011-11-16 Juanma Barranquero <lekktu@gmail.com>
10229
10230 * expand.el (expand-pos, expand-index, expand-point):
10231 Remove redundant info from docstring.
10232 (expand-add-abbrevs): Doc fix.
10233 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10234 (expand-sample-perl-mode-expand-list): Fix typos.
10235
10236 * net/dbus.el (dbus-event-member-name):
10237 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10238 * term/pc-win.el (msdos-create-frame-with-faces):
10239 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10240
b6f67890
MR
102412011-11-16 Martin Rudalics <rudalics@gmx.at>
10242
10243 * window.el (split-window, window-state-get-1)
10244 (window-state-put-1, window-state-put-2): Rename occurrences of
10245 window-nest to window-combination-limit.
1d00653d 10246 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10247
ce7ddba0
CY
102482011-11-16 Chong Yidong <cyd@gnu.org>
10249
10250 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10251 regexp (Bug#10033).
10252
3ae704f4
SM
102532011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10256 `completing-read' will remove *Completions* and will preserve
10257 current-buffer for us.
10258 (tmm-add-prompt): Users of *Completions* will always (re)set its
10259 major mode.
10260 (tmm-old-comp-map): Remove.
10261
6ad1cdde
GM
102622011-11-16 Glenn Morris <rgm@gnu.org>
10263
10264 * mail/rmailedit.el: Require rmailmm when compiling.
10265 (rmail-old-mime-state): New declaration.
10266 (rmail-edit-current-message): If editing a mime message,
10267 edit the "raw" message from the mbox buffer.
10268 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10269
d20faa20
GM
102702011-11-15 Glenn Morris <rgm@gnu.org>
10271
10272 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10273 which wasn't being used. Add optional arg to force given state.
10274 (rmail-mime): Add optional arg to force given state.
10275
c7015153
JB
102762011-11-15 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10279 * frame.el (display-mm-dimensions-alist):
10280 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10281 (outline-move-subtree-down):
10282 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10283 (newsticker--treeview-do-get-node):
10284 * net/quickurl.el (quickurl-list-buffer-name):
10285 * progmodes/dcl-mode.el (dcl-mode):
10286 * progmodes/gdb-mi.el (gdb-mapcar*):
10287 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10288
45261b50
GM
102892011-11-15 Glenn Morris <rgm@gnu.org>
10290
10291 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10292 in a boolean sense, so just make it a boolean, and fix the doc.
10293 (rmail-show-mime-function, rmail-mime-feature)
10294 (rmail-require-mime-maybe): Doc fixes.
10295 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10296
10297 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10298
0d26e0b6
JB
102992011-11-15 Juanma Barranquero <lekktu@gmail.com>
10300
10301 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10302 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10303 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10304 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10305
447f30f6
GM
103062011-11-15 Glenn Morris <rgm@gnu.org>
10307
672b871d
GM
10308 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10309 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10310 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10311 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10312 (rmail-mime, rmail-show-mime): Doc fixes.
10313
f6aa5bb1
GM
10314 * term/ns-win.el (mode-line-frame-identification):
10315 Leave it alone. (Bug#10051)
10316
947cd66b
GM
10317 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10318
447f30f6
GM
10319 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10320 Handle empty buffers. (Bug#9978)
10321
0b381c7e
JB
103222011-11-14 Juanma Barranquero <lekktu@gmail.com>
10323
10324 * international/mule.el (define-charset):
10325 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10326 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10327 * progmodes/verilog-mode.el (verilog-backward-token):
10328 * textmodes/ispell.el (lookup-words):
10329 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10330
71e027ac
GM
103312011-11-14 Glenn Morris <rgm@gnu.org>
10332
56632ce4
GM
10333 * progmodes/executable.el
10334 (executable-make-buffer-file-executable-if-script-p):
10335 Handle file-modes returning nil.
10336
40500957
GM
10337 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10338 message - not necessary, and causes problems. (Bug#9831)
10339
071c2340
GM
10340 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10341
d3cfca60
GM
10342 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10343
71e027ac
GM
10344 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10345 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10346 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10347
89d61221
MR
103482011-11-12 Martin Rudalics <rudalics@gmx.at>
10349
10350 * window.el (window-resize, delete-window): Use window-splits
10351 variable instead of function.
10352 (window-state-get-1, window-state-put-2, window-state-put):
10353 Don't deal with windows' splits status.
10354
98282f6f
GM
103552011-11-12 Glenn Morris <rgm@gnu.org>
10356
10357 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10358 (apropos-documentation): Doc fixes.
10359
40a8bdf6
JB
103602011-11-11 Juanma Barranquero <lekktu@gmail.com>
10361
10362 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10363 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10364
65bd19ff
SM
103652011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * electric.el (electric-indent-post-self-insert-function): Make it
10368 possible for a char to only indent in some circumstances.
10369 (electric-indent-mode): Simplify.
10370
54f9154c
MR
103712011-11-11 Martin Rudalics <rudalics@gmx.at>
10372
10373 * window.el (windows-with-parameter): Remove unused function.
10374 (windows-at-side): Rename to window-at-side-list.
10375 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10376 (window-side-check, window-size-ignore, window-size-fixed-1)
10377 (window-in-direction-2): Prefix with "window--".
10378 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10379
68cbc58b
GM
103802011-11-11 Glenn Morris <rgm@gnu.org>
10381
10382 * subr.el (eval-after-load): If FILE is already loaded,
10383 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10384
b2621720
GM
103852011-11-10 Glenn Morris <rgm@gnu.org>
10386
9a4de110
GM
10387 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10388 Call svn via vc-svn-command rather than vc-do-command.
10389 (vc-svn-command): Add --non-interactive. (Bug#9993)
10390 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10391
b2621720
GM
10392 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10393 Add toggle-read-only. (Bug#7292)
10394 * files.el (toggle-read-only): Mention that it should only
10395 be used interactively. (Bug#10006)
10396
1dce7193
SM
103972011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10398
d9ac1a1e
SM
10399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10400 Adjust regexp for OCaml warnings.
10401
0c325082
SM
10402 * electric.el (electric-pair-post-self-insert-function): Let user
10403 turn it off buffer-locally (bug#9932).
10404
90132c14
SM
10405 * progmodes/python.el (python-beginning-of-statement):
10406 Rewrite (bug#2703).
10407
1dce7193
SM
10408 * progmodes/compile.el: Better handle TABs (bug#9749).
10409 (compilation-internal-error-properties)
10410 (compilation-next-error-function): Obey the target buffer's
10411 compilation-error-screen-columns.
10412
c4e7c63a
JB
104132011-11-09 Juanma Barranquero <lekktu@gmail.com>
10414
10415 * progmodes/meta-mode.el: Remove obsolete comments.
10416 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10417 Fix typos in docstrings.
10418
2cffd681
MR
104192011-11-09 Martin Rudalics <rudalics@gmx.at>
10420
10421 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10422 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10423 (window--resizable): New function. Make all callers of
10424 window-resizable call window--resizable instead.
10425 (window-resizable): Rewrite in terms of window--resizable.
10426
0edcba87
GM
104272011-11-08 Glenn Morris <rgm@gnu.org>
10428
10429 * progmodes/delphi.el (delphi-mode-syntax-table):
10430 Let define-derived-mode define a proper syntax table. (Bug#9994)
10431
4b0d61e3
SM
104322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * window.el: Stay away from defsubst.
10435 (window-list-no-nils): Remove.
10436 (window-state-get-1, window-state-get): Use backquote instead.
10437
cd394be1 104382011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10439
4b0d61e3 10440 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10441 Fix incorrect use of default argument in `completing-read'.
10442
e1c2c6f2
MR
104432011-11-08 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (display-buffer-function, special-display-function):
10446 Mention display-buffer-record-window but do not mention
10447 help-setup parameter in doc-strings.
b3f4a882 10448 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10449
105216ed
CY
104502011-11-08 Chong Yidong <cyd@gnu.org>
10451
10452 * window.el (window-total-height, window-total-width): Doc fix.
10453 (window-body-size): Move from C.
10454 (window-body-height, window-body-width): Move to C.
10455
0a9f9ab5
SM
104562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * window.el: Make special-display like display-buffer-alist (bug#9532).
10459 (display-buffer--special-action): New function, morphed
10460 from display-buffer--special.
10461 (display-buffer): Use it to handle special-display-buffers at higher
10462 priority (just after display-buffer-alist).
10463 (display-buffer-fallback-action, display-buffer--other-frame-action)
10464 (pop-to-buffer-same-window): Remove display-buffer--special.
10465
a769dd15
GM
104662011-11-07 Glenn Morris <rgm@gnu.org>
10467
10468 * calendar/cal-menu.el (cal-menu-set-date-title):
10469 Do nothing if not in a calendar. (Bug#9976)
10470
05a61ee3
SM
104712011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * files.el (find-file): Always use selected-window.
10474
be7f5545
MR
104752011-11-07 Martin Rudalics <rudalics@gmx.at>
10476
10477 * window.el (window-combinations): Make WINDOW argument
10478 mandatory. Rewrite doc-string.
10479 (walk-window-subtree, window-atom-check, window-min-delta)
10480 (window-max-delta, window--resize-this-window)
10481 (window--resize-root-window-vertically, window-tree)
10482 (balance-windows, window-state-put): Rewrite doc-strings as to
10483 not mention the term "subwindow".
10484 (window--resize-subwindows-skip-p): Rename to
10485 window--resize-child-windows-skip-p.
10486 (window--resize-subwindows-normal): Rename to
10487 window--resize-child-windows-normal.
10488 (window--resize-subwindows): Rename to
10489 window--resize-child-windows.
10490 (window-or-subwindow-p): Rename to window--in-subtree-p.
10491
3c6702ef
ML
104922011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10493
10494 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10495 Ensure that mbox format messages end in two newlines (Bug#9974).
10496
49745b39
CY
104972011-11-06 Chong Yidong <cyd@gnu.org>
10498
10499 * window.el (window-combination-p): Function deleted; its
10500 side-effect is not used in any existing code.
10501 (window-combinations, window-combined-p): Call window-*-child
10502 directly.
10503
24300f5f
CY
105042011-11-05 Chong Yidong <cyd@gnu.org>
10505
10506 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10507 (window-size-ignore, window-state-get): Callers changed.
10508 (window-normalize-window): Rename from window-normalize-any-window.
10509 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10510 (window-normalize-live-window): Delete.
447f16b8
CY
10511 (window-combination-p, window-combined-p, window-combinations)
10512 (walk-window-subtree, window-atom-root, window-min-size)
10513 (window-sizable, window-sizable-p, window-size-fixed-p)
10514 (window-min-delta, window-max-delta, window-resizable)
10515 (window-resizable-p, window-full-height-p, window-full-width-p)
10516 (window-current-scroll-bars, window-point-1, set-window-point-1)
10517 (window-at-side-p, window-in-direction, window-resize)
10518 (adjust-window-trailing-edge, maximize-window, minimize-window)
10519 (window-deletable-p, delete-window, delete-other-windows)
10520 (record-window-buffer, unrecord-window-buffer)
10521 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10522 (quit-window, split-window, window-state-put)
10523 (set-window-text-height, fit-window-to-buffer)
10524 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10525
89bd5ee1
EZ
105262011-11-04 Eli Zaretskii <eliz@gnu.org>
10527
53479029
EZ
10528 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10529 rfc2047-decode-string.
10530 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10531 warnings.
10532
89bd5ee1
EZ
10533 * window.el (window-body-height, window-body-width): Mention in
10534 the doc string that the return values are in frame's canonical
10535 units. (Bug#9949)
10536
bd17fdee
AM
105372011-11-03 Alan Mackenzie <acm@muc.de>
10538
10539 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10540 change in cc-engine.el.
10541
acc825c5
SM
105422011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10545
1885e5b8
MR
105462011-11-02 Martin Rudalics <rudalics@gmx.at>
10547
10548 * window.el (quit-window): Call unrecord-window-buffer after
10549 showing another buffer in the window. (Bug#9937)
acc825c5 10550 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10551
ebe06da9
JB
105522011-11-02 Juanma Barranquero <lekktu@gmail.com>
10553
10554 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10555 Accept status with more than 9 shelves. (Bug#9935)
10556 Reported by Colin D Bennett <colin@gibibit.com>.
10557
4ee88440
MR
105582011-11-01 Martin Rudalics <rudalics@gmx.at>
10559
10560 * help.el (with-help-window): Don't reference
10561 temp-buffer-show-specifiers in doc-string.
10562
08e1d82c
AS
105632011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10564
10565 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10566 menu-item.
10567
84bd6e9e
VJL
105682011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10569
10570 * whitespace.el: New version 13.2.2.
10571 (whitespace-newline-mode): Disable properly. Reported by Sarah
10572 <EmacsWiki>.
10573
dba0634a
UJ
105742011-10-30 Ulf Jasper <ulf.jasper@web.de>
10575
10576 * net/newst-treeview.el: Remove "Time-stamp".
10577 (newsticker--group-manage-orphan-feeds): Do not call
10578 newsticker--treeview-tree-update.
db22a3c2
JB
10579 (newsticker-treeview-update, newsticker-treeview):
10580 Call newsticker--treeview-tree-update if necessary.
dba0634a 10581
3d8daefe
MR
105822011-10-30 Martin Rudalics <rudalics@gmx.at>
10583
10584 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10585 (window-iso-combinations): Remove "iso-" infix.
10586 Suggested by Chong Yidong.
3d8daefe
MR
10587 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10588 (window-max-delta-1, window-resize, window--resize-siblings)
10589 (window--resize-this-window, adjust-window-trailing-edge)
10590 (split-window, balance-windows-1)
10591 (shrink-window-if-larger-than-buffer):
10592 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10593 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10594
1bc4c3ae
SM
105952011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10596
10597 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10598 in place (bug#9907).
10599 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10600 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10601 (eshell-structure-basic-command, eshell-rewrite-while-command)
10602 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10603 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10604 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10605 (eshell-do-pipelines-synchronously, eshell-eval-command):
10606 Use backquotes and prefer setq to set.
10607 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10608 (eshell-macrop): Use functionp.
c1e2f5fa 10609 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10610
30b65d9c
CY
106112011-10-30 Chong Yidong <cyd@gnu.org>
10612
10613 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10614 instead of set-mark (Bug#9810).
10615
2d197ffb
CY
106162011-10-30 Chong Yidong <cyd@gnu.org>
10617
10618 * window.el (split-window-below, split-window-right): Rename from
10619 split-window-above-each-other and split-window-side-by-side
10620 respectively. All callers changed.
10621 (split-window-sensibly, split-window-sensibly): Use them.
10622 (split-window-keep-point): Doc fix.
10623
10624 * isearch.el: Add isearch-scroll property to split-window-below
10625 and split-window-right.
10626
10627 * follow.el (follow-mode):
10628 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10629 * progmodes/ada-xref.el (ada-gdb-application):
10630 * emulation/vip.el (vip-buffer-in-two-windows):
10631 * image-dired.el (image-dired-dired-with-window-configuration):
10632 * dired-x.el (dired-do-find-marked-files):
10633 * dired.el (dired-pop-to-buffer):
10634 * bs.el (bs--show-with-configuration):
10635 * vc/emerge.el (emerge-setup-windows):
10636 * textmodes/two-column.el (2C-two-columns):
10637 * textmodes/reftex-toc.el (reftex-toc):
10638 * progmodes/gdb-mi.el (gdb-setup-windows):
10639 * progmodes/fortran.el (fortran-window-create):
10640 * net/newst-treeview.el (newsticker--treeview-window-init):
10641 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10642 * emulation/tpu-edt.el (tpu-gold-map):
10643 * emulation/crisp.el (crisp-mode-map):
10644 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10645
38bb2ca8
CY
106462011-10-29 Chong Yidong <cyd@gnu.org>
10647
aa4de341
CY
10648 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10649
e1eb5385
CY
10650 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10651
5d2ece3c
CY
10652 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10653 forged Ispell output (Bug#7904).
10654
38bb2ca8
CY
10655 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10656
d0af9f77
SM
106572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * doc-view.el: Avoid ugly errors about not finding nil.
10660 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10661 (doc-view-dvipdf-program, doc-view-unoconv-program)
10662 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10663 Avoid nil or absolute file name as default value.
10664 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10665
52bedd34
AM
106662011-10-28 Alan Mackenzie <acm@muc.de>
10667
db22a3c2 10668 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10669
7e43cfa5
AM
106702011-10-28 Alan Mackenzie <acm@muc.de>
10671
10672 Amend the handling of c-beginning/end-of-defun in nested declaration
10673 scopes.
10674
52bedd34
AM
10675 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10676 cc-langs.el. Change it to a defcustom.
7e43cfa5 10677
52bedd34
AM
10678 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10679 cc-vars.el.
7e43cfa5 10680
d0af9f77
SM
10681 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10682 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10683
52bedd34 10684 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10685 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10686 (c-widen-to-enclosing-decl-scope): New function.
10687 (c-while-widening-to-decl-block): New macro.
10688 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10689 outward for defun boundaries, and correspondingly change symbol
10690 `respect-enclosure' to `go-outward'.
10691 (c-declaration-limits): Change algorithm to report only the "innermost"
10692 defun's boundaries.
10693
1a2ce9ee
DD
106942011-10-28 Deniz Dogan <deniz@dogan.se>
10695
10696 * net/rcirc.el (rcirc-mode): Use hard newlines.
10697
bc97a826
AM
106982011-10-28 Alan Mackenzie <acm@muc.de>
10699
10700 Amend to indent and fontify macros "which include their own semicolon"
10701 correctly, using the "virtual semicolon" mechanism.
10702
52bedd34 10703 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10704
d0af9f77 10705 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10706 Recode to scan one line at a time rather than having \n and \r
58179cce 10707 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10708 (c-forward-label): Amend for virtual semicolons.
58179cce 10709 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10710
52bedd34
AM
10711 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10712 of the new C macros.
bc97a826 10713
52bedd34 10714 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10715 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10716 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10717 (c-opt-cpp-macro-define): Make into a full language variable.
10718 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10719 AWK Mode (including \n, \r) removed, no longer needed.
10720
d0af9f77
SM
10721 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10722 Invoke c-make-macro-with-semi-re.
bc97a826 10723
52bedd34
AM
10724 * progmodes/cc-vars.el (c-macro-with-semi-re):
10725 (c-macro-names-with-semicolon): New variables.
58179cce 10726 (c-make-macro-with-semi-re): New function.
bc97a826 10727
7a6c0941
SM
107282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * vc/log-edit.el: Fill empty field rather than adding new one.
10731 (log-edit-add-field): New function.
10732 (log-edit-insert-changelog): Use it.
10733
b0c4cdcf
ML
107342011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10735
10736 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10737
ee1f1da9
SM
107382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10741 (gdb--check-interpreter): New function.
10742 (gdb): Use it.
10743
51bc5f8b
GM
107442011-10-27 Glenn Morris <rgm@gnu.org>
10745
416a2c45
GM
10746 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10747 (least-positive-float, least-negative-float)
10748 (least-positive-normalized-float, least-negative-normalized-float)
10749 (float-epsilon, float-negative-epsilon):
10750 Remove unnecessary declarations.
10751
10752 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10753 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10754 (least-positive-float, least-negative-float)
10755 (least-positive-normalized-float, least-negative-normalized-float)
10756 (float-epsilon, float-negative-epsilon): Add doc-strings,
10757 based on those in cl.texi.
10758
51bc5f8b
GM
10759 * files.el (set-visited-file-name): If the major-mode changed,
10760 reload the local variables. (Bug#9796)
10761
15de15c6
CY
107622011-10-27 Chong Yidong <cyd@gnu.org>
10763
10764 * subr.el (change-major-mode-after-body-hook): New hook.
10765 (run-mode-hooks): Run it.
10766
ee1f1da9
SM
10767 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10768 Use change-major-mode-before-body-hook.
15de15c6
CY
10769
10770 * simple.el (fundamental-mode):
10771 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10772 change introducing fundamental-mode-hook.
10773
5430d399
JB
107742011-10-26 Juanma Barranquero <lekktu@gmail.com>
10775
acc825c5 10776 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10777
ad74a69e
MA
107782011-10-26 Michael Albinus <michael.albinus@gmx.de>
10779
10780 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10781 tramp.el explicitly. (Bug#7583)
ad74a69e 10782
71d4c2a5
SM
107832011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * progmodes/octave-mod.el:
10786 * progmodes/octave-inf.el: Update maintainer.
10787
b1f6fa26
CY
107882011-10-26 Chong Yidong <cyd@gnu.org>
10789
10790 * subr.el (with-wrapper-hook): Rewrite doc.
10791
3f04efd6
MA
107922011-10-25 Michael Albinus <michael.albinus@gmx.de>
10793
10794 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10795 filenames "/method:foo:". (Bug#9793)
3f04efd6 10796
410488d3
SM
107972011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10800 (bug#9865).
10801
c1ebb47e
GM
108022011-10-24 Glenn Morris <rgm@gnu.org>
10803
10804 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10805
7f5c46c7
MA
108062011-10-24 Michael Albinus <michael.albinus@gmx.de>
10807
10808 * notifications.el: Add the requirement of a running D-Bus session
10809 bus to the Commentary.
10810
db2440b6
JL
108112011-10-24 Juri Linkov <juri@jurta.org>
10812
10813 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10814 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10815 (Bug#9364)
10816
feecf435
JL
108172011-10-24 Juri Linkov <juri@jurta.org>
10818
10819 * info.el (Info-following-node-name-re): Add newline to the list
10820 of allowed characters for leading space. (Bug#9824)
10821
a3839de2
SM
108222011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10823
acc825c5
SM
10824 * progmodes/octave-inf.el (inferior-octave-mode-map):
10825 Fix C-c C-h binding.
a3839de2
SM
10826 * progmodes/octave-mod.el (octave-help): Remove.
10827
09388e76
MA
108282011-10-23 Michael Albinus <michael.albinus@gmx.de>
10829
10830 Sync with Tramp 2.2.3.
10831
10832 * net/tramp-cache.el (top): Pacify byte-compiler using
10833 `init-file-user' and `site-run-file'.
10834
10835 * net/trampver.el: Update release number.
10836
86c60681
CY
108372011-10-23 Chong Yidong <cyd@gnu.org>
10838
10839 * files.el (toggle-read-only): Remove obsolete comment about
10840 version control.
10841
10842 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10843 for toggle-read-only. Note that this hasn't called vc-next-action
10844 since 2008-05-02, though it wasn't documented at the time.
10845
a3839de2
SM
10846 * vc/ediff-init.el (ediff-toggle-read-only-function):
10847 Use toggle-read-only.
86c60681 10848
cd5495ff
AM
108492011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10850
10851 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10852 of c-parse-state.
10853
00b77525 10854 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10855 correct faulty logical expression.
cd5495ff
AM
10856 (c-parse-state-state, c-record-parse-state-state):
10857 (c-replay-parse-state-state): New defvar/defuns.
10858 (c-debug-parse-state): Use new functions.
10859
42ee24ed
MR
108602011-10-22 Martin Rudalics <rudalics@gmx.at>
10861
10862 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10863 last fix. Use window-in-direction correctly.
42ee24ed 10864
a7dee7e7
CY
108652011-10-21 Chong Yidong <cyd@gnu.org>
10866
10867 * progmodes/idlwave.el (idlwave-mode):
10868 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10869 require-final-newline; that's done in prog-mode.
10870 Suggested by Stefan Monnier.
a7dee7e7 10871
e07b9a6d
MR
108722011-10-21 Martin Rudalics <rudalics@gmx.at>
10873
10874 * mouse.el (mouse-drag-window-above)
10875 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10876 (mouse-drag-mode-line-1, mouse-drag-header-line)
10877 (mouse-drag-vertical-line-rightward-window): Remove.
10878 (mouse-drag-line): New function.
10879 (mouse-drag-mode-line, mouse-drag-header-line)
10880 (mouse-drag-vertical-line): Call mouse-drag-line.
10881 * window.el (window-at-side-p, windows-at-side): New functions.
10882
7e1361d9
UM
108832011-10-21 Ulrich Mueller <ulm@gentoo.org>
10884
10885 * tar-mode.el (tar-grind-file-mode):
10886 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10887
30fcaf3a
CY
108882011-10-21 Chong Yidong <cyd@gnu.org>
10889
10890 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10891 * progmodes/vera-mode.el (vera-mode):
10892 Use mode-require-final-newline.
30fcaf3a 10893
516eddb0
GM
108942011-10-20 Glenn Morris <rgm@gnu.org>
10895
db22a3c2 10896 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10897
10d5f513
CS
108982011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10899
10900 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10901
ac6c8639
CY
109022011-10-20 Chong Yidong <cyd@gnu.org>
10903
10904 * emulation/cua-base.el (cua-mode):
10905 * mail/footnote.el (footnote-mode):
10906 * mail/mailabbrev.el (mail-abbrevs-mode):
10907 * net/xesam.el (xesam-minor-mode):
10908 * progmodes/bug-reference.el (bug-reference-mode):
10909 * progmodes/cap-words.el (capitalized-words-mode):
10910 * progmodes/compile.el (compilation-minor-mode)
10911 (compilation-shell-minor-mode):
10912 * progmodes/gud.el (gud-tooltip-mode):
10913 * progmodes/hideif.el (hide-ifdef-mode):
10914 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10915 * progmodes/subword.el (subword-mode):
10916 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10917 * progmodes/which-func.el (which-function-mode):
10918 * term/tvi970.el (tvi970-set-keypad-mode):
10919 * term/vt100.el (vt100-wide-mode):
10920 * textmodes/flyspell.el (flyspell-mode):
10921 * textmodes/ispell.el (ispell-minor-mode):
10922 * textmodes/nroff-mode.el (nroff-electric-mode):
10923 * textmodes/paragraphs.el (use-hard-newlines):
10924 * textmodes/refill.el (refill-mode):
10925 * textmodes/reftex.el (reftex-mode):
10926 * textmodes/rst.el (rst-minor-mode):
10927 * textmodes/sgml-mode.el (html-autoview-mode)
10928 (sgml-electric-tag-pair-mode):
10929 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10930 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10931 * emulation/crisp.el (crisp-mode):
10932 * emacs-lisp/eldoc.el (eldoc-mode):
10933 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10934 minor mode behavior.
10935
aa42ab43
JL
109362011-10-19 Juri Linkov <juri@jurta.org>
10937
10938 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10939 the list of hard-coded chars with escape-glyph face.
10940
89400f1d
SM
109412011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10944
305c07f6
MA
109452011-10-19 Michael Albinus <michael.albinus@gmx.de>
10946
10947 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10948 running process.
10949
13754b54
GM
109502011-10-19 Glenn Morris <rgm@gnu.org>
10951
10952 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10953 Ignore ignored files. (Bug#9726)
10954
06e21633
CY
109552011-10-19 Chong Yidong <cyd@gnu.org>
10956
10957 Doc fix for minor modes, stating that an omitted argument enables
10958 the mode unconditionally when called from Lisp.
10959
10960 * abbrev.el (abbrev-mode):
10961 * allout.el (allout-mode):
10962 * autoinsert.el (auto-insert-mode):
10963 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10964 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10965 (global-auto-revert-mode):
10966 * battery.el (display-battery-mode):
10967 * composite.el (global-auto-composition-mode)
10968 (auto-composition-mode):
10969 * delsel.el (delete-selection-mode):
10970 * desktop.el (desktop-save-mode):
10971 * dired-x.el (dired-omit-mode):
10972 * dirtrack.el (dirtrack-mode):
10973 * doc-view.el (doc-view-minor-mode):
10974 * double.el (double-mode):
10975 * electric.el (electric-indent-mode, electric-pair-mode):
10976 * emacs-lock.el (emacs-lock-mode):
10977 * epa-hook.el (auto-encryption-mode):
10978 * follow.el (follow-mode):
10979 * font-core.el (font-lock-mode):
10980 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10981 * help.el (temp-buffer-resize-mode):
10982 * hilit-chg.el (highlight-changes-mode)
10983 (highlight-changes-visible-mode):
10984 * hi-lock.el (hi-lock-mode):
10985 * hl-line.el (hl-line-mode, global-hl-line-mode):
10986 * icomplete.el (icomplete-mode):
10987 * ido.el (ido-everywhere):
10988 * image-file.el (auto-image-file-mode):
10989 * image-mode.el (image-minor-mode):
10990 * iswitchb.el (iswitchb-mode):
10991 * jka-cmpr-hook.el (auto-compression-mode):
10992 * linum.el (linum-mode):
10993 * longlines.el (longlines-mode):
10994 * master.el (master-mode):
10995 * mb-depth.el (minibuffer-depth-indicate-mode):
10996 * menu-bar.el (menu-bar-mode):
10997 * minibuf-eldef.el (minibuffer-electric-default-mode):
10998 * mouse-sel.el (mouse-sel-mode):
10999 * msb.el (msb-mode):
11000 * mwheel.el (mouse-wheel-mode):
11001 * outline.el (outline-minor-mode):
11002 * paren.el (show-paren-mode):
11003 * recentf.el (recentf-mode):
11004 * reveal.el (reveal-mode, global-reveal-mode):
11005 * rfn-eshadow.el (file-name-shadow-mode):
11006 * ruler-mode.el (ruler-mode):
11007 * savehist.el (savehist-mode):
11008 * scroll-all.el (scroll-all-mode):
11009 * scroll-bar.el (scroll-bar-mode):
11010 * server.el (server-mode):
11011 * shell.el (shell-dirtrack-mode):
11012 * simple.el (auto-fill-mode, transient-mark-mode)
11013 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11014 (line-number-mode, column-number-mode, size-indication-mode)
11015 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11016 * strokes.el (strokes-mode):
11017 * time.el (display-time-mode):
11018 * t-mouse.el (gpm-mouse-mode):
11019 * tool-bar.el (tool-bar-mode):
11020 * tooltip.el (tooltip-mode):
11021 * type-break.el (type-break-mode-line-message-mode)
11022 (type-break-query-mode):
11023 * view.el (view-mode):
11024 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11025 (global-whitespace-mode, global-whitespace-newline-mode):
11026 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11027
a3839de2
SM
11028 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11029 Fix autogenerated docstring.
06e21633 11030
5214e501
JL
110312011-10-19 Juri Linkov <juri@jurta.org>
11032
11033 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11034 by checking environment variables "DESKTOP_SESSION" and
11035 "XDG_CURRENT_DESKTOP". (Bug#9779)
11036
195f8db9
JL
110372011-10-19 Juri Linkov <juri@jurta.org>
11038
11039 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11040 (browse-url-chromium-program, browse-url-chromium-arguments):
11041 New defcustoms.
11042 (browse-url-default-browser): Check for `browse-url-chromium' and
11043 call `browse-url-chromium-program'.
11044 (browse-url-chromium): New command. (Bug#9779)
11045
343a34ff
JB
110462011-10-18 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * facemenu.el (list-colors-duplicates): On Windows, detect more
11049 duplicates by assuming that only colors matching "^System" are
11050 special "system colors". (Bug#9722)
11051
6978a151
SM
110522011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11055 to distinguish the author from the committer.
11056
6a80b297
MA
110572011-10-18 Michael Albinus <michael.albinus@gmx.de>
11058
11059 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11060
b31a5677
JK
110612011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11062
11063 * international/mule.el (sgml-html-meta-auto-coding-function):
11064 Add support for detecting encoding in HTML5 specified only as
11065 <meta charset="UTF-8">. Implementation just makes http-equiv and
11066 content-type parts from HTML4 encoding string optional. (Bug#9716)
11067
80c6d77f
GM
110682011-10-18 Glenn Morris <rgm@gnu.org>
11069
11070 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11071
08b0fee8
CY
110722011-10-18 Chong Yidong <cyd@gnu.org>
11073
11074 * faces.el (cursor): Doc fix.
11075
67e729a5
CY
110762011-10-17 Chong Yidong <cyd@gnu.org>
11077
11078 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11079
343a34ff 110802011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11081
11082 * dirtrack.el (dirtrack): Support shell buffers with path
11083 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11084
0bc06380
TZ
110852011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11086
11087 * json.el: Bump version to 1.3 and note change in History.
11088 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11089
8b79f3e0
SM
110902011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11091
5a7c536b
SM
11092 * comint.el (comint-insert-input, comint-send-input)
11093 (comint-get-old-input-default, comint-backward-matching-input)
11094 (comint-next-prompt): Use nil instead of `input' for field property of
11095 past user input (bug#114).
11096
96a8a0df
SM
11097 * minibuffer.el (completion--replace): Inherit surrounding properties
11098 (bug#114).
11099 (minibuffer-complete-and-exit): Use it.
11100
8b79f3e0
SM
11101 * comint.el (comint--table-subvert): Quote the all-completions output
11102 (bug#9160).
11103
b8f7ff0d
MR
111042011-10-17 Martin Rudalics <rudalics@gmx.at>
11105
8b79f3e0 11106 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11107
b8f7ff0d 11108 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11109 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11110 entries and separate them from frame entries.
11111
c235b555
GM
111122011-10-15 Glenn Morris <rgm@gnu.org>
11113
11114 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11115 Doc fixes.
11116
6bbfa6e1
CY
111172011-10-15 Chong Yidong <cyd@stupidchicken.com>
11118
8b79f3e0
SM
11119 * net/network-stream.el (network-stream-open-starttls):
11120 Improve detection of failure due to lack of TLS support.
ec5c990d 11121
6bbfa6e1
CY
11122 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11123 putting the input text in front and in bold.
11124
98488977
SM
111252011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11126
3d1337be
SM
11127 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11128
ee0b45e4
SM
11129 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11130 empty buffer.
11131
98488977
SM
11132 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11133 unread-command-events rather than pushing yet-another event.
11134
186f4720
EZ
111352011-10-14 Eli Zaretskii <eliz@gnu.org>
11136
11137 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11138 the explanation of the possible choices. Make the options passed
11139 to completing-read shorter.
11140
8b7a997c
AM
111412011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11142
11143 * textmodes/flyspell.el (flyspell-large-region): Make sure
11144 extended character mode is used if defined (Bug#1339).
11145
12587bbb
EZ
111462011-10-13 Eli Zaretskii <eliz@gnu.org>
11147
11148 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11149 character info for LRE, LRO, RLE, and RLO characters by appending
11150 an invisible PDF.
12587bbb 11151
bad41229
SM
111522011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11155 even in case of error; add debug spec; simplify data flow.
11156 (with-timeout-handler): Remove.
11157
28dbc92f
MA
111582011-10-12 Michael Albinus <michael.albinus@gmx.de>
11159
11160 Fix Bug#6019, Bug#9315.
11161
11162 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11163 complete `buffer-file-name', the local file name part could look
11164 remotely (for example on VMS).
11165
11166 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11167 `tramp-run-real-handler'.
11168 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11169 already quoted by '"'.
11170
11171 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11172 Let `file-name-handler-alist' be nil, the local file name part
11173 could look remotely (for example on VMS).
11174
e1b0b23a
SM
111752011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11178 from here...
11179 (flyspell-post-command-hook): ...to here.
11180
a120bde9
SM
111812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11184 if not needed.
11185 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11186 using completion. Protect against "slow" callers.
11187 Remove the "message hack".
11188
7ce7717b
JL
111892011-10-11 Juri Linkov <juri@jurta.org>
11190
11191 * isearch.el (isearch-lazy-highlight-word): New variable.
11192 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11193 Use it. (Bug#9727)
11194
c02ee9d6
GM
111952011-10-11 Glenn Morris <rgm@gnu.org>
11196
11197 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11198 like f90-previous-statement does.
11199
93e616fd 112002011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11201
1f190e73 11202 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11203 only in interactive use, to avoid error.
11204
af7b6078
SM
112052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * minibuffer.el (completion-file-name-table): Fix last change,
11208 i.e. ignore normal errors but not the other ones.
11209
0563dae9
MR
112102011-10-10 Martin Rudalics <rudalics@gmx.at>
11211
11212 * window.el (special-display-buffer-names)
11213 (special-display-regexps): Remove some remnants of earlier
11214 changes from doc-strings.
366ca7f3
MR
11215 (quit-windows-on): New function.
11216
11217 * vc/vc.el (vc-revert, vc-rollback):
11218 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11219 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11220 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11221
49677495
MR
112222011-10-09 Martin Rudalics <rudalics@gmx.at>
11223
11224 * window.el (frame-auto-hide-function): Add version tag.
11225 (Bug#9699)
11226
56f2d1e1
MA
112272011-10-09 Michael Albinus <michael.albinus@gmx.de>
11228
11229 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11230 condition.
11231
112a6592
LL
112322011-10-09 Leo Liu <sdl.web@gmail.com>
11233
11234 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11235 (Bug#9701)
11236
0812589b
GM
112372011-10-08 Glenn Morris <rgm@gnu.org>
11238
11239 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11240 before the first code statement zero indent. (Bug#9690)
11241
b2b0776e
CY
112422011-10-08 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * simple.el (count-words-region): Always count in the region.
11245 Report the number of lines and characters too.
11246 (count-words): New command, which counts in the buffer if the
11247 region is inactive, as count-words-region used to.
11248 (count-words--message): New function. Handle plurals.
11249 (count-lines-region): Make it an alias for count-words-region.
11250
11251 * bindings.el (esc-map): Replace count-lines-region with
11252 count-words-region.
11253
c557cd6b
MR
112542011-10-08 Martin Rudalics <rudalics@gmx.at>
11255
11256 * window.el (window--delete): Delete dedicated frame
11257 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11258 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11259
61a57ef4 112602011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11261
3a7d293b 11262 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11263
c3833279
CY
112642011-10-07 Chong Yidong <cyd@stupidchicken.com>
11265
11266 * bindings.el ([M-left],[M-right]): Bind to left-word and
11267 right-word respectively.
11268
21ce8245
GM
112692011-10-07 Glenn Morris <rgm@gnu.org>
11270
11271 * cus-start.el (debug-on-quit): Fix custom type.
11272
6d823bb2
LMI
112732011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11274
0181e193
LMI
11275 * subr.el (define-key-after): Clarify that the function is not
11276 useful for non-menu keymaps.
11277
6d823bb2
LMI
11278 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11279
8e3459ce 112802011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11281
21ce8245 11282 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11283 in current minibuffer (Fix bug with recursive minibuffers).
11284
a1c2d21e
CY
112852011-10-06 Chong Yidong <cyd@stupidchicken.com>
11286
11287 * progmodes/gdb-mi.el (gdb): Doc fix.
11288
5a4cf282
MR
112892011-10-05 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (frame-auto-hide-function): New option replacing
11292 frame-auto-delete. Suggested by Stefan Monnier.
11293 (window--delete): Call frame-auto-hide-function instead of
11294 investigating frame-auto-delete.
c96111ea
MR
11295 (window-point-1, set-window-point-1): New functions.
11296 (window-in-direction, record-window-buffer, window-state-get-1)
11297 (display-buffer-record-window): Use window-point-1 instead of
11298 window-point.
11299 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11300
9854542e
SM
113012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11304
8943cfb0
GM
113052011-10-05 Glenn Morris <rgm@gnu.org>
11306
11307 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11308 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11309
647ab967
LL
113102011-10-05 Leo Liu <sdl.web@gmail.com>
11311
11312 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11313 works with buffer object.
11314
3ddfbced
SM
113152011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * mpc.el (mpc-tool-bar-map): Add labels.
11318
bdfa5dd2
GM
113192011-10-04 Glenn Morris <rgm@gnu.org>
11320
11321 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11322
0e2070b5
MR
113232011-10-04 Martin Rudalics <rudalics@gmx.at>
11324
11325 * window.el (window--delete): New function.
11326 (frame-auto-delete): Resuscitate option.
11327 (bury-buffer, replace-buffer-in-windows)
11328 (quit-window): Rewrite using window--delete.
11329 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11330 Pass display-buffer-mark-dedicated to window--display-buffer-2
11331 (Bug#9639).
11332
3dc61a09
SM
113332011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11334
915a9b64
SM
11335 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11336 returns a list (bug#9554). Add remote file name completion.
11337 * comint.el (comint--table-subvert): Curry and get quote&unquote
11338 functions as arguments.
11339 (comint--complete-file-name-data): Adjust call accordingly.
11340 * pcomplete.el (pcomplete--table-subvert): Remove.
11341 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11342
3dc61a09
SM
11343 * minibuffer.el (completion-table-case-fold): Use currying.
11344 (completion--styles-type, completion--cycling-threshold-type):
11345 New constants.
11346 (completion-styles, completion-category-overrides)
11347 (completion-cycle-threshold): Use them.
11348 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11349 completion-table-case-fold.
11350
8ea0a993
SB
113512011-10-03 Stephen Berman <stephen.berman@gmx.net>
11352
11353 * minibuffer.el (completion-category-overrides): Fix type of styles
11354 and add more user friendly tags (bug#9660).
11355
8c24b7f6
SM
113562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11359 (mule-input-method-string): New widget.
11360 (default-input-method, language-info-custom-alist): Use it.
11361
428fe61a
SM
113622011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11363
32c1fffd
SM
11364 * pcomplete.el: Require comint.
11365 (pcomplete--common-suffix): Remove.
11366 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11367 (pcomplete--table-subvert): Sync with comint--table-subvert.
11368 (pcomplete--entries): Use comint-completion-file-name-table.
11369 * comint.el (comint-unquote-filename): Simplify.
11370 (comint-completion-file-name-table): New function (bug#9616).
11371 (comint--complete-file-name-data): Use it.
11372
428fe61a
SM
11373 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11374 (pcmpl-gnu-tar-buffer): Remove.
11375 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11376 around. Make sure pcomplete-suffix-list is only changed temporarily.
11377 Don't look inside the tar's file if it's too large.
428fe61a 11378
04c52e2f
CY
113792011-10-01 Chong Yidong <cyd@stupidchicken.com>
11380
ce3cefcc
CY
11381 * cus-edit.el (custom-mode-map):
11382 * epa.el (epa-key-list-mode-map):
11383 * man.el (Man-mode-map):
11384 * startup.el (splash-screen-keymap):
11385 * simple.el (special-mode-map): Use scroll-up-command and
11386 scroll-down-command.
11387
11388 * progmodes/idlw-help.el (idlwave-help-mode-map):
11389 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11390 * net/newst-plainview.el (newsticker-mode-map):
11391 * emulation/ws-mode.el (wordstar-mode-map):
11392 * emulation/vi.el (vi-com-map):
11393 * calc/calc-graph.el (calc-graph-show-dumb):
11394 * term/sun.el (terminal-init-sun):
11395 * term/ns-win.el (global-map):
11396 * progmodes/grep.el (grep-mode-map):
11397 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11398 * mail/rmail.el (rmail-mode-map):
11399 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11400
04c52e2f
CY
11401 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11402 custom-safe-themes as special.
11403
79adf8c8
JD
114042011-10-01 Julien Danjou <julien@danjou.info>
11405
11406 * notifications.el (notifications-notify): Fix docstring.
11407
63bd50d3
PS
114082011-10-01 Per Starbäck <per@starback.se>
11409
11410 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11411
199e4c7e
MR
114122011-09-30 Martin Rudalics <rudalics@gmx.at>
11413
11414 * startup.el (command-line-1): Fix last fix by inserting
11415 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11416 (Bug#9605) and (Bug#9636)
199e4c7e 11417
fe5f08dd
EZ
114182011-09-29 Eli Zaretskii <eliz@gnu.org>
11419
11420 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11421 window is hscrolled, move by logical lines. (Bug#9607)
11422 (line-move-visual): Update the doc string to the above effect.
11423
b5516bbd
MR
114242011-09-29 Martin Rudalics <rudalics@gmx.at>
11425
ccee00c0
MR
11426 * window.el (display-buffer-record-window): When WINDOW is the
11427 selected window use `point' instead of `window-point'. (Bug#9626)
11428
b5516bbd
MR
11429 * startup.el (command-line-1): Use insert-before-markers when
11430 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11431
b5516bbd
MR
11432 * help.el (help-window): Remove variable.
11433
52aa0014
GM
114342011-09-29 Glenn Morris <rgm@gnu.org>
11435
11436 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11437
df9a7357
JB
114382011-09-29 Juanma Barranquero <lekktu@gmail.com>
11439
11440 * descr-text.el (describe-char-categories): Accept category
11441 descriptions more than one line long.
11442
a8406c20
SM
114432011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11444
88d9610c
SM
11445 * simple.el (delete-trailing-whitespace): Fix last change.
11446
a5daf810
SM
11447 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11448 Don't confuse "y => 3" as the beginning of a `y' operation.
11449
a8406c20
SM
11450 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11451 object has more than 4 slots (bug#9613).
11452
a239d4e9
JB
114532011-09-28 Juanma Barranquero <lekktu@gmail.com>
11454
11455 * subr.el (with-output-to-temp-buffer):
11456 * net/quickurl.el (quickurl, quickurl-browse-url):
11457 Fix typos in docstrings.
11458
693fbdb6
EZ
114592011-09-27 Eli Zaretskii <eliz@gnu.org>
11460
11461 * minibuffer.el (completion-styles)
11462 (completion-category-overrides): Cross reference each other in doc
11463 strings.
11464
8b457e28
GM
114652011-09-27 Glenn Morris <rgm@gnu.org>
11466
11467 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11468 to split-string. (Bug#9606)
11469
85a16208
LMI
114702011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11471
11472 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11473 (bug#9615).
11474
502f9ebd
CY
114752011-09-27 Chong Yidong <cyd@stupidchicken.com>
11476
11477 * emacs-lisp/package.el (list-packages): Fix echo area message.
11478
7690bdea
LL
114792011-09-27 Leo Liu <sdl.web@gmail.com>
11480
11481 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11482
e2ee6f30
MA
114832011-09-25 Michael Albinus <michael.albinus@gmx.de>
11484
11485 * net/dbus.el (dbus-unregister-object): Don't release services for
11486 registered signals. (Bug#9581)
11487
f3f98342
TZ
114882011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11489
11490 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11491 function that picks between cfengine 2 and 3 support
11492 automatically. Update docs accordingly.
11493
dd7aa8dd
KH
114942011-09-22 Kenichi Handa <handa@m17n.org>
11495
11496 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11497 ZERO.
11498 (indian-itrans-v5-table-for-tamil): New variable.
11499 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11500
3f2b07f8
KM
115012011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11502
11503 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11504 that's true if the current command involved collapsing of text.
11505 It's reset to false at the beginning of the next command.
11506 (allout-post-command-business): Move the cursor to the beginning
11507 of entry if the cursor is hidden and collapsing activity just
11508 happened.
11509
371d6a61
CY
115102011-09-24 Chong Yidong <cyd@stupidchicken.com>
11511
11512 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11513 tracking (Bug#9541).
11514
2ac2721a
UJ
115152011-09-24 Ulf Jasper <ulf.jasper@web.de>
11516
11517 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11518 (newsticker-show-news): Automatically load html rendering package
11519 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11520 because w3m-fill-column is let-bound" and the error "Symbol's value
11521 as variable is void: w3m-fill-column".
2ac2721a 11522
fac7ae53
MA
115232011-09-24 Michael Albinus <michael.albinus@gmx.de>
11524
11525 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11526 Release services only if they are defined. (Bug#9581)
11527
e08b633b
RS
115282011-09-23 Richard Stallman <rms@gnu.org>
11529
e488d29c
RS
11530 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11531 distinguish start of paragraph from start of its text.
11532
19c38752
RS
11533 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11534
e08b633b
RS
11535 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11536 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11537 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11538
0a39f27e
AS
115392011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11540
11541 * international/mule-diag.el (mule-diag): Insert a newline after
11542 each fontset description.
11543
db4e950d
SM
115442011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * simple.el (delete-trailing-whitespace):
11547 Document last change; simplify.
11548
eca3f3ea
PW
115492011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11550
d68e189a
PW
11551 * simple.el (delete-trailing-whitespace): Also delete
11552 extra newlines at the end of the buffer.
11553
eca3f3ea
PW
11554 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11555 (picture-newline): Use forward-line so as to ignore fields.
11556
01c157cc
SM
115572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * subr.el (with-wrapper-hook): Fix edebug spec.
11560
022de23e
LMI
115612011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11562
11563 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11564 (bug#4538).
11565
91683089
MA
115662011-09-23 Michael Albinus <michael.albinus@gmx.de>
11567
eca3f3ea
PW
11568 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11569 Fix nasty bug using wrong cached values.
91683089 11570
5bdd6fa4
AM
115712011-09-23 Alan Mackenzie <acm@muc.de>
11572
11573 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11574
97adfb97
CY
115752011-09-23 Chong Yidong <cyd@stupidchicken.com>
11576
11577 * window.el (pop-to-buffer): Ensure right window is selected if we
11578 chose another frame.
11579
d4ef2b50
EZ
115802011-09-22 Eli Zaretskii <eliz@gnu.org>
11581
11582 * simple.el (what-cursor-position): Use get-char-property-change
11583 and next-single-char-property-change, to be able to show display
11584 properties that come from overlays as well as text properties.
11585
72258fe5
CY
115862011-09-22 Chong Yidong <cyd@stupidchicken.com>
11587
11588 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11589
11590 * cmuscheme.el (run-scheme, switch-to-scheme):
11591 * cus-edit.el (customize-group, custom-buffer-create)
11592 (customize-browse):
11593 * info.el (info):
11594 * shell.el (shell):
11595 * mail/sendmail.el (mail):
11596 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11597
8f098516
RS
115982011-09-22 Richard Stallman <rms@gnu.org>
11599
11600 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11601 move back only to line beg, don't move back over blank lines.
11602
e74f1bb6
MA
116032011-09-22 Michael Albinus <michael.albinus@gmx.de>
11604
11605 * files.el (copy-directory): Set directory attributes only in case
11606 they could be retrieved from the source directory. (Bug#9565)
11607
bfeef8b6
DK
116082011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11609
11610 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11611 (hs-find-block-beginning, hs-hide-level-recursive):
11612 Ignore strings as well as comments. (Bug#9502)
11613
7e423bb8
AS
116142011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11615
11616 * progmodes/sql.el (sql-comint-postgres):
11617 Convert port number to a string. (Bug#9566)
11618
b4d72fcf
MR
116192011-09-22 Martin Rudalics <rudalics@gmx.at>
11620
11621 * window.el (quit-window): Undedicate window when switching to
11622 previous buffer. Reported by Thierry Volpiatto
11623 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11624 (special-display-popup-frame): When popping up a new frame reset
11625 its previous buffers to nil. Simplify code.
b4d72fcf 11626
a7b88dc6
MA
116272011-09-21 Michael Albinus <michael.albinus@gmx.de>
11628
11629 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11630 and process filter, as done also in `shell-command'.
11631
cf4eacfd
MR
116322011-09-21 Martin Rudalics <rudalics@gmx.at>
11633
eca3f3ea 11634 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11635 Call set-window-start with NOFORCE argument t.
11636 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11637 (quit-window): Reword doc-string. Handle new format of
11638 quit-restore parameter. Don't delete window if it has a
11639 previous buffer we can show instead of the present one.
11640 (display-buffer-record-window): Rewrite using a new format for
11641 the quit-restore window parameter
11642 (special-display-popup-frame, display-buffer-same-window)
11643 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11644 (display-buffer-pop-up-window, display-buffer-use-some-window):
11645 Adapt symbol passed to display-buffer-record-window.
11646 * help.el (help-window-setup): Handle new format of quit-restore
11647 parameter.
11648
8d28cb95
SM
116492011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11650
94ab793f
SM
11651 * faces.el (face-list): Fix docstring (bug#9564).
11652
8d28cb95
SM
11653 * window.el (display-buffer--action-function-custom-type):
11654 Don't include internal functions in the Custom interface.
11655
3820edeb
JL
116562011-09-20 Juri Linkov <juri@jurta.org>
11657
11658 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11659 (Info-forward-node, Info-backward-node, Info-next-preorder)
11660 (Info-last-preorder): Use it. (Bug#9528)
11661
5147931d
JL
116622011-09-20 Juri Linkov <juri@jurta.org>
11663
11664 * info.el (Info-last-preorder): Visit last menu item only when
11665 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11666
cf499a1a
JD
116672011-09-20 Julien Danjou <julien@danjou.info>
11668
11669 * password-cache.el (password-cache-remove): Remove entries even if the
11670 value is nil, so that password with a nil value (negative caching) is
11671 possible to invalidate.
11672
f84e2fe2
LM
116732011-09-20 Lawrence Mitchell <wence@gmx.li>
11674
11675 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11676 all whitespace around breakpoint. (Bug#9553)
11677 (f90-find-breakpoint): Only break at whitespace inside a comment.
11678
78054a46
SM
116792011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * minibuffer.el (completion-file-name-table): Keep track of errors.
11682 (completion-table-with-predicate): Handle the case where pred1 is nil.
11683 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11684
345083b2
SM
116852011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11686
e24e27be
SM
11687 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11688 (debugger-return-value): Signal an error if the debugging context does
11689 not await any return value.
11690
345083b2
SM
11691 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11692 * image-mode.el (image-toggle-display-text)
11693 (image-toggle-display-image): Stay away from evil `intangible'.
11694
08d355e3
LL
116952011-09-19 Leo Liu <sdl.web@gmail.com>
11696
11697 * replace.el (occur-revert-arguments): Make it permanent-local.
11698 (occur-mode): Don't call font-lock-defontify.
11699
f01da43f
CY
117002011-09-19 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * net/ldap.el (ldap-search-internal): Don't push empty search
11703 result (Bug#9508).
11704
b6072fa6
SM
117052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11708
443d6696
MA
117092011-09-19 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11712 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11713
7cc6e154
JL
117142011-09-18 Juri Linkov <juri@jurta.org>
11715
11716 * buff-menu.el (Buffer-menu-mode-map):
11717 * dired.el (dired-mode-map):
11718 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11719 (lisp-interaction-mode-map):
11720 * emacs-lisp/package.el (package-menu-mode-map):
11721 * epa.el (epa-key-list-mode-map):
11722 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11723 (menu-bar-options-menu):
11724 * outline.el (outline-mode-menu-bar-map):
11725 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11726 * vc/vc-dir.el (vc-dir-menu-map):
11727 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11728 Capitalize non-function content words in menu item strings.
11729
11730 * dired.el (dired-mode-map): Add menu item for
11731 `image-dired-dired-toggle-marked-thumbs'.
11732
80302a81
JL
117332011-09-18 Juri Linkov <juri@jurta.org>
11734
11735 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11736 to `isearch-case-fold-search' and restore its original value
11737 after the `isearch-mode' call.
11738
46c5cf66
JL
117392011-09-18 Juri Linkov <juri@jurta.org>
11740
11741 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11742 because `zgrep' returns 1 for successful matches (bug#9226).
11743
d18b513b
JL
117442011-09-18 Juri Linkov <juri@jurta.org>
11745
11746 * info.el (Info-extract-menu-node-name): Check the second match
11747 for empty string (second test-case of bug#9528).
11748 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11749 intermediate nodes to the history (first test-case of bug#9528).
11750
72753f87
JL
117512011-09-18 Juri Linkov <juri@jurta.org>
11752
11753 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11754 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11755
c9384295
JL
117562011-09-18 Juri Linkov <juri@jurta.org>
11757
1154d12e
JB
11758 * info.el (Info-file-supports-index-cookies):
11759 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11760 outputs one more line for long file names (bug#4142).
c9384295 11761
d473dce8
CY
117622011-09-18 Chong Yidong <cyd@stupidchicken.com>
11763
11764 * newcomment.el (comment-normalize-vars): If prompting for
11765 comment-start, set comment-start-skip too (Bug#8424).
11766
2176854d
JB
117672011-09-18 Johan Bockgård <bojohan@gnu.org>
11768
11769 * icomplete.el: Fix previous fix of Bug#5849.
11770 (icomplete-mode): Don't set completion-show-inline-help.
11771 (icomplete-minibuffer-setup): Set completion-show-inline-help
11772 locally during icompletion.
11773
3aace4e4
CY
117742011-09-18 Chong Yidong <cyd@stupidchicken.com>
11775
c940224f
CY
11776 * woman.el (woman2-process-escapes): Don't delete unrecognized
11777 escapes (Bug#7843).
11778
3aace4e4
CY
11779 * files.el (inhibit-first-line-modes-regexps): Add image files.
11780 (hack-local-variables-prop-line): Return nil for malformed
11781 prop-lines (Bug#9044).
11782
710dec63
MA
117832011-09-18 Michael Albinus <michael.albinus@gmx.de>
11784
11785 * net/tramp.el (top): Don't require 'shell.
11786 (tramp-methods): Fix docstring.
11787 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11788 Return complete remote file name. Handle "smb" case.
11789 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11790 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11791
11792 * net/tramp-compat.el (top): Require 'shell.
11793
11794 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11795 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11796 `tramp-current-host'.
11797 (tramp-get-remote-tmpdir): Remove.
11798
11799 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11800 `tramp-tmpdir' entries.
11801 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11802 (tramp-smb-handle-file-attributes): Ignore errors.
11803 (tramp-smb-wait-for-output): Check also for process end.
11804
5d5ac8ec
LMI
118052011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806
11807 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11808 when sending QUIT (bug#9312).
11809
8c0f49f0
CY
118102011-09-17 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11813 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11814 occur-mode-display-occurrence.
11815 (occur-edit-mode): Add usage message.
11816 (occur-cease-edit): New command.
11817 (occur-after-change-function): Use text properties to find the
11818 position of the prefix text.
11819 (occur-engine): Set stickiness of prefix text properties.
11820
8f1383f7
GM
118212011-09-17 Glenn Morris <rgm@gnu.org>
11822
11823 * progmodes/etags.el (complete-tag):
11824 Fix call to completion-in-region. (Bug#9526)
11825
744ba0e3
JL
118262011-09-17 Juri Linkov <juri@jurta.org>
11827
11828 * textmodes/ispell.el (ispell-word): Add to the error message
11829 the word, ispell program name and current dictionary (bug#9121).
11830 (ispell-tex-arg-end): Capitalize "error" in the error message.
11831
d9bbf400
AS
118322011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11833
11834 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11835 check. (Bug#4251)
11836
8da11505
JL
118372011-09-17 Juri Linkov <juri@jurta.org>
11838
11839 * window.el (window-safe-min-height, window-safe-min-width):
11840 Fix typos (followup to bug#9522).
11841
a91adc7e
SJ
118422011-09-17 Sven Joachim <svenjoac@gmx.de>
11843
11844 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11845
064f328a
EZ
118462011-09-16 Eli Zaretskii <eliz@gnu.org>
11847
11848 * simple.el (line-move): If goal-column is set, move by logical
11849 lines, not by display lines. (Bug#971)
11850 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11851 to reflect the above change.
11852
e69df516
SM
118532011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * image.el (imagemagick-register-types): Use regexp-opt.
11856
cbb0f9ab
CY
118572011-09-15 Chong Yidong <cyd@stupidchicken.com>
11858
11859 * window.el (display-buffer-base-action): Rename from
11860 display-buffer-default-action. Make default value empty.
11861 (display-buffer-overriding-action): Convert to defvar.
11862 (display-buffer-fallback-action): New var.
11863
25322144
CY
118642011-09-15 Chong Yidong <cyd@stupidchicken.com>
11865
11866 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11867 declaration.
11868 (package--add-to-archive-contents): If there is a duplicate entry
11869 with an older version, remove it.
11870 (package-menu-mark-delete, package-menu-mark-install)
11871 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11872 (package-menu-mark-obsolete-for-deletion):
11873 Use package-menu-get-status instead of a regexp search.
25322144
CY
11874 (package-menu-get-status): Use tabulated-list-entry.
11875 (package-menu-mark-upgrades): New command.
d770725a 11876 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11877 (package-menu-execute): Do installation before deletion.
11878 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11879 instead of checking major-mode.
11880 (package-menu--find-upgrades): New function.
11881
7520339c
LMI
118822011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11883
11884 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11885 passwords in the log buffer.
65a046c4
LMI
11886 (smtpmail-process-filter): Update the process marker so that the
11887 "broken by peer" status message is inserted in the right place.
7520339c 11888
d3c30954
SM
118892011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11890
3fe48822
SM
11891 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11892 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11893 bibtex-completion-at-point-function.
11894 (bibtex-completion-at-point-function): Use them.
11895
1b8b3954
SM
11896 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11897
d3c30954
SM
11898 * mpc.el (mpc-constraints-tag-lookup): New function.
11899 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11900 also to browser "album|playlist".
11901
72779976
JL
119022011-09-14 Juri Linkov <juri@jurta.org>
11903
11904 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11905 (isearch-edit-string): Use length of `isearch-string' when
11906 `isearch-fail-pos' returns nil.
11907 (isearch-message): Remove duplicate code and call
11908 `isearch-fail-pos' with arg `t'.
11909
a0bf2bcd
CY
119102011-09-14 Chong Yidong <cyd@stupidchicken.com>
11911
17bb0a2d
CY
11912 * replace.el (occur-mode-goto-occurrence): Don't force using other
11913 window (Bug#9499).
11914
a0bf2bcd
CY
11915 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11916
f678e0b6
MR
119172011-09-14 Martin Rudalics <rudalics@gmx.at>
11918
11919 * window.el (display-buffer-window): Remove.
11920 (display-buffer-record-window): Use help-setup window parameter
11921 instead of variable display-buffer-window.
11922 (display-buffer-function, special-display-buffer-names)
11923 (special-display-function): Mention help-setup parameter instead
11924 of display-buffer-window in doc-string.
d3c30954
SM
11925 * help.el (help-window-setup): New argument help-window.
11926 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11927 Reword some messages.
11928 (with-help-window): Pass window used for displaying the buffer
11929 to help-window-setup. Don't set display-buffer-window.
11930
8e39b2e8
GM
119312011-09-13 Glenn Morris <rgm@gnu.org>
11932
11933 * emacs-lisp/debug.el (debugger-make-xrefs):
11934 Preserve point. (Bug#9462)
11935
85e9c04b
CY
119362011-09-13 Chong Yidong <cyd@stupidchicken.com>
11937
11938 * window.el (window-deletable-p): Use next-frame.
11939
1b36ed6a
MR
119402011-09-13 Martin Rudalics <rudalics@gmx.at>
11941
11942 * window.el (window-auto-delete): Remove.
11943 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11944 dedication and previous buffers.
1b36ed6a
MR
11945 (switch-to-prev-buffer): Don't delete window.
11946 (delete-windows-on): Delete a window's frame if and only if the
11947 window is dedicated.
11948 (replace-buffer-in-windows): Delete buffer's window or frame if
11949 and only if window is dedicated.
11950 (quit-window): Handle quit-restore as before last change.
4d61f28d 11951 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11952
ef8ef9fb
CY
119532011-09-13 Chong Yidong <cyd@stupidchicken.com>
11954
11955 * window.el (window-deletable-p): Never delete the last frame on a
11956 given terminal.
11957
b2cba41e
GM
119582011-09-13 Glenn Morris <rgm@gnu.org>
11959
11960 * help.el (describe-key-briefly): Copy previous standard-output change.
11961
51553db6 119622011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11963
11964 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11965
b7556719
GM
119662011-09-13 Glenn Morris <rgm@gnu.org>
11967
11968 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11969 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11970
64b51947
CY
119712011-09-12 Chong Yidong <cyd@stupidchicken.com>
11972
11973 * dired-aux.el (dired-mark-read-string): Don't return default
11974 value on empty input (Bug#9361).
11975 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11976 Omit initial minibuffer contents.
11977 (dired-do-chmod): Signal an error on empty input.
11978 (dired-mark-read-string): Don't return default on empty input.
11979
11980 * files.el (file-modes-symbolic-to-number): Doc fix.
11981
393a301e
SM
119822011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * international/mule-cmds.el (ucs-completions): Remove.
11985 (read-char-by-name): Use complete-with-action instead; add metadata.
11986
fa5660f9
CY
119872011-09-11 Chong Yidong <cyd@stupidchicken.com>
11988
11989 * window.el (display-buffer--action-function-custom-type)
11990 (display-buffer--action-custom-type): New vars.
11991 (display-buffer-alist, display-buffer-default-action)
11992 (display-buffer-overriding-action): Add defcustom types.
11993
4a592f66
CY
11994 * frame.el (delete-other-frames): Doc fix (Bug#276).
11995
73d56dbd
LMI
119962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997
11998 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11999
37ac18a3
CY
120002011-09-11 Chong Yidong <cyd@stupidchicken.com>
12001
12002 Change modes that used same-window-* vars to use switch-to-buffer.
12003
12004 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12005 Use switch-to-buffer.
12006
12007 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12008 (customize-browse, custom-buffer-create-other-window):
12009 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12010
12011 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12012 (Info-prev, Info-up, Info-speedbar-goto-node)
12013 (info-display-manual): Use switch-to-buffer.
12014 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12015
12016 * mail/sendmail.el (mail): Use switch-to-buffer.
12017 (mail-recover): Use switch-to-buffer-other-window.
12018
12019 * cmuscheme.el (run-scheme, switch-to-scheme):
12020 * ielm.el (ielm):
12021 * shell.el (shell):
12022 * net/rlogin.el (rlogin):
12023 * net/telnet.el (telnet, rsh):
12024 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12025
10195bd6
AS
120262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12029
b322f63a
LMI
120302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031
39d7fed6
LMI
12032 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12033 so don't mention it (bug#9301).
ba5a81f1 12034 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12035
ee0e9f11
LMI
12036 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12037 match `x', `w32' and `ns', like the manual says (bug#9029).
12038
0b1c89c1 12039 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12040 (process-kill-buffer-query-function): Mention the buffer name in
12041 the query.
0b1c89c1 12042
77549ea8
LMI
12043 * image-mode.el (image-next-line): The line parameter is mandatory
12044 (bug#9258).
12045
803ef892
LMI
12046 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12047 which can be useful (bug#9301).
12048
12980837
LMI
12049 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12050
91054f8f
LMI
12051 * subr.el (match-string): Mention that the current buffer should
12052 be the same as the search was done in (bug#9282).
12053
b322f63a
LMI
12054 * facemenu.el: Disable the remove-* commands if the mark isn't
12055 active (bug#9162).
12056
3199b96f
CY
120572011-09-10 Chong Yidong <cyd@stupidchicken.com>
12058
12059 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12060 of display-buffer.
12061 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12062
12063 * replace.el (occur-mode-goto-occurrence)
12064 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12065 and display-buffer.
12066
12067 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12068 display-buffer.
12069
12070 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12071 special-display and same-window variables.
12072 (mail-other-window): Use switch-to-buffer-other-window.
12073 (mail-other-frame): USe switch-to-buffer-other-frame.
12074
393a301e
SM
12075 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12076 Use display-buffer-other-frame.
3199b96f
CY
12077 (gdb-display-gdb-buffer): Use pop-to-buffer.
12078
12079 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12080
12081 * progmodes/python.el: Don't set same-window-buffer-names.
12082
12083 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12084
12085 * window.el (display-buffer-alist): Add *Python*.
12086
8319e0bf
CY
120872011-09-10 Chong Yidong <cyd@stupidchicken.com>
12088
12089 * window.el (display-buffer-alist): Add entry for buffers
12090 previously handled same-window-*.
12091 (display-buffer-alist, display-buffer-default-action)
12092 (display-buffer-overriding-action): Mark as risky.
12093 (display-buffer-alist): Document action function changes.
12094 (display-buffer--same-window-action)
12095 (display-buffer--other-frame-action): New variables.
12096 (switch-to-buffer, display-buffer-other-frame): Use them.
12097 (display-buffer): Rename reuse-frame entry to reusable-frames.
12098 (display-buffer-reuse-selected-window): Function deleted.
12099 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12100 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12101 (display-buffer-special): New function.
12102 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12103 display-buffer-reuse-or-pop-window. Split off special-display
12104 part into display-buffer-special.
12105 (display-buffer-use-some-window): Don't perform any special
12106 pop-up-frames handling.
12107 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12108 (display-buffer--maybe-same-window): Rename from
0d3ff375 12109 display-buffer-maybe-same-window.
8319e0bf 12110
919a69aa
CY
12111 * info.el: Don't set same-window-regexps.
12112 (info-setup): New function.
12113 (info-other-window, info): Call it.
12114
12115 * cus-edit.el: Don't set same-window-regexps.
12116 (customize-group): New argument.
12117 (customize-group-other-window): Use it.
12118 (customize-face, customize-face-other-window): Likewise.
12119 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12120
8319e0bf
CY
12121 * net/rlogin.el:
12122 * net/telnet.el:
12123 * progmodes/gud.el: Don't set same-window-regexps.
12124
12125 * cmuscheme.el:
12126 * ielm.el:
12127 * shell.el:
12128 * mail/sendmail.el:
12129 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12130
25173000
JL
121312011-09-10 Juri Linkov <juri@jurta.org>
12132
12133 * isearch.el (isearch-edit-string): Remove obsolete mention of
12134 `C-w' (`isearch-yank-word-or-char') from docstring.
12135 (isearch-query-replace): Fix typo in docstring (bug#9466).
12136
056e44ef
JL
121372011-09-10 Juri Linkov <juri@jurta.org>
12138
12139 * paren.el (show-paren-function): Don't show escaped parens.
12140 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12141
c3760c17
EZ
121422011-09-10 Eli Zaretskii <eliz@gnu.org>
12143
12144 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12145 (mm-default-file-encoding): Remove autoload forms, they are
12146 replaced with autoload cookies in mml.el and mm-encode.el.
12147 (mail-add-attachment): New command.
12148 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12149 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12150 the doc string.
12151 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12152
fece895e
RT
121532011-09-10 Reuben Thomas <rrt@sc3d.org>
12154
e69df516
SM
12155 * simple.el (count-words-region): Use buffer if there's no region
12156 (bug#9429).
fece895e 12157
5e68ce4a
JL
121582011-09-09 Juri Linkov <juri@jurta.org>
12159
12160 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12161 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12162 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12163
0a6b9622
AM
121642011-09-09 Alan Mackenzie <acm@muc.de>
12165
12166 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12167 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12168
14a29deb
EZ
121692011-09-09 Eli Zaretskii <eliz@gnu.org>
12170
12171 Fix for Savannah bug#9392.
12172 * simple.el (mail-encode-mml): New defvar.
12173
12174 * mail/rmail.el (mail-encode-mml): Add a defvar.
12175 (rmail-enable-mime-composing): Default to t.
12176 (rmail-forward): Use MIME method of forwarding only if both
12177 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12178 Set mail-encode-mml non-nil if the MIME method was used.
12179
12180 * mail/sendmail.el (mml-to-mime): Add autoload form.
12181 (mail-encode-mml): Add a defvar.
12182 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12183 to nil.
12184 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12185 message through mml-to-mime, and reset mail-encode-mml to nil.
12186
28c45130
GM
121872011-09-09 Glenn Morris <rgm@gnu.org>
12188
12189 * woman.el (woman-if-body): When processing an .el block,
12190 do not delete the next .el block as well. (Bug#9447)
69f4b618 12191 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12192
9b1c252e
MR
121932011-09-08 Martin Rudalics <rudalics@gmx.at>
12194
12195 * window.el (window-deletable-p): Make sure window is live before
12196 invoking window-prev-buffers.
12197
567457e3
LL
121982011-09-08 Leo Liu <sdl.web@gmail.com>
12199
12200 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12201
97f05794
JL
122022011-09-08 Juri Linkov <juri@jurta.org>
12203
12204 * progmodes/compile.el (compilation-environment): Make it
12205 a defcustom (bug#8340).
12206
8b0874b5
MR
122072011-09-08 Martin Rudalics <rudalics@gmx.at>
12208
12209 * window.el (frame-auto-delete): Rename to window-auto-delete.
12210 Make it control auto-deletion of windows and/or frames.
12211 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12212 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12213 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12214 Rewrite handling of case when window/frame can be deleted.
12215 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12216 argument t. (Bug#9456)
8b0874b5 12217
4feb6e73
CY
122182011-09-07 Chong Yidong <cyd@stupidchicken.com>
12219
12220 * help-mode.el (help-mode): Restore autoload.
12221
91ab9c13
JL
122222011-09-07 Juri Linkov <juri@jurta.org>
12223
12224 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12225 `compilation-environment'. Set buffer-local
12226 `compilation-environment' to `thisenv' later after (funcall mode).
12227 (Bug#8340)
12228
12229 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12230 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12231 instead of replacing its value. (Bug#8340)
12232
0527e251
JL
122332011-09-07 Juri Linkov <juri@jurta.org>
12234
12235 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12236 based on text properties put by `grep-filter' instead of matching
12237 escape sequences.
12238 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12239 to the value of `grep-error-screen-columns' (bug#9438).
12240
249f792c
JL
122412011-09-07 Juri Linkov <juri@jurta.org>
12242
12243 * simple.el (next-error-highlight, next-error-highlight-no-select):
12244 Doc fix (bug#9432).
12245
ff7271b9
OT
122462011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12247
12248 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12249 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12250
183fc730
LL
122512011-09-07 Leo Liu <sdl.web@gmail.com>
12252
12253 * net/rcirc.el (rcirc-mode): Conditionally initialize
12254 rcirc-input-ring.
12255
77694924
SM
122562011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * emacs-lisp/find-func.el (find-function-C-source): Only set
12259 find-function-C-source-directory after checking that we found a source
12260 file there (bug#9440).
12261
d809b8eb
AM
122622011-09-06 Alan Mackenzie <acm@muc.de>
12263
12264 * isearch.el (isearch-other-meta-char): Wherever a key list is
12265 unread, "unread" the prefix arg, too. This fixes bug #8901.
12266
453de99f
OG
122672011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12268
12269 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12270
90439906
JL
122712011-09-05 Juri Linkov <juri@jurta.org>
12272
12273 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12274
f62bd846
JL
122752011-09-05 Juri Linkov <juri@jurta.org>
12276
12277 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12278 keeping point where processing of grep matches begins, and
12279 continue to delete remaining escape sequences from the same point.
12280 (grep-filter): Make leading zero optional in "0?1;31m" because
12281 git-grep emits "\033[1;31m" escape sequences unlike expected
12282 "\033[01;31m" as GNU Grep does (bug#9408).
12283 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12284
045820ec
JL
122852011-09-05 Juri Linkov <juri@jurta.org>
12286
12287 * subr.el (y-or-n-p): Capitalize "yes".
12288
f5e29b9b
MA
122892011-09-04 Michael Albinus <michael.albinus@gmx.de>
12290
12291 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12292 `tramp-cache-unload-hook' where appropriate.
12293 (tramp-methods): Rename `tramp-remote-sh' to
12294 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12295 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12296
12297 * net/tramp-sh.el (top): Don't require 'shell.
12298 (tramp-methods): Add `tramp-remote-shell' and
12299 `tramp-remote-shell-args' entries.
12300 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12301 (tramp-sh-handle-shell-command): Remove.
12302 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12303 Use `tramp-remote-shell'.
12304
2784c434
CY
123052011-09-03 Chong Yidong <cyd@stupidchicken.com>
12306
393a301e 12307 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12308 (sendmail-query-once): Save directly to send-mail-function.
12309 Update message-send-mail-function too.
12310
12311 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12312
464cdf56
CS
123132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12314
12315 * progmodes/python.el (python-mode-map): Use correct function to
12316 start python interpreter from menu-bar (as reported by Geert
12317 Kloosterman).
12318 (inferior-python-mode-map): Fix typo.
393a301e 12319 (python-shell-map): Remove.
464cdf56 12320
d37e5c87
DD
123212011-09-03 Deniz Dogan <deniz@dogan.se>
12322
12323 * net/rcirc.el (rcirc-print): Simplify code for
12324 rcirc-scroll-show-maximum-output. There is no need to walk
12325 through all windows to find the right one.
12326
f3ada0ee
CS
123272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12328
12329 * help.el (help-return-method): Doc fix.
12330
1f3c99ca
MR
123312011-09-03 Martin Rudalics <rudalics@gmx.at>
12332
12333 * window.el (window-deletable-p): Don't return a non-nil value
12334 when there's a buffer that was shown in the window before.
12335 (Bug#9419)
393a301e
SM
12336 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12337 Set window's previous buffers to nil.
1f3c99ca 12338
a3cf097f
EZ
123392011-09-03 Eli Zaretskii <eliz@gnu.org>
12340
12341 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12342 newline before and after the tag line, so it doesn't interfere
12343 with determining the paragraph direction of bidirectional text.
12344
3d03de90
LL
123452011-09-03 Leo Liu <sdl.web@gmail.com>
12346
12347 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12348
c3313451
CY
123492011-09-02 Chong Yidong <cyd@stupidchicken.com>
12350
393a301e 12351 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12352 (pop-to-buffer): Change interactive spec. Pass second argument
12353 directly to display-buffer.
12354 (display-buffer): Fix interactive spec. Use functionp to
12355 distinguish between a function and a list of functions.
12356
12357 * abbrev.el (edit-abbrevs):
12358 * arc-mode.el (archive-extract):
12359 * autoinsert.el (auto-insert):
12360 * bookmark.el (bookmark-bmenu-list):
12361 * files.el (find-file):
12362 * view.el (view-buffer):
12363 * progmodes/compile.el (compilation-goto-locus):
12364 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12365
89894cd8
CY
123662011-09-02 Chong Yidong <cyd@stupidchicken.com>
12367
12368 * window.el (display-buffer-alist): Doc fix.
12369 (display-buffer): Add docstring. Don't treat
12370 display-buffer-default specially.
12371 (display-buffer-reuse-selected-window)
12372 (display-buffer-same-window, display-buffer-maybe-same-window)
12373 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12374 (display-buffer-pop-up-window)
12375 (display-buffer-reuse-or-pop-window)
12376 (display-buffer-use-some-window): New functions.
12377 (display-buffer-default-action): Use them.
393a301e 12378 (display-buffer-default): Delete.
89894cd8
CY
12379 (pop-to-buffer-1): Fix choice of actions.
12380
ae0bc9fb
SM
123812011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * minibuffer.el (completion--insert-strings): Don't get confused by
12384 completion entries that end with an LF char.
12385
e9d90883
EZ
123862011-09-01 Eli Zaretskii <eliz@gnu.org>
12387
12388 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12389
437014c8
CY
123902011-09-01 Chong Yidong <cyd@stupidchicken.com>
12391
12392 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12393 (display-buffer-same-window, display-buffer-other-window):
12394 New functions.
437014c8
CY
12395 (pop-to-buffer-1): New function. Use the above.
12396 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12397 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12398
12399 * view.el (view-buffer-other-window, view-buffer-other-frame):
12400 Just use pop-to-buffer.
12401
a5e063d5
TV
124022011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12403
12404 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12405
793d32bb
WH
124062011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12407
12408 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12409
d65e4c15
RS
124102011-08-31 Richard Stallman <rms@gnu.org>
12411
12412 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12413 of the separation of rmail-view-buffer from rmail-buffer.
12414 If you say no to "replace original", the decrypt is in the
12415 view buffer. If you say yes, the decrypt goes into the
12416 rmail buffer also.
12417
f818cd2a
MR
124182011-08-31 Martin Rudalics <rudalics@gmx.at>
12419
12420 * window.el (display-buffer-window): Rewrite doc-string.
12421 (display-buffer-record-window): New function.
12422 (display-buffer-macro-specifiers)
12423 (display-buffer-even-window-sizes, display-buffer-set-height)
12424 (display-buffer-set-width, display-buffer-in-window)
12425 (display-buffer-reuse-window, display-buffer-split-specifiers)
12426 (display-buffer-side-specifiers, display-buffer-split-window-1)
12427 (display-buffer-split-window, display-buffer-split-atom-window)
12428 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12429 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12430 (display-buffer-other-window-means-other-frame)
12431 (display-buffer-normalize-special)
12432 (display-buffer-normalize-default)
12433 (display-buffer-normalize-argument)
12434 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12435 (display-buffer-normalize-specifiers, display-buffer-frame)
12436 (display-buffer-same-window, display-buffer-same-frame)
12437 (display-buffer-other-window)
12438 (display-buffer-same-frame-other-window)
12439 (display-buffer-other-frame, pop-to-buffer-same-window)
12440 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12441 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12442 (switch-to-buffer-same-frame)
12443 (switch-to-buffer-other-window-same-frame)
12444 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12445 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12446 (display-buffer-alist-set): Remove.
12447 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12448 (special-display-regexps, special-display-function):
12449 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12450 parameter.
12451 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12452 (special-display-frame-alist, special-display-popup-frame)
12453 (same-window-buffer-names, same-window-regexps, same-window-p)
12454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12455 (split-window-preferred-function, split-height-threshold)
12456 (split-width-threshold, window-splittable-p)
12457 (split-window-sensibly, window--try-to-split-window)
12458 (window--frame-usable-p, even-window-heights)
12459 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12460 (window--display-buffer-2, display-buffer-other-frame):
12461 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12462 (display-buffer-default, display-buffer-assq-regexp): New functions.
12463 (display-buffer-alist): Rewrite doc-string.
12464 (display-buffer-default-action)
12465 (display-buffer-overriding-action): New variables.
12466 (display-buffer, switch-to-buffer): Rewrite.
12467 (pop-to-buffer): Restore Emacs 23 behavior but use
12468 window-normalize-buffer-to-display.
12469 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12470 Restore Emacs 23 behavior but use
12471 window-normalize-buffer-to-switch-to.
12472 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12473 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12474 Rewrite using Emacs 23 options.
f818cd2a 12475
5bc3b51d
MA
124762011-08-31 Michael Albinus <michael.albinus@gmx.de>
12477
12478 * net/tramp.el (tramp-root-regexp): Remove.
12479 (tramp-completion-file-name-regexp-unified)
12480 (tramp-completion-file-name-regexp-separate)
12481 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12482 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12483 (tramp-drop-volume-letter): Simplify definition.
12484 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12485
b1a4f8e1
SM
124862011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12489 (bug#9356).
12490
5664fa7b
RT
124912011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12492
b1a4f8e1 12493 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12494
9a45d6c3
JL
124952011-08-29 Juri Linkov <juri@jurta.org>
12496
12497 * isearch.el (isearch-done): Don't display message "Mark saved"
12498 when arg `edit' is non-nil to prevent its flicker in the echo area.
12499
fb87e0fb
CY
125002011-08-28 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12503 obsolete packages for deletion.
12504
09ac1c2a
CS
125052011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12506
12507 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12508 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12509 view-mode from help-mode.
12510 (help-xref-override-view-map): Remove.
12511 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12512 view-mode is not used anymore.
12513
7a1ff57f
CY
125142011-08-28 Chong Yidong <cyd@stupidchicken.com>
12515
12516 * server.el (server-port): Doc fix.
12517
b9696605
CY
12518 * cus-theme.el (custom-theme-choose-mode): Inherit from
12519 special-mode (Bug#9124).
12520 (custom-theme-choose-mode-map): Add special-mode to parent.
12521
ef8cdf8c
AM
125222011-08-28 Alan Mackenzie <acm@muc.de>
12523
12524 * progmodes/cc-fonts.el
12525 (c-make-font-lock-BO-decl-search-function): New function.
12526 (c-basic-matchers-after - "Fontify the clauses after various
12527 keywords"): Extract the three keyword lists for the 3 erroneous
12528 constructs from the list of four, and use the new function above
12529 in place of an old one.
12530
27de4e20
DD
125312011-08-28 Deniz Dogan <deniz@dogan.se>
12532
12533 * net/rcirc.el (rcirc-insert-prev-input)
12534 (rcirc-insert-next-input): Remove unused argument.
12535
356a3681
SM
125362011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12539
3fc9b218
AM
125402011-08-27 Alan Mackenzie <acm@muc.de>
12541
12542 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12543 handle function pointer parameters properly.
12544
538a061c
MR
125452011-08-27 Martin Rudalics <rudalics@gmx.at>
12546
12547 * window.el (display-buffer-reuse-window): Fix case where
12548 selected window was reused with non-nil OTHER-WINDOW argument.
12549 (Bug#9381)
12550
35b1c40c
DD
125512011-08-27 Deniz Dogan <deniz@dogan.se>
12552
12553 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12554 oftc's NickServ messages.
12555
2f6a3e79
GM
125562011-08-27 Glenn Morris <rgm@gnu.org>
12557
12558 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12559
7254299e
CY
125602011-08-26 Chong Yidong <cyd@stupidchicken.com>
12561
12562 * emacs-lisp/package.el (package-install): Call package-initialize
12563 if called interactively.
12564
f8ccf167
LL
125652011-08-26 Leo Liu <sdl.web@gmail.com>
12566
12567 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12568
3e8cd5ce
JL
125692011-08-25 Juri Linkov <juri@jurta.org>
12570
12571 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12572 `search-whitespace-regexp' (bug#9364).
12573
93eb7113
JL
125742011-08-25 Juri Linkov <juri@jurta.org>
12575
12576 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12577 `regexp-search-ring' to their global values to protect from
12578 updating by `read-from-minibuffer' (bug#9185).
12579
f65d1611
JL
125802011-08-25 Juri Linkov <juri@jurta.org>
12581
12582 * textmodes/ispell.el (ispell-command-loop): Add newline
12583 at the end of the "Use option `i'..." line.
12584
f1cf7a31
JL
125852011-08-25 Juri Linkov <juri@jurta.org>
12586
12587 * battery.el (display-battery-mode): If `battery-status-function'
12588 or `battery-mode-line-format' is nil, display the message and set
12589 `display-battery-mode' to nil (bug#9363).
12590
0c95fcf7
EZ
125912011-08-25 Eli Zaretskii <eliz@gnu.org>
12592
12593 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12594 bidi-string-mark-left-to-right; they are unnecessary now.
12595
a2ebe600
DD
125962011-08-25 Deniz Dogan <deniz@dogan.se>
12597
12598 * net/quickurl.el: Documentation typo fixes.
12599
e4ed06f1
CY
126002011-08-25 Chong Yidong <cyd@stupidchicken.com>
12601
12602 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12603
e5f1c99e
GM
126042011-08-25 Glenn Morris <rgm@gnu.org>
12605
b2948976
GM
12606 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12607
e5f1c99e
GM
12608 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12609 (smtpmail-via-smtp): Handle nil response from smtp.
12610
f22f4808
JL
126112011-08-24 Juri Linkov <juri@jurta.org>
12612
12613 * proced.el (proced-marked): Inherit from `error' instead of
12614 `font-lock-warning-face'.
12615
12616 * ibuffer.el (ibuffer-marked-face): Change default face from
12617 `font-lock-warning-face' to `warning'.
12618 (ibuffer-deletion-face): Change default face from
12619 `font-lock-type-face' to `error'.
12620
12621 * battery.el (battery-update): Use the face `error' instead of
12622 `font-lock-warning-face' (bug#6117).
12623
6a93965e
JL
126242011-08-24 Juri Linkov <juri@jurta.org>
12625
12626 * faces.el (success): Change face color from "Green3" to
12627 "ForestGreen" on light background (bug#9353).
12628
1ed43b09
CY
126292011-08-24 Chong Yidong <cyd@stupidchicken.com>
12630
5664fa7b
RT
12631 * window.el (quit-window): Rename from quit-restore-window.
12632 Use same arglist as old quit-window.
1ed43b09
CY
12633 (frame-auto-delete): Doc fix.
12634
12635 * view.el (view-mode-exit): Use quit-window.
12636
11dcdbb2
JL
126372011-08-24 Juri Linkov <juri@jurta.org>
12638
12639 * isearch.el (isearch-ring-adjust1): Start visiting previous
12640 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12641 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12642 for empty search string (when the last search string is reused
12643 automatically) to adjust the isearch ring to the last element and
12644 prepare the correct index for further M-p commands (bug#9185).
12645
de62b4df
KH
126462011-08-24 Kenichi Handa <handa@m17n.org>
12647
12648 * international/ucs-normalize.el: If decomposition property of
12649 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12650 nil.
12651 (nfd, nfkd): Likewise.
12652
963b492b
SM
126532011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12656 from process filters aren't reliably transmitted to the surrounding
12657 accept-process-output.
12658 (mpc-proc-check): New function.
12659 (mpc-proc-sync): Use it (bug#8293)
12660
93b6b5e1
SM
126612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12664 Add compatibility functions (bug#9313).
12665
bca633fb
EZ
126662011-08-23 Eli Zaretskii <eliz@gnu.org>
12667
b177498a
EZ
12668 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12669
6df6ae42 12670 * international/uni-bidi.el: Regenerate.
bca633fb 12671
0902a04e
KH
126722011-08-23 Kenichi Handa <handa@m17n.org>
12673
12674 * international/charprop.el:
12675 * international/uni-bidi.el:
12676 * international/uni-category.el:
12677 * international/uni-combining.el:
12678 * international/uni-comment.el:
12679 * international/uni-decimal.el:
12680 * international/uni-decomposition.el:
12681 * international/uni-digit.el:
12682 * international/uni-lowercase.el:
12683 * international/uni-mirrored.el:
12684 * international/uni-name.el:
12685 * international/uni-numeric.el:
12686 * international/uni-old-name.el:
12687 * international/uni-titlecase.el:
12688 * international/uni-uppercase.el: Regenerate.
12689
3bbf23bc
MR
126902011-08-23 Martin Rudalics <rudalics@gmx.at>
12691
12692 * help.el (help-window-setup): Fix message displayed when other
12693 window is reused. (Bug#9341)
12694
b3fd59bd
SM
126952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12696
1802e444
SM
12697 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12698 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12699
b3fd59bd
SM
12700 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12701 Mark obsolete.
12702 * shell.el (shell-parse-pcomplete-arguments): New function.
12703 (shell-completion-vars): Use it instead (bug#9160).
12704
4eb61348
SM
127052011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12706
867cab74
SM
12707 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12708 strings and comments (bug#9333).
12709
4eb61348
SM
12710 * emacs-lisp/debug.el (debug-arglist): New function.
12711 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12712 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12713
262a1439
JL
127142011-08-22 Juri Linkov <juri@jurta.org>
12715
56ee679c
JL
12716 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12717 Revert regexp that highlights output switches to its old
12718 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12719
262a1439
JL
12720 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12721 to check for empty output (bug#9226).
12722
f13f86fb
CY
127232011-08-22 Chong Yidong <cyd@stupidchicken.com>
12724
12725 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12726 symbol-constituent as the default, as that stops font-lock from
12727 working properly (Bug#8843).
12728
c65c9622
LMI
127292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12730
12731 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12732 `coding-system-for-*' around the process open call to avoid
12733 auth-source side effects.
e7f2c178 12734 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12735 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12736 probe hangs.
c65c9622 12737
23a8a5ab
CY
127382011-08-21 Chong Yidong <cyd@stupidchicken.com>
12739
ff98b2dd
CY
12740 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12741
23a8a5ab
CY
12742 * emacs-lisp/find-func.el (find-function-noselect): New arg
12743 lisp-only.
12744
12745 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12746 signal an error for built-in functions (Bug#6664).
12747
f5e3c598
LMI
127482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12749
12750 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12751 (smtpmail-try-auth-methods): Use it.
12752
a3f2468a
CY
127532011-08-21 Chong Yidong <cyd@stupidchicken.com>
12754
2c34e8da
CY
12755 * font-lock.el (font-lock-fontify-region)
12756 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12757 (font-lock-default-unfontify-buffer)
12758 (font-lock-default-fontify-region)
12759 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12760
b3fd59bd
SM
12761 * progmodes/compile.el (compilation-error-properties):
12762 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12763 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12764 `ant' regexp.
ee31aabc 12765
a3f2468a
CY
12766 * net/browse-url.el (browse-url-firefox): Don't call
12767 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12768
8e999f70
GM
127692011-08-20 Glenn Morris <rgm@gnu.org>
12770
c21a496a
GM
12771 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12772
59ee0542
GM
12773 * tutorial.el (tutorial--default-keys): Update some default bindings.
12774
8e999f70
GM
12775 * files.el (hack-local-variables): Fully ignore case for "mode:".
12776
e3715033
AM
127772011-08-20 Alan Mackenzie <acm@muc.de>
12778
12779 Resolve invalid use of a regexp in regexp-opt.
12780
4d61f28d
JB
12781 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12782 detection for a java annotation.
e3715033 12783
4d61f28d 12784 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12785 detection for a java annotation.
12786
4d61f28d
JB
12787 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12788 handling for java.
e3715033
AM
12789 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12790
04ed2e9c
CY
127912011-08-20 Chong Yidong <cyd@stupidchicken.com>
12792
12793 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12794 (Bug#9274).
12795
826cee64
AM
127962011-08-20 Alan Mackenzie <acm@muc.de>
12797
58179cce 12798 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12799 such a construct. Mainly for when jit-lock etc. starts a chunk
12800 here.
12801
58179cce 12802 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12803 variable.
58179cce 12804 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12805 c-make-font-lock-search-function.
12806 (c-make-font-lock-search-function): Use the above function.
12807 (c-make-font-lock-context-search-function): New function.
12808 (c-cpp-matchers): Enhance the preprocessor expression case with
12809 the above function
12810 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12811 which takes an expression.
12812
12813 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12814
13009bd8
MR
128152011-08-20 Martin Rudalics <rudalics@gmx.at>
12816
12817 * window.el (display-buffer-reuse-window)
12818 (display-buffer-pop-up-window): Don't reuse or split a side
12819 window.
12820
9234ff7f
GM
128212011-08-19 Glenn Morris <rgm@gnu.org>
12822
12823 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12824 Downcase "Mode:". (Bug#9331)
9234ff7f 12825
f635daa1
CY
128262011-08-18 Chong Yidong <cyd@stupidchicken.com>
12827
12828 * international/characters.el: Add L and R categories.
12829
12830 * subr.el (bidi-string-mark-left-to-right): Rename from
12831 string-mark-left-to-right. Use category search.
12832
12833 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12834
bc987f8b
JL
128352011-08-18 Juri Linkov <juri@jurta.org>
12836
12837 * faces.el (error, warning, success): New faces with definitions
12838 copied from old default values of `font-lock-warning-face',
12839 `compilation-warning', `compilation-info' (bug#6117).
12840
12841 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12842
12843 * progmodes/compile.el (compilation-error): Inherit from `error'.
12844 (compilation-warning): Inherit from `warning'.
12845 (compilation-info): Inherit from `success'.
12846
12847 * dired.el (dired-marked): Inherit from `warning'.
12848 (dired-flagged): Inherit from `error'.
12849
57173b96
LMI
128502011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12851
3e79eb87
LMI
12852 * mail/smtpmail.el (auth-source): Require to avoid problems with
12853 binding variables (bug#9298). Also clean up some unused
12854 autoloads.
12855
b3fd59bd
SM
12856 * net/network-stream.el (network-stream-open-starttls):
12857 Support using starttls.el without using gnutls-cli.
57173b96 12858
02b404de
JL
128592011-08-17 Juri Linkov <juri@jurta.org>
12860
12861 * progmodes/grep.el (rgrep): Handle the case when
12862 `grep-find-command' is a cons cell (bug#9278).
12863
8c9177f2
MR
128642011-08-17 Martin Rudalics <rudalics@gmx.at>
12865
12866 * window.el (display-buffer-pop-up-frame): Run frame creation
12867 function with BUFFER current (as special-display-popup-frame
12868 does). Reported by Drew Adams.
12869
3644a0ab
DU
128702011-08-17 Daiki Ueno <ueno@unixuser.org>
12871
12872 * epa-mail.el: Simplify GnuPG group expansion using
12873 epg-expand-group.
12874 (epa-mail-group-alist, epa-mail-group-modtime)
12875 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12876 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12877 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12878 Remove.
12879
5e617bc2 128802011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12881
12882 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12883
9c4aeabf
AM
128842011-08-16 Alan Mackenzie <acm@muc.de>
12885
12886 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12887 Correct, to avoid the inside of macros.
12888
3a99bf64
RS
128892011-08-16 Richard Stallman <rms@gnu.org>
12890
04963aa8
RS
12891 * epa-mail.el: Handle GnuPG group definitions.
12892 (epa-mail-group-alist, epa-mail-group-modtime)
12893 (epa-mail-gnupg-conf-file): New variables.
12894 (epa-mail-parse-groups, epa-mail-sync-groups)
12895 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12896 (epa-mail-expand-recipients): New functions.
12897 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12898
177549d0
RS
12899 * mail/rmail.el (rmail-epa-decrypt): New command.
12900
fe38beef
RS
12901 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12902 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12903 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12904 (epa-decrypt-armor-in-region): Make error message clearer.
12905
934eacb9
SM
129062011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12909 and "a2b" to "ab" for `prefix'.
12910
d024fb4e
CY
129112011-08-14 Chong Yidong <cyd@stupidchicken.com>
12912
12913 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12914 filter groups.
de148fee
CY
12915 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12916 Fourquet (Bug#8804).
d024fb4e 12917
62f1ca49
JB
129182011-08-12 Juanma Barranquero <lekktu@gmail.com>
12919
12920 * startup.el (argi): Declare as global variable (bug#9275).
12921
9ccaaa4b
CY
129222011-08-12 Chong Yidong <cyd@stupidchicken.com>
12923
12924 * subr.el (string-mark-left-to-right): Search the entire string
12925 for RTL script, not just the terminating character. Doc fix.
12926
a3dae87a
SM
129272011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12928
6cd18349
SM
12929 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12930 New function.
12931 (js--regexp-literal, js-syntax-propertize-function): Remove.
12932 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12933 (js-mode-map): Don't rebind electric keys.
12934 (js-insert-and-indent): Remove.
12935 (js-mode): Setup electric-layout and electric-indent instead.
12936
a3dae87a
SM
12937 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12938
9d5cb631
DU
129392011-08-12 Daiki Ueno <ueno@unixuser.org>
12940
12941 * epa.el (epa-progress-callback-function): Fix the logic of
12942 displaying progress.
12943 * epa-file.el (epa-file-insert-file-contents): Make progress
12944 display more user-friendly.
12945 (epa-file-write-region): Ditto.
12946
3e26a4a2
CY
129472011-08-10 Chong Yidong <cyd@stupidchicken.com>
12948
12949 * subr.el (string-mark-left-to-right): New function.
12950
12951 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12952 Use string-mark-left-to-right.
12953 (list-buffers-noselect): Caller changed.
12954
a3dae87a
SM
12955 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12956 Use string-mark-left-to-right.
3e26a4a2
CY
12957 (tabulated-list-print): Recenter after moving point.
12958
ac8cf6e6
JL
129592011-08-10 Juri Linkov <juri@jurta.org>
12960
12961 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12962 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12963 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12964
8d96c9a4
CY
129652011-08-09 Chong Yidong <cyd@stupidchicken.com>
12966
12967 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12968 (Bug#7554).
12969
7be1c708 129702011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12971
12972 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12973 character. (Bug#6594)
12974
37e11a63
CY
129752011-08-08 Chong Yidong <cyd@stupidchicken.com>
12976
839dde57
CY
12977 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12978 (image-dired--with-db-file): New macro.
12979 (image-dired-write-tags, image-dired-remove-tag)
12980 (image-dired-create-gallery-lists, image-dired-write-comments)
12981 (image-dired-get-comment, image-dired-mark-tagged-files)
12982 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12983 (image-dired-gallery-generate): Use insert-file-contents.
12984
37e11a63
CY
12985 * time.el (display-time-world-list, display-time-world-display):
12986 * time-stamp.el (time-stamp-string):
12987 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12988 set-time-zone-rule (Bug#7337).
12989
0b4946c4
DU
129902011-08-08 Daiki Ueno <ueno@unixuser.org>
12991
12992 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12993 (epg-error-to-string, epg-errors-to-string): New function.
12994 (epg-wait-for-completion): Reverse errors list.
12995 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12996 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12997 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12998 (epg-sign-keys, epg-generate-key-from-file)
12999 (epg-generate-key-from-string): Format errors by using
13000 epg-errors-to-string (bug#9255).
13001 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13002
75bfc667
JL
130032011-08-07 Juri Linkov <juri@jurta.org>
13004
13005 * faces.el (list-faces-display): Remove extra angle bracket
13006 from `help-mode-map'.
13007
13008 * info.el (Info-history-toc-nodes): Doc fix.
13009
13010 * longlines.el (longlines-mode): Doc fix.
13011
673e08bb
SM
130122011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13013
4640dd88
SM
13014 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13015 of statements and in a few more cases (bug#9183).
13016
673e08bb
SM
13017 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13018 New functions.
13019 (cl-transform-lambda): Use them (bug#9239).
13020
89b3f019
MR
130212011-08-05 Martin Rudalics <rudalics@gmx.at>
13022
13023 * window.el (display-buffer-same-window)
13024 (display-buffer-same-frame, display-buffer-other-window)
13025 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13026 (pop-to-buffer-other-window)
13027 (pop-to-buffer-same-frame-other-window)
13028 (pop-to-buffer-other-frame): Make them defuns.
13029 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13030
640c8776
SM
130312011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13032
13033 * subr.el (make-composed-keymap): Move from C. Change calling
13034 convention, and improve docstring to bring attention to a subtle point.
13035 * minibuffer.el (completing-read-default): Adjust accordingly.
13036
63648a95
MA
130372011-08-03 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13040 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13041
13042 * net/trampver.el: Update release number.
13043
b796c9b7
SM
130442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13047 "in" (bug#9190).
13048
2239d7d5
LMI
130492011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13050
e07dd7c3
LMI
13051 * mail/sendmail.el (sendmail-query-once): Restore the current
13052 buffer after querying (bug#9074).
13053
0e6a2bd7
LMI
13054 * dired.el (dired-flagged): Use different faces for marked and
13055 flagged files (bug#6117).
13056
ce887515
LMI
13057 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13058 (bug#4433).
13059
92f2affc
LMI
13060 * ido.el (ido-mode): Switch off the message if called
13061 non-interactively.
13062
57d5aff0
LMI
13063 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13064 before 587, since it appears that that's more likely to work for
13065 more people.
13066
98cd6c18 13067 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13068 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13069 exist.
13070
b96dec83
LMI
13071 * info.el: Remove the `Info-beginning-of-buffer' function
13072 (bug#8325).
13073
b796c9b7
SM
13074 * net/network-stream.el (network-stream-open-starttls):
13075 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13076
d90e2ea0
MR
130772011-08-01 Martin Rudalics <rudalics@gmx.at>
13078
13079 * window.el (display-buffer-in-window): Don't set dedicated status
13080 of window here (Bug#9215).
13081 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13082 (display-buffer-pop-up-side-window)
b796c9b7 13083 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13084
cca09170
SM
130852011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13088 before binding generated-autoload-file.
13089
027b979c
DD
130902011-08-01 Deniz Dogan <deniz@dogan.se>
13091
13092 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13093
3c7ee4f3
MA
130942011-07-30 Michael Albinus <michael.albinus@gmx.de>
13095
13096 Sync with Tramp 2.2.2.
13097
13098 * net/trampver.el: Update release number.
13099
2cc8e51a
JL
131002011-07-30 Juri Linkov <juri@jurta.org>
13101
13102 * dired-aux.el (dired-touch-initial): Remove function.
13103 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13104 current time, and `default' to the last modification time of the
13105 current marked file (bug#6887).
13106
a514d856
JM
131072011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13108
13109 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13110 numeric argument to read-number (bug#9163).
a514d856 13111
8a7eddd7
MA
131122011-07-27 Michael Albinus <michael.albinus@gmx.de>
13113
13114 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13115 connection process, it could be nil.
13116
1ddd96f5
LL
131172011-07-27 Leo Liu <sdl.web@gmail.com>
13118
13119 Simplify url handling in rcirc-mode.
13120
13121 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13122 (rcirc-browse-url-at-mouse): Remove.
13123 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13124
b248a85d
AM
131252011-07-26 Alan Mackenzie <acm@muc.de>
13126
13127 Fontify bitfield declarations properly.
13128
13129 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13130 (c-symbol-chars): Now exported as a lang variable.
13131 (c-not-primitive-type-keywords): New lang variable.
13132
13133 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13134 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13135 parsed as a bitfield declaration.
b248a85d 13136
b796c9b7
SM
13137 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13138 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13139 (c-punctuation-in): New function.
13140 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13141 declarations properly.
13142
68575ab0
UJ
131432011-07-26 Ulf Jasper <ulf.jasper@web.de>
13144
13145 * calendar/icalendar.el (icalendar--all-events): Take care of
13146 multiple vcalendars in a single file.
b796c9b7 13147 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13148
0f0a88b9
DD
131492011-07-25 Deniz Dogan <deniz@dogan.se>
13150
13151 * image.el (insert-image): Clarifying docstring.
13152
0b3f36df
MA
131532011-07-24 Michael Albinus <michael.albinus@gmx.de>
13154
13155 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13156 `tramp-send-command-and-check' if there is no error.
13157 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13158
a9901f61
AM
131592011-07-22 Alan Mackenzie <acm@muc.de>
13160
13161 Prevent cc-langs.elc being loaded at run time.
13162
13163 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13164 cc-langs.
13165
4d61f28d 13166 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13167 "(require 'cc-langs)". Quote a form so it will evaluate at
13168 (cc-mode's) compilation time.
13169
11d074b2
MA
131702011-07-22 Michael Albinus <michael.albinus@gmx.de>
13171
13172 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13173 loading. (Bug#9114)
13174
938b94c8
MR
131752011-07-21 Martin Rudalics <rudalics@gmx.at>
13176
13177 * window.el (display-buffer-pop-up-window)
13178 (display-buffer-pop-up-side-window)
13179 (display-buffer-in-side-window): Call display-buffer-set-height
13180 and display-buffer-set-width after setting the new window's
b796c9b7 13181 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13182
bfa4f190
SS
131832011-07-20 Sam Steingold <sds@gnu.org>
13184
13185 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13186 (etags-tags-included-tables): Call `convert-standard-filename' on
13187 the file names contained in TAGS so that windows Emacs can handle
13188 TAGS files created by cygwin ctags.
13189
8ca42262
LMI
131902011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13191
13192 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13193 which apparently didn't work.
13194
5db2afd2 131952011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13196
5db2afd2
RW
13197 * proced.el (proced-send-signal): For *Marked Processes* buffer
13198 put point at beginning of buffer.
13199
92e15d10
SB
132002011-07-19 Stephen Berman <stephen.berman@gmx.net>
13201
13202 * proced.el (proced-format): Make header lines align with the text
13203 (bug#1779).
13204
1bfd59e5
LMI
132052011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13206
13207 * view.el (view-buffer): Allow running in `special' modes if we're
13208 visiting a file (bug#8615).
13209
f5aae37c
MR
132102011-07-19 Martin Rudalics <rudalics@gmx.at>
13211
13212 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13213 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13214 New functions.
f5aae37c
MR
13215 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13216 more accurately.
13217
bf2c1571
AM
132182011-07-18 Alan Mackenzie <acm@muc.de>
13219
13220 Fontify declarators properly when, e.g., a jit-lock chunk begins
13221 inside a declaration.
13222
13223 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13224
b796c9b7
SM
13225 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13226 New function.
bf2c1571
AM
13227 (c-complex-decl-matchers): Insert reference to
13228 c-font-lock-enclosing-decls.
13229
13230 * progmodes/cc-engine.el (c-backward-single-comment):
13231 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13232 to nil around calls to (forward-comment -1).
13233
4e190b80
LMI
132342011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13235
12dc863d
LMI
13236 * image.el (put-image): Doc typo fix.
13237
a762e966
LMI
13238 * progmodes/etags.el (tags-search): Doc typo fix.
13239
4e190b80
LMI
13240 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13241 password if we get errors 550 to 554.
13242
f019fb21
LMI
132432011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13244
b796c9b7 13245 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13246
81746738
LMI
13247 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13248 indentation character (bug#6380).
13249
3ee3a1b5
LMI
13250 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13251
c82f64de
LMI
13252 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13253 to clarify what the problem is (bug#4291).
13254
f019fb21
LMI
13255 * simple.el (current-kill): Clarify what
13256 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13257 (auto-fill-mode): Document `auto-fill-function' in relation to
13258 `auto-fill-mode' (bug#2470).
f019fb21 13259
0794775d
LM
132602011-07-16 Lawrence Mitchell <wence@gmx.li>
13261
13262 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13263 method if slot is read-only (bug#9035).
13264
be39b8cc
MR
132652011-07-16 Martin Rudalics <rudalics@gmx.at>
13266
b796c9b7 13267 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13268 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13269 selected before, see discussion of (Bug#8615), (Bug#6954).
13270 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13271
6ccf7859
GM
132722011-07-15 Glenn Morris <rgm@gnu.org>
13273
13274 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13275 Respect help-form.
6ccf7859 13276
87e86684
LM
132772011-07-09 Lawrence Mitchell <wence@gmx.li>
13278
13279 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13280 (gnutls-negotiate): Use it.
13281
d6066239
LMI
132822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13283
b796c9b7
SM
13284 * net/gnutls.el (gnutls-negotiate):
13285 Upcase `gnutls-algorithm-priority'.
d6066239 13286
bd23ebc0
GM
132872011-07-15 Glenn Morris <rgm@gnu.org>
13288
c65bca65
GM
13289 * jka-compr.el (jka-compr-verbose): Move from here...
13290 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13291 Add missing :version tag.
13292 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13293
478615cc
LMI
132942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13295
7b41decb
LMI
13296 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13297 (gnutls-negotiate): Use it.
13298
dbc44fcd
LMI
13299 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13300
06789f97
LMI
13301 * info.el (Info-beginning-of-buffer): New command.
13302 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13303 announcing `b' as the key (bug#8325).
ab896c37 13304 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13305
c39da690
LMI
13306 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13307
3aa5f34b
LMI
13308 * international/mule-cmds.el
13309 (describe-specified-language-support): Make the error message
13310 clearer (bug#8905).
13311
4bf0979f
LMI
13312 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13313
478615cc
LMI
13314 * isearch.el (isearch-barrier): Add a doc string, since it's
13315 mentioned in a function doc string (bug#8678).
13316
75c68aa1
MR
133172011-07-15 Martin Rudalics <rudalics@gmx.at>
13318
13319 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13320 buffer argument (Bug#9083) and self-identifying label argument.
13321
a7c33da2
GM
133222011-07-15 Glenn Morris <rgm@gnu.org>
13323
13324 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13325
2f5c6024
LMI
133262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13327
13328 * man.el (Man-fontify-manpage): Fix message when formatting the
13329 man page (bug#7929).
13330
0bb23927 133312011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13332
13333 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13334 argument LRM; if non-nil, append an invisible LRM character to the
13335 buffer name.
13336 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13337 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13338 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13339 paragraph direction.
cce4b0a7 13340
621ef9ab
LMI
133412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13342
d1583c48
LMI
13343 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13344 the man page name (bug#7929).
13345
6a57fb5f
LMI
13346 * image.el (put-image): Mention the `put-image' overlay property
13347 (bug#7834).
13348
d7956b14
LMI
13349 * scroll-bar.el (set-scroll-bar-mode): Mention that
13350 `scroll-bar-mode' lists the values (bug#7772).
13351
5b2d4a66
LMI
13352 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13353 command (bug#7729).
13354
7509a874
LMI
13355 * rect.el (apply-on-rectangle): Return the point after the last
13356 operation.
13357 (string-rectangle): Go to the point after the last operation
13358 (bug#7522).
13359
4fe74b19
LMI
13360 * printing.el (pr-toggle-region): Clarify the documentation
13361 slightly (bug#7493).
13362
b796c9b7
SM
13363 * time.el (display-time-update):
13364 Allow `display-time-mail-function' to return nil (bug#7158).
13365 Fix suggested by Detlev Zundel.
ab283561 13366
fc233c9d
LMI
13367 * vc/diff.el (diff): Clarify the order the file names are read
13368 (bug#7111).
13369
43f5740b
LMI
13370 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13371 the doc string (bug#7015).
13372
f2182a76
LMI
13373 * font-lock.el (font-lock-maximum-decoration): Mention what
13374 numeric levels mean (bug#6935).
13375
621ef9ab
LMI
13376 * startup.el (initial-buffer-choice): Don't mention the `none'
13377 selection, which is against policy.
13378
adc47434
MR
133792011-07-14 Martin Rudalics <rudalics@gmx.at>
13380
b796c9b7
SM
13381 * window.el (display-buffer-normalize-special):
13382 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13383
7e5bfb8f
EZ
133842011-07-14 Eli Zaretskii <eliz@gnu.org>
13385
13386 * subr.el (version<, version<=, version=): Mention "-CVS" and
13387 "-12345" alpha version numbers.
13388
27fa387a
CY
133892011-07-14 Chong Yidong <cyd@stupidchicken.com>
13390
13391 * bindings.el: Add advertised binding for set-mark-command
13392 (Bug#5772).
13393
8bdfa064
CY
133942011-07-14 Chong Yidong <cyd@stupidchicken.com>
13395
13396 * bindings.el (mode-line-other-buffer):
13397 * bookmark.el (bookmark-bmenu-2-window):
13398 * bs.el (bs-cycle-next, bs-cycle-previous):
13399 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13400 switch-to-buffer.
13401
13402 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13403 Delete.
8bdfa064 13404
5eba16a3
JB
134052011-07-14 Juanma Barranquero <lekktu@gmail.com>
13406
13407 * follow.el (follow-debug-message, follow-redisplay):
13408 * jka-cmpr-hook.el (with-auto-compression-mode):
13409 Fix typos in docstrings.
13410
15853710
LMI
134112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
a28e4607
LMI
13413 * subr.el (with-silent-modifications): Clarify somewhat what the
13414 macro inhibits (bug#6525).
13415
15853710
LMI
13416 * simple.el (eval-expression): Note what it does if called
13417 interactively (bug#6495).
13418
bee0fcef
CY
134192011-07-13 Chong Yidong <cyd@stupidchicken.com>
13420
b796c9b7
SM
13421 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13422 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13423
13424 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13425 Remove switch-to-buffer.
13426
58274504
LMI
134272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13428
bd2fcc8d
LMI
13429 * files.el (make-directory): Clarify that an error will be raised
13430 if there's an error (bug#6397).
13431
0f04b32c
LMI
13432 * startup.el (initial-buffer-choice): Add `none' as a choice
13433 (bug#6234).
13434
465c5fc8
LMI
13435 * subr.el (add-hook): Clarify section about buffer-local hooks
13436 (bug#6218).
13437
58274504
LMI
13438 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13439
bead9a43
JB
134402011-07-13 Juanma Barranquero <lekktu@gmail.com>
13441
13442 * tabify.el (untabify): Preserve the current column so that point
13443 doesn't move (bug#6032).
13444
3af98a7b
LMI
134452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13446
b796c9b7
SM
13447 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13448 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13449
6240145a
GM
134502011-07-13 Glenn Morris <rgm@gnu.org>
13451
13452 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13453 (dired-insert-directory): Give a message the first time
13454 if ls is found not to support --dired.
13455
1d8c2ccc
LMI
134562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13457
13458 * simple.el (toggle-truncate-lines): Clarify what is toggled
13459 (bug#5580). Text by Drew Adams.
13460
5fc4038e
CY
134612011-07-13 Chong Yidong <cyd@stupidchicken.com>
13462
13463 * simple.el (blink-matching-open): Make the error message from the
13464 last change less verbose.
13465
bf6012e5
DN
134662011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13467
13468 * font-lock.el (font-lock-comment-face): Use the high contrast
13469 "yellow" color for font-lock-comment-face on low color terminals
13470 using a dark background color (bug#4221).
13471
343c3b5a
LMI
134722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13473
7e9505c5
LMI
13474 * dired.el (dired-insert-set-properties): Make the doc string
13475 reflect what it does now (bug#5325).
13476
c26fdcf5
LMI
13477 * simple.el (blink-matching-open): Say that we were unable to find
13478 the match within the limit, if we're limited (bug#5122).
13479
bb388cc5
LMI
13480 * international/mule-cmds.el (prefer-coding-system): Add an
13481 example (bug#4869).
13482
343c3b5a
LMI
13483 * progmodes/etags.el (tags-search): Document `file-list-form'
13484 (bug#4731).
13485
2a517d45
LM
134862011-07-13 Lawrence Mitchell <wence@gmx.li>
13487
13488 * net/browse-url.el (browse-url-default-browser)
13489 (browse-url-browser-function): Make the default browser choice a
13490 bit more logical (bug#4300). Also clean up the doc string.
13491
b6c78ef2
JB
134922011-07-13 Juanma Barranquero <lekktu@gmail.com>
13493
13494 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13495 binary endings (bug#4440).
13496
1c4dd947
LMI
134972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13498
a2014063
LMI
13499 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13500 which can be pretty annoying (bug#8971).
13501
9c9c2d88
LMI
13502 * jka-compr.el (jka-compr-verbose): New variable, and use
13503 throughout (bug#8971).
13504
1c4dd947
LMI
13505 * info.el (Info-find-file): Fall back on the installation
13506 directory if we can't find the info node anywhere else.
13507
a1c9f41b
SO
135082011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13509
13510 * vc/vc.el (vc-revert-file):
13511 Don't set file time-stamp in the past. (Bug#5181)
13512
536f3d36
LMI
135132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13514
7152b011
LMI
13515 * files.el (after-find-file): Give a better error message when
13516 trying to find a symlink that points to a file that doesn't exist
13517 (bug#4398).
13518
536f3d36
LMI
13519 * progmodes/cc-vars.el: Remove (probably) misleading comment
13520 (bug#4396).
13521
460c0fba
JB
135222011-07-12 Johan Bockgård <bojohan@gnu.org>
13523
13524 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13525
7a6bda45
CY
135262011-07-12 Chong Yidong <cyd@stupidchicken.com>
13527
13528 * mouse-sel.el: Hack restoring functionality, while keeping
13529 compatibility with 2010-07-03 changes to mouse selection.
13530 (mouse-sel-primary-overlay): New var.
13531 (mouse-sel-selection-alist): Use it.
13532 (mouse-sel-mode): Doc fix; remove points that are default features
13533 of mouse.el.
13534
c79598ef
JB
135352011-07-12 Johan Bockgård <bojohan@gnu.org>
13536
13537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13538 Fix previous fix (bug#2490).
13539
ff8be6ef
RW
135402011-07-12 Roland Winkler <winkler@gnu.org>
13541
b796c9b7
SM
13542 * textmodes/bibtex.el (bibtex-initialize):
13543 Use pop-to-buffer-same-window.
ff8be6ef
RW
13544 (bibtex-search-entries): Fix interactive call.
13545
296ba3ee
LMI
135462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13547
f5242a02 13548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13549 Fontise bytecomp Error lines more correctly (bug#2490).
13550 Fix suggested by Johan Bockgård.
f5242a02 13551
296ba3ee
LMI
13552 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13553
13554 * dired-x.el (dired-guess-default): Use `delete-dups'.
13555
f69fd0d2
CY
135562011-07-12 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * dired.el (dired-mark-prompt):
13559 * dired-aux.el (dired-read-shell-command): Doc fix.
13560
eab5dc07
LMI
135612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13562
b796c9b7
SM
13563 * mail/sendmail.el (sendmail-query-once):
13564 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13565 emacs -Q.
13566
13567 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13568
eab5dc07
LMI
13569 * cus-edit.el (custom-file): Take an optional no-error variable.
13570 (customize-save-variable): Set the variable, and give a warning if
13571 running under "emacs -q".
13572
a1e65d42
JB
135732011-07-11 Juanma Barranquero <lekktu@gmail.com>
13574
13575 * loadhist.el (unload-feature-special-hooks):
13576 Add `auto-coding-functions', `fill-nobreak-predicate' and
13577 `find-directory-functions' (bug#5327).
13578
1d52da10
LMI
135792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13580
be958f1d
LMI
13581 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13582
5bedb26c
LMI
13583 * cus-edit.el (custom-guess-name-alist): -alist variables should
13584 use the `alist' type (bug#3120). Suggested by Drew Adams.
13585
1d52da10
LMI
13586 * printing.el: Add documentation to all the `pr-toggle-' commands.
13587
cd394be1 135882011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13589
13590 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13591 backends where it makes sense (bug#2623).
13592
dcc88d8a
LMI
135932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
c3de9feb
LMI
13595 * dired-x.el (dired-guess-default): Remove duplicate shell command
13596 entries (bug#2028).
8a93078b 13597 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13598 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13599
dcc88d8a
LMI
13600 * subr.el (remove-duplicates): New conveniency function.
13601
505e3645
LMI
136022011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13603
13604 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13605 (bug#1526).
13606
136072011-07-10 Martin Rudalics <rudalics@gmx.at>
13608
13609 * window.el (display-buffer-normalize-default): Don't invert
13610 meaning of even-window-heights. Reported by Eli Zaretskii
13611 <eliz@gnu.org>.
13612
455e4fa1
BR
136132011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13614
13615 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13616
8e0bc3e9
CY
136172011-07-10 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * window.el (display-buffer): Fix arguments to
13620 display-buffer-reuse-window in last change.
13621
fa7c3228
CY
13622 * faces.el (link): Use a less saturated blue on light backgrounds.
13623
13624 * startup.el (fancy-startup-text, fancy-about-text)
13625 (fancy-startup-tail): Use font-lock faces, for background safety.
13626
c0a7f300
BN
136272011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13628
b796c9b7
SM
13629 * emulation/viper-cmd.el (viper-change-state-to-vi):
13630 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13631
4dc2a129
MR
136322011-07-09 Martin Rudalics <rudalics@gmx.at>
13633
13634 * window.el (display-buffer-default-specifiers): Remove.
13635 (display-buffer-macro-specifiers): Remove default specifiers.
13636 (display-buffer-alist): Default to nil.
b796c9b7 13637 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13638 (display-buffer-pop-up-window): Allow splitting internal
13639 windows. Check whether a live window was created.
13640 (display-buffer-other-window-means-other-frame)
13641 (display-buffer-normalize-arguments): Rename to
13642 display-buffer-normalize-argument and rewrite. Set the
13643 other-window specifier.
13644 (display-buffer-normalize-special): New function.
13645 (display-buffer-normalize-options): Rename to
13646 display-buffer-normalize-default and rewrite.
13647 (display-buffer-normalize-options-inhibit): Remove.
13648 (display-buffer-normalize-specifiers): Rewrite.
13649 (display-buffer): Process other-window specifier and call
13650 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13651 more faithfully.
b796c9b7 13652 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13653 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13654 (display-buffer-in-window, display-buffer-alist-set):
13655 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13656 <tassilo@member.fsf.org>.
13657
2d43b8c9
LL
136582011-07-09 Leo Liu <sdl.web@gmail.com>
13659
13660 * register.el (insert-register): Restore accidental change on
13661 2011-06-26. (Bug#9028)
13662
7f9b7c53
GM
136632011-07-09 Glenn Morris <rgm@gnu.org>
13664
13665 * subr.el (remq): Handle the empty list. (Bug#9024)
13666
f042cfd8
AS
136672011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13668
13669 * mail/sendmail.el (send-mail-function): No longer delay custom
13670 initialization.
13671 * custom.el (custom-initialize-delay): Doc fix.
13672
856b2f11
SM
136732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13676
afae1d68
MA
136772011-07-08 Michael Albinus <michael.albinus@gmx.de>
13678
13679 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13680 human-friendly prompt.
13681
0757af94
SM
136822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13685 provided by a particular plugin.
13686
d760b731
LMI
136872011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13688
13689 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13690 save customizations (with "emacs -Q"), just set the variable
13691 instead of erroring out.
13692
13693 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13694
cd79ce90
JL
136952011-07-08 Juri Linkov <juri@jurta.org>
13696
13697 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13698 (archive-zip-update-case): Use 7z if found by `executable-find'.
13699 The order of searching the available programs is the same as in
13700 `archive-zip-extract' (bug#8968).
13701
14cc04aa
CY
137022011-07-07 Chong Yidong <cyd@stupidchicken.com>
13703
13704 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13705 (menu-bar-options-menu): Tweak descriptions.
13706
0a1848ec
LMI
137072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13708
13709 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13710 menu items into verb phrases (bug#1421). Also refill to fit under
13711 80 columns.
13712
f5bd0689
CY
137132011-07-07 Chong Yidong <cyd@stupidchicken.com>
13714
538e85c6
CY
13715 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13716 (Info-read-node-name): Doc fix (Bug#1084).
13717
f5bd0689
CY
13718 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13719 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13720 (end-of-sexp, beginning-of-sexp)
13721 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13722 (forward-symbol, forward-same-syntax, word-at-point)
13723 (sentence-at-point): Doc fix (Bug#1144).
13724
56ec5115
LMI
137252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13726
f3f8e37f
LMI
13727 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13728 should cover it (bug#1281).
13729
0757af94 13730 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13731
e9fce1ac 13732 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13733 negotiation fails, then possibly try again with a non-encrypted
13734 connection (bug#9017).
13735
56ec5115
LMI
13736 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13737 be used.
13738
c2f9aec8
RS
137392011-07-07 Richard Stallman <rms@gnu.org>
13740
13741 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13742 property, and handle its changed format.
13743 Look for the correct line number.
13744 Use file's line contents (but not past first =) to find
13745 correct line in message.
13746
ef7b981d 137472011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13748
13749 * international/characters.el (build-unicode-category-table):
13750 Delete it.
0757af94 13751 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13752
0757af94 13753 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13754 to src/chartab.c.
13755 (get-char-code-property): Call unicode-property-table-internal to
13756 load a file. Call get-unicode-property-internal where necessary.
13757 (put-char-code-property): Call unicode-property-table-internal to
13758 load a file. Call put-unicode-property-internal where necessary.
13759 put-unicode-property-internal where necessary.
0757af94
SM
13760 (char-code-property-description):
13761 Call unicode-property-table-internal to load a file.
c805dec0
KH
13762
13763 * international/charprop.el:
13764 * international/uni-bidi.el:
13765 * international/uni-category.el:
13766 * international/uni-combining.el:
13767 * international/uni-comment.el:
13768 * international/uni-decimal.el:
13769 * international/uni-decomposition.el:
13770 * international/uni-digit.el:
13771 * international/uni-lowercase.el:
13772 * international/uni-mirrored.el:
13773 * international/uni-name.el:
13774 * international/uni-numeric.el:
13775 * international/uni-old-name.el:
13776 * international/uni-titlecase.el:
13777 * international/uni-uppercase.el: Regenerate.
13778
13779 * loadup.el: Load international/charprop.el before
13780 international/characters.
13781
e14b388a
CY
137822011-07-07 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * window.el (next-buffer, previous-buffer): Signal an error if
13785 called from a minibuffer window.
13786
13787 * bindings.el: Revert 2011-07-04 change.
13788
354cf0ba
RS
137892011-07-06 Richard Stallman <rms@gnu.org>
13790
13791 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13792 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13793 Treat markers like ints.
13794 (rmail-mime-entity): Doc fix.
13795
a48868a7
LMI
137962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13797
4906cd3d
LMI
13798 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13799 defcustom again for backwards compatibility.
13800
e0457abe
LMI
13801 * simple.el (shell-command-on-region): Fill.
13802
d67f7e1f
LMI
13803 * dired-aux.el (dired-kill-line): Add a doc string.
13804
fe204702
LMI
13805 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13806 to "\\sw\\|\\s_" (bug#358).
13807
a48868a7
LMI
13808 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13809 (dired-unmark-backward): Ditto.
13810 (dired-flag-backup-files): Ditto.
13811
13812 * dired-x.el (dired-mark-sexp): Ditto.
13813
aa8a705c
RS
138142011-07-06 Richard Stallman <rms@gnu.org>
13815
13816 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13817 (rmail-mime-entity): New arg TRUNCATED.
13818 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13819 New functions.
13820 (rmail-mime-save): Warn if entity is truncated.
13821 (rmail-mime-toggle-hidden): Likewise, for showing.
13822 (rmail-mime-process-multipart): Record when an entity is truncated.
13823
a9a936b9
RS
13824 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13825 if ENTITY is a string.
13826
1f2b92cb
LMI
138272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13828
f4f73198 13829 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13830 of faces when `M-C-x'-ing their definitions (bug#8378).
13831 Also clean up the code slightly.
f4f73198 13832
12b16734 13833 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13834 because that makes the colors go away.
12b16734 13835
f0691d22
LMI
13836 * mail/sendmail.el (send-mail-function): Change the default to
13837 `sendmail-query-once'.
9e87df06 13838 (sendmail-query-once): Add an autoload cookie.
f0691d22 13839
1f2b92cb
LMI
13840 * net/network-stream.el (network-stream-open-starttls): Try using
13841 a plain connection even if the server offered STARTTLS, and we
13842 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13843 capability. This should make smtpmail.el work in slightly more
13844 configurations.
13845
1cdd2a1b
MA
138462011-07-06 Michael Albinus <michael.albinus@gmx.de>
13847
13848 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13849 New defun.
13850 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13851
fbcc67e2
MM
138522011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13853
13854 * progmodes/sql.el: Version 3.0
0757af94 13855 (sql-product-alist): Add product :completion-object,
fbcc67e2 13856 :completion-column, and :statement attributes.
0757af94 13857 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13858 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13859 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13860 ansi keywords.
13861 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13862 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13863 (sql-oracle-show-reserved-words): New function for development.
13864 (sql-product-font-lock): Simplify for source code buffers.
13865 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13866 New functions.
13867 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13868 (sql-mode-map): Add statement movement functions.
13869 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13870 New variable.
fbcc67e2
MM
13871 (sql-statement-regexp, sql-beginning-of-statement)
13872 (sql-end-of-statement, sql-signum): New functions.
0757af94 13873 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13874 (sql-show-sqli-buffer): Bug fix.
13875 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13876 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13877 with sql-interactive-mode.
13878 (sql-save-connection): Save buffer local settings.
0757af94 13879 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13880 (sql-product-interactive): Bug fix.
13881 (sql-preoutput-hold): New variable.
13882 (sql-interactive-remove-continuation-prompt): Bug fixes.
13883 (sql-debug-redirect): New variable.
13884 (sql-str-literal): New function.
13885 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13886 Redesign.
fbcc67e2
MM
13887 (sql-oracle-save-settings, sql-oracle-restore-settings)
13888 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13889 (sql-completion-object, sql-completion-column)
13890 (sql-completion-sqlbuf): New variables.
13891 (sql-build-completions-1, sql-build-completions)
13892 (sql-try-completion): New functions.
13893 (sql-read-table-name): Use them.
13894 (sql-contains-names): New buffer local variable.
13895 (sql-list-all, sql-list-table): Use it.
13896 (sql-oracle-completion-types): New variable.
13897 (sql-oracle-completion-object, sql-sqlite-completion-object)
13898 (sql-postgres-completion-object): New functions.
13899
d4eaeab1
GM
139002011-07-06 Glenn Morris <rgm@gnu.org>
13901
13902 * window.el (pop-to-buffer): Doc fix.
13903
322b7dab 139042011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13905
13906 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13907
322b7dab 139082011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13909
322b7dab 13910 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13911
322b7dab 13912 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13913
605dd5bf
CY
139142011-07-05 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * button.el (button): Inherit from link face. Suggested by Dan
13917 Nicolaescu.
13918
7dbfa719
SM
139192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13920
3db614b0
SM
13921 * progmodes/gdb-mi.el: Fit in 80 columns.
13922 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13923 switch-to-buffer.
13924
7dbfa719
SM
13925 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13926 if imenu is simply not configured (bug#8941).
13927
919d884a
KM
139282011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13929
13930 * allout.el (allout-post-undo-hook): New allout outline-change
13931 event hook to signal undo activity.
13932 (allout-post-command-business): Run allout-post-undo-hook if an
13933 undo just occurred.
7dbfa719
SM
13934 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13935 * allout-widgets.el (allout-widgets-after-undo-function):
13936 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13937 in the vicinity of an undo.
13938 (allout-widgets-mode): Include allout-widgets-after-undo-function
13939 on the new allout-post-undo-hook.
13940
450a0f09
SM
139412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13942
13943 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13944 Let define-derived-mode define it.
13945 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13946 cycles of abbrev-table inheritance (bug#8998).
13947
2de69e00
RW
139482011-07-05 Roland Winkler <winkler@gnu.org>
13949
13950 * textmodes/bibtex.el: Add support for biblatex.
13951 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13952 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13953 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13954 (bibtex-entry-alist, bibtex-field-alist): New variables.
13955 (bibtex-entry-field-alist): Obsolete alias for
13956 bibtex-BibTeX-entry-alist.
13957 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13958 (bibtex-set-dialect): New command.
13959 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13960 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13961 Bind via bibtex-set-dialect.
2de69e00
RW
13962 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13963 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13964 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13965 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13966 Define via bibtex-set-dialect.
450a0f09
SM
13967 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13968 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13969 (bibtex-vec-push, bibtex-vec-incr): New functions.
13970 (bibtex-format-entry, bibtex-field-list)
13971 (bibtex-print-help-message, bibtex-validate)
13972 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13973
2dcdbdd9
SM
139742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * progmodes/compile.el (compilation-goto-locus):
13977 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13978 * bs.el (bs-cycle-next, bs-cycle-previous):
13979 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13980 * bindings.el (mode-line-other-buffer):
13981 * autoinsert.el (auto-insert):
13982 * arc-mode.el (archive-extract):
13983 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13984
b27640fe
JB
139852011-07-05 Juanma Barranquero <lekktu@gmail.com>
13986
13987 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13988 Fix check of `emacs-lock-unlockable-modes'.
13989 Coerce true values of `emacs-lock--try-unlocking' to t.
13990
53bbe3ad
JB
139912011-07-05 Juanma Barranquero <lekktu@gmail.com>
13992
13993 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13994 * emacs-lock.el: New file.
13995
1d3cdbc7
JD
139962011-07-05 Julien Danjou <julien@danjou.info>
13997
13998 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13999 than `boundp' to check if face is set.
14000
9173deec
JB
140012011-07-05 Juanma Barranquero <lekktu@gmail.com>
14002
14003 * register.el (registerv-make):
14004 * window.el (window-min-height): Fix typos in docstrings.
14005
869795d6
JD
140062011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14007
9173deec 14008 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14009 Update doc string.
14010
b768cdcd
JB
140112011-07-04 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * server.el (server-execute): Catch quit and call
14014 `server-return-error' to pass the error back to emacsclient and
14015 close the connection (bug#8942).
14016
13aa217b
KM
140172011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14018
14019 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14020 insecure exception for current topic. Also note that auto-saves
14021 are handled differently.
14022
5d3385a0 14023 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14024 State variables for tracking auto-save inhibition situation.
14025
14026 (allout-write-contents-hook-handler): Rename from
14027 'allout-write-file-hook-handler', and describe how it depends on
14028 write-contents-functions sensitivity to non-nil value to prevent
14029 file write.
14030
14031 (allout-auto-save-hook-handler): Remove. auto-save does not check
14032 this in individual buffers, only in the starting buffer, so this
14033 is not the right way for us to inhibit auto-save in a buffer
14034 according to its condition.
14035
14036 (allout-mode): Use new allout-write-contents-hook-handler, and
14037 only with write-contents-functions. Remove auto-save provisions -
14038 they're implemented elsewhere.
14039
14040 (allout-before-change-handler): If undo is in progress, note that
14041 for attention of allout-post-command-business.
14042
14043 (allout-post-command-business): If the command we're following was
14044 an undo, check for change in the status of encrypted items and
14045 adjust auto-save inhibitions accordingly.
14046
14047 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14048 according to whether there are or aren't any plain-text topics
14049 pending encryption.
14050
2dcdbdd9 14051 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14052 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14053 if there are plain-text topics pending encryption.
13aa217b
KM
14054
14055 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14056 buffer-saved-size and some allout state to not inhibit auto-saves
14057 if there are no longer any plain-text topics pending encryption.
14058
0757af94
SM
14059 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14060 No longer provide for exemption of the current topic.
13aa217b 14061
ac89b32c
JL
140622011-07-04 Juri Linkov <juri@jurta.org>
14063
14064 Add 7z operations to delete and save changed members (bug#8968).
14065 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14066 New defcustoms.
14067 (archive-7z-write-file-member): New function.
14068 (archive-7z-summarize): Fix the number of dashes in the
14069 listing output.
14070
8fa39615
SM
140712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14072
14073 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14074 (bug#8958).
14075
2f11b3f1
CY
140762011-07-04 Chong Yidong <cyd@stupidchicken.com>
14077
d66fef2b
CY
14078 * bindings.el: Ignore next-buffer and previous-buffer in
14079 minibuffer-local-map.
14080
2f11b3f1
CY
14081 * font-lock.el (font-lock-builtin-face): Change light background
14082 color to dark slate blue (Bug#6693).
14083
f932a347
WD
140842011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14085
14086 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14087
c8af70e1
SM
140882011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14091 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14092 Add switch-to-buffer.
14093
f158badc
LMI
140942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14095
14096 * isearch.el (isearch-search-fun-function): Clarify further the
14097 meaning of the function returned.
14098
6d95bd46
MA
140992011-07-04 Michael Albinus <michael.albinus@gmx.de>
14100
14101 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14102
14103 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14104 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14105 Use it.
14106 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14107 `tramp-default-remote-path' does not exist.
14108 (tramp-send-command-and-read): New optional argument NOERROR.
14109 (tramp-open-connection-setup-interactive-shell)
14110 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14111 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14112 (tramp-process-sentinel): Flush also process' connection property.
14113 (tramp-sh-handle-start-file-process): Do not set process
14114 sentinel. It is done now ...
14115 (tramp-maybe-open-connection): ... here. (Bug#8929)
14116
909e6b67
MK
141172011-07-04 MON KEY <monkey@sandpframing.com>
14118
14119 * play/animate.el (animate-string): Doc fixes and allow changing
14120 the buffer name (bug#5417).
14121
141222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14123
c8af70e1 14124 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14125
f34755dc
PE
141262011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14127
396cec72
PE
14128 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14129 This is simpler and helps future-proof the code.
14130 (timer-until): Use time-subtract and float-time.
08235028 14131 (timer--time-less-p): Use time-less-p.
f34755dc 14132
56e6cc31
JB
141332011-07-04 Juanma Barranquero <lekktu@gmail.com>
14134
3abb79e5
JB
14135 * type-break.el (timep): Use the value of `float-time' to avoid a
14136 byte-compiler warning.
14137
56e6cc31
JB
14138 * server.el (server-eval-and-print): Return any result, even nil.
14139
7b9430b4
PE
141402011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14141
14142 * type-break.el: Accept time formats that the builtins accept.
14143 (timep, type-break-time-difference): Accept any format that
14144 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14145 This is simpler and helps future-proof the code.
14146 (type-break-time-difference): Round rather than ignoring
14147 subseconds components.
14148
3034e9e7
LMI
141492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14150
14151 * info.el (Info-apropos-matches): Make non-interactive, since it
14152 doesn't seem to do anything useful as a command (bug#8829).
14153
1485f4c0
CY
141542011-07-03 Chong Yidong <cyd@stupidchicken.com>
14155
14156 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14157 Move from faces.el.
1485f4c0
CY
14158 (frame-default-terminal-background): New function.
14159
14160 * custom.el (custom-push-theme): Don't record faces in `changed'
14161 theme; this doesn't work correctly for per-frame face settings.
14162 (disable-theme): Use face-set-after-frame-default to reset faces.
14163 (custom--frame-color-default): New function.
14164
9fa3dd45
LMI
141652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14166
c8af70e1 14167 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14168 (bug#8769).
14169
6cbbc20c
KR
141702011-03-29 Kevin Ryde <user42@zip.com.au>
14171
14172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14173 `perl-Test2' extend to match possible "fail #N" rep count
14174 (bug#8377).
14175
c7f98048
LMI
141762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14177
65676592
LMI
14178 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14179 `smtpmail-via-smtp' now returns the error instead of nil.
14180
c7f98048
LMI
14181 * isearch.el (isearch-search-fun-function): Clarify the doc string
14182 (bug#8101).
14183
56e6cc31 141842011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14185
14186 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14187 unnecessary spaces (bug#8987).
14188
2b216704
LMI
141892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14190
14191 * net/network-stream.el (open-network-stream): Use the
14192 :end-of-capability command thoughout.
14193
141942011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14195
14196 * net/network-stream.el (open-network-stream): Add the
14197 :end-of-capability command parameter, used by pop3.el.
14198
36adf6ce
LMI
141992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14200
1ca0da0e
LMI
14201 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14202
fc00f69c
LMI
14203 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14204 for list)" (bug#6475).
14205
28fd8759 14206 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14207 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14208 an error (bug#6297).
14209
0dd8b6da
LMI
14210 * man.el (Man-reference-regexp): Allow matching possible
14211 word-wrapped references (bug#6289).
14212
ce1438d6
LMI
14213 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14214 for consistency with the other vc buffers (bug#6197).
14215 (vc-checkin): Ditto.
14216
14217 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14218
36adf6ce
LMI
14219 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14220
e83cc1f7
LMI
142212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14222
8a20ca4c
LMI
14223 * custom.el (defcustom): Clarify that :set is only used in the
14224 Customize user interface (bug#6089).
14225
83319045
LMI
14226 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14227 associated with a file, refuse to run instead of erroring out
14228 (bug#6084).
14229
a8392169
LMI
14230 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14231 the doc string, since it appears that using `fill-column' always
14232 controls the width (bug#7845).
14233
e83cc1f7
LMI
14234 * simple.el (shell-command-on-region): Say where the error output
14235 went if `shell-command-default-error-buffer' is set (bug#6857).
14236
e47ca23b
KM
142372011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14238
14239 * allout.el (allout-yank-processing): Adjust cursor position for
14240 backwards-deleted space.
14241
14242 (allout-rebullet-heading): Register changes with
14243 allout-exposure-changed-hook, so the modified topic is properly
14244 decorated.
14245
5cf56143
LMI
142462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14247
08549772
LMI
14248 * minibuffer.el (completion-in-region): Document PREDICATE
14249 (bug#7136).
14250
48e96771
LMI
14251 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14252 of keyword/argument pairs (bug#6904).
14253
c8af70e1
SM
14254 * replace.el (multi-occur):
14255 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14256
e17d05e2
LMI
142572011-07-02 Drew Adams <drew.adams@oracle.com>
14258
14259 * dired.el (dired-mark-if): Make the message about whether it's
14260 marking or unmarking clearer (bug#8523).
14261
063b0e45
LMI
142622011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14263
14264 * disp-table.el (display-table-print-array): New function.
14265 (describe-display-table): Use it to print the vectors more pretty
14266 (Bug#8859).
14267
28545e04
MR
142682011-07-02 Martin Rudalics <rudalics@gmx.at>
14269
14270 * window.el (window-state-get-1): Don't assign clone numbers.
14271 Add clone-of item to list of window parameters.
14272 (window-state-put-2): Don't process clone numbers.
14273 (display-buffer-alist): Fix doc-string.
14274
3349e122
SM
142752011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * subr.el (remq): Don't allocate if it's not needed.
14278 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14279 (keymap--merge-bindings): New functions.
14280 (keymap-canonicalize): Use them to refine the canonicalization.
14281 * minibuffer.el (minibuffer-local-completion-map)
14282 (minibuffer-local-must-match-map): Move initialization from C.
14283 (minibuffer-local-filename-completion-map): Move initialization from C;
14284 don't inherit from anything here.
14285 (minibuffer-local-filename-must-match-map): Make obsolete.
14286 (completing-read-default): Use make-composed-keymap to combine
14287 minibuffer-local-filename-completion-map with either
14288 minibuffer-local-must-match-map or
14289 minibuffer-local-filename-completion-map.
14290
d224ac83
GM
142912011-07-01 Glenn Morris <rgm@gnu.org>
14292
3de63bf8
GM
14293 * type-break.el (type-break-time-sum): Use dolist.
14294
d224ac83
GM
14295 * textmodes/flyspell.el (flyspell-word-search-backward):
14296 Replace CL function.
14297
1a1e3f32
SM
142982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14299
fe3f64d5
SM
14300 * mouse.el (mouse--strip-first-event): New function.
14301 (function-key-map): Use it to map fringe clicks to normal clicks
14302 by default.
14303
eb604e34
SM
14304 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14305 (vc-bzr-revision-completion-table): Add support for annotate and date.
14306
1a1e3f32
SM
14307 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14308 inherit from parent.
14309
5bd35902
LMI
143102011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14311
ace6c69c 14312 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14313 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14314
191e2bed
LMI
14315 * dired.el (dired-mode): Fix up the doc string as suggested by
14316 Drew Adams (bug#8817).
14317
5bd35902
LMI
14318 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14319 cookie, since the manual says that it should be possible to add
14320 this function to `find-file-hook' (bug#8709).
14321
eee8207a
TZ
143222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14323
14324 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14325 here. Noted Ted Zlatanov as the maintainer.
14326 (cfengine-common-settings, cfengine-common-syntax): New functions
14327 to set up common things between `cfengine-mode' and
14328 `cfengine3-mode'.
14329 (cfengine3-mode): New mode.
14330 (cfengine3-defuns cfengine3-defuns-regex
14331 (cfengine3-class-selector-regex cfengine3-category-regex)
14332 (cfengine3-vartypes cfengine3-font-lock-keywords)
14333 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14334 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14335
36b148cf
MA
143362011-07-01 Michael Albinus <michael.albinus@gmx.de>
14337
14338 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14339
14340 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14341
0bf4ba9a
MR
143422011-07-01 Martin Rudalics <rudalics@gmx.at>
14343
14344 * window.el (same-window-buffer-names, same-window-regexps)
14345 (same-window-p, special-display-frame-alist)
14346 (special-display-popup-frame, special-display-function)
14347 (special-display-buffer-names, special-display-regexps)
14348 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14349 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14350 (split-window-preferred-function, split-height-threshold)
14351 (split-width-threshold, even-window-heights)
14352 (display-buffer-mark-dedicated, window-splittable-p)
14353 (split-window-sensibly, window-safely-shrinkable-p):
14354 Un-obsolete.
14355 (display-buffer): Don't spread args with function specifier
14356 because special-display-popup-frame won't like it.
14357
35837f51
PE
143582011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14359
d0672f86
PE
14360 Time-stamp simplifications and fixes.
14361 These improve accuracy slightly, and future-proof the code
14362 against some potential changes to current-time format.
14363
b9444d97
PE
14364 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14365 by using time-since and float-time.
14366
0ef923dc
PE
14367 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14368 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14369 + NNN microseconds".
14370
2f81380d
PE
14371 * type-break.el (type-break-time-sum): Rewrite using time-add.
14372
845b5c3e
PE
14373 * play/hanoi.el (hanoi-current-time-float): Remove.
14374 All uses replaced by float-time.
14375
ee6f1be0
PE
14376 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14377 This yields a more-accurate answer.
14378 (rng-time-to-float): Remove; no longer needed.
14379
fe955043
PE
14380 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14381
5777162a
PE
14382 * calendar/timeclock.el (timeclock-seconds-to-time):
14383 Defalias to seconds-to-time, since they're the same thing.
14384
3103f8b6 14385 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14386 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14387 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14388
0e61a35f
SM
143892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14390
14391 * window.el (bury-buffer): Don't iconify the only frame.
14392 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14393 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14394
ddd63a1e
CY
143952011-07-01 Chong Yidong <cyd@stupidchicken.com>
14396
0e61a35f
SM
14397 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14398 Add mouse-yank-primary.
ddd63a1e 14399
055f4923
TZ
144002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14401
14402 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14403
6a2fb145
SM
144042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14407 (find-library-name): Use it to find relative load names when provided
14408 absolute file name (bug#8803).
14409
fd4983f2
LMI
144102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411
887d14ad
LMI
14412 * textmodes/flyspell.el (flyspell-word): Consider words that
14413 differ only in case as potential doublons (bug#5687).
14414
c53dc7fc
LMI
14415 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14416 Remove two rather uninteresting debugging-like messages to make
14417 debbugs.el more silent.
14418
fd4983f2
LMI
14419 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14420 a password-like phrase.
14421
7a71b18d 144222011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14423
14424 * progmodes/cc-guess.el: New file.
14425
6a2fb145 14426 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14427
14428 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14429 derived from `c-basic-common-init'.
14430
14431 * progmodes/cc-mode.el (top-level): Require cc-guess.
14432 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14433
1fa280a3
LM
144342011-06-30 Lawrence Mitchell <wence@gmx.li>
14435
14436 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14437
e6597158
AM
144382011-06-30 Alan Mackenzie <acm@muc.de>
14439
1fa280a3
LM
14440 * progmodes/cc-engine.el (c-guess-continued-construct):
14441 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14442 lock is disabled. Name this case as "CASE G".
14443
68ba37fb
KM
144442011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14445
14446 * allout.el (allout-yank-processing): Fix injection of extra space
14447 between bullet and non-whitespace character in first topic when
14448 pasting, ensuring that the actual spacing in the pasted topic
14449 following the bullet char is preserved. This extra space was
14450 causing pasted encrypted topics to get a decrypted status even
14451 when the content was actually still encrypted. Now the decryption
14452 status from before the paste is preserved.
14453
14454 (allout-flag-region): Set all allout overlays so they evaporate
14455 when reduced to zero length (evanescent), to prevent overlay
14456 leakage.
14457
887a0b34
GM
144582011-06-30 Glenn Morris <rgm@gnu.org>
14459
94b9acce
GM
14460 * w32-fns.el (w32-charset-info-alist): Declare.
14461
1d9b46d4
GM
14462 * find-dired.el (find-grep-options): Simplify.
14463
cc232200
GM
14464 * term/ns-win.el (ns-set-resource): Declare.
14465
28e77c46
GM
14466 * ses.el (row, col): Declare dynamic variables honestly.
14467
887a0b34
GM
14468 * textmodes/reftex-parse.el (index-tags): Declare.
14469
658d8eb8
CY
144702011-06-30 Chong Yidong <cyd@stupidchicken.com>
14471
14472 * cus-edit.el (customize-push-and-save): New function.
14473
14474 * files.el (hack-local-variables-confirm): Use it.
14475
1fa280a3
LM
14476 * custom.el (load-theme): New arg NO-CONFIRM.
14477 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14478 (custom-enabled-themes): Doc fix.
14479
14480 * cus-theme.el (customize-create-theme)
14481 (custom-theme-merge-theme): Callers to load-theme changed.
14482
bb617717
LMI
144832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14484
d61bdd5d
LMI
14485 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14486 short URLs have at least one dot in them (bug #7614).
14487
bb617717
LMI
14488 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14489 nil, because using a pty is apparently too slow (bug #895).
14490
2f31f37a
LMI
144912011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14492
14493 * mail/sendmail.el (sendmail-query-once): New function.
14494 (sendmail-query-once-function): New variable.
14495
3076b24e
GM
144962011-06-29 Glenn Morris <rgm@gnu.org>
14497
faf2a174
GM
14498 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14499
3076b24e
GM
14500 * ses.el (top-level): Require cl when compiling.
14501 (ses-set-localvars): Fix error statement.
14502 Call it at compile time to silence a storm of warnings.
14503
5386012d
MR
145042011-06-29 Martin Rudalics <rudalics@gmx.at>
14505
14506 * window.el (normalize-live-buffer): Rename to
14507 window-normalize-buffer.
14508 (normalize-live-frame): Rename to window-normalize-frame.
14509 (normalize-any-window): Rename to window-normalize-any-window.
14510 (normalize-live-window): Rename to window-normalize-live-window.
14511 (make-window-atom): Rename to window-make-atom.
14512 (window-resize-reset): Rename to window--resize-reset.
14513 (window-resize-reset-1): Rename to window--resize-reset-1.
14514 (resize-mini-window): Rename to window--resize-mini-window.
14515 (resize-subwindows-skip-p): Rename to
14516 window--resize-subwindows-skip-p.
14517 (resize-subwindows-normal): Rename to
14518 window--resize-subwindows-normal.
14519 (resize-subwindows): Rename to window--resize-subwindows.
14520 (resize-other-windows): Rename to window--resize-siblings.
14521 (resize-this-window): Rename to window--resize-this-window.
14522 (resize-root-window): Rename to window--resize-root-window.
14523 (resize-root-window-vertically): Rename to
14524 window--resize-root-window-vertically.
14525 (normalize-buffer-to-display): Rename to
14526 window-normalize-buffer-to-display.
14527 (normalize-buffer-to-switch-to): Rename to
14528 window-normalize-buffer-to-switch-to.
14529 Correspondingly update all callers of the functions listed
14530 above.
14531 (display-buffer-alist, display-buffer-normalize-arguments)
14532 (display-buffer-normalize-options, display-buffer)
14533 (display-buffer-alist-set): Use "function" instead of
14534 "fun-with-args".
14535
1176868d
CY
145362011-06-28 Chong Yidong <cyd@stupidchicken.com>
14537
14538 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14539 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14540 debbugs.gnu.org. Mention acknowledgment email.
14541
20a7a65f
LMI
145422011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
14544 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14545 buffer multibyteness, since it shouldn't matter.
14546
5f45cca5
MR
145472011-06-28 Martin Rudalics <rudalics@gmx.at>
14548
14549 * window.el (display-buffer-in-side-window): Handle dedicated
14550 windows as in display-buffer-reuse-window.
14551 (display-buffer-normalize-alist): Use value of override
14552 specifier.
14553 (display-buffer-normalize-specifiers): Use value of
14554 other-window-means-other-frame specifier.
14555 (display-buffer-alist): Rewrite some texts in widgets.
14556 (display-buffer): Spread arguments when calling function
14557 specified by fun-with-args.
14558
ad85fe1f
DD
145592011-06-28 Deniz Dogan <deniz@dogan.se>
14560
1fa280a3
LM
14561 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14562 Unnest `let'.
da68c4c8 14563
ad85fe1f
DD
14564 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14565 selectors (Bug#5732).
ec49bd31 14566 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14567
a08cc025
JA
145682011-06-27 Jari Aalto <jari.aalto@cante.net>
14569
14570 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14571 (eshell-ls-date-format): New defcustom.
14572 (eshell-ls-file): Use it.
14573
e2b551c5
SM
145742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14575
14576 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14577
8982b231
KY
145782011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14579
14580 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14581 (ange-ftp-make-tmp-name): New arg.
14582 (ange-ftp-file-local-copy): Use it.
14583
36c9fa27
J
145842011-06-27 Jambunathan K <kjambunathan@gmail.com>
14585
14586 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14587 no-conversion (Bug#8870).
14588
d68443dc
MR
145892011-06-27 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (window-right, window-left, window-child)
14592 (window-child-count, window-last-child)
14593 (window-iso-combination-p, walk-window-tree-1)
14594 (window-atom-check-1, window-tree-1, delete-window)
14595 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14596 new naming conventions - window-vchild, window-hchild,
14597 window-next and window-prev are now called window-top-child,
14598 window-left-child, window-next-sibling and window-prev-sibling
14599 respectively.
d615d6d2
MR
14600 (resize-window-reset): Rename to window-resize-reset.
14601 (resize-window-reset-1): Rename to window-resize-reset-1.
14602 (resize-window): Rename to window-resize.
14603 (window-min-height, window-min-width)
14604 (resize-mini-window, resize-this-window, resize-root-window)
14605 (resize-root-window-vertically, adjust-window-trailing-edge)
14606 (enlarge-window, shrink-window, maximize-window)
14607 (minimize-window, delete-window, quit-restore-window)
14608 (split-window, balance-windows, balance-windows-area-adjust)
14609 (balance-windows-area, window-state-put-2)
14610 (display-buffer-even-window-sizes, display-buffer-set-height)
14611 (display-buffer-set-width, set-window-text-height)
14612 (fit-window-to-buffer): Rename all "resize-window" prefixed
14613 calls to use the "window-resize" prefix convention.
14614 (display-buffer-alist): Fix symbol for label specifier.
14615 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14616 corresponding specifier.
14617 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14618
b6458526
VB
146192011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14620
14621 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14622 convention.
14623 (ses-call-printer): Does not pass an empty string to formatter when the
14624 cell is empty to keep from barking printer Calc math-format-value.
14625
d31fd9ac
RS
146262011-06-27 Richard Stallman <rms@gnu.org>
14627
43d5bf84
RS
14628 * battery.el (battery-mode-line-limit): New variable.
14629 (battery-update): Handle it.
14630
d31fd9ac
RS
14631 * mail/rmailmm.el (rmail-mime-process-multipart):
14632 Handle truncated messages.
14633
819a6054
GM
146342011-06-27 Glenn Morris <rgm@gnu.org>
14635
14636 * progmodes/flymake.el (flymake-err-line-patterns):
14637 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14638
cedc73f2
VB
146392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14640
819a6054 14641 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14642 (ses--clean-!, ses--clean-_): New functions.
14643 (ses-range): Add configurability of readout order, and conversion
14644 to Calc vector.
14645
5e5d49b6
VB
14646 * ses.el (ses-repair-cell-reference-all): New function.
14647 (ses-cell-symbol): Set macro as safe, so that it can be used in
14648 formulas.
14649
56e6cc31 14650 * ses.el: Update cycle detection algorithm.
90ca8b49 14651 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14652 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14653 (ses-set-localvars): New function.
14654 (ses-make-cell): Add property-list as a cell element.
14655 (ses-cell-property-get-fun, ses-cell-property-get)
14656 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14657 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14658 New functions.
90ca8b49
VB
14659 (ses-cell-property-set, ses-cell-property-pop)
14660 (ses-cell-property-get-handle): New macro.
14661 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14662 New aliases, used for code readability.
14663 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14664 cycle detection.
14665 (ses-self-reference-early-detection): New defcustom.
fac916bf 14666 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14667 (ses-mode): Use ses-set-localvars.
14668 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14669 before lauching the update processing.
14670 (ses-initialize-Dijkstra-attempt): New function.
14671 (ses-recalculate-cell): Update for cycle detection based on
14672 Dijkstra algorithm.
14673
2bb63e81
VB
14674 * ses.el: Fix commenting and indenting convention.
14675
c9d29fb8
SM
146762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14677
14678 * bs.el (bs-cycle-next): Complete last change.
14679
d8e4b68b
JB
146802011-06-27 Drew Adams <drew.adams@oracle.com>
14681
14682 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14683
40098786
LMI
146842011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
c9d29fb8
SM
14686 * net/network-stream.el (network-stream-open-starttls):
14687 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14688 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14689
40098786
LMI
14690 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14691 to binary to possibly avoid line encoding issues on Windows (among
14692 other things).
14693
468d09d4
LMI
146942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14695
14696 * net/network-stream.el (open-network-stream): Return an :error
14697 saying what the problem was, if possible.
14698
14699 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14700 server.
14701
14702 * net/network-stream.el (network-stream-open-starttls): If we
14703 wanted to use STARTTLS, and the server offered it, but we weren't
14704 able to because we had no STARTTLS support, then close the connection.
14705 (open-network-stream): Return an :error element, if present.
14706
16f07dd7
CY
147072011-06-26 Chong Yidong <cyd@stupidchicken.com>
14708
88821ca0
CY
14709 * hl-line.el (hl-line-sticky-flag): Doc fix.
14710 (global-hl-line-sticky-flag): New option (Bug#8323).
14711 (global-hl-line-highlight): Obey it.
14712
16f07dd7
CY
14713 * vc/vc.el (vc-revert-show-diff): Default to t.
14714
6b5ccddf
KM
147152011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14716
c9d29fb8
SM
14717 * allout-widgets.el (allout-widgets-post-command-business):
14718 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14719 undecorated when an isearch is continued past, and isearch
14720 automatically collapses them. This leads to "widget leaks", where
14721 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14722 hidden widgets can slow down cursor travel, substantially.
14723 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14724 so we're doing without this nicety.
14725
14726 (allout-widgets-tally-string): Don't try to do a hash-table-count
14727 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14728 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14729 *Messages* when allout-widgets-maintain-tally is t.
14730
355f2e07
MR
147312011-06-26 Martin Rudalics <rudalics@gmx.at>
14732
14733 * window.el (display-buffer-normalize-argument): Rename to
14734 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14735 LABEL argument. Respect special-display-function when popping up
14736 a new frame. Fix code searching for a window showing the buffer
14737 on another frame.
c9d29fb8
SM
14738 (display-buffer-normalize-specifiers):
14739 Call display-buffer-normalize-arguments.
355f2e07
MR
14740 (display-buffer-in-window): Don't undedicate the window if its
14741 buffer remains the same.
14742 Reported by Drew Adams <drew.adams@oracle.com>.
14743 (display-buffer-alist): Add choice for same-window macro
14744 specfier.
14745 (display-buffer): Mention special meaning of LABEL argument in
14746 doc-string. Fix quoting. Don't pop up a new frame even as
14747 fallback.
14748
7ca8fc42
JB
147492011-06-26 Juanma Barranquero <lekktu@gmail.com>
14750
14751 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14752 avoid deleting the current window in some cases (bug#8911).
14753
bc312254
AS
147542011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14755
14756 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14757 (Bug#8934)
14758
2db18f3f
LMI
147592011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14760
c9d29fb8
SM
14761 * net/network-stream.el (network-stream-open-starttls):
14762 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14763 (network-stream-open-tls): Ditto.
14764
6302e0d3
LL
147652011-06-26 Leo Liu <sdl.web@gmail.com>
14766
14767 * register.el (registerv): New struct.
14768 (registerv-make): New function.
c9d29fb8
SM
14769 (jump-to-register, describe-register-1, insert-register):
14770 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14771 struct. (Bug#8415)
14772
5fdd4046
CY
147732011-06-26 Chong Yidong <cyd@stupidchicken.com>
14774
2afef60a
CY
14775 * vc/vc.el (vc-revert-show-diff): New defcustom.
14776 (vc-diff-internal): New arg specifying diff buffer.
14777 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14778 reuse an existing *vc-diff* buffer (Bug#8927).
14779
5fdd4046
CY
14780 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14781
e93db24a
GM
147822011-06-26 Glenn Morris <rgm@gnu.org>
14783
14784 * progmodes/f90.el (f90-critical-indent): New option.
14785 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14786 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14787 (f90-mode): Doc fix.
14788 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14789 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14790 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14791 (f90-match-end): Handle block, critical.
14792
eefff499
GM
147932011-06-25 Glenn Morris <rgm@gnu.org>
14794
f6ba4cc9
GM
14795 * calendar/diary-lib.el (diary-included-files): Doc fix.
14796 (diary-include-files): New function, extracted from
14797 diary-include-other-diary-files and diary-mark-included-diary-files.
14798 (diary-include-other-diary-files, diary-mark-included-diary-files):
14799 Just call diary-include-files.
14800 (diary-mark-entries): Reset diary-included-files on first call.
14801
16712304
GM
14802 * calendar/diary-lib.el (diary-mark-entries)
14803 (diary-mark-included-diary-files):
14804 Visit included diary-files in temp buffers.
14805
5d8e0d43
GM
14806 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14807 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14808 (f90-start-block-re, f90-imenu-generic-expression)
14809 (f90-looking-at-program-block-start, f90-no-block-limit):
14810 Add support for submodules.
14811
ccf7a5d5
GM
14812 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14813 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14814
11fdef7d 148152011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14816
14817 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14818 buffer-file-type before setting its value, to avoid disastrous
eefff499 14819 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14820
74f53697
JB
148212011-06-25 Juanma Barranquero <lekktu@gmail.com>
14822
14823 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14824
14825 * ses.el (ses-unload-function):
14826 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14827
14828 * proced.el (proced-unload-function):
14829 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14830
18a4ce5e
AR
148312011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14832
14833 * server.el (server-create-window-system-frame): Add parameters arg.
14834 (server-process-filter): Doc fix. Handle frame-parameters.
14835
519d22cc
JB
148362011-06-25 Juanma Barranquero <lekktu@gmail.com>
14837
14838 Fix bug#8730, bug#8781.
14839
14840 * loadhist.el (unload--set-major-mode): New function.
14841 (unload-feature): Use it.
14842
14843 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14844 (python-unload-function): New function.
14845
c206f5b0
SM
148462011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14847
14848 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14849
f9ad64f3
GS
148502011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14851
14852 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14853 the candidates list.
14854
7d0da90e
JB
148552011-06-24 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14858
14b4e83d
RS
148592011-06-23 Richard Stallman <rms@gnu.org>
14860
14861 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14862 (rmail-variables): Set next-error-move-function.
14863 (rmail-what-message): Take argument POS.
14864 (rmail-next-error-move): New function.
14865
273d2baf
SM
148662011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14867
14868 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14869 messages for adjacent non-terminals.
14870
56c2cc9a
RS
148712011-06-23 Richard Stallman <rms@gnu.org>
14872
14873 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14874 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14875 (rmail-start-mail): Don't specify use of rmail-mail-return;
14876 that's done by mail-bury now.
14877 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14878
d59eb518
MA
148792011-06-23 Michael Albinus <michael.albinus@gmx.de>
14880
14881 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14882 SIZE is a number.
14883
02cfc6d6
MR
148842011-06-23 Martin Rudalics <rudalics@gmx.at>
14885
14886 * window.el (get-lru-window, get-mru-window)
14887 (get-largest-window): Never return a minibuffer window.
14888 (display-buffer-pop-up-window): Fix a bug that could lead to
14889 reusing the minibuffer window.
14890 (display-buffer): Pass original specifier argument to
14891 display-buffer-function instead of the normalized one.
14892 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14893
4e323265
LL
148942011-06-22 Leo Liu <sdl.web@gmail.com>
14895
14896 * minibuffer.el (completing-read-function)
14897 (completing-read-default): Move from minibuf.c
14898
7a70468f
RS
148992011-06-22 Richard Stallman <rms@gnu.org>
14900
50718fc2
RS
14901 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14902 to Rmail even if not started by a special Rmail command.
14903
7a70468f
RS
14904 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14905 Copy the buffer currently showing just one message.
14906
297dde5a
RW
149072011-06-22 Roland Winkler <winkler@gnu.org>
14908
14909 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14910 (bibtex-clean-entry): First delete the old key so that a
14911 customized algorithm for generating the new key does not get
14912 confused by the old key.
14913 (bibtex-url): Obey regexp of first step.
14914 (bibtex-search-entries): Do not use add-to-list with local
14915 list-var.
14916
97bb1093
LMI
149172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918
14919 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14920 stored a user name, then query for the password first, instead of
14921 waiting for SMTP to give an error message and the trying again.
14922
1c0f1a19
JD
149232011-06-22 Lawrence Mitchell <wence@gmx.li>
14924
14925 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14926 BUFFER in call-process.
14927
396f7c9d
LMI
149282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14929
14930 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14931 QUIT twice.
ddb7ffee
LMI
14932 (smtpmail-try-auth-methods): Require user name and password from
14933 auth-source.
396f7c9d 14934
8998d1b3
MR
149352011-06-22 Martin Rudalics <rudalics@gmx.at>
14936
14937 * window.el (display-buffer-default-specifiers)
14938 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14939 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14940 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14941
14942 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14943 (special-display-frame-alist, special-display-popup-frame):
14944 Remove duplicate declarations. These are now in window.el.
14945
4ea31e07
LMI
149462011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14947
c9d29fb8
SM
14948 * mail/smtpmail.el (smtpmail-via-smtp):
14949 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14950 server supports it. SMTP servers that support STARTTLS commonly
14951 require it.
14952
14953 * net/network-stream.el (network-stream-open-starttls): Support
14954 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14955 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14956
95f41d9a
LMI
14957 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14958 upgrades with `open-network-stream', and rely solely on
14959 auth-source for all credentials. Big changes throughout the file,
14960 but in particular:
c9d29fb8
SM
14961 (smtpmail-auth-credentials): Remove.
14962 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14963 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14964 MAIL FROM, too.
95f41d9a 14965
c9d29fb8
SM
14966 * net/network-stream.el (network-stream-open-starttls):
14967 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14968 STARTTLS.
14969 (auth-source): Require.
14970 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14971 (network-stream-certificate): Change cert-cert to cert and
14972 cert-key to key.
4ea31e07 14973
065ec2c7
MA
149742011-06-21 Michael Albinus <michael.albinus@gmx.de>
14975
14976 * net/tramp-cache.el (top): Don't load the persistency file when
14977 "emacs -Q" has been called.
14978
cd93b359
DR
149792011-06-21 Tim Harper <timcharper@gmail.com>
14980
d8e4b68b
JB
14981 * term/ns-win.el (ns-initialize-window-system):
14982 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14983 resource to NO as it is not yet supported by the NS port.
14984
ae9c0411
JB
149852011-06-21 Juanma Barranquero <lekktu@gmail.com>
14986
14987 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14988 (list-dynamic-libraries): ...not here.
14989
7f3f739f
LL
149902011-06-21 Leo Liu <sdl.web@gmail.com>
14991
14992 * subr.el (sha1): Implement sha1 using secure-hash.
14993
327c8fb1
MR
149942011-06-21 Martin Rudalics <rudalics@gmx.at>
14995
14996 * window.el (display-buffer-alist): In default value do not
14997 enforce searching a window on any but the selected frame.
14998 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14999 (display-buffer-select-window): Remove function.
15000 (display-buffer-in-window): When a window on another frame gets
15001 reused, do not select it any more but just raise its frame if
15002 necessary (Bug#8851) and (Bug#8856).
15003 (display-buffer-normalize-options): Handle pop-up-frames related
15004 options more faithfully.
15005 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15006 window if it is on another frame.
c9d29fb8
SM
15007 (display-buffer-alist, display-buffer-default-specifiers):
15008 Don't make new frame unsplittable by default.
9e9de014
MR
15009 (display-buffer-normalize-argument): Fix doc-string typo and use
15010 'same-frame-other-window instead of 'other-window when associating
15011 with display-buffer-macro-specifiers.
327c8fb1 15012
7cf3f556
VB
150132011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15014
15015 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15016 New functions.
15017 (5x5-mode-map, 5x5-mode-menu): Bind them.
15018 (5x5-draw-grid): Tweak the solver's rendering.
15019
60a406cf
SM
150202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15021
15022 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15023 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15024
d8e4b68b 150252011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15026
15027 * menu-bar.el: Use function variable instead of switch-to-buffer.
15028 (menu-bar-select-buffer-function): New variable.
60a406cf 15029 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15030
478d6f95
SM
150312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15032
15033 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15034 variable's status.
15035
ca530739
JD
150362011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15037
15038 * x-dnd.el (x-dnd-version-from-flags)
15039 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15040 and long as number (Bug#8899).
15041 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15042
bcd70d97
SM
150432011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15044
60a406cf 15045 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15046 (completion-try-completion, completion-all-completions): Compute the
15047 metadata argument if it's missing; make it optional (bug#8795).
15048
60a406cf 15049 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15050 (widget-complete): Use new :completion-function property.
15051 (widget-completions-at-point): New function.
15052 (default): Use :completion-function instead of :complete.
60a406cf
SM
15053 (widget-default-completions): Rename from widget-default-complete;
15054 Rewrite.
bcd70d97
SM
15055 (widget-string-complete, widget-file-complete, widget-color-complete):
15056 Remove functions.
15057 (file, symbol, function, variable, coding-system, color):
15058 * international/mule-cmds.el (default-input-method, charset)
15059 (language-info-custom-alist):
15060 * cus-edit.el (face): Use new property :completions.
15061
15062 * progmodes/pascal.el (pascal-completions-at-point): New function.
15063 (pascal-mode): Use it.
15064 (pascal-mode-map): Use completion-at-point.
15065 (pascal-toggle-completions): Make obsolete.
15066 (pascal-complete-word, pascal-show-completions):
15067 * progmodes/octave-mod.el (octave-complete-symbol):
15068 Redefine as obsolete alias.
15069 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15070 Signal absence of completion info for old Octave,
15071 (inferior-octave-complete): Redefine as obsolete alias.
15072 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15073 (meta-completions-at-point): Rename from meta-complete-symbol and
15074 adapt it for use on completion-at-point-functions.
15075 (meta-common-mode): Use it.
15076 (meta-looking-at-backward, meta-match-buffer): Remove.
15077 (meta-complete-symbol): Redefine as obsolete alias.
15078 (meta-common-mode-map): Use completion-at-point.
15079 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15080 (makefile-mode-map): Use completion-at-point.
15081 (makefile-completions-at-point): Rename from makefile-complete and
15082 adapt it for use on completion-at-point-functions.
15083 (makefile-mode): Use it.
15084 (makefile-complete): Redefine as obsolete alias.
15085
aebf69c8
DD
150862011-06-20 Deniz Dogan <deniz@dogan.se>
15087
15088 * net/rcirc.el: Delete trailing whitespaces once and for all.
15089
bfbbb27d
DC
150902011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15091
15092 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15093
d264a46b
CY
150942011-06-19 Chong Yidong <cyd@stupidchicken.com>
15095
4ca009e5
CY
15096 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15097
d264a46b
CY
15098 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15099
fbf5b3ce
MR
151002011-06-19 Martin Rudalics <rudalics@gmx.at>
15101
15102 * window.el (display-buffer-other-window-means-other-frame):
15103 Call display-buffer-normalize-alist.
15104 (display-buffer-normalize-specifiers-1): Rename to
15105 display-buffer-normalize-argument. New argument other-frame.
15106 Rewrite.
15107 (display-buffer-normalize-specifiers-2): Rename to
15108 display-buffer-normalize-options.
15109 (display-buffer-normalize-alist-1): New function.
15110 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15111 display-buffer-normalize-alist.
15112 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15113 (display-buffer-normalize-options-inhibit): New variable.
15114 (display-buffer-normalize-specifiers): Rewrite calling
15115 display-buffer-normalize-alist,
15116 display-buffer-normalize-argument, and
15117 display-buffer-normalize-options. Don't call the latter if
15118 display-buffer-normalize-options-inhibit is non-nil.
15119 (frame-auto-delete): New option.
15120 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15121 (window-list-no-nils, window-state-ignored-parameters)
15122 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15123 (window-state-put-1, window-state-put-2, window-state-put):
15124 New functions.
9a028c23
MR
15125 (display-buffer-normalize-options): Move special-display-p group
15126 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15127
6d10d800
CY
151282011-06-18 Chong Yidong <cyd@stupidchicken.com>
15129
6420d28b
CY
15130 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15131 groups (Bug#8776).
15132 (rx-submatch-n): New function.
15133 (rx): Document it.
15134
ddb8b596
CY
15135 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15136 (Bug#8768).
15137
15138 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15139
77080289
CY
15140 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15141
61dfb316
CY
15142 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15143 anytime existing face settings are present (Bug#8889).
15144
6d10d800
CY
15145 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15146 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15147 Remove unused argument.
15148
be3fb2b8
MR
151492011-06-18 Martin Rudalics <rudalics@gmx.at>
15150
bcd70d97
SM
15151 * window.el (display-buffer-default-specifiers):
15152 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15153 pop-up-window-min-width, and another reuse-window specifier
15154 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15155 (display-buffer-normalize-specifiers-2):
15156 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15157 pop-up-windows is unset. Add a reuse-window specifier for the
15158 case popping up a new window fails.
15159 (special-display-popup-frame): Remove double quoting.
28dec25a 15160 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15161
1c6d8c76
SM
151622011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15165 according to comint-completion-addsuffix.
15166
15167 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15168 (pcomplete-suffix-list): Mark as obsolete.
15169 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15170 pcomplete-seen in the closure.
15171 (pcomplete-comint-setup): Setup completion-at-point as well.
15172 (pcomplete--entries): New function.
15173 (pcomplete--env-regexp): New var.
15174 (pcomplete-entries): Rewrite to work with partial-completion and
15175 without relying on pcomplete-suffix-list.
15176 (pcomplete-pare-list): Remove, unused.
15177
25aef8b8
MR
151782011-06-17 Martin Rudalics <rudalics@gmx.at>
15179
15180 * window.el (display-buffer-alist): Set pop-up-window-min-height
15181 and pop-up-window-min-width in default value. Reported by
15182 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15183 other-window-means-other-frame.
15184 (display-buffer-macro-specifiers): Comment out entry for
15185 other-window specifier.
15186 (display-buffer-other-window-means-other-frame): New function.
15187 (display-buffer-normalize-specifiers-1): New arguments
15188 buffer-name and label. Treat other-window case specially.
15189 (display-buffer-normalize-specifiers-2): Treat other-window case
15190 specially.
15191 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15192 (display-buffer-normalize-specifiers):
15193 Call display-buffer-normalize-specifiers-3.
25aef8b8 15194
dbad4f69
MR
151952011-06-17 Martin Rudalics <rudalics@gmx.at>
15196
15197 * window.el (same-window-p): Fix two typos introduced when
15198 adding with-no-warnings.
d1067961
MR
15199 (display-buffer-normalize-specifiers-1): Don't check
15200 pop-up-frames for 'unset initialization.
15201 (display-buffer-normalize-specifiers-2): Major rewrite using
15202 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15203 (pop-up-frames, display-buffer-reuse-frames)
15204 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15205 Suggested by David Engster <deng@randomsample.de>.
15206 (even-window-heights): Initialize to 'unset.
15207 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15208 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15209 other window case.
dbad4f69 15210
9b9c9e3a
MR
152112011-06-16 Martin Rudalics <rudalics@gmx.at>
15212
bcd70d97
SM
15213 * window.el (display-buffer-normalize-specifiers-1):
15214 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15215 second argument of display-buffer (Bug#8865).
981d5c09
MR
15216 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15217 (switch-to-buffer-other-window-same-frame)
15218 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15219 Adams (Bug#8875).
9c2755e9
MR
15220 (display-buffer): Don't check noninteractive when calling
15221 display-buffer-pop-up-frame.
15222 (display-buffer-pop-up-frame): Never pop up a frame in
15223 noninteractive mode (Bug#8857).
67222e1d
MR
15224 (enlarge-window, shrink-window): Don't report an error when the
15225 window can't be resized as requested (Bug#8862).
9b9c9e3a 15226
2b75be67
SM
152272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15228
9ffdd3ba
SM
15229 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15230
cb581a67
SM
15231 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15232
2b75be67
SM
15233 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15234
8c0e3589
AM
152352011-06-15 Alan Mackenzie <acm@muc.de>
15236
cb581a67
SM
15237 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15238 for declarators, disable knr checking to speed up for normal files.
15239 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15240
b96e6cde
LMI
152412011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15242
4bba86e6
LMI
15243 * net/network-stream.el (open-network-stream): Add the keyword
15244 :always-query-capabilities for the case where you want to force a
15245 `plain' network connection, but the protocol still requires the
15246 capabilitiy command (i.e., SMTP and EHLO).
15247
2b75be67 15248 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15249 consistency with other `-live-p' functions.
15250
efdcdbf8
SM
152512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15252
15253 * window.el (same-window-buffer-names, same-window-regexps)
15254 (special-display-frame-alist, special-display-popup-frame)
15255 (special-display-function, special-display-buffer-names)
15256 (special-display-regexps, pop-up-frame-alist)
15257 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15258 (pop-up-windows, split-window-preferred-function)
15259 (split-height-threshold, split-width-threshold, even-window-heights)
15260 (display-buffer-mark-dedicated): Don't encourage the use of
15261 display-buffer-alist from Elisp code.
15262
c5cde042
DN
152632011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15264
15265 * progmodes/python.el (python-mode): Derive from prog-mode.
15266 * progmodes/ps-mode.el (ps-mode):
15267 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15268 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15269 * progmodes/ld-script.el (ld-script-mode): Likewise.
15270
baa1c9ab
MR
152712011-06-15 Martin Rudalics <rudalics@gmx.at>
15272
15273 * window.el (display-buffer-alist): Trim default value to avoid
15274 popping up a new frame (Bug#8857) or reusing an arbitrary window
15275 on another frame.
15276 (display-buffer): Do not fall back on popping up a new frame in
15277 batch mode (Bug#8857).
15278
c5dd5a51
CY
152792011-06-14 Chong Yidong <cyd@stupidchicken.com>
15280
15281 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15282 (custom-theme-summary): New function.
15283 (customize-themes): Use it.
15284
d647b7c4
GM
152852011-06-13 Glenn Morris <rgm@gnu.org>
15286
15287 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15288
9481c002
MR
152892011-06-13 Martin Rudalics <rudalics@gmx.at>
15290
357f93d2
MR
15291 * help.el (help-window): Remove variable.
15292 (help-window-point-marker, temp-buffer-max-height)
15293 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15294 (help-print-return-message): Don't set help-window.
15295 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15296 (help-window-setup-finish): Remove.
15297 (help-window-display-message, help-window-setup)
15298 (with-help-window): Major rewrite based on new
15299 display-buffer-window variable.
15300
15301 * help-mode.el (help-mode-finish): Remove help-window related
15302 code.
15303
15304 * view.el (view-exits-all-viewing-windows): Remove reference to
15305 view-return-to-alist in doc-string.
15306 (view-return-to-alist): Make obsolete.
15307 (view-buffer): Call pop-to-buffer-same-window and remove
15308 undo-window code.
15309 (view-buffer-other-window): Call pop-to-buffer-other-window and
15310 simplify code. Ignore second argument.
15311 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15312 simplify code. Ignore second argument.
15313 (view-return-to-alist-update): Make obsolete.
15314 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15315 Rewrite using quit-restore window parameters.
2b75be67
SM
15316 (view-mode-exit): Rename second argument to EXIT-ONLY.
15317 Rewrite using quit-restore-window.
357f93d2
MR
15318 (View-exit, View-exit-and-edit, View-leave, View-quit)
15319 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15320 appropriate arguments.
15321 (view-end-message): Use quit-restore window parameter.
15322
9481c002
MR
15323 * window.el (display-buffer-function): Rewrite doc-string.
15324 (display-buffer-window, display-buffer-alist): New variables.
15325 (display-buffer-split-specifiers)
15326 (display-buffer-side-specifiers)
15327 (display-buffer-macro-specifiers): New constants.
15328 (display-buffer-even-window-sizes, display-buffer-set-height)
15329 (display-buffer-set-width, display-buffer-select-window)
15330 (display-buffer-in-window, display-buffer-reuse-window)
15331 (display-buffer-split-window-1, display-buffer-split-window)
15332 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15333 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15334 (display-buffer-in-side-window, normalize-buffer-to-display)
15335 (display-buffer-normalize-specifiers-1)
15336 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15337 (display-buffer-normalize-specifiers, display-buffer-frame):
15338 New functions.
9481c002
MR
15339 (display-buffer): Major rewrite.
15340 (display-buffer-other-window, display-buffer-other-frame)
15341 (pop-to-buffer, switch-to-buffer-other-window)
15342 (switch-to-buffer-other-frame): Rewrite.
15343 (display-buffer-same-window, display-buffer-same-frame)
15344 (display-buffer-same-frame-other-window)
15345 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15346 (pop-to-buffer-other-window)
15347 (pop-to-buffer-same-frame-other-window)
15348 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15349 (switch-to-buffer-other-window-same-frame): New functions.
15350 (same-window-p, special-display-p): Rewrite disabling warnings.
15351 Make obsolete.
15352 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15353 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15354 Make obsolete
15355 (same-window-buffer-names, same-window-regexps)
15356 (special-display-frame-alist, special-display-popup-frame)
15357 (special-display-function, special-display-buffer-names)
15358 (special-display-regexps, pop-up-frame-alist)
15359 (pop-up-frame-function, split-window-preferred-function)
15360 (split-height-threshold, split-width-threshold)
15361 (even-window-heights): Make obsolete.
15362
9db51aca
GM
153632011-06-12 Glenn Morris <rgm@gnu.org>
15364
15365 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15366 Misc simplifications.
9db51aca 15367
39cffb44
MR
153682011-06-12 Martin Rudalics <rudalics@gmx.at>
15369
15370 * window.el (window-safely-shrinkable-p): Restore function which
15371 was inadvertently removed in change from 2011-06-11. Declare as
15372 obsolete.
15373
2b75be67
SM
15374 * calendar/calendar.el (calendar-generate-window):
15375 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15376 window-safely-shrinkable-p.
15377
a8955be7
GM
153782011-06-12 Glenn Morris <rgm@gnu.org>
15379
15380 * progmodes/fortran.el (fortran-mode-syntax-table):
15381 * progmodes/f90.el (f90-mode-syntax-table):
15382 Set % to punctuation. (Bug#8820)
15383 (f90-find-tag-default): Remove, no longer needed.
15384
f0d4059d
DC
153852011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15386
15387 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15388
1100a63c
CY
153892011-06-11 Chong Yidong <cyd@stupidchicken.com>
15390
15391 * image.el (image-animated-p): Return animation delay in seconds.
15392 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15393 (image-animate-timeout): Remove DELAY argument. Don't assume
15394 every subimage has the same delay; get it from image-animated-p.
15395 (image-animate): Caller changed.
15396
def722bf
MA
153972011-06-11 Michael Albinus <michael.albinus@gmx.de>
15398
15399 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15400 to ignored backtrace functions.
15401
0a2bb1a9
GM
154022011-06-11 Glenn Morris <rgm@gnu.org>
15403
15404 * calendar/appt.el (appt-disp-window-function): Doc fix.
15405 (appt-check): Handle overlapping appointments. (Bug#8337)
15406
6198ccd0
MR
154072011-06-11 Martin Rudalics <rudalics@gmx.at>
15408
15409 * window.el (window-tree-1, window-tree): New functions, moving
15410 the latter to window.el.
15411 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15412 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15413 (bw-refresh-edges): Remove.
15414 (balance-windows-1, balance-windows-2): New functions.
15415 (balance-windows): Rewrite in terms of window tree functions,
15416 balance-windows-1 and balance-windows-2.
15417 (bw-adjust-window): Remove.
15418 (balance-windows-area-adjust): New function with functionality of
15419 bw-adjust-window but using resize-window.
2b75be67
SM
15420 (set-window-text-height): Rewrite doc-string.
15421 Use normalize-live-window and resize-window.
15422 (enlarge-window-horizontally, shrink-window-horizontally):
15423 Rename argument to DELTA.
6198ccd0
MR
15424 (window-buffer-height): New function.
15425 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15426 Rewrite using new window resize routines.
2b75be67
SM
15427 (kill-buffer-and-window, mouse-autoselect-window-select):
15428 Use ignore-errors instead of condition-case.
6198ccd0
MR
15429 (quit-window): Call delete-frame instead of delete-windows-on
15430 for the only buffer on frame.
15431
9397e56f
MR
154322011-06-10 Martin Rudalics <rudalics@gmx.at>
15433
15434 * loadup.el (top-level): Load window before files for the sake
15435 of replace-buffer-in-windows.
15436
15437 * files.el (read-buffer-to-switch)
15438 (switch-to-buffer-other-window)
2b75be67
SM
15439 (switch-to-buffer-other-frame, display-buffer-other-frame):
15440 Move to window.el.
9397e56f
MR
15441
15442 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15443 (previous-buffer): Move to window.el.
15444
15445 * bindings.el (unbury-buffer): Move to window.el.
15446
15447 * window.el (delete-other-windows-vertically): Move after
15448 definition of delete-other-windows.
15449 (other-window, delete-windows-on, replace-buffer-in-windows):
15450 Move here from window.c.
15451 (record-window-buffer, unrecord-window-buffer)
15452 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15453 (switch-to-next-buffer): New functions.
15454 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15455 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15456 (previous-buffer): Move here from simple.el.
15457 Call switch-to-prev-buffer.
9397e56f
MR
15458 (bury-buffer): Move here from buffer.c. Switch to previous
15459 buffer when window cannot be deleted.
15460 (unbury-buffer): Move here from bindings.el.
15461 (ctl-x-map): Move binding for other-window from window.c to
15462 here.
15463 (read-buffer-to-switch, switch-to-buffer-other-window)
15464 (switch-to-buffer-other-frame): Move here from files.el.
15465 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15466 (switch-to-buffer): Move here from buffer.c.
15467 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15468
562dd5e9
MR
154692011-06-10 Martin Rudalics <rudalics@gmx.at>
15470
15471 * window.el (window-min-height, window-min-width): Move here
15472 from window.c. Add defcustoms and rewrite doc-strings.
15473 (resize-mini-window, resize-window): New functions.
15474 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15475 Move here from window.c.
15476 (maximize-window, minimize-window): New functions.
15477 (delete-window, delete-other-windows, split-window): Move here
15478 from window.c.
15479 (window-split-min-size): New function.
15480 (split-window-keep-point): Mention split-window-above-each-other
15481 instead of split-window-vertically.
2b75be67 15482 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15483 Rename split-window-vertically to split-window-above-each-other
15484 and provide defalias for old definition.
15485 (split-window-side-by-side, split-window-horizontally):
15486 Rename split-window-horizontally to split-window-side-by-side
15487 and provide defalias for the old definition.
562dd5e9
MR
15488 (ctl-x-map): Move bindings for delete-window,
15489 delete-other-windows and enlarge-window here from window.c.
15490 Replace bindings for split-window-vertically and
15491 split-window-horizontally by bindings for
15492 split-window-above-each-other and split-window-side-by-side.
15493
15494 * cus-start.el (all): Remove entries for window-min-height and
15495 window-min-width. Add entries for window-splits and
15496 window-nest.
15497
f0da764a
GM
154982011-06-09 Glenn Morris <rgm@gnu.org>
15499
80675c21
GM
15500 * calendar/appt.el (appt-mode-line): New function.
15501 (appt-check, appt-disp-window): Use it.
15502
f0da764a
GM
15503 * files.el (hack-one-local-variable-eval-safep):
15504 Allow minor-modes with explicit +/-1 arguments.
15505
59f623b7
TZ
155062011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15507
15508 * term/xterm.el (xterm): Add defgroup.
15509 (xterm-extra-capabilities): Add defcustom to supply known xterm
15510 capabilities, skip querying them, or query them (default).
15511 (terminal-init-xterm): Use it.
15512 (terminal-init-xterm-modify-other-keys): New function to set up
15513 modifyOtherKeys support to simplify `terminal-init-xterm'.
15514
9aab8e0d
MR
155152011-06-09 Martin Rudalics <rudalics@gmx.at>
15516
15517 * window.el (resize-window-reset, resize-window-reset-1)
15518 (resize-subwindows-skip-p, resize-subwindows-normal)
15519 (resize-subwindows, resize-other-windows, resize-this-window)
15520 (resize-root-window, resize-root-window-vertically)
15521 (window-deletable-p, window-or-subwindow-p)
15522 (frame-root-window-p): New functions.
15523
e8b08aee
GM
155242011-06-09 Glenn Morris <rgm@gnu.org>
15525
15526 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15527 (ange-ftp-get-files): Use it.
15528
254c37a5
AK
155292011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15530
15531 * mail/sendmail.el (mail-recover-1, mail-recover):
15532 * files.el (recover-file, recover-session):
15533 Handle dired-listing-switches not being just a single short option.
15534
35d7dbd3
GM
155352011-06-09 Glenn Morris <rgm@gnu.org>
15536
15537 * calendar/appt.el (appt-display-message, appt-disp-window):
15538 Handle lists of appointments.
15539
387522b2
MR
155402011-06-08 Martin Rudalics <rudalics@gmx.at>
15541
2b75be67
SM
15542 * window.el (one-window-p): Move down in code.
15543 Rewrite doc-string.
15544 (window-current-scroll-bars): Rewrite doc-string.
15545 Normalize live window argument.
387522b2
MR
15546 (walk-windows, get-window-with-predicate, count-windows):
15547 Rewrite doc-string. Use window-list-1.
15548 (window-in-direction-2, window-in-direction, get-mru-window):
15549 New functions.
15550
d8e4b68b 155512011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15552
15553 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15554 Doc fix (Bug#8713).
15555
155562011-06-08 Chong Yidong <cyd@stupidchicken.com>
15557
15558 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15559
155602011-06-08 Juanma Barranquero <lekktu@gmail.com>
15561
15562 * loadhist.el (unload-feature-special-hooks):
15563 Add `comint-output-filter-functions'.
15564
0de12c52
IK
155652011-06-08 Ivan Kanis <gnu@kanis.fr>
15566
15567 * calendar/appt.el (appt-check): Move some initializations into the let.
15568
f3d1777e
MR
155692011-06-08 Martin Rudalics <rudalics@gmx.at>
15570
15571 * window.el (window-height): Defalias to window-total-height.
15572 (window-width): Defalias to window-body-width.
15573
18af70d0
CY
155742011-06-07 Chong Yidong <cyd@stupidchicken.com>
15575
15576 * image-mode.el (image-toggle-animation): New command.
15577 (image-mode-map): Bind it to RET.
15578 (image-mode): Update message.
15579 (image-toggle-display-image): Avoid a spurious cache flush.
15580 (image-transform-rotation): Doc fix.
15581 (image-transform-properties): Return quickly in the normal case.
15582 (image-animate-loop): Rename from image-animate-max-time.
15583
2b75be67 15584 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15585 (create-animated-image): Remove unnecessary function.
15586 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15587 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15588 (image-animate-timer): Use car-safe.
15589 (image-animate-timeout): Rename argument.
15590
190b47e6
MR
155912011-06-07 Martin Rudalics <rudalics@gmx.at>
15592
15593 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15594 window.c. Rename first argument to ALL-FRAMES.
15595 Rephrase doc-strings.
15596 (get-buffer-window-list): Rewrite using window-list-1.
15597 Rephrase doc-string.
a1511caf
MR
15598 (window-safe-min-height, window-safe-min-width): New constants.
15599 (window-size-ignore, window-min-size, window-min-size-1)
15600 (window-sizable, window-sizable-p, window-size-fixed-1)
15601 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15602 (window-max-delta-1, window-max-delta, window-resizable)
15603 (window-resizable-p, window-total-height, window-total-width)
15604 (window-body-width): New functions.
15605 (window-full-height-p, window-full-width-p): Rewrite using
15606 window-total-size.
15607 (window-body-height): Rewrite using window-body-size.
190b47e6 15608
85cc1f11
MR
156092011-06-06 Martin Rudalics <rudalics@gmx.at>
15610
15611 * window.el (window-right, window-left, window-child)
15612 (window-child-count, window-last-child, window-any-p)
15613 (normalize-live-buffer, normalize-live-frame)
15614 (normalize-any-window, normalize-live-window)
15615 (window-iso-combination-p, window-iso-combined-p)
15616 (window-iso-combinations)
15617 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15618 (windows-with-parameter, window-with-parameter)
15619 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15620 (window-atom-check, window-side-check, window-check):
15621 New functions.
85cc1f11
MR
15622 (ignore-window-parameters, window-sides, window-sides-vertical)
15623 (window-sides-slots): New variables.
15624 (window-size-fixed): Move down in code. Minor doc-string fix.
15625
e7156492
AS
156262011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15627
15628 * comint.el (comint-dynamic-complete-as-filename)
15629 (comint-dynamic-complete-filename): Correctly call
15630 completion-in-region.
15631
7e821d0d
DD
156322011-06-05 Deniz Dogan <deniz@dogan.se>
15633
15634 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15635 in last change.
15636
ac09b8a1
DD
156372011-06-05 Deniz Dogan <deniz@dogan.se>
15638
15639 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15640 (rcirc): Use it to prompt for encryption.
15641
34699b85
RW
156422011-06-05 Roland Winkler <winkler@gnu.org>
15643
15644 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15645 (bibtex-search-entries): New command bound to C-c C-a.
15646 (bibtex-display-entries): New function.
15647
004dedd3
RW
156482011-06-05 Roland Winkler <winkler@gnu.org>
15649
15650 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15651 (bibtex-insert-kill): After yanking insert newline if necessary.
15652 (bibtex-initialize): Call bibtex-string-files-init only once.
15653 (bibtex-mode): Do not call easy-menu-add.
15654 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15655 (bibtex-yank): Set arg properly if nil.
15656
022fe7ce
RW
156572011-06-05 Roland Winkler <winkler@gnu.org>
15658
2b75be67
SM
15659 * textmodes/bibtex.el (bibtex-search-entry-globally):
15660 New variable.
022fe7ce
RW
15661 (bibtex-search-entry): Use it.
15662
b7c3692a
RW
156632011-06-05 Roland Winkler <winkler@gnu.org>
15664
15665 * textmodes/bibtex.el (bibtex-entry-format): New option
15666 sort-fields.
15667 (bibtex-format-entry, bibtex-reformat): Honor this option.
15668 (bibtex-parse-entry): Return fields in proper order.
15669
8eda563d
JB
156702011-06-05 Juanma Barranquero <lekktu@gmail.com>
15671
15672 * doc-view.el (doc-view-remove-if): Move computation of result out
15673 of `dolist' to silence misleading lexical-binding warning.
15674
7dbe3dbc
CY
156752011-06-04 Chong Yidong <cyd@stupidchicken.com>
15676
15677 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15678 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15679
0c33dd17
MA
156802011-06-04 Michael Albinus <michael.albinus@gmx.de>
15681
15682 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15683 "SunOS 5.10".
15684
f8f91c2b
MA
156852011-06-04 Michael Albinus <michael.albinus@gmx.de>
15686
15687 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15688 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15689 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15690 (tramp-parse-putty):
15691 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15692 (tramp-completion-function-alist-ssh)
15693 (tramp-completion-function-alist-telnet)
15694 (tramp-completion-function-alist-su)
15695 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15696 cookie.
15697
15698 * net/tramp-ftp.el:
15699 * net/tramp-sh.el:
15700 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15701 load "tramp.el" `tramp-set-completion-function'.
15702
e17d9003
SM
157032011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15704
15705 * shell.el: Require and use pcomplete.
15706 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15707 (shell-completion-vars): Set pcomplete-default-completion-function.
15708
6c4cab03
DD
157092011-06-04 Deniz Dogan <deniz@dogan.se>
15710
15711 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15712 `memq' (Bug#8799).
15713
ea9fafe0
SM
157142011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15715
15716 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15717
b3e945d3
JB
157182011-06-02 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15721 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15722 * vc/log-view.el (log-view-beginning-of-defun):
15723 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15724 (smerge-refine-forward, smerge-refine-chopup-region):
15725 Silence warning for unused `dotimes' counter variables.
15726
7d520089
SM
157272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * net/tramp.el (tramp-with-progress-reporter): Rename from
15730 with-progress-reporter. Use `declare'.
15731 * net/tramp-smb.el:
15732 * net/tramp-sh.el:
15733 * net/tramp-gvfs.el: Update all uses.
15734
a1c2400f
JB
157352011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15736
15737 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15738 buffer isn't killed before making it current.
15739
2403c841
SM
157402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 Silence various byte-compiler warnings.
15743 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15744 `access-type' and new obsolescence format.
15745 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15746 new format.
15747 (byte-compile-check-variable): New `access-type' argument.
15748 Only warn if the access-type is obsolete.
15749 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15750 (byte-compile-variable-set): Adjust callers.
15751 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15752 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15753 setting it as obsolete.
15754 * simple.el (minibuffer-completing-symbol):
15755 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15756 access as obsolete.
15757 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15758 obsolete yet.
15759 * international/quail.el (quail-mouse-choose-completion): Remove unused
15760 code referring to obsolete var.
15761 (quail-choose-completion-string): Remove.
15762 * server.el (server-clients-with, server-kill-buffer-query-function)
15763 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15764 * proced.el (proced-send-signal):
15765 * emacs-lisp/lisp.el (lisp-complete-symbol):
15766 Replace completion-annotate-function with completion-extra-properties.
15767
2462470b
SM
157682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15769
fb5b2591
SM
15770 * simple.el (goto-line): Use read-number.
15771 (overriding-map-is-bound): Remove.
15772 (saved-overriding-map): Change default.
15773 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15774 Take the map as argument.
15775 (universal-argument, negative-argument, digit-argument): Use it.
15776 (restore-overriding-map): Adjust.
15777 (do-auto-fill): Use fill-forward-paragraph.
15778 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15779
fd6fa53f
SM
15780 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15781 (minibuffer-inactive-mode): New major mode.
15782 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15783 the *Messages* buffer" hack.
15784 (mouse-popup-menubar): Don't burp if the event is a normal key.
15785
2462470b
SM
15786 Miscellaneous tweaks.
15787 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15788 lexical scoping as in subr.el's dolist and dotimes.
15789 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15790 Silence compiler warning.
15791 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15792 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15793 * international/ccl.el (ccl-compile): Trivial simplification.
15794 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15795 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15796 `printflag' argument.
15797 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15798 Purecopy the whole obsolescence data.
15799
108bf785
LL
158002011-06-01 Leo Liu <sdl.web@gmail.com>
15801
15802 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15803 improve doc-string as suggested by Marco Pessotto
15804 <melmothx@gmail.com>.
15805 (rcirc-print): Fix last change.
15806
30a23501
SM
158072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * minibuffer.el (complete-with-action): Return nil for the metadata and
15810 boundaries of non-functional tables.
15811 (completion-table-dynamic): Return nil for the metadata.
15812 (completion-table-with-terminator): Add default case, using
15813 complete-with-action.
15814 (completion--metadata): New function.
15815 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15816 to try and avoid pathological performance problems.
15817 (completion--embedded-envvar-table): Return `category' metadata.
15818
bcd54f83
LMI
158192011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15820
15821 * subr.el (process-alive-p): New tiny convenience function.
15822
e227544d
SM
158232011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15824
15825 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15826 content but also its previous major mode.
15827
e8296fdc
HE
158282011-05-31 Helmut Eller <eller.helmut@gmail.com>
15829
4d61f28d 15830 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15831 *Backtrace* buffer when we exit with C-M-c.
15832
620c53a6
SM
158332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15834
15835 * minibuffer.el: Add metadata method to completion tables.
15836 (completion-category-overrides): New defcustom.
15837 (completion-metadata, completion--field-metadata)
15838 (completion-metadata-get, completion--styles)
15839 (completion--cycle-threshold): New functions.
15840 (completion-try-completion, completion-all-completions):
15841 Add `metadata' argument to choose completion-styles.
15842 (completion--do-completion): Use metadata to choose cycling.
15843 (completion-all-sorted-completions): Use metadata for sorting.
15844 Remove :completion-cycle-penalty which is not needed any more.
15845 (completion--try-word-completion): Add `metadata' argument.
15846 (minibuffer-completion-help): Check metadata for annotation function
15847 and sorting.
15848 (completion-file-name-table): Return `category' metadata.
15849 (minibuffer-completing-file-name): Make obsolete.
15850 * simple.el (minibuffer-completing-symbol): Make obsolete.
15851 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15852 completion-try-completion.
15853
1257e755
SM
158542011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15855
15856 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15857
3767e706
LL
158582011-05-30 Leo Liu <sdl.web@gmail.com>
15859
15860 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15861 (rcirc-print): Decode all incoming messages (bug#8744).
15862 (rcirc-decode-coding-system): Allow value nil for automatic coding
15863 system detection.
3767e706 15864
d1a5d56a
GM
158652011-06-01 Glenn Morris <rgm@gnu.org>
15866
15867 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15868
e8cbec34
CY
158692011-05-29 Chong Yidong <cyd@stupidchicken.com>
15870
15871 * image.el (image-animate-max-time): Allow nil and t values.
15872 Default to nil.
15873 (create-animated-image): Doc fix.
15874 (image-animate-start): Remove second arg; just use
15875 image-animate-max-time.
15876 (image-animate-timeout): Doc fix. Args changed.
15877
15878 * image-mode.el (image-toggle-display-image): Ensure that the
15879 image spec passed to the animate timer is the same object as in
58179cce 15880 the buffer's display property (Bug#6981).
e8cbec34
CY
15881 (image-transform-properties): Doc fix.
15882
15883 * image.el (image-animate-max-time): Default to nil.
15884
159daf87
MR
158852011-05-29 Martin Rudalics <rudalics@gmx.at>
15886
15887 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15888 entire buffer list (Bug#8184).
15889
d66c4c7c
CY
158902011-05-29 Chong Yidong <cyd@stupidchicken.com>
15891
15892 * image.el (imagemagick-types-inhibit)
15893 (imagemagick-register-types): Doc fix.
15894
80aec780
DD
158952011-05-29 Deniz Dogan <deniz@dogan.se>
15896
15897 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15898 default.
15899
1dd3c2d9
CY
159002011-05-29 Chong Yidong <cyd@stupidchicken.com>
15901
15902 * select.el: Don't perform clipboard-manager saving in hooks;
15903 leave the hooks empty.
15904
60e56523
LL
159052011-05-28 Leo Liu <sdl.web@gmail.com>
15906
15907 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15908 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15909 (occur-edit-mode): New major mode (Bug#8463).
15910 (occur-after-change-function): New function.
15911 (occur-engine): Give Occur tags a read-only property.
15912
2b1e1a22
KR
159132011-05-28 Kevin Ryde <user42@zip.com.au>
15914
15915 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15916
5d344e88
CY
159172011-05-28 Chong Yidong <cyd@stupidchicken.com>
15918
8e6ca83d
CY
15919 * bindings.el (help-echo): Make the initial non-indicator dash
15920 empty on graphical terminals (Bug#7295).
15921
5d344e88
CY
15922 * files.el (auto-mode-alist): Move config rule after the
15923 in-stripping one (Bug#8547).
15924
bfbbace7
CY
15925 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15926
fbeba6e2
CY
15927 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15928 setting (Bug#8740).
15929
60ed8c72
AA
159302011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15931
4ac619f0
AA
15932 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15933 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15934 (Bug#8539).
60ed8c72 15935
23db196e
CY
159362011-05-28 Chong Yidong <cyd@stupidchicken.com>
15937
15938 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15939
5012f24c
DK
159402011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15941
15942 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15943 (hs-hide-block-at-point, hs-find-block-beginning)
15944 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15945 (Bug#8279).
15946
6a639b16
GM
159472011-05-28 Glenn Morris <rgm@gnu.org>
15948
15949 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15950
d43eaf2c
CY
159512011-05-28 Chong Yidong <cyd@stupidchicken.com>
15952
5199bde1
CY
15953 * help-fns.el (describe-function-1): If the function is a derived
15954 major mode, print the parent mode.
15955
d43eaf2c
CY
15956 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15957 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15958
423428a8
SM
159592011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15960
0ff8e1ba 15961 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15962 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15963 * progmodes/etags.el (tags-completion-at-point-function):
15964 * info-look.el (info-lookup-completions-at-point): Mark as
15965 non-exclusive.
15966 (info-complete): Adjust accordingly.
15967
423428a8
SM
15968 * info-look.el: Convert to lexical-binding and completion-at-point.
15969 (info-lookup-completions-at-point): New function.
15970 (info-complete): Use it and completion-in-region.
15971
b74aa22b
DA
159722011-05-28 Drew Adams <drew.adams@oracle.com>
15973
15974 * isearch.el: Let M-e start with point at the first mismatched char.
15975 (isearch-fail-pos): New function.
15976 (isearch-edit-string): Use it.
15977
66e2e71d
DK
159782011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15979
15980 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15981
b1890b0f 159822011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15983
15984 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15985 traversal functions for avl-trees.
15986 (avl-tree--stack): New struct.
15987 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15988 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15989 (avl-tree--do-enter): Add optional `updatefun' arg.
15990 Change return value.
eb95d01d 15991 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15992 (avl-tree--do-delete): Add `test' and `nilflag' args.
15993 Change return value.
eb95d01d
TC
15994 (avl-tree-member): Add optional `nilflag'
15995 (avl-tree-member-p): New function.
15996 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15997 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15998 (avl-tree-stack-empty-p): New functions.
15999
3769ddcf
TC
16000 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16001 avl-tree--del-balance1 and make it work both ways.
16002 (avl-tree--del-balance2): Remove.
16003 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16004 make it work both ways.
16005 (avl-tree--enter-balance2): Remove.
16006 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16007 New macros.
16008 (avl-tree--mapc, avl-tree-map): Add direction argument.
16009
eb95d01d 160102011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16011
16012 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16013
a9f737ee
CY
160142011-05-27 Chong Yidong <cyd@stupidchicken.com>
16015
16016 * select.el: Support clipboard managers with built-in function
16017 x-clipboard-manager-save, via delete-frame-functions and
16018 kill-emacs-hook.
16019 (xselect-convert-to-targets): Add MULTIPLE target to list.
16020 (xselect-convert-to-save-targets): New function.
16021
c92a1e54
KH
160222011-05-27 Kenichi Handa <handa@m17n.org>
16023
16024 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16025 let-binding rfc2047-encode-encoded-words to nil.
16026
e145f188
GM
160272011-05-27 Glenn Morris <rgm@gnu.org>
16028
5ec8a862
GM
16029 * mail/emacsbug.el: Don't require url-util.
16030
4b29d9fb
GM
16031 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16032
e145f188
GM
16033 * files.el (set-auto-mode):
16034 Also respect mode: entries at the end of the file. (Bug#8586)
16035
7d15102b
GM
160362011-05-26 Glenn Morris <rgm@gnu.org>
16037
98f593b8
GM
16038 * files.el (hack-local-variables-prop-line, hack-local-variables):
16039 Downcase mode names, as seems to be traditional.
27b48e63 16040 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16041
7d15102b
GM
16042 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16043 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16044
51d5b4ec
JD
160452011-05-25 Julien Danjou <julien@danjou.info>
16046
16047 * textmodes/rst.el (rst-define-level-faces): Do not define face
16048 symbol if it is already defined.
16049
91513f63
VB
160502011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16051
16052 * play/5x5.el (5x5-new-game, 5x5-randomize):
16053 Reset 5x5-solver-output to nil when a new grid is cast.
16054 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16055 these debugging traces, as defmacro breaks the compiled code.
16056
4d90d6d0
DK
160572011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16058
16059 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16060
e1b90ef6
LL
160612011-05-24 Leo Liu <sdl.web@gmail.com>
16062
16063 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16064 (vc-bzr-sha1): Adapt.
16065
d8e4b68b 16066 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16067
16068 * bindings.el: Provide sha1 feature.
16069
db0406bb 160702011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16071
16072 * mail/sendmail.el: Require `rfc2047'.
16073 (mail-insert-from-field): Do not perform RFC2047 encoding.
16074 (mail-encode-header): New function.
16075 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16076 buffer to the return value of select-message-coding-system.
16077 Call mail-encode-header.
b8d747b9
KH
16078
16079 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16080
db0406bb 160812011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16082
4d90d6d0
DK
16083 * mail/supercite.el (sc-default-cite-frame):
16084 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16085
eb8a5e9b
GM
160862011-05-24 Glenn Morris <rgm@gnu.org>
16087
f8630703
GM
16088 * progmodes/python.el (brm-menu): Declare.
16089
8831bbed
GM
16090 * emulation/viper.el (viper-set-hooks): Declare.
16091
eb8a5e9b
GM
16092 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16093 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16094 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16095 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16096 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16097 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16098
a2a25d24
SM
160992011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16100
16101 Add an :exit-function for completion-at-point.
16102
16103 * minibuffer.el (completion--done): New fun.
16104 (completion--do-completion): Use it. New arg `expect-exact'.
16105 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16106 since completion--do-completion does it for us now.
16107 (minibuffer-force-complete): Use completion--done and
16108 completion--replace. Handle sole-completion case with more care.
16109 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16110 (completion-extra-properties): New var.
16111 (completion-annotate-function): Make obsolete.
16112 (minibuffer-completion-help): Adjust accordingly.
16113 Use completion-list-insert-choice-function.
16114 (completion-at-point, completion-help-at-point):
16115 Bind completion-extra-properties.
16116 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16117 * simple.el (completion-list-insert-choice-function): New var.
16118 (completion-setup-function): Preserve it.
16119 (choose-completion): Pay attention to it, shuffle the code a bit.
16120 (choose-completion-string): New arg `insert-function'.
16121
16122 * textmodes/bibtex.el: Convert to lexical binding.
16123 (bibtex-mode-map): Use completion-at-point.
16124 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16125 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16126 (bibtex-complete): Define as obsolete alias.
16127 (bibtex-complete-internal): Remove.
16128 (bibtex-format-entry): Remove unused sub-group in regexp.
16129 * shell.el (shell--command-completion-data)
16130 (shell-environment-variable-completion):
16131 * pcomplete.el (pcomplete-completions-at-point):
16132 * comint.el (comint--complete-file-name-data): Use :exit-function
16133 instead of completion-table-with-terminator so it also works for
16134 choose-completion.
16135
e44e373d
SM
161362011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16137
4f91a816
SM
16138 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16139
782fc819
SM
16140 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16141 (bug#8710).
16142
e44e373d
SM
16143 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16144
381987c3
KM
161452011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16146
16147 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16148 customization variable and implement: If non-nil, auto-fill will
16149 be inhibited while on topic's header line.
16150
b776bc70
VB
161512011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16152
16153 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16154 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16155 always have a solution in grid size = 5 cases.
16156 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16157 (5x5-solver-output, 5x5-log-buffer): New vars.
16158 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16159 Make these variables buffer local to achieve 5x5 multi-session-ness.
16160 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16161 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16162 (5x5-solve-suggest): New funs.
16163 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16164 randomize a grid so that we ensure that there is always a solution.
16165 (5x5-make-random-grid): Allow other movement than flipping.
16166
7de88b6e
KR
161672011-05-23 Kevin Ryde <user42@zip.com.au>
16168
16169 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16170 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16171 advice and passes PREDICATE.
16172
b1ef1257
SM
161732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16174
bbca48fe
SM
16175 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16176 byte-compile-lambda if it's actually a lambda.
16177
b1ef1257
SM
16178 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16179 Fix function quoting. Use backquote better.
16180
92a9cc65
YS
161812011-05-22 Yuanle Song <sylecn@gmail.com>
16182
16183 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16184 matching (Bug#8516).
16185
f0fb8059
JA
161862011-01-22 Jari Aalto <jari.aalto@cante.net>
16187
16188 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16189 different face (Bug#8178).
16190
d5b44c93
CY
161912011-05-22 Chong Yidong <cyd@stupidchicken.com>
16192
16193 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16194 defface (Bug#8144).
16195
79106a44
SM
161962011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16197
9c848d8a
SM
16198 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16199 funcall as well (bug#8712). Warn when performing those conversions.
16200 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16201
79106a44
SM
16202 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16203
88dfa756
GM
162042011-05-22 Glenn Morris <rgm@gnu.org>
16205
16206 * files.el (hack-local-variables-prop-line): Small simplifications.
16207 (hack-local-variables, hack-local-variables-prop-line):
16208 If MODE-ONLY, return the mode, rather than just `t'.
16209
b7cf2c79
SM
162102011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16211
16212 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16213
3f1a8558
GM
162142011-05-21 Glenn Morris <rgm@gnu.org>
16215
7e4ccca3
GM
16216 * files.el (hack-local-variables-prop-line, hack-local-variables):
16217 If only interested in the mode, don't bother doing the other stuff.
16218
637d46ca
GM
16219 * image-mode.el (image-after-revert-hook):
16220 Redraw all frames on which the image is visible. (Bug#8567)
16221
973d955b
GM
16222 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16223
3f1a8558
GM
16224 * wid-edit.el (widget-checklist-match-inline):
16225 Fix 2011-04-19 change. (Bug#8649)
16226
96479927
SM
162272011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16228
1dcf791f
SM
16229 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16230 Also allow singlespace after single-letter capitals followed by a dot.
16231
96479927
SM
16232 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16233 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16234
35fd0881
N
162352011-05-20 Nix <nix@esperi.org.uk>
16236
16237 * files.el (basic-save-buffer-2):
16238 Fix handling of break-hardlink-on-save with non-existent files.
16239
82745640
DD
162402011-05-19 Deniz Dogan <deniz@dogan.se>
16241
16242 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16243 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16244
4a720484
GM
162452011-05-19 Glenn Morris <rgm@gnu.org>
16246
d1f21341
GM
16247 * progmodes/f90.el (f90-type-def-re):
16248 Handle "type, bind(c)". (Bug#8691)
16249
4a720484
GM
16250 * emacs-lisp/autoload.el (batch-update-autoloads):
16251 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16252
2fb0a219
MA
162532011-05-18 Michael Albinus <michael.albinus@gmx.de>
16254
16255 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16256 property for the correct connection in case of multihops.
16257
e565dd37
GM
162582011-05-18 Glenn Morris <rgm@gnu.org>
16259
c2571358 16260 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16261 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16262
e565dd37
GM
16263 Rationalize calendar handling of day and month abbrev-arrays.
16264 * calendar/calendar.el (calendar-customized-p): New function.
16265 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16266 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16267 Add :set function.
16268 (calendar-abbrev-length, calendar-day-abbrev-array)
16269 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16270 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16271 Elements may no longer be nil.
16272 (calendar-day-name, calendar-month-name):
16273 Update for changed nature of abbrev arrays.
16274 * calendar/diary-lib.el (diary-name-pattern):
16275 Update for changed nature of abbrev arrays.
16276 (diary-mark-entries-1): Update calendar-make-alist calls.
16277 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16278 * calendar/cal-html.el (cal-html-day-abbrev-array):
16279 Simply inherit from calendar-day-abbrev-array.
16280
1d99a745
SM
162812011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * progmodes/grep.el (grep-mode): Disable default
16284 compilation-directory-matcher setting (bug#8684).
16285
7c1d9aa0
MA
162862011-05-17 Michael Albinus <michael.albinus@gmx.de>
16287
16288 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16289 instead of "head" and "tail". There were problems with SunOS 5.9,
16290 and it performs better.
16291
3952e9d8
GM
162922011-05-17 Glenn Morris <rgm@gnu.org>
16293
2dd12e7f
GM
16294 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16295
e4157b9c
GM
16296 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16297 Replace obsolete function.
16298
8e249bbd
GM
16299 * shell.el (pcomplete-parse-arguments-function): Declare.
16300
3952e9d8
GM
16301 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16302 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16303 (appt-check): Doc fixes.
16304 (appt-disp-window-function, appt-delete-window-function):
16305 Remove needless special case in custom :type.
16306 (appt-display-count): Default to 0, not nil.
16307 (appt-check): Reset appt-display-count to 0, not nil.
16308
c71a0d48 163092011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16310
c71a0d48
GM
16311 * progmodes/python.el (python-font-lock-keywords):
16312 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16313
31d55be9
SM
163142011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16315
16316 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16317
3bfacb2f
KR
163182011-05-16 Kevin Ryde <user42@zip.com.au>
16319
16320 * info-look.el (makefile-automake-mode): New setups, looking in
16321 automake manual, then makefile-mode.
16322 (makefile-mode): Remove automake manual, have it just in
16323 makefile-automake-mode since there's various things different or
16324 not relevant to plain make.
16325 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16326 believe a hypothetical automake-mode would go to makefile-mode,
16327 not the other way around.
16328
c8e83751
CY
163292011-05-15 Chong Yidong <cyd@stupidchicken.com>
16330
5e9e35cd
CY
16331 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16332 hunk-end tags (Bug#8672).
16333
c8e83751
CY
16334 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16335 vc-annotate-show-diff-revision-at-line (Bug#8671).
16336
50b23e5a
GM
163372011-05-14 Glenn Morris <rgm@gnu.org>
16338
7210a739
GM
16339 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16340 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16341 (change-log-font-lock-keywords): Also handle multiple author lines
16342 with leading tabs. (Bug#8644)
7210a739 16343
4691905a
GM
16344 * calendar/appt.el (appt-check): Rename some local variables.
16345 Some simplification/reordering.
16346
50b23e5a
GM
16347 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16348 (feedmail-sendmail-f-doesnt-sell-me-out)
16349 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16350 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16351 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16352 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16353 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16354 (feedmail-binmail-gnulinuxish-template):
16355 Rename from feedmail-binmail-linuxish-template.
16356 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16357 Use insert-buffer-substring.
16358
215cda7c
BC
163592011-05-14 Bill Carpenter <bill@carpenter.org>
16360
16361 * mail/feedmail.el (feedmail-patch-level): Increase.
16362 (feedmail-debug): New custom group.
16363 (feedmail-confirm-outgoing-timeout)
16364 (feedmail-sendmail-f-doesnt-sell-me-out)
16365 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16366 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16367 (feedmail-sender-line, feedmail-from-line)
16368 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16369 (feedmail-spray-this-address)
215cda7c
BC
16370 (feedmail-spray-address-fiddle-plex-list)
16371 (feedmail-queue-use-send-time-for-date)
16372 (feedmail-queue-use-send-time-for-message-id)
16373 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16374 (feedmail-buffer-eating-function):
16375 Doc fixes.
16376 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16377 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16378 (feedmail-message-action-scroll-down): New functions.
16379 (feedmail-queue-directory, feedmail-queue-draft-directory):
16380 Use expand-file-name.
16381 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16382 Remove C-v help entry.
16383 (feedmail-queue-buffer-file-name): New variable.
16384 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16385 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16386 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16387 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16388 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16389 (feedmail-message-action-toggle-spray)
16390 (feedmail-run-the-queue-no-prompts)
16391 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16392 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16393 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16394 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16395 (feedmail-envelope-deducer, feedmail-fiddle-from)
16396 (feedmail-fiddle-sender, feedmail-default-date-generator)
16397 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16398 (feedmail-fiddle-spray-address)
16399 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16400 (feedmail-fiddle-list-of-fiddle-plexes)
16401 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16402 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16403 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16404 Change default. Doc fix.
16405 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16406 (feedmail-binmail-linuxish-template): New constant.
16407 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16408 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16409 (feedmail-send-it): Add debug call.
16410 Use feedmail-queue-buffer-file-name, and
16411 feedmail-send-it-immediately-wrapper.
16412 (feedmail-message-action-send): Add debug call.
16413 Use feedmail-send-it-immediately-wrapper.
16414 (feedmail-queue-express-to-queue): Add debug call.
16415 Run feedmail-queue-express-hook.
16416 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16417 (feedmail-message-action-help-blat):
16418 Rename from feedmail-queue-send-edit-prompt-help-first.
16419 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16420 Check line-endings. Handle errors better.
16421 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16422 Doc fix. Add debug call.
16423 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16424 Use feedmail-queue-send-edit-prompt-inner.
16425 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16426 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16427 from feedmail-queue-send-edit-prompt.
16428 (feedmail-queue-send-edit-prompt-help)
16429 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16430 (feedmail-tidy-up-slug): Add debug call.
16431 Respect feedmail-queue-slug-suspect-regexp.
16432 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16433 (feedmail-dump-message-to-queue): Add debug call.
16434 Expand queue-directory.
16435 (feedmail-dump-message-to-queue): Change message slightly.
16436 Use feedmail-say-chatter.
16437 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16438 (feedmail-send-it-immediately-wrapper): New function.
16439 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16440 Insert empty string rather than newline. Handle full-frame case.
16441 Use catch/throw. Use feedmail-say-chatter.
16442 (feedmail-fiddle-from): Try mail-host-address.
16443 (feedmail-default-message-id-generator): Doc fix.
16444 Bind system-time-locale. Handle missing end.
16445 (feedmail-fiddle-x-mailer): Add debug call.
16446 Handle feedmail-x-mailer-line being nil.
16447 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16448 Add debug call. Use buffer-substring-no-properties.
16449 (feedmail-say-debug, feedmail-say-chatter): New functions.
16450 (feedmail-find-eoh): Give an explicit error.
16451
42c7e61e
UJ
164522011-05-13 Ulf Jasper <ulf.jasper@web.de>
16453
c2571358 16454 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16455 family from helvetica to sans.
c2571358 16456 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16457 etc/images/newsticker.
16458
c2571358 16459 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16460 family from helvetica to sans.
16461
16462 * net/newst-plainview.el (newsticker-new-item-face)
16463 (newsticker-old-item-face, newsticker-immortal-item-face)
16464 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16465 (newsticker-statistics-face): Change default family from
42c7e61e 16466 helvetica to sans.
c2571358 16467 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16468 etc/images/newsticker.
16469
5d3385a0
JB
16470 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16471 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16472 auto-marking.
16473
8497a297
DV
164742011-05-13 Didier Verna <didier@xemacs.org>
16475
16476 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16477 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16478 TODO entries.
8497a297
DV
16479 (lisp-lambda-list-keyword-parameter-indentation)
16480 (lisp-lambda-list-keyword-parameter-alignment)
16481 (lisp-lambda-list-keyword-alignment): New customizable user options.
16482 (lisp-indent-defun-method): Improve docstring.
16483 (extended-loop-p): Fix comment.
16484 (lisp-indent-lambda-list-keywords-regexp): New variable.
16485 (lisp-indent-lambda-list): New function.
16486 (lisp-indent-259): Use it.
16487 (lisp-indent-defmethod): Support for more than one
16488 method qualifier and properly indent methods lambda-lists.
16489 (defgeneric): Provide a missing common-lisp-indent-function property.
16490
f278f87f
SM
164912011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16492
16493 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16494 bounds for the empty string (bug#8667).
16495
5233edd7
GM
164962011-05-13 Glenn Morris <rgm@gnu.org>
16497
5237a44f
GM
16498 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16499
8340026c 16500 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16501 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16502
5233edd7 16503 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16504 (appt-time-msg-list): Doc fix.
a5464014 16505 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16506
92d10796
AS
165072011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16508
16509 * progmodes/ld-script.el (ld-script-keywords)
16510 (ld-script-builtins): Update keywords list.
16511
914a0ae1
SM
165122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16513
c89be45f
SM
16514 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16515
914a0ae1
SM
16516 * shell.el (shell-completion-vars): New function.
16517 (shell-mode):
16518 * simple.el (read-shell-command): Use it.
16519 (blink-matching-open): No need for " [...]" in minibuffer-message.
16520
98dc3df3
GM
165212011-05-12 Glenn Morris <rgm@gnu.org>
16522
16523 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16524 (appt-check): Simplify.
16525
d2fc7e3d 165262011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16527
4d61f28d 16528 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16529 literal "/dev/null".
16530
d2fc7e3d 165312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16532
16533 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16534 Fix typo.
16535
d2fc7e3d 165362011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16537
3f254caa
SM
16538 * progmodes/which-func.el (which-function):
16539 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16540 which might not be defined (Bug#8260).
16541
d45885f7
GM
165422011-05-12 Glenn Morris <rgm@gnu.org>
16543
16544 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16545 Let byte-compile-initial-macro-environment always take precedence.
16546
488086f4
SM
165472011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16548
16549 * net/rcirc.el: Add support for SSL/TLS connections.
16550 (rcirc-server-alist): New field `encryption'.
16551 (rcirc): Check `encryption' settings.
16552 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16553 Merge make-local-variable into `set'.
16554 (rcirc--connection-open-p): New function.
16555 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16556 the process is not a network process (e.g. running gnutls-cli).
16557 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16558 Make rcirc-(en|de)code-coding-system local here.
16559 (rcirc-mode): Merge make-local-variable into `set'.
16560 (rcirc-parent-buffer): Make permanent buffer-local.
16561 (rcirc-multiline-minor-mode): Don't do it here.
16562 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16563 there's no server buffer.
16564
7d3b9d44
GM
165652011-05-11 Glenn Morris <rgm@gnu.org>
16566
f64049c6
GM
16567 * newcomment.el (comment-kill): Prefix "unused" local.
16568
93c9df73
GM
16569 * term/w32console.el (get-screen-color): Declare.
16570
7d3b9d44
GM
16571 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16572 Handle symbol elements of byte-compile-initial-macro-environment.
16573
9e2dd53f
LL
165742011-05-10 Leo Liu <sdl.web@gmail.com>
16575
488086f4
SM
16576 * bookmark.el (bookmark-bmenu-mode-map):
16577 Bind bookmark-bmenu-search to `/'.
8b340240 16578
9e2dd53f 16579 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16580 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16581 (Footnote-unicode): New function.
16582 (footnote-style-alist): Add unicode style to the list.
16583 (footnote-style): Doc fix.
9e2dd53f 16584
79b70037
GM
165852011-05-10 Jim Meyering <meyering@redhat.com>
16586
16587 Fix doubled-word typos.
16588 * international/quail.el (quail-insert-kbd-layout): and and -> and
16589 * kermit.el: and and -> and
16590 * net/ldap.el (ldap-search-internal): to to -> to
16591 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16592 * progmodes/js.el (js-mode): and and -> and
16593 * textmodes/artist.el (artist-move-to-xy): at at -> at
16594 (artist-draw-region-trim-line-endings): if if -> if
16595 And Safetyc -> Safety.
16596 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16597
b8f82dc1 165982011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16599 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16600
16601 * files.el (hack-one-local-variable-eval-safep):
16602 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16603
4f99f44b
GM
166042011-05-10 Glenn Morris <rgm@gnu.org>
16605
16606 * calendar/diary-lib.el (diary-list-entries-hook)
16607 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16608 (diary-nongregorian-marking-hook, diary-list-entries)
16609 (diary-include-other-diary-files, diary-mark-entries)
16610 (diary-mark-included-diary-files): Doc fixes.
16611
84f29e6b
JB
166122011-05-09 Juanma Barranquero <lekktu@gmail.com>
16613
16614 * misc.el: Require tabulated-list.el during compilation.
16615
9bedd73a
CY
166162011-05-09 Chong Yidong <cyd@stupidchicken.com>
16617
488086f4
SM
16618 * progmodes/compile.el (compilation-start):
16619 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16620 (compilation-filter-hook): Doc fix.
16621
797c735c
DD
166222011-05-09 Deniz Dogan <deniz@dogan.se>
16623
16624 * wdired.el: Remove outdated installation comment. Fix usage
16625 comment.
16626
5f4b1dfe
JB
166272011-05-09 Juanma Barranquero <lekktu@gmail.com>
16628
16629 * misc.el: Implement new command `list-dynamic-libraries'.
16630 (list-dynamic-libraries--loaded-only-p): New variable.
16631 (list-dynamic-libraries--refresh): New function.
16632 (list-dynamic-libraries): New command.
16633
4c44026c
CY
166342011-05-09 Chong Yidong <cyd@stupidchicken.com>
16635
488086f4
SM
16636 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16637 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16638 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16639 higher priority to avoid clobbering by gnu.
16640
027f966d
CY
166412011-05-08 Chong Yidong <cyd@stupidchicken.com>
16642
16643 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16644 if the face has existing theme settings (Bug#8454).
16645
085f5d7d
CY
166462011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16647
488086f4
SM
16648 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16649 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16650
2a86a00c
RS
16651 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16652 special file names `.' and `..' (Bug#8259).
16653
d9c54a06
CY
166542011-05-08 Chong Yidong <cyd@stupidchicken.com>
16655
488086f4
SM
16656 * progmodes/grep.el (grep-mode-font-lock-keywords):
16657 Remove buffer-changing entries.
d9c54a06
CY
16658 (grep-filter): New function.
16659 (grep-mode): Add it to compilation-filter-hook.
16660
16661 * progmodes/compile.el (compilation-filter-hook)
16662 (compilation-filter-start): New defvars.
16663 (compilation-filter): Call compilation-filter-hook prior to
16664 updating the process mark.
16665
c4662635
SM
166662011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16669
b0512a1d
EZ
166702011-05-07 Eli Zaretskii <eliz@gnu.org>
16671
605c9376
EZ
16672 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16673 mailclient-send-it even if window-system is nil. (Bug#8595)
16674
c4662635
SM
16675 * term/w32console.el (terminal-init-w32console):
16676 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16677 background-mode. (Bug#8597)
16678
d1dc2cc2
SM
166792011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16680
16681 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16682 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16683 New functions.
16684 (defgeneric, eieio--defmethod): Use them.
16685 (eieio-defgeneric): Remove.
16686 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16687
915d1300
GM
166882011-05-07 Glenn Morris <rgm@gnu.org>
16689
a3961c3e
GM
16690 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16691 Use let rather than let*.
16692 (timeclock-find-discrep): Remove unused local.
16693
314347b9
GM
16694 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16695
915d1300
GM
16696 * calendar/appt.el (appt-time-msg-list): Doc fix.
16697
275b59b0
NF
166982011-05-06 Noah Friedman <friedman@splode.com>
16699
16700 * apropos.el (apropos-print-doc): Only use
16701 emacs-lisp-docstring-fill-column when it is bound to an integer,
16702 per that variable's documentation.
16703
6c19f744
SM
167042011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16707 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16708
60f884b2
GM
167092011-05-06 Glenn Morris <rgm@gnu.org>
16710
5006e634
GM
16711 * calendar/appt.el (appt-message-warning-time): Doc fix.
16712 (appt-warning-time-regexp): New option.
16713 (appt-make-list): Respect appt-message-warning-time.
16714
548d0a63
GM
16715 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16716 New options.
16717 (diary-add-to-list): Strip comments from the displayed string.
16718 (diary-mode): Set comment-start and comment-end.
16719
60f884b2
GM
16720 * vc/diff-mode.el (smerge-refine-subst): Declare.
16721 (diff-refine-hunk): Don't require smerge-mode when compiling.
16722
989681bb
JB
167232011-05-06 Juanma Barranquero <lekktu@gmail.com>
16724
16725 * simple.el (list-processes): Return nil as the docstring says.
16726
a6bc05e1
MA
167272011-05-05 Michael Albinus <michael.albinus@gmx.de>
16728
16729 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16730 to "".
16731 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16732 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16733 determining of binary transfer. (Bug#7383)
16734
23c22e9a
MA
167352011-05-05 Michael Albinus <michael.albinus@gmx.de>
16736
c4662635
SM
16737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16738 Fix port computation bug. (Bug#8618)
23c22e9a 16739
0bff894f
GM
167402011-05-05 Glenn Morris <rgm@gnu.org>
16741
b8296902
GM
16742 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16743
1f522ce8
GM
16744 * simple.el (shell-dynamic-complete-functions)
16745 (comint-dynamic-complete-functions): Declare.
16746
cf5bee67
GM
16747 * net/network-stream.el (gnutls-negotiate):
16748 * simple.el (tabulated-list-print): Fix declarations.
16749
16750 * progmodes/gud.el (syntax-symbol, syntax-point):
16751 Remove unnecessary and incorrect declarations.
16752
0bff894f
GM
16753 * emacs-lisp/check-declare.el (check-declare-scan):
16754 Handle byte-compile-initial-macro-environment in bytecomp.el
16755
9869b3ae
SM
167562011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 Fix earlier half-done eieio-defmethod change (bug#8338).
16759 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16760 Streamline and change calling convention.
16761 (defmethod): Adjust accordingly and simplify.
16762 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16763 new eieio--defmethod.
16764 (slot-boundp): Minor CSE simplification.
16765
9c1d5ac5
MZ
167662011-05-05 Milan Zamazal <pdm@zamazal.org>
16767
16768 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16769 (glasses-make-readable): Use glasses-separate-capital-groups.
16770
455c834e
JB
167712011-05-05 Juanma Barranquero <lekktu@gmail.com>
16772
16773 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16774 (warning-series): Doc fix.
16775 (display-warning): Don't try to create the buffer if we just found it.
16776
9ed7c8cb
CY
167772011-05-04 Chong Yidong <cyd@stupidchicken.com>
16778
16779 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16780 (autoload-find-generated-file): New function.
16781 (generate-file-autoloads): Bind generated-autoload-file to
16782 buffer-file-name.
9869b3ae
SM
16783 (update-file-autoloads, update-directory-autoloads):
16784 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16785 output file (Bug#7989).
16786 (batch-update-autoloads): Doc fix.
16787
0898ca10
JB
167882011-05-04 Juanma Barranquero <lekktu@gmail.com>
16789
16790 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16791
31dfb76c
GM
167922011-05-04 Glenn Morris <rgm@gnu.org>
16793
f330b642
GM
16794 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16795 function, so it follows changes in calendar-date-style.
16796 (diary-fancy-date-matcher): New function.
16797 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16798 (diary-fancy-font-lock-fontify-region-function):
16799 Use diary-fancy-date-pattern as a function.
16800
31dfb76c
GM
16801 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16802 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16803
48e79d6a
TZ
168042011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16805
16806 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16807 instead of positional arguments. Allow :keylist and :crlfiles
16808 arguments.
16809 (open-gnutls-stream): Call it.
16810
16811 * net/network-stream.el (network-stream-open-starttls): Adjust to
16812 call `gnutls-negotiate' with :process and :hostname arguments.
16813
dd5a5ee0
SM
168142011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16815
ef80fc09
SM
16816 * minibuffer.el (completion--message): New function.
16817 (completion--do-completion, minibuffer-complete)
16818 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16819 (completion--do-completion): Don't ignore completion-auto-help when in
16820 icomplete-mode.
16821
dd5a5ee0
SM
16822 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16823 internal encoding (e.g. tibetan zero is not whitespace).
16824 (global-whitespace-mode): Prefer save-current-buffer.
16825 (whitespace-trailing-regexp): Remove useless save-match-data.
16826 (whitespace-empty-at-bob-regexp): Minor simplification.
16827
b7d22a83
CY
168282011-05-03 Chong Yidong <cyd@stupidchicken.com>
16829
16830 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16831
5192af46
AM
168322011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16833
16834 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16835 Use `concat' to create string for insertion.
5192af46 16836
5767d190
SM
168372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16838
16839 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16840 Avoid open-line which runs post-self-insert-hook.
16841 (bibtex-fill-entry): Remove unused `end' var.
16842
bf242939
AM
168432011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16844
5767d190
SM
16845 * textmodes/ispell.el (ispell-add-per-file-word-list):
16846 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16847
25666126
LL
168482011-05-03 Leo Liu <sdl.web@gmail.com>
16849
16850 * isearch.el (isearch-yank-pop): New command.
5767d190 16851 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16852 (isearch-forward): Mention it.
16853
52d3c2d0
SM
168542011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16855
1bcace58
SM
16856 * simple.el (minibuffer-complete-shell-command): Remove.
16857 (minibuffer-local-shell-command-map): Use completion-at-point.
16858 (read-shell-command): Setup completion vars here instead.
16859 (read-expression-map): Bind TAB to symbol completion.
16860
52d3c2d0
SM
16861 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16862 error directly rather via storing it into `results'.
16863
35813471
LL
168642011-05-02 Leo Liu <sdl.web@gmail.com>
16865
16866 * vc/diff.el: Fix description.
16867
e793a940
LMI
168682011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16869
16870 * server.el (server-eval-at): New function.
16871
8de66e05
LMI
168722011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16873
16874 * net/network-stream.el (open-network-stream): Take a :nowait
16875 parameter and pass it on to `make-network-process'.
16876 (network-stream-open-plain): Ditto.
16877
dcb79f20
AS
168782011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16879
16880 * faces.el (face-spec-set-match-display): Don't match toolkit
16881 options on terminal frames.
16882
14a7fbd8
SM
168832011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16884
7eabc1be
SM
16885 * progmodes/pascal.el: Use lexical binding.
16886 (pascal-mode-map): Remove author preferences.
16887
14a7fbd8
SM
16888 * pcomplete.el (pcomplete-std-complete): Don't abuse
16889 completion-at-point.
16890
50f84510
JB
168912011-04-28 Juanma Barranquero <lekktu@gmail.com>
16892
6e087a44
JB
16893 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16894 removing code that has been dead since 1991 or so.
16895
50f84510
JB
16896 * startup.el (command-line): When warning about "_emacs", use a
16897 delayed warning to allow the user to filter it out.
16898
0ba690bd
DD
168992011-04-28 Deniz Dogan <deniz@dogan.se>
16900
16901 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16902 user has not joined.
16903
08abfaad
SM
169042011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16905
16906 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16907 aren't any completions at point.
16908
638f053a
JB
169092011-04-28 Juanma Barranquero <lekktu@gmail.com>
16910
16911 * subr.el (display-delayed-warnings): New function.
16912 (delayed-warnings-hook): New variable.
16913
8fff8daa
SM
169142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16915
08abfaad
SM
16916 * minibuffer.el (completion-at-point, completion-help-at-point):
16917 Don't presume that a given completion-at-point-function will always
16918 use the same calling convention.
16919
8fff8daa
SM
16920 * pcomplete.el (pcomplete-completions-at-point):
16921 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16922 pcomplete-seen is non-nil.
16923 (pcomplete-comint-setup): Also recognize the new comint/shell
16924 completion functions.
16925 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16926 pcomplete-seen is non-nil.
16927
841a1577 169282011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16929
841a1577 16930 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16931 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16932 the first character in the entry. This allows for code to add its
211ec907
UJ
16933 own uid to the entry.
16934 (icalendar--convert-float-to-ical): Add export of
16935 `diary-float'-entries save for those with the optional DAY
16936 argument.
16937
2a782793
DC
169382011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16939
16940 * subr.el (shell-quote-argument): Use alternate escaping strategy
16941 when we spot a variable reference in a string.
16942
0438ce91
DC
169432011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16944
16945 * cus-start.el (all): Define customization for debug-on-event.
16946
841a1577 169472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16948
16949 * subr.el (shell-quote-argument): Escape correctly under Windows.
16950
d090ed6c
SM
169512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16952
16953 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16954
bfd31217
MA
169552011-04-25 Michael Albinus <michael.albinus@gmx.de>
16956
d090ed6c
SM
16957 * net/tramp.el (tramp-process-actions): Add POS argument.
16958 Delete region between POS and (pos).
bfd31217 16959
d090ed6c
SM
16960 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16961 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16962 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16963
16964 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16965 position in `tramp-process-actions' call.
16966
16967 * net/trampver.el: Update release number.
16968
e92f3bd3
SM
169692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16970
850256b5
SM
16971 * custom.el (defcustom): Obey lexical-binding.
16972
e92f3bd3
SM
16973 Fix octave-inf completion problems reported by Alexander Klimov.
16974 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16975 Inherit from octave-mode-syntax-table.
16976 (inferior-octave-mode): Set info-lookup-mode.
16977 (inferior-octave-completion-at-point): New function.
16978 (inferior-octave-complete): Use it and completion-in-region.
16979 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16980 comint-filename-completion.
16981 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16982 symbol elements which shouldn't be word elements.
16983 (octave-font-lock-keywords, octave-beginning-of-defun)
16984 (octave-function-header-regexp): Adjust regexps accordingly.
16985 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16986
cd22b309
JB
169872011-04-25 Juanma Barranquero <lekktu@gmail.com>
16988
16989 * net/gnutls.el (gnutls-errorp): Declare before first use.
16990
8b492194
TZ
169912011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16992
16993 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16994 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16995 default trustfile exists before going to use it. Add missing
5a5fa834 16996 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16997 Reported by Claudio Bley <claudio.bley@gmail.com>.
16998 (open-gnutls-stream): Add usage example.
16999
17000 * net/network-stream.el (network-stream-open-starttls): Give host
17001 parameter to `gnutls-negotiate'.
17002 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17003 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17004
841a1577 170052011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17006
cd22b309
JB
17007 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17008 Use correct match group (bug#8438).
05842630 17009
3ba7869c
CY
170102011-04-24 Chong Yidong <cyd@stupidchicken.com>
17011
512e3ae1
CY
17012 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17013 (package-menu--generate): New arg specifying packages to show.
17014 (package-menu-refresh, package-menu-execute, list-packages):
17015 Callers changed.
17016 (package-show-package-list): New function, replacing deleted
17017 package--list-packages (renamed because it is non-internal).
17018
17019 * finder.el (finder-list-matches): Use package-show-package-list
17020 instead of deleted package--list-packages.
17021
e92f3bd3
SM
17022 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17023 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17024 (vc-annotate-mode-map): Bind it to RET.
17025
7031be6d
UR
170262011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17027
17028 * progmodes/etags.el (next-file): Don't use set-buffer to change
17029 buffers (Bug#8478).
17030
4ef177aa
CY
170312011-04-24 Chong Yidong <cyd@stupidchicken.com>
17032
c8d173eb
CY
17033 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17034
4ef177aa
CY
17035 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17036 (apropos-accumulator): Doc fix.
17037 (apropos-function, apropos-macro, apropos-command)
17038 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17039 (apropos-plist): Add face property.
17040 (apropos-symbols-internal): Fix indentation.
17041 (apropos-print): Simplify help, and recognize apropos-multi-type.
17042 (apropos-print-doc): Use button-type-get to extract the button's
17043 face property. Fill docstring (Bug#8352).
17044
4ffd0d6b 170452011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17046
17047 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17048
c6c32125 17049 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17050 (mpuz-mode-map): Use mapc.
c6c32125
JB
17051 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17052 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17053 Fix typos in docstrings.
17054
58d468b4
JB
17055 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17056 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17057
6470c3c6
JB
17058 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17059
4ffd0d6b 170602011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17061
17062 * minibuffer.el (completion--do-completion): Avoid the "Next char
17063 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17064
3ad8bad0
CY
17065 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17066 mouse-2 into unread-command-events, it is interpreted correctly.
17067
71d73c9c 17068 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17069 (image-toggle-display): Doc fix.
71d73c9c 17070
841a1577 170712011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17072
4ffd0d6b
GM
17073 * textmodes/page.el (what-page): Use line-number-at-pos to
17074 calculate line number (Bug#6825).
6e1dbaa9 17075
c2fb1b60
JB
170762011-04-22 Juanma Barranquero <lekktu@gmail.com>
17077
17078 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17079 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17080 Pass argument NO-DEFAULT to `find-tag-interactive'.
17081
e02f48d7
JB
170822011-04-22 Juanma Barranquero <lekktu@gmail.com>
17083
17084 Lexical-binding cleanup.
17085
17086 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17087 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17088 * progmodes/ada-prj.el (ada-prj-initialize-values)
17089 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17090 (ada-prj-show-value):
17091 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17092 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17093 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17094 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17095 * progmodes/bug-reference.el (bug-reference-push-button):
17096 * progmodes/fortran.el (fortran-line-length):
17097 * progmodes/glasses.el (glasses-change):
17098 * progmodes/octave-mod.el (octave-fill-paragraph):
17099 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17100 (python-pdbtrack-grub-for-buffer, python-sentinel):
17101 * progmodes/sql.el (sql-save-connection):
17102 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17103 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17104 Mark unused parameters.
17105
17106 * progmodes/compile.el (compilation--flush-directory-cache)
17107 (compilation--flush-parse, compile-internal): Mark unused parameters.
17108 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17109 (compilation-next-error-function): Remove unused variable `timestamp'.
17110
17111 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17112 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17113
17114 * progmodes/dcl-mode.el (dcl-end-of-command):
17115 Remove unused variable `start'.
17116 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17117 (dcl-option-value-basic, dcl-option-value-offset)
17118 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17119 Mark unused parameters.
17120 (dcl-save-local-variable): Remove unused variable `val'.
17121 (mode): Declare.
17122
17123 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17124 Mark unused parameters.
17125 (delphi-ignore-changes): Move before first use.
17126 (delphi-charset-token-at): Remove unused variable `start'.
17127 (delphi-else-start): Remove unused variable `if-count'.
17128 (delphi-comment-block-start, delphi-comment-block-end):
17129 Remove unused variable `kind'.
17130 (delphi-indent-line): Remove unused variable `new-point'.
17131
17132 * progmodes/ebrowse.el (ebrowse-files-list)
17133 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17134 Mark unused parameters. Don't quote `lambda'.
17135 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17136 Don't quote `lambda'.
17137 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17138 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17139 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17140 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17141 Use `ignore-errors'.
17142 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17143 (ebrowse-view/find-file-and-search-pattern)
17144 (ebrowse-view/find-member-declaration/definition):
17145 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17146 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17147 Rename parameter PREFIX-ARG to PREFIX.
17148 (ebrowse-tags-read-name): Remove unused variables `start' and
17149 `member-info'.
17150 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17151 to `tags-file'.
17152
17153 * progmodes/etags.el (local-find-tag-hook): Declare.
17154 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17155 Mark unused parameters.
17156
17157 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17158 (executable-interpret): Mark unused parameter.
17159
17160 * progmodes/flymake.el (flymake-process-sentinel)
17161 (flymake-after-change-function)
17162 (flymake-create-temp-with-folder-structure)
17163 (flymake-get-include-dirs-dot): Mark unused parameters.
17164 (flymake-safe-delete-directory): Remove unused variable `err'.
17165
17166 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17167 (speedbar-timer-fn, speedbar-line-text)
17168 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17169 (speedbar-center-buffer-smartly): Declare functions.
17170 (gdb-find-watch-expression): Remove unused variable `array'.
17171 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17172 (gdb-starting): Mark unused parameters.
17173 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17174 (gdb-table-string): Remove unused variable `res'.
17175 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17176 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17177 (gdb-display-buffer): Remove unused variable `cur-size'.
17178
17179 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17180 allow lexical-binding compilation.
17181 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17182 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17183 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17184 Mark unused parameters.
17185 (gud-gdb-marker-filter): Remove unused variable `match'.
17186 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17187 lambda expressions and funcall them, instead of using `fset'.
17188
17189 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17190 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17191
17192 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17193 variable `header-beg'; use `let'.
17194
17195 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17196 `restart', `last-sexp' and `at-do'.
17197
17198 * progmodes/js.el (js--debug): Mark unused parameter.
17199 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17200 (js--splice-into-items): Remove unused variable `item'.
17201 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17202
17203 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17204 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17205 (makefile-complete): Remove unused variable `try'.
17206 (makefile-fill-paragraph, makefile-match-function-end):
17207 Mark unused parameters.
17208
17209 * progmodes/octave-inf.el (inferior-octave-complete):
17210 Remove unused variable `proc'.
17211 (inferior-octave-output-digest): Mark unused parameter.
17212
17213 * progmodes/perl-mode.el (perl-calculate-indent):
17214 Remove unused variable `err'.
17215
17216 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17217 (prolog-indent-line): Mark unused parameters.
17218 (prolog-indent-line): Remove unused variable `beg'.
17219
17220 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17221 (reporter-dont-compact-list): Declare.
17222
17223 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17224 Remove unused variable `char'.
17225 (sh-debug): Mark unused parameter.
17226 (sh-get-indent-info): Remove unused variable `start'.
17227 (sh-calculate-indent): Remove unused variable `var'.
17228
17229 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17230 (simula-electric-keyword): Remove unused variable `null'.
17231 (simula-search-backward, simula-search-forward): Remove unused
17232 variables `begin' and `end'.
17233
17234 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17235 Remove unused variable `pos'.
17236 (vera-electric-tab, vera-comment-uncomment-region):
17237 Mark unused parameters.
17238 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17239
7ede3b65
CY
172402011-04-22 Chong Yidong <cyd@stupidchicken.com>
17241
17242 * emacs-lisp/package.el (package--builtins, package-alist)
17243 (package-load-descriptor, package-built-in-p, package-activate)
17244 (define-package, package-installed-p)
17245 (package-compute-transaction, package-buffer-info)
17246 (package--push): Doc fix. Distinguish more clearly between
17247 version strings and version lists.
17248
121656e9
JB
172492011-04-21 Juanma Barranquero <lekktu@gmail.com>
17250
17251 Lexical-binding cleanup.
17252
17253 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17254 (5x5-make-mutate-best):
17255 * play/fortune.el (fortune-in-buffer):
17256 * play/gomoku.el (gomoku-init-display):
17257 * play/solitaire.el (solitaire, solitaire-do-check):
17258 * play/tetris.el (tetris-default-update-speed-function):
17259 Mark unused parameters.
17260
17261 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17262 (bubbles--shift): Remove unused variable `char-org'.
17263 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17264 (bubbles--show-images): Remove unused variable `char'.
17265
17266 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17267 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17268 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17269 (decipher-analyze-buffer): Use ?\s.
17270 (decipher-make-checkpoint): Remove unused variable `mapping'.
17271
17272 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17273
17274 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17275 Remove unused variable `result'; use `let'.
17276
17277 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17278 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17279 (gametree-children-shown-p, gametree-compute-reduced-score):
17280 Use `ignore-errors'.
17281
17282 * play/handwrite.el (ps-lpr-switches): Declare.
17283 (handwrite): Remove unused variables `pmin' and `lastp'.
17284
17285 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17286
17287 * play/landmark.el (landmark-init-display)
17288 (landmark-update-naught-weights): Mark unused parameters.
17289 (landmark-y): Remove unused variable `noise'. Simplify.
17290 (landmark-human-plays): Remove unused variable `score'.
17291
17292 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17293 (mpuz-try-proposal): Remove unused variable `game'.
17294
17295 * play/zone.el (life-patterns): Declare.
17296
80f499c7
JB
172972011-04-20 Juanma Barranquero <lekktu@gmail.com>
17298
17299 * vc/vc.el (ediff-vc-internal): Declare function.
17300
024ff170
SM
173012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17302
c0a193ea
SM
17303 * shell.el: Use lexical-binding and std completion UI.
17304 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17305 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17306 comint-preoutput-filter-functions rather than on
17307 comint-output-filter-functions.
17308 (shell-command-completion, shell--command-completion-data)
17309 (shell-filename-completion, shell-environment-variable-completion)
17310 (shell-c-a-p-replace-by-expanded-directory): New functions.
17311 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17312 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17313 (shell-dynamic-complete-environment-variable): Use them.
17314 (shell-dynamic-complete-as-environment-variable)
17315 (shell-dynamic-complete-as-command): Remove.
17316 (shell-match-partial-variable): Match past point.
17317 * comint.el: Clean up use of completion-at-point-functions.
17318 (comint-completion-at-point): New function.
17319 (comint-mode): Use it completion-at-point-functions.
17320 (comint-dynamic-complete): Make it obsolete.
17321 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17322 (comint-c-a-p-replace-by-expanded-history): New function.
17323 (comint-dynamic-complete-functions)
17324 (comint-replace-by-expanded-history): Use it.
17325 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17326 termination strings. Try harder to avoid second try-completion.
17327 (completion-in-region-mode-map): Disable bindings that don't work yet.
17328
2dbaa080
SM
17329 * comint.el: Use lexical-binding. Require CL.
17330 (comint-dynamic-complete-functions): Use comint-filename-completion.
17331 (comint-completion-addsuffix): Tweak custom type.
17332 (comint-filename-completion, comint--common-suffix)
17333 (comint--common-quoted-suffix, comint--table-subvert)
17334 (comint--complete-file-name-data): New functions.
17335 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17336 (comint-dynamic-list-filename-completions): Use them.
17337 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17338
2dbaa080
SM
17339 * minibuffer.el (completion-in-region-mode):
17340 Keep completion-in-region-mode--predicate global.
17341 (completion-in-region--postch):
17342 Assume completion-in-region-mode--predicate is not null.
17343
c79a6f38
SM
17344 * progmodes/flymake.el (flymake-start-syntax-check-process):
17345 Obey `dir'. Simplify.
17346
024ff170
SM
17347 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17348 we're in VC after all.
17349
1c6c854e
CS
173502011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17351
17352 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17353 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17354 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17355
bed7f140
SM
173562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17357
332e62ab
SM
17358 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17359 add sanity check.
17360
bed7f140
SM
17361 * obsolete/erc-hecomplete.el: Make obsolete.
17362 * obsolete/: Standardize obsolescence info in the header.
17363
f195c582
GM
173642011-04-20 Glenn Morris <rgm@gnu.org>
17365
17366 * calendar/solar.el (solar-horizontal-coordinates):
17367 Use the longitude argument rather than `calendar-longitude'.
17368 (solar-date-next-longitude): Remove unused locals.
17369
cb79b8c0
VJL
173702011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17371
17372 * whitespace.el: New version 13.2.1.
17373
173742011-04-20 felix <EmacsWiki> (tiny change)
17375
d8e4b68b 17376 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17377 switching between major modes on a file.
17378
602ea69d
SM
173792011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17382 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17383 multi-line comments as well.
17384
06b60517
JB
173852011-04-19 Juanma Barranquero <lekktu@gmail.com>
17386
17387 Lexical-binding cleanup.
17388
17389 * arc-mode.el (archive-mode-revert):
17390 * cmuscheme.el (scheme-interactively-start-process):
17391 * custom.el (custom-initialize-delay):
17392 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17393 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17394 * emacs-lock.el (emacs-lock-clear-sentinel):
17395 * ezimage.el (defezimage):
17396 * follow.el (follow-avoid-tail-recenter):
17397 * fringe.el (set-fringe-mode-1):
17398 * generic-x.el (bat-generic-mode-compile):
17399 * help-mode.el (help-info-variable, help-do-xref)
17400 (help-mode-revert-buffer):
17401 * help.el (view-emacs-todo):
17402 * iswitchb.el (iswitchb-completion-help):
17403 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17404 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17405 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17406 * locate.el (locate-update):
17407 * longlines.el (longlines-encode-region)
17408 (longlines-after-change-function):
17409 * outline.el (outline-isearch-open-invisible):
17410 * ps-def.el (declare-function, charset-dimension, char-width)
17411 (encode-char):
17412 * ps-mule.el (ps-mule-plot-string):
17413 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17414 (recentf-edit-list-select, recentf-edit-list-validate)
17415 (recentf-open-files-action):
17416 * rect.el (delete-whitespace-rectangle-line)
17417 (rectangle-number-line-callback):
17418 * register.el (window-configuration-to-register)
17419 (frame-configuration-to-register):
17420 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17421 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17422 (xselect-convert-to-targets, xselect-convert-to-delete)
17423 (xselect-convert-to-filename, xselect-convert-to-charpos)
17424 (xselect-convert-to-lineno, xselect-convert-to-colno)
17425 (xselect-convert-to-os, xselect-convert-to-host)
17426 (xselect-convert-to-user, xselect-convert-to-class)
17427 (xselect-convert-to-name, xselect-convert-to-integer)
17428 (xselect-convert-to-atom, xselect-convert-to-identity):
17429 * subr.el (declare, ignore, process-kill-without-query)
17430 (text-clone-maintain):
17431 * terminal.el (te-get-char, te-tic-sentinel):
17432 * tool-bar.el (tool-bar-make-keymap):
17433 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17434 * type-break.el (type-break-mode, type-break-noninteractive-query):
17435 * view.el (View-back-to-mark):
17436 * wid-browse.el (widget-browse-action, widget-browse-widget)
17437 (widget-browse-widgets, widget-browse-sexp):
17438 * widget.el (define-widget-keywords):
17439 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17440 Mark unused parameters.
17441
17442 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17443 (align-areas): Remove unused variable `look'.
17444 (align-region): Remove unused variables `real-end' and `pos-list'.
17445
17446 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17447
17448 * bindings.el (mode-line-modified, mode-line-remote):
17449 Mark unused parameters.
17450 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17451
17452 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17453 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17454
17455 * comint.el (comint-history-isearch-pop-state)
17456 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17457 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17458 (comint-substitute-in-file-name): Doc fix.
17459
17460 * completion.el (cmpl-statistics-block): Mark unused parameter.
17461 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17462 (save-completions-to-file, load-completions-from-file):
17463 Remove unused local variable `e'.
17464
17465 * composite.el (compose-chars): Remove unused variable `len'.
17466 (lgstring-insert-glyph): Remove unused variable `g'.
17467 (compose-glyph-string): Remove unused variables `ascent',
17468 `descent', `lbearing' and `rbearing'.
17469 (compose-glyph-string-relative): Remove unused variables
17470 `lbearing', `rbearing' and `wadjust'.
17471 (compose-gstring-for-graphic): Remove unused variables `header',
17472 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17473 (compose-gstring-for-terminal): Remove unused variables `header'
17474 and `nchars'. Use `let', not `let*'.
17475
17476 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17477 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17478 (Custom-buffer-done, custom-buffer-create-internal)
17479 (custom-browse-visibility-action, custom-browse-group-tag-action)
17480 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17481 (widget-magic-mouse-down-action, custom-toggle-parent)
17482 (custom-add-parent-links, custom-toggle-hide-variable)
17483 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17484 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17485 (custom-face-menu-create, custom-variable-menu-create, get)
17486 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17487 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17488 (customize-apropos): Remove unused variable `tests'.
17489 (custom-group-value-create): Remove unused variable `hidden-p'.
17490 (sort-fold-case): Declare.
17491
17492 * cus-theme.el (custom-reset-standard-faces-list)
17493 (custom-reset-standard-variables-list): Declare.
17494 (customize-create-theme, custom-theme-revert, custom-theme-write)
17495 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17496 Mark unused parameters.
17497
17498 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17499
17500 * delim-col.el (delimit-columns-max): Move defvar before first use.
17501
17502 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17503 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17504
17505 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17506 (auto-insert): Declare.
17507 (desktop-restore-file-buffer): Rename desktop-* parameters;
17508 mark unused ones.
17509 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17510 (desktop-buffer): Rename desktop-* parameters.
17511
17512 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17513 (dframe-reposition-frame-xemacs, dframe-help-echo)
17514 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17515 Mark unused parameters.
17516
17517 * dired-aux.el (backup-extract-version-start, overwrite-query)
17518 (overwrite-backup-query, rename-regexp-query)
17519 (rename-non-directory-query): Declare.
17520 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17521 (dired-add-entry): Remove unused variable `orig-file-name'.
17522 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17523 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17524 `dired-copy-preserve-time' directly.
17525 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17526 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17527
17528 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17529 (dired-virtual-revert, dired-make-relative-symlink):
17530 Mark unused parameters.
17531 (manual-program): Declare.
17532 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17533 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17534 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17535
17536 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17537
17538 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17539
17540 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17541 Declare.
17542
17543 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17544
17545 * electric.el (Electric-command-loop): Rename parameter
17546 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17547
17548 * expand.el (expand-in-literal): Remove unused variable `here'.
17549
17550 * facemenu.el (facemenu-add-new-color):
17551 Remove unused variable `docstring'.
17552
17553 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17554 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17555 (face-attr-construct): Mark unused parameter. Doc fix.
17556 (read-color): Remove unused variable `hex-string'.
17557
17558 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17559 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17560 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17561 (display-buffer-other-frame): Remove unused variable `old-window'.
17562 (kill-buffer-hook): Declare.
17563 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17564 Mark unused parameters.
17565 (after-find-file): Pass 1 to `auto-save-mode', not t.
17566
17567 * files-x.el (auto-insert): Declare.
17568 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17569
17570 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17571 variable `buf'. Mark unused parameter.
06b60517
JB
17572 (find-lisp-insert-directory): Mark unused parameter.
17573
17574 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17575 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17576 (format-common-tail): Remove, unused.
17577 (format-deannotate-region): Remove unused variable `loc'.
17578 (format-annotate-region): Remove unused variable `p'.
17579 (format-annotate-single-property-change): Remove unused variables
17580 `default' and `tail'.
17581
17582 * forms.el (read-file-filter): Declare.
17583 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17584
17585 * frame.el (frame-creation-function-alist): Mark unused parameter.
17586 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17587
17588 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17589 Remove unused parameters.
17590 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17591 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17592
17593 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17594 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17595 (hfy-prepare-tag-map): Mark unused parameters.
17596 (htmlfontify-buffer): Use `called-interactively-p'.
17597
17598 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17599 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17600 (ibuffer-do-occur): Mark unused parameters.
17601 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17602 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17603
17604 * ibuffer.el: Don't quote `lambda'.
17605 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17606 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17607 Mark unused parameters.
17608
17609 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17610 (ido-completing-read): Mark unused parameters.
17611 (ido-copy-current-word): Mark unused parameters;
17612 remove unused variable `name'.
17613 (ido-sort-merged-list): Remove unused parameter `dirs'.
17614
17615 * ielm.el (ielm-input-sender): Mark unused parameter.
17616 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17617 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17618 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17619 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17620 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17621
17622 * image-dired.el (image-dired-display-thumbs): Remove unused
17623 variables `curr-file' and `count'.
17624 (image-dired-remove-tag): Remove unused variable `start'.
17625 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17626 variable `curr-file'
17627 (image-dired-rotate-original): Remove unused variable `temp-file'.
17628 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17629 Remove unused variable `file'.
17630 (image-dired-gallery-generate): Remove unused variable `curr'.
17631 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17632
17633 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17634
17635 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17636
17637 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17638
17639 * isearch.el (minibuffer-history-symbol): Declare.
17640 (isearch-edit-string): Remove unused variable `err'.
17641 (isearch-message-prefix, isearch-message-suffix):
17642 Mark unused parameters.
17643
17644 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17645
17646 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17647
17648 * makesum.el (double-column): Remove unused variable `cnt'.
17649
17650 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17651 (ido-ignore-item-temp-list): Declare.
17652
17653 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17654 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17655 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17656 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17657 `mouse-col-delta'.
17658
17659 * mouse-sel.el (mouse-extend-internal):
17660 Remove unused variable `orig-window-frame'.
17661
17662 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17663 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17664 Move declarations before first use.
17665 (pcomplete-opt): Mark unused parameters; doc fix.
17666
17667 * proced.el (proced-revert): Mark unused parameter.
17668 (proced-send-signal): Remove unused variable `err'.
17669
17670 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17671 Rename parameter PREFIX-ARG to ARG.
17672 (ps-basic-plot-string, ps-basic-plot-whitespace):
17673 Mark unused parameters.
17674
17675 * replace.el (replace-count): Define.
17676 (occur-revert-function): Mark unused parameters.
17677 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17678 (isearch-case-fold-search, isearch-string): Declare.
17679 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17680 bind `case-fold-search'. Remove unused variables `beg' and `end',
17681 and simplify.
17682 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17683 COUNT and bind `replace-count'.
17684 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17685 to COUNT.
17686
17687 * savehist.el (print-readably, print-string-length): Declare.
17688
17689 * shadowfile.el (shadow-expand-cluster-in-file-name):
17690 Remove unused variable `cluster'.
17691 (shadow-copy-file): Remove unused variable `i'.
17692 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17693 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17694 (shadow-define-literal-group, shadow-define-regexp-group)
17695 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17696
17697 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17698 (shell): Use `called-interactively-p'.
17699 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17700
17701 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17702 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17703 (delete-backward-char): Remove unused variable `ocol'.
17704 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17705 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17706 (event-apply-hyper-modifier, event-apply-shift-modifier)
17707 (event-apply-control-modifier, event-apply-meta-modifier):
17708 Mark unused parameters.
17709 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17710 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17711
17712 * speedbar.el (speedbar-ignored-directory-expressions)
17713 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17714 (speedbar-find-file, speedbar-dir-follow)
17715 (speedbar-directory-buttons-follow, speedbar-tag-find)
17716 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17717 (speedbar-buffers-line-directory, speedbar-buffer-click):
17718 Mark unused parameters.
17719 (speedbar-tag-file): Remove unused variable `mode'.
17720 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17721
17722 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17723
17724 * talk.el (talk): Remove unused variable `display'.
17725
17726 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17727 (tar-write-region-annotate): Mark unused parameter.
17728
17729 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17730 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17731 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17732 warning by another.
17733
17734 * time-stamp.el (time-stamp-string-preprocess):
17735 Remove unused variable `require-padding'.
17736
17737 * tree-widget.el (widget-glyph-enable): Declare.
17738 (tree-widget-action): Mark unused parameter.
17739
17740 * w32-fns.el (x-get-selection): Mark unused parameter.
17741 (autoload-make-program, generated-autoload-file): Declare.
17742
17743 * wdired.el (wdired-revert): Mark unused parameters.
17744 (wdired-xcase-word): Remove unused variable `err'.
17745
17746 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17747 (whitespace-help-scroll): Remove unused variable `data-help'.
17748
17749 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17750 (widget-image-insert, widget-after-change, default)
17751 (widget-default-format-handler, widget-default-notify)
17752 (widget-default-prompt-value, widget-info-link-action)
17753 (widget-url-link-action, widget-function-link-action)
17754 (widget-variable-link-action, widget-file-link-action)
17755 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17756 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17757 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17758 (widget-insert-button-action, widget-delete-button-action, visibility)
17759 (widget-documentation-link-action, widget-documentation-string-action)
17760 (widget-const-prompt-value, widget-regexp-match, symbol)
17761 (widget-coding-system-prompt-value)
17762 (widget-key-sequence-value-to-external, sexp)
17763 (widget-sexp-value-to-internal, character, vector, cons)
17764 (widget-choice-prompt-value, widget-boolean-prompt-value)
17765 (widget-color--choose-action): Mark unused parameters.
17766 (widget-item-match-inline, widget-choice-match-inline)
17767 (widget-checklist-match, widget-checklist-match-inline)
17768 (widget-group-match): Rename parameter VALUES to VALS.
17769 (widget-field-value-set): Remove unused variable `size'.
17770 (widget-color-action): Remove unused variables `value' and `start'.
17771
17772 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17773 variable `dir'. Doc fix.
06b60517
JB
17774 (windmove-find-other-window): Don't pass it.
17775
17776 * window.el (count-windows): Mark unused parameter.
17777 (bw-adjust-window): Remove unused variable `err'.
17778
17779 * woman.el (woman-file-name): Remove unused variable `default'.
17780 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17781 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17782 (global-font-lock-mode): Declare.
17783 (woman-decode-region): Mark unused parameter.
17784 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17785
17786 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17787 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17788 (x-dnd-handle-moz-url): Remove unused variable `title'.
17789 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17790
17791 * xml.el (xml-parse-tag, xml-parse-attlist):
17792 Remove unused variable `pos'.
17793
bc4f7f3d
GM
177942011-04-19 Glenn Morris <rgm@gnu.org>
17795
17796 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17797 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17798 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17799 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17800 * calendar/cal-html.el (cal-html-insert-minical):
17801 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17802 (calendar-mark-date-pattern):
17803 Prefix "unused" locals.
17804
17805 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17806 optional argument `style'.
17807
17808 * calendar/appt.el (appt-make-list):
17809 * calendar/cal-china.el (calendar-chinese-date-string):
17810 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17811 (diary-hebrew-yahrzeit):
17812 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17813 * calendar/calendar.el (calendar-generate-window):
17814 * calendar/time-date.el (time-to-days):
17815 Remove unused local variables.
17816
16a43933
CY
178172011-04-18 Chong Yidong <cyd@stupidchicken.com>
17818
17819 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17820 glyphless-char-display table.
17821 (tabulated-list-glyphless-char-display): New var.
17822
7eed1860
SS
178232011-04-18 Sam Steingold <sds@gnu.org>
17824
17825 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17826 to acknowledgments.
17827
4d2d1ccd
GM
178282011-04-17 Glenn Morris <rgm@gnu.org>
17829
17830 * calendar/diary-lib.el (diary-sexp-entry):
17831 * calendar/holidays.el (holiday-sexp):
17832 Set debug-on-error rather than the removed stack-trace-on-error.
17833
239da61d
GM
178342011-04-16 Glenn Morris <rgm@gnu.org>
17835
17836 * progmodes/f90.el: Use lexical-binding.
17837 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17838
8b05752a
SM
178392011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17840
daca8ba5
SM
17841 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17842 (mail-mode): Setup mailalias completion here instead.
17843 * mail/mailalias.el: Use lexical-binding.
17844 (pattern, mailalias-done): Declare dynamic.
17845 (mail-completion-at-point-function): New function, from mail-complete.
17846 (mail-complete): Use it.
17847 (mail-completion-expand): New function.
17848 (mail-get-names): Use it.
17849 (mail-directory, mail-directory-process, mail-directory-stream):
17850 Don't use `pattern' for lexically bound arg.
17851
6f542485
SM
17852 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17853
037e7c3f
SM
17854 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17855 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17856 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17857
8b05752a
SM
17858 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17859 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17860 (byte-interactive-p): Define them again, for use when inlining
17861 old code.
17862
49093f60
JB
178632011-04-15 Juanma Barranquero <lekktu@gmail.com>
17864
17865 * loadup.el: Use `string-to-number', not `string-to-int'.
17866
b5b8e7de
SM
178672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17868
17869 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17870 gud-gdb-complete-command.
17871 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17872 (gud-gdb-completion-at-point): New function.
17873 (gud-gdb-completions): Remove.
17874
f42efeb5
MA
178752011-04-14 Michael Albinus <michael.albinus@gmx.de>
17876
49093f60
JB
17877 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17878 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17879 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17880 whether `executable-find' is bound.
f42efeb5
MA
17881
17882 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17883
e240cc21
SM
178842011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17885
17886 * minibuffer.el (completion-in-region-mode-predicate)
17887 (completion-in-region-mode--predicate): New vars.
17888 (completion-in-region, completion-in-region--postch)
17889 (completion-in-region-mode): Use them.
17890 (completion--capf-wrapper): Also return the hook function.
17891 (completion-at-point, completion-help-at-point):
17892 Adjust and provide a predicate.
c2bd2ab0
SM
17893
17894 Preserve arg names for advice of subr and lexical functions (bug#8457).
17895 * help-fns.el (help-function-arglist): Consolidate the subr and
17896 new-byte-code cases. Add argument `preserve-names' to extract names
17897 from the docstring when needed.
17898 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17899 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17900 (ad-arglist): Use help-function-arglist's new arg.
17901 (ad-definition-type): Use cond.
17902
c183f693
JB
179032011-04-13 Juanma Barranquero <lekktu@gmail.com>
17904
06641a47
JB
17905 * autorevert.el (auto-revert-handler):
17906 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17907 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17908 Don't quote lambda.
17909
c183f693
JB
17910 * image-mode.el (image-transform-set-scale):
17911 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17912
1e3b6001
G
179132011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17914
17915 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17916 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17917 Upgrades via gnutls-cli are too slow to be done opportunistically.
17918
2d6af8dd
JB
179192011-04-12 Juanma Barranquero <lekktu@gmail.com>
17920
17921 * dframe.el (dframe-current-frame): Remove spurious quote.
17922
c0749a51
GM
179232011-04-12 Glenn Morris <rgm@gnu.org>
17924
088d0d61
GM
17925 * calendar/cal-tex.el (cal-tex-end-document):
17926 Try to automatically use latin1 input if needed.
17927
c0749a51
GM
17928 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17929 Don't try to cons a mark onto an empty element.
17930
5c90fde0
LL
179312011-04-11 Leo Liu <sdl.web@gmail.com>
17932
17933 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17934 buffers.
17935 (ido-kill-buffer-at-head): Support killing virtual buffers.
17936
369e974d
CY
179372011-04-10 Chong Yidong <cyd@stupidchicken.com>
17938
17939 * minibuffer.el (completion-show-inline-help): New var.
17940 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17941 (minibuffer-force-complete, minibuffer-complete-word):
17942 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17943
17944 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17945 to avoid interference from inline help (Bug#5849).
17946
37f1c930
LL
179472011-04-10 Leo Liu <sdl.web@gmail.com>
17948
099c39a4
JB
17949 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17950 Fix typo.
37f1c930 17951
a32d4040
CY
179522011-04-09 Chong Yidong <cyd@stupidchicken.com>
17953
17954 * image-mode.el (image-toggle-display-image): Signal an error if
17955 not in Image mode.
17956 (image-transform-mode, image-transform-resize)
17957 (image-transform-set-rotation): Doc fix.
daca8ba5 17958 (image-transform-set-resize): Delete.
a32d4040
CY
17959 (image-transform-set-scale, image-transform-fit-to-height)
17960 (image-transform-fit-to-width): Handle image-toggle-display-image
17961 and image-transform-resize directly.
17962
099c39a4 179632011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17964
17965 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17966 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17967 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17968 (doc-view-mode-map): Add bindings for the new functions.
17969
099c39a4 179702011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17971
4d61f28d 17972 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17973 Fix typo in docstring.
17974
3726838a
EZ
179752011-04-08 Eli Zaretskii <eliz@gnu.org>
17976
04f33f1e
EZ
17977 * files.el (file-size-human-readable): Produce one digit after
17978 decimal, like "ls -lh" does.
17979
17980 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17981 the file size representation.
17982
3726838a
EZ
17983 * simple.el (list-processes): If async subprocesses are not
17984 available, error out with a clear error message.
17985
cbb59342
CY
179862011-04-08 Chong Yidong <cyd@stupidchicken.com>
17987
17988 * help.el (help-form-show): New function, to be called from C.
17989 Put help-form output in a buffer named differently than *Help*.
17990
e3971c44
EZ
179912011-04-08 Eli Zaretskii <eliz@gnu.org>
17992
17993 * files.el (file-size-human-readable): New function.
17994
17995 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17996 computing the representation inline. Don't require `cl'.
17997
12544bbe
GM
179982011-04-08 Glenn Morris <rgm@gnu.org>
17999
a1de6c6a
GM
18000 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18001
3c4671f4
GM
18002 * net/browse-url.el (browse-url-firefox):
18003 Test system-type, not system-configuration.
18004
b605679c
GM
18005 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18006 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18007 Use log-edit-empty-buffer-p. (Bug#7598)
18008
56442f0c
GM
18009 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18010 (rlogin-mode-map): Initialize in the defvar.
18011 (rlogin): Use ignore-errors.
18012
12544bbe
GM
18013 * replace.el (occur-mode-map): Some fixes for menu items.
18014
eb237b0f
AH
180152011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18016
18017 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18018
7d668f2c
CY
180192011-04-06 Chong Yidong <cyd@stupidchicken.com>
18020
e67a13ab
CY
18021 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18022 issuing unused warnings.
18023
18024 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18025 macro directly.
18026
7d668f2c
CY
18027 * simple.el: Lisp reimplement of list-processes. Based on an
18028 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18029 (process-menu-mode): New major mode.
18030 (list-processes--refresh, list-processes):
18031 (process-menu-visit-buffer): New functions.
18032
18033 * files.el (save-buffers-kill-emacs): Don't assume any return
18034 value of list-processes, which is undocumented anyway.
18035
a83ec3c9
CY
180362011-04-06 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * emacs-lisp/tabulated-list.el: New file.
18039
e91a96fe
CY
18040 * emacs-lisp/package.el: Use Tabulated List mode.
18041 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18042 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18043 table format using Tabulated List mode variables.
18044 (package--push): New macro, replacing package-list-maybe-add.
18045 (package-menu--generate): Use package--push. Renamed from
18046 package--generate-package-list.
18047 (package-menu-refresh, list-packages): Use it.
daca8ba5 18048 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18049 Return insertion data instead of inserting it directly.
099c39a4
JB
18050 (package-menu-describe-package, package-menu-execute):
18051 Use tabulated-list-get-id.
e91a96fe
CY
18052 (package-menu-mark-delete, package-menu-mark-install)
18053 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18054 (package-menu-mark-obsolete-for-deletion):
18055 Use tabulated-list-put-tag.
e91a96fe
CY
18056 (package--list-packages, package-menu-revert)
18057 (package-menu-get-package, package-menu-get-version)
18058 (package-menu-sort-by-column): Functions deleted.
18059 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18060 (package-menu--status-predicate, package-menu--version-predicate)
18061 (package-menu--name-predicate)
18062 (package-menu--description-predicate): Handle arguments in the
18063 Tabulated List format.
18064 (package-list-packages-no-fetch): Call list-packages.
18065
3e214b50
JB
180662011-04-06 Juanma Barranquero <lekktu@gmail.com>
18067
18068 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18069 (after-find-file): Don't bind it.
3e214b50
JB
18070 (revert-buffer-in-progress-p): New variable.
18071 (revert-buffer): Bind it.
18072 Pass nil for `after-find-file-from-revert-buffer'.
18073
18074 * saveplace.el (save-place-find-file-hook): Use new variable
18075 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18076
3f0f1700
GM
180772011-04-06 Glenn Morris <rgm@gnu.org>
18078
c0274801
GM
18079 * Makefile.in (AUTOGEN_VCS): New variable.
18080 (autoloads): Use $AUTOGEN_VCS.
18081
3f0f1700
GM
18082 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18083 * calendar/calendar.el (calendar-mode-map):
18084 Check for toolkit scroll bars. (Bug#8305)
18085
41ea9e48
CY
180862011-04-05 Chong Yidong <cyd@stupidchicken.com>
18087
18088 * minibuffer.el (completion-in-region--postch)
18089 (completion-in-region-mode): Remove unnecessary messages.
18090
6194c800
JB
180912011-04-05 Juanma Barranquero <lekktu@gmail.com>
18092
33256f14
JB
18093 * font-lock.el (font-lock-refresh-defaults):
18094 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18095 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18096
6194c800
JB
18097 * info.el (Info-directory-list, Info-read-node-name-2)
18098 (Info-split-parameter-string): Doc fixes.
18099 (Info-virtual-nodes): Reflow docstring.
18100 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18101 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18102 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18103 Fix typos in docstrings.
18104 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18105 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18106 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18107 (Info-restore-desktop-buffer): Mark unused parameters.
18108 (Info-directory-find-file, Info-directory-find-node)
18109 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18110 (Info-virtual-index-find-node, Info-apropos-find-file)
18111 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18112 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18113 (Info-virtual-index): Remove unused local variable `nodename'.
18114
b87a8200 181152011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18116
b87a8200
DD
18117 * net/rcirc.el: Update my e-mail address.
18118 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18119
3b2ff876
CY
181202011-04-05 Chong Yidong <cyd@stupidchicken.com>
18121
18122 * startup.el (command-line): Save the cursor's theme-face
18123 directly, instead of using face-override-spec.
18124
18125 * custom.el (load-theme): Minor optimization in assigning faces.
18126
8d17e7ca
JB
181272011-04-04 Juanma Barranquero <lekktu@gmail.com>
18128
18129 * help-fns.el (describe-variable): Complete all variables having
18130 documentation, including keywords.
18131 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18132
2fbc1934
JB
181332011-04-04 Juanma Barranquero <lekktu@gmail.com>
18134
18135 Convert to lexical-binding.
18136
18137 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18138 (bs--get-marked-string, bs--get-modified-string)
18139 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18140 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18141 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18142
18143 * ehelp.el (electric-help-execute-extended)
18144 (electric-help-ctrl-x-prefix):
18145 * hexl.el (hexl-revert-buffer-function):
18146 * linum.el (linum-after-change, linum-after-scroll):
18147 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18148
18149 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18150
74f50695
DU
181512011-04-04 Daiki Ueno <ueno@unixuser.org>
18152
18153 * epa-dired.el:
18154 * epa-mail.el:
18155 * epa-hook.el:
18156 * epa-file.el:
18157 * epa.el:
18158 * epg.el: Use lexical binding.
18159
c11325f7
CY
181602011-04-03 Chong Yidong <cyd@stupidchicken.com>
18161
0d9e9a12
CY
18162 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18163
c11325f7 18164 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18165 dictionary case for flyspell-mark-duplications-exceptions.
18166 Use regexp matching for languages.
c11325f7
CY
18167 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18168 default dictionary (Bug#7926).
18169
da91b5f2
CY
181702011-04-02 Chong Yidong <cyd@stupidchicken.com>
18171
099c39a4
JB
18172 * emacs-lisp/package.el (package--with-work-buffer):
18173 Recognize https URLs.
da91b5f2 18174
099c39a4
JB
18175 * net/network-stream.el: Move from gnus/proto-stream.el.
18176 Change prefix to network-stream throughout.
da91b5f2
CY
18177 (open-protocol-stream): Merge into open-network-stream, leaving
18178 open-protocol-stream as an alias. Handle nil BUFFER args.
18179
18180 * subr.el (open-network-stream): Move to net/network-stream.el.
18181
afa8e9f6
GM
181822011-04-02 Glenn Morris <rgm@gnu.org>
18183
1d2e369d
GM
18184 * find-dired.el (find-exec-terminator): New option.
18185 (find-ls-option): Test for -ls support.
18186 (find-ls-subdir-switches): Test for -b in find-ls-option.
18187 (find-dired, find-grep-dired): Doc fixes.
18188 (find-dired): Use find-exec-terminator.
18189
8abb7da8 18190 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18191 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18192 (find-name-arg): Remove purecopy.
8abb7da8 18193
f3ca7378
GM
18194 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18195 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18196 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18197 accordingly. Don't add the null-device if not needed.
18198
afa8e9f6
GM
18199 * files.el (save-some-buffers): Doc fix.
18200
35eae264
EZ
182012011-04-02 Eli Zaretskii <eliz@gnu.org>
18202
18203 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18204
26b51db5
JB
182052011-04-01 Juanma Barranquero <lekktu@gmail.com>
18206
18207 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18208 Use `dolist' rather than `mapcar'.
18209
7200d79c
SM
182102011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18211
03408648 18212 Add lexical binding.
7200d79c 18213
03408648
SM
18214 * subr.el (apply-partially): Use new closures rather than CL.
18215 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18216 (dolist, dotimes): Use slightly different expansion for lexical code.
18217 (functionp): Move to C.
18218 (letrec): New macro.
18219 (with-wrapper-hook): Use it and apply-partially instead of CL.
18220 (eval-after-load): Preserve lexical-binding.
18221 (save-window-excursion, with-output-to-temp-buffer): Turn them
18222 into macros.
7200d79c 18223
03408648
SM
18224 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18225
18226 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18227 than the arglist.
18228 (help-add-fundoc-usage): Don't add `Not documented'.
18229 (help-function-arglist): Handle closures, subroutines, and new
18230 byte-code-functions.
18231 (help-make-usage): Remove leading underscores.
18232 (describe-function-1): Handle closures.
18233 (describe-variable): Use special-variable-p for completion.
18234
18235 * files.el (lexical-binding): Declare safe.
f488fb65 18236
03408648
SM
18237 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18238 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18239 (pcase): Add `let' pattern.
18240 Change memoization so it actually works.
18241 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18242 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18243 <let>: New case.
f488fb65 18244
03408648
SM
18245 * emacs-lisp/macroexp.el: Use lexical binding.
18246 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18247 Don't convert ' to #' without checking that it's indeed quoting
18248 a lambda.
18249
18250 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18251 Use eval-sexp-add-defvars.
03408648
SM
18252 (eval-sexp-add-defvars): New fun.
18253
18254 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18255
18256 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18257 Don't autoload.
18258 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18259 than the internal `byte-compile-lambda'.
18260 (defmethod): Don't hide code under quotes.
18261 (eieio-defmethod): New `code' argument.
18262
18263 * emacs-lisp/eieio-comp.el: Remove.
18264
18265 * emacs-lisp/edebug.el (edebug-eval-defun)
18266 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18267 (edebug-toggle): Avoid `eval'.
18268
18269 * emacs-lisp/disass.el (disassemble-internal): Handle new
18270 `closure' objects.
18271 (disassemble-1): Handle new byte codes.
18272
18273 * emacs-lisp/cl.el (pushnew): Silence warning.
18274
18275 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18276 (cl-byte-compile-throw): Remove.
18277 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18278
18279 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18280 closures.
18281
18282 * emacs-lisp/cconv.el: New file.
18283
18284 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18285 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18286 (byte-compile-initial-macro-environment):
18287 Handle declare-function here.
18288 (byte-compile--lexical-environment): New var.
18289 (byte-stack-ref, byte-stack-set, byte-discardN)
18290 (byte-discardN-preserve-tos): New lap codes.
18291 (byte-interactive-p): Don't use any more.
18292 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18293 New macros.
18294 (byte-compile-lapcode): Use them and handle new lap codes.
18295 (byte-compile-obsolete): Remove.
18296 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18297 (byte-compile-arglist-warn): Check late def of inlinable funs.
18298 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18299 since they should have been expanded by now.
18300 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18301 (byte-compile-from-buffer): Remove unused second arg.
18302 (byte-compile-preprocess): New function.
18303 (byte-compile-toplevel-file-form): New function to distinguish
18304 file-form calls from outside from file-form calls from hunk-handlers.
18305 (byte-compile-file-form): Simplify.
18306 (byte-compile-file-form-defsubst): Remove.
18307 (byte-compile-file-form-defmumble): Simplify now that
18308 byte-compile-lambda always returns a byte-code-function.
18309 (byte-compile): Preprocess.
18310 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18311 Remove, not used any more.
18312 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18313 (byte-compile-make-args-desc): New funs.
18314 (byte-compile-lambda): Handle lexical functions. Always return
18315 a byte-code-function.
18316 (byte-compile-reserved-constants): New var, to make up room for
18317 closed-over variables.
18318 (byte-compile-constants-vector): Obey it.
18319 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18320 (byte-compile-macroexpand-declare-function): New function.
18321 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18322 byte-code-functions.
18323 (byte-compile-form): Check obsolescence here.
18324 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18325 (byte-compile-variable-ref): Remove.
18326 (byte-compile-dynamic-variable-op): New fun.
18327 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18328 (byte-compile-variable-set): New funs.
18329 (byte-compile-discard): Add 2 args.
18330 (byte-compile-stack-ref, byte-compile-stack-set)
18331 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18332 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18333 macroexpand-all instead.
18334 (byte-compile-quote-form): Remove.
18335 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18336 (byte-compile-bind, byte-compile-unbind): New funs.
18337 (byte-compile-let): Handle let* and lexical binding.
18338 (byte-compile-let*): Remove.
18339 (byte-compile-catch, byte-compile-unwind-protect)
18340 (byte-compile-track-mouse, byte-compile-condition-case):
18341 Handle a new :fun-body form, used for lexical scoping.
18342 (byte-compile-save-window-excursion)
18343 (byte-compile-with-output-to-temp-buffer): Remove.
18344 (byte-compile-defun): Simplify.
18345 (byte-compile-stack-adjustment): New fun.
18346 (byte-compile-out): Use it.
18347 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18348
18349 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18350 handler any more.
18351
18352 * emacs-lisp/byte-opt.el: Use lexical binding.
18353 (byte-inline-lapcode): Remove (to bytecomp).
18354 (byte-compile-inline-expand): Pay attention to inlining to/from
18355 lexically bound code.
18356 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18357 any more.
18358 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18359 any more and don't call compiler-macros.
18360 (byte-compile-splice-in-already-compiled-code): Remove.
18361 (byte-code): Don't inline any more.
18362 (disassemble-offset): Receive `bytes' as argument rather than via
18363 dynamic scoping.
18364 (byte-compile-tag-number): Declare before first use.
18365 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18366 `return' even if make-spliceable.
18367 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18368 obsolete interactive-p.
18369 (byte-optimize-lapcode): Optimize new lap-codes.
18370 Don't trip up on new form of `byte-constant' lap code.
18371
18372 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18373
18374 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18375
18376 * custom.el (custom-initialize-default, custom-declare-variable):
18377 Use `defvar'.
18378
18379 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18380 New variables.
18381 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18382 (COMPILE_FIRST): Add macroexp and cconv.
18383 * makefile.w32-in: Mirror changes in Makefile.in.
18384
18385 * vc/cvs-status.el:
18386 * vc/diff-mode.el:
18387 * vc/log-edit.el:
18388 * vc/log-view.el:
18389 * vc/smerge-mode.el:
18390 * textmodes/bibtex-style.el:
090bd7cb 18391 * textmodes/css-mode.el:
03408648
SM
18392 * startup.el:
18393 * uniquify.el:
da91b5f2
CY
18394 * minibuffer.el:
18395 * newcomment.el:
18396 * reveal.el:
18397 * server.el:
18398 * mpc.el:
18399 * emacs-lisp/smie.el:
18400 * doc-view.el:
18401 * dired.el:
03408648
SM
18402 * abbrev.el: Use lexical binding.
18403
0f0c1f27
EZ
184042011-04-01 Eli Zaretskii <eliz@gnu.org>
18405
18406 * info.el (info-display-manual): New function.
18407
c82b2579
SM
184082011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18411
221ddf68
TH
184122011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18413
18414 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18415 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18416
cba6e77e
GM
184172011-03-31 Glenn Morris <rgm@gnu.org>
18418
e040639f
GM
18419 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18420
cba6e77e
GM
18421 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18422
6d0f1c9e
CS
184232011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18424
18425 * progmodes/python.el (python-default-interpreter)
18426 (python-python-command-args, python-jython-command-args)
18427 (python-which-shell, python-which-args, python-which-bufname)
18428 (python-file-queue, python-comint-output-filter-function)
18429 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18430 variables and functions.
18431
3e2d70fd
SM
184322011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18433
18434 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18435 (completion-in-region-mode): New minor mode.
18436 (completion-in-region): Use it.
18437 (completion-in-region--data, completion-in-region-mode-map): New vars.
18438 (completion-in-region--postch): New function.
18439 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18440 New vars.
18441 (completion--capf-wrapper): New function.
18442 (completion-at-point): Use it to track well-behavedness of
18443 hook functions.
18444 (completion-help-at-point): New command.
18445
f3e4086c
JM
184462011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18447
18448 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18449 syntax class to search for whitespace on a single line
18450 (Message-ID: <4D938140.4030905@redhat.com>).
18451
eb7ffc14
LL
184522011-03-30 Leo Liu <sdl.web@gmail.com>
18453
18454 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18455 New commands.
18456 (edit-abbrevs-map): Bind them here.
18457 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18458
d806ab68
KM
184592011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18460
18461 * allout.el (allout-hide-by-annotation, allout-flag-region):
18462 Reduce possibility of overlay leakage by making them volatile.
18463
18464 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18465 hash is not shared between buffers. Mode initialization is
18466 responsible for giving it a useful starting value.
18467 (allout-item-span): Reduce possibility of overlay leakage by
18468 making them volatile.
18469 (allout-widgets-count-buttons-in-region): Add diagnostic function
18470 for tracking down button overlay leaks.
18471
ea622834
LL
184722011-03-29 Leo Liu <sdl.web@gmail.com>
18473
18474 * ido.el (ido-read-internal): Use the default history var
18475 minibuffer-history if no HISTORY is specified.
18476
b62f8267
G
184772011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18478
03408648
SM
18479 * net/imap.el (imap-shell-open, imap-process-connection-type):
18480 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18481 Kerberos, SSL, other subprocesses.
18482
947b6566
LL
184832011-03-28 Leo Liu <sdl.web@gmail.com>
18484
18485 * abbrev.el (abbrev-table-empty-p): New function.
18486 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18487 nonempty ones. (Bug#5937)
18488
5ffb62aa
JD
184892011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18490
18491 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18492
7a097943
LL
184932011-03-27 Leo Liu <sdl.web@gmail.com>
18494
18495 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18496 for foreground and background colors.
18497 (ansi-color-make-color-map): Adapt.
18498
c5b40130
LL
184992011-03-25 Leo Liu <sdl.web@gmail.com>
18500
1f48f7d2
LL
18501 * midnight.el (midnight-time-float): Remove. Note it calculates
18502 the microsecond component incorrectly and seconds-to-time does the
18503 same job.
625897ec 18504 Remove redundant (require 'timer).
1f48f7d2 18505
c5b40130
LL
18506 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18507 (ido-completions): Remove unused arguments. (Bug#8329)
18508
d86d2721
SM
185092011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18510
18511 * minibuffer.el (completion--flush-all-sorted-completions):
18512 Remove itself from hook.
18513 (completion-at-point): Let the functions perform the completion
18514 immediately and return nil or t.
18515 * comint.el (comint-dynamic-complete-functions): Now identical to
18516 completion-at-point-functions.
18517 (comint-dynamic-list-input-ring): Remove unused var `index'.
18518 (comint--match-partial-filename, comint--unquote&expand-filename):
18519 New funs, split from comint-match-partial-filename.
18520 (comint-dynamic-complete): Use completion-at-point.
18521 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18522
e8974c48
DA
185232011-03-24 Drew Adams <drew.adams@oracle.com>
18524
18525 * thingatpt.el: Support `defun'.
18526
def71b5e
LL
185272011-03-23 Leo Liu <sdl.web@gmail.com>
18528
cb5af48e
LL
18529 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18530
def71b5e
LL
18531 * help-mode.el (help-mode-finish): Tweak regexp.
18532
927c53e7
GM
185332011-03-23 Glenn Morris <rgm@gnu.org>
18534
18d05bed
GM
18535 * eshell/esh-opt.el (eshell-eval-using-options):
18536 Do not bind unused local variable `eshell-option-stub'.
18537
927c53e7
GM
18538 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18539
9d0da923
JB
185402011-03-22 Juanma Barranquero <lekktu@gmail.com>
18541
18542 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18543 keymap variable in `with-no-warnings' to avoid a warning when the
18544 keymap has been already `defconst'ed.
18545
4b978a67
LL
185462011-03-22 Leo Liu <sdl.web@gmail.com>
18547
18548 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18549 encode all chars in abbrevs; otherwise use emacs-mule or
18550 utf-8-emacs. (Bug#8308)
18551
5fd62452
JB
185522011-03-22 Juanma Barranquero <lekktu@gmail.com>
18553
0b1596c6
JB
18554 * simple.el (backward-delete-char-untabify):
18555 Avoid warning about using `delete-backward-char'.
18556
5fd62452
JB
18557 * image.el (image-type-file-name-regexps): Make it variable.
18558 `imagemagick-register-types' modifies it, and the user may want
18559 to add new extensions for known image types.
18560 (imagemagick-register-types): Throw error if not using ImageMagick.
18561
0b4e93f1
LL
185622011-03-22 Leo Liu <sdl.web@gmail.com>
18563
18564 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18565 located before rcirc-prompt-end-marker.
18566 (rcirc-complete): Error if point is not after rcirc prompt.
18567 Handle the case when table is nil.
9882e214 18568 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18569
fccee4ab
CY
185702011-03-22 Chong Yidong <cyd@stupidchicken.com>
18571
18572 * custom.el (custom--inhibit-theme-enable): Make it affect only
18573 custom-theme-set-variables and custom-theme-set-faces.
18574 (provide-theme): Ignore custom--inhibit-theme-enable.
18575 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18576 (custom-enabling-themes): Delete variable.
d86d2721
SM
18577 (enable-theme): Accept only loaded themes as arguments.
18578 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18579 (custom-enabled-themes): Forbid themes from setting this.
18580 Eliminate use of custom-enabling-themes.
18581 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18582
af896da6
LL
185832011-03-21 Leo Liu <sdl.web@gmail.com>
18584
18585 * ido.el (ido-read-internal): Add ido-selected to history instead
18586 of user input.
18587
78f64af0
SM
185882011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * subr.el (deferred-action-list, deferred-action-function):
18591 Mark obsolete.
18592
b16ac1ec
LL
185932011-03-21 Leo Liu <sdl.web@gmail.com>
18594
810f7698
LL
18595 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18596 change on 2011-02-13 (bug#8309).
18597
b16ac1ec
LL
18598 * minibuffer.el (read-file-name-function): Change default value.
18599 (read-file-name--defaults): Rename from read-file-name-defaults.
18600 (read-file-name-default): Rename from read-file-name.
18601 (read-file-name): Call read-file-name-function.
18602
4e05e67e
GM
186032011-03-21 Glenn Morris <rgm@gnu.org>
18604
18605 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18606 Doc fixes.
18607
4359915b
CY
186082011-03-21 Chong Yidong <cyd@stupidchicken.com>
18609
18610 * cus-theme.el: Add missing provide statement.
18611 (customize-create-theme): Extract theme value correctly.
18612 (custom-theme-visit-theme): Autoload.
18613 (customize-create-theme): Prompt before inserting default faces.
18614
1fe275ee
JB
186152011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18616
18617 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18618 units and musical notes.
18619
cd394be1 186202011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18621
18622 * ido.el (ido-read-internal): Use completing-read-default.
18623 (ido-completing-read): Fix compatibility with completing-read.
18624
7d476bde
CO
186252011-03-20 Christian Ohler <ohler@gnu.org>
18626
18627 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18628 (ert-delete-all-tests): Use `called-interactively-p' rather than
18629 `interactive-p'.
18630 (ert--make-xrefs-region): Respect END.
18631
fe0fb33e
CY
186322011-03-19 Chong Yidong <cyd@stupidchicken.com>
18633
ff854b0b
CY
18634 * dired-aux.el (dired-create-directory): Signal an error if the
18635 directory already exists (Bug#8246).
18636
fe0fb33e
CY
18637 * facemenu.el (list-colors-display): Call list-faces-display
18638 inside with-help-window.
18639 (list-colors-print): Use display property to align the final
18640 column, instead of checking window-width.
18641
576bce32
EZ
186422011-03-19 Eli Zaretskii <eliz@gnu.org>
18643
4d61f28d 18644 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18645 windows-nt systems.
18646 (emerge-protect-metachars): Quote correctly for ms-dos and
18647 windows-nt systems.
18648
89c41d68 186492011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18650
18651 * info.el (info-initialize): Replace all uses of `:' with
18652 path-separator for compatibility with non-Unix systems.
18653 Cache quoting of path-separator. (Bug#8258)
18654
b14e3e21 186552011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18656
18657 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18658 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18659 (mouse-avoidance-mode): Fix typos in docstrings.
18660
4525ce3e
CY
186612011-03-19 Chong Yidong <cyd@stupidchicken.com>
18662
18663 * startup.el (package-subdirectory-regexp): Move from package.el.
18664 Omit \\` and \\', and let callers add them.
18665
18666 * emacs-lisp/package.el (package-strip-version)
18667 (package-load-all-descriptors): Add \\` and \\' to
18668 package-subdirectory-regexp before using it.
18669 (package-untar-buffer): New arg DIR; ensure that file untars only
18670 into this expected directory. Remove superfluous delete-region.
18671 (package-unpack): Caller changed.
18672 (package-tar-file-info): Use package-subdirectory-regexp.
18673
a904a09a 186742011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18675
a904a09a
SM
18676 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18677 diff-mode-shared-map (bug#8284).
18678 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18679
186802011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18681
18682 * calendar/time-date.el (format-seconds): Use assoc instead of
18683 assoc-string, since assoc-string doesn't exist in XEmacs.
18684
171fc304
JB
186852011-03-17 Juanma Barranquero <lekktu@gmail.com>
18686
18687 * custom.el (custom-known-themes): Reflow docstring.
18688 (custom-theme-load-path): Fix typo in docstring.
18689 (load-theme): Fix typo in error message.
18690 (custom-available-themes, custom-variable-theme-value):
18691 Use `let', not `let*'.
18692
d71990a1
JB
186932011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18694
18695 * calc/README: Mention inclusion of musical notes.
18696
18697 * calc/calc-units.el (calc-lu-quant): Rename from
18698 `calc-logunits-quantity'.
18699 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18700 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18701 (calc-db): Rename from `calc-dblevel'.
18702 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18703 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18704 (calc-np): Rename from `calc-nplevel'.
18705 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18706 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18707 (calc-lu-plus): Rename from `calc-logunits-add'.
18708 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18709 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18710 (calc-lu-minus): Rename from `calc-logunits-sub'.
18711 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18712 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18713 (calc-lu-times): Rename from `calc-logunits-mul'.
18714 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18715 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18716 (calc-lu-divide): Rename from `calc-logunits-div'.
18717 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18718 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18719
18720 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18721 functions being autoloaded.
18722
18723 * calc/calc.el (calc-lu-power-reference): Rename from
18724 `calc-logunits-power-reference'.
18725 (calc-lu-field-reference): Rename from
18726 `calc-logunits-field-reference'.
18727
7a71b18d
GM
18728 * calc/calc-help.el (calc-l-prefix-help):
18729 Mention musical note functions.
d71990a1 18730
40c2934b
SM
187312011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18732
18733 * minibuffer.el (completion-all-sorted-completions):
18734 Use :completion-cycle-penalty text property if present.
18735
b0911414
KM
187362011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18737
18738 * allout.el (allout-yank-processing): Adjust for new rebulleting
18739 regime so bullet being yanked is used without prompting the user
18740 for a choice.
18741
8a05b668
JB
187422011-03-16 Juanma Barranquero <lekktu@gmail.com>
18743
18744 * startup.el (command-line): Warn the user that _emacs is deprecated.
18745
5ba5fb81
JB
187462011-03-16 Juanma Barranquero <lekktu@gmail.com>
18747
18748 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18749 (delphi-verbose, delphi-comment-face, delphi-string-face)
18750 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18751 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18752 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18753 (delphi-new-comment-line, delphi-font-lock-defaults)
18754 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18755 Fix typos in docstrings.
18756
2dab465b
KM
187572011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18758
5ba5fb81 18759 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18760 Invert the roles of character and string values for INSTEAD, so a
18761 string is used for the more common case of a defaulting prompt.
18762
0adf5618
SM
187632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18764
18765 * progmodes/ruby-mode.el (ruby-backward-sexp):
18766 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18767 * play/gamegrid.el (gamegrid-make-face):
18768 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18769 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18770 * notifications.el (notifications-notify):
18771 * net/xesam.el (xesam-search-engines):
18772 * net/quickurl.el (quickurl-list-insert):
18773 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18774
d72700e5
CY
187752011-03-15 Chong Yidong <cyd@stupidchicken.com>
18776
18777 * startup.el (command-line): Update package subdirectory regexp.
18778
49c5410a
SM
187792011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18780
c6eee9aa
SM
18781 * allout.el (allout-abbreviate-flattened-numbering)
18782 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18783
49c5410a
SM
18784 * subr.el (read-char-choice): Only show the cursor after the prompt,
18785 not after the answer.
18786
047b2bb9
KR
187872011-03-15 Kevin Ryde <user42@zip.com.au>
18788
18789 * help-fns.el (variable-at-point): Skip leading quotes, if any
18790 (bug#8253).
18791
0a57d256
SM
187922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18793
18794 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18795 warning message.
18796
77c992bc
MA
187972011-03-14 Michael Albinus <michael.albinus@gmx.de>
18798
18799 * shell.el (shell): When called interactively, offer to change the
18800 shell file name on remote hosts.
18801
eebc475d
TZ
188022011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18803
18804 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18805 integration for LDAP parameters. The host, base, user or binddn,
18806 and secret tokens can be specified in a netrc file, for instance.
18807 This is optional because an `auth-source' parameter must be
18808 specified in the search attributes.
18809
9d05d1ba
JB
188102011-03-13 Juanma Barranquero <lekktu@gmail.com>
18811
18812 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18813
09d9db2c
GM
188142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18817 into declaration. Remove redundant and harmful binding.
18818
188192011-03-12 Eli Zaretskii <eliz@gnu.org>
18820
18821 * files.el (file-ownership-preserved-p): Pass `integer' as an
18822 explicit 2nd argument to `file-attributes'. If the file's owner
18823 is the Administrators group on Windows, and the current user is
18824 Administrator, consider that a match.
18825
18826 * server.el (server-ensure-safe-dir): Consider server directory
18827 safe on MS-Windows if its owner is the Administrators group while
18828 the current Emacs user is Administrator. Use `=' to compare
18829 numerical UIDs, since they could be integers or floats.
18830
219bd536
JB
188312011-03-12 Juanma Barranquero <lekktu@gmail.com>
18832
18833 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18834
f3afd36b
MA
188352011-03-12 Michael Albinus <michael.albinus@gmx.de>
18836
18837 Sync with Tramp 2.2.1.
18838
18839 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18840
18841 * net/trampver.el: Update release number.
18842
3aaaa6f1
SM
188432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18844
94642599
SM
18845 * progmodes/compile.el (compilation--previous-directory): Fix up
18846 various nil/dead-marker mismatches (bug#8014).
18847 (compilation-directory-properties, compilation-error-properties):
18848 Don't call it at a position past the one we're about to change.
18849
3aaaa6f1
SM
18850 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18851 Disable obsolescence warnings in the file that declares it.
18852
14239447
KM
188532011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18854
099c39a4
JB
18855 * allout-widgets.el (allout-widgets-tally):
18856 Initialize allout-widgets-tally as a hash table rather than nil to
18857 prevent mode-line redisplay warnings. Also, clarify the module
18858 description and fix a comment typo.
14239447 18859
135e287c
JB
188602011-03-11 Juanma Barranquero <lekktu@gmail.com>
18861
18862 * help-fns.el (describe-variable): Don't complete keywords.
18863 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18864
ffbf300e
CY
188652011-03-10 Chong Yidong <cyd@stupidchicken.com>
18866
ba08b241
CY
18867 * emacs-lisp/package.el (package-version-join): Impose a standard
18868 string representation for pre/alpha/beta version lists.
18869 (package-unpack-single): Standardize the directory name by passing
18870 it through package-version-join.
18871 (package-strip-rcs-id): Accept any version string that does not
18872 signal an error in version-to-list.
ffbf300e 18873
f346fd6b
MA
188742011-03-10 Michael Albinus <michael.albinus@gmx.de>
18875
18876 * simple.el (delete-trailing-whitespace): Return nil for the
18877 benefit of `write-file-functions'.
18878
ccb55d27
GM
188792011-03-10 Glenn Morris <rgm@gnu.org>
18880
5ceaac0c
GM
18881 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18882
02da65ff
GM
18883 * vc/vc-git.el (vc-git-program): New option.
18884 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18885 (vc-git--call): Use it.
18886
b2f603cc
GM
18887 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18888
5772caab
GM
18889 * cus-edit.el (Custom-newline): If no button at point, look
18890 for a subgroup button at start-of-line. (Bug#2298)
18891
ccb55d27
GM
18892 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18893
ec6ecaed
JD
188942011-03-10 Julien Danjou <julien@danjou.info>
18895
18896 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18897 `cursor-type' is nil.
18898
9d5aa01d
JB
188992011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18900
18901 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18902
b6a5875b
KM
189032011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18904
7a71b18d 18905 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18906 preserves the existing header prefix, rebulleting it if necessary,
18907 rather than replacing it. This is necessary for proper operation
18908 of cooperative addons like allout-widgets.
1154d12e
JB
18909 (allout-make-topic-prefix, allout-rebullet-heading):
18910 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18911 value as alternate bullet to be used, instead of prompting the user
18912 for a bullet character.
b6a5875b 18913
ee545c35
MA
189142011-03-09 Michael Albinus <michael.albinus@gmx.de>
18915
d86d2721
SM
18916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18917 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18918 `tramp-default-port'.
18919
c47971d7
DD
189202011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18921
18922 * net/rcirc.el (rcirc-handler-001): Remove useless
18923 with-rcirc-process-buffer.
18924 (rcirc-check-auth-status): Swap arguments to string-match.
18925
13522cb4
GM
189262011-03-09 Glenn Morris <rgm@gnu.org>
18927
0be6f4f1
GM
18928 * shell.el (shell-mode):
18929 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18930
13522cb4
GM
18931 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18932 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18933
515de2e3
CY
189342011-03-08 Chong Yidong <cyd@stupidchicken.com>
18935
18936 * emacs-lisp/package.el (package-refresh-contents)
18937 (package-menu-execute): Use condition-case-no-debug.
18938
b511b994
MA
189392011-03-08 Michael Albinus <michael.albinus@gmx.de>
18940
18941 * simple.el (shell-command-to-string): Use `process-file'.
18942
18943 * emacs-lisp/package.el (package-tar-file-info): Handle also
18944 remote files.
18945
d86d2721
SM
18946 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18947 Use `equal' for upload base check.
b511b994 18948
25bbfb31
AM
189492011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18950
18951 * textmodes/texinfo.el (texinfo-environments):
18952 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18953
be996521
GM
189542011-03-08 Glenn Morris <rgm@gnu.org>
18955
e9c8529f
GM
18956 * cus-start.el (cursor-in-non-selected-windows):
18957 Fix :set quoting oddness. (Bug#8192)
18958
be996521
GM
18959 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18960 in some setf expressions. (Bug#2159)
18961
2bb5649e
CY
189622011-03-08 Chong Yidong <cyd@stupidchicken.com>
18963
18964 * custom.el (custom-available-themes): Return themes in
18965 alphabetical order.
18966
33383987 18967See ChangeLog.15 for earlier changes.
e3d51b27
MR
18968
18969;; Local Variables:
18970;; coding: utf-8
e3d51b27
MR
18971;; End:
18972
acaf905b 18973 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18974
18975 This file is part of GNU Emacs.
18976
18977 GNU Emacs is free software: you can redistribute it and/or modify
18978 it under the terms of the GNU General Public License as published by
18979 the Free Software Foundation, either version 3 of the License, or
18980 (at your option) any later version.
18981
18982 GNU Emacs is distributed in the hope that it will be useful,
18983 but WITHOUT ANY WARRANTY; without even the implied warranty of
18984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18985 GNU General Public License for more details.
18986
18987 You should have received a copy of the GNU General Public License
18988 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.