* lisp/replace.el (read-regexp): Don't add ": " when PROMPT already
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
41a97e6f
JL
12012-09-20 Juri Linkov <juri@jurta.org>
2
3 * replace.el (read-regexp): Don't add ": " when PROMPT already
4 ends with a colon and space. (Bug#12321)
5
c9e452d3
TH
62012-09-20 Tassilo Horn <tsdh@gnu.org>
7
8 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9 error.
10
ee97deee
SM
112012-09-20 Stefan Merten <smerten@oekonux.de>
12
13 * rst.el: Integrate support for `imenu' and `which-function'.
14 Fixes feature request bug#11711.
15 (rst-mode): Create `imenu-create-index-function'.
16 (rst-get-stripped-line): Delete after refactoring.
17 (rst-section-tree, rst-section-tree-rec)
18 (rst-section-tree-point): Refactor and document properly.
19 (rst-imenu-find-adornments-for-position)
20 (rst-imenu-convert-cell, rst-imenu-create-index): New
21 function.
22
f490dab9
SM
232012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
24
95b9712e
SM
25 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
26 (macroexp--expand-all): Use it.
27 (macroexp--funcall-and-return): Remove by folding it into its sole
28 caller (macroexp--warn-and-return).
29 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
30 Use macroexp--obsolete-warning.
31
f490dab9
SM
32 * calc/calc.el: Fix last change by removing the whole chunk, since it
33 was only needed back when Calc was not bundled.
34
96e8d411
MR
352012-09-20 Martin Rudalics <rudalics@gmx.at>
36
37 * emacs-lisp/debug.el (debug): Restore assignment to
38 debugger-old-buffer removed on 2012-09-08.
39
0876a82d
JL
402012-09-20 Juri Linkov <juri@jurta.org>
41
42 * dired-aux.el (dired-diff): Remove (require 'diff) since
43 `diff-latest-backup-file' is now autoloaded.
44
9f7c28f0
CY
452012-09-20 Chong Yidong <cyd@gnu.org>
46
47 * vc/diff.el (diff-latest-backup-file): Autoload.
48
7a04bee9
SM
492012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
50
e6f0a80d
SM
51 * calc/calc.el: Remove redundant autoload shape check.
52 (sel-mode): Don't defvar.
53 (calc-get-stack-element): Add `sel-mode' arg instead.
54 (calc-top, calc-top-list): Pass it this additional argument.
55 * calc/calc-store.el (calc-store-map):
56 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
57 (calc-map-equation, calc-outer-product, calc-inner-product):
58 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
59
7a04bee9
SM
60 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
61
12734222
JL
622012-09-19 Juri Linkov <juri@jurta.org>
63
64 * dired-aux.el (dired-diff): Add (require 'diff) because
65 `diff-latest-backup-file' is not autoloaded.
66 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
67 of `dired-get-filename' to t to not report error when there is
68 no default file on the current line.
69
46624b4f
SM
702012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
71
ce97595b
SM
72 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
73 macroexp--eval-if-compile.
74 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
75 (macroexp--expand-all): Use them (bug#12371).
76
46624b4f
SM
77 * doc-view.el (doc-view-guess-paper-size)
78 (doc-view-scale-bounding-box): Fix unbound `caddr'.
79
db8a5a18
TH
802012-09-19 Tassilo Horn <tsdh@gnu.org>
81
82 New feature: set optimal slice from BoundingBox information.
83 * doc-view.el (doc-view-mode-map): Add keybinding.
84 (doc-view-menu): Add menu entry.
85 (doc-view-set-slice): Adapt docstring.
86 (doc-view-get-bounding-box, doc-view-guess-paper-size)
87 (doc-view-scale-bounding-box)
88 (doc-view-set-slice-from-bounding-box): New functions.
89 (doc-view-paper-sizes): New defvar.
90
69f6644c
GM
912012-09-19 Glenn Morris <rgm@gnu.org>
92
35f5b19d
GM
93 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
94 (byte-compile-log-warning): Autoload. (Bug#12371)
95
69f6644c
GM
96 * calendar/calendar.el (calendar-american-month-header)
97 (calendar-european-month-header, calendar-iso-month-header)
98 (calendar-month-header): New options.
99 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
100 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
101
e543ae91
JD
1022012-09-19 Jan Djärv <jan.h.d@swipnet.se>
103
104 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
105
2fd5e67d
JL
1062012-09-18 Juri Linkov <juri@jurta.org>
107
108 * dired-aux.el (dired-diff): Restore original functionality of
109 getting the default value, but keep new feature of using the
110 latest existing backup file (`diff-latest-backup-file').
111
42917e79
JL
1122012-09-18 Juri Linkov <juri@jurta.org>
113
114 * dired.el (dired-mark): If the region is active in Transient Mark
115 mode, mark all files in the active region. Doc fix.
116 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
117 Doc fix. (Bug#10624)
118
20f70ede
JL
1192012-09-18 Juri Linkov <juri@jurta.org>
120
121 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
122 attributes for M-n are pulled from the file at point.
123 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
124 Suggested by Drew Adams. (Bug#10624)
125
32fb8162
DG
1262012-09-18 Dmitry Gutov <dgutov@yandex.ru>
127
128 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
129 whitespace after "end".
130 (ruby-do-end-to-brace): Collapse block to one line if it fits
131 within fill-column.
132
37ab5092
MR
1332012-09-18 Martin Rudalics <rudalics@gmx.at>
134
135 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
136 value.
137 (debug): Don't remove debugger window when debugger is expected
138 to be back.
139
ed1f0bd3
CY
1402012-09-18 Chong Yidong <cyd@gnu.org>
141
142 * custom.el (defface): Doc fix.
143
144 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
145
a11035b8
MB
1462012-09-18 Martin Blais <blais@furius.ca> (tiny change)
147
148 * progmodes/compile.el (compilation-start): Use compilation-always-kill
149 to initialize query-on-exit; then test that instead (bug#12288).
150
64f6a736
SM
1512012-09-17 Stefan Merten <smerten@oekonux.de>
152
153 * rst.el: Add support for `testcover'.
154 (rst-defcustom-testcover, rst-testcover-add-compose)
155 (rst-testcover-add-1value): New functions.
156 (rst-portable-mark-active-p): Replace by `use-region-p'.
157 (rst-update-section, rst-classify-adornment)
158 (rst-find-title-line): Mark `1value' forms.
159 (rst-classify-adornment): Remove superfluous form.
160 (rst-update-section, rst-get-adornments-around)
161 (rst-adornment-complete-p, rst-get-next-adornment)
162 (rst-adjust, rst-promote-region)
163 (rst-display-adornments-hierarchy, rst-straighten-adornments)
164 (rst-find-pfx-in-region, rst-section-tree-rec)
165 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
166 (rst-toc-node, rst-toc, rst-forward-section)
167 (rst-iterate-leftmost-paragraphs)
168 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
169 (rst-bullet-list-region)
170 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
171 (rst-compile-find-conf, rst-compile)
172 (rst-repeat-last-character): Fix style.
173
580bd868
CY
1742012-09-17 Chong Yidong <cyd@gnu.org>
175
176 * comint.el (comint--complete-file-name-data): Don't add a space
177 if the status is `sole'; that adds a gratuitous space in the
178 completion-cycling case (Bug#12092).
179
180 * pcomplete.el (pcomplete-completions-at-point): Likewise.
181
69de3ec6
RS
1822012-09-17 Richard Stallman <rms@gnu.org>
183
0dee970c
RS
184 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
185 only in the mime-shown mode, not in raw mode.
186 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 187 mime processing. (Bug#12305)
0dee970c 188
6b250df6
GM
189 * mail/rmail.el (rmail-retry-failure):
190 Turn off mime processing first. (Bug#12037)
acb1c47b 191
69de3ec6
RS
192 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
193
d079ee5f
CY
1942012-09-17 Chong Yidong <cyd@gnu.org>
195
196 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
197 (shell-dynamic-complete-functions): Convert to defcustom.
198 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
199
865fe16f
CY
200 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
201 * comint.el (comint-prompt-read-only):
202 * custom.el (defcustom):
203 * hi-lock.el (hi-lock-mode):
204 * ibuffer.el (ibuffer-formats):
205 * ielm.el (ielm-prompt-read-only):
206 * novice.el (disable-command):
207 * saveplace.el (toggle-save-place):
208 * speedbar.el (speedbar-supported-extension-expressions):
209 * startup.el (auto-save-list-file-prefix, init-file-user)
210 (after-init-hook, inhibit-startup-echo-area-message):
211 * strokes.el (strokes-help):
212 * time-stamp.el (time-stamp):
213 * calendar/calendar.el (calendar, diary-file):
214 * calendar/diary-lib.el (diary-mail-entries, diary)
215 (diary-list-entries-hook):
216 * calendar/holidays.el (holidays, calendar-holidays):
217 * calendar/lunar.el (lunar-phases):
218 * calendar/solar.el (sunrise-sunset):
219 * emulation/edt.el (edt-load-keys):
220 * emulation/viper.el (viper-mode):
221 * eshell/em-alias.el (eshell-command-aliases-list):
222 * eshell/esh-util.el (eshell-convert-numeric-arguments):
223 * international/ogonek.el (ogonek-information):
224 * net/tramp-cmds.el (tramp-bug):
225 * net/quickurl.el (quickurl-reread-hook-postfix):
226 * play/decipher.el (decipher-font-lock-keywords):
227 * progmodes/cc-styles.el (c-set-style):
228 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
229 * progmodes/inf-lisp.el (inferior-lisp-prompt):
230 * progmodes/octave-mod.el (octave-mode):
231 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
232 * progmodes/verilog-mode.el (verilog-read-defines):
233 * textmodes/two-column.el (2C-mode): Likewise.
234
48093eb9
KY
2352012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
236
237 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
238 that holds many addresses.
239
c584eaf9
CY
2402012-09-16 Chong Yidong <cyd@gnu.org>
241
40d70ecb
CY
242 * align.el (align-areas): Call the indication function with
243 positions instead of markers for arguments (Bug#12343).
244
1667e065
CY
245 * files.el (parse-colon-path): Use split-string (Bug#12351).
246
fdc2806d 247 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 248 (display-buffer-function): Mark as obsolete.
fdc2806d 249
f1be615c 250 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
251 values similar to font-lock-keywords (Bug#12136).
252 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
253 (compilation-error-regexp-alist): Doc fix.
254
f40a9709
GM
2552012-09-15 Glenn Morris <rgm@gnu.org>
256
72aa16e1
GM
257 * version.el (emacs-bzr-version-bzr): New function.
258 (emacs-bzr-get-version): Add optional EXTERNAL argument.
259
82375160
GM
260 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
261 checkouts, check the parent dirstate matches the branch.
262 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
263 empty string.
264
f40a9709
GM
265 * version.el (emacs-bzr-version): Doc fix.
266 (emacs-bzr-version-dirstate): New function.
267 (emacs-bzr-get-version): For lightweight checkouts, if the parent
268 is local try and check that it matches the branch. If not, just
269 use dirstate information. (Bug#12441)
270
cb26b7f5
JL
2712012-09-14 Juri Linkov <juri@jurta.org>
272
273 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
274 (Bug#12399)
275
2de39f08
SM
2762012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
277
0fb3cb7c
SM
278 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
279
2de39f08
SM
280 * emacs-lisp/edebug.el: Miscellaneous cleanup.
281 Remove obsolete byte-compiler hack that tried to silence some warnings.
282 (edebug-submit-bug-report): Remove.
283 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
284 Remove aliases, use the un-prefixed name instead.
285 (edebug-pop-to-buffer): Consider other frames.
286 (edebug-original-read):: Make it more obvious that it's always defined.
287 (edebug--make-form-data-entry, edebug--form-data-name)
288 (edebug--form-data-begin, edebug--form-data-end): Rename from the
289 single-dashed name, and implement with cl-defstruct.
290 (edebug-set-form-data-entry): Use the standard accessors.
291 (edebug-make-top-form-data-entry): Use push.
292 (edebug-no-match): Drop useless `funcall'.
293 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
294 to functions.
295 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
296 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
297 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
298 (easy-menu-define, with-custom-print): Remove redundant specs.
299 (edebug-outside-overriding-local-map)
300 (edebug-outside-overriding-terminal-local-map): Remove, unused.
301 (edebug--display): Bind unread-command-events directly to nil rather
302 than binding it to unread-command-events and later setting it to nil.
303 (edebug--display): Kill edebug-eval-buffer here...
304 (edebug--recursive-edit): ...rather than here.
305 Bind standard-output and standard-input.
306 (edebug-eval): Check cl-macroexpand-all is fboundp.
307 (edebug-temp-display-freq-count): Fix last change.
308
309 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
310 * subr.el (noreturn, 1value): Add `debug' spec.
311 * emacs-lisp/advice.el: Require cl-lib.
312 (ad-copy-tree): Remove, use copy-tree instead.
313 (ad-dolist): Remove use dolist or cl-dolist instead.
314 (ad-do-return): Remove, use cl-return instead.
315 (defadvice): Add `debug' spec.
316
5b68b333
JL
3172012-09-13 Juri Linkov <juri@jurta.org>
318
319 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
320 (Bug#12399)
321
b9800ec4
GM
3222012-09-13 Glenn Morris <rgm@gnu.org>
323
6a2e6868
GM
324 * calc/calc.el (math-compose-expr):
325 * calc/calc-ext.el (math-compose-expr):
326 * progmodes/cc-defs.el (cl-macroexpand-all):
327 * progmodes/cc-langs.el (delete-duplicates, mapcan)
328 (cl-macroexpand-all): Update declarations.
329
b9800ec4
GM
330 * vc/vc.el: No need to require ediff.
331 (ediff-load-version-control): Declare.
332 (ediff-vc-internal): Fix declaration.
333 (vc-version-ediff): Require ediff.
334
c18e885b
PE
3352012-09-13 Paul Eggert <eggert@cs.ucla.edu>
336
337 Use a more backwards-compatible timer format (Bug#12430).
338 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
339 being right after USECS, as that better supports old code that
340 inadvisedly looked directly at the timer vector.
341
d607d303
KH
3422012-09-13 Kenichi Handa <handa@gnu.org>
343
344 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
345 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
346 `coding-priority' property of these language environment.
347
72eac303
PE
3482012-09-13 Paul Eggert <eggert@cs.ucla.edu>
349
350 Fix glitches caused by addition of psec to timers (Bug#12430).
351 * image.el (image-animate-timer):
352 * time.el (display-time-world-timer):
353 Use timer--function and timer--args rather than raw access to
354 timer vector.
355
2168fe4f
GM
3562012-09-13 Glenn Morris <rgm@gnu.org>
357
358 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
359 If not compiling a file, try using load-file-name.
360
bd8d6108
SM
3612012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
362
c0c54fbd
SM
363 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
364 Fix last change.
365 (edebug-update-eval-list): Use `push'.
366
bd8d6108
SM
367 * emacs-lisp/edebug.el: Use lexical-binding.
368 Remove the "edebug-" prefix from non-dynamically-scoped variables.
369 Mark unused args with underscore.
370 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
371 (edebug-form-data): Use defvar-local.
372 (edebug-make-before-and-after-form, edebug-make-after-form):
373 Use backquote.
374 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
375 Not dynamically scoped any more.
376 (edebug--enter-trace): Add arguments `function' and `args'.
377 Rename from edebug-enter-trace.
378 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
379 (edebug--update-coverage): Add `after-index' and `value' args.
380 Rename from edebug-update-coverage.
381 (edebug-slow-after): Call it accordingly.
382 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
383 edebug-recursive-edit.
384 (edebug--display): Call it accordingly. Add args `value',
385 `offset-index', and `arg-mode'. Rename from edebug-display.
386 (edebug-debugger, edebug): Call it accordingly.
387 (edebug-eval-display-list): Use dolist.
388
a9f9d9de
JL
3892012-09-12 Juri Linkov <juri@jurta.org>
390
391 * info.el (Info-search): Don't check for isearch-mode and
392 isearch-regexp before let-binding search-spaces-regexp to
393 Info-search-whitespace-regexp.
394 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
395 search-whitespace-regexp if isearch-lax-whitespace or
396 isearch-regexp-lax-whitespace is non-nil.
397 (Info-mode): Don't set local variable search-whitespace-regexp.
398 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
399
bfeae2cf
SM
4002012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
403 (debugger-env-macro): Remove support for unread-command-char.
404
405 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
406 the temporary map re-appearing on emulation-mode-map-alists.
407
408 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
409 since 22.1.
410
411 * ehelp.el (with-electric-help): Accept functions in
412 electric-help-form-to-execute.
413 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
414 And replace unread-command-char -> unread-command-events.
415
fbbcaf1b
MA
4162012-09-12 Michael Albinus <michael.albinus@gmx.de>
417
418 Sync with Tramp 2.2.6.
419
420 * net/tramp.el (tramp-accept-process-output): Don't use
421 JUST-THIS-ONE in the XEmacs case.
422
423 * net/trampver.el: Update release number.
424
4dece104
MR
4252012-09-12 Martin Rudalics <rudalics@gmx.at>
426
bfeae2cf
SM
427 * emacs-lisp/debug.el (debugger-previous-window-height):
428 New variable.
4dece104
MR
429 (debug): When debugger-jumping-flag is non-nil try to restore
430 height of debugger window. (Bug#8789)
431
45b82ad0
SM
4322012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
433
60c49c0f
SM
434 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
435 overriding-local-map and pre/post-command-hook here.
436 (edebug-recursive-edit): Do it here instead (bug#12345).
437 (edebug-outside-unread-command-char): Remove all uses of
438 unread-command-char.
439
45b82ad0
SM
440 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
441 inhibit-debugger is bound instead.
442
baa26ea0
BG
4432012-09-11 Bastien Guerry <bzg@gnu.org>
444
445 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 446 (Bug#12346)
baa26ea0 447
04e8abfa
BG
4482012-09-11 Bastien Guerry <bzg@gnu.org>
449
96d03571 450 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 451 (Bug#12347)
96d03571
BG
452
4532012-09-11 Bastien Guerry <bzg@gnu.org>
454
fc0c31f8 455 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 456
04e082b0
MM
4572012-09-10 Michael R. Mauger <mmaug@yahoo.com>
458
459 * progmodes/sql.el: Version 3.1
460 (sql-db2-escape-newlines): New variable.
461 (sql-escape-newlines-filter): Use it.
462
399a361b
JB
4632012-09-10 Juanma Barranquero <lekktu@gmail.com>
464
465 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
466
0780c517
DN
4672012-09-10 Dan Nicolaescu <dann@gnu.org>
468
45b82ad0
SM
469 * vc/diff-mode.el (diff-mode-menu):
470 Bind diff-remove-trailing-whitespace.
0780c517 471
9b851e25
SM
4722012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
475 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
476 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
477 (eval-sexp-add-defvars): Don't skip defvars in column >0.
478 (eval-defun-2): Remove bogus interactive spec.
479 (lisp-indent-line): Remove redundant whole-exp code, now done in
480 indent-according-to-mode.
481 (save-match-data): Remove redundant indent data.
482
483 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
484 Use `declare'.
485
3231d532
JL
4862012-09-09 Juri Linkov <juri@jurta.org>
487
488 * replace.el (replace-regexp-lax-whitespace): New defcustom.
489 (replace-lax-whitespace, query-replace-regexp)
490 (query-replace-regexp-eval, replace-regexp): Doc fix.
491 (perform-replace, replace-highlight): Let-bind
492 isearch-lax-whitespace to replace-lax-whitespace and
493 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
494
495 * isearch.el (isearch-query-replace): Let-bind
496 replace-lax-whitespace to isearch-lax-whitespace and
497 replace-regexp-lax-whitespace to
498 isearch-regexp-lax-whitespace. (Bug#10885)
499
70fe8236
SM
5002012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
503
8ed43f15
AM
5042012-09-09 Alan Mackenzie <acm@muc.de>
505
70fe8236
SM
506 * progmodes/cc-engine.el (c-state-cache-init):
507 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
508 (c-record-parse-state-state):
509 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 510
bfabf70a
AS
5112012-09-09 Andreas Schwab <schwab@linux-m68k.org>
512
513 * register.el (register-separator): Rename from
514 separator-register. All uses changed. Doc fix.
515 (register): Fix version.
516
011474aa
CY
5172012-09-09 Chong Yidong <cyd@gnu.org>
518
519 * replace.el (query-replace-map): Bind four new symbols for
520 requesting window scrolling.
521
522 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
523 query-replace-map (Bug#8948).
524
525 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
526
527 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
528 since they are now in query-replace-map.
529
530 * window.el (scroll-other-window-down): Make the arg optional.
531
a8b7cd8d
CY
5322012-09-09 Chong Yidong <cyd@gnu.org>
533
534 * files.el (hack-local-variables-confirm): Use quit-window to kill
535 the *Local Variables* buffer.
536
c3268831
DG
5372012-09-08 Dmitry Gutov <dgutov@yandex.ru>
538
539 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
540 not just expect to be at its beginning. Adjust callees.
541 Succeed when do-end block has no space before the pipe character.
542 (ruby-brace-to-do-end): When the original block is one-liner,
543 convert to multiline. Reindent the result.
544
0979429b
J
5452012-09-08 Jambunathan K <kjambunathan@gmail.com>
546
547 * register.el (register): New group.
548 (register-separator): New user option.
549 (increment-register): Route it to `append-to-register', if
550 register contains text. Implication is that `C-x r +' can now be
551 used for appending to a text register (bug#12217).
552 (append-to-register, prepend-to-register): Add separator based on
553 `register-separator.
554
ace2989a
AM
5552012-09-08 Alan Mackenzie <acm@muc.de>
556
557 AWK Mode: make auto-newline work when there's "==" in the pattern.
558 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
559 correctly.
0979429b
J
560 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
561 Test more rigorously for "=" token.
ace2989a 562
616c6c36
DG
5632012-09-08 Dmitry Gutov <dgutov@yandex.ru>
564
0979429b
J
565 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
566 Only fail when reached LIMIT.
616c6c36 567
35d98877
CY
5682012-09-08 Chong Yidong <cyd@gnu.org>
569
570 * dired.el (dired-mode-map): Don't bind M-=.
571
572 * dired-aux.el (dired-diff): Use backup file as default.
573
1715f2db
DA
5742012-09-08 Drew Adams <drew.adams@oracle.com>
575
576 * subr.el (add-to-history): Fix delete usage (Bug#12314).
577
6dcef6ec
CY
5782012-09-08 Chong Yidong <cyd@gnu.org>
579
580 * subr.el (syntax-after, syntax-class): Doc fix.
581
fa2bcf43
MR
5822012-09-08 Martin Rudalics <rudalics@gmx.at>
583
584 * window.el (display-buffer-in-previous-window): New buffer
585 display action function.
586
587 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
588 (debugger-previous-window): New variable.
589 (debug): Rewrite using display-buffer-in-previous-window,
590 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
591
daac280a
SM
5922012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
595
9dd40b00
MM
5962012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
597
daac280a
SM
598 * progmodes/python.el (python-shell-send-string):
599 When default-directory is remote, create temp file on remote
9dd40b00
MM
600 filesystem.
601 (python-shell-send-file): When file is remote, pass local view of
602 file paths to remote Python interpreter. (Bug#12340)
603
145823ec
CY
6042012-09-07 Chong Yidong <cyd@gnu.org>
605
cee2e90d
CY
606 * window.el (switch-to-buffer): Doc fix (Bug#12181).
607
0d7eb2ea
CY
608 * files.el (after-find-file): Don't fail on a read-only buffer if
609 require-final-newline is `visit' or `visit-save' (Bug#11156).
610
145823ec
CY
611 * subr.el (read-char-choice): Allow quitting via ESC ESC.
612
daac280a
SM
613 * userlock.el (ask-user-about-supersession-threat):
614 Use read-char-choice (Bug#12093).
145823ec 615
74c582e6
CY
6162012-09-07 Chong Yidong <cyd@gnu.org>
617
e5c2edf7
CY
618 * subr.el (buffer-narrowed-p): New function.
619
620 * ses.el (ses-widen):
621 * simple.el (count-words--buffer-message):
622 * net/browse-url.el (browse-url-of-buffer): Use it
623
624 * simple.el (count-words-region): Don't signal an error if there
625 is a non-nil prefix arg and the mark is not set.
c640e87d 626
74c582e6
CY
627 * help.el (describe-key-briefly): Allow the message to be seen
628 when invoked from the minibuffer (Bug#7014).
629
d81ceaaf
DG
6302012-09-07 Dmitry Gutov <dgutov@yandex.ru>
631
632 * progmodes/ruby-mode.el (ruby-end-of-defun)
633 (ruby-beginning-of-defun): Simplify, allow indentation before
634 block beginning and end keywords.
8f06acce
DG
635 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
636 (ruby-end-of-defun): Expect that the point is at the beginning of
637 the defun.
d81ceaaf 638
d458ef98
SM
6392012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
642 (bug#12367).
643 (cl--make-usage-args): Strip _ from argument names.
644
20367d28
RS
6452012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
646
647 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
648 obsolete alias speedbar-key-map.
649 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
650 (vhdl-index-menu-init): Don't use obsolete variable
651 font-lock-maximum-size.
652
3424a4f6
CY
6532012-09-06 Chong Yidong <cyd@gnu.org>
654
655 * frame.el (window-system-version): Mark as obsolete.
656
fcbfbdea
CY
657 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
658 of obsolete variable speedbar-key-map.
659
826b3235
JL
6602012-09-06 Juri Linkov <juri@jurta.org>
661
662 * replace.el (replace-lax-whitespace): New defcustom.
663 (query-replace, query-replace-regexp, query-replace-regexp-eval)
664 (replace-string, replace-regexp): Mention it in docstrings.
665 (perform-replace, replace-highlight): Let-bind
666 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
667 to the values of replace-lax-whitespace and regexp-flag.
668 Don't let-bind search-whitespace-regexp. (Bug#10885)
669
670 * isearch.el (isearch-query-replace): Let-bind
671 replace-lax-whitespace instead of let-binding
672 replace-search-function and replace-re-search-function.
673 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
674 and isearch-regexp-lax-whitespace to lazy-highlight variables.
675 (isearch-toggle-symbol): Set isearch-regexp to nil
676 in isearch-word mode (like in isearch-toggle-word).
677
1ec5e41d
JL
6782012-09-06 Juri Linkov <juri@jurta.org>
679
680 * replace.el (replace-search-function)
681 (replace-re-search-function): Set default values to nil.
682 (perform-replace): Let-bind isearch-related variables based on
683 replace-related values, call `isearch-search-fun' and let-bind
684 the result to `search-function'. Remove code that sets
685 `search-function' and `search-string' separately for
686 `delimited-flag'.
687 (replace-highlight): Add new argument `delimited-flag' and
688 rename other arguments to the names used in `perform-replace'.
689 Let-bind `isearch-word' to the argument `delimited-flag'.
690 (Bug#10885, bug#10887)
691
0ba2d4b6
DG
6922012-09-07 Dmitry Gutov <dgutov@yandex.ru>
693
694 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
695 ruby-beginning-of-indent, simplify, allow all keywords to have
696 indentation before them.
697 (ruby-beginning-of-indent): Adjust for above. Search until the
698 found point is not inside a string or comment.
699 (ruby-font-lock-keywords): Allow symbols to start with "@"
700 character, give them higher priority than variables.
701 (ruby-syntax-propertize-function)
702 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
703 matchers. Expression expansions are not comments when inside a
704 string, and there comment syntax status is irrelevant.
705 (ruby-match-expression-expansion): New function. Check that
706 expression expansion is inside a string, and it's not escaped.
707 (ruby-font-lock-keywords): Use it.
708
ef654460
MR
7092012-09-05 Martin Rudalics <rudalics@gmx.at>
710
711 * help.el (temp-buffer-max-height): New default value.
712 (temp-buffer-resize-frames): New option.
713 (resize-temp-buffer-window): Optionally resize frame.
714
715 * window.el (fit-frame-to-buffer-bottom-margin): New option.
716 (fit-frame-to-buffer): New function.
717
7e570fbf 7182012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
719
720 * emulation/cua-rect.el (cua--init-rectangles):
721 * textmodes/picture.el (picture-mode-map):
722 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
723 like forward-char and backward-char. (Bug#12317)
724
7e570fbf 7252012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
726
727 * progmodes/flymake.el (flymake-warning-re): New variable.
728 (flymake-parse-line): Use it.
729
7e570fbf 7302012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
731
732 * calendar/holidays.el (holiday-christian-holidays):
733 Rename an entry. (Bug#12289)
734
7e570fbf 7352012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
736
737 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
738 (bug#12222).
739
972debf2
SM
7402012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * loadup.el: Load macroexp. Remove hack.
743 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
744 (macroexp--expand-all): Use it to get better warnings.
745 (macroexp--backtrace, macroexp--trim-backtrace-frame)
746 (internal-macroexpand-for-load): New functions.
747 (macroexp--pending-eager-loads): New var.
748 (emacs-startup-hook): New hack to replace one in loadup.el.
749 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
750 (cl--compiler-macro-cXXr): Move to top, before they can be used.
751 (cl-psetf): Simplify.
752 (cl-defstruct): Add indent rule.
753
8ce192e3
LI
7542012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
755
756 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
757 over `user-mail-address' for the SMTP MAIL FROM envelope.
758 (smtpmail-via-smtp): Ditto.
759
6578b4d8
DG
7602012-09-04 Dmitry Gutov <dgutov@yandex.ru>
761
762 * progmodes/ruby-mode.el: Clean up keybindings.
763 (ruby-mode-map): Don't bind ruby-electric-brace,
764 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
765 backward-kill-word, reindent-then-newline-and-indent.
766 (ruby-mark-defun): Remove.
767 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
768 (ruby-mode): Set local beginning-of-defun-function and
769 end-of-defun-function values.
770
c5e28e39
MR
7712012-09-03 Martin Rudalics <rudalics@gmx.at>
772
773 * window.el (temp-buffer-window-setup-hook)
774 (temp-buffer-window-show-hook): New hooks.
775 (temp-buffer-window-setup, temp-buffer-window-show)
776 (with-temp-buffer-window): New functions.
972debf2
SM
777 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
778 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
779
780 * help.el (temp-buffer-resize-mode): Fix doc-string.
781 (resize-temp-buffer-window): New optional argument WINDOW.
782
783 * files.el (recover-file, save-buffers-kill-emacs):
784 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
785
73406194
MA
7862012-09-02 Michael Albinus <michael.albinus@gmx.de>
787
788 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
789 remote definition of `default-directory', ensure we can connect.
790
63dd1c6f
JL
7912012-09-02 Juri Linkov <juri@jurta.org>
792
793 Toggle whitespace matching mode with M-s SPC.
794 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
795
796 * isearch.el (search-whitespace-regexp): Doc fix.
797 Remove cons cell customization.
798 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
799 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
800 New variables.
801 (isearch-forward, isearch-forward-regexp): Doc fix.
802 (isearch-toggle-lax-whitespace): New command.
803 (search-forward-lax-whitespace, search-backward-lax-whitespace)
804 (re-search-forward-lax-whitespace)
805 (re-search-backward-lax-whitespace): New functions.
806 (isearch-whitespace-regexp): Remove function.
807 (isearch-query-replace): Let-bind replace-search-function and
808 replace-re-search-function.
809 (isearch-occur): Let-bind search-spaces-regexp according to the
810 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
811 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
812 condition for C-q SPC.
813 (isearch-search-fun-default): Use new functions mentioned above.
814 (isearch-search-forward, isearch-search-backward): Remove functions.
815 (isearch-search): Don't let-bind search-spaces-regexp.
816 (isearch-lazy-highlight-space-regexp): Remove variable.
817 (isearch-lazy-highlight-lax-whitespace)
818 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
819 (isearch-lazy-highlight-new-loop): Use them.
820 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
821
af7dda05
CY
8222012-09-02 Chong Yidong <cyd@gnu.org>
823
824 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
825
d67d3afd
GM
8262012-09-02 Glenn Morris <rgm@gnu.org>
827
828 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
829
69678719
GM
8302012-09-01 Glenn Morris <rgm@gnu.org>
831
832 * term.el: Tidy up menu definitions.
833 (term-mode-map): Use easymenu for In/Out, Complete menus.
834 (term-pager-break-map): Initialize in the defvar.
835 (term-terminal-menu, term-signals-menu): Define with easymenu.
836 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
837 (term-pager-menu): New, extracted from term-process-pager.
838 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
839 (term-update-mode-line): Propertize line/char and page items.
840 (term-process-pager): Move keymap initialization elsewhere.
841
78dd6ab1
MR
8422012-09-01 Martin Rudalics <rudalics@gmx.at>
843
844 * window.el (switch-to-prev-buffer): Handle additional values of
845 BURY-OR-KILL argument. Don't switch in minibuffer window.
846 (switch-to-next-buffer): Don't switch in minibuffer window.
847 (quit-restore-window): New function based on quit-window.
848 Handle additional values of former KILL argument.
849 (quit-window): Call quit-restore-window with appropriate
850 interpretation of KILL argument.
851 (display-buffer-below-selected): New buffer display action
852 function.
853
3d10e134
SM
8542012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * minibuffer.el (completion-at-point-functions): Complete docstring
857 (bug#12254).
858
0e23ef9d
PE
8592012-09-01 Paul Eggert <eggert@cs.ucla.edu>
860
861 Better seed support for (random).
862 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
863 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
864 * play/mpuz.el, play/tetris.el, play/zone.el:
865 * calc/calc-comb.el (math-init-random-base):
866 * play/blackbox.el (bb-init-board):
867 * play/life.el (life):
868 * server.el (server-use-tcp):
869 * type-break.el (type-break):
870 Remove unnecessary call to (random t).
871 * net/sasl.el (sasl-unique-id-function):
872 Change (random t) to (random), now that the latter is more random.
873 * play/life.el (life-initialized): Remove no-longer-needed var.
874
862382df
MR
8752012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
876
877 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
878 Consider frame's buffer predicate when choosing the buffer.
879 (Bug#12081)
880
262a66e1
RS
8812012-08-30 Richard Stallman <rms@gnu.org>
882
883 * simple.el (special-mode-map): Delete binding for `z'.
884
f17e1d00
AS
8852012-08-30 Andreas Schwab <schwab@linux-m68k.org>
886
887 * progmodes/compile.el (compilation-always-kill): Doc fix.
888
24777832
CY
8892012-08-30 Chong Yidong <cyd@gnu.org>
890
891 * window.el (display-buffer-reuse-frames): Make the obsolescence
892 message more informative.
893
69ba1f04
GM
8942012-08-30 Glenn Morris <rgm@gnu.org>
895
896 * paren.el (show-paren-delay):
897 Add a :set function. Doc fix. (Bug#12297)
898
f0019ede
MB
8992012-08-29 Martin Blais <blais@furius.ca> (tiny change)
900
901 * progmodes/compile.el (compilation-always-kill): New var.
902 (compilation-start): Use it.
903
35e62fc9
SM
9042012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
905
af070a1c
SM
906 * simple.el (read-only-mode): Move from files.el for bootstrapping.
907 * files.el (read-only-mode): Move to simple.el.
908
35e62fc9
SM
909 * files.el (read-only-mode): New minor mode.
910 (toggle-read-only): Use it and mark obsolete.
911 (find-file--read-only):
912 * vc/vc.el (vc-next-action, vc-checkout):
913 * vc/vc-cvs.el (vc-cvs-checkout):
914 * obsolete/vc-mcvs.el (vc-mcvs-update):
915 * ffap.el (ffap--toggle-read-only): Update callers.
916
c2c43c23
MA
9172012-08-29 Michael Albinus <michael.albinus@gmx.de>
918
919 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
920 remote shell scripts.
921 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
922
923 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
924 "/usr/local/sbin".
925
9fba804b
SM
9262012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
929
eada0861 9302012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 931
806f0cc7
LL
932 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
933 completion-at-point. (Bug#12220)
934
3bb213b9
LL
935 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
936
22ab32ef
LL
937 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
938
eada0861 9392012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 940
19c17fc1
CY
941 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
942 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 943
eada0861 9442012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
945
946 * progmodes/hideif.el (hif-compress-define-list):
947 Fix typo. (Bug#11951)
948
eada0861 9492012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
950
951 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
952 buffer local setting.
953
27d6c5a8
LL
954 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
955 rcirc-encode-coding-system.
956
eada0861 9572012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
958
959 * net/rcirc.el (rcirc-split-message): New function.
960 (rcirc-send-message): Use it. (Bug#12051)
961
d44688e4
JL
9622012-08-28 Juri Linkov <juri@jurta.org>
963
964 * info.el (Info-fontify-node): Hide empty lines at the end of
965 the node. (Bug#12272)
966
34f10d41
MR
9672012-08-27 Drew Adams <drew.adams@oracle.com>
968
969 * dired.el (dired-pop-to-buffer): Make window start at beginning
970 of buffer (Bug#12281).
971
77f1f99c
CY
9722012-08-26 Chong Yidong <cyd@gnu.org>
973
974 * window.el (special-display-regexps, special-display-frame-alist)
975 (special-display-buffer-names, special-display-function)
976 (display-buffer-reuse-frames): Mark as obsolete.
977
978 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
979
980 * help.el (help-print-return-message): Don't treat
981 display-buffer-reuse-frames specially.
982
d97af5a0
CY
9832012-08-26 Chong Yidong <cyd@gnu.org>
984
9fba804b
SM
985 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
986 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
987 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
988 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
989 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
990 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
991 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
992 the functions directly with gdb-display-buffer-other-frame-action.
993 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
994 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
995 (gdb-display-stack-buffer, gdb-display-locals-buffer)
996 (gdb-display-registers-buffer): Define directly.
997 (def-gdb-display-buffer): Macro deleted.
998 (gdb-display-buffer): Remove second and third args, callers don't
999 use them. Defer to the default display-buffer behavior, apart
1000 from making windows dedicated.
1001 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1002
1003 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1004
1005 * window.el (display-buffer-pop-up-frame): Handle a
1006 pop-up-frame-parameters alist entry.
1007 (display-buffer): Document it.
1008
dd7ffad6
CY
10092012-08-26 Chong Yidong <cyd@gnu.org>
1010
1011 * isearch.el (search-whitespace-regexp): Make string and nil
1012 values apply to both ordinary and regexp search. Allow a cons
1013 cell value to distinguish between the two.
1014 (isearch-whitespace-regexp, isearch-search-forward)
1015 (isearch-search-backward): New functions.
1016 (isearch-occur, isearch-search-fun-default, isearch-search)
1017 (isearch-lazy-highlight-new-loop): Use them.
1018 (isearch-forward, isearch-forward-regexp): Doc fix.
1019
4c47bd1e
CY
10202012-08-26 Chong Yidong <cyd@gnu.org>
1021
1022 * faces.el (help-argument-name): Always inherit from italic
1023 (Bug#12213).
1024
9aba119d
MR
10252012-08-25 Martin Rudalics <rudalics@gmx.at>
1026
1027 * window.el (window--even-window-heights): Even heights when
1028 WINDOW and the selected window form a vertical combination.
1029 (display-buffer-use-some-window): Provide that window used gets
1030 sized back by quit-window. (Bug#11880) and (Bug#12091)
1031
ca5256ad
PE
10322012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1033
1034 Fix file time stamp problem with bzr and CVS (Bug#12001).
1035 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1036 in the file's time stamp, since the version control system loses
1037 that information.
1038
d1c0d176
JL
10392012-08-22 Juri Linkov <juri@jurta.org>
1040
1041 * info.el (Info-fontify-node): Hide the suffix of the
1042 Info file name in the header line. (Bug#12187)
1043
141562ff
GM
10442012-08-22 Glenn Morris <rgm@gnu.org>
1045
1046 * calendar/cal-tex.el (cal-tex-weekly-common):
1047 Restore leading blank page.
1048
61a48e19 10492012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1050
1051 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1052 the region under `shift-select-mode'. (Bug#12231)
1053
10542012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1055
1056 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1057 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1058 gives details on why the space is never needed.
1059
ea95074e
MR
10602012-08-22 Martin Rudalics <rudalics@gmx.at>
1061
9fba804b
SM
1062 * window.el (walk-window-tree, window-with-parameter):
1063 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1064 should run on the minibuffer window.
1065 (window-at-side-list): Don't operate on minibuffer window.
1066 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1067 (window--size-ignore): Rename to window--size-ignore-p.
1068 Update callers.
caceae25
MR
1069 (display-buffer-in-atom-window, window--major-non-side-window)
1070 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1071 (delete-side-window, display-buffer-in-side-window):
1072 New functions.
caceae25
MR
1073 (window--side-check, window-deletable-p, delete-window)
1074 (delete-other-windows, split-window): Handle side windows and
1075 atomic windows appropriately.
1076 (window--display-buffer): Call display-buffer-record-window also
1077 when the window buffer did not change.
ea95074e 1078
80a51fa0
CS
10792012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1080
1081 * help-fns.el (help-fns--key-bindings):
1082 Abbreviate non-symbol remap targets. (Bug#12174)
1083
fbb6300b
MR
10842012-08-22 Martin Rudalics <rudalics@gmx.at>
1085
1086 * dired.el (dired-mark-remembered): Don't clobber point.
1087 (Bug#11795)
1088
2b2c0794
GM
10892012-08-22 Glenn Morris <rgm@gnu.org>
1090
1091 * progmodes/bug-reference.el (bug-reference): New custom group.
1092 (bug-reference-bug-regexp): Make it a defcustom.
1093
37219830
DU
10942012-08-22 Daiki Ueno <ueno@unixuser.org>
1095
1096 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1097 (js-paren-indent-offset, js-square-indent-offset)
1098 (js-curly-indent-offset): Add :safe (Bug#12257).
1099
94e0e559
EC
11002012-08-22 Edward O'Connor <hober0@gmail.com>
1101
1102 * json.el (json-key-format): Add error properties.
1103 (json-encode-key): New function.
1104 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1105 Use json-encode-key.
1106
da485f5e
GM
11072012-08-22 Glenn Morris <rgm@gnu.org>
1108
1109 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1110 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1111 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1112 Update for above change.
1113
c6cc78b8
AS
11142012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1115
1116 * cus-face.el (custom-face-attributes): Fix customize type for the
1117 :underline attribute. (Bug#11805)
1118
5481664a
MR
11192012-08-21 Martin Rudalics <rudalics@gmx.at>
1120
1121 * window.el (window-point-1, set-window-point-1): Remove.
1122 (window-in-direction, record-window-buffer)
1123 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1124 (window--state-get-1, display-buffer-record-window):
1125 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1126 window-point and set-window-point respectively.
1127
6d74698e
GM
11282012-08-21 Glenn Morris <rgm@gnu.org>
1129
b7fa2691
GM
1130 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1131 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1132 Use it.
1133
52f56d5a
GM
1134 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1135 (cal-tex-shortday): New function.
1136 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1137 (cal-tex-cursor-filofax-daily): Use the above.
1138
9f1ee09e
GM
1139 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1140 New functions.
1141 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1142 (cal-tex-cursor-filofax-week): Use them.
1143
79858159
GM
1144 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1145 New constants.
1146 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1147 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1148
d346b2b4
GM
1149 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1150 (cal-tex-end-document): Don't rely on buffer name.
1151
b2403709
GM
1152 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1153 Use cal-tex-vspace.
1154 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1155 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1156 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1157 Use cal-tex-arg.
b2403709 1158
1cebb5c0
GM
1159 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1160 (cal-tex-cursor-week, cal-tex-cursor-week2)
1161 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1162 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1163 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1164 (cal-tex-insert-preamble, cal-tex-b-document)
1165 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1166 Improve cal-tex-cmd usage.
1167
c68cd5d4
GM
1168 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1169 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1170 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1171 (cal-tex-weekly-paper): New function.
1172 (cal-tex-cursor-week, cal-tex-cursor-week2)
1173 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1174 (cal-tex-cursor-day): Use it.
1175
9dca4801
GM
1176 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1177 (cal-tex-cursor-filofax-week): Remove leading blank page.
1178
1941e134
GM
1179 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1180 Add autoload cookie. For now at least, don't use color, since
1181 no other cal-tex function does.
1182
6d74698e
GM
1183 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1184 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1185 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1186
64cde199
JL
11872012-08-21 Juri Linkov <juri@jurta.org>
1188
1189 * info.el (Info-file-attributes): New variable.
1190 (info-insert-file-contents): Add file attributes to
1191 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1192 `Info-toc-nodes' when previous modtime of the Info file is less
1193 than new modtime.
1194 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1195 of info.el. (Bug#12230)
1196
32757648
GM
11972012-08-20 Glenn Morris <rgm@gnu.org>
1198
1199 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1200 * calendar/holidays.el (calendar-holiday-list):
1201 Report errors with display-warning rather than beep'n'sleep.
1202
a32fbbcf
MA
12032012-08-20 Michael Albinus <michael.albinus@gmx.de>
1204
1205 * net/tramp.el (tramp-accept-process-output): Accept only output
1206 from PROC. Otherwise, process filters and sentinels might be
1207 confused. (Bug#12145)
1208
a05731a0
CY
12092012-08-20 Chong Yidong <cyd@gnu.org>
1210
1211 * descr-text.el (describe-text-properties-1): Use overlays-in to
1212 report on empty overlays (Bug#3322).
1213
36e8d1eb
GM
12142012-08-20 Glenn Morris <rgm@gnu.org>
1215
3d300447
GM
1216 * mail/rmailout.el (rmail-output-read-file-name):
1217 Trap and report errors in rmail-output-file-alist elements.
1218
36e8d1eb
GM
1219 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1220 since most non-font-lock faces are not also variables).
1221
b96e5814
ER
12222012-08-20 Edward Reingold <reingold@iit.edu>
1223
1224 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1225 New function. (Bug12160)
1226
7cef3569
GM
12272012-08-19 Glenn Morris <rgm@gnu.org>
1228
1229 * mail/rmailout.el (rmail-output-read-file-name):
1230 Fix previous change (when the alist is nil or does not match).
1231
17975d7f
CY
12322012-08-19 Chong Yidong <cyd@gnu.org>
1233
1234 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1235 (Bug#12228).
1236
2170b1bd
CY
12372012-08-18 Chong Yidong <cyd@gnu.org>
1238
1239 * simple.el (yank-handled-properties): New defcustom.
1240 (yank-excluded-properties): Add font-lock-face and category.
1241 (yank): Doc fix.
1242
9fba804b
SM
1243 * subr.el (remove-yank-excluded-properties):
1244 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1245 and category is now done this way, instead of being hard-coded.
1246 (insert-for-yank-1): Remove font-lock-face handling.
1247 (yank-handle-font-lock-face-property)
1248 (yank-handle-category-property): New function.
1249
ee218151
GM
12502012-08-17 Glenn Morris <rgm@gnu.org>
1251
1252 * mail/rmailout.el (rmail-output-read-file-name):
1253 Check rmail-output-file-alist against the full message body
1254 in the correct rmail buffer. (Bug#12214)
1255
4a6bc3fd
MA
12562012-08-17 Michael Albinus <michael.albinus@gmx.de>
1257
9fba804b
SM
1258 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1259 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1260
383dcbf9
CY
12612012-08-17 Chong Yidong <cyd@gnu.org>
1262
1263 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1264 font spec, set the font directly (Bug#3228).
1265
998c4a6a
MR
12662012-08-17 Martin Rudalics <rudalics@gmx.at>
1267
1268 * window.el (delete-window): Fix last fix.
1269
52162052
MR
12702012-08-16 Martin Rudalics <rudalics@gmx.at>
1271
1272 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1273 (window-child, window-child-count, window-last-child)
1274 (window-normalize-window, window-combined-p)
1275 (window-combinations, window-atom-root, window-min-size)
1276 (window-sizable, window-sizable-p, window-size-fixed-p)
1277 (window-min-delta, window-max-delta, window--resizable)
1278 (window--resizable-p, window-resizable, window-total-size)
1279 (window-full-height-p, window-full-width-p, window-body-size)
1280 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1281 (minimize-window, window-deletable-p, delete-window)
1282 (delete-other-windows, set-window-buffer-start-and-point)
1283 (next-buffer, previous-buffer, split-window, balance-windows-2)
1284 (set-window-text-height, window-buffer-height)
1285 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1286 (truncated-partial-width-window-p): Minor code adjustments.
1287 In doc-strings state whether the argument window has to denote a
85c2386b 1288 live, valid or any window.
52162052 1289
1c308380
PS
12902012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1291
1292 * progmodes/subword.el (subword-forward-function)
1293 (subword-backward-function, subword-forward-regexp)
1294 (subword-backward-regexp): New variables.
1295 (subword-forward, subword-forward-internal, subword-backward-internal):
1296 Use new variables, eg so that different "word" definitions
1297 can be easily used. (Bug#11411)
1298
94c9ece1
SM
12992012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1302 for composite selectors.
1303 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1304 operation just because we can't find a previous revision.
1305
f2045622
CY
13062012-08-15 Chong Yidong <cyd@gnu.org>
1307
1308 * frame.el (set-frame-font): Accept font objects.
1309
582db660
SM
13102012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1313
2f29c200
WJ
13142012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1315
456e62c2
WJ
1316 * man.el (Man-overstrike-face, Man-underline-face)
1317 (Man-reverse-face): Remove variables.
1318 (Man-overstrike, Man-underline, Man-reverse): New faces.
1319 (Man-fontify-manpage): Use them instead of the variables.
1320 (Man-cleanup-manpage): Comment change.
1321 (Man-ansi-color-map): New variable.
1322 (Man-fontify-manpage): Use it.
1323 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1324
2f29c200
WJ
1325 Implement ANSI SGR parameters 22-27 (bug#12146).
1326 * ansi-color.el (ansi-colors): Doc fix.
1327 (ansi-color-context, ansi-color-context-region): Doc fix.
1328 (ansi-color--find-face): New function.
1329 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1330 Rename the local variable `face' to `codes' since it is now a list of
1331 ansi codes. Doc fix.
1332 (ansi-color-get-face): Remove.
1333 (ansi-color-parse-sequence): New function, derived from
1334 ansi-color-get-face.
1335 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1336 codes 22-27.
1337
b4f5e9df
SM
13382012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * subr.el (read-passwd): Allow use from a minibuffer.
1341
ba025fbd
EZ
13422012-08-14 Eli Zaretskii <eliz@gnu.org>
1343
1344 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1345 inside comments and strings as identifiers.
1346
1347 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1348 expression to evaluate. This allows to evaluate expressions with
1349 embedded whitespace.
1350 (gud-tooltip-tips): Add a blank before the newline in the
1351 message-box text, for the benefit of message-box emulation on
1352 MS-Windows.
1353
1354 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1355 messages from GDB, pop them up in a tooltip to give feedback to
1356 user.
b4f5e9df
SM
1357 (gdb-tooltip-print-1): Quote the expression to evaluate.
1358 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1359 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1360 if the TTY name is nil or empty (which happens when communicating
1361 with the inferior via pipes, e.g. on MS-Windows).
1362 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1363 don't send that to the GUD buffer.
1364
c548f821
GM
13652012-08-14 Glenn Morris <rgm@gnu.org>
1366
1367 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1368 Optimize away setq-default with no args, as for setq. (Bug#12195)
1369
55802e4a
CY
13702012-08-14 Chong Yidong <cyd@gnu.org>
1371
4abcdac8
CY
1372 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1373
55802e4a
CY
1374 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1375 (Bug#12085).
1376
3c3cda1a
GM
13772012-08-14 Glenn Morris <rgm@gnu.org>
1378
1379 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1380
e1873bd0
MA
13812012-08-14 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1384 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1385 Use cached shell name.
1386
925411b4
FEG
13872012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1388
1389 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1390 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1391
e636fafe
DG
13922012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1393
1394 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1395 (ruby-percent-literal-beg-re): New constant.
1396 (ruby-syntax-general-delimiters-goto-beg): Rename to
1397 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1398 (ruby-syntax-propertize-general-delimiters): Rename to
1399 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1400 popular term. Adjust comments everywhere.
1401 (ruby-syntax-propertize-percent-literal): Only propertize when not
1402 inside a simple string or comment. When the literal is unclosed,
1403 leave the text after it unpropertized.
f063063a
DG
1404 (ruby-syntax-methods-before-regexp): New constant.
1405 (ruby-syntax-propertize-function): Use it to recognize regexps.
1406 Don't look at the text after regexp, just use the whitelist.
e636fafe 1407
e5b19827
AS
14082012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1409
1410 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1411 non-nil always load the compiled file if it exists. (Bug#12197)
1412
a9f6f311
CY
14132012-08-14 Chong Yidong <cyd@gnu.org>
1414
1415 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1416 (hi-lock-set-pattern): When deciding whether to use font lock or
1417 overlays, look at font-lock-mode instead of font-lock-fontified
1418 (Bug#12168).
1419 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1420 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1421
7d806b1e
DU
14222012-08-14 Daiki Ueno <ueno@unixuser.org>
1423
1424 * subr.el (internal--after-with-selected-window): Fix typo
1425 (Bug#12193).
1426
5beed586
FEG
14272012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1428
1429 Use `completion-table-dynamic' for completion functions.
1430 * progmodes/python.el
1431 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1432 (python-shell-completion--get-completions):
1433 Remove functions.
5beed586
FEG
1434 (python-shell-completion-complete-at-point): New function.
1435 (python-completion-complete-at-point): Use it.
1436
92cb3b04
J
14372012-08-13 Jambunathan K <kjambunathan@gmail.com>
1438
1439 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1440 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1441
89660017
SM
14422012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1443
3c98c962
SM
1444 * subr.el (function-get): Refine `autoload' arg so it can also
1445 autoload functions for gv.el (bug#12191).
1446 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1447 autoloads macros.
1448
aa7c6dbe
SM
1449 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1450 Prefer pcase-let over destructuring-bind.
1451 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1452 Also, remove whitespace as we go, rather than after accumulating the
1453 various places.
1454
89660017
SM
1455 * subr.el (internal--before-with-selected-window)
1456 (internal--after-with-selected-window): Fix typo seleted->selected.
1457 (with-selected-window): Adjust callers.
1458 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1459
31cd32c9
BG
14602012-08-13 Bastien Guerry <bzg@gnu.org>
1461
0fcd3d9f 1462 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1463 enhancement. (Bug#12172)
1464
1b15d8ad
AS
14652012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1466
31e54db0
AS
1467 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1468 type 1-6.
1469 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1470 extended headers.
1471
1b15d8ad
AS
1472 * files.el (hack-local-variables-filter): Remove useless eval.
1473
35cb9c06
MR
14742012-08-13 Martin Rudalics <rudalics@gmx.at>
1475
1476 * subr.el (with-selected-window): Fix last change.
1477
1439443b
SM
14782012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * subr.el (internal--before-with-seleted-window)
1481 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1482 (with-selected-window): Use them, to replace dependency on
1483 tty-top-frame.
1439443b 1484
0d9e2599
NN
14852012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1486
1487 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1488 binding for `newline'.
1489 (ruby-move-to-block): When moving backward, stop at block opening,
1490 not indentation.
1491 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1492 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1493 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1494 `ruby-toggle-block'.
1495
ba10c48c
SM
14962012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * ibuffer.el (ibuffer-do-toggle-read-only):
1499 * dired.el (dired-toggle-read-only):
1500 * buff-menu.el (Buffer-menu-toggle-read-only):
1501 * bindings.el (mode-line-toggle-read-only):
1502 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1503
9229c658
AS
15042012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1505
1506 * descr-text.el (describe-char): Put the overlays over the
1507 "displayed as" character.
1508
0fd09128
JB
15092012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1510
1511 * calc/calc-units.el (math-default-units-table): Give an
1512 initial value.
1513 (math-put-default-units): Add options to put composite units and
1514 unit systems in the default units table.
1515 (calc-convert-units): Send composite units to
1516 `math-put-default-units' when appropriate.
1517
9ff9402d 15182012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1519
fbb5e336
GM
1520 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1521
7aacaf15
GM
1522 * tutorial.el (help-with-tutorial):
1523 * emacs-lisp/copyright.el (copyright-update-directory):
1524 * emacs-lisp/autoload.el (autoload-find-generated-file)
1525 (autoload-find-file): Disable local eval: (for insurance).
1526
f40b9f10
GM
1527 * files.el (hack-local-variables-filter): If an eval: form is not
1528 known to be safe, and enable-local-variables is :safe, then ignore
1529 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1530 This is CVE-2012-3479.
f40b9f10 1531
daa9f1a6
SM
15322012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1535 (rx-form): Simplify.
1536
9cd80478
DG
15372012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1538
0d9e2599
NN
1539 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1540 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1541 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1542 (ruby-syntax-propertize-function): Adjust for changes in
1543 `ruby-syntax-propertize-heredoc'.
1544
15452012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1546
9cd80478
DG
1547 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1548 binding (use `M-;' instead).
9cd80478 1549 (ruby-singleton-class-p): New function.
0d9e2599 1550 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1551
d301b413
SM
15522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1555
1530c98e
CY
15562012-08-10 Chong Yidong <cyd@gnu.org>
1557
1558 * progmodes/python.el (python-shell-get-process-name): Don't mess
1559 with same-window-buffer-names.
1560
1561 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1562 (eshell-remove-from-window-buffer-names): Make obsolete.
1563 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1564 (eshell): Just use pop-to-buffer-same-window instead.
1565
e1293765
CY
15662012-08-10 Chong Yidong <cyd@gnu.org>
1567
1568 * bindings.el: Bind M-= back to count-words-region.
1569
1570 * simple.el (count-words-region): Accept a prefix arg for acting
1571 on the entire buffer.
1572 (count-words--buffer-message): New helper function.
1573
e1894109
SM
15742012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1577 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1578 (event-start, event-end): Use posn-at-point to return a more
1579 informative posn.
1580 (posnp): New function.
1581 * mouse.el (popup-menu-normalize-position): Use it.
1582
c69f56a2
MY
15832012-08-10 Masatake YAMATO <yamato@redhat.com>
1584
1585 * mouse.el (popup-menu-normalize-position): New function.
1586 (popup-menu): Use `popup-menu-normalize-position' to normalize
1587 the form for POSITION argument.
1588
1589 * term/x-win.el (x-menu-bar-open):
1590 Use the value returend from (posn-at-point) as position
1591 passed to `popup-menu'.
1592
31673780
JB
15932012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1594
1595 * calc/calccomp.el (math-compose-expr): Add extra argument
1596 indicating that parentheses should be put around products in
1597 denominators. Give multiplication precedence over division during
1598 composition.
1599
dab7711b
CY
16002012-08-09 Chong Yidong <cyd@gnu.org>
1601
dee4ef93
CY
1602 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1603 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1604 (Man-untabify-command, manual-program): Convert to defcustom
1605 (Bug#10429).
1606
73e2bbc5
CY
1607 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1608
3e861c8a
CY
1609 * descr-text.el (describe-char): Don't insert extra newlines
1610 (Bug#10127).
1611
a9f5a649
CY
1612 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1613 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1614
dab7711b
CY
1615 * align.el (align-region): Delete temporary markers (Bug#10047).
1616 Plus some code cleanups.
1617
e0cc4efa
FEG
16182012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1619
1620 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1621 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1622 (python-shell-internal-last-output): Use make-local-variable
1623 instead of make-variable-buffer-local.
1624
489af14f
FEG
16252012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1626
1627 * progmodes/python.el: Enhancements to forward-sexp.
1628 (python-nav-forward-sexp): Rename from
1629 python-nav-forward-sexp-function.
c69f56a2
MY
1630 (python-nav--forward-sexp, python-nav--backward-sexp):
1631 New functions.
489af14f 1632
0fc50303
JB
16332012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1634
1635 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1636 modes and simplification modes.
1637
5d65606a
SM
16382012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * delsel.el (delete-selection-pre-hook): Don't propagate the
1641 file-supersession signals (bug#12161).
1642
4250fdf5
SM
16432012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1646 (cl-map-extents): Add compatibility aliases (bug#12135).
1647
d9f9b465
MA
16482012-08-08 Michael Albinus <michael.albinus@gmx.de>
1649
1650 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1651 tests by `ignore-error'.
1652 (tramp-find-shell): Open also a new shell, when cache is already
1653 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1654
ce0fcefa
JL
16552012-08-08 Juri Linkov <juri@jurta.org>
1656
1657 * bookmark.el: Add `defaults' property to the bookmark record.
1658 (bookmark-current-buffer): Doc fix.
1659 (bookmark-make-record): Add `defaults' property with default values
1660 to the bookmark record.
1661 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1662 with `bookmark-insert-current-bookmark'.
1663 (bookmark-set): Get `defaults' property from the bookmark record
1664 and use it in `read-from-minibuffer'.
1665 (bookmark-insert-current-bookmark): Remove function.
1666
1667 * info.el (Info-bookmark-make-record): Add `defaults' property
1668 with values of canonical Info node name, the current Info file
1669 name and the current Info node name. (Bug#12107)
1670
53fa8652
JL
16712012-08-08 Juri Linkov <juri@jurta.org>
1672
1673 * files.el (basic-save-buffer): Use `buffer-name' as the default
1674 of `read-file-name' when buffer is not visiting a file (bug#12128).
1675
242c0a95
JL
16762012-08-08 Juri Linkov <juri@jurta.org>
1677
1678 * info.el (Info-isearch-search): Doc fix.
1679 (Info-search): Change search-failed message from "initial node" to
1680 "end of node" (bug#12078).
1681 (Info-isearch-search): Change `isearch-string-state' to
1682 `isearch--state-string'.
1683
32ac3a6b
GM
16842012-08-08 Glenn Morris <rgm@gnu.org>
1685
1686 * language/persian.el: Remove file.
f8c1afd5 1687 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1688 * loadup.el: Remove language/persian.
1689
2c2d9c9c
OF
16902012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1691
1692 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1693
2d79ec42
FEG
16942012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1695
1696 * progmodes/python.el Fixed defsubst warning.
1697 (python-syntax-context) Rename from python-info-ppss-context.
1698 (python-syntax-context-type): Rename from
1699 python-info-ppss-context-type.
1700 (python-syntax-comment-or-string-p): Rename from
1701 python-info-ppss-comment-or-string-p.
1702
2bd255dd
JB
17032012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1704
1705 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1706
c395097f
AS
17072012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1708
6125983e
AS
1709 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1710 a defcustom that is quoted with backquote.
1711
4250fdf5
SM
1712 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1713 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1714 (math-do-arg-check, math-define-function-body): Use backquote forms.
1715 * calc/calc-ext.el (math-defcache): Likewise.
1716 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1717 * allout.el (allout-new-exposure): Likewise.
1718 * calc/calcalg2.el (math-tracing-integral): Likewise.
1719 * info.el (Info-last-menu-item): Likewise.
1720 * emulation/vip.el (vip-loop): Likewise.
1721 * textmodes/artist.el (artist-funcall): Likewise.
1722 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1723 Construct menu-item directly.
1724
4250fdf5
SM
1725 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1726 Don't declare.
c395097f 1727
5fb50dd3
CY
17282012-08-07 Chong Yidong <cyd@gnu.org>
1729
1730 * simple.el (deactivate-mark): Preserve text properties when
1731 saving the primary selection (Bug#8384).
1732
54eea618
KR
17332012-08-07 Kevin Ryde <user42@zip.com.au>
1734
1735 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1736 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1737 and continue processing (Bug#12110).
1738
638eaeb9
SM
17392012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1742 syntax-propertize-function (bug#10095).
1743
ea376861
SM
17442012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1745
f91b35be
SM
1746 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1747 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1748 describe-function-1.
1749 (describe-function-1): Use them. Move compiler macro after sig.
1750 (help-fns--compiler-macro): Use function-get. Assume we're already in
1751 standard-output. Adjust layout to new call order.
1752
ea376861
SM
1753 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1754 re-binding a symbol that has a symbol-macro (bug#12119).
1755
d5be7bd0
MB
17562012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1757
1758 * language/persian.el: New file. (Bug#11812)
1759 * loadup.el: Add language/persian.el.
1760
90749b53
CY
17612012-08-06 Chong Yidong <cyd@gnu.org>
1762
1763 * window.el (window--maybe-raise-frame): New function.
1764 (window--display-buffer): Split off from here.
1765 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1766 (display-buffer-pop-up-window, display-buffer-use-some-window):
1767 Obey an inhibit-switch-frame action alist entry.
1768 (display-buffer): Update doc.
1769
1770 * replace.el (occur-after-change-function): Avoid losing focus by
1771 using the inhibit-switch-frame display parameter (Bug#12139).
1772
ba7b0154
FEG
17732012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1774
1775 Make internal shell process buffer names start with space.
1776 * progmodes/python.el (python-shell-make-comint): Add optional
1777 argument INTERNAL.
1778 (run-python-internal): Use it.
1779 (python-shell-internal-get-or-create-process): Check for new
1780 internal buffer names.
1781
5eaeacb5
GM
17822012-08-06 Glenn Morris <rgm@gnu.org>
1783
e296d94b 1784 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1785 Do less getting and setting of environment variables.
1786
b7ccbdc2
CY
17872012-08-05 Chong Yidong <cyd@gnu.org>
1788
777fe95e
CY
1789 * proced.el (proced): Add substitution string to docstring to
1790 trigger autoloading of the proced library on C-h f (Bug#1768).
1791
4250fdf5
SM
1792 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1793 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1794
1795 * imenu.el (imenu-generic-expression): Move documentation here
1796 from imenu--generic-function.
1797 (imenu--generic-function): Refer to imenu-generic-expression.
1798
9e3b7800 17992012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
1800
1801 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1802 indentation declaration.
1803 (viper-loop): Add indentation declaration (Bug#7025).
1804
e5d9c0d1
CY
18052012-08-05 Chong Yidong <cyd@gnu.org>
1806
f0422feb
CY
1807 * help-fns.el (describe-variable): Add hyperlink for
1808 directory-local variables files. Improve buffer-local and
1809 permanent-local reporting; suggested by MON KEY (Bug#6644).
1810
1811 * help-mode.el (help-dir-local-var-def): New button type.
1812
e5d9c0d1
CY
1813 * files.el (kill-buffer-hook): Provide a defvar.
1814
a4f2deaa
GM
18152012-08-05 Glenn Morris <rgm@gnu.org>
1816
1817 * eshell/esh-ext.el (eshell/addpath):
1818 Also update eshell-path-env. (Bug#12013)
1819
a9dd5754
CY
18202012-08-05 Chong Yidong <cyd@gnu.org>
1821
a4f2deaa 1822 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1823
d014c740
CY
1824 * fringe.el (fringe-styles): Add docstring.
1825 (fringe--check-mode): New function.
1826 (set-fringe-mode, set-fringe-style): Use it.
1827 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1828
a9dd5754
CY
1829 * files.el (set-auto-mode): Fix invalid setq call.
1830
7c2dc8bd
SM
18312012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * isearch.el: Misc simplification; use defstruct.
1834 (isearch-mode-map): Dense maps now work like sparse ones.
1835 (isearch--state): New defstruct.
1836 (isearch-string-state, isearch-message-state, isearch-point-state)
1837 (isearch-success-state, isearch-forward-state)
1838 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1839 (isearch-wrapped-state, isearch-barrier-state)
1840 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1841 replaced by defstruct's accessors.
1842 (isearch--set-state): Rename from isearch-top-state and change
1843 calling convention.
1844 (isearch-push-state): Use new isearch--get-state.
1845 (isearch-toggle-word): Disable regexp when enabling word.
1846 (isearch-message-prefix): Remove unused arg _c-q-hack.
1847 (isearch-message-suffix): Remove unused arg _ellipsis.
1848
7fcc0070
AS
18492012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1850
1851 * simple.el (list-processes--refresh): For a server use :host or
1852 :local as the address.
97ad0769 1853 (list-processes): Doc fix.
7fcc0070 1854
a11035b8 18552012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1856
1857 * lisp/mpc.el: Support password in host argument.
1858 (mpc--proc-connect): Parse and use new password element.
1859 Set mpc-proc variable instead of returning process.
1860 (mpc-proc): Adjust accordingly.
1861
6dad7178
EZ
18622012-08-03 Eli Zaretskii <eliz@gnu.org>
1863
18949c2f
EZ
1864 * whitespace.el (whitespace-display-mappings): Use Unicode
1865 codepoints, instead of emacs-mule codepoints. See
1866 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1867 for the details.
1868
6dad7178
EZ
1869 * files.el (file-truename): Don't skip symlink-chasing part on
1870 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1871 Windows into the loop that recursively chases symlinks.
1872 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1873 MS-DOS.
1874
385b0198
CY
18752012-08-03 Chong Yidong <cyd@gnu.org>
1876
6200f3c4
CY
1877 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1878
385b0198
CY
1879 * sort.el (sort-regexp-fields): Doc fix.
1880
b9e74744
TH
18812012-08-03 Tassilo Horn <tsdh@gnu.org>
1882
1883 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1884 labels regex position point at the expected place.
1885
41013cb4
MK
18862012-08-03 MON KEY <monkey@sandpframing.com>
1887
1888 * net/imap.el (imap-interactive-login, imap-authenticate)
1889 (imap-mailbox-lsub, imap-mailbox-list)
1890 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1891 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1892 (imap-parse-response): Doc fix.
1893
0ffee616
JT
18942012-08-03 João Távora <joaotavora@gmail.com>
1895
1896 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1897 if sexp scanning does not move point (Bug#5734).
1898
cfcc9cc8
TH
18992012-08-02 Tassilo Horn <tsdh@gnu.org>
1900
1901 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1902 Add listings, minted, and ctable packages.
1903 (reftex-label-alist-builtin): Move listings, minted, and ctable
1904 entries before LaTeX.
a01bbb84 1905 (reftex-label-alist): Docfix.
cfcc9cc8 1906
66ec2442
BG
19072012-08-02 Bastien Guerry <bzg@gnu.org>
1908
1909 * replace.el (occur): Fix docstring (bug#12122).
1910
837b365b
GM
19112012-08-02 Glenn Morris <rgm@gnu.org>
1912
1913 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1914
e098de97
PE
19152012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1916
1917 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1918 * international/mule-cmds.el: Create
1919 inactivate-current-input-method-function as an obsolete alias for
1920 deactivate-current-input-method-function. See Katsumi Yamaoka in
1921 <http://bugs.gnu.org/10150#46>.
1922
a0f95636
JB
19232012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1924
1925 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1926 of nested `if's.
1927
0d26d7c4
GM
19282012-08-01 Glenn Morris <rgm@gnu.org>
1929
1930 * progmodes/autoconf.el (autoconf-definition-regexp):
1931 Add AH_TEMPLATE, adjust submatch numbering.
1932 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1933 (autoconf-current-defun-function): Update for above change.
1934 (autoconf-current-defun-function): First skip to end of current word.
1935
b686ba06
RS
19362012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1937
1938 * calendar/cal-html.el (cal-html-insert-agenda-days):
1939 Fix typo. (Bug#12018)
1940
0d49da68
FEG
19412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1942
1943 Shell processes: enhancements to startup and CEDET compatibility.
1944 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1945 (python-shell-make-comint): accept-process-output at startup.
1946 (run-python-internal): Set inferior-python-mode-hook to nil.
1947 (python-shell-internal-get-or-create-process): call sit-for.
1948 (python-preoutput-result): Add obsolete alias.
1949 (python-shell-internal-send-string): Use it.
1950 (python-shell-send-setup-code): Remove call to
1951 accept-process-output.
1952
f1a71c6e
AS
19532012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1954
1955 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1956 (Bug#12108)
1957
d2605269
JB
19582012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1959
1960 * calc-mode.el (calc-basic-simplification-mode): Rename from
1961 `calc-limited-simplification-mode'.
1962 (calc-alg-simplification-mode): New function.
fc0c31f8 1963 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1964
d2605269
JB
1965 * calc.el (calc-set-mode-line): Adjust mode line display for
1966 basic simplification mode.
1967
1968 * calc-help.el (calc-m-prefix-help): Update help message.
1969
1970 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1971 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1972
a3827a43
BG
19732012-07-31 Bastien Guerry <bzg@gnu.org>
1974
1975 * man.el (man): Fix comment. (bug#12101)
1976
502e3f89
MR
19772012-07-31 Martin Rudalics <rudalics@gmx.at>
1978
1979 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1980 Don't return a non-nil value when no suitable buffer was found.
1981
d7714961
FEG
19822012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1983
1984 * progmodes/python.el (run-python-internal): Disable font lock for
1985 internal shells.
1986
1f45e27e
SM
19872012-07-30 Stefan Merten <smerten@oekonux.de>
1988
1989 * rst.el: Silence `checkdoc-ispell'.
1990 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1991 (rst-official-version, rst-official-cvs-rev)
1992 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1993 (rst-mode-map): New key binding.
1994
0aee6912
PE
19952012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1996
1997 Update .PHONY listings in makefiles.
1998 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1999 autoloads, update-subdirs, updates, bzr-update, update-authors,
2000 compile-onefile, compile-calc, backup-compiled-files,
2001 compile-after-backup, compile-one-process, mh-autoloads,
2002 bootstrap-clean, distclean, maintainer-clean.
2003
9052f9f0
JB
20042012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2005
1823ac5a
JB
2006 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2007 (calc-set-mode-line): Don't display "AlgSimp ".
2008
2009 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2010 (calc-lim-simplify-mode): New function.
2011 (calc-set-simplify-mode): Default to 'alg.
2012 (calc-default-simplify-mode): Make algebraic simplifications
2013 the default.
2014
2015 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2016 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2017
8d7c7eed 2018 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2019 indicate new simplification modes.
2020
1823ac5a
JB
2021 * calc/README: Mention new default simplification mode.
2022
9052f9f0
JB
2023 * calc/calc.el (math-normalize-error): New variable.
2024 (math-normalize): Set `math-normalize-error' to t
2025 when there's an error.
2026
2027 * calc/calc-alg.el (math-simplify): Don't simplify when
2028 `math-normalize' returns an error.
2029
20ba0cb4
EZ
20302012-07-29 Eli Zaretskii <eliz@gnu.org>
2031
2032 * international/mule-cmds.el (set-locale-environment): Revert last
2033 change, since display-graphic-p returns nil when this function is
2034 called during startup. Instead...
2035
2036 * term/w32console.el (terminal-init-w32console): ...setup the
2037 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2038
a5dcc929
JL
20392012-07-29 Juri Linkov <juri@jurta.org>
2040
2041 * simple.el (goto-line): Don't display default line number in the
2042 prompt because it should be displayed by `read-number' (bug#9952).
2043 Add the current line number to the defaults of `goto-line' to
2044 allow its easier modification by users with `M-n' (bug#9201).
2045
2046 * subr.el (read-number): Support multiple default values like in
2047 other minibuffer reading functions. Replace `read' with
2048 `string-to-number' for consistency with `number-to-string'.
2049
72b255c7
PE
20502012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2051
2052 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2053 * emulation/viper-init.el (viper-deactivate-input-method-action):
2054 Rename from viper-inactivate-input-method-action.
2055 (viper-deactivate-input-method):
2056 Rename from viper-inactivate-input-method.
2057 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2058 * international/mule-cmds.el (deactivate-input-method):
2059 Rename from inactivate-input-method.
2060 Also run input-method-deactivate-hook.
2061 (deactivate-current-input-method-function):
2062 Rename from inactivate-current-input-method-function.
2063 (input-method-deactivate-hook): New hook.
2064 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2065 (inactivate-input-method): Mark obsolete.
2066
72b255c7
PE
2067 * international/quail.el (quail-activate):
2068 Also run quail-deactivate-hook.
2069 (quail-deactivate): Rename from quail-inactivate.
2070 * international/robin.el (robin-activate):
2071 Also run robin-deactivate-hook.
2072 (robin-deactivate): Rename from robin-inactivate.
2073
2549c068
CY
20742012-07-29 Chong Yidong <cyd@gnu.org>
2075
2076 * simple.el (indicate-copied-region): New function.
2077 (kill-ring-save): Split off from here.
2078
2079 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2080 (kill-rectangle): Set deactivate-mark to t on read-only error.
2081
2082 * register.el (copy-to-register, copy-rectangle-to-register):
2083 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2084 (append-to-register, prepend-to-register):
2085 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2086
2087 * simple.el (async-shell-command-buffer): New defcustom.
2088 (shell-command): Use it. (Bug#4719)
2089
01bd1b0d
EZ
20902012-07-28 Eli Zaretskii <eliz@gnu.org>
2091
2092 * international/mule-cmds.el (set-locale-environment): In a
2093 console session on MS-Windows, set up keyboard and terminal
2094 encoding from the OEM codepage, not the ANSI codepage.
2095 (Bug#12055)
2096
a55739d3
CY
20972012-07-28 Chong Yidong <cyd@gnu.org>
2098
2099 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2100 gdb-get-location.
2101
0e1a094f 21022012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2103
2104 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2105 the alist (bug#12029).
2106
20329d73
EZ
21072012-07-28 Eli Zaretskii <eliz@gnu.org>
2108
2109 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2110 (compile-always, compile-first)
2111 ($(lisp)/calendar/cal-loaddefs.el)
2112 ($(lisp)/calendar/diary-loaddefs.el)
2113 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2114 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2115 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2116 instead of on update-subdirs.
2117 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2118
345a2258
CY
21192012-07-28 Chong Yidong <cyd@gnu.org>
2120
1eee6341
CY
2121 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2122 directory if vc-deduce-backend returns nil (Bug#7350).
2123
345a2258
CY
2124 * simple.el (delete-trailing-lines): New option.
2125 (delete-trailing-whitespace): Obey it (Bug#11879).
2126
049a0936
DE
21272012-07-28 David Engster <deng@randomsample.de>
2128
2129 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2130 Explanation of new 'symbol-qnames feature in doc-strings.
2131 (xml-maybe-do-ns): Return expanded names as plain symbols if
2132 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2133 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2134
aa81af71
FEG
21352012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2136
2137 Consistent completion in inferior python with emacs -nw.
2138 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2139 binding in inferior-python-mode-map with "\t".
2140 (python-shell-completion-complete-at-point)
2141 (python-completion-complete-at-point): Remove interactive spec.
2142
e827b1eb
JB
21432012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2144
2145 * calc/calccomp.el (math-compose-expr): Undo previous change.
2146
a90dfb95
FEG
21472012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2148
4250fdf5 2149 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2150 run-python.
2151 (python-shell-make-comint): Fix pop-to-buffer call.
2152 (run-python): Autoload. New arg SHOW.
2153 (python-shell-get-or-create-process): Do not pop python process
2154 buffer.
2155
32770973 21562012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2157
2158 * notifications.el (notifications-on-action-signal)
2159 (notifications-on-closed-signal): Use also the bus address for the map.
2160 (notifications-notify, notifications-close-notification)
fc0c31f8 2161 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2162
86332df2
TH
21632012-07-27 Tassilo Horn <tsdh@gnu.org>
2164
4250fdf5
SM
2165 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2166 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2167 ctable macro.
2168 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2169 labels written in keyvals syntax.
2170
ca1302a4
JB
21712012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2172
2173 * calc/calccomp.el (math-compose-expr): Use parentheses when
2174 there is a product in the denominator of a fraction.
2175
f8b91036
EZ
21762012-07-26 Eli Zaretskii <eliz@gnu.org>
2177
2178 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2179 ($(lisp)/calendar/diary-loaddefs.el)
2180 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2181 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2182 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2183 rewritten while the autoload files are built at the same time,
2184 which needs to load subdirs.el.
2185
c8e5a42c
MR
21862012-07-26 Martin Rudalics <rudalics@gmx.at>
2187
2188 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2189 (mouse-drag-line): Don't exit tracking when a switch-frame or
2190 switch-window event occurs (Bug#12006).
2191
670d85ea
SM
21922012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * mouse.el (popup-menu): Fix last change.
2195
7abaf5cc
SM
21962012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 Autoload from Lisp with more care. Follow aliases when looking for
2199 function properties.
2200 * subr.el (autoloadp): New function.
2201 (symbol-file): Use it.
2202 (function-get): New function.
2203 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2204 autoload-do-load.
2205 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2206 (lisp-indent-function):
2207 * emacs-lisp/gv.el (gv-get):
2208 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2209 * emacs-lisp/byte-opt.el (byte-optimize-form):
2210 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2211 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2212 Use function-get.
2213 * emacs-lisp/cl.el: Don't propagate function properties any more.
2214
2215 * speedbar.el (speedbar-add-localized-speedbar-support):
2216 * emacs-lisp/disass.el (disassemble-internal):
2217 * desktop.el (desktop-load-file):
2218 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2219 (describe-function-1):
2220 * emacs-lisp/find-func.el (find-function-noselect):
2221 * emacs-lisp/elp.el (elp-instrument-function):
2222 * emacs-lisp/advice.el (ad-has-proper-definition):
2223 * apropos.el (apropos-safe-documentation, apropos-macrop):
2224 * emacs-lisp/debug.el (debug-on-entry):
2225 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2226 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2227 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2228
b1364986
AA
22292012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2230
2231 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2232 function, not an obsolete variable (Bug#12046).
2233
67ada220
AS
22342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2235
2236 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2237
f08088e3
CS
22382012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2239
2240 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2241 window only if it is still live (Bug#12034).
2242
8137e7b3
MR
22432012-07-25 Martin Rudalics <rudalics@gmx.at>
2244
2245 * subr.el (redirect-frame-focus): Add advertised calling
2246 convention (Bug#12030).
2247
09ae5da1
PE
22482012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2249
2250 Prefer typical American spelling for "acknowledgment".
2251 * vc/add-log.el (change-log-acknowledgment): Rename from
2252 change-log-acknowledgement, with an alias for the old name.
2253
3cc5a3a8
JB
22542012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2255
2256 * calc-alg.el (math-simplify-divide): Don't cross multiply
2257 in an equation when the lhs is a variable.
2258
b7af7f62
JD
22592012-07-24 Julien Danjou <julien@danjou.info>
2260
2261 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2262 Remove, unused.
2263
ec1b09b1
EZ
22642012-07-23 Eli Zaretskii <eliz@gnu.org>
2265
2266 * startup.el (command-line): Don't display an empty user name in
2267 the error message about non-existent home directory, when
2268 init-file-user was set to an empty string. See
2269 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2270 for the details and context.
2271
b525fd8a
VB
22722012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2273
2274 * ses.el (ses-cell-formula-aset): New macro.
2275 (ses-cell-references-aset): New macro.
2276 (ses-cell-p): New function.
2277 (ses-rename-cell): Do no longer rely on complex operations like
2278 ses-cell-set-formula or ses-set-cell to change the cell and handle
2279 the undo at the same time, but rather use lower level new macros
2280 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2281 the undo directly. Refresh the mode line.
b525fd8a 2282
2c73e345
LL
22832012-07-21 Leo Liu <sdl.web@gmail.com>
2284
670d85ea
SM
2285 * progmodes/cc-cmds.el (c-defun-name):
2286 Use match-string-no-properties instead for consistency.
2c73e345 2287
542dfbde
LL
22882012-07-20 Leo Liu <sdl.web@gmail.com>
2289
3646bcd6
LL
2290 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2291 (Bug#7879)
2292
542dfbde
LL
2293 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2294
25721031
CY
22952012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2298 * progmodes/bug-reference.el, misearch.el: Provide themselves
2299 (bug#11915).
2300
2301 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2302 of narrowed buffer (bug#11966).
2303
316e68a7
VB
23042012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2305
2306 * ses.el (ses-rename-cell): Set new name also in reference list of
2307 cells of which the renamed cell depends.
2308
bbf0e7d9
MY
23092012-07-20 Masatake YAMATO <yamato@redhat.com>
2310
2311 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2312 to check whether menu-bar is shown or not. If not shown,
2313 show the menu-bar as a popup menu instead of using tmm.
2314 * mouse.el (popup-menu): Accept `point' as `position' argument.
2315
c28662a8
DG
23162012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2317
2318 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2319 up inside string symbol literal (bug#11923).
2320
87ab808f
EZ
23212012-07-20 Eli Zaretskii <eliz@gnu.org>
2322
2323 * startup.el (fancy-startup-text): Read the whole tutorial, not
2324 just its first 256 bytes. Prevents gibberish in display of the
2325 tutorial title.
2326
89dea803
DA
23272012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2328
2329 Drop idle buffer compaction due to an absence of the
2330 proved efficiency.
2331 * compact.el: Remove.
2332
8a4e6db8
SS
23332012-07-19 Sam Steingold <sds@gnu.org>
2334
2335 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2336 vc-bzr-pull & vc-bzr-merge-branch.
2337 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2338 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2339 for consistency with compilation-error-regexp-alist.
2340 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2341 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2342 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2343 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2344
5db81e33
SM
23452012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/chart.el: Use lexical-binding.
2348 (chart-emacs-storage): Don't hardcode the list of entries.
2349
5b835e1d
DA
23502012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2351
2352 Next round of tweaks caused by Fgarbage_collect changes.
2353 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2354
9cd47b72
DA
23552012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2356
2357 Compact buffers when idle.
2358 * compact.el: New file.
2359
1d6fc0df
SM
23602012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * subr.el (eventp): Presume that if it looks vaguely like an event,
2363 it's an event (bug#10190).
2364
1d29cc7d
FEG
23652012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2366
2367 Enhancements to ppss related code (thanks Stefan).
2368 * progmodes/python.el (python-indent-context)
2369 (python-indent-calculate-indentation, python-indent-dedent-line)
2370 (python-indent-electric-colon, python-nav-forward-block)
2371 (python-mode-abbrev-table)
1d6fc0df 2372 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2373 for ppss context.
2374 (python-info-continuation-line-p): Cleanup.
2375 (python-info-ppss-context): Do not catch 'quote.
2376 (python-info-ppss-context-type)
2377 (python-info-ppss-comment-or-string-p): Simplify.
2378
d583cbe6
FEG
23792012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2380
2381 * progmodes/python.el: Enhancements to eldoc support.
2382 (python-info-current-symbol): New function.
2383 (python-eldoc-at-point): Use python-info-current-symbol.
2384 (python-info-current-defun): Fix cornercase on first defun scan.
2385 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2386 and signal error when no inferior python process is available.
2387
eceb6feb
DG
23882012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2389
2390 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2391 assume it's always t.
2392 (vc-git-registered): Remove caching, the function is only called
2393 once.
2394 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2395
4c8ff0fe
CY
23962012-07-18 Chong Yidong <cyd@gnu.org>
2397
19fb7186
CY
2398 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2399
9587c688
CY
2400 * simple.el (count-words): Report on narrowing (Bug#9959).
2401
0fe776a1
CY
2402 * bindings.el: Bind M-= to count-words.
2403
4c8ff0fe
CY
2404 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2405
7f5331cc
MY
24062012-07-18 Masatake YAMATO <yamato@redhat.com>
2407
2408 * progmodes/sh-script.el (sh-imenu-generic-expression):
2409 Capture a function with `function' keyword and without parentheses
2410 like "function FOO" (bug#11856).
2411
2dc2a609
TH
24122012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2413
2414 * window.el (split-window-sensibly): Make WINDOW argument
2415 optional.
2416
439f7677
CY
24172012-07-18 Chong Yidong <cyd@gnu.org>
2418
9aeb25a6
CY
2419 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2420
439f7677
CY
2421 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2422 and make C-x 8 RET exit isearch (Bug#11439).
2423
2424 * international/iso-transl.el: Move isearch-mode-map key
2425 definitions to isearch.el.
2426
12999ea8
SM
24272012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2430 (eieio-defclass): Use gv-define-setter when possible.
2431
3ab6e069
DA
24322012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2433
2434 Reflect recent changes in Fgarbage_collect.
2435 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2436 reflect new format of data returned by Fgarbage_collect.
2437
0a60bc10
FEG
24382012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2439
2440 New utility functions + python-info-ppss-context fix (Bug#11910).
2441 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2442 (python-info-ppss-comment-or-string-p): New functions.
2443 (python-info-ppss-context): Small fix for string check.
2444
6dafa0d5
JL
24452012-07-17 Juri Linkov <juri@jurta.org>
2446
2447 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2448 (dired-do-async-shell-command): Don't add `*' at the end of the
2449 command (Bug#11815).
2450 (dired-do-shell-command): Doc fix.
2451 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2452 Join the individual commands using either "&" or ";" as the
2453 separator depending on the values of these trailing characters.
2454 At the end re-add the trailing "&". (Bug#10598)
2455
2456 * simple.el (async-shell-command): Sync the interactive spec with
2457 `shell-command'. Doc fix.
2458 (shell-command): Doc fix.
2459
b19dd9d1
JL
24602012-07-17 Juri Linkov <juri@jurta.org>
2461
2462 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2463
bcdc27d7 24642012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2465
bcdc27d7 2466 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2467 * progmodes/python.el (python-nav-beginning-of-statement):
2468 Rename from python-nav-statement-start.
bcdc27d7
FEG
2469 (python-nav-end-of-statement): Rename from
2470 python-nav-statement-end.
2471 (python-nav-beginning-of-block): Rename from
2472 python-nav-block-start.
2473 (python-nav-end-of-block): Rename from python-nav-block-end.
2474
191da00e
FEG
24752012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2476
7f5331cc
MY
2477 * progmodes/python.el (python-shell-send-string-no-output):
2478 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2479 future interactions (Bug#11868).
2480
4dc7c8d5 24812012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2482
88ecaf8f
SM
2483 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2484
ef501ef0
SM
2485 * emacs-lisp/elint.el (elint-find-args-in-code):
2486 Use help-function-arglist, so as to handle lexical byte-code.
2487
aa7aaf8f
SM
2488 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2489 change (bug#11826).
2490
45fd731c
SM
24912012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2143fa32
SM
2493 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2494 Avoid spuriously marking the buffer as modified because of c-is-sws.
2495
efc26dbe
SM
2496 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2497 as not-a-comment (bug#11946).
2498
f5695c9a
SM
2499 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2500 for uninterned vars.
2501
2502 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2503 Use read-event since we don't really want to read chars but bytes.
2504
45fd731c
SM
2505 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2506 $$..$$ but also $..$ using regexps (bug#11953).
2507 Use tex-verbatim for \url and \path.
2508 (tex-font-lock-keywords): Define as defconst like the others.
2509 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2510
ddfc8813
RK
25112012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2512
2513 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2514 alias for insert-char.
2515
758e556a
FEG
25162012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2517
2518 * progmodes/python.el: Simplified imenu implementation.
2519 (python-nav-jump-to-defun): Remove command.
2520 (python-mode-map): Use `imenu' instead.
2521 (python-nav-list-defun-positions-cache)
2522 (python-imenu-include-defun-type, python-imenu-make-tree)
2523 (python-imenu-subtree-root-label, python-imenu-index-alist):
2524 Remove vars.
2525 (python-nav-list-defun-positions, python-nav-read-defun)
2526 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2527 (python-imenu-make-tree, python-imenu-create-index):
2528 Remove functions.
758e556a
FEG
2529 (python-mode): Update to interact with imenu by setting
2530 `imenu-extract-index-name-function' only.
2531
032d23ab
FEG
25322012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2533
2534 * progmodes/python.el: Enhancements to navigation commands.
2535 (python-nav-backward-sentence)
2536 (python-nav-forward-sentence): Remove.
2537 (python-nav-backward-statement, python-nav-forward-statement)
2538 (python-nav-statement-start, python-nav-statement-end)
2539 (python-nav-backward-block, python-nav-forward-block)
2540 (python-nav-block-start, python-nav-block-end)
2541 (python-nav-forward-sexp-function)
2542 (python-info-current-line-comment-p)
2543 (python-info-current-line-empty-p): New functions.
2544 (python-indent-context): Use `python-nav-statement-start'.
2545
01795a1b
MA
25462012-07-16 Michael Albinus <michael.albinus@gmx.de>
2547
9328d9aa
MA
2548 * eshell/em-ls.el (eshell/ls): Use `apply'.
2549
2550 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2551 multi-hops, instead of Tramp internals.
2552
01795a1b
MA
2553 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2554
2555 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2556 when F1 and F2 are located on different hosts.
2557
63408057
CY
25582012-07-14 Chong Yidong <cyd@gnu.org>
2559
2560 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2561 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2562 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2563 (xterm-mouse--read-event-sequence-1000)
2564 (xterm-mouse--read-event-sequence-1006): New functions. For old
2565 mouse protocol, handle M-mouse-X events correctly.
2566 (xterm-mouse-event): New arg specifying mouse protocol.
2567 (turn-on-xterm-mouse-tracking-on-terminal)
2568 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2569 sequence to toggle extended coordinates on newer XTerms.
2570 This appears to be harmless on terminals which do not support this.
63408057 2571
cd276f6e
LL
25722012-07-14 Leo Liu <sdl.web@gmail.com>
2573
28ca98ac
LL
2574 Add fringe bitmap indicators for flymake. (Bug#11253)
2575 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2576 (flymake-make-overlay): New arg BITMAP.
2577 (flymake-error-bitmap, flymake-warning-bitmap)
2578 (flymake-fringe-indicator-position): New user variables.
2579
cd276f6e
LL
2580 * fringe.el: New bitmap exclamation-mark.
2581
04408072
JD
25822012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2583
2584 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2585 also (Bug#7879).
2586
b5cf7fc4
CY
25872012-07-14 Chong Yidong <cyd@gnu.org>
2588
2589 * electric.el (electric-pair-post-self-insert-function): Fix pair
2590 insertion in empty-region case (Bug#11520).
2591
be755c79
RT
25922012-07-14 Chong Yidong <cyd@gnu.org>
2593
45fd731c
SM
2594 * bindings.el: Consolidate ctl-x-r-map bindings.
2595 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2596
2597 * rect.el, register.el: Move bindings to bindings.el.
2598
25992012-07-14 Reuben Thomas <rrt@sc3d.org>
2600
2601 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2602
7f5b3198
AS
26032012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2604
2605 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2606
97662200
JB
26072012-07-13 Juanma Barranquero <lekktu@gmail.com>
2608
80185fed
JB
2609 * bindings.el (top): Use `mapc' instead of `mapcar'.
2610
97662200
JB
2611 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2612
2bb1ae55
MA
26132012-07-13 Michael Albinus <michael.albinus@gmx.de>
2614
2615 * progmodes/sql.el (sql-comint): Suppress the check for program on
2616 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2617 (Bug#11908)
2618
dea31bd3
CY
26192012-07-13 Chong Yidong <cyd@gnu.org>
2620
2621 * bindings.el: Assign a non-nil permanent-local property to
2622 per-buffer variables which lack a default value (Bug#11930).
2623
2624 * help-fns.el (describe-variable): In the "automatically becomes
2625 local" notice, take note of permanent-local variables.
2626
b68b3337
CY
26272012-07-13 Chong Yidong <cyd@gnu.org>
2628
2629 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2630 to allow printing the message when called from Lisp.
2631
2632 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2633 Remove toggle-read-only.
2634
2635 * bs.el (bs-toggle-readonly):
45fd731c
SM
2636 * buff-menu.el (Buffer-menu-toggle-read-only):
2637 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2638
2639 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2640 Remove with-no-warnings around toggle-read-only.
2641 (ffap-read-only, ffap-read-only-other-window)
2642 (ffap-read-only-other-frame): Callers changed.
2643
2644 * help-mode.el: Don't require view package.
2645 (help-mode-finish): Set buffer-read-only instead of calling
2646 toggle-read-only.
2647
2648 * bindings.el (mode-line-toggle-read-only):
2649 * dired.el (dired-toggle-read-only):
2650 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2651 with non-nil second arg.
2652
2653 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2654 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2655 directly.
2656
56bc1586
EZ
26572012-07-12 Eli Zaretskii <eliz@gnu.org>
2658
2659 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2660 not incf.
2661
a464a6c7
SM
26622012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 More CL cleanups and reduction of use of cl.el.
2665 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2666 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2667 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2668 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2669 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2670 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2671 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2672 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2673 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2674 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2675 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2676 * eshell/em-cmpl.el, eshell/em-banner.el:
2677 * calendar/parse-time.el: Use cl-lib.
2678 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2679 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2680 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2681 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2682 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2683 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2684 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2685 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2686 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2687 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2688 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2689 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2690 `lambda' rather than with `quote'.
2691 (eshell-do-opt): Adjust accordingly.
2692 (eshell-process-option): Simplify.
2693 * eshell/esh-var.el:
2694 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2695 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2696 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2697 to `pcase--dontcare'.
2698 * emacs-lisp/cl.el (labels): Mark obsolete.
2699 (cl--letf, letf): Move to cl-lib.
2700 (cl--letf*, letf*): Remove.
2701 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2702 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2703 (cl-progv): Rewrite.
2704 (cl--letf, cl-letf): Move from cl.el.
2705 (cl-letf*): New macro.
2706 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2707
7ad4afe1
MA
27082012-07-11 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2711
9af57756
CY
27122012-07-11 Chong Yidong <cyd@gnu.org>
2713
2714 * vc/log-edit.el (log-edit-vc-backend): New variable.
2715 (log-edit): Doc fix.
2716
2717 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2718 argument of log-edit to set up all local variables.
2719 (vc-start-logentry): New optional arg specifying VC backend.
2720
2721 * vc/vc.el (vc-checkin): Use it.
2722 (vc-deduce-fileset): Handle Log Edit buffers.
2723 (vc-diff): Make first argument optional too.
2724
2725 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2726
8477cc7a
MA
27272012-07-10 Michael Albinus <michael.albinus@gmx.de>
2728
2729 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2730 command, just in case. The function is not needed anymore.
2731 (eshell-external-command): Do not call `eshell-remote-command'.
2732
19faa8e8
SM
27332012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2734
f58e0fd5
SM
2735 Reduce use of (require 'cl).
2736 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2737 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2738 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2739 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2740 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2741 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2742 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2743 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2744 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2745 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2746 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2747 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2748 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2749 (byte-compile-unfold-bcf, byte-compile-check-variable):
2750 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2751 (byte-compile-nilconstp):
2752 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2753 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2754
2519d43a
SM
2755 * emacs-lisp/gv.el (cond): Make it a valid place.
2756 (if): Simplify slightly.
2757
19faa8e8
SM
2758 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2759 (pcase--self-quoting-p): New function.
2760 (pcase--u1): Use it.
2761
c4907a5e
GM
27622012-07-10 Glenn Morris <rgm@gnu.org>
2763
2764 * emacs-lisp/authors.el (authors-fixed-entries):
2765 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2766
c4444d16
PE
27672012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2768
2769 Rename configure.in to configure.ac (Bug#11603).
2770 * emacs-lisp/authors.el (authors-canonical-file-name):
2771 * progmodes/autoconf.el (autoconf-mode):
2772 Prefer configure.ac to configure.in.
2773
d75be97d
CY
27742012-07-08 Chong Yidong <cyd@gnu.org>
2775
01ac65bd
CY
2776 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2777 Implement the mouse-1-click-follows-link handling properly.
2778
2779 * info.el (Info-link-keymap): Use follow-link mechanism for
2780 header-line links (Bug#374).
2781
d75be97d
CY
2782 * simple.el (deactivate-mark): Do not set the primary selection
2783 if another program has acquired it (Bug#11772).
2784
87a92845 27852012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2786
2787 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2788 (woman-decode-region): Replace escaped-escapes without destroying
2789 bold or underline (Bug#11552).
87a92845 2790 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2791
621b9d6c
CY
27922012-07-07 Chong Yidong <cyd@gnu.org>
2793
2794 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2795 (interprogram-cut-function, interprogram-paste-function):
2796 Mention that we typically mean the clipboard.
621b9d6c 2797
133a11fc
GM
27982012-07-06 Glenn Morris <rgm@gnu.org>
2799
0d27a45e
GM
2800 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2801
133a11fc
GM
2802 * files.el (toggle-read-only): Restrict message to interactive use.
2803
07b151f1
MA
28042012-07-06 Michael Albinus <michael.albinus@gmx.de>
2805
2806 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2807
2808 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2809
211b896b
GM
28102012-07-06 Glenn Morris <rgm@gnu.org>
2811
50394322
GM
2812 * Makefile.in (compile-one-process): Rename from "recompile".
2813
211b896b
GM
2814 * Makefile.in (bzr-update): "compile" is the same as "recompile
2815 autoloads", but parallelizable, so use that instead.
2816
4737eec9
DG
28172012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * window.el (quit-window): Always restore window height when
8137e7b3 2820 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2821
226c3633 28222012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2823
2824 * simple.el (kill-whole-line): Doc tweak.
2825
226c3633 28262012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2827
2828 * files.el (file-relative-name): Compare file names
2829 case-insensitively if on MS-Windows or MS-DOS, or if
2830 read-file-name-completion-ignore-case is non-nil. Don't use
2831 case-fold-search for this purpose. (Bug#11827)
2832
4dc7c8d5
SM
28332012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2834
2835 * calendar/cal-dst.el (calendar-current-time-zone):
2836 Return calendar-current-time-zone-cache if non-nil.
2837
28382012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 28392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2840
19faa8e8
SM
2841 * calendar/cal-dst.el (calendar-current-time-zone):
2842 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2843
60198fc9
GM
28442012-07-06 Glenn Morris <rgm@gnu.org>
2845
2846 * Makefile.in (cvs-update): Remove old alias.
2847
957b3189
MA
28482012-07-05 Michael Albinus <michael.albinus@gmx.de>
2849
2850 Sync with Tramp 2.2.6-pre.
2851
2852 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2853 compatible declaration.
2854
19faa8e8
SM
2855 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2856 Protect `list-load-path-shadows' call.
957b3189
MA
2857
2858 * net/tramp-compat.el (top): Require packages, which aren't
2859 autoloaded anymore for XEmacs. Protect call of
2860 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2861 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2862 it hurts at least for SXEmacs.
2863 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2864 standard-value for `temporary-file-directory'.
2865
2866 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2867 Redirect stderr to /dev/null.
2868 (tramp-sh-handle-write-region): uid and gid can be floats.
2869 Reported by Russell Sim <russell.sim@gmail.com>.
2870 (tramp-sh-handle-vc-registered): Hide errors.
2871 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2872 and `start-file-process'.
2873 (tramp-maybe-open-connection): Check also whether `non-essential'
2874 is bound.
2875
566df3fc
CY
28762012-07-04 Chong Yidong <cyd@gnu.org>
2877
2878 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2879 (xml-parse-tag): Likewise, and avoid changing entity tables.
2880 (xml-syntax-table): Define from scratch, making sure not to give
2881 x2000 and other Unicode spaces whitespace syntax, since those are
2882 not spaces in XML.
2883 (xml-parse-fragment): Delete unused function.
2884 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2885 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2886 (xml-entity-ref, xml-pe-reference-re)
2887 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2888 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2889 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2890 (xml-entity-value-re): Use syntax references in regexps where
2891 possible; no need to define inside a let-binding.
2892 (xml-parse-dtd): Use xml-pe-reference-re.
2893 (xml-entity-or-char-ref-re): New defconst.
2894 (xml-parse-string, xml-substitute-special): Use it.
2895
30eabd7a
SM
28962012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2897
0781098a
SM
2898 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2899 (find-file--read-only): New function.
2900 (find-file-read-only, find-file-read-only-other-window)
2901 (find-file-read-only-other-frame): Use it.
2902 (insert-file-contents-literally): Don't `fset'.
2903 (get-free-disk-space): Use locate-dominating-file.
2904
b5771c0d
SM
2905 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2906 function is already compiled.
2907
30eabd7a
SM
2908 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2909
b4886f6e
MA
29102012-07-03 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2913 files on the same host.
2914
b9d82339
AS
29152012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2916
2917 * help-fns.el (describe-function-1): Only call
2918 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2919
a76e6535
CY
29202012-07-03 Chong Yidong <cyd@gnu.org>
2921
2922 * xml.el: Protect parser against XML bombs.
2923 (xml-entity-expansion-limit): New variable.
2924 (xml-parse-string, xml-substitute-special): Use it.
2925 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2926
b544fef2
GM
29272012-07-03 Glenn Morris <rgm@gnu.org>
2928
2929 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2930 Allow linking to specific messages in debbugs reports (eg 123#5).
2931
a7aef6f5
CY
29322012-07-02 Chong Yidong <cyd@gnu.org>
2933
2934 * xml.el: Fix entity and character reference expansion, allowing
2935 them to expand into markup as per XML spec.
2936 (xml-default-ns): New variable.
2937 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2938 (xml-parse-region): Make first two arguments optional.
2939 Discard text properties.
2940 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2941 All callers changed.
a7aef6f5
CY
2942 (xml-parse-tag): Call xml-parse-tag-1. For backward
2943 compatibility, this function should not modify buffer contents.
2944 (xml-parse-tag-1): Fix opening-tag regexp.
2945 (xml-parse-string): Rewrite, handling entity and character
2946 references properly.
2947 (xml--entity-replacement-text): Signal an error if a parameter
2948 entity is undefined.
2949
3df31c9f
SM
29502012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2b5208f1
SM
2952 * comint.el (comint-output-filter): Filter out repeated prompts.
2953
3df31c9f
SM
2954 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2955 and file-name-absolute-p.
2956 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2957 internal calls.
2958
e3ac1281
PE
29592012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2960
2961 Spelling fixes.
2962 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2963 Rename from byte-compile--refiy-function. All uses changed.
2964
fbf2e7ad
CY
29652012-07-01 Chong Yidong <cyd@gnu.org>
2966
2967 * xml.el (xml--parse-buffer): New function. Move most of
2968 xml-parse-region here.
2969 (xml-parse-region): Copy region into a temporary buffer, since
2970 parameter entity substitution requires changing buffer contents.
2971 Use xml--parse-buffer.
2972 (xml-parse-file): Use xml--parse-buffer.
2973 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2974 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2975
9bf0aa15
GM
29762012-06-30 Glenn Morris <rgm@gnu.org>
2977
bbce2853
GM
2978 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2979
9bf0aa15
GM
2980 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2981 Remove outdated and unnecessary dbus declarations.
2982
0d23c240
EZ
29832012-06-30 Eli Zaretskii <eliz@gnu.org>
2984
2985 * emacs-lisp/timer.el (timer-until): Subtract results of
2986 float-time, instead of taking float-time of the result of
2987 time-subtract, since float-time signals an error for negative time
2988 arguments.
2989
b3218de1
CY
29902012-06-30 Chong Yidong <cyd@gnu.org>
2991
2992 * xml.el (xml-*-re): Convert defvars into defconsts, and
2993 eval-and-compile them so eval-and-compile works on derivatives.
2994 (xml--entity-replacement-text): Use eval-and-comple.
2995
a40c87a0
MA
29962012-06-30 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * vc/vc-git.el (vc-git-registered): Use cache property
2999 `git-registered'.
3000 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3001 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3002 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3003
ac87de97
DG
30042012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3005
3006 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3007 removed (likely outside Emacs). (Bug#11757)
ac87de97 3008
ac10fe06
SM
30092012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3df31c9f 3011 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3012
7f3fbd5d
CY
30132012-06-30 Chong Yidong <cyd@gnu.org>
3014
3015 * xml.el: Implement XML parameter entities.
3016 (xml-parameter-entity-alist): New variable.
3017 (xml-parse-region, xml-parse-fragment): Preserve previous values
3018 of xml-entity-alist and xml-parameter-entity-alist, so that
3019 repeated calls on different documents do not change them.
3020 (xml-parse-tag): Fix doctype regexp.
3021 (xml--entity-replacement-text): New function.
3022 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3023 properly requires url retrieval which is unimplemented.
3024 (xml-escape-string): Doc fix.
3025
3cfbebba
SM
30262012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3029
2af3565e
DA
30302012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3031
3032 * fringe.el (fringe-mode): Doc fix.
3033
929df0e7
MA
30342012-06-29 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3037 is non-nil.
3038 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3039 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3040
c8d3a25c 30412012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3042
c8d3a25c
GM
3043 * calendar/cal-dst.el (calendar-current-time-zone):
3044 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3045
c8d3a25c 30462012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3047
3048 * progmodes/which-func.el (which-func-format):
3049 Add mouse-face. (Bug#11698)
3050
c8d3a25c
GM
30512012-06-29 Leo Liu <sdl.web@gmail.com>
3052
3053 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3054
30552012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * minibuffer.el (minibuffer-confirm-exit-commands):
3058 Add completion-at-point (bug#11725).
3059
30602012-06-29 Glenn Morris <rgm@gnu.org>
3061
3062 * progmodes/f90.el (f90-font-lock-keywords-2):
3063 Add some preprocessor elements. (Bug#10499)
3064
30652012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3068 Use syntax-propertize (bug#11739).
3069
2badeec4
JB
30702012-06-28 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3073
ae4969c2
JD
30742012-06-28 Julien Danjou <julien@danjou.info>
3075
3076 * term.el (term-handle-colors-array): Use a set of new faces to
3077 color the terminal. Also uses :inverse-video property.
3078 (term-default-fg-color): Set to nil by default, deprecate in favor
3079 of `term-face'.
3080 (term-default-bg-color): Set to nil by default, deprecate in favor
3081 of `term-face'.
3082 (term-current-face): Use `term-face' by default.
3083 (term-bold-attribute): Variable deleted.
3084
1c9bd870
GM
30852012-06-28 Glenn Morris <rgm@gnu.org>
3086
3087 * simple.el (completion-list-mode-finish):
3088 Don't use toggle-read-only. (Since completion-list-mode has
3089 a special mode-class, it wasn't doing anything extra anyway.)
3090
c207708c
SM
30912012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 Make inlining of other-mode interpreted functions work (bug#11799).
3094 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3095 (byte-compile): Use it to fix compilation of lexical-binding closures.
3096 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3097 function, if needed.
3098
3fd56834
SM
30992012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3100
04901786
SM
3101 * help-mode.el (help-make-xrefs): Don't just withstand
3102 cyclic-variable-indirection but any error in documentation-property.
3103
1ec4b7b2
SM
3104 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3105 memory use.
3106 * bindings.el (bindings--define-key): New function.
3107 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3108 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3109 * bindings.el: Use it to purecopy define-key bindings.
3110
e309e2a5
SM
3111 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3112
d5c6faf9
SM
3113 * emacs-lisp/cl.el (flet): Mark obsolete.
3114 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3115 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3116 * progmodes/js.el (js-c-fill-paragraph):
3117 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3118 (ebrowse-switch-member-buffer-to-derived-class):
3119 * play/5x5.el (5x5-solver): Use cl-flet.
3120
6e9590e2
SM
3121 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3122 (cl--symbol-function): New macro.
3123 (cl--letf, cl--letf*): Use it.
3124
3fd56834
SM
3125 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3126 Strip "toggle-" if any.
3127
35ff222c
GM
31282012-06-27 Glenn Morris <rgm@gnu.org>
3129
1ba6038a
GM
3130 * info.el (Info-default-directory-list): Move here from paths.el.
3131 * paths.el: Remove file, which is now empty.
3132 * loadup.el: No longer load "paths".
3133
0ea0e51b
GM
3134 * custom.el (custom-initialize-delay): Doc fix.
3135
35ff222c
GM
3136 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3137 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3138 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3139 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3140 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3141 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3142 * eshell/eshell.el (eshell-defgroup): Remove alias.
3143
c89926a5
CY
31442012-06-27 Chong Yidong <cyd@gnu.org>
3145
3146 * help.el (help-enable-auto-load): New variable.
3147
3148 * help-fns.el (help-fns--autoloaded-p): New function.
3149 (describe-function-1): Refer to a function as "autoloaded" if it
3150 was autoloaded at any time in the past. Perform autoloading if
3151 help-enable-auto-load is non-nil.
3152
cc06e7e7
EZ
31532012-06-26 Eli Zaretskii <eliz@gnu.org>
3154
3155 * makefile.w32-in (compile, compile-always): Depend on
3156 update-subdirs, not on subdirs.el. Otherwise, several different
3157 sub-targets of 'bootstrap' running in parallel could
3158 simultaneously write to subdirs.el, producing a garbled file.
3159
d2c32364
SS
31602012-06-26 Sam Steingold <sds@gnu.org>
3161
3162 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3163 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3164 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3165 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3166 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3167 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3168 * textmodes/tex-mode.el: Use it.
3169 Did not touch cedet and org because they are maintained elsewhere.
3170
5cf983b2
MR
31712012-06-26 Martin Rudalics <rudalics@gmx.at>
3172
3173 * calendar/calendar.el (calendar-exit): Don't try to delete or
3174 iconify last frame. See:
3175 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3176
8c4f2952
JD
31772012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3178
3179 * server.el (server-process-filter): Remember dir in the
3180 process's `server-client-directory' properties.
3181
772b2e2c
CY
31822012-06-24 Chong Yidong <cyd@gnu.org>
3183
3184 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3185 non-tag text.
3186
711b11e1
JB
31872012-06-23 Juanma Barranquero <lekktu@gmail.com>
3188
3189 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3190
dc5d230c
SM
31912012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * help-fns.el (describe-variable): Don't croak when doc is not found.
3194 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3195 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3196 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3197 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3198 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3199 ((lambda ..) ..).
3200 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3201
136e1c1d
CY
32022012-06-23 Chong Yidong <cyd@gnu.org>
3203
e8c1cabf
CY
3204 * info.el (Info-mouse-follow-link): Accept symbol values of
3205 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3206 (Info-fontify-node): Use Info-link-keymap for all navigation
3207 buttons, with link-args property to perform the desired action.
3208 (Info-link-keymap): Doc fix.
3209 (Info-next-link-keymap, Info-prev-link-keymap)
3210 (Info-up-link-keymap): Delete now-unused keymaps.
3211
0e9e6c6a
CY
32122012-06-23 Chong Yidong <cyd@gnu.org>
3213
05e89fea
CY
3214 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3215
0e9e6c6a
CY
3216 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3217 system abbrevs.
3218
3219 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3220
e33c6771
SM
32212012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3222
b68581e2
SM
3223 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3224 (bug#11719).
3225
e33c6771
SM
3226 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3227 the requote function doesn't work properly (bug#11714).
3228
7117e105
GM
32292012-06-23 Glenn Morris <rgm@gnu.org>
3230
3231 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3232
36cec983
SM
32332012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 Further GV/CL cleanups.
3236 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3237 gv-expander.
3238 (gv--defun-declaration): New function.
3239 (defun-declarations-alist): Use it.
3240 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3241 (gv-place): Autoload.
3242 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3243 original definition of dotimes and dolist.
3244 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3245 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3246 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3247 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3248 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3249 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3250 to the function's definition.
3251 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3252 * window.el:
3253 * files.el:
3254 * faces.el:
3255 * env.el: Don't use CL.
3256
d35af63c
PE
32572012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3258
3259 Support higher-resolution time stamps (Bug#9000).
3260
3261 * calendar/time-date.el (with-decoded-time-value): New arg
3262 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3263 (encode-time-value): New optional arg PICO. New type 3.
3264 (time-to-seconds) [!float-time]: Support the new picoseconds
3265 component if it's used.
3266 (seconds-to-time, time-subtract, time-add):
3267 Support ps-resolution time stamps as well.
3268
3269 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3270 (timerp): Timer vectors now have length 9, not 8.
3271 (timer--time): Support new-style (4-part) time stamps.
3272 (timer-next-integral-multiple-of-time): Time stamps now have
3273 picosecond resolution, so take a bit more care about rounding.
3274 (timer-relative-time, timer-inc-time): New optional arg psecs.
3275 (timer-set-time-with-usecs): Set psecs to 0.
3276 (timer--activate): Check psecs component, too.
3277
3278 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3279
ac77b21a
SM
32802012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3281
f143bfe3
SM
3282 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3283 Move the non-essential binding to the post/pre-command-hook where it is
3284 more obviously correct.
3285
ac77b21a
SM
3286 * subr.el (read-passwd): Don't use a history at all.
3287 * savehist.el (savehist-save): Remove password saved accidentally
3288 because of the above bug.
3289
76386c5a
BG
32902012-06-22 Bastien Guerry <bzg@gnu.org>
3291
3292 * files.el (toggle-read-only): Display a message telling whether
3293 the buffer is read-only or not (bug#11726).
3294
2ee3d7f0
SM
32952012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * emacs-lisp/gv.el: New file.
3298 * subr.el (push, pop): Extend to generalized variables.
3299 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3300 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3301 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3302 gv-define-simple-setter, and gv-define-expander.
3303 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3304 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3305 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3306 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3307 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3308 gv-letplace.
3309 (cl-defstruct): Don't define setf-method any more.
3310 * emacs-lisp/cl.el (flet): Don't autoload.
3311 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3312 (define-setf-expander, defsetf, define-modify-macro)
3313 (cl-struct-setf-expander): Move from cl-lib.el.
3314 * emacs-lisp/syntax.el:
3315 * emacs-lisp/ewoc.el:
3316 * emacs-lisp/smie.el:
3317 * emacs-lisp/cconv.el:
3318 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3319 (timer--time): Use gv-define-simple-setter.
3320 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3321 to avoid coding-system problems in subr.el. Adjust all users.
3322 (macroexp--maxsize, macroexp-small-p): New functions.
3323 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3324 * scroll-bar.el (scroll-bar-mode):
3325 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3326 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3327 * winner.el (winner-configuration, winner-make-point-alist)
3328 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3329 * files.el (locate-file-completion-table): Avoid list*.
3330
c5695d1d
CY
33312012-06-22 Chong Yidong <cyd@gnu.org>
3332
3333 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3334 (dired-create-files): Doc fix (Bug#11329).
3335 (dired-do-copy): Doc fix (Bug#11334).
3336 (dired-mark-read-string): Doc fix (Bug#11553).
3337
2ee3d7f0
SM
3338 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3339 Doc fix (Bug#11326).
c5695d1d
CY
3340 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3341 (dired-dwim-target): Doc fix.
3342
3343 * wdired.el (wdired-mode): Doc fix.
3344
89b5595a
GM
33452012-06-22 Glenn Morris <rgm@gnu.org>
3346
575db3f1
GM
3347 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3348 (pcmpl-rpm-cache-stamp-file): New constant.
3349 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3350 (pcmpl-rpm-packages): Optionally cache list of packages.
3351
a4c8dd51
GM
3352 * pcmpl-rpm.el (pcmpl-rpm): New group.
3353 (pcmpl-rpm-query-options): New option.
3354 (pcmpl-rpm-packages): No need to inline it.
3355 Use pcmpl-rpm-query-options.
3356
89b5595a
GM
3357 * calendar/calendar.el (calendar-in-read-only-buffer):
3358 Avoid some needless mode changes.
3359
e76f0800
CY
33602012-06-21 Chong Yidong <cyd@gnu.org>
3361
3362 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3363 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3364 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3365
297a8f1d
CY
33662012-06-20 Chong Yidong <cyd@gnu.org>
3367
3368 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3369
d34c18b1
DR
33702012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3371
3372 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3373 (bug#11201).
3374
32f7f28e
CY
33752012-06-20 Chong Yidong <cyd@gnu.org>
3376
3377 * term.el (term-window-width): Handle the case of a missing right
3378 fringe (Bug#8837).
3379 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3380 (term-mode): Use define-derived-mode. Minor cleanups.
3381 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3382 (term-move-columns, term-insert-char, term-emulate-terminal)
3383 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3384
493c6688
MA
33852012-06-20 Michael Albinus <michael.albinus@gmx.de>
3386
d34c18b1
DR
3387 * net/ange-ftp.el (ange-ftp-get-passwd):
3388 Bind `enable-recursive-minibuffers'.
493c6688
MA
3389 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3390
3f06ecf4
DR
33912012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3392
3393 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3394
68f12411
GM
33952012-06-19 Glenn Morris <rgm@gnu.org>
3396
3397 * progmodes/python.el (python-mode): Derive from prog-mode.
3398
b3820318
KG
33992012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3400
3401 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3402 (edt-user-menu-bar-update-buffers): New functions.
3403 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3404
c6bf3022
CY
34052012-06-19 Chong Yidong <cyd@gnu.org>
3406
3407 * subr.el (with-selected-window): Preserve the selected window's
3408 terminal's top-frame (Bug#4702).
3409
3410 * window.el (save-selected-window): Likewise.
3411
25f09295
SM
34122012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * progmodes/python.el (python-rx-constituents): Move backquote.
3415 (python-skeleton-define, python-define-auxiliary-skeleton):
3416 Use `declare'.
3417
6b11952a
MA
34182012-06-18 Michael Albinus <michael.albinus@gmx.de>
3419
3420 * minibuffer.el (read-file-name-default): Revert the patch from
3421 2012-06-17.
3422
ee4b1330
SM
34232012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3426 (pcase--u1, pcase--q1): Don't use apply-partially.
3427
35647f79
GM
34282012-06-18 Glenn Morris <rgm@gnu.org>
3429
3430 * progmodes/python.el (python-proc, python-buffer)
3431 (python-send-receive, python-send-string): Fix obsolete versions.
3432
24b0cff0
MR
34332012-06-18 Martin Rudalics <rudalics@gmx.at>
3434
3435 * window.el (special-display-p): Completely remove stringp
3436 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3437
29855149
MA
34382012-06-17 Michael Albinus <michael.albinus@gmx.de>
3439
3440 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3441
3442 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3443
3444 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3445 * net/tramp-sh.el (tramp-maybe-open-connection):
3446 Throw if `non-essential' is non-nil.
3447
07463363
MR
34482012-06-17 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (special-display-p): Signal an error if BUFFER-NAME
3451 is not a string (Bug#11713).
3452
48d1354e
PE
34532012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3454
3455 * progmodes/python.el (python-info-beginning-of-backslash):
3456 Rename from python-info-beginning-of-backlash, as a spelling fix.
3457
eb4a8a9a
CY
34582012-06-17 Chong Yidong <cyd@gnu.org>
3459
3460 * term.el (term-emulate-terminal): If term-check-size is called,
3461 move point to the process mark without resetting point (Bug#4635).
3462
ddfbf826 34632012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3464
3465 * international/mule-cmds.el (mule-menu-keymap)
3466 (set-language-environment, set-locale-environment): Doc tweaks.
3467
9b0e3eba
AA
34682012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3469
3470 * cus-face.el (custom-face-attributes): Add wave-style underline
3471 attribute.
3472 * faces.el (set-face-attribute): Update docstring to describe
3473 wave-style underline attribute.
3474
771e3eae
CY
34752012-06-16 Chong Yidong <cyd@gnu.org>
3476
3477 * term/xterm.el (terminal-init-xterm): Discard input before
3478 querying background mode (Bug#10959).
3479
7ae2ea10
SM
34802012-06-16 Stefan Merten <smerten@oekonux.de>
3481
3482 * textmodes/rst.el: Added and corrected some comments.
3483 (rst-re-alist-def): Improve symbol syntax.
3484 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3485 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3486 (rst-official-version, rst-official-cvs-rev): Update version
3487 information.
7ae2ea10 3488
b6974efa
JB
34892012-06-15 Juanma Barranquero <lekktu@gmail.com>
3490
3491 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3492 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3493
8826d473
GM
34942012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3495
3496 * progmodes/python.el: New python.el merge.
3497 (python-guess-indent): Obsolete var.
3498 (python-indent-guess-indent-offset): New defcustom.
3499 (python-indent): Obsolete var.
3500 (python-indent-offset): New defcustom.
3501 (python-python-command, python-jython-command): Delete var.
3502 (python-shell-interpreter): New defcustom.
3503 (python-pdbtrack-do-tracking-p): Delete var.
3504 (python-pdbtrack-activate): New defcustom.
3505 (python-use-skeletons): Obsolete var.
3506 (python-skeleton-autoinsert): New defcustom.
3507 (inferior-python-filter-regexp, python-continuation-offset)
3508 (python-honour-comment-indentation, python-indent-string-contents)
3509 (python-jython-packages, python-mode-hook)
3510 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3511 (python-shell-prompt-alist)
3512 (python-source-modes): Delete defcustoms.
3513 (python-check-buffer-name, python-eldoc-setup-code)
3514 (python-eldoc-string-code, python-ffap-setup-code)
3515 (python-ffap-string-code, python-fill-comment-function)
3516 (python-fill-decorator-function, python-fill-paren-function)
3517 (python-fill-string-function, python-imenu-include-defun-type)
3518 (python-imenu-make-tree, python-imenu-subtree-root-label)
3519 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3520 (python-shell-compilation-regexp-alist)
3521 (python-shell-completion-module-string-code)
3522 (python-shell-completion-pdb-string-code)
3523 (python-shell-completion-setup-code)
3524 (python-shell-completion-string-code)
3525 (python-shell-enable-font-lock, python-shell-exec-path)
3526 (python-shell-extra-pythonpaths)
3527 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3528 (python-shell-process-environment)
3529 (python-shell-prompt-block-regexp)
3530 (python-shell-prompt-output-regexp)
3531 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3532 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3533 (python-shell-virtualenv-path): New defcustoms.
3534 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3535 (inferior-python-mode-syntax-table, python--prompt-regexp)
3536 (python-buffer, python-command python-python-command)
3537 (python-default-template, python-imports, python-indent-index)
3538 (python-indent-list, python-indent-list-length)
3539 (python-mode-running, python-pdbtrack-is-tracking-p)
3540 (python-preoutput-continuation, python-preoutput-leftover)
3541 (python-preoutput-result, python-preoutput-skip-next-prompt)
3542 (python-prev-dir/file, python-recursing)
3543 (python-saved-check-command, python-version-checked)
3544 (python-which-func-length-limit)
3545 (view-return-to-alist): Delete vars.
3546 (python-check-custom-command, python-dotty-syntax-table)
3547 (python-imenu-index-alist, python-indent-current-level)
3548 (python-indent-dedenters, python-indent-levels)
3549 (python-nav-beginning-of-defun-regexp)
3550 (python-nav-list-defun-positions-cache)
3551 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3552 (python-shell-internal-buffer)
3553 (python-skeleton-available): New vars.
3554 (def-python-skeleton): Delete macro.
3555 (python-skeleton-define): New macro.
3556 (python-define-auxiliary-skeleton, python-rx): New macros.
3557 (python-insert-class): Delete command.
3558 (python-skeleton-class): New command.
3559 (python-insert-def): Delete command.
3560 (python-skeleton-def): New command.
3561 (python-insert-for): Delete command.
3562 (python-skeleton-for): New command.
3563 (python-insert-if): Delete command.
3564 (python-skeleton-if): New command.
3565 (python-insert-try/except, python-insert-try/finally): Delete commands.
3566 (python-skeleton-try): New command.
3567 (python-insert-while): Delete command.
3568 (python-skeleton-while): New command.
3569 (python-backspace): Delete command.
3570 (python-indent-dedent-line-backspace): New command.
3571 (python-electric-colon): Delete command.
3572 (python-indent-electric-colon): New command.
3573 (python-guess-indent): Delete command.
3574 (python-indent-guess-indent-offset): New command.
3575 (python-shift-left): Delete command.
3576 (python-indent-shift-left): New command.
3577 (python-shift-right): Delete command.
3578 (python-indent-shift-right): New command.
3579 (python-find-function): Delete command.
3580 (python-nav-jump-to-defun): New command.
3581 (python-next-statement): Delete command.
3582 (python-nav-forward-sentence): New command.
3583 (python-previous-statement): Delete command.
3584 (python-nav-backward-sentence): New command.
3585 (python-fill-paragraph): Delete command.
3586 (python-fill-paragraph-function): New command.
3587 (python-send-buffer): Delete command.
3588 (python-shell-send-buffer): New command.
3589 (python-send-defun): Delete command.
3590 (python-shell-send-defun): New command.
3591 (python-send-region, python-send-region-and-go): Delete commands.
3592 (python-shell-send-region)
3593 (python-shell-switch-to-shell): New commands.
3594 (python-send-string): Delete command.
3595 (python-shell-send-string): New command.
3596 (python-switch-to-python): Delete command.
3597 (python-shell-switch-to-shell): New command.
3598 (python-describe-symbol): Delete command.
3599 (python-eldoc-at-point): New command.
3600 (python--set-prompt-regexp, python-args-to-list)
3601 (python-after-info-look, python-check-version)
3602 (python-check-comint-prompt, python-find-imports)
3603 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3604 (python-unload-function, python-expand-template)
3605 (python-maybe-jython, python-preoutput-filter)
3606 (python-pdbtrack-get-source-buffer)
3607 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3608 (python-pdbtrack-toggle-stack-tracking)
3609 (python-pdbtrack-track-stack-file, python-initial-text)
3610 (python-first-word, python-comment-line-p, python-send-command)
3611 (python-setup-brm, python-sentinel, python-set-proc)
3612 (python-skip-out, python-input-filter, python-outdent-p)
3613 (python-outline-level, python-backslash-continuation-line-p)
3614 (python-end-of-block, python-end-of-statement, python-mark-block)
3615 (python-beginning-of-block, python-beginning-of-statement)
3616 (python-blank-line-p, python-beginning-of-string)
3617 (python-open-block-statement-p): Delete functions.
3618 (python-indent-line, python-indent-line-1): Delete functions.
3619 (python-indent-line): New function.
3620 (python-indentation-levels): Delete function.
3621 (python-indent-calculate-levels): New function.
3622 (python-proc): Delete function.
3623 (python-shell-get-process): New function.
3624 (python-send-receive): Delete function.
3625 (python-shell-send-string-no-output): New function.
3626 (python-module-path): Delete function.
3627 (python-ffap-module-path): New function.
3628 (python-completion-at-point)
3629 (python-symbol-completions): Delete functions.
3630 (python-completion-complete-at-point): New function.
3631 (python-load-file): Delete function.
3632 (python-shell-send-file): New function.
3633 (python-calculate-indentation): Delete function.
3634 (python-indent-calculate-indentation): New function.
3635 (python-skip-comments/blanks): Delete function.
3636 (python-util-forward-comment): New function.
3637 (python-continuation-line-p): Delete function.
3638 (python-info-continuation-line-p): New function.
3639 (python-which-func, python-current-defun): Delete function.
3640 (python-info-current-defun): New function.
3641 (python-beginning-of-defun): Delete function.
3642 (python-nav-beginning-of-defun): New function.
3643 (python-close-block-statement-p)
3644 (python-block-end-p): Delete function.
3645 (python-info-closing-block): New function.
3646 (python-comint-output-filter-function)
3647 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3648 (python-fill-comment, python-fill-decorator, python-fill-paren)
3649 (python-fill-string, python-imenu-make-element-tree)
3650 (python-imenu-make-tree, python-imenu-tree-assoc)
3651 (python-indent-context, python-indent-dedent-line)
3652 (python-indent-line-function)
3653 (python-indent-post-self-insert-function)
3654 (python-indent-toggle-levels)
3655 (python-info-assignment-continuation-line-p)
3656 (python-info-beginning-of-backlash)
3657 (python-info-block-continuation-line-p)
3658 (python-info-closing-block-message)
3659 (python-info-line-ends-backslash-p)
3660 (python-info-looking-at-beginning-of-defun)
3661 (python-info-ppss-context, python-info-ppss-context-type)
3662 (python-nav-list-defun-positions, python-nav-read-defun)
3663 (python-nav-sentence-end, python-nav-sentence-start)
3664 (python-pdbtrack-comint-output-filter-function)
3665 (python-pdbtrack-set-tracked-buffer)
3666 (python-shell-calculate-exec-path)
3667 (python-shell-calculate-process-environment)
3668 (python-shell-completion--do-completion-at-point)
3669 (python-shell-completion--get-completions)
3670 (python-shell-completion-complete-at-point)
3671 (python-shell-completion-complete-or-indent)
3672 (python-shell-get-or-create-process)
3673 (python-shell-get-process-name)
3674 (python-shell-internal-get-or-create-process)
3675 (python-shell-internal-get-process-name)
3676 (python-shell-internal-send-string, python-shell-make-comint)
3677 (python-shell-parse-command, python-shell-send-setup-code)
3678 (python-skeleton-add-menu-items)
3679 (python-util-clone-local-variables, python-util-position)
3680 (run-python-internal, python-indentation-levels)
3681 (python-nav-beginning-of-defun)
3682 (python-completion-complete-at-point): New functions.
3683 (run-python): Change arguments. New API requirements.
3684
4302f5ba
SM
36852012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3686
f38ea36d
SM
3687 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3688 (bug#11649).
3689
3690 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3691 (macroexp--expand-all): Use it.
3692
4302f5ba
SM
3693 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3694 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3695 Use `cl-function' instead.
3696
33377562
JB
36972012-06-14 Juanma Barranquero <lekktu@gmail.com>
3698
3699 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3700 Suggested by Stefan Monnier while discussing bug#11657.
3701
54c5ba1a
SS
37022012-06-14 Sam Steingold <sds@gnu.org>
3703
3704 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3705
f9f1b1fe
AS
37062012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3707
3708 * play/doctor.el (doctor-doc): Remove parameter and use
3709 doctor-sent instead of sent.
3710 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3711
a81068ba
SM
37122012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3713
5a315f9c
SM
3714 * files.el: Require cl-lib.
3715 (file-name-non-special): Replace case -> cl-case.
3716
3717 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3718
a81068ba
SM
3719 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3720 mapping from #' to function*.
3721
8cca9703
CY
37222012-06-13 Chong Yidong <cyd@gnu.org>
3723
3724 * mouse.el (mouse-drag-track): Do not set the mark if the user
3725 releases the mouse without selecting anything (Bug#11588).
3726
a12ac9d7
SM
37272012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3728
ccf1dc18
SM
3729 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3730 as well (bug#11646).
3731
ef62b23d
SM
3732 * loadup.el: Count byte-code functions as well.
3733
c4c8444a
SM
3734 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3735 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3736
a12ac9d7
SM
3737 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3738 (bug#11649). Add cl-defun and cl-defmacro.
3739
87e6e64f
DA
37402012-06-13 Drew Adams <drew.adams@oracle.com>
3741
3742 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3743 Fix last change.
3744
682cefaf
MA
37452012-06-13 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3748 Otherwise, it blocks in batch mode.
3749
773e1f08
JB
37502012-06-13 Juanma Barranquero <lekktu@gmail.com>
3751
3752 * help-mode.el (bookmark-make-record-default): Declare.
3753
60057926
CY
37542012-06-13 Chong Yidong <cyd@gnu.org>
3755
3756 * emacs-lisp/package.el (list-packages): Compute a list of
3757 packages that are newly-available since the last list-packages
3758 invocation.
3759 (package-menu--new-package-list): New var.
3760 (package-menu--generate, package-menu--print-info)
3761 (package-menu--status-predicate, package-menu-mark-install):
3762 Handle new status label "new".
3763
ad4d226c
SM
37642012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3767 conversion to backquotes.
3768
f1a4e679
CY
37692012-06-12 Chong Yidong <cyd@gnu.org>
3770
3771 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3772 Rename from gud-inhibit-global-bindings.
3773
3774 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3775
3776 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3777 hook from nxml-glyph-set-hook.
3778
3779 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3780 declaration.
3781
3782 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3783
3784 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3785 Convert to defcustom.
3786
0c9e42b5
DA
37872012-06-12 Drew Adams <drew.adams@oracle.com>
3788
3789 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3790 New functions.
3791 (help-mode): Use them.
3792
09e06855
GM
37932012-06-11 Glenn Morris <rgm@gnu.org>
3794
3795 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3796 Use preprocessor face for directives.
3797 (fortran-directive-re): Doc fix.
3798
71adb94b
SM
37992012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3800
2eb87922
SM
3801 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3802 conversion to backquotes (bug#11652).
3803
71adb94b
SM
3804 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3805 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3806 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3807 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3808 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3809 (cl-ninth, cl-tenth): Mark them as inlinable.
3810 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3811 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3812 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3813 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3814 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3815 (cl-list*, cl-adjoin): Don't put an autoload manually.
3816 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3817 (cl--compiler-macro-list*): Add autoload cookie.
3818 (cl--compiler-macro-cXXr): New function.
2eb87922 3819
71adb94b
SM
3820 * help-fns.el (help-fns--compiler-macro): New function extracted from
3821 describe-function-1; follow aliases and use `compiler-macro' property.
3822 (describe-function-1): Use it.
3823
a6674402
CY
38242012-06-11 Chong Yidong <cyd@gnu.org>
3825
3826 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3827 is uninstalled, if imagemagick is installed.
3828
bb3faf5b
SM
38292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * emacs-lisp/cl-lib.el: Use lexical-binding.
3832 (cl-map-extents, cl-maclisp-member): Remove.
3833 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3834 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3835 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3836 * emacs-lisp/cl-extra.el: Use lexical-binding.
3837 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3838 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3839 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3840 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3841 * emacs-lisp/cl-seq.el: Use lexical-binding.
3842 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3843 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3844 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3845 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3846 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3847 CL's internals.
3848
2fe4b125
MA
38492012-06-11 Michael Albinus <michael.albinus@gmx.de>
3850
3851 Sync with Tramp 2.2.6-pre.
3852
3853 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3854 `print-length' and `print-level' to nil, in order to avoid
3855 truncation. Reported by Christopher Schmidt
3856 <christopher@ristopher.com>.
3857
3858 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3859
3860 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3861 New defmacro.
3862 (tramp-compat-copy-directory): Add optional argument
3863 COPY-CONTENTS. It is not handled yet.
3864
3865 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3866 (tramp-ftp-file-name-p): Simplify.
3867
3868 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3869 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3870 connection vector.
3871
3872 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3873 (tramp-methods): Do not use `tramp-password-end-of-line'.
3874 (tramp-completion-function-alist-putty): Handle UNIX case.
3875 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3876 (tramp-do-file-attributes-with-stat)
3877 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3878 gid as real numbers. They could run out of integer range on cygwin.
3879 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3880 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3881 (tramp-open-connection-setup-interactive-shell):
3882 Use `tramp-cleanup'. Move check for busyboxes ...
3883 (tramp-find-shell): ... here. Simplify implementation.
3884 Set "remote-shell" property also for alternative shells.
3885 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3886 If failing, a regular file would be written otherwise.
3887 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3888 (tramp-find-inline-encoding): Cache the coding commands in the
3889 process cache. Apply test command on the remote side, if defined.
3890 (tramp-find-inline-compress): Cache the compress commands in the
3891 process cache.
3892 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3893 when requested. Handle hops.
3894 (tramp-current-connection): New defvar.
87e6e64f
DA
3895 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3896 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3897 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3898 (tramp-get-inline-compress, tramp-get-inline-coding):
3899 Read connection properties from the process cache.
2fe4b125
MA
3900
3901 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3902 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3903 New defconsts.
2fe4b125
MA
3904 (tramp-smb-prompt): Extend for powershell prompt.
3905 (tramp-smb-file-name-handler-alist): Add handlers for
3906 `process-file', `shell-command' and `start-file-process'.
3907 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3908 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3909 (tramp-smb-file-name-p): Simplify.
3910 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3911 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3912 (tramp-smb-shell-quote-argument): New defuns.
3913 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3914 Implement using "tar". By this, time-stamps are preserved.
3915 (tramp-smb-handle-copy-file): Handle also the case of directories.
3916 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3917 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3918 Use `tramp-get-connection-buffer').
2fe4b125
MA
3919 (tramp-smb-handle-rename-file): Use "rename", when source and
3920 target are on the same share.
87e6e64f
DA
3921 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3922 Use `tramp-smb-server-version'.
2fe4b125
MA
3923 (tramp-smb-wait-for-output): Remove prompt.
3924
3925 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3926 (tramp-methods, tramp-rsh-end-of-line):
3927 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3928 (tramp-save-ad-hoc-proxies): New defcustom.
3929 (tramp-completion-function-alist): Adapt docstring.
3930 (tramp-default-password-end-of-line): Remove defcustom.
3931 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3932 (tramp-user-regexp, tramp-file-name-regexp-unified)
3933 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3934 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3935 (tramp-remote-file-name-spec-regexp): New defconst.
3936 (tramp-file-name-structure): Extend structure for hops.
3937 (tramp-get-method-parameter): Move up.
3938 (tramp-file-name-p, tramp-dissect-file-name)
3939 (with-parsed-tramp-file-name): Handle hops.
3940 (tramp-file-name-hop): New defun.
3941 (tramp-make-tramp-file-name): New optional arg HOP.
3942 (tramp-message-show-progress-reporter-message): New defvar.
3943 (tramp-with-progress-reporter): Use it. We cannot use
3944 `tramp-message-show-message' here, because this suppresses also
3945 error buffers.
3946 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3947 `tramp-message-show-message' is nil.
3948 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3949 (tramp-cleanup): New defun.
3950 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3951 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3952 an error unchanged.
3953 (tramp-completion-handle-file-name-all-completions): Handle hops.
3954 Fix an error when called from ido.
3955 (tramp-completion-dissect-file-name): Use better local variable
3956 name. Add hop to the vector.
3957 (tramp-handle-insert-file-contents): Use progress-reporter for the
3958 whole scenario.
3959 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3960 to `t'.
3961 (tramp-check-for-regexp): Simplify search.
3962 (tramp-enter-password): Remove it. Move implementation ...
3963 (tramp-action-password): ... here.
3964 (tramp-mode-string-to-int, tramp-local-host-p)
3965 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3966 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3967 Set tramp-autoload cookie.
2fe4b125
MA
3968
3969 * net/trampver.el: Update release number.
3970
39712012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3972 Michael Albinus <michael.albinus@gmx.de>
3973
3974 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3975 (tramp-parse-group, tramp-parse-file)
3976 (tramp-parse-shostkeys-sknownhosts): New defuns.
3977 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3978 (tramp-parse-shosts-group, tramp-parse-sconfig)
3979 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3980 (tramp-parse-sknownhosts, tramp-parse-hosts)
3981 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3982 Use them.
3983 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3984 (tramp-parse-putty-group): Don't narrow.
3985 (tramp-parse-putty): Make a loop.
3986 (tramp-file-name-handler): Catch the `suppress' signal.
3987
72834e10
CY
39882012-06-11 Chong Yidong <cyd@gnu.org>
3989
3990 * image.el (imagemagick-register-types): Put the ImageMagick entry
3991 at the end of image-type-file-name-regexps.
3992
a4712e11
JB
39932012-06-11 Johan Bockgård <bojohan@gnu.org>
3994
3995 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3996 (pcase, pcase-let*, pcase-dolist): Use them.
3997
82ad98e3
SM
39982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * emacs-lisp/pcase.el (pcase--let*): New function.
4001 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4002 (pcase--expand): Use macroexp-let².
4003
f80efb86
SM
40042012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4007 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4008 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4009 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4010 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4011 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4012
31ca4639 40132012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4014
31ca4639
CY
4015 * mail/rmail.el (rmail-yank-current-message): Leave point at
4016 correct position. (Bug#11660)
94f0aa34 4017
31ca4639 40182012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4019
31ca4639 4020 * allout-widgets.el: Fix code header.
9e1b8ec4 4021
31ca4639 40222012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4023
f80efb86
SM
4024 * cus-edit.el (customize-changed-options-previous-release):
4025 Bump to 24.1.
31ca4639 4026
642b6d30
AS
40272012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4028
4029 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4030
4f5d2ba1
CY
40312012-06-09 Chong Yidong <cyd@gnu.org>
4032
4033 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4034
e75852fd
MR
40352012-06-09 Martin Rudalics <rudalics@gmx.at>
4036
4037 * window.el (special-display-popup-frame): Don't use
4038 window--display-buffer (Bug#11651).
4039
1e48e282
EZ
40402012-06-09 Eli Zaretskii <eliz@gnu.org>
4041
8a26b487
EZ
4042 Fix parallel builds: make sure loaddefs.el is not being written
4043 while Lisp files are compiled.
4044 (compile): Don't depend on 'mh-autoloads'.
4045 (compile-CMD, compile-SH): Depend on 'autoloads'.
4046 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4047
1e48e282
EZ
4048 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4049
6175e34b
CY
40502012-06-09 Chong Yidong <cyd@gnu.org>
4051
4052 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4053 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4054 Doc fixes (Bug#11225).
4055
d9857e53
SM
40562012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4059 a function if there's a clear indication that it has a compiler-macro.
4060 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4061 (macro-declarations-alist): Add arglist to declaration functions.
4062 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4063 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4064 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4065 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4066 Also add autoload to find the compiler macro.
4067 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4068 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4069 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4070 (cl--compiler-macro-get): New functions, replacing calls to
4071 cl-define-compiler-macro.
4072 (cl-typep) [compiler-macro]: Use macroexp-let².
4073
f81298f8 40742012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4075
4076 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4077 string properly, fixes Bug#11473.
4078
4b56d0fe
CY
40792012-06-08 Chong Yidong <cyd@gnu.org>
4080
4081 * faces.el (set-face-attribute): Doc fix.
4082 (modify-face): Don't use :bold and :italic.
4083 (error, warning, success): Tweak definitions.
4084
4085 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4086 (custom-modified, custom-set, custom-changed, custom-themed)
4087 (custom-saved, custom-button, custom-button-mouse)
4088 (custom-button-pressed, custom-state, custom-comment-tag)
4089 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4090 (custom-group-subtitle): Use new-style face specs.
4091 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4092 (custom-set-face, custom-changed-face, custom-saved-face)
4093 (custom-button-face, custom-button-pressed-face)
4094 (custom-documentation-face, custom-state-face)
4095 (custom-comment-face, custom-comment-tag-face)
4096 (custom-variable-tag-face, custom-variable-button-face)
4097 (custom-face-tag-face, custom-group-tag-face-1)
4098 (custom-group-tag-face): Remove obsolete face alias.
4099
4100 * epa.el (epa-validity-high, epa-validity-medium)
4101 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4102 (epa-field-name, epa-field-body):
4103 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4104 (font-lock-keyword-face, font-lock-builtin-face)
4105 (font-lock-function-name-face, font-lock-variable-name-face)
4106 (font-lock-type-face, font-lock-constant-face):
4107 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4108 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4109 * speedbar.el (speedbar-button-face, speedbar-file-face)
4110 (speedbar-directory-face, speedbar-tag-face)
4111 (speedbar-selected-face, speedbar-highlight-face)
4112 (speedbar-separator-face):
4113 * whitespace.el (whitespace-newline, whitespace-space)
4114 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4115 (whitespace-line, whitespace-space-before-tab)
4116 (whitespace-space-after-tab, whitespace-indentation)
4117 (whitespace-empty):
4118 * emulation/cua-base.el (cua-global-mark):
4119 * eshell/em-prompt.el (eshell-prompt):
4120 * net/newst-plainview.el (newsticker-new-item-face)
4121 (newsticker-old-item-face, newsticker-immortal-item-face)
4122 (newsticker-obsolete-item-face, newsticker-date-face)
4123 (newsticker-statistics-face, newsticker-default-face):
4124 * net/newst-reader.el (newsticker-feed-face)
4125 (newsticker-extra-face, newsticker-enclosure-face):
4126 * net/newst-treeview.el (newsticker-treeview-face)
4127 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4128 (newsticker-treeview-immortal-face)
4129 (newsticker-treeview-obsolete-face)
4130 (newsticker-treeview-selection-face):
4131 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4132 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4133 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4134 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4135 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4136 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4137 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4138 (mpuz-text):
4139 * progmodes/vera-mode.el (vera-font-lock-number)
4140 (vera-font-lock-function, vera-font-lock-interface):
4141 * textmodes/table.el (table-cell): Use new-style face specs, and
4142 don't use the old :bold and :italic attributes.
4143
4144 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4145 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4146 (ebrowse-member-class, ebrowse-progress): Likewise.
4147 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4148 (ebrowse-file-name-face, ebrowse-default-face)
4149 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4150 (ebrowse-progress-face): Remove obsolete faces.
4151
4152 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4153 Inherit from error and warning faces respectively.
4154
4155 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4156 Likewise.
f80efb86
SM
4157 (flyspell-incorrect-face, flyspell-duplicate-face):
4158 Remove obsolete aliases.
4b56d0fe 4159
03310646
MA
41602012-06-08 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4163 Avoid infloop.
4164
513749ee
SM
41652012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * startup.el (argv, argi): Make lexically scoped.
4168 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4169 * emacs-lisp/cl-macs.el: Use lexical-binding.
4170 Rename cl-bind-* to cl--bind-*.
4171 * files.el: Don't require `cl' since it doesn't use it.
4172 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4173
595ef4ad
JB
41742012-06-08 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4177 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4178 instead of calling external sort utility.
4179 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4180
e9f66fcb
EZ
41812012-06-08 Eli Zaretskii <eliz@gnu.org>
4182
4183 * descr-text.el (describe-char): Mention how to insert the
4184 character, if the current input method doesn't support it.
4185 See the discussion in this thread for the details:
4186 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4187
3d10db47
SS
41882012-06-08 Sam Steingold <sds@gnu.org>
4189
4190 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4191 XF86Back to previous-buffer.
4192 (minibuffer-local-map): Bind them to next-history-element and
4193 previous-history-element respectively.
4194 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4195 help-go-back respectively.
4196 * info.el (Info-mode-map): Bind them to Info-history-forward and
4197 Info-history-back respectively.
4198 These are the keys next to Up on the ThinkPad keyboard.
4199
de7e2b36
SM
42002012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4203 * emacs-lisp/cl-macs.el: Provide itself.
4204 (cl--labels-convert-cache): New var.
4205 (cl--labels-convert): New function.
4206 (cl-flet, cl-labels): New implementation with new semantics, relying on
4207 lexical-binding.
4208 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4209 (cl-closure-vars, cl--function-convert-cache)
4210 (cl--function-convert): Move from cl-macs.el.
4211 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4212 rename by removing the "cl-" prefix.
4213 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4214
6fa6c4ae
SM
42152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4218 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4219 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4220 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4221 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4222 (cl-hash-table-count): Add old compatibility aliases.
4223
4224 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4225 Use macroexpand-all-environment instead.
4226 (cl--old-macroexpand): New var.
4227 (cl--sm-macroexpand): New function.
4228 (cl-symbol-macrolet): Use it during macro expansion.
4229 (cl--function-convert-cache): New var.
4230 (cl--function-convert): New function, extracted from
4231 cl-macroexpand-all.
4232 (cl-lexical-let): Use it.
4233
4234 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4235 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4236 (cl-member): Remove old alias.
4237
4238 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4239 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4240 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4241 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4242 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4243 (cl-macroexpand-cmacs): Remove var.
4244 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4245 Use macroexpand-all instead.
4246
4dd1c416
SM
42472012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4250 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4251 (macroexp-copyable-p): New functions and macros.
4252 * emacs-lisp/edebug.el (edebug-unwrap):
4253 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4254 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4255 (pcase--let*): Remove.
4256 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4257 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4258 macroexp-const-p instead.
4259 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4260
4261 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4262 instead of "cl-" for internal definitions. Use macroexp-const-p.
4263 (cl-old-bc-file-form): Remove var.
4264 (cl-const-exprs-p): Remove fun.
4265 (cl-labels, cl-macrolet): Use backquote.
4266 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4267 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4268 (cl-define-setf-expander): Rename from cl-define-setf-method.
4269 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4270
4271 * international/mule-cmds.el: Don't require CL.
4272 (view-hello-file): Don't use `letf'.
4273
ed8bd4d7
SM
42742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4275
7287f2f3
SM
4276 * tmm.el (tmm-prompt): Use string-prefix-p.
4277 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4278 (tmm-add-prompt): Use minibuffer-completion-help.
4279 (tmm-delete-map): Remove.
4280
ed8bd4d7
SM
4281 * subr.el (kbd): Make it its own function.
4282
7b4cdbf4
SM
42832012-06-07 Stefan Merten <smerten@oekonux.de>
4284
4285 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4286 Silence compiler warnings. Fix versions.
ed8bd4d7 4287 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4288 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4289 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4290 (rst-package-emacs-version-alist): Correct Emacs version to
4291 represent major merge with upstream.
ed8bd4d7 4292 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4293
2b48d721
GM
42942012-06-06 Glenn Morris <rgm@gnu.org>
4295
4296 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4297 Only print environment variables if set.
4298
fa779ab0
SM
42992012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4302 (macroexp--cons): Rename from maybe-cons.
4303 (macroexp--accumulate): Rename from macroexp-accumulate.
4304 (macroexp--all-forms): Rename from macroexpand-all-forms.
4305 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4306 (macroexp--expand-all): Rename from macroexpand-all-1.
4307
628299e0
SS
43082012-06-06 Sam Steingold <sds@gnu.org>
4309
4310 * calendar/calendar.el (calendar-in-read-only-buffer):
4311 Call `special-mode' to enable the standard read-only keybindings.
4312
b7bb5838
SM
43132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4316 with "loading" messages (bug#11635).
4317
dfb308ba
MA
43182012-06-06 Michael Albinus <michael.albinus@gmx.de>
4319
4320 * files.el (enable-remote-dir-locals): New option.
4321 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4322
0372ee92
MA
4323 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4324 Ensure, that the temp directory is local.
4325
4326 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4327 `temporary-file-directory'.
4328
eed0bb91
MA
4329 * progmodes/python.el (python-send-region): Ensure, that the
4330 temporary file is created also in the remote case.
4331
7a58f64d
GM
43322012-06-06 Glenn Morris <rgm@gnu.org>
4333
f7dd4e98
GM
4334 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4335 (vc-rcs-update-changelog): Use it.
4336
090bd7cb 4337 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4338
7a58f64d
GM
4339 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4340 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4341 (vc-sccs-diff): Replace use of the external vcdiff script.
4342
daed4003
GM
43432012-06-05 Glenn Morris <rgm@gnu.org>
4344
4345 * ledit.el: Move to obsolete/.
4346
48c455c7
SS
43472012-06-05 Sam Steingold <sds@gnu.org>
4348
ed9265fc 4349 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4350 patch (Bug#11140).
4351
57a7d507
SM
43522012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4353
090bd7cb 4354 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4355
53aacf21
SM
4356 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4357 compiler-macro expansion.
4358
57a7d507
SM
4359 Add native compiler-macro support.
4360 * emacs-lisp/macroexp.el (macroexpand-all-1):
4361 Support compiler-macros directly. Properly follow aliases and apply
4362 the compiler macros more thoroughly.
4363 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4364 macroexpand now properly follows aliases.
4365 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4366 (cl-compiler-macroexpand): Use new prop.
4367 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4368
4369 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4370
51a5f9d8
MR
43712012-06-05 Martin Rudalics <rudalics@gmx.at>
4372
4373 * window.el (get-lru-window, get-mru-window, get-largest-window):
4374 New argument NOT-SELECTED to avoid picking the selected window.
4375 (window--display-buffer-1, window--display-buffer-2): Replace by
4376 new function window--display-buffer
4377 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4378 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4379 Use window--display-buffer.
51a5f9d8
MR
4380 (display-buffer-use-some-window): Remove temporary dedication
4381 hack by calling get-lru-window and get-largest-window with
4382 NOT-SELECTED argument non-nil. Call window--display-buffer.
4383
08f9f738
GM
43842012-06-05 Glenn Morris <rgm@gnu.org>
4385
4386 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4387 Replace external vcdiff script.
4388
e364a2b7
SM
43892012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4392
041df390
CY
43932012-06-04 Chong Yidong <cyd@gnu.org>
4394
e364a2b7
SM
4395 * image.el (imagemagick-types-inhibit): Revert last change.
4396 Add INFO and M.
47b36b94 4397 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4398
7c1898a7
SM
43992012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/cl-lib.el: Rename from cl.el.
4402 * emacs-lisp/cl.el: New compatibility file.
4403 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4404 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4405 to obey the "cl-" prefix.
4406 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4407
0c3461de
GM
44082012-06-03 Glenn Morris <rgm@gnu.org>
4409
1e266c88
GM
4410 * emacs-lisp/authors.el (authors-aliases): Addition.
4411
0c3461de
GM
4412 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4413 Fix :version.
4414
d8a52e15
SM
44152012-06-03 Stefan Merten <smerten@oekonux.de>
4416
4417 * textmodes/rst.el: Add comments.
4418 (rst-transition, rst-adornment): New faces.
4419 (rst-adornment-faces-alist): Make default safe to reevaluate.
4420 Fixes
4421 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4422 Improve customization tags.
4423 (rst-define-level-faces): Clarify meaning.
4424
5205d6f6
CY
44252012-06-03 Chong Yidong <cyd@gnu.org>
4426
4427 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4428 (compilation-mode-line-run, compilation-mode-line-exit):
4429 New faces.
5205d6f6
CY
4430 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4431
757ee657
JD
44322012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4433
7c1898a7
SM
4434 * progmodes/which-func.el (which-func-update-ediff-windows):
4435 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4436
5f2c76c6
CY
44372012-06-03 Chong Yidong <cyd@gnu.org>
4438
4439 * bindings.el: Remove explicit help text from format-mode-line.
4440 It is now supplied by mode-line-default-help-echo.
4441 (mode-line-front-space, mode-line-end-spaces)
4442 (mode-line-misc-info): New variables.
4443 (mode-line-modes, mode-line-position): Move the default value to
4444 the variable definition.
4445 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4446 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4447 (mode-line-modified-help-echo): New functions.
4448 (mode-line-mule-info, mode-line-modified): Use them.
4449 (mode-line-eol-desc, propertized-buffer-identification):
4450 Consistency fixes for help text.
cbe46e5f
CY
4451 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4452 set-buffer-file-coding-system (Bug#289).
4453 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4454
f2d6a3df
SM
44552012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * simple.el (execute-extended-command): Set real-this-command
4458 (bug#11506).
4459
37269466
CY
44602012-06-02 Chong Yidong <cyd@gnu.org>
4461
4462 Remove incorrect uses of "modeline" in comments, docstrings, and
4463 function/variable names (Bug#10329).
4464
4465 * cus-edit.el (mode-line):
4466 * dframe.el (dframe-mouse-hscroll):
4467 * emacs-lisp/re-builder.el:
4468 * emacs-lisp/easy-mmode.el (define-minor-mode):
4469 * frame.el (set-frame-name):
4470 * help.el (lookup-minor-mode-from-indicator):
4471 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4472 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4473 (c-toggle-hungry-state):
4474 * progmodes/antlr-mode.el (antlr-language-alist):
4475 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4476 * progmodes/vhdl-mode.el (vhdl-mode):
4477 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4478 * term/ns-win.el (ns-face-at-pos):
4479 * term/sup-mouse.el (sup-mouse-report):
4480 * textmodes/flyspell.el (flyspell-mode-line-string):
4481 * textmodes/ispell.el (ispell-highlight-face):
4482 * textmodes/reftex-global.el:
4483 * vc/vc-arch.el (vc-arch-mode-line-string):
4484 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4485 * vc/vc-git.el (vc-git-mode-line-string):
4486 * vc/vc-hooks.el (vc-display-status)
4487 (vc-default-mode-line-string):
4488 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4489
4490 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4491
4492 * dired.el (dired-sort-set-mode-line): Rename from
4493 dired-sort-set-modeline. All callers changed.
4494
4495 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4496 eshell-status-in-modeline.
4497
4498 * foldout.el (foldout-mode-line-string): Rename from
4499 foldout-modeline-string. All callers changed.
4500 (foldout-update-mode-line): Rename from foldout-update-modeline.
4501
4502 * subr.el (redraw-modeline): Make into obsolete alias.
4503
4504 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4505 timeclock-modeline-display. Make old name an alias.
4506 (timeclock-update-mode-line): Likewise. All callers changed.
4507 (timeclock-mode-line-display): No need to check before using
4508 add-hook.
4509 (timeclock-relative, timeclock-day-over-hook)
4510 (timeclock-use-elapsed, timeclock-mode-string)
4511 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4512
4513 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4514 crisp-mode-modeline-string.
4515
4516 * play/solitaire.el (solitaire-build-mode-line): Rename from
4517 solitaire-build-modeline. All callers changed.
4518
4519 * play/zone.el (zone-hiding-mode-line): Rename from
4520 zone-hiding-modeline. All callers changed.
4521 (zone): Remove unusued `modeline-hidden-level' property.
4522
4523 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4524 xscheme-modeline-initialize. All callers changed.
4525
4526 * strokes.el (strokes-lighter): Rename from
4527 strokes-modeline-string.
4528
4529 * textmodes/sgml-mode.el (html-face-tag-alist)
4530 (html-tag-face-alist): Use mode-line face instead of obsolete
4531 alias modeline.
4532
42152ee4
SM
45332012-06-02 Stefan Merten <smerten@oekonux.de>
4534
4535 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4536 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4537
95f520b5
CY
45382012-06-02 Chong Yidong <cyd@gnu.org>
4539
4540 * image.el (imagemagick-enabled-types): Rename from
4541 imagemagick-types-enable. Add many more types.
4542 (imagemagick-types-inhibit): Change default to nil.
4543 (imagemagick-filter-types): Caller changed.
4544
4a5f187a
SM
45452012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4546
03fef3e6
SM
4547 * emacs-lisp/cl-macs.el: Use backquotes.
4548 (cl-transform-function-property): Use eval-and-compile rather than
4549 abusing `require'.
4550 (defstruct): Use declare-function instead of with-no-warnings.
4551
4a5f187a
SM
4552 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4553 (byte-compile-output-docform): Re-add the print-circle bindings.
4554 (byte-compile-fix-header): Use #$ just because it's shorter.
4555 (byte-compile-output-file-form): Remove defun/defmacro.
4556
bd56924f
MR
45572012-06-01 Martin Rudalics <rudalics@gmx.at>
4558
4559 * simple.el (choose-completion): Remove now obsolete binding for
4560 owindow.
4561
046e38ce
MA
45622012-06-01 Michael Albinus <michael.albinus@gmx.de>
4563
4564 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4565 in order to avoid "Stack overflow in regexp matcher".
4566
32d72c2f
GM
45672012-05-31 Glenn Morris <rgm@gnu.org>
4568
4569 * image.el: For clarity, call imagemagick-register-types at
4570 top-level, rather than relying on a custom :initialize.
4571 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4572 (imagemagick-filter-types): New function. (Bug#7406)
4573 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4574 If disabling support, remove elements altogether rather
4575 than using an impossible regexp.
4576 (imagemagick-types-inhibit): Give it the default init function.
4577
dd41169b
SM
45782012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4a5f187a
SM
4580 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4581 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4582
efc00ab1 45832012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4584
4585 * desktop.el (desktop-read): Clear previous and next buffers for
4586 all windows and bury *Messages* buffer (bug#11556).
4587
500fcedc
SM
45882012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 Add `declare' for `defun'. Align `defmacro's with it.
4591 * emacs-lisp/easy-mmode.el (define-minor-mode)
4592 (define-globalized-minor-mode): Don't autoload the var definitions.
4593 * emacs-lisp/byte-run.el: Use lexical-binding.
4594 (defun-declarations-alist, macro-declarations-alist): New vars.
4595 (defmacro, defun): Use them.
4596 (make-obsolete, define-obsolete-function-alias)
4597 (make-obsolete-variable, define-obsolete-variable-alias):
4598 Use `declare'.
4599 (macro-declaration-function): Mark obsolete.
4600 * emacs-lisp/autoload.el: Use lexical-binding.
4601 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4602
6e8a1786
AM
46032012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4604
4605 * textmodes/ispell.el (ispell-with-no-warnings):
4606 Define as a macro.
500fcedc
SM
4607 (ispell-kill-ispell, ispell-change-dictionary):
4608 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4609 `interactive-p'.
4610
61b108cc
SM
46112012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4614 (macro-declaration-function): Move var from C code.
4615 (macro-declaration-function): Define function with defalias.
4616 * emacs-lisp/macroexp.el (macroexpand-all-1):
4617 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4618 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4619 defun/defmacro any more.
4620 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4621 Provide fallback for unknown arglist.
4622 (byte-compile-arglist-warn): Change calling convention.
4623 (byte-compile-output-file-form): Move print-vars binding.
4624 (byte-compile-output-docform): Simplify accordingly.
4625 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4626 (byte-compile-defmacro-declaration): Remove.
4627 (byte-compile-file-form-defmumble): Generalize to defalias.
4628 (byte-compile-output-as-comment): Return byte-positions.
4629 Simplify callers accordingly.
4630 (byte-compile-lambda): Use `assert'.
4631 (byte-compile-defun, byte-compile-defmacro): Remove.
4632 (byte-compile-file-form-defalias):
4633 Use byte-compile-file-form-defmumble.
4634 (byte-compile-defalias-warn): Remove.
4635
6d3f7c2f
SM
46362012-05-29 Stefan Merten <smerten@oekonux.de>
4637
4638 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4639 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4640
4641 (rst-mode-abbrev-table): Merge definition.
4642 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4643 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4644
6dbaa1c7
UJ
46452012-05-29 Ulf Jasper <ulf.jasper@web.de>
4646
4647 * calendar/icalendar.el
4648 (icalendar-export-region): Export UID properly.
4649
d209e2fb 46502012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4651 * calendar/icalendar.el (icalendar-import-format):
4652 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4653 (icalendar-import-format-uid): New.
4654 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4655 Export UID.
4656
6876a58d
SM
46572012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4660 different alternative patterns.
4661 (pcase-codegen): Be more careful to preserve identity.
4662 (pcase--u1): Don't forget to mark vars as used.
4663
4664 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4665 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4666 (byte-compile-from-buffer): ...rather than here.
4667
4668 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4669 functions from byte-compile-function-environment.
4670
46b7967e
TN
46712012-05-29 Troels Nielsen <bn.troels@gmail.com>
4672
4673 * window.el (window-deletable-p): Avoid deleting the root window
4674 of a frame with an active minibuffer.
4675
69d565e2
MR
46762012-05-29 Martin Rudalics <rudalics@gmx.at>
4677
4678 * simple.el (choose-completion): Use quit-window (Bug#11567).
4679
a149fa51
CY
46802012-05-29 Chong Yidong <cyd@gnu.org>
4681
4682 * whitespace.el (whitespace-cleanup): Fix usage of
4683 whitespace-empty-at-bob-regexp (Bug#11492).
4684
2b311310
AH
46852012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4686
4687 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4688 revert (Bug#11488).
4689
b9cb2387
JL
46902012-05-29 Juri Linkov <juri@jurta.org>
4691
4692 * isearch.el (isearch-mode-map): Bind `M-s _' to
4693 `isearch-toggle-symbol'. Bind `M-s c' to
4694 `isearch-toggle-case-fold'.
4695 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4696 (isearch-forward): Add `M-s _' to the docstring.
4697 (isearch-forward-symbol, isearch-toggle-case-fold)
4698 (isearch-symbol-regexp): New functions. (Bug#11381)
4699
d5e61c1c
JL
47002012-05-29 Juri Linkov <juri@jurta.org>
4701
4702 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4703 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4704 a function, call it to get the regexp.
4705 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4706 property `isearch-message-prefix' instead of the string "word ".
4707 (isearch-search-fun-default): For the case of `isearch-word',
4708 return a lambda that calls re-search-forward/re-search-backward
4709 with a regexp returned by `word-search-regexp' or by the function
4710 in `isearch-word'.
4711
8cbd80f7
JL
47122012-05-29 Juri Linkov <juri@jurta.org>
4713
4714 * isearch.el (isearch-search-fun-default): New function.
4715 (isearch-search-fun): Move default part to the new function
4716 `isearch-search-fun-default'.
4717 (isearch-search-fun-function): Set the default value to
4718 `isearch-search-fun-default'. (Bug#11381)
4719
4720 * comint.el (comint-history-isearch-end):
4721 Use `isearch-search-fun-default'.
4722 (comint-history-isearch-search): Use `isearch-search-fun-default'
4723 and remove spacial case for `isearch-word'.
4724 (comint-history-isearch-wrap): Remove spacial case for
4725 `isearch-word'.
4726
4727 * hexl.el (hexl-isearch-search-function):
4728 Use `isearch-search-fun-default'.
4729
4730 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4731 Use `word-search-regexp' for `isearch-word'.
4732
4733 * misearch.el (multi-isearch-search-fun):
4734 Use `isearch-search-fun-default'.
4735
4736 * simple.el (minibuffer-history-isearch-search):
4737 Use `isearch-search-fun-default' and remove spacial case for
4738 `isearch-word'.
4739 (minibuffer-history-isearch-wrap): Remove spacial case for
4740 `isearch-word'.
4741
4742 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4743 Remove spacial case for `isearch-word'.
4744 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4745
85c8c5b6
AM
47462012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4747
4748 Decrease XEmacs incompatibilities.
4749 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4750 Use `string-match'.
4751 (flyspell-delete-region-overlays): Use alternative definition for
4752 XEmacs.
4753 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4754 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4755 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4756 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4757 `define-obsolete-face-alias' under XEmacs, but old method.
4758
4759 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4760 `with-no-warnings' definition or Emacs alias.
4761 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4762 (ispell-word): Do not use `region-p' if XEmacs.
4763
8cab9efc
AM
47642012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4765
4766 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4767 Check for `ispell-dictionary-base-alist' instead of full
4768 `ispell-dictionary-alist'.
4769 (ispell-init-process): Show spellchecker when starting new Ispell
4770 process.
4771
fda91268
RZ
47722012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4775 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4776
694ea8e3
JB
47772012-05-27 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * version.el (motif-version-string, gtk-version-string)
4780 (ns-version-string): Declare.
4781
e4d4f539
JL
47822012-05-27 Juri Linkov <juri@jurta.org>
4783
4784 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4785 after the `eval-defun-1' specialcaseing
4786 like in `edebug-eval-defun' (bug#10181).
4787
4788 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4789 like in `eval-defun-1'.
4790
33017faf 47912012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4792
fda91268
RZ
4793 * mail/sendmail.el (mail-yank-region):
4794 Recognize rmail-yank-current-message in addition to insert-buffer.
4795 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4796 a *mail* buffer created through rmail-start-mail with sendmail as
4797 mail-user-agent.
4798
33017faf
GM
47992012-05-27 Chong Yidong <cyd@gnu.org>
4800
4801 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4802 Default to 256 (Bug#11267).
4803
4804 * help.el (describe-mode): Doc fix.
4805
04188bb9
GM
48062012-05-26 Glenn Morris <rgm@gnu.org>
4807
38264cc9
GM
4808 * w32-fns.el (w32-init-info): Remove.
4809 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4810
eb7afdad
GM
4811 * info.el (info-initialize): For self-contained NS builds, put the
4812 included info/ directory at the front. (Bug#2791)
4813
04188bb9
GM
4814 * paths.el (Info-default-directory-list): Make it a defcustom,
4815 mainly so that we can use custom-initialize-delay.
4816
a179e3f7
SM
48172012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4818
43416392
SM
4819 * subr.el (buffer-has-markers-at): Mark obsolete.
4820
a179e3f7 4821 * subr.el (lambda): Use declare.
43416392 4822
a179e3f7
SM
4823 * emacs-lisp/lisp-mode.el (lambda):
4824 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4825
34a008d9
AH
48262012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4827
4828 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4829
0a3b289f
GM
48302012-05-26 Glenn Morris <rgm@gnu.org>
4831
4832 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4833
758c81e8
GM
48342012-05-25 Glenn Morris <rgm@gnu.org>
4835
f9f334f0
GM
4836 * paths.el: Remove no-byte-compile.
4837 * loadup.el: No need to load paths.el uncompiled.
4838
87eb79c2
GM
4839 * image.el (imagemagick-types-inhibit): Doc fix.
4840
758c81e8
GM
4841 * version.el: Remove no-byte-compile and associated formatting.
4842 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4843 is ancient code from when there was an "inc-vers.el".
4844
e7e85dc0
SM
48452012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * progmodes/gdb-mi.el: Minor style changes.
4848 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4849 Turn into minor modes.
4850 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4851 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4852 (gdb-shell): Remove unneeded let-binding.
4853 (gdb-get-many-fields): Eliminate O(n²) behavior.
4854
f31237a4
EZ
48552012-05-25 Eli Zaretskii <eliz@gnu.org>
4856
4857 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4858 platforms that don't link in fontset.c.
4859
bc1b21bb
JL
48602012-05-25 Juri Linkov <juri@jurta.org>
4861
4862 Use the same diff color scheme as in modern VCSes (bug#10181).
4863
4864 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4865 to avoid confusion with `diff-added' that now uses green colors.
4866 (diff-removed): Use shades of red.
4867 (diff-added): Use shades of green.
4868 (diff-changed): Leave just the yellow color.
4869 (diff-use-changed-face): New variable.
4870 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4871 how to highlight context diff changes.
4872 (diff-refine-change): Use shades of yellow.
4873 (diff-refine-removed): New face that uses shades of red.
4874 (diff-refine-added): New face that uses shades of green.
4875 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4876 `diff-refine-removed' in the call to `smerge-refine-subst'
4877 depending on the value of `diff-use-changed-face'.
4878
4879 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4880 (smerge-other): Use shades of green.
4881 (smerge-base): Use shades of yellow.
4882 (smerge-refined-change): Empty face.
4883 (smerge-refined-removed): New face that uses shades of red.
4884 (smerge-refined-added): New face that uses shades of green.
4885 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4886 args `props-r' and `props-a', and use them. Doc fix.
4887 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4888 on its value use different faces `smerge-refined-change',
4889 `smerge-refined-removed', `smerge-refined-added' in the call to
4890 `smerge-refine-subst'.
4891
4892 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4893 Add face condition `min-colors 88' with shades of red.
4894 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4895 `min-colors 88' with shades of green.
4896 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4897 `min-colors 88' with shades of yellow.
4898
6df9112c
GM
48992012-05-24 Glenn Morris <rgm@gnu.org>
4900
ead5edc0
GM
4901 * paths.el (prune-directory-list, remote-shell-program): Move to...
4902 * files.el (prune-directory-list, remote-shell-program): ...here.
4903 For the latter, delay initialization, prefer ssh, just search PATH.
4904
f18b81e6
GM
4905 * paths.el (term-file-prefix): Move to faces.el (the only user).
4906 * faces.el (term-file-prefix): Move here, make it a defcustom.
4907
ee2f89a6
GM
4908 * paths.el (news-directory, news-path, news-inews-program):
4909 Move to gnus/nnspool.el.
61a583ca 4910
f8815e4c
GM
4911 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4912
c8f3b42c
GM
4913 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4914 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4915 Make the latter a defcustom, with a delayed initialization.
4916
6df9112c
GM
4917 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4918 These were deleted from Gnus itself late 2010.
4919
5dadff36
JB
49202012-05-22 Juanma Barranquero <lekktu@gmail.com>
4921
9e1701c6
JB
4922 * progmodes/which-func.el (which-func-ff-hook):
4923 Check against user-error, not error.
4924
bd7239f5 4925 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4926 cl-specs.el, which no longer exists.
4927
3290526d
GM
49282012-05-22 Glenn Morris <rgm@gnu.org>
4929
4930 * info.el (info-emacs-bug): New command.
4931 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4932 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4933
ff0c3cfb
GM
49342012-05-21 Glenn Morris <rgm@gnu.org>
4935
4936 * makefile.w32-in (update-subdirs-SH):
4937 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4938
5814f126
SM
49392012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4940
a52c0aa0
SM
4941 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4942
5814f126
SM
4943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4944 Simplify Maven regexp, and make sure the file can't start with a space
4945 (bug#11517).
4946
b847032c
GM
49472012-05-21 Glenn Morris <rgm@gnu.org>
4948
4949 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4950 Scrap superfluous subshells.
4951
3858bfe7
SM
49522012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4955 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4956
d14b0029
JB
49572012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4958
4959 * calc/calc.el (calc-ensure-consistent-units): New variable.
4960
a52c0aa0
SM
4961 * calc/calc-units.el (math-consistent-units-p)
4962 (math-check-unit-consistency): New functions.
4963 (calc-quick-units, calc-convert-units):
4964 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4965 is non-nil.
d14b0029
JB
4966 (calc-extract-units): Fix typo.
4967
60c4db3a
SM
49682012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4969
77f3b62e
SM
4970 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4971
60c4db3a
SM
4972 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4973 (flyspell-default-deplacement-commands): Don't spell check after
4974 repeated window/frame switches (e.g. triggered by mouse-movement).
4975 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4976 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4977 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4978 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4979 Remove unused vars.
4980 (flyspell-get-casechars, flyspell-get-not-casechars):
4981 Simplify; Don't bother removing a ] just to add it back.
4982 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4983
d209e2fb 49842012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4985
4986 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4987 New functions.
bd7239f5 4988 (math-function-table): Add support for more C functions.
b1a10716 4989
3f1b25b5
AM
49902012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4991
090bd7cb
JB
4992 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4993 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4994 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4995
b581bb5c
SM
49962012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4999 their respective macro declarations.
5000 * skeleton.el (define-skeleton):
5001 * progmodes/compile.el (define-compilation-mode):
5002 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5003 (define-ibuffer-filter):
5004 * emacs-lisp/generic.el (define-generic-mode):
5005 * emacs-lisp/easy-mmode.el (define-minor-mode)
5006 (define-globalized-minor-mode):
5007 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5008 * emacs-lisp/byte-run.el (defsubst):
5009 * custom.el (deftheme): Add doc-string metadata.
5010
70b8ef8f
SM
50112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5014
b1198e17
SM
50152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5016
9abdc45d
SM
5017 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5018
b1198e17
SM
5019 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5020 * emacs-lisp/cl-macs.el: Idem.
5021 * emacs-lisp/cl-specs.el: Remove.
5022
4735906a
SM
50232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 Minor renaming of internal CL functions and variables.
5026 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5027 (cl--position): Rename from cl-position.
5028 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5029 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5030 (cl--random-state): Rename from *random-state*.
5031
ac348012
SM
50322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5035 parens around the arg list (bug#11499).
5036
a0a79cde
JL
50372012-05-17 Juri Linkov <juri@jurta.org>
5038
5039 * isearch.el (word-search-regexp, word-search-backward)
5040 (word-search-forward, word-search-backward-lax)
5041 (word-search-forward-lax): Move functions from search.c
5042 (bug#10145, bug#11381).
5043
65034a51
AM
50442012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5045
090bd7cb
JB
5046 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5047 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5048 Delay for otherchars as for normal word components.
65034a51 5049
1a72a195
SM
50502012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * minibuffer.el (completion--sifn-requote): Fix last change.
5053 (minibuffer-local-must-match-filename-map):
5054 Move define-obsolete-variable-alias before its var.
5055
fdb058c2
SM
50562012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5057
c41045e6
SM
5058 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5059
036dfb8b
SM
5060 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5061 behavior.
5062 (completion--string-equal-p): New function.
5063 (completion--twq-all): Use it to get better assertion failure data.
5064
2473256d
SM
5065 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5066 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5067 (shell--requote-argument): New functions.
5068 (shell-completion-vars): Use them.
5069 (shell--parse-pcomplete-arguments): Rename from
5070 shell-parse-pcomplete-arguments.
5071 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5072 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5073 Obey comint-file-name-quote-list.
5074
fdb058c2
SM
5075 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5076 (smie-indent-keyword): Use it.
5077
51fa99f1
SM
50782012-05-14 Stefan Merten <smerten@oekonux.de>
5079
5080 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5081
e18afed7 50822012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5083
5084 * net/rlogin.el (rlogin-mode-map): Fix last change.
5085
e18afed7 50862012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5087
5088 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5089 the following \r\n using a single `process-send-string', since the
5090 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5091 with two `process-send-string's (Bug#11444).
8633b1f4 5092
e18afed7 50932012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5094
fdb058c2
SM
5095 * shell.el (shell-parse-pcomplete-arguments):
5096 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5097
2d21d7f6
WJ
50982012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5099
e18afed7 5100 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5101 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5102 (image-transform-width, image-transform-fit-width): New functions.
5103 (image-transform-properties): Use them.
5104 (image-transform-check-size): New function.
5105 (image-toggle-display-image): Use it (for testing).
5106 (image-transform-set-rotation): Reduce angle mod 360.
5107 Delete obsolete comment.
5108
7102e6d0
WJ
51092012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5110
5111 * image-mode.el: Fix scaling (bug#11399).
5112 (image-transform-resize): Doc fix.
5113 (image-transform-properties): Default scale is 1 and height should
5114 be an integer.
5115
06bc5e6e
SM
51162012-05-13 Johan Bockgård <bojohan@gnu.org>
5117
5118 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5119 than hard-coding `car', to fix misbehavior when moving forward.
5120
0ae03b6a
CY
51212012-05-13 Chong Yidong <cyd@gnu.org>
5122
5123 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5124 (tabulated-list-entries, tabulated-list-padding)
5125 (tabulated-list-sort-key): Make permanent-local.
5126
5127 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5128 (electric-buffer-list): Put electric buffer menu
5129 command descriptions in this docstring, instead of the docstring
5130 of electric-buffer-menu-mode. Code cleanups.
5131 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5132 Electric-buffer-menu-mode.
5133 (electric-buffer-update-highlight): Minor code cleanup.
5134
205a7391
MA
51352012-05-13 Michael Albinus <michael.albinus@gmx.de>
5136
5137 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5138 (Bug#11447)
5139
e5bd0a28
SM
51402012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 Move define-obsolete-variable-alias before the var's definition.
5143 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5144 * tooltip.el (tooltip-hook):
5145 * textmodes/reftex-toc.el (reftex-toc-map):
5146 * textmodes/reftex-sel.el (reftex-select-label-map)
5147 (reftex-select-bib-map):
5148 * textmodes/reftex-index.el (reftex-index-map)
5149 (reftex-index-phrases-map):
5150 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5151 * progmodes/meta-mode.el (meta-mode-map):
5152 * novice.el (disabled-command-hook):
5153 * loadhist.el (unload-hook-features-list):
5154 * frame.el (blink-cursor):
5155 * files.el (find-file-not-found-hooks, write-file-hooks)
5156 (write-contents-hooks):
5157 * emulation/tpu-edt.el (GOLD-map):
5158 * emacs-lock.el (emacs-lock-from-exiting):
5159 * emacs-lisp/generic.el (generic-font-lock-defaults):
5160 * emacs-lisp/chart.el (chart-map):
5161 * dos-fns.el (register-name-alist):
5162 * dired-x.el (dired-omit-files-p):
5163 * desktop.el (desktop-enable):
5164 * cus-edit.el (custom-mode-hook):
5165 * buff-menu.el (buffer-menu-mode-hook):
5166 * bookmark.el (bookmark-read-annotation-text-func)
5167 (bookmark-exit-hooks):
5168 * allout.el (allout-mode-deactivate-hook)
5169 (allout-exposure-change-hook, allout-structure-added-hook)
5170 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5171 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5172 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5173 comes before the corresponding variable's definition.
5174
ac59c2f6
CY
51752012-05-12 Chong Yidong <cyd@gnu.org>
5176
5177 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5178 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5179 (Buffer-menu-mode-map): Bind it.
5180 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5181
dee6c9a3
SM
51822012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5183
2171cea5
SM
5184 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5185 (prolog-upper-case-string, prolog-lower-case-string)
5186 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5187 (prolog-use-smie, prolog-smie-grammar): New vars.
5188 (prolog-smie-forward-token, prolog-smie-backward-token)
5189 (prolog-smie-rules): New funs.
5190 (prolog-comment-indent): Remove.
5191 (prolog-mode-variables): Use default comment indentation instead.
5192 Setup SMIE.
5193 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5194 (prolog-mode): Don't call them any more.
5195 (prolog-electric-colon, prolog-electric-dash)
5196 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5197
aa0382bd
SM
5198 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5199
dbacb4bd
SM
5200 * minibuffer.el (completion--twq-all): Again, allow case differences.
5201
13bdd94c
SM
5202 * term.el: Move keymap initialization code to be more idiomatic.
5203 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5204 (term-terminal-menu): Move initialization into declaration.
5205 (term-escape-char): Let the user set it in her .emacs.
5206
ff46c759
SM
5207 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5208 Provide SMIE-based indentation (not enabled by default yet).
5209 (sh-mode-map): Don't bind electric keys.
5210 Use electric-pair-mode instead of skeleton-pair.
5211 (sh-assignment-regexp): Fit within 80 columns.
5212 (sh-indent-supported): Specify actual shell name instead of boolean.
5213 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5214 (sh-maybe-here-document): Use it. Make obsolete.
5215 (sh-electric-here-document-mode) New minor mode.
5216 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5217 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5218 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5219 (sh-smie-rc-grammar, sh-use-smie): New vars.
5220 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5221 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5222 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5223 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5224 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5225 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5226 (sh-set-shell): Use smie-setup if requested.
5227
dee6c9a3
SM
5228 * term.el (term-set-escape-char): Properly set term-escape-char.
5229 See http://stackoverflow.com/questions/10524656.
5230
9f9aa044
CY
52312012-05-10 Chong Yidong <cyd@gnu.org>
5232
5233 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5234 Use url-generic-parse-url, and handle host names and Windows
5235 filenames properly.
5236 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5237 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5238 URL schemes to work on.
5239 (ffap--toggle-read-only): New function.
5240 (ffap-read-only, ffap-read-only-other-window)
5241 (ffap-read-only-other-frame): Use it.
5242 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5243 necessary for ffap-url-unwrap-remote.
5244
836d29b3
DA
52452012-05-10 Dave Abrahams <dave@boostpro.com>
5246
5247 * cus-start.el (create-lockfiles): Add it.
5248
00fd78ed
CY
52492012-05-09 Chong Yidong <cyd@gnu.org>
5250
5251 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5252 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5253
666b903b 52542012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5255
5256 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5257
666b903b 52582012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5259
5260 * ansi-color.el (ansi-color-process-output): Check for validity of
5261 comint-last-output-start before using it. This avoids a bad
5262 interaction with gdb-mi's input/output buffer.
5263
666b903b 52642012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5265
5266 * files.el (dir-locals-read-from-file):
5267 Mention dir-locals in any error message.
5268
666b903b 52692012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5270
5271 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5272 package (Bug#11410).
5273
f677562b
CY
5274 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5275 variables into description.
5276
666b903b 52772012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5278
5279 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5280 shell-delimiter-argument-list (bug#11348).
5281 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5282
b499d8d0
JB
52832012-05-09 Juanma Barranquero <lekktu@gmail.com>
5284
8f6b6da8
JB
5285 * textmodes/rst.el: Silence byte-compiler warnings.
5286 (rst-re-alist, rst-reset-section-caches): Move around.
5287 (rst-re): Use `characterp', not `char-valid-p'.
5288 (font-lock-beg, font-lock-end): Declare.
5289
4824146a
JB
5290 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5291 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5292
b499d8d0
JB
5293 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5294
ad89bb83
GM
52952012-05-08 Glenn Morris <rgm@gnu.org>
5296
5297 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5298
8bba5a75
SM
52992012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5300
49ed9c8e
SM
5301 * vc/log-edit.el: Add GNU coding standards highlighting.
5302 (log-edit-font-lock-gnu-style)
5303 (log-edit-font-lock-gnu-keywords): New vars.
5304 (log-edit-font-lock-keywords): New fun.
5305 (log-edit-mode): Don't fold case in font-lock.
5306 (log-edit-font-lock-keywords): Do not assume case-folding.
5307
07d00b56
SM
5308 * imenu.el: Misc cleanup. Make docstrings out of comments.
5309 Use lexical-binding.
5310 (imenu--index-alist, imenu--last-menubar-index-alist)
5311 (imenu-menubar-modified-tick): Use defvar-local.
5312 (imenu--split-menu): Remove unused var.
5313 (imenu--cleanup-seen): Declare as global.
5314 (imenu--cleanup): Use dolist.
5315
8bba5a75
SM
5316 * subr.el (defvar-local): Add debug spec and doc-string position.
5317
5075bdb5
GM
53182012-05-08 Glenn Morris <rgm@gnu.org>
5319
090bd7cb 5320 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5321 * language/english.el, language/georgian.el, language/greek.el:
5322 * language/japanese.el, language/khmer.el, language/korean.el:
5323 * language/lao.el, language/misc-lang.el, language/romanian.el:
5324 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5325 * language/thai.el, language/utf-8-lang.el:
5326 Remove no-byte-compile setting.
5327
5075bdb5
GM
5328 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5329
06f679a7
AH
53302012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5331
5332 * progmodes/make-mode.el (makefile-browse):
5333 Remove unnecessary interactive. (Bug#11324)
5334
03794570
GM
53352012-05-07 Glenn Morris <rgm@gnu.org>
5336
af8630f4
GM
5337 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5338
03794570
GM
5339 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5340
f0809a9d
SM
53412012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5342
28be5ce7
SM
5343 * loadup.el: Preload newcomment.el.
5344 * newcomment.el: Move autoload-only code to toplevel.
5345
f0809a9d
SM
5346 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5347 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5348 Handle new :right-align column property.
5349 (tabulated-list-print-col): Idem, plus use `display' text-property to
5350 try and preserve alignment for variable pitch fonts.
5351
1241b724
CY
53522012-05-07 Chong Yidong <cyd@gnu.org>
5353
5354 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5355 (tabulated-list-use-header-line): New var.
5356 (tabulated-list-init-header): Use it.
5357 (tabulated-list-print-fake-header): New function.
5358 (tabulated-list-print): Use it.
5359 (tabulated-list-sort-button-map): Add non-header-line commands.
5360 (tabulated-list-init-header): Add column name property to basic
5361 labels as well.
5362 (tabulated-list-col-sort): Handle non-header-line button case.
5363 (tabulated-list--sort-by-column-name): Fix a corner case.
5364
f0809a9d
SM
5365 * buff-menu.el (list-buffers--refresh):
5366 Handle Buffer-menu-use-header-line.
1241b724 5367
e5f9458f
CY
53682012-05-06 Chong Yidong <cyd@gnu.org>
5369
5370 * buff-menu.el: Convert to Tabulated List mode.
5371 (Buffer-menu-buffer+size-width): Make obsolete.
5372 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5373 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5374 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5375 documentation into docstring of buffer-menu.
5376 (Buffer-menu-toggle-files-only): Add an informative message.
5377 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5378 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5379 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5380 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5381 (Buffer-menu-execute, Buffer-menu-select)
5382 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5383 (Buffer-menu-bury): Use Tabulated List machinery.
5384 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5385 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5386 Delete.
e5f9458f
CY
5387 (list-buffers--refresh): New function.
5388 (list-buffers-noselect): Use it.
5389 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5390 (Buffer-menu--pretty-file-name): New helper functions.
5391
5392 * loadup.el: Preload tabulated-list.
5393
5394 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5395 tabulated-list-sort-column.
5396 (tabulated-list-init-header): Add the initial aligning space even
5397 if tabulated-list-padding is zero.
5398
e129292c
CS
53992012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5400
5401 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5402 whose cdr is not a cons cell correctly (bug#11038).
5403
6632d361
CY
54042012-05-06 Chong Yidong <cyd@gnu.org>
5405
e129292c
CS
5406 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5407 Accept additional plist in column descriptors.
6632d361
CY
5408 (tabulated-list-init-header): Obey it.
5409 (tabulated-list-get-entry): New function.
5410 (tabulated-list-put-tag): Use it. Use string-width instead of
5411 length.
5412 (tabulated-list--column-number): New function.
5413 (tabulated-list-print): Use it.
e129292c
CS
5414 (tabulated-list-print-col): New function.
5415 Set `tabulated-list-column-name' property on each column's text.
6632d361 5416 (tabulated-list-print-entry): Use it.
e129292c
CS
5417 (tabulated-list-delete-entry, tabulated-list-set-col):
5418 New functions.
6632d361
CY
5419 (tabulated-list-sort-column): New command (Bug#11337).
5420
3cc99f68
CY
5421 * buff-menu.el (list-buffers): Move C-x C-b binding from
5422 buff-menu.el to bindings.el.
5423
5424 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5425 :advertised-binding feature.
5426
52b61776
TN
54272012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5428
5429 * progmodes/compile.el (compilation-internal-error-properties):
5430 Calculate start position correctly when end-col is set but
5431 end-line is not (Bug#11382).
5432
ebfe2597
WJ
54332012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5434
5435 * man.el (Man-unindent): Use text-property-default-nonsticky to
5436 prevent untabify from inheriting face properties (Bug#11408).
5437
6d3f7c2f
SM
54382012-05-05 Stefan Merten <smerten@oekonux.de>
5439
5440 * textmodes/rst.el: Major merge with upstream development up to
5441 Docutils SVN r7399 / rst.el V1.2.1.
5442
5443 Clarify maintainership and authors.
5444
5445 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5446 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5447 (rst-official-version, rst-official-cvs-rev, rst-version)
5448 (rst-package-emacs-version-alist): New functions and variables
5449 for version information.
5450
5451 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5452 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5453 (rst-mode-syntax-table, rst-mode): New and corrected functions
5454 and variables representing reStructuredText features.
5455
5456 (rst-re): New function for reStructuredText regexes. Use in
5457 many places.
5458
5459 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5460 (rst-mode-map): Rebind keys.
5461
5462 (rst-mode-lazy, rst-font-lock-keywords)
5463 (rst-font-lock-extend-region)
5464 (rst-font-lock-extend-region-internal)
5465 (rst-font-lock-extend-region-extend)
5466 (rst-font-lock-find-unindented-line-limit)
5467 (rst-font-lock-find-unindented-line-match)
5468 (rst-adornment-level, rst-font-lock-adornment-level)
5469 (rst-font-lock-adornment-match)
5470 (rst-font-lock-handle-adornment-pre-match-form)
5471 (rst-font-lock-handle-adornment-matcher): Major revision of
5472 font-locking. Integrate with other code. Use `jit-lock-mode'.
5473
5474 (rst-preferred-adornments, rst-adjust-hook)
5475 (rst-new-adornment-down, rst-preferred-bullets)
5476 (rst-preferred-bullets, rst-indent, rst-indent-width)
5477 (rst-indent-field, rst-indent-literal-normal)
5478 (rst-indent-literal-minimized, rst-indent-comment): Change,
5479 extend and improve customization.
5480
5481 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5482 (rst-normalize-cursor-position, rst-get-decoration)
5483 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5484 (rst-rstrip, rst-toc-insert-find-delete-contents)
5485 (rst-shift-fill-region, rst-compute-bullet-tabs)
5486 (rst-debug-print-tabs, rst-debug-mark-found)
5487 (rst-shift-region-guts, rst-shift-region-right)
5488 (rst-shift-region-left, rst-use-char-classes)
5489 (rst-font-lock-keywords-function)
5490 (rst-font-lock-indentation-point)
5491 (rst-font-lock-find-unindented-line-begin)
5492 (rst-font-lock-find-unindented-line-end)
5493 (rst-font-lock-find-unindented-line)
5494 (rst-font-lock-adornment-point, rst-font-lock-level)
5495 (rst-adornment-level-alist): Remove functions and variables.
5496
5497 (rst-compare-adornments, rst-get-adornment-match)
5498 (rst-suggest-new-adornment, rst-get-adornments-around)
5499 (rst-adornment-complete-p, rst-get-next-adornment)
5500 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5501 (rst-straighten-adornments): Standardize function names to
5502 use "adornment" instead of "decoration". Correct callers.
5503 Similar standardizing in many places.
5504
5505 (rst-update-section, rst-adjust, rst-promote-region)
5506 (rst-enumerate-region, rst-bullet-list-region)
5507 (rst-repeat-last-character): Correct use of `interactive'.
5508
5509 (rst-classify-adornment, rst-find-all-adornments)
5510 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5511 (rst-find-leftmost-column, rst-repeat-last-character):
5512 Refactor functions.
5513
5514 (rst-find-title-line, rst-reset-section-caches)
5515 (rst-get-adornments-around, rst-adjust-adornment-work)
5516 (rst-arabic-to-roman, rst-roman-to-arabic)
5517 (rst-insert-list-pos, rst-insert-list-new-item)
5518 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5519 New functions.
5520
5521 (rst-all-sections, rst-section-hierarchy)
5522 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5523 New variables.
5524
5525 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5526 configuration instead of only buffer. Change where necessary.
5527
5528 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5529 (rst-shift-region, rst-adaptive-fill): New functions for
5530 indentation and filling.
5531
5532 (rst-comment-line-break, rst-comment-indent)
5533 (rst-comment-insert-comment, rst-comment-region)
5534 (rst-uncomment-region): New functions for handling comments.
5535
5536 (rst-compile): Quote shell arguments.
5537
5538 (rst-compile-pdf-preview, rst-compile-slides-preview):
5539 Delete temporary files after use.
5540
a43f98b3
GM
55412012-05-05 Glenn Morris <rgm@gnu.org>
5542
48176e8b
GM
5543 * calendar/cal-html.el: Optionally include holidays in the output.
5544 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5545 (cal-html-holidays): New option.
5546 (cal-html-css-default): Add holiday entry.
5547 (holiday-in-range): Autoload it.
5548 (cal-html-htmlify-entry): Add optional class argument.
5549 (cal-html-htmlify-list): Add optional holidays argument.
5550 (cal-html-insert-agenda-days): Include holidays in the output.
5551 (cal-html-one-month): Maybe include holidays.
5552
a43f98b3
GM
5553 * calendar/holidays.el (holiday-in-range):
5554 Move here from cal-tex-list-holidays.
5555 * calendar/cal-tex.el (cal-tex-list-holidays):
5556 Make it an obsolete alias for holiday-in-range. Update all callers.
5557
fef9d149 55582012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5559
5560 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5561 Nextstep.
5562
248da2f4
RW
55632012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5564
5565 * files.el (file-auto-mode-skip): New var.
5566 (set-auto-mode-1): Use it.
5567
f95e9344
SM
55682012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5569
df96ab1e
SM
5570 * repeat.el: Use lexical-binding.
5571 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5572 (repeat-undo-count): Remove.
5573 (repeat):
5574 * progmodes/octave-mod.el (octave-abbrev-start):
5575 * progmodes/f90.el (f90-abbrev-start):
5576 * face-remap.el (text-scale-adjust):
5577 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5578
5342bb06
SM
5579 * emacs-lisp/pcase.el (pcase--let*): New function.
5580 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5581 a bit more.
5582 (pcase--split-pred): Be more clever about ruling out overlap between
5583 a predicate and some constant pattern.
5584 (pcase--q1): Use `null' instead of (eq foo nil).
5585
f95e9344
SM
5586 * subr.el (setq-local, defvar-local): New macros.
5587 (kbd): Redefine as an alias.
5588 (with-selected-window): Leave unrelated frames alone.
5589 (set-temporary-overlay-map): New function.
5590
71873e2b
SM
55912012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * subr.el (user-error): New function.
5594 * window.el (switch-to-buffer):
5595 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5596 (smerge-match-conflict):
5597 * simple.el (previous-matching-history-element)
5598 (next-matching-history-element, goto-history-element, undo-more)
5599 (undo-start):
5600 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5601 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5602 (next-file, tags-loop-scan, list-tags, complete-tag):
5603 * progmodes/compile.el (compilation-loop):
5604 * mouse.el (mouse-minibuffer-check):
5605 * man.el (Man-bgproc-sentinel, Man-goto-page):
5606 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5607 (Info-history-forward, Info-follow-reference, Info-menu)
5608 (Info-extract-menu-item, Info-extract-menu-counting)
5609 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5610 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5611 (Info-next-reference, Info-prev-reference, Info-index)
5612 (Info-index-next, Info-follow-nearest-node)
5613 (Info-copy-current-node-name):
5614 * imenu.el (imenu--make-index-alist)
5615 (imenu-default-create-index-function, imenu-add-to-menubar):
5616 * files.el (basic-save-buffer, recover-file):
5617 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5618 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5619 (checkdoc-message-text, checkdoc-defun):
5620 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5621 * cus-edit.el (customize-changed-options, customize-rogue)
5622 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5623 (custom-variable-mark-to-reset-standard)
5624 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5625 (custom-file):
5626 * completion.el (check-completion-length):
5627 * comint.el (comint-search-arg)
5628 (comint-previous-matching-input-string-position)
5629 (comint-previous-matching-input)
5630 (comint-replace-by-expanded-history-before-point, comint-send-input)
5631 (comint-copy-old-input, comint-backward-matching-input)
5632 (comint-goto-process-mark, comint-set-process-mark):
5633 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5634 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5635
8a61ee22
SM
56362012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5637
66408d1e
SM
5638 * dabbrev.el (dabbrev--ignore-case-p): New function.
5639 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5640 Use it.
5641
8a61ee22
SM
5642 * files.el (automount-dir-prefix): Mark as obsolete.
5643
3c74813a
GM
56442012-05-04 Glenn Morris <rgm@gnu.org>
5645
5646 * patcomp.el, play/bruce.el: Move to obsolete/.
5647
0bfcf5c5
PE
56482012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5649
5650 Fix minor Y10k bugs.
5651 * arc-mode.el (archive-unixdate):
5652 * autoinsert.el (auto-insert-alist):
5653 * calc/calc-forms.el (math-this-year):
5654 * emacs-lisp/copyright.el (copyright-current-year)
5655 (copyright-update-year, copyright):
5656 * tar-mode.el (tar-clip-time-string):
5657 * time.el (display-time-update):
5658 Don't assume years have 4 digits.
5659
78f3273a
CY
56602012-05-04 Chong Yidong <cyd@gnu.org>
5661
5662 * dos-w32.el (file-name-buffer-file-type-alist)
5663 (direct-print-region-use-command-dot-com):
5664 * ffap.el (ffap-menu-regexp):
5665 * find-file.el (ff-special-constructs):
5666 * follow.el (follow-debug):
5667 * forms.el (forms--debug):
5668 * iswitchb.el (iswitchb-all-frames):
5669 * ido.el (ido-all-frames):
5670 * emacs-lisp/timer.el (timer-max-repeats):
5671 * mail/feedmail.el (feedmail-mail-send-hook)
5672 (feedmail-mail-send-hook-queued):
5673 * mail/footnote.el (footnote-signature-separator):
5674 * mail/mailabbrev.el (mail-alias-separator-string)
5675 (mail-abbrev-mode-regexp):
5676 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5677 * progmodes/idlwave.el (idlwave-libinfo-file)
5678 (idlwave-default-completion-case-is-down)
5679 (idlwave-library-routines): Convert defvars to defcustoms.
5680
5681 * mail/rmail.el (rmail-decode-mime-charset):
5682 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5683 (idlwave-shell-fix-inserted-breaks)
5684 (idlwave-shell-activate-alt-keybindings)
5685 (idlwave-shell-use-breakpoint-glyph):
5686 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5687
f7ae6719
SM
56882012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5691
47086495
WS
56922012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5693
5694 * progmodes/verilog-mode.el (font-lock-keywords):
5695 Fix mis-highligting auto. Reported by Craig Barner.
5696 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5697 defines from global name space. Reported by Dan Dever.
47086495
WS
5698 (verilog-auto-reset, verilog-auto-reset-widths)
5699 (verilog-auto-tieoff): Support using unbased numbers for
5700 AUTORESET and AUTOTIEOFF.
5701 (verilog-submit-bug-report): Update variable list.
5702 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5703 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5704 (verilog-auto-template-lint): Fix hash error when linting modules
5705 with no used templates.
5706 (verilog-warn, verilog-warn-error)
5707 (verilog-warn-fatal): When non-interactive report multiple
5708 warnings before exiting. Suggested by Brad Dobbie.
5709 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5710 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5711 to report unused template errors. Reported by Brad Dobbie.
5712 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5713 nets, bug438. Reported by Vns Blore.
47086495
WS
5714 (verilog-auto-inout-module, verilog-auto-reg)
5715 (verilog-read-decls, verilog-read-sub-decls-sig)
5716 (verilog-signals-edit-wire-reg, verilog-signals-with):
5717 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5718 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5719 "reg" for backwards compatibility presuming Verilog 2001.
5720 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5721 (verilog-preprocess): Fix replication of preprocess output.
5722 Reported by Brad Dobbie.
5723 (verilog-auto-inst-interfaced-ports):
5724 Create verilog-auto-inst-interfaced-ports, bug429.
5725 Reported by Julian Gorfajn.
5726 (verilog-after-save-font-hook)
5727 (verilog-before-save-font-hook): New variable.
5728 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5729 (verilog-save-font-mods): Wrap disabling fontification, reported
5730 by David Rogoff.
5731 (verilog-do-indent, verilog-pretty-declarations-auto)
5732 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5733 Reported by Pierre-David Pfister.
5734 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5735 of class declarations, bug292. Reported by Kevin Heilman.
5736 (verilog-read-decls): Fix 'parameter type' not appearing in
5737 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5738 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5739 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5740 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5741 Reported by David Kravitz.
5742
57432012-05-03 Michael McNamara <mac@mail.brushroad.com>
5744
5745 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5746 assignment with tests in ifs and for loops.
5747 (verilog-extended-complete-re, verilog-complete-reg): Change so
5748 that DPI inport functions don't look like fuction declarations.
5749 (verilog-pretty-expr): Don't line up assignment
5750 operations to the test and increment in if and for loops
5751 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5752 that DPI inport functions don't look like fuction declarations.
47086495 5753
2e51d4b5
KH
57542012-05-03 Kenichi Handa <handa@m17n.org>
5755
5756 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5757 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5758 (Bug#11282).
5759
2bd785a2
SM
57602012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/bytecomp.el
5763 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5764 since cconv.el might have introduced :fun-body, internal-make-closure,
5765 and friends for bytecomp to handle (bug#11391).
5766 * custom.el (defcustom): Avoid ((λ ..) ..).
5767
99d27583
SM
57682012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5771
55a71479
JB
57722012-05-02 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * notifications.el (dbus-debug):
5775 * term/linux.el (gpm-mouse-enable):
5776 * term/screen.el (xterm-register-default-colors): Declare.
5777
7b97c764
CY
57782012-05-02 Chong Yidong <cyd@gnu.org>
5779
2bc356d7
CY
5780 * cus-start.el (gc-cons-percentage, exec-suffixes)
5781 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5782 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5783 (make-cursor-line-fully-visible, void-text-area-pointer)
5784 (font-list-limit): Add customization data.
5785
7b97c764
CY
5786 * allout.el (allout-exposure-change-functions)
5787 (allout-structure-added-functions)
5788 (allout-structure-deleted-functions)
5789 (allout-structure-shifted-functions): Rename abnormal hooks from
5790 *-hook, and convert to defcustoms.
5d3385a0
JB
5791 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5792 Convert to defcustoms.
7b97c764
CY
5793 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5794
5795 * allout-widgets.el: Hook callers changed.
5796
90207a15 57972012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5798
5799 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5800 the yanked message in preference to the default value of
5801 buffer-file-coding-system.
5802
90207a15 58032012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5804
5d3385a0
JB
5805 * window.el (display-buffer--action-function-custom-type):
5806 Fix entry.
d9558cad 5807
90207a15 58082012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5809
5810 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5811
d80ac57b
GM
58122012-05-01 Glenn Morris <rgm@gnu.org>
5813
976f7668
GM
5814 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5815
beb83b5a
GM
5816 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5817
d80ac57b
GM
5818 * cus-edit.el (custom-variable-documentation): Simplify with format.
5819
b593d6a9 58202012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5821 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5822
5823 * simple.el (suggest-key-bindings, execute-extended-command):
5824 Move from keyboard.c.
5825
782fbf2a
CY
58262012-05-01 Chong Yidong <cyd@gnu.org>
5827
5828 * follow.el: Eliminate advice.
5829 (set-process-filter, process-filter, sit-for): Advice deleted.
5830 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5831 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5832 Vars deleted.
782fbf2a
CY
5833 (follow-auto): Use a :set function.
5834 (follow-mode): Rewritten. Don't advise process filters.
5835 (follow-switch-to-current-buffer-all, follow-scroll-up)
5836 (follow-scroll-down): Assume follow-mode is bound.
5837 (follow-comint-scroll-to-bottom)
5838 (follow-align-compilation-windows): New functions.
5839 (follow--window-sorter): New function.
5840 (follow-all-followers): Use it to explicitly sort windows by their
5841 positions; don't make assumptions about next-window order.
5842 (follow-windows-start-end, follow-delete-other-windows-and-split)
5843 (follow-calc-win-start): Doc fix.
5844 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5845 vertical-motion unnecessarily.
5846 (follow-adjust-window): New function.
5847 (follow-post-command-hook): Use it.
5848 (follow-call-set-process-filter, follow-call-process-filter)
5849 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5850 (follow-stop-intercept-process-output, follow-generic-filter):
5851 Functions deleted.
5852 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5853 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5854 New functions, replacing advice on scroll-bar-* commands.
87233a14 5855 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5856
5857 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5858 (comint-postoutput-scroll-to-bottom): Use it.
5859 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5860
290af740
GM
58612012-05-01 Glenn Morris <rgm@gnu.org>
5862
5863 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5864 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5865 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5866 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5867 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5868 Remove no-byte-compile setting.
5869
6eac8dc9
SM
58702012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5873 all-completions code to not return a number in the last cdr.
5874
9cc7819c
LL
58752012-04-30 Leo Liu <sdl.web@gmail.com>
5876
5877 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5878 read-only error.
5879
c93b886f
CY
58802012-04-29 Chong Yidong <cyd@gnu.org>
5881
5882 * follow.el (follow-calc-win-end): Rewrite to handle partial
5883 screen lines correctly (Bug#8390).
5884 (follow-avoid-tail-recenter): Minor cleanup.
5885
8b6c19f4
SM
58862012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 Avoid the obsolete `assoc' package.
5889 * speedbar.el (speedbar-refresh): Avoid adelete.
5890 (speedbar-file-lists): Simplify and avoid aput.
5891 * man.el (Man--sections, Man--refpages): New vars, replacing
5892 Man-sections-alist and Man-refpages-alist.
5893 (Man-build-section-alist, Man-build-references-alist):
5894 Use them; avoid aput.
5895 (Man--last-section, Man--last-refpage): New vars.
5896 (Man-follow-manual-reference): Use them.
5897 Use the `default' arg of completing-read.
5898 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5899
c5bb7569
CY
59002012-04-27 Chong Yidong <cyd@gnu.org>
5901
d1d2e2e8
CY
5902 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5903
15cd8efd
CY
5904 * startup.el (x-apply-session-resources): New function.
5905
5906 * term/ns-win.el (ns-initialize-window-system):
5907 * term/w32-win.el (w32-initialize-window-system):
5908 * term/x-win.el (x-initialize-window-system): Use it to properly
5909 set menu-bar-mode and other vars from X resources, even if the
5910 initial frame is not a window-system frame (Bug#2299).
5911
c5bb7569
CY
5912 * subr.el (read-key): Avoid running filter function when setting
5913 up temporary tool bar entries (Bug#9922).
5914
a8e7d6d7 59152012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5916
5917 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5918 (Bug#11344)
5919
a8e7d6d7 59202012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5921
5922 * select.el (xselect--encode-string): New function, split from
5923 xselect-convert-to-string.
5924 (xselect-convert-to-string): Use it.
5925 (xselect-convert-to-filename, xselect-convert-to-os)
5926 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5927 returned strings are properly encoded (Bug#11315).
5928
a8e7d6d7 59292012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5930
5931 * simple.el (delete-active-region): Move to killing custom group.
5932
a8e7d6d7 59332012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5934
5935 * progmodes/which-func.el (which-func-current): Quote %
5936 characters for mode-line processing.
5937
578c1d4b 59382012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5939
5940 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5941 reaching eob (Bug#11286).
5942
a8e7d6d7 59432012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5944
5945 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5946 (gdb): Make it buffer-local and init to zero.
5947 (gdb-control-commands-regexp): New variable.
5948 (gdb-send): Don't wrap in "-interpreter-exec console" if
5949 gdb-control-level is positive. Increment gdb-control-level
5950 whenever the command matches gdb-control-commands-regexp, and
5951 decrement it each time the command is "end". (Bug#11279)
5952
a8e7d6d7 59532012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5954
5955 * window.el (adjust-window-trailing-edge, enlarge-window)
5956 (shrink-window, window-resize):
5957 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5958 windows (Bug#11276).
5959
b3608390
CY
59602012-04-27 Chong Yidong <cyd@gnu.org>
5961
5962 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5963 fix "missing prefix" warning. All callers changed.
b3608390 5964
797e6e88
SM
59652012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * emacs-lisp/assoc.el: Move to obsolete/.
5968
e95a67dc
SM
59692012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5970
657c21e4 5971 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5972
5973 * term/ns-win.el (ns-define-service):
5974 * progmodes/pascal.el (pascal-goto-defun):
5975 * progmodes/js.el (js--read-tab):
5976 * progmodes/etags.el (tags-lazy-completion-table):
5977 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5978 * emacs-lisp/ewoc.el (ewoc--wrap):
5979 * emacs-lisp/assoc.el (aput, adelete, amake):
5980 * doc-view.el (doc-view-convert-current-doc):
5981 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5982
cb3e7ae0
CY
59832012-04-26 Chong Yidong <cyd@gnu.org>
5984
dce04f7f
CY
5985 * image.el (image-type-from-buffer): Only return supported image
5986 type (Bug#9045).
5987
cb3e7ae0
CY
5988 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5989 value, for symmetry with diff-end-of-hunk.
5990 (diff-split-hunk, diff-find-source-location)
5991 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5992 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5993 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5994 compute the relevant hunk or file properly (Bug#6005).
5995 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5996
0d42eb3e
SM
59972012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * vc/vc-mtn.el:
6000 * vc/vc-hg.el:
6001 * vc/vc-git.el:
6002 * vc/vc-dir.el:
6003 * vc/vc-cvs.el:
6004 * vc/vc-bzr.el:
6005 * vc/vc-arch.el:
6006 * vc/vc.el: Replace lexical-let by lexical-binding.
6007 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6008 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6009 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6010
f08ae1c9
CY
60112012-04-26 Chong Yidong <cyd@gnu.org>
6012
8b71081d
CY
6013 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6014 (diff-mode-shared-map): Bind it to / and [remap undo].
6015
f08ae1c9
CY
6016 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6017 (ediff-window-setup-function): Use it as the default, to set up
6018 windows based on whether the current frame is graphical (Bug#2138).
6019 (ediff-choose-window-setup-function-automatically): Make obsolete.
6020
6021 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6022
ef24141c
SM
60232012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6024
cc356a5d
SM
6025 * ffap.el: Remove old code for obsolete package.
6026 (ffap-complete-as-file-p): Remove.
6027
b4ff4f1f
SM
6028 Use completion-table-with-quoting for comint and pcomplete.
6029 * comint.el (comint--unquote&requote-argument)
6030 (comint--unquote-argument, comint--requote-argument): New functions.
6031 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6032 (comint-quote-filename): Use regexp-opt-charset.
6033 (comint--common-suffix, comint--common-quoted-suffix)
6034 (comint--table-subvert): Remove.
6035 (comint-unquote-function, comint-requote-function): New vars.
6036 (comint--complete-file-name-data): Use them with
6037 completion-table-with-quoting.
6038 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6039 * pcomplete.el (pcomplete-arg-quote-list)
6040 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6041 (pcomplete-unquote-argument-function): Default to non-nil.
6042 (pcomplete-unquote-argument): Simplify.
6043 (pcomplete--common-quoted-suffix): Remove.
6044 (pcomplete-requote-argument-function): New var.
6045 (pcomplete--common-suffix): New function.
6046 (pcomplete-completions-at-point): Use completion-table-with-quoting
6047 and completion-table-subvert.
6048
79c4eeb4
SM
6049 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6050 (minibuffer--double-dollars): Preserve properties.
6051 (completion--sifn-requote): New function.
6052 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6053
ef24141c
SM
6054 * minibuffer.el: Add support for completion of quoted/escaped data.
6055 (completion-table-with-quoting, completion-table-subvert): New funs.
6056 (completion--twq-try, completion--twq-all): New functions.
6057 (completion--nth-completion): New function.
6058 (completion-try-completion, completion-all-completions): Use it.
6059
784e7d6e
LL
60602012-04-25 Leo Liu <sdl.web@gmail.com>
6061
dd2ac746
SM
6062 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6063 Use compilation-message if available to find real filename.
784e7d6e 6064
07875ee7
CY
60652012-04-25 Chong Yidong <cyd@gnu.org>
6066
6067 * vc/diff-mode.el (diff-setup-whitespace): New function.
6068 (diff-mode): Use it.
6069
6070 * vc/diff.el (diff-sentinel):
6071 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6072 Whitespace mode variables based on diff style (Bug#8612).
6073
5055880d
LL
60742012-04-25 Leo Liu <sdl.web@gmail.com>
6075
daf75653
LL
6076 * progmodes/python.el (python-send-region): Add suffix .py to the
6077 temp file.
6078
5055880d
LL
6079 * files.el (auto-mode-alist): Use javascript-mode instead.
6080
db9b177b
AH
60812012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6082
ef24141c 6083 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6084
090bd7cb 6085 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6086 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6087 references, see Bug#9.
ef24141c 6088 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6089 when receiving a fault reply.
ef24141c 6090 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6091
090bd7cb 6092 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6093 (soap-inspect-simple-type): New function.
db9b177b 6094
090bd7cb 6095 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6096 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6097 (soap-decode-basic-type, soap-encode-basic-type):
6098 support unsignedInt and double basic types.
db9b177b 6099 (soap-resolve-references-for-simple-type)
ef24141c
SM
6100 (soap-parse-simple-type, soap-encode-simple-type): New function.
6101 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6102
090bd7cb 6103 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6104 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6105 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6106 the local name of "soapenc:Array".
6107 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6108 decoding integer, byte and anyURI xsd types.
6109
1fc6097b
CY
61102012-04-25 Chong Yidong <cyd@gnu.org>
6111
6112 * cus-edit.el (custom-buffer-create-internal): Update header text.
6113
afc6df87
EZ
61142012-04-25 Eli Zaretskii <eliz@gnu.org>
6115
6116 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6117 settings on 'system-type', not on 'window-system'. On MS-Windows,
6118 set interactive-mode on in GDB.
6119
dfbd787f
SM
61202012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6123 (ruby-syntax-propertize-regexp): Remove.
6124 (ruby-syntax-propertize-function): Split regexp into chunks.
6125 Match following code directly.
6126
85222d44
DG
61272012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6128
51a8ea2a
DG
6129 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6130 (ruby-syntax-propertize-regexp): New function.
6131 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6132 by a special keyword.
6133
85222d44
DG
6134 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6135 (ruby-syntax-general-delimiters-goto-beg)
6136 (ruby-syntax-propertize-general-delimiters): New functions.
6137 (ruby-syntax-propertize-function): Use them to handle GDL.
6138 (ruby-font-lock-keywords): Move old handling of GDL...
6139 (ruby-font-lock-syntactic-keywords): .. to here.
6140 (ruby-calculate-indent): Adjust indentation for GDL.
6141
b613912b
MA
61422012-04-24 Michael Albinus <michael.albinus@gmx.de>
6143
b5380639
MA
6144 * notifications.el (top): Remove unneeded declarations.
6145 (notifications-specification-version): Change to "1.2".
e43042fe 6146 (notifications-interface, notifications-notify-method)
b613912b
MA
6147 (notifications-close-notification-method): Fix docstring.
6148 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6149 (notifications-notify): Add :action-items, :resident and
6150 :transient hints. Change "image_data" to "image-data" and
6151 "image_path" to "image-path".
b613912b
MA
6152 (notifications-get-capabilities): New defun.
6153
257440aa
LL
61542012-04-24 Leo Liu <sdl.web@gmail.com>
6155
6156 * progmodes/python.el: Move hideshow setup to the end.
6157
b1bac16e
MR
61582012-04-24 Martin Rudalics <rudalics@gmx.at>
6159
6160 * window.el (handle-select-window): Clear echo area since this is
6161 no more done by read_char (Bug#11304).
6162
d81bd059
SM
61632012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6166 and `/ M' to filter-derived-mode.
6167 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6168 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6169 (ibuffer-mark-by-mode): Use default rather than initial-input.
6170 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6171
c4cf6d91
IA
61722012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6173
6174 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6175 (ibuffer-filter-by-derived-mode): New filter.
6176 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6177
7511ded8
CY
61782012-04-23 Andreas Politz <politza@fh-trier.de>
6179
6180 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6181
775c916b
CY
61822012-04-23 Chong Yidong <cyd@gnu.org>
6183
6184 * cus-edit.el (customize-apropos, customize-apropos-options):
6185 Disable matching of non-option variables (Bug#11176).
6186 (customize-option, customize-option-other-window)
6187 (customize-changed-options): Doc fix.
6188 (customize-apropos-options, customize-apropos-faces)
6189 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6190
6191 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6192 Fix word list splitting (Bug#11132).
46c71e23
CY
6193 (apropos-symbol, apropos-keybinding, apropos-label)
6194 (apropos-property, apropos-function-button)
6195 (apropos-variable-button, apropos-misc-button): New faces.
6196 (apropos-symbol-face, apropos-keybinding-face)
6197 (apropos-label-face, apropos-property-face, apropos-match-face):
6198 Variables removed (Bug#8396).
6199 (apropos-library-button, apropos-format-plist, apropos-print)
6200 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6201
2df41f9c
MA
62022012-04-23 Michael Albinus <michael.albinus@gmx.de>
6203
6204 * net/xesam.el (xesam-mode-map): Use let-bound map in
6205 initialization. (Bug#11292)
6206
da00640a
AM
62072012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6208
6209 Preserve ispell session localwords when switching back to
6210 original buffer.
6211
090bd7cb
JB
6212 * textmodes/ispell.el (ispell-buffer-session-localwords):
6213 New buffer-local variable to hold buffer session localwords.
ed9265fc 6214 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6215 localwords.
6216 (ispell-command-loop, ispell-change-dictionary)
6217 (ispell-buffer-local-words): Preserve session localwords when
6218 needed.
6219
090bd7cb
JB
6220 * textmodes/flyspell.el (flyspell-process-localwords)
6221 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6222
f621ccf5
AM
62232012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6224
090bd7cb
JB
6225 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6226 using obsolete `translation-table-for-input'.
ef24141c
SM
6227 (ispell-word, ispell-process-line, ispell-complete-word):
6228 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6229
c2d1019e
CY
62302012-04-22 Chong Yidong <cyd@gnu.org>
6231
6232 * cus-edit.el (custom-variable-menu)
6233 (custom-variable-reset-saved, custom-face-menu)
6234 (custom-face-reset-saved): If there is no saved value, make the
6235 "reset-saved" operation bring back the default (Bug#9509).
6236 (custom-face-state): Properly detect themed faces.
6237
eeddc531
CY
6238 * faces.el (face-spec-set): Stop supporting deprecated form of
6239 third arg.
6240
dcbf5805
MA
62412012-04-22 Michael Albinus <michael.albinus@gmx.de>
6242
6243 Move functions from C to Lisp. Make non-blocking method calls
6244 the default. Implement further D-Bus standard interfaces.
6245
ef24141c
SM
6246 * net/dbus.el (dbus-message-internal): Declare function.
6247 Remove unneeded function declarations.
dcbf5805
MA
6248 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6249 (dbus-message-type-method-return, dbus-message-type-error)
6250 (dbus-message-type-signal): Declare variables. Remove local
6251 definitions.
6252 (dbus-interface-dbus, dbus-interface-peer)
6253 (dbus-interface-introspectable, dbus-interface-properties)
6254 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6255 Adapt docstring.
6256 (dbus-interface-objectmanager): New defconst.
6257 (dbus-call-method, dbus-call-method-asynchronously)
6258 (dbus-send-signal, dbus-method-return-internal)
6259 (dbus-method-error-internal, dbus-register-service)
6260 (dbus-register-signal, dbus-register-method): New defuns, moved
6261 from dbusbind.c
6262 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6263 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6264 New defuns.
dcbf5805
MA
6265 (dbus-call-method-non-blocking): Make it an obsolete function.
6266 (dbus-unregister-object, dbus-unregister-service)
6267 (dbus-handle-event, dbus-register-property)
6268 (dbus-property-handler): Obey the new structure of
6269 `bus-registered-objects'.
6270 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6271 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6272 Use `dbus-call-method'.
6273
cf20dee0
CY
62742012-04-22 Chong Yidong <cyd@gnu.org>
6275
6276 * cus-edit.el (custom-commands, custom-reset-menu)
6277 (Custom-reset-standard): Tweak labels.
6278 (custom-reset-button-menu): Change default to t.
6279 (custom-buffer-create-internal): For the custom-reset-button-menu
6280 case, put the revert button first.
6281 (custom-group-subtitle): New face.
6282 (custom-group-value-create): Align docstring to a specific column.
6283
6284 * wid-edit.el (widget-documentation-link-add): Don't handle
6285 indentation in this function.
6286 (widget-documentation-string-indent-to): New function.
6287 (widget-documentation-string-value-create): Use it.
6288
6289 * autorevert.el (auto-revert):
6290 * epg-config.el (epg):
6291 * ibuffer.el (ibuffer):
6292 * mpc.el (mpc):
6293 * ses.el (ses):
6294 * eshell/eshell.el (eshell):
6295 * net/ange-ftp.el (ange-ftp):
6296 * progmodes/ebnf2ps.el (postscript):
6297 * progmodes/flymake.el (flymake):
6298 * progmodes/prolog.el (prolog):
6299 * progmodes/verilog-mode.el (verilog-mode):
6300 * progmodes/which-func.el (which-func):
6301 * term/xterm.el (xterm):
6302 * textmodes/picture.el (picture):
6303 * textmodes/tildify.el (tildify):
6304 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6305 customization buffers.
6306
583e23bd
AM
63072012-04-22 Alan Mackenzie <acm@muc.de>
6308
6309 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6310 Adding a ) can hide the resulting (..) from searches. Fix it.
6311 Bound the backward search to the position of the existing (.
6312
7dd51bf1
JB
63132012-04-21 Juanma Barranquero <lekktu@gmail.com>
6314
6315 * progmodes/verilog-mode.el (verilog-mode): Check whether
6316 which-func-modes is t before adding verilog-mode.
6317 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6318
d64a438f
LL
63192012-04-21 Leo Liu <sdl.web@gmail.com>
6320
7dd51bf1 6321 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6322
081e8d65
MV
63232012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6324
6325 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6326 filling of the last column of a table (Bug#5635).
6327 (woman-find-next-control-line): New arg, specifying an additional
6328 regexp component for the control line.
6329 (woman2-roff-buffer): Use it.
6330 (woman-break-table): New function.
6331 (woman2-TS): Use it.
6332
63332012-04-21 Chong Yidong <cyd@gnu.org>
6334
6335 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6336 (woman-horizontal-escapes, woman-negative-vertical-space)
6337 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6338 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6339
ed571ccb
SM
63402012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * minibuffer.el (completion-file-name-table): Complete user names.
6343
39773899
LL
63442012-04-20 Leo Liu <sdl.web@gmail.com>
6345
6346 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6347 and pcase-let*.
6348
de6ff46d
CY
63492012-04-20 Chong Yidong <cyd@gnu.org>
6350
6351 * server.el (server-execute): Respect initial-buffer-choice if it
6352 is a string and there are no files to open (Bug#2825).
6353 (server-create-window-system-frame, server-create-tty-frame):
6354 Don't switch buffers here.
2d0e8e61
CY
6355 (server-process-filter): Only try to open a window system frame if
6356 compiled with graphical support (Bug#8314).
de6ff46d 6357
54071013
DN
63582012-04-20 Dan Nicolaescu <dann@gnu.org>
6359
6360 * battery.el (battery-echo-area-format): Display remaining time
6361 for sysfs backend too (Bug#11269).
6362 (battery-linux-sysfs): Fix conditional for the charge.
6363
f30d612a
CY
63642012-04-20 Chong Yidong <cyd@gnu.org>
6365
c07a4c0b 6366 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6367 (gdb-inferior-io--init-proc): New function.
6368 (gdb-init-1): Use it.
6369 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6370 responsible for allocating a new pty and hooking it to gdb when
6371 the old pty gets an EIO due to process exit.
6372 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6373 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6374 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6375
2116e93c
EZ
63762012-04-20 Eli Zaretskii <eliz@gnu.org>
6377
6378 * window.el (window-min-size, window-sizable, window-min-delta)
6379 (window-max-delta, window--resizable, window-resizable)
6380 (window-total-size, window-full-height-p, window-full-width-p)
6381 (window-in-direction, window--resize-mini-window, window-resize)
6382 (window--resize-child-windows-normal)
6383 (window--resize-child-windows, window--resize-siblings)
6384 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6385 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6386
c07a4c0b 63872012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6388
ef24141c
SM
6389 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6390 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6391 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6392 pty process (Bug#11273).
6393 (gdb-update): New arg to suppress talking to the gdb process.
6394 (gdb-done-or-error): Use it.
6395 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6396 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6397 sentinel not being called.
6398
6399 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6400
d02766ab
CY
6401 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6402
c07a4c0b 64032012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6404
6405 * net/network-stream.el (open-network-stream): Doc fix.
6406
c07a4c0b 64072012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6408
6409 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6410
c07a4c0b 64112012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6412
6413 Ensure searching for keywords is case sensitive.
6414
6415 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6416 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6417 (c-defun-name, c-mark-function, c-cpp-define-name)
6418 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6419 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6420
ef24141c
SM
6421 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6422 Bind case-fold-search to nil.
f0f6bc35 6423
c07a4c0b 64242012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6425
6426 * mail/sendmail.el (mail-bury): Call return action with the right
6427 Rmail buffer (Bug#11242).
6428
9a864fa2
CY
6429 * server.el (server-process-filter): Handle corner case where both
6430 tty and nowait options are present (Bug#11102).
6431
539aa513
EZ
64322012-04-20 Eli Zaretskii <eliz@gnu.org>
6433
6434 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6435 (top level): Put into the executable the ident-style '$Id:' tag on
6436 windows-nt as well.
539aa513 6437
cfc7d5da
SM
64382012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * electric.el (electric-indent-post-self-insert-function): Check that
6441 electric-indent-mode is enabled in current buffer.
6442
5b01685c
JB
64432012-04-19 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * imenu.el (imenu-progress-message): Restore; it is "used" in
6446 erc/erc-imenu.el and net/snmp-mode.el.
6447
4d6769e1
JB
64482012-04-19 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6451 (mouse-avoidance-nudge-mouse): Remove unused binding.
6452
6453 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6454
6455 * descr-text.el (describe-char):
6456 * progmodes/python.el (python-describe-symbol):
6457 Don't call `toggle-read-only', set `buffer-read-only'.
6458
6459 * imenu.el (imenu-default-goto-function): Mark unused args.
6460 (imenu-progress-message): Remove obsolete macro; all callers changed.
6461
6462 * subr.el (keymap-canonicalize): Remove unused binding.
6463 (read-passwd): Mark unused arg.
6464
6465 * tutorial.el (tutorial--display-changes): Remove unused binding.
6466 (tutorial--save-tutorial-to): Remove unused variable.
6467
6468 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6469 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6470 (package-generate-autoloads, package-menu--generate)
6471 (package-menu--find-upgrades): Remove unused bindings.
6472
6473 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6474 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6475 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6476 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6477 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6478 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6479 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6480 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6481 (cua-delete-char-rectangle): Mark unused args.
6482 (cua-align-rectangle): Remove unused binding.
6483
6484 * mail/rmail.el (compilation--message->loc)
6485 (epa--find-coding-system-for-mime-charset): Declare.
6486
6487 * net/dbus.el (dbus-register-service): Declare.
6488 (dbus-name-owner-changed-handler): Remove unused binding.
6489
6490 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6491 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6492 (nxml-scan-backward-within): Mark unused arg.
6493 (nxml-dynamic-markup-word): Remove unused binding.
6494
6495 * mouse.el (mouse-menu-major-mode-map):
6496 * emacs-lisp/authors.el (authors-scan-change-log)
6497 (authors-add-to-author-list):
6498 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6499 * emacs-lisp/smie.el (smie-auto-fill):
6500 * mail/sendmail.el (mail-bury):
6501 * mail/unrmail.el (unrmail):
6502 * net/tls.el (open-tls-stream):
6503 * textmodes/picture.el (picture-mouse-set-point):
6504 Remove unused bindings.
6505
8c8fc5df
MA
65062012-04-19 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * net/tramp.el (tramp-action-password): Let-bind
6509 `enable-recursive-minibuffers' to t.
6510
a77b0ac9
SS
65112012-04-18 Sam Steingold <sds@gnu.org>
6512
6513 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6514 instead of 'string to accommodate values like [f11].
6515 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6516 * progmodes/gdb-mi.el: Likewise.
6517
12a106a9
LL
65182012-04-18 Leo Liu <sdl.web@gmail.com>
6519
6520 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6521 current buffer.
6522 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6523 LOCAL is nil.
6524
bc6494ef
CY
65252012-04-18 Chong Yidong <cyd@gnu.org>
6526
6527 * simple.el (line-move): Use forward-line if in batch mode
6528 (Bug#11053).
6529
c09c46b2
CS
65302012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6531
6532 * files.el (after-find-file): Do not try to add a final newline if
6533 the buffer is read-only (Bug#11156).
6534
5f6530ea
RS
65352012-04-17 Richard Stallman <rms@gnu.org>
6536
6537 * mail/rmail.el (rmail-start-mail):
6538 Pass (rmail-mail-return...) for the return-action.
6539 Pass (rmail-yank-current-message...) for the yank-action.
6540 (rmail-yank-current-message): New function.
6541 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6542 (rmail-reply): Likewise.
6543 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6544
6545 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6546 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6547 buffer, not newbuf.
6548
197b6f3c
JB
65492012-04-17 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * server.el (server-ensure-safe-dir): Simplify.
6552
2311d8e5 65532012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6554
2311d8e5
GM
6555 * emacs-lisp/smie.el: Provide smarter auto-filling.
6556 (smie-auto-fill): New function.
6557 (smie-setup): Use it.
98fb480e 6558
2311d8e5
GM
6559 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6560
65612012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6562
6563 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6564 (comment-indent): Use it.
6565
2311d8e5 65662012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6567
6568 * ses.el: The overall change is to add cell renaming, that is
6569 setting fancy names for cell symbols other than name matching
6570 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6571 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6572 (ses-create-cell-variable): New defun.
2311d8e5 6573 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6574 (ses-relocate-formula): Relocate formulas only for cells the
6575 symbols of which are not renamed, i.e. symbols whose names do not
6576 match regexp "\\`[A-Z]+[0-9]+\\'".
6577 (ses-relocate-all): Relocate values only for cells the symbols of
6578 which are not renamed.
6579 (ses-load): Create cells variables as the (ses-cell ...) are read,
6580 in order to check row col consistency with cell symbol name only
6581 for cells that are not renamed.
6582 (ses-replace-name-in-formula): New defun.
6583 (ses-rename-cell): New defun.
4bdf2ad2 6584
fc72b15c
PO
65852012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6586
6587 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6588 New option (bug#11118).
6589 (perl-calculate-indent): Respect it.
6590
12e10e61
GM
65912012-04-17 Glenn Morris <rgm@gnu.org>
6592
6593 * dired-aux.el (dired-mark-read-string): Doc fix.
6594
30009afd
DA
65952012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6596
6597 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6598 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6599
41f03f4d
GM
66002012-04-17 Glenn Morris <rgm@gnu.org>
6601
6602 * mouse.el (mouse-drag-track):
6603 * speedbar.el (speedbar-frame-mode):
6604 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6605
f45f90f3
LL
66062012-04-16 Leo Liu <sdl.web@gmail.com>
6607
6608 * progmodes/python.el: Trivial cleanup.
6609
94ee8db5
GM
66102012-04-16 Glenn Morris <rgm@gnu.org>
6611
121b8917
GM
6612 * vc/vc.el (vc-string-prefix-p):
6613 * vc/pcvs-util.el (cvs-string-prefix-p):
6614 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6615 * mpc.el (mpc-string-prefix-p):
6616 Make all of these into obsolete aliases for string-prefix-p.
6617 Update callers.
6618 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6619
1197ecfa
GM
6620 * textmodes/two-column.el: Move custom options to the start.
6621 (frame-width): Remove compat definition.
6622 (2C-associate-buffer, 2C-dissociate):
6623 Use with-current-buffer rather than save-excursion.
6624 (2C-dissociate): Force a mode-line update.
6625 (2C-autoscroll): Use ignore-errors.
6626
099e7202
GM
6627 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6628 Autoload trivia.
6629
bf350d6a
GM
6630 * emacs-lisp/cl-extra.el (*random-state*):
6631 Remove unnecessary declaration.
6632
0e829eab
GM
6633 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6634
e3ad7552
GM
6635 * play/cookie1.el (cookie-snarf):
6636 Give an explicit error if input file cannot be read.
6637
68892d27
GM
6638 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6639
20f0c46d
GM
6640 * progmodes/perl-mode.el (c-macro-expand):
6641 Remove unnecessary autoload (it is in loaddefs.el).
6642
5a0978ce
GM
6643 * textmodes/picture.el (picture-desired-column)
6644 (picture-update-desired-column): Convert comments to doc-strings.
6645 (picture-substitute): Remove function.
6646 (picture-mode-map): Initialize in the defvar.
6647
6b955486
GM
6648 * woman.el: Remove eval-after-load for tar-mode.
6649 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6650 (woman-tar-extract-file): Autoload it.
6651
94ee8db5
GM
6652 * frame.el (automatic-hscrolling): Make this alias obsolete.
6653
177eca34
AM
66542012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6655
090bd7cb 6656 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6657 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6658 (ispell-dictionary-base-alist): Revert to original XEmacs
6659 friendly version for default. [:alpha:] will be added in
090bd7cb 6660 `ispell-set-spellchecker-params' if needed.
177eca34 6661
c505aaeb
CY
66622012-04-16 Chong Yidong <cyd@gnu.org>
6663
b19dd9d1 6664 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6665 (imagemagick-register-types): Use it.
6666 (imagemagick-types-inhibit): Add :set function. Allow new value
6667 of t to inhibit all types.
6668
6669 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6670 so we can preload it.
6671
6672 * loadup.el (fboundp): Preload regexp-opt, needed by
6673 imagemagick-register-types.
6674
60efac0f
CY
66752012-04-15 Chong Yidong <cyd@gnu.org>
6676
6677 * frame.el (scrolling): Remove nearly unused customization group.
6678
6679 * scroll-all.el (scroll-all-mode): Move to windows group.
6680
5dd1713e
CY
66812012-04-15 Chong Yidong <cyd@gnu.org>
6682
6683 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6684
e6fd457e
CY
66852012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6688 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6689
e153c136
GM
66902012-04-15 Glenn Morris <rgm@gnu.org>
6691
6692 * simple.el (process-file-side-effects): Doc fix.
6693
e6fd457e 66942012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6695
6696 * international/mule-cmds.el (set-language-environment): Doc fix.
6697
3603c3b1
JB
66982012-04-14 Juanma Barranquero <lekktu@gmail.com>
6699
6700 * server.el (server-auth-key, server-generate-key): Doc fixes.
6701 (server-get-auth-key): Doc fix. Use `string-match-p'.
6702 (server-start): Reflow docstring.
6703
e6de100c
LI
67042012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6705
6706 * server.el (server-generate-key): `called-interactively-p'
6707 requires a parameter.
6708
29734c21
MN
67092012-04-14 Michal Nazarewicz <mina86@mina86.com>
6710
6711 * server.el (server-auth-key): New variable.
75f1671a 6712 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6713 (server-start): Use the new variable and functions to allow
6714 setting a permanent server key (bug#9423).
6715
d65c9521
LL
67162012-04-14 Leo Liu <sdl.web@gmail.com>
6717
6718 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6719
5ae255c7
PE
67202012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6721
6722 Spelling fixes.
6723 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6724 Emacs uses American spelling.
6725
d5e6342e
JB
67262012-04-14 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6729 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6730 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6731 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6732
ab036cd7
SM
67332012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * progmodes/which-func.el (which-func-modes): Change default.
6736
35dc09a1 67372012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6738
6739 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6740 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6741
35dc09a1 67422012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6743
6744 * custom.el (custom-theme-set-variables): Doc fix.
6745
35dc09a1 67462012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6747
6748 * international/mule.el (set-auto-coding-for-load): Doc fix.
6749
35dc09a1 67502012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6751
35dc09a1
GM
6752 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6753 imenu work again for Objective C Mode. Correct the *-index values,
6754 these having been disturbed by a previous change in 2011-08.
57f845ee 6755
0de3da9f
AM
6756 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6757 Correct two search limits.
6758
35dc09a1 67592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6760
6761 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6762
35dc09a1 67632012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6764
6765 * international/characters.el: Fix sorting.
6766
35dc09a1 67672012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6768
6769 * international/characters.el: Add more missing Latin case pairs.
6770
35dc09a1 67712012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6772
6773 * files.el (dir-locals-set-class-variables): Doc fix.
6774
35dc09a1 67752012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6776
3f1b5bf8
EZ
6777 * international/characters.el: Add set-case-syntax-pair call for
6778 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6779 counterpart. (Bug#11209)
6780
9f847f41
EZ
6781 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6782
35dc09a1 67832012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6784
6785 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6786
35dc09a1 67872012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6788
35dc09a1
GM
6789 * textmodes/ispell.el (ispell-dictionary-base-alist):
6790 Add data for Hebrew.
e2627d21 6791
35dc09a1 67922012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6793
35dc09a1
GM
6794 * net/rcirc.el (rcirc-cmd-quit):
6795 Revert 2012-03-18 change (Bug#11192).
5c14e333 6796
35dc09a1 67972012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6798
6799 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6800
35dc09a1 68012012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6802
4517fe3a
SM
6803 * minibuffer.el (completion-in-region-mode-map):
6804 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6805
b472a594
VD
68062012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6807
6808 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6809
09b95ce3
MY
68102012-04-13 Masatake YAMATO <yamato@redhat.com>
6811
6812 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6813 to allow `C-M-f' and `C-M-b' to move to the nearest path
6814 separator (bug#9511).
6815
4b63a9ca
LI
68162012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6817
6818 * avoid.el: Require cl when compiling. And also move the
6819 `provide' to the end.
6820
7b55b8bf
TV
68212012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6822
6823 * avoid.el (mouse-avoidance-banish-position): New variable.
6824 (mouse-avoidance-banish-destination): Use it (bug#10165).
6825
adedaa1f
LL
68262012-04-13 Leo Liu <sdl.web@gmail.com>
6827
6828 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6829
70e74021
KB
68302012-04-13 Ken Brown <kbrown@cornell.edu>
6831
6832 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6833 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6834 (browse-url-filename-alist): For the same reason, don't modify
6835 file:// URLs on Cygwin.
6836
e75e89ba
SM
68372012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6840 the region on shift if the binding is already shifted (bug#11221).
6841
82f289a4
GM
68422012-04-12 Glenn Morris <rgm@gnu.org>
6843
6844 * mail/mailpost.el: Move to obsolete/.
6845
d333dc4c
DA
68462012-04-12 Drew Adams <drew.adams@oracle.com>
6847
6848 * imenu.el (imenu--generic-function): Ignore invisible definitions
6849 (bug#10123).
6850
0d15b5ba
VD
68512012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6852
6853 * hexl.el (hexl-bits): New variable.
6854 (hexl-options): Mention the variable in the doc string.
75f1671a 6855 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6856 (hexl-mode): Mention the new variable.
75f1671a
JB
6857 (hexl-mode, hexl-current-address, hexl-current-address):
6858 Use the displen.
0d15b5ba
VD
6859 (hexl-ascii-start-column): New function.
6860 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6861 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6862
64a440db
AM
68632012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6864
6865 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6866 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6867 the encoding, as expected by hunspell.
6868
6decb6c2
SM
68692012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * battery.el (battery--linux-sysfs-regexp): New const.
6872 (battery-status-function): Use it. Remove yeeloong special case.
6873 (battery-yeeloong-sysfs): Remove.
6874 (battery-echo-area-format): Remove yeeloong special case.
6875
088be6fb
SM
68762012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6622e416
SM
6878 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6879 Reported by Noah Friedman.
6880
088be6fb
SM
6881 * subr.el (read-passwd): Use read-string.
6882
b49f886e
LMI
68832012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6884
6885 * vcursor.el (vcursor-move): Increase the priority of the overlay
6886 (bug#9663).
6887
a63067fc
DD
68882012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6889
6890 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6891 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6892
ac3cf14a
WS
68932012-04-11 William Stevenson <yhvh2000@gmail.com>
6894
6895 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6896 define-minor-mode (bug#10760).
6897
c4fc691b 68982012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6899
4d6769e1 6900 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6901 that directories matching `grep-find-ignored-files' won't be
6902 pruned (bug#10351).
6903
af23e2e5
CY
69042012-04-11 Chong Yidong <cyd@gnu.org>
6905
6906 * startup.el (command-line): Remove support for long-obsolete
6907 variable font-lock-face-attributes.
6908
ab7ce8c1
GM
69092012-04-11 Glenn Morris <rgm@gnu.org>
6910
6911 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6912
de8c03dc
SM
69132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * window.el (window--state-get-1): Obey window-point-insertion-type.
6916
050cc68b
LB
69172012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6918
6919 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6920 to previous function when point is on the first character of a
75f1671a 6921 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6922
a38c310c
GM
69232012-04-11 Glenn Morris <rgm@gnu.org>
6924
effed0c2
GM
6925 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6926 not just file-errors.
6927
a38c310c
GM
6928 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6929 (vc-bzr-sha1): Use internal sha1.
6930
0221e323
SM
69312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6934
43956923
SG
69352012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6936
6937 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6938 that start in the middle of the line (bug#10496).
6939
6a8c9eaf
DN
69402012-04-10 Dan Nicolaescu <dann@gnu.org>
6941
6942 * battery.el (battery-linux-proc-acpi): Only one battery is
6943 discharged at a time, but that seems to confuse battery.el when
6944 computing `rate-type' for the battery not being discharged
6945 (bug#10332).
6946
1930bf5d
SM
69472012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6948
2a718f6f
SM
6949 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6950
599430d0
SM
6951 * international/quail.el: Use dolist and simplify.
6952 (quail-define-package, quail-update-keyboard-layout)
6953 (quail-define-rules): Use dolist.
6954 (quail-insert-kbd-layout, quail-get-translation): CSE.
6955
a2754b6c
SM
6956 * tmm.el: Use dolist, remove left over hook.
6957 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6958 Use dolist.
6959 (calendar-load-hook): Don't mess with it.
6960
1930bf5d
SM
6961 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6962 Use derived-mode-p. Run the diff asynchronously.
6963
9f67961c
LMI
69642012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
6966 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6967
2a8ce227
JB
69682012-04-10 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6971 (list-dynamic-libraries--loaded): New function.
6972 (list-dynamic-libraries--refresh): Use it.
6973
8f33b5f8
NW
69742012-04-10 Nathan Weizenbaum <nweiz@google.com>
6975
1930bf5d
SM
6976 * progmodes/python.el (python-fill-paragraph):
6977 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6978 disabled (bug#7018).
6979
b12f0439
L
69802012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
6981
1930bf5d 6982 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6983 DOS/MS Windows for the Baltic languages. There are still plenty
6984 of texts written in this encoding/codepage (bug#6519).
b12f0439 6985
57c3bd01
GM
69862012-04-10 Glenn Morris <rgm@gnu.org>
6987
6988 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6989 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6990
6c3eab30
FA
69912012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6992
1930bf5d 6993 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6994 next-line "n" and previous-line "p" in order to make recentf more
6995 consistent with ibuffer, dired or org-mode (bug#9387).
6996
24d78a88
LMI
69972012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
bc72b5d9
LMI
6999 * image.el (put-image): Return the overlay created instead of the
7000 optional input string (bug#7834). Note that this may break code
7001 that is (for some reason or other) depending on `put-image'
7002 returning the string.
7003
bd2dba5a
LMI
7004 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7005
74beb59f
LMI
7006 * simple.el (zap-to-char): Allow zapping using input methods
7007 (bug#1580).
7008
24d78a88
LMI
7009 * textmodes/fill.el (fill-region): Leave point and mark where they
7010 were before filling (bug#5399).
7011
263f20cd
GM
70122012-04-09 Glenn Morris <rgm@gnu.org>
7013
7014 * version.el (emacs-bzr-get-version):
7015 Handle lightweight checkouts of local branches.
7016
58d1f797
AS
70172012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7018
263f20cd 7019 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7020
b4d3bc10
CY
70212012-04-09 Chong Yidong <cyd@gnu.org>
7022
7023 * custom.el (custom-variable-p): Return nil for non-symbol
7024 arguments instead of signaling an error.
7025 (user-variable-p): Obsolete alias for custom-variable-p.
7026
7027 * apropos.el (apropos-variable):
7028 * files-x.el (read-file-local-variable):
7029 * simple.el (set-variable):
7030 * woman.el (woman-mini-help):
7031 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7032
fd06db5d
GM
70332012-04-09 Glenn Morris <rgm@gnu.org>
7034
e5fcdb5e
GM
7035 * startup.el (normal-top-level): Don't look for leim-list.el
7036 in places where it will not be found. (Bug#910)
7037
fd06db5d
GM
7038 * international/mule-cmds.el (set-default-coding-systems):
7039 * files.el (normal-mode):
7040 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7041 This function was removed with ucs-tables.el in 2008.
7042
b39bb7e1
EZ
70432012-04-08 Eli Zaretskii <eliz@gnu.org>
7044
7045 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7046 ispell-encoding8-command to "-i", without a trailing space.
7047 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7048 separate command-line arguments, to specify the encoding, since
7049 that's how hunspell expects it.
7050
5c5b8e23
GM
70512012-04-08 Glenn Morris <rgm@gnu.org>
7052
7053 * loadup.el: Load bindings before cus-start.
7054 This reduces somewhat the number of "rogue" settings in emacs -Q.
7055
a1ed8b05
GM
70562012-04-07 Glenn Morris <rgm@gnu.org>
7057
7058 * version.el (emacs-bzr-get-version): New function.
dfae128a 7059 (emacs-bzr-version): New variable.
a1ed8b05
GM
7060 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7061 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7062
b142f158
EZ
70632012-04-07 Eli Zaretskii <eliz@gnu.org>
7064
dfae128a
GM
7065 * international/uni-bidi.el, international/uni-category.el:
7066 * international/uni-combining.el, international/uni-decimal.el:
7067 * international/uni-decomposition.el, international/uni-digit.el:
7068 * international/uni-lowercase.el, international/uni-mirrored.el:
7069 * international/uni-name.el, international/uni-numeric.el:
7070 * international/uni-titlecase.el, international/uni-uppercase.el:
7071 Update for Unicode 6.1.
b142f158 7072
9078ead6
EZ
70732012-04-07 Eli Zaretskii <eliz@gnu.org>
7074
7075 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7076
f23d2c7d
LMI
70772012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078
7079 * window.el (shrink-window): Mention the `window-min-height'
7080 variable in the doc string.
7081
0a0a3573
BG
70822012-04-05 Bastien Guerry <bzg@altern.org>
7083
7084 * color.el (color-lighten-name): Fix typo.
7085
e5248ac9
SM
70862012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * server.el (server--on-display-p): New function.
7089 (server--on-display-p): Use it.
7090
b4243e22
GV
70912012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7092
7093 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7094 (bug#11145).
7095
305d9f44
SM
70962012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * comint.el (comint--common-quoted-suffix): Check string boundary
7099 before comparing (bug#11158).
7100 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7101
3d439cd1
CY
71022012-04-04 Chong Yidong <cyd@gnu.org>
7103
321cc491
CY
7104 * minibuffer.el (completion-extra-properties): Doc fix.
7105
3d439cd1
CY
7106 * subr.el (delayed-warnings-hook): Doc fix.
7107
2d562c0f
DU
71082012-04-04 Daiki Ueno <ueno@unixuser.org>
7109
7110 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7111 selection (Bug#11159).
7112 (epa-insert-keys): Inform that the default public key will be
7113 exported if no key is selected.
7114
4443f204
RS
71152012-04-04 Richard Stallman <rms@gnu.org>
7116
7117 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7118
529c06b6
CY
71192012-04-03 Chong Yidong <cyd@gnu.org>
7120
7121 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7122 mail-insert-file, not its obsolete alias mail-attach-file.
7123
66b907dc
MA
71242012-04-03 Michael Albinus <michael.albinus@gmx.de>
7125
7126 * notifications.el (notifications-notify): Fix docstring.
7127
c0ea195d
GM
71282012-04-02 Glenn Morris <rgm@gnu.org>
7129
7130 * emacs-lisp/authors.el (authors-aliases): Another addition.
7131
5ca64e00
MA
71322012-04-02 Michael Albinus <michael.albinus@gmx.de>
7133
7134 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7135 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7136 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7137
42ee526b
CY
71382012-04-01 Chong Yidong <cyd@gnu.org>
7139
7140 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7141 Handle root directory properly.
7142 (copy-directory): Caller changed.
7143
7144 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7145 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7146
0b021094
GM
71472012-03-31 Glenn Morris <rgm@gnu.org>
7148
40f86458
GM
7149 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7150
7019c177
GM
7151 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7152
a1daddd6
GM
7153 * calendar/calendar.el (calendar-window-list)
7154 (calendar-hide-window): Restore. (Bug#11140)
7155 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7156
0b021094
GM
7157 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7158
40311efc
TV
71592012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7160
7161 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7162 Check if file is a symlink (Bug#10489).
7163
7164 * files.el (copy-directory): Likewise.
7165
5319014e
CY
71662012-03-30 Chong Yidong <cyd@gnu.org>
7167
7168 * image.el (imagemagick-types-inhibit)
7169 (imagemagick-register-types): Doc fix.
7170
935d1290
AM
71712012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7172
090bd7cb 7173 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7174 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7175 and treats ~word as ordinary words in pipe mode.
935d1290 7176
61c6e8fd
GM
71772012-03-30 Glenn Morris <rgm@gnu.org>
7178
7179 * tutorial.el (help-with-tutorial): Ensure local variables don't
7180 happen to make the buffer read-only. (Bug#11127)
7181
81fdff00
SM
71822012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7185 (perl-calculate-indent): Return `noindent' in strings.
7186
6e7a6ec0
SS
71872012-03-28 Sam Steingold <sds@gnu.org>
7188
7189 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7190 instead of the broken adhockery which does not prevent calendar
7191 buffers from being displayed at random after exit.
7192 (calendar-window-list, calendar-hide-window): Remove the broken
7193 adhockery.
7194
fee88ca0
GM
71952012-03-28 Glenn Morris <rgm@gnu.org>
7196
7197 * replace.el (query-replace-map): Doc fix.
7198
38de3354
AS
71992012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7200
7201 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7202 contents. (Bug#11109)
7203
b973155e
SM
72042012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7207 (bug#11077).
7208 (avl-tree--check, avl-tree--check-node): New funs.
7209
dcb6e7b3
MR
72102012-03-27 Martin Rudalics <rudalics@gmx.at>
7211
7212 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7213 (switch-to-prev-buffer, switch-to-next-buffer):
7214 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7215 showing a buffer already is done on the same frame.
7216
b4fa35fa
GM
72172012-03-27 Glenn Morris <rgm@gnu.org>
7218
7219 * startup.el (mail-host-address): Doc fix.
7220
f9210e18
SM
72212012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7224 than 197 variables.
7225
c0bf7753
AF
72262012-03-26 Ami Fischman <ami@fischman.org>
7227
7228 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7229
33da7b16
GM
72302012-03-26 Glenn Morris <rgm@gnu.org>
7231
02243d9d
GM
7232 * files.el (save-buffers-kill-emacs): Doc fix.
7233
33da7b16
GM
7234 * startup.el (normal-top-level, command-line, command-line-1):
7235 Give them doc strings.
7236
e5a69fd0
EZ
72372012-03-25 Eli Zaretskii <eliz@gnu.org>
7238
7239 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7240 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7241
9a69676a
CY
72422012-03-25 Chong Yidong <cyd@gnu.org>
7243
4125cb8b
CY
7244 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7245 theme if it was previously enabled before (Bug#11031).
7246
dd470960
CY
7247 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7248 spec with custom-face-get-current-spec if its :shown-value is not
7249 determined yet (Bug#9337).
4125cb8b 7250 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7251
9a69676a
CY
7252 * button.el (button-at): Minor addition to docstring.
7253
6e7e90fa
SL
72542012-03-24 Simon Leinen <simon.leinen@gmail.com>
7255
7256 * vc/vc.el (vc-merge): Fix a prompt.
7257
f06e2758
CY
72582012-03-24 Chong Yidong <cyd@gnu.org>
7259
7260 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7261 point (Bug#9623).
7262
6e7e90fa
SL
7263 * button.el (button-at): Minor addition to docstring.
7264
b9d0879b
SM
72652012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * newcomment.el (comment-choose-indent): No space after BOL.
7268
e71cebb3
SS
72692012-03-22 Sam Steingold <sds@gnu.org>
7270
7271 * window.el (switch-to-prev-buffer): Revert last patch because the
7272 bug turned out to be an advertised feature (Elisp manual 28.14).
7273
335aff35
GM
72742012-03-22 Glenn Morris <rgm@gnu.org>
7275
7276 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7277 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7278
c676576a
LMI
72792012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * net/network-stream.el (network-stream-open-starttls): Make error
7282 message under Windows be less misleading.
7283
126f3d39
LW
72842012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7285
7286 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7287 understands (bug#9942).
7288
64fee311
CY
72892012-03-22 Chong Yidong <cyd@gnu.org>
7290
7291 * simple.el (end-of-visible-line): Handle return value of
7292 next-single-property-change properly (Bug#9371).
7293
a640d29a
KH
72942012-03-22 Kenichi Handa <handa@m17n.org>
7295
7296 * international/quail.el (quail-insert-kbd-layout): Fix previous
7297 change. To avoid unwanted bidi reordering, use
7298 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7299
39675016
DG
73002012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7301
7302 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7303 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7304 (ruby-beginning-of-indent): Be more careful with the difference
7305 between word-boundary and symbol boundary.
7306 (ruby-mode-syntax-table): Make : a symbol constituent.
7307
0a6934fc 73082012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7309
3d008e4f
SM
7310 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7311
0a6934fc
SM
73122012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7313
af67c9d7
SM
7314 * progmodes/etags.el (tags-completion-at-point-function):
7315 Improve last fix.
7316
1acad97c
SM
7317 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7318
e298b5da
SS
73192012-03-21 Sam Steingold <sds@gnu.org>
7320
7321 * progmodes/etags.el (tags-completion-at-point-function):
7322 Avoid the error when point is inside the pattern.
7323
91d82a70
JY
73242012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7325
7326 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7327 line (Bug#10855).
7328
69188b79
CY
73292012-03-21 Drew Adams <drew.adams@oracle.com>
7330
7331 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7332
99fc91fe
AK
73332012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7334
7335 * ido.el (ido-set-current-directory, ido-read-internal)
7336 (ido-choose-completion-string, ido-completion-help): Handle nil
7337 value of ido-completion-buffer (Bug#11008).
7338
087bbb4c
SS
73392012-03-21 Sam Steingold <sds@gnu.org>
7340
7341 * window.el (switch-to-prev-buffer): Do not switch to a visible
7342 window previous buffer, just like with the frame previous buffers.
7343
fb5b8aca
CY
73442012-03-21 Chong Yidong <cyd@gnu.org>
7345
7346 * faces.el (make-face, make-empty-face, copy-face):
7347 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7348 Doc fixes.
7349
dc9924b8
SM
73502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7353 (widget-complete): Remove broken use of it.
7354
f0bcceb9
CY
73552012-03-20 Chong Yidong <cyd@gnu.org>
7356
dc9924b8
SM
7357 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7358 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7359 characters.
7360
ee52ebf3
TH
73612012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7362
7363 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7364 to draw rectangles, not squares. (Regression introduced by revno
7365 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7366
4c5779ab
CY
73672012-03-18 Chong Yidong <cyd@gnu.org>
7368
7369 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7370 it is not yet defined (for temacs).
7371
15360934
LL
73722012-03-18 Leo Liu <sdl.web@gmail.com>
7373
dc9924b8 7374 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7375
d9a8eb66
EZ
73762012-03-17 Eli Zaretskii <eliz@gnu.org>
7377
7378 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7379 (ispell-choices-win-default-height, ispell-silently-savep)
7380 (ispell-dictionary-alist, ispell-encoding8-command)
7381 (ispell-check-version, ispell-aspell-find-dictionary)
7382 (ispell-valid-dictionary-list, ispell-words-keyword)
7383 (ispell-get-word, ispell-internal-change-dictionary)
7384 (ispell-region, ispell-skip-region-list)
7385 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7386 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7387 (ispell-message-text-end, ispell-message)
7388 (ispell-buffer-local-parsing): Doc fix.
7389
f02ff80d
J
73902012-03-13 Jambunathan K <kjambunathan@gmail.com>
7391
7392 * htmlfontify.el: Add support for code block fontification for ODT
7393 export (Bug #9914).
7394 (hfy-optimisations): Define new option
7395 `body-text-only'
7396 (hfy-fontify-buffer): Honor above setting.
7397 (hfy-begin-span, hfy-end-span): New routines factored out form
7398 `hfy-fontify-buffer'.
7399 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7400 that permit insertion of custom tags.
7401 (hfy-fontify-buffer): Use above handlers.
7402 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7403 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7404 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7405 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7406 bind a special variable `hfy-user-sheet-assoc'.
7407 (htmlfontify-string): New defun.
7408 (hfy-compile-face-map): Make sure that the last char in the
7409 buffer is correctly fontified.
7410 (hfy-face-resolve-face): Whitespace only change.
7411
9ac7a13f
EZ
74122012-03-17 Eli Zaretskii <eliz@gnu.org>
7413
7414 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7415 message more clear.
7416
e2b5bdd7
LL
74172012-03-16 Leo Liu <sdl.web@gmail.com>
7418
7419 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7420
2e492df3
AM
74212012-03-16 Alan Mackenzie <acm@muc.de>
7422
7423 Further optimise the handling of large macros.
7424
7425 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7426 limit to a call of `c-literal-limits'.
7427 (c-determine-+ve-limit): New function.
dc9924b8
SM
7428 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7429 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7430 In CASE 5B, restrict a search limit to 500.
7431 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7432
7433 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7434 Restrict macro bounds to +-500 from after-change's BEG END.
7435
50e94f0c
LL
74362012-03-16 Leo Liu <sdl.web@gmail.com>
7437
7438 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7439
6f09f6ed
AH
74402012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7441
7442 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7443 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7444
c7e73d51
GM
74452012-03-16 Glenn Morris <rgm@gnu.org>
7446
da986230
GM
7447 * view.el (view-buffer, view-buffer-other-window)
7448 (view-buffer-other-frame): Doc fixes re special mode-class.
7449
0835f01e
GM
7450 * subr.el (eval-after-load): If named feature is provided not from
7451 a file, run after-load forms. (Bug#10946)
7452
c7e73d51
GM
7453 * calendar/calendar.el (calendar-insert-at-column):
7454 Handle non-unit-width characters a bit better. (Bug#10978)
7455
3f2eafd1
CY
74562012-03-15 Chong Yidong <cyd@gnu.org>
7457
7458 * emacs-lisp/ring.el (ring-extend): New function.
7459 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7460
7461 * comint.el (comint-read-input-ring)
7462 (comint-add-to-input-history): Grow comint-input-ring lazily.
7463
103af3fe
SM
74642012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7465
663b1677
SM
7466 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7467 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7468
103af3fe
SM
7469 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7470 (imenu-add-to-menubar): Don't add a redundant index.
7471 (imenu-update-menubar): Handle a dynamically composed keymap.
7472
899cb7cb
KY
74732012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7474
7475 * mail/sendmail.el (mail-encode-header):
7476 Bind rfc2047-encode-encoded-words to nil.
7477
3809f91d
GM
74782012-03-13 Glenn Morris <rgm@gnu.org>
7479
7480 * calendar/calendar.el (calendar-string-spread):
7481 Handle non-unit-width characters a bit better. (Bug#10978)
7482
9e345a01
LL
74832012-03-13 Leo Liu <sdl.web@gmail.com>
7484
7485 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7486 directory and file as argument (Bug#10822).
7487
4a07df36
KS
74882012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7489
7490 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7491 For dynamically generated code, follow $PC.
7492 (gdb-disassembly-handler-custom): Handle no function name case.
7493
4aaa9356
TL
74942012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7495
7496 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7497 * emulation/ws-mode.el (ws-query-replace):
7498 * sort.el (sort-regexp-fields):
7499 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7500
225979da
SM
75012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * dabbrev.el: Fix cycle completion order (bug#10963).
7504 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7505 (dabbrev-completion): Don't use an obarray; provide
7506 a cycle-sort-function.
7507
e2f1fdab
LL
75082012-03-12 Leo Liu <sdl.web@gmail.com>
7509
dc9924b8 7510 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7511 (kill-do-not-save-duplicates): Doc fix.
7512
b19490ed
SM
75132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * dabbrev.el: Fix cycle completion (bug#10963).
7516 Use lexical binding and wrap to 80 columns.
7517 (dabbrev-completion): Delay computing the list of completions.
7518
4b05d722
KH
75192012-03-12 Kenichi Handa <handa@m17n.org>
7520
7521 * international/quail.el (quail-insert-kbd-layout): Surround each
7522 row by LRO and PDF instead of inserting many LRMs. Pad the left
7523 and right of each non-spacing marks. Insert invisible space
7524 between lower and upper characters to prevent composition.
7525
dbbc2e69
SM
75262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * minibuffer.el (minibuffer-complete): Don't get confused when the
7529 function is run twice via different commands (bug#10958).
7530 (complete-with-action): Fix docstring.
7531
292112ed
CY
75322012-03-12 Chong Yidong <cyd@gnu.org>
7533
5d1ac394
CY
7534 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7535 (nxml-completion-at-point-function): New function.
7536 (nxml-mode): Use it.
7537 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7538
292112ed
CY
7539 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7540 Load generated autoloads file before byte compiling (Bug#10970).
7541 (package--make-autoloads-and-compile): New helper fun.
7542
4098f8f7
CS
75432012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7544
7545 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7546
8f754691
MA
75472012-03-11 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * autorevert.el (auto-revert-handler): Ensure, that
7550 file-readable-p is applied only for local files or in
7551 auto-revert-tail-mode.
7552
e29ab36b
AS
75532012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7554
dbbc2e69
SM
7555 * server.el (server-eval-at): Handle non-tcp connections.
7556 Decode result string.
ad0bf5b6 7557
e29ab36b
AS
7558 * server.el (server-msg-size): New constant.
7559 (server-reply-print): New function.
7560 (server-eval-and-print): Use it.
7561 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7562 Handle -print-nonl.
7563
de5939ba
CS
75642012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7565
7566 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7567 (Bug#10987).
7568
0c93eabf
CY
75692012-03-11 Chong Yidong <cyd@gnu.org>
7570
397a688f
CY
7571 * simple.el (goto-line): Doc fix (Bug#9938).
7572
2cc775f9
CY
7573 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7574
0c93eabf
CY
7575 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7576 when finished (Bug#10963).
7577
c491fa41
MR
75782012-03-11 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (split-window-below): Fix bug in case where
7581 split-window-keep-point is nil (Bug#10971).
7582
300e8fa5
JL
75832012-03-11 Juri Linkov <juri@jurta.org>
7584
7585 * replace.el (replace-highlight): Set isearch-word to nil
7586 unconditionally. (Bug#10887)
7587
dbf6c5a1
EZ
75882012-03-10 Eli Zaretskii <eliz@gnu.org>
7589
7590 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7591 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7592 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7593 (mairix-widget-create-query): Add usage information about mairix
7594 search forms: negating words, searching for substrings, etc.
7595
b9e501de
JP
75962012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7597
7598 * international/fontset.el (font-encoding-alist): Add an entry for
7599 ksx1001 (Bug#5667).
7600
92795c91
RS
76012012-03-10 Richard Stallman <rms@gnu.org>
7602
1694e6c1
RS
7603 * mail/sendmail.el (mail-encode-header):
7604 Set rfc2047-encode-encoded-words.
7605
607e8555
RS
7606 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7607
de3bc99a
RS
7608 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7609 view buffer means not swapped.
7610 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7611 (rmail-write-region-annotate): Error if real text has disappeared.
7612
92795c91
RS
7613 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7614
699bd04e
CY
76152012-03-10 Chong Yidong <cyd@gnu.org>
7616
7617 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7618 * emulation/cua-base.el (cua--init-keymaps):
7619 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7620
570a1714
MR
76212012-03-10 Martin Rudalics <rudalics@gmx.at>
7622
dbbc2e69
SM
7623 * speedbar.el (speedbar-unhighlight-one-tag-line):
7624 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7625
82dcf4e4
CY
76262012-03-10 Chong Yidong <cyd@gnu.org>
7627
7a2c7ca7
CY
7628 * minibuffer.el (completion-in-region, completion-help-at-point):
7629 Give the completion field overlay a high priority (Bug#6830).
7630
82dcf4e4
CY
7631 * dired.el (dired-goto-file): Recognize absolute file name
7632 listings (Bug#7126).
7633 (dired-goto-file-1): New helper function.
7634 (dired-toggle-read-only): Inhibit warnings.
7635
052e28ac
MA
76362012-03-09 Michael Albinus <michael.albinus@gmx.de>
7637
75f1671a 7638 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7639 there are no properties.
7640
95d5e396
LL
76412012-03-09 Leo Liu <sdl.web@gmail.com>
7642
7643 * savehist.el (savehist-printable): Stricter check for string
7644 value (Bug#10937).
7645
3f018d6d
EZ
76462012-03-09 Eli Zaretskii <eliz@gnu.org>
7647
dbbc2e69
SM
7648 * mail/smtpmail.el (smtpmail-send-it):
7649 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7650 valid mbox format.
7651
f7fd3d79
GM
76522012-03-09 Glenn Morris <rgm@gnu.org>
7653
7654 * files.el (dir-locals-find-file):
7655 Don't check result is regular, readable.
7656 (dir-locals-read-from-file): Demote errors.
7657
6ff6e72f
EZ
76582012-03-08 Eli Zaretskii <eliz@gnu.org>
7659
dbbc2e69
SM
7660 * international/quail.el (quail-insert-kbd-layout):
7661 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7662 layout cell, to prevent their reordering by bidi display engine.
7663 For details, see the discussion in
7664 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7665
9cec7834
AM
76662012-03-08 Alan Mackenzie <acm@muc.de>
7667
7668 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7669 the starting position; make it extend the marked region when
7670 invoked repeatedly - all under appropriate circumstances.
7671 Fixes bugs #5525, #10906.
7672
9a40b8d4
GM
76732012-03-08 Glenn Morris <rgm@gnu.org>
7674
7675 * files.el (locate-dominating-file, dir-locals-find-file):
7676 Undo 2012-03-06 change.
7677
7a08ed35
EZ
76782012-03-07 Eli Zaretskii <eliz@gnu.org>
7679
dbbc2e69
SM
7680 * international/quail.el (quail-help):
7681 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7682 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7683 for the reason.
7684
5aca4f71 76852012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7686
7687 Avoid superfluous registering of signals. (Bug#10807)
7688
7689 * notifications.el (notifications-on-action-object)
7690 (notifications-on-close-object): New defvars.
7691 (notifications-on-action-signal, notifications-on-closed-signal):
7692 Unregister the signal if not needed any longer.
7693 (notifications-notify): Register `notifications-action-signal' or
7694 `notifications-closed-signal', if :on-action or :on-close has been
7695 passed as argument.
7696
78e8b10a
CY
76972012-03-07 Chong Yidong <cyd@gnu.org>
7698
7699 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7700 non-X platforms.
7701
69481eb8
GM
77022012-03-06 Glenn Morris <rgm@gnu.org>
7703
7704 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7705 (x-disown-selection-internal, x-get-selection-internal):
7706 Doc fix (add arglist signatures). (Bug#10783)
7707
133b8e11
KS
77082012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7709
7710 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7711 Handle breakpoints with no "type".
7712
99a83064
GM
77132012-03-06 Glenn Morris <rgm@gnu.org>
7714
7715 * files.el (locate-dominating-file): Add optional predicate argument.
7716 (dir-locals-find-file): Make use of above change.
7717
17798e78
TTN
77182012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7719
7720 * info.el (Info-insert-dir): Also try "dir.gz".
7721
eb182446
GM
77222012-03-06 Glenn Morris <rgm@gnu.org>
7723
8f2114ee
GM
7724 * files.el (dir-locals-find-file):
7725 Ignore non-readable or non-regular files. (Bug#10928)
7726
eb182446
GM
7727 * files.el (locate-dominating-file): Doc fix.
7728
24679323
AS
77292012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7730
7731 * calendar/calendar.el (calendar-set-mode-line):
7732 `getenv' returns a string. (Bug#10951)
7733
01d972a9
LL
77342012-03-05 Leo Liu <sdl.web@gmail.com>
7735
109aa8a9
LL
7736 * simple.el (backward-delete-char-untabify): Constrain point to
7737 field (Bug#10939).
7738
01d972a9
LL
7739 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7740
10607bea
CY
77412012-03-05 Chong Yidong <cyd@gnu.org>
7742
7743 * simple.el (count-words): If called from Lisp, return the word
7744 count, for symmetry with `count-lines'. Arglist changed.
7745 (count-words--message): Args changed. Consolidate counting code
7746 from count-words and count-words-region.
7747 (count-words-region): Caller changed.
7748 (count-lines-region): Make it an obsolete alias.
7749
5dd11cfe
TH
77502012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7751
7752 * saveplace.el (save-place-to-alist)
7753 (save-place-ignore-files-regexp): Allow value nil to disable this
7754 feature.
7755
c349f4e6
CY
77562012-03-04 Chong Yidong <cyd@gnu.org>
7757
7758 * faces.el (face-spec-reset-face): For the default face, reset the
7759 attributes to default values (Bug#10748).
7760
e627be4c
LMI
77612012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7762
7763 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7764 previous patch: Check `message-send-mail-function', and not the
7765 default function (bug#10897).
7766
ebeabff4
MA
77672012-03-04 Michael Albinus <michael.albinus@gmx.de>
7768
a41a6cf4
MA
7769 * notifications.el (notifications-on-action-signal)
7770 (notifications-on-closed-signal): Check for unique service name of
7771 incoming event. Fix error in removing entry.
ebeabff4 7772 (top): Register for signals with wildcard service name.
a41a6cf4 7773 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7774
c1ca42b4
CY
77752012-03-04 Chong Yidong <cyd@gnu.org>
7776
dc9924b8 7777 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7778
ea16568d
GM
77792012-03-04 Glenn Morris <rgm@gnu.org>
7780
7781 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7782 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7783 (expand-abbrev, define-abbrev-table): Doc fixes.
7784
fbae4637
LMI
77852012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7786
7787 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7788 `message-default-send-mail-function' and not `send-mail-function'
7789 when doing the prompting for `sendmail-query-once' before sending
7790 in Message buffers (bug#10897).
7791
a1e7225c
LMI
7792 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7793 This is inconsistent with all the other stream functions, which leave
7794 the setting up to the higher levels (if so wanted) (bug#10931).
7795
56d093a9
AM
77962012-03-02 Alan Mackenzie <acm@muc.de>
7797
7798 Depessimize the handling of very large macros.
7799
7800 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7801 (c-macro-cache-syntactic): New variables to implement a one
7802 element macro cache.
7803 (c-invalidate-macro-cache): New function.
7804 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7805 Adapt to use the new cache.
7806 (c-state-safe-place): Use better the cache of safe positions.
7807 (c-state-semi-nonlit-pos-cache)
7808 (c-state-semi-nonlit-pos-cache-limit):
7809 New variables for...
7810 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7811 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7812 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7813 Use c-state-semi-safe-place.
56d093a9 7814
dbbc2e69
SM
7815 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7816 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7817
817e5c3d
MA
78182012-03-02 Michael Albinus <michael.albinus@gmx.de>
7819
dbbc2e69
SM
7820 * jka-compr.el (jka-compr-call-process):
7821 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7822 not remote.
7823
a032a702
MA
78242012-03-01 Michael Albinus <michael.albinus@gmx.de>
7825
7826 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7827 access of FILE2, if FILE1 does not exist.
7828
99a54f21
MA
7829 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7830 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7831
7832 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7833 Add "PAGER=" to `process-environment'.
7834
f6561e1f
MM
78352012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7836
7837 * progmodes/sql.el: Bug fix
7838 (sql-get-login-ext): Save login values in globals.
7839 (sql-get-login): Use new version of `sql-get-login-ext'.
7840 (sql-interactive-mode): Set global `sql-connection' to nil.
7841 (sql-connect): Set global values for connection.
7842 (sql-product-interactive): Save global values as buffer local.
7843
2d44d9cc
LL
78442012-02-29 Leo Liu <sdl.web@gmail.com>
7845
7846 * abbrev.el (define-abbrevs): Reset sys to nil.
7847
96b49301 78482012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7849
bf7f9bc5
JB
7850 * files.el (file-equal-p): Rename from `files-equal-p'.
7851 Return nil when one or both files don't exist.
96b49301 7852 (file-subdir-of-p): Now only top directory must exists,
7853 return nil if it doesn't.
bf7f9bc5
JB
7854 (copy-directory): No need to test with `file-subdir-of-p' after
7855 creating dir.
7856 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7857 to `file-equal-p'.
96b49301 7858
44e97401
GM
78592012-02-28 Glenn Morris <rgm@gnu.org>
7860
7861 * shell.el (shell-mode):
7862 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7863 * play/landmark.el (landmark-font-lock-face-O):
7864 * play/handwrite.el (handwrite):
7865 * play/gomoku.el (gomoku-O):
7866 * net/browse-url.el (browse-url-browser-display):
7867 * international/mule.el (define-charset):
7868 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7869 * filesets.el (filesets-find-file-delay):
7870 * eshell/em-xtra.el (eshell-xtra):
7871 * eshell/em-unix.el (eshell-grep):
7872 * emulation/viper.el (viper-mode):
7873 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7874 * emacs-lisp/easymenu.el (easy-menu-define):
7875 * calendar/timeclock.el (timeclock-use-display-time):
7876 * bs.el (bs-mode):
7877 * bookmark.el (bookmark-save-flag):
7878 Doc fix (standardize possessive apostrophe usage).
7879
c98c6276
CY
78802012-02-27 Chong Yidong <cyd@gnu.org>
7881
bf7f9bc5
JB
7882 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7883 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7884
c98c6276
CY
7885 * font-lock.el (font-lock-specified-p): Rename from
7886 font-lock-spec-present. Callers changed.
7887
9c62cd04 78882012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7889
bf7f9bc5
JB
7890 * emacs-lisp/package.el (package-compute-transaction):
7891 Handle holding a package version to t in package-load-list.
8ac9e529 7892
530739c9
MA
78932012-02-26 Michael Albinus <michael.albinus@gmx.de>
7894
7895 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7896 (tramp-get-inode, tramp-get-device): Use cached values.
7897
487915d7
AM
78982012-02-26 Alan Mackenzie <acm@muc.de>
7899
7900 Check there is a font-lock specification before doing initial
7901 fontification.
7902
7903 * font-core.el (font-lock-mode): Move the conditional from
7904 :after-hook to font-lock-initial-fontify.
7905 (font-lock-default-function): Move the check for a specification
7906 to font-lock-spec-present.
7907
dc9924b8 7908 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7909 (font-lock-spec-present): New function.
7910
4fd96557
JB
79112012-02-26 Jim Blandy <jimb@red-bean.com>
7912
7913 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7914 (gdb-send): Apply it to the operand of the '-interpreter-exec
7915 console' command, so that we can pass arguments with (say) quotes
7916 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7917
9a4888c0
CY
79182012-02-26 Chong Yidong <cyd@gnu.org>
7919
07498861
CY
7920 * help-fns.el (describe-function-1): Clarify description of
7921 remapping (Bug#10844).
7922
9a4888c0
CY
7923 * files.el (files-equal-p): Doc fix.
7924 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7925 and quit the loop once a mismatch is found.
7926
ea8fb88d
JB
79272012-02-25 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * bs.el (bs--show-with-configuration): Don't throw an error
7930 if the window cannot be split; otherwise, subsequent calls to
7931 bs-show fail, restoring a stale window config. (Bug#10882)
7932
525795c1
JD
79332012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7934
7935 * term/ns-win.el (global-map): Bind ns-drag-file to
7936 ns-find-file (Bug#5855, Bug#10050).
7937
f008086f
AS
79382012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7939
7940 * calendar/parse-time.el (parse-time-string): Allow extractor to
7941 return nil.
7942
a3fcfa99
MA
79432012-02-25 Michael Albinus <michael.albinus@gmx.de>
7944
91027d08
JB
7945 * net/tramp.el (tramp-file-name-for-operation):
7946 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7947
7948 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7949 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7950 Add COPY-CONTENTS argument.
a3fcfa99 7951
67b0de11
CY
79522012-02-25 Chong Yidong <cyd@gnu.org>
7953
7954 Add custom groups for VC backends, for consistency with vc-bzr.
7955
7956 * vc/vc-arch.el (vc-arch):
7957 * vc/vc-cvs.el (vc-cvs):
7958 * vc/vc-git.el (vc-git):
7959 * vc/vc-hg.el (vc-hg):
7960 * vc/vc-mtn.el (vc-mtn):
7961 * vc/vc-rcs.el (vc-rcs):
7962 * vc/vc-sccs.el (vc-sccs):
7963 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7964 All relevant defcustoms reassigned.
7965
3c9dfce6
CY
79662012-02-25 Chong Yidong <cyd@gnu.org>
7967
1339bf43
CY
7968 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7969
3c9dfce6
CY
7970 * term/x-win.el (x-initialize-window-system): Reduce default for
7971 x-selection-timeout to 5 seconds (Bug#8869).
7972
25b2e303 79732012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7974
ec70a47d
GM
7975 * files.el (files-equal-p, file-subdir-of-p): New functions.
7976 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7977 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7978 * dired-aux.el (dired-copy-file-recursive): Same.
7979 (dired-create-files): Modify destination when source is equal to
7980 dest when copying files.
53a46cd0 7981 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7982
914260cd
MA
79832012-02-24 Michael Albinus <michael.albinus@gmx.de>
7984
7985 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7986 (Bug#10874)
7987
2cb228f7
AM
79882012-02-23 Alan Mackenzie <acm@muc.de>
7989
7990 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7991 parameter "after-hook:" to allow the expansion to run code after
7992 the execution of the mode hooks.
7993
7994 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7995 from font-lock-mode-internal.
2cb228f7 7996
91027d08 7997 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7998 :after-hook.
7999
8f0fde21
SM
80002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8001
3e88618b
SM
8002 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8003 (completion--cache-all-sorted-completions): New function.
8004 (completion-all-sorted-completions): Use it.
8005 (completion--do-completion, minibuffer-force-complete):
8006 Use it to re-instate the flush hook.
8007
8f0fde21
SM
8008 * icomplete.el (icomplete-completions): Replace last fix with a better
8009 one (bug#10850).
8010
8e911f6f
DG
80112012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8012
8013 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8014 when it might call us back infinitely (bug#10797).
8015
49fe4321
GM
80162012-02-23 Glenn Morris <rgm@gnu.org>
8017
8018 * minibuffer.el (completion-category-overrides): Doc fix.
8019
b291b572
SM
80202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8023 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8024
31a9ef2e
GM
80252012-02-23 Glenn Morris <rgm@gnu.org>
8026
5e6e6794 8027 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8028 (authors-obsolete-files-regexps, authors-ignored-files)
8029 (authors-ambiguous-files, authors-renamed-files-alist):
8030 Add more entries.
8031
0bd1e074
JL
80322012-02-23 Juri Linkov <juri@jurta.org>
8033
8034 * isearch.el (isearch-occur): Sync interactive spec with occur's
8035 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8036
b617673c
JL
8037 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8038
19e9789e
JL
80392012-02-22 Juri Linkov <juri@jurta.org>
8040
8041 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8042 (ucs-insert): Doc fix. Check for hex digits in the string.
8043 Don't display `nil' in the error message. (Bug#10857)
8044
f41ce09d
AM
80452012-02-22 Alan Mackenzie <acm@muc.de>
8046
7a71b18d 8047 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8048
ac2eceee
GM
80492012-02-22 Glenn Morris <rgm@gnu.org>
8050
8051 * ffap.el (ffap-c-path):
8052 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8053
abd1f678
CY
80542012-02-22 Chong Yidong <cyd@gnu.org>
8055
8056 * custom.el (load-theme): Doc fix.
8057
f25aef2e
GM
80582012-02-22 Glenn Morris <rgm@gnu.org>
8059
8060 * dired-x.el (dired-guess-shell-alist-default):
8061 Remove escape sequences from nroff output. (Bug#172)
8062
5f8dc2ca
GM
80632012-02-21 Glenn Morris <rgm@gnu.org>
8064
6ff86ec4
GM
8065 * vc/emerge.el (emerge-defvar-local):
8066 Set `permanent-local' property rather than unused `preserved'.
8067
be3223a3 8068 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8069 (picture-mode-map): Use it. (Bug#10860)
8070 (picture-mode): Doc fix.
8071
3fe58f4f
JB
80722012-02-21 Juanma Barranquero <lekktu@gmail.com>
8073
8074 * newcomment.el (uncomment-region-default): Remove unused binding.
8075
f9a998c3
GM
80762012-02-21 Glenn Morris <rgm@gnu.org>
8077
8078 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8079 (picture-self-insert, picture-tab-chars): Doc fix.
8080 (picture-mode-map): Fix C-a, C-e.
8081
c6029348
GM
80822012-02-20 Glenn Morris <rgm@gnu.org>
8083
8084 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8085
ab1ce9d7
LL
80862012-02-20 Leo Liu <sdl.web@gmail.com>
8087
8088 * icomplete.el (icomplete-completions): Check FROM arg before
8089 passing to substring (Bug#10850).
8090
0fd40f89
CY
80912012-02-19 Chong Yidong <cyd@gnu.org>
8092
8093 * comint.el: Require ansi-color.
8094 (comint-output-filter-functions): Add ansi-color-process-output.
8095
8096 * ansi-color.el: Don't set comint-output-filter-functions; it is
8097 now in the initial value defined in comint.el.
8098 (ansi-color-apply-face-function): New variable.
8099 (ansi-color-apply-on-region): Use it.
8100 (ansi-color-apply-overlay-face): New function.
8101
8102 * shell.el (shell): No need to require ansi-color.
8103 (shell-mode): Use ansi-color-apply-face-function to highlight
8104 color escapes using font-lock-face property (Bug#10835).
8105
20af2394
CY
81062012-02-19 Chong Yidong <cyd@gnu.org>
8107
8108 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8109 mode-line formats (Bug#10839).
8110
e23a3fbe
GM
81112012-02-18 Glenn Morris <rgm@gnu.org>
8112
b474519e
GM
8113 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8114
8115 * mail/undigest.el (unforward-rmail-message): Doc fix.
8116
e23a3fbe
GM
8117 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8118
57939ff4
EZ
81192012-02-18 Eli Zaretskii <eliz@gnu.org>
8120
8121 * international/characters.el (script-list): Sync with the latest
8122 Unicode Character Database.
8123
0c23686e
AS
81242012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8125
8126 * international/titdic-cnv.el: Remove duplicate coding tag.
8127 * language/cham.el: Likewise.
8128 * language/tai-viet.el: Likewise.
8129
6818b449
GM
81302012-02-18 Glenn Morris <rgm@gnu.org>
8131
8132 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8133 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8134 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8135 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8136 * calendar/holidays.el (holiday-bahai-holidays)
8137 (calendar-holidays, list-holidays):
8138 Use utf-8 Bahá'í in doc-strings, menus, etc.
8139
0311a3fc
TH
81402012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8141
8142 * saveplace.el (save-place-ignore-files-regexp): New variable
8143 allowing for excluding files from saving their location of point.
8144 The default value matches the temporary commit message editing
8145 files from Git, SVN, Bazaar, and Mercurial.
8146 (save-place-to-alist): Use it.
8147
d209e2fb 81482012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8149 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8150
8151 * newcomment.el (uncomment-region-default): Don't leave extra space
8152 when an arg is provided (bug#8150).
8153
ee0ce425
TZ
81542012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8155
eb864a71 8156 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8157
95ddf442
GM
81582012-02-17 Glenn Morris <rgm@gnu.org>
8159
8160 * net/socks.el: Require network-stream. (Bug#10599)
8161
48dd1e39 81622012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8163
8164 * international/charprop.el:
8165 * international/uni-name.el:
8166 * international/uni-old-name.el:
8167 * international/uni-comment.el: Regenerate.
8168
d68cd087
GM
81692012-02-16 Glenn Morris <rgm@gnu.org>
8170
8171 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8172 Interactively in calendar buffer, give an error if not on a date.
8173
13932042
GM
81742012-02-15 Glenn Morris <rgm@gnu.org>
8175
8176 * shell.el (shell-delimiter-argument-list):
8177 Revert 2011-02-17 change. (Bug#8027)
8178
c3a70e2b
CY
81792012-02-15 Chong Yidong <cyd@gnu.org>
8180
60236b0d
CY
8181 * minibuffer.el (completion-at-point-functions): Doc fix.
8182
c3a70e2b
CY
8183 * custom.el (defcustom): Doc fix; note use of defvar.
8184
9f26dc24
GM
81852012-02-15 Glenn Morris <rgm@gnu.org>
8186
8187 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8188 Doc fixes.
8189
6546b134
GM
81902012-02-14 Glenn Morris <rgm@gnu.org>
8191
8192 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8193
d29b2b4c
LI
81942012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8195
8196 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8197 way the ports list is computed.
835bdcba
LI
8198 (smtpmail-query-smtp-server): Prompt the user for a port number if
8199 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8200
08dcdbc9
TZ
82012012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8202
8203 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8204
2605051a
GM
82052012-02-13 Glenn Morris <rgm@gnu.org>
8206
8207 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8208
7ee99f32
TZ
82092012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8210
8211 * net/gnutls.el (gnutls-trustfiles): New variable.
8212 (gnutls-negotiate): Use it.
8213
5f0af64f
LI
82142012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8215
8216 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8217 does its stuff if Gnus is running.
8218
c14fcc95
AM
82192012-02-13 Alan Mackenzie <acm@muc.de>
8220
8221 Fix a loop in c-set-fl-decl-start.
8222
7a71b18d 8223 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8224 c-backward-syntactic-ws actually moves backwards.
8225
142b4d90
LL
82262012-02-13 Leo Liu <sdl.web@gmail.com>
8227
8228 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8229 beginning so that all \C-o chars are removed.
8230
fa9958a6
TZ
82312012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8232
dc9924b8 8233 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8234
0bc5886a
AM
82352012-02-12 Alan Mackenzie <acm@muc.de>
8236
8237 Fix infinite loop with long macros.
4d6769e1 8238 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8239
d4bd55e7
CY
82402012-02-12 Chong Yidong <cyd@gnu.org>
8241
8242 * window.el (display-buffer): Doc fix (Bug#10785).
8243
66f3fe22
GM
82442012-02-12 Glenn Morris <rgm@gnu.org>
8245
bd7da63e
GM
8246 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8247 (x-disown-selection-internal, x-get-selection-internal):
8248 Sync docs with the xselect.c versions.
8249
66f3fe22
GM
8250 * allout-widgets.el: Add missing license notice.
8251
3e0d2fa7
GM
82522012-02-11 Glenn Morris <rgm@gnu.org>
8253
cfecdf09
GM
8254 * select.el (x-get-selection-internal, x-own-selection-internal)
8255 (x-disown-selection-internal):
8256 * x-dnd.el (x-get-selection-internal): Update declarations.
8257
6d216d7f
GM
8258 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8259
2bed3f04
GM
8260 * window.el (window-sides-slots):
8261 * tool-bar.el (tool-bar-position):
8262 * term/xterm.el (xterm-extra-capabilities):
8263 * ses.el (ses-self-reference-early-detection):
8264 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8265 (verilog-auto-wire-type)
8266 (verilog-auto-delete-trailing-whitespace)
8267 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8268 (verilog-auto-tieoff-declaration):
8269 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8270 (sql-oracle-statement-starters, sql-oracle-scan-on):
8271 * progmodes/prolog.el (prolog-align-comments-flag)
8272 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8273 (prolog-left-indent-regexp, prolog-paren-indent-p)
8274 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8275 (prolog-types, prolog-mode-specificators)
8276 (prolog-determinism-specificators, prolog-directives)
8277 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8278 (prolog-electric-dot-flag)
8279 (prolog-electric-dot-full-predicate-template)
8280 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8281 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8282 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8283 (prolog-program-switches, prolog-prompt-regexp)
8284 (prolog-debug-on-string, prolog-debug-off-string)
8285 (prolog-trace-on-string, prolog-trace-off-string)
8286 (prolog-zip-on-string, prolog-zip-off-string)
8287 (prolog-use-standard-consult-compile-method-flag)
8288 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8289 (prolog-imenu-max-lines, prolog-info-predicate-index)
8290 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8291 (prolog-char-quote-workaround):
8292 * progmodes/cc-vars.el (c-defun-tactic):
8293 * net/tramp.el (tramp-encoding-command-interactive)
8294 (tramp-local-end-of-line):
8295 * net/soap-client.el (soap-client):
8296 * net/netrc.el (netrc-file):
8297 * net/gnutls.el (gnutls):
8298 * minibuffer.el (completion-category-overrides)
8299 (completion-cycle-threshold)
8300 (completion-pcm-complete-word-inserts-delimiters):
8301 * man.el (Man-name-local-regexp):
8302 * mail/feedmail.el (feedmail-display-full-frame):
8303 * international/characters.el (glyphless-char-display-control):
8304 * eshell/em-ls.el (eshell-ls-date-format):
8305 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8306 (lisp-lambda-list-keyword-parameter-indentation)
8307 (lisp-lambda-list-keyword-parameter-alignment):
8308 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8309 * dired-x.el (dired-omit-verbose):
8310 * cus-theme.el (custom-theme-allow-multiple-selections):
8311 * calc/calc.el (calc-highlight-selections-with-faces)
8312 (calc-lu-field-reference, calc-lu-power-reference)
8313 (calc-note-threshold):
8314 * battery.el (battery-mode-line-limit):
8315 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8316 (archive-7z-update):
8317 * allout.el (allout-prefixed-keybindings)
8318 (allout-unprefixed-keybindings)
8319 (allout-inhibit-auto-fill-on-headline)
8320 (allout-flattened-numbering-abbreviation):
8321 * allout-widgets.el (allout-widgets-auto-activation)
8322 (allout-widgets-icons-dark-subdir)
8323 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8324 (allout-widgets-theme-dark-background)
8325 (allout-widgets-theme-light-background)
8326 (allout-widgets-item-image-properties-emacs)
8327 (allout-widgets-item-image-properties-xemacs)
8328 (allout-widgets-run-unit-tests-on-load)
8329 (allout-widgets-time-decoration-activity)
8330 (allout-widgets-hook-error-post-time)
8331 (allout-widgets-track-decoration):
8332 Add missing :version tags to new defcustoms and defgroups.
8333
5fec1b8e
GM
8334 * progmodes/sql.el (sql-ansi-statement-starters)
8335 (sql-oracle-statement-starters): Add custom type.
8336
3e0d2fa7
GM
8337 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8338 (prolog-system-version): Give it a type.
8339
90b671e2
EZ
83402012-02-11 Eli Zaretskii <eliz@gnu.org>
8341
8342 * term/pc-win.el (x-select-text, x-selection-owner-p)
8343 (x-own-selection-internal, x-disown-selection-internal)
8344 (x-get-selection-internal): Sync doc strings and argument lists
8345 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8346
5eac0c02
LL
83472012-02-11 Leo Liu <sdl.web@gmail.com>
8348
8349 * progmodes/python.el (python-end-of-statement): Fix infinite
8350 loop. (Bug#10788)
8351
f82cb659
GM
83522012-02-10 Glenn Morris <rgm@gnu.org>
8353
8354 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8355 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8356
cc26d239
LI
83572012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8358
8359 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8360 about SMTP before checking the From header.
8361
91027d08 8362 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8363 into own function for reuse by emacsbug.el.
8364
1be3ca5a
LL
83652012-02-10 Leo Liu <sdl.web@gmail.com>
8366
8367 * subr.el (condition-case-unless-debug): Rename from
8368 condition-case-no-debug. All callers changed.
8369 (with-demoted-errors): Fix caller.
8370
8371 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8372 * nxml/rng-valid.el (rng-do-some-validation):
8373 * emacs-lisp/package.el (package-refresh-contents)
8374 (package-menu-execute):
8375 * desktop.el (desktop-create-buffer):
91027d08 8376 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8377
b011fbfe
GM
83782012-02-10 Glenn Morris <rgm@gnu.org>
8379
b2096d72
GM
8380 * textmodes/bibtex.el:
8381 Add missing :version tags for new/changed defcustoms.
8382
b011fbfe
GM
8383 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8384
4c7e65bf
LI
83852012-02-09 Lars Ingebrigtsen <larsi@rusty>
8386
8387 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8388 (smtpmail-via-smtp): Use it, or fall back on the From address.
8389 (smtpmail-send-it): Ditto.
8390
f3934f6f
SM
83912012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8394 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8395 (byte-compile-tmp-var): New const.
8396 (byte-compile-defvar): Use it to minimize .elc size.
8397 Just use `defvar' rather than simulate it (bug#10761).
8398
a075a2c5
GM
83992012-02-09 Glenn Morris <rgm@gnu.org>
8400
cf3aa21b
GM
8401 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8402
354998cd
GM
8403 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8404 Add :version tags.
8405
dc9924b8
SM
8406 * progmodes/compile.el (compilation-error-screen-columns)
8407 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8408
dab3703d
GM
8409 * vc/log-view.el (log-view-toggle-entry-display):
8410 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8411
3f88cd72
GM
8412 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8413 (report-emacs-bug-can-use-xdg-email):
8414 (report-emacs-bug-insert-to-mailer): Doc fixes.
8415 (report-emacs-bug): Message fix.
8416
d95b247d
GM
8417 * net/browse-url.el (browse-url-can-use-xdg-open)
8418 (browse-url-xdg-open): Doc fixes.
8419
a075a2c5
GM
8420 * electric.el (electric-indent-mode, electric-pair-mode)
8421 (electric-layout-rules, electric-layout-mode): Doc fixes.
8422 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8423
ffb6157e
MR
84242012-02-08 Martin Rudalics <rudalics@gmx.at>
8425
8426 * server.el (server-unselect-display): Don't inadvertently kill
8427 the current buffer. (Bug#10729)
8428
e1ac4066
GM
84292012-02-08 Glenn Morris <rgm@gnu.org>
8430
34e8a2da
GM
8431 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8432 (sql-list-table): Doc fixes.
8433
b4ac6e8c
GM
8434 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8435 Comment out (does nothing).
8436
e1ac4066
GM
8437 * completion.el (dynamic-completion-mode):
8438 * dirtrack.el (dirtrack-debug-mode):
8439 * electric.el (electric-layout-mode):
8440 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8441 * face-remap.el (text-scale-mode, buffer-face-mode):
8442 * iimage.el (iimage-mode):
8443 * image-mode.el (image-transform-mode):
8444 * minibuffer.el (completion-in-region-mode):
8445 * scroll-lock.el (scroll-lock-mode):
8446 * simple.el (next-error-follow-minor-mode):
8447 * tar-mode.el (tar-subfile-mode):
8448 * tooltip.el (tooltip-mode):
8449 * vcursor.el (vcursor-use-vcursor-map):
8450 * wid-browse.el (widget-minor-mode):
8451 * emulation/tpu-edt.el (tpu-edt-mode):
8452 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8453 * international/iso-ascii.el (iso-ascii-mode):
8454 * language/thai-util.el (thai-word-mode):
8455 * mail/supercite.el (sc-minor-mode):
8456 * net/goto-addr.el (goto-address-mode):
8457 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8458 * progmodes/cwarn.el (cwarn-mode):
8459 * progmodes/flymake.el (flymake-mode):
8460 * progmodes/glasses.el (glasses-mode):
8461 * progmodes/hideshow.el (hs-minor-mode):
8462 * progmodes/pascal.el (pascal-outline-mode):
8463 * textmodes/enriched.el (enriched-mode):
8464 * vc/smerge-mode.el (smerge-mode):
8465 Doc fixes (minor mode argument).
8466
5e0d957f
EZ
84672012-02-07 Eli Zaretskii <eliz@gnu.org>
8468
8469 * ls-lisp.el (ls-lisp-sanitize): New function.
8470 (ls-lisp-insert-directory): Use it to fix or remove any elements
8471 in file-alist with missing attributes. (Bug#4673)
8472
98d7371e
AM
84732012-02-07 Alan Mackenzie <acm@muc.de>
8474
8475 Fix spurious recognition of c-in-knr-argdecl.
8476
8477 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8478 putative K&R region.
8479
667ced3a
AM
84802012-02-07 Alan Mackenzie <acm@muc.de>
8481
eb864a71
LM
8482 * progmodes/cc-engine.el (c-forward-objc-directive):
8483 Prevent looping in "#pragma mark @implementation".
667ced3a 8484
5b77774d
MA
84852012-02-07 Michael Albinus <michael.albinus@gmx.de>
8486
8487 * notifications.el (notifications-on-closed-signal): Make `reason'
8488 optional. (Bug#10744)
8489
af008560
GM
84902012-02-07 Glenn Morris <rgm@gnu.org>
8491
60d47423
GM
8492 * emacs-lisp/easy-mmode.el (define-minor-mode):
8493 Doc fixes for the macro and the mode it defines.
8494
dd605cc4
GM
8495 * image.el (imagemagick-types-inhibit): Doc fix.
8496
af008560
GM
8497 * cus-start.el (imagemagick-render-type): Add it.
8498
5cc59a37
LI
84992012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8500
4d6769e1
JB
8501 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8502 Set the default at load time, too, so that `font-lock-fontify-buffer'
8503 can be called without setting up the entire mode first. This fixes
8504 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8505
9a6dd747
CY
85062012-02-06 Chong Yidong <cyd@gnu.org>
8507
2d16b285
CY
8508 * simple.el (list-processes--refresh): Delete exited processes
8509 (Bug#8094).
8510
171e9b6e
CY
8511 * comint.el (comint-next-prompt): next-single-char-property-change
8512 and prev-single-char-property-change never return nil (Bug#8657).
8513
9a6dd747
CY
8514 * custom.el (defcustom): Doc fix (Bug#9711).
8515
aa4589a7
CY
85162012-02-05 Chong Yidong <cyd@gnu.org>
8517
5c2a252f
CY
8518 * cus-edit.el (custom-variable-reset-backup): Quote the value
8519 before storing it in the customized-value property (Bug#6712).
4aab9006 8520 (custom-display): Add a customization type tag.
983b9602 8521 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8522
aa4589a7
CY
8523 * wid-edit.el (widget-field-value-get): New optional arg to
8524 suppress trailing whitespace truncation.
8525 (character): Use it (Bug#2689).
8526
1ff980ae
AS
85272012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8528
8529 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8530 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8531
03988c98
CY
85322012-02-05 Chong Yidong <cyd@gnu.org>
8533
eeb6cc88
CY
8534 * cus-edit.el (custom-variable-value-create): For mismatched
8535 types, show the current value (Bug#7600).
8536
03988c98
CY
8537 * custom.el (defcustom): Doc fix.
8538
f8cdeef0
GM
85392012-02-05 Glenn Morris <rgm@gnu.org>
8540
8541 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8542
0696d255
JB
85432012-02-05 Juanma Barranquero <lekktu@gmail.com>
8544
8545 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8546 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8547 (pp-last-sexp): Use `looking-at-p'.
8548
34c99998
GM
85492012-02-04 Glenn Morris <rgm@gnu.org>
8550
8f05da42
GM
8551 * files.el (revert-buffer):
8552 Doc fix (mention revert-buffer-in-progress-p).
8553
f160676e
GM
8554 * emacs-lisp/ert-x.el (ert-simulate-command):
8555 Check deferred-action-list (which is obsolete) is bound.
8556
c7291ad9
GM
8557 * subr.el (with-wrapper-hook): Doc fixes.
8558
34c99998
GM
8559 * simple.el (filter-buffer-substring-functions)
8560 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8561
6283a7d3
LL
85622012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8563
8564 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8565 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8566
e96e3013
LL
85672012-02-04 Leo Liu <sdl.web@gmail.com>
8568
8569 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8570
8ded50f2
GM
85712012-02-04 Glenn Morris <rgm@gnu.org>
8572
82ff1d13
GM
8573 * image.el (image-extension-data): Add obsolete alias.
8574
987a0a16
GM
8575 * isearch.el (isearch-update): Doc fix.
8576
ea32ef46
GM
8577 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8578
8ded50f2
GM
8579 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8580
eea14f31
GM
85812012-02-03 Glenn Morris <rgm@gnu.org>
8582
8583 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8584 (image-animate-timeout): Doc fix.
8585
8586 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8587
12f381b7
GM
85882012-02-02 Glenn Morris <rgm@gnu.org>
8589
953cebf5
GM
8590 * server.el (server-auth-dir): Doc fix.
8591 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8592
12f381b7
GM
8593 * subr.el (run-mode-hooks): Doc fix.
8594
953a8c3b
JL
85952012-02-02 Juri Linkov <juri@jurta.org>
8596
8597 * image-mode.el (image-toggle-display-image): Remove tautological
8598 `major-mode' from the `derived-mode-p' test.
8599
c5d3843c
KH
86002012-02-02 Kenichi Handa <handa@m17n.org>
8601
9f6e692e 8602 * composite.el (compose-region): Cancel previous change.
c5d3843c 8603
159462d4 86042012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8605
8606 * composite.el (compose-region, compose-string): Signal error for
8607 a null string component (Bug#6988).
8608
9f562668
CY
86092012-02-01 Chong Yidong <cyd@gnu.org>
8610
e2cef717
CY
8611 * view.el (view-buffer-other-window, view-buffer-other-frame):
8612 Handle special modes like view-buffer (Bug#10650).
8613 (view-buffer): Simplify.
8614
9f562668
CY
8615 * frame.el (set-frame-font): Tweak meaning of third argument.
8616
9f6e692e
JB
8617 * dynamic-setting.el (font-setting-change-default-font):
8618 Use set-frame-font (Bug#9982).
9f562668 8619
781acb9f
GM
86202012-02-01 Glenn Morris <rgm@gnu.org>
8621
6035be52
GM
8622 * progmodes/compile.el (compilation-internal-error-properties):
8623 Respect compilation-first-column in the "*compilation*" buffer.
8624
781acb9f
GM
8625 * emacs-lisp/easy-mmode.el (define-minor-mode):
8626 Relax :variable's test for a named function.
8627
abbceb00
AM
86282012-01-31 Alan Mackenzie <acm@muc.de>
8629
8630 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8631 off by one error.
8632
fce3fdeb
CY
86332012-01-31 Chong Yidong <cyd@gnu.org>
8634
8635 * frame.el (set-frame-font): New arg ALL-FRAMES.
8636
8637 * menu-bar.el (menu-set-font): Use set-frame-font.
8638
8639 * faces.el (face-spec-reset-face): Don't apply unspecified
8640 attribute values to the default face.
8641
47893581
JB
86422012-01-31 Juanma Barranquero <lekktu@gmail.com>
8643
8644 * progmodes/cwarn.el (cwarn): Remove dead link.
8645 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8646 Remove * from defcustom docstrings.
8647 (turn-on-cwarn-mode): Make obsolete.
8648 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8649 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8650
e58e988a
GM
86512012-01-31 Glenn Morris <rgm@gnu.org>
8652
60dc2671 8653 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8654 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8655 Allow named functions to be used as the cdr of :variable.
e58e988a 8656
7a3f511d
GM
86572012-01-30 Glenn Morris <rgm@gnu.org>
8658
8659 * emacs-lisp/authors.el (authors-fixed-entries):
8660 Remove reference to deleted file rnewspost.el.
8661
cb882333
JB
86622012-01-29 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * window.el (window-with-parameter): Remove unused variable `windows'.
8665 (window--side-check): Remove unused variable `code'.
8666 (window--resize-siblings): Remove unused variable `first'.
8667 (adjust-window-trailing-edge): Remove unused variable `failed'.
8668 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8669 Use `let', not `let*'.
8670 (balance-windows-2): Remove unused variable `found'.
8671 (window--state-put-2): Remove unused variable `splits'.
8672 (window-state-put): Remove unused variable `selected'.
8673 (same-window-p): Use `string-match-p'.
8674 (display-buffer-assq-regexp): Remove unused variable `value'.
8675 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8676 Mark argument ALIST as ignored.
8677 (pop-to-buffer): Remove unused variable `old-window'.
8678
907201af
EZ
86792012-01-29 Eli Zaretskii <eliz@gnu.org>
8680
8681 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8682 and .lzma compressed files.
8683
ea162670
CY
86842012-01-29 Chong Yidong <cyd@gnu.org>
8685
5b95ee8a
CY
8686 * frame.el (window-system-default-frame-alist): Doc fix.
8687
ea162670
CY
8688 * dynamic-setting.el (font-setting-change-default-font): Don't
8689 change the default face if SET-FONT argument is non-nil (Bug#9982).
8690
d6e6f4b1
SB
86912012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8692
8693 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8694
0f29fa41 86952012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8696
8697 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8698 breakpoints in files outside current directory (Bug#6098).
8699
db174434
CY
87002012-01-29 Chong Yidong <cyd@gnu.org>
8701
6b25e4e2
SE
8702 * progmodes/python.el: Require ansi-color at top-level.
8703
6df6ae42
JB
8704 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8705 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8706 (lisp-mode-abbrev-table): Add doc.
8707 (lisp-mode-variables): Don't set local-abbrev-table.
8708 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8709
e70ee681
RW
87102012-01-28 Roland Winkler <winkler@gnu.org>
8711
8712 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8713
ace88aa2
RW
87142012-01-28 Roland Winkler <winkler@gnu.org>
8715
8716 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8717 (bibtex-set-dialect): Use it. Either set global values of
8718 dialect-dependent variables or bind these variables buffer-locally
8719 (Bug#10254).
8720 (bibtex-mode): Call bibtex-set-dialect via
8721 hack-local-variables-hook.
eb864a71
LM
8722 (bibtex-dialect): Update docstring.
8723 Add safe-local-variable predicate.
ace88aa2
RW
8724 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8725 bibtex-set-dialect.
8726 (bibtex-mode-map): Define menu for each dialect.
8727 (bibtex-entry): Fix docstring.
8728
93376c5b
CY
87292012-01-28 Chong Yidong <cyd@gnu.org>
8730
8731 * eshell/esh-arg.el (eshell-quote-argument): New function.
8732
8733 * eshell/esh-ext.el (eshell-invoke-batch-file):
8734 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8735 first arg to eshell-parse-command (Bug#10523).
8736
4372494f
DA
87372012-01-28 Drew Adams <drew.adams@oracle.com>
8738
8739 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8740 `default-directory' is non-nil.
8741
4d4ec1f8
EZ
87422012-01-28 Eli Zaretskii <eliz@gnu.org>
8743
8744 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8745 line that displays system-configuration-options. (Bug#9924)
8746
7c188927
DA
87472012-01-28 Drew Adams <drew.adams@oracle.com>
8748
8749 * descr-text.el (describe-char): Show information about POS, in
8750 addition to information about the character at POS. Improve and
8751 update the doc string. Change "code point" to "code point in
8752 charset", to avoid confusion with the character's Unicode code
8753 point shown above that. (Bug#10129)
8754
e0da685a
EZ
87552012-01-28 Eli Zaretskii <eliz@gnu.org>
8756
8757 * descr-text.el (describe-char): Show the raw character, not only
8758 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8759 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8760 for the reasons.
8761
70550acf
PH
87622012-01-28 Phil Hagelberg <phil@hagelb.org>
8763
eb864a71
LM
8764 * emacs-lisp/package.el (package-install):
8765 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8766
0ce8e868
CY
87672012-01-28 Chong Yidong <cyd@gnu.org>
8768
cb882333
JB
8769 * emacs-lisp/package.el (package-maybe-load-descriptor):
8770 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8771 (package-maybe-load-descriptor): Use it.
8772 (package-download-transaction): Fully load required packages
8773 inside the loop, so that `require' calls work (Bug#10593).
8774 (package-install): No need to call package-initialize now.
8775
2e7f3bea
CY
87762012-01-28 Chong Yidong <cyd@gnu.org>
8777
6e9bad14
CY
8778 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8779
f823b8ca
CY
8780 * tooltip.el (tooltip-mode): Doc fix.
8781 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8782
2680c309
CY
8783 * frame.el (set-cursor-color): Doc fix (Bug#352).
8784
d7a9e63b
CY
8785 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8786 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8787
2e7f3bea
CY
8788 * cus-edit.el (custom-buffer-create-internal): Fix search button
8789 action (Bug#10542).
2ae01800 8790 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8791
fc4f7a23
EW
87922012-01-27 Eduard Wiebe <usenet@pusto.de>
8793
8794 * dired.el (dired-mark-files-regexp):
8795 Include any subdirectory components. (Bug#10445)
8796
7dd37071
ML
87972012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8798
8799 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8800 Handle [host]:port syntax. (Bug#10533)
8801
a268160b
AH
88022012-01-27 Alex Harsanyi <harsanyi@mac.com>
8803
8804 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8805
e43273ef
GM
88062012-01-26 Glenn Morris <rgm@gnu.org>
8807
8808 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8809 * term.el (term-raw-escape-map): Use Control-X-prefix.
8810 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8811
1edf595d
MR
88122012-01-25 Martin Rudalics <rudalics@gmx.at>
8813
8814 * window.el (window-state-get, window--state-get-1): Don't deal
8815 with fixed-sizeness of windows. Simplify code.
8816
fa8eafef
JC
88172012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8818
6df6ae42
JB
8819 * window.el (window--state-get-1, window--state-put-2):
8820 Don't save and restore the mark.
fa8eafef 8821
0b21c100
CY
88222012-01-25 Chong Yidong <cyd@gnu.org>
8823
8824 * custom.el (custom-variable-p): Doc fix.
8825
5ae1a6c8
GM
88262012-01-25 Glenn Morris <rgm@gnu.org>
8827
40047858
GM
8828 * dired.el (dired-goto-file): Handle some of the more common
8829 characters that `ls -b' escapes. (Bug#10596)
8830
5ddce96c
GM
8831 * progmodes/compile.el (compilation-next-error-function):
8832 Respect compilation-first-column in the "*compilation*" buffer.
8833 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8834
5ae1a6c8
GM
8835 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8836
b559f1a9
GM
88372012-01-24 Glenn Morris <rgm@gnu.org>
8838
8839 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8840
6725d21a
JD
88412012-01-24 Julien Danjou <julien@danjou.info>
8842
8843 * color.el (color-rgb-to-hsl): Fix value computing.
8844 (color-hue-to-rgb): New function.
8845 (color-hsl-to-rgb): New function.
8846 (color-clamp, color-saturate-hsl, color-saturate-name)
8847 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8848 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8849
70df4bbe
GM
88502012-01-24 Glenn Morris <rgm@gnu.org>
8851
8852 * vc/vc-rcs.el (vc-rcs-create-tag):
8853 * vc/vc-sccs.el (vc-sccs-create-tag):
8854 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8855
802a2ae2
ML
88562012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8857
8858 * eshell/esh-util.el (eshell-read-hosts-file):
8859 Skip comment lines. (Bug#10549)
8860
d7128bb1
ML
8861 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8862
d1a5c3b4
JB
88632012-01-23 Juanma Barranquero <lekktu@gmail.com>
8864
2724d9c7
JB
8865 * subr.el (display-delayed-warnings): Doc fix.
8866 (collapse-delayed-warnings): New function to collapse identical
8867 adjacent warnings.
8868 (delayed-warnings-hook): Add it.
d1a5c3b4 8869
a5509865
MA
88702012-01-22 Michael Albinus <michael.albinus@gmx.de>
8871
8872 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8873
a5509865
MA
8874 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8875 (tramp-default-user-alist): Don't add "pscp".
8876 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8877 property "login-as", if set. (Bug#10530)
8878
cc6d5805
MA
88792012-01-21 Michael Albinus <michael.albinus@gmx.de>
8880
8881 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8882 "plink1" and "psftp". (Bug#10530)
8883
88842012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8885
8886 * international/mule-cmds.el (prefer-coding-system): Show a
8887 warning message if the default value of file-name-coding-system
8888 was not changed.
8889
f0960428
JC
88902012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8891
cb882333
JB
8892 * windmove.el (windmove-reference-loc):
8893 Fix windmove-reference-loc miscalculation.
f0960428 8894
dd6f2a63
JB
88952012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8896
8897 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8898 default unit.
8899
7b447e9b
GM
89002012-01-21 Glenn Morris <rgm@gnu.org>
8901
117a9ea1
GM
8902 * international/mule.el (auto-coding-alist): Add .tbz.
8903
7b447e9b
GM
8904 * files.el (local-enable-local-variables): Doc fix.
8905 (inhibit-local-variables-regexps): Rename from
8906 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8907 Doc fix. Add some extensions from auto-coding-alist.
8908 (inhibit-local-variables-suffixes):
8909 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8910 (inhibit-local-variables-p):
8911 New function, extracted from set-auto-mode-1.
8912 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8913 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8914 (hack-local-variables): Doc fix. Make the mode-only case
8915 respect enable-local-variables and friends.
8916 Respect inhibit-local-variables-regexps for file-locals, but
8917 not for directory-locals.
8918 (set-visited-file-name):
8919 Take account of inhibit-local-variables-regexps.
8920 Whether it applies may change as the file name is changed.
8921 * jka-cmpr-hook.el (jka-compr-install):
8922 * jka-compr.el (jka-compr-uninstall):
8923 Update for inhibit-first-line-modes-suffixes name change.
8924
dd6e3cdd
MR
89252012-01-20 Martin Rudalics <rudalics@gmx.at>
8926
8927 * help-macro.el (make-help-screen): Temporarily restore original
8928 binding for minor-mode-map-alist (Bug#10454).
8929
0d0deb38
JD
89302012-01-19 Julien Danjou <julien@danjou.info>
8931
8932 * color.el (color-name-to-rgb): Use the white color to find the max
8933 color component value and return correctly computed values.
8934 (color-name-to-rgb): Add missing float conversion for max value.
8935
34a02f46
MR
89362012-01-19 Martin Rudalics <rudalics@gmx.at>
8937
8938 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8939 special state value for window-persistent-parameters.
8940 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8941 (window--state-put-2): Reset all window parameters to nil before
8942 assigning values of persistent parameters.
8943
606c44c4
AM
89442012-01-18 Alan Mackenzie <acm@muc.de>
8945
8946 Eliminate sluggishness and hangs in fontification of "semicolon
8947 deserts".
8948
cb882333
JB
8949 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8950 Change value 10000 -> 3000.
606c44c4
AM
8951 (c-state-safe-place): Reformulate so it doesn't stack up an
8952 infinite number of wrong entries in c-state-nonlit-pos-cache.
8953 (c-determine-limit-get-base, c-determine-limit): New functions to
8954 determine backward search limits disregarding literals.
8955 (c-find-decl-spots): Amend commenting.
8956 (c-cheap-inside-bracelist-p): New function which detects "={".
8957
8958 * progmodes/cc-fonts.el
8959 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8960 backward search.
8961 (c-font-lock-declarations): Fix an occurrence of point being
8962 undefined. Check additionally for point being in a bracelist or
8963 near a macro invocation without a semicolon so as to avoid a
8964 fruitless time consuming search for a declarator. Give a more
8965 precise search limit for declarators using the new
8966 c-determine-limit.
8967
f3860cea
GM
89682012-01-18 Glenn Morris <rgm@gnu.org>
8969
8970 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8971 (set-auto-mode): Doc fixes.
8972
1db03b16
GM
89732012-01-17 Glenn Morris <rgm@gnu.org>
8974
0e6038be
GM
8975 * isearch.el (search-nonincremental-instead): Fix doc typo.
8976
1db03b16
GM
8977 * dired.el (dired-insert-directory): Handle newlines in directory name.
8978 (dired-build-subdir-alist): Unescape newlines in directory name.
8979
4cb0aa75
MA
89802012-01-17 Michael Albinus <michael.albinus@gmx.de>
8981
8982 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8983 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8984 (tramp-action-terminal): Use it. (Bug#10530)
8985
1d00653d
SM
89862012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8989
6a6ee00d
MR
89902012-01-16 Martin Rudalics <rudalics@gmx.at>
8991
8992 * window.el (window-state-ignored-parameters): Remove variable.
8993 (window--state-get-1): Rename argument MARKERS to IGNORE.
8994 Handle persistent window parameters. Make copy of clone-of
8995 parameter only if requested. (Bug#10348)
8996 (window--state-put-2): Install a window parameter only if it has
8997 a non-nil value or an existing parameter shall be overwritten.
8998
97912def
MA
89992012-01-15 Michael Albinus <michael.albinus@gmx.de>
9000
9001 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9002
688070a5
EZ
90032012-01-14 Eli Zaretskii <eliz@gnu.org>
9004
9005 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9006 don't pass the (nil) value of `upnode' to string-match.
9007
301afadc
CY
90082012-01-14 Chong Yidong <cyd@gnu.org>
9009
9010 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9011 Fix values recognized by the cursorBlink resource.
301afadc 9012
9e5788aa
PE
90132012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9014
9015 * epg.el (epg--make-temp-file): Avoid permission race condition
9016 when running on old Emacs versions (bug#10403).
9017
3cdb7f5a
GM
90182012-01-14 Glenn Morris <rgm@gnu.org>
9019
9020 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9021
8c82b1b4
AM
90222012-01-13 Alan Mackenzie <acm@muc.de>
9023
9024 Fix filling for when filladapt mode is enabled.
9025
9026 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9027 c-mask-paragraph, pass in `fill-paragraph' rather than
9028 `fill-region-as-paragraph'. (This is a reversion of a previous
9029 change.)
eb864a71
LM
9030 * progmodes/cc-mode.el (c-basic-common-init):
9031 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9032
e517eda4
GM
90332012-01-13 Glenn Morris <rgm@gnu.org>
9034
1498536e
GM
9035 * dired.el (dired-switches-escape-p): New function.
9036 (dired-insert-directory): Use dired-switches-escape-p.
9037 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9038
e517eda4
GM
9039 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9040
328f984d
GM
90412012-01-12 Glenn Morris <rgm@gnu.org>
9042
9043 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9044 changes in adaptive-fill-regexp. (Bug#10276)
9045
2cc769a8
AM
90462012-01-11 Alan Mackenzie <acm@muc.de>
9047
9048 Fix Emacs bug #10463 - put `widen's around the critical spots.
9049
1d00653d 9050 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9051 widen around each invocation of c-state-pp-to-literal. Remove an
9052 unused let variable.
9053
e52c37fa
GM
90542012-01-11 Glenn Morris <rgm@gnu.org>
9055
9056 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9057 Doc fix.
e52c37fa 9058
96f8741e
CY
90592012-01-10 Chong Yidong <cyd@gnu.org>
9060
1d00653d
SM
9061 * net/network-stream.el (network-stream-open-starttls):
9062 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9063 response to the capability command.
9064
b09a806e
GM
90652012-01-10 Glenn Morris <rgm@gnu.org>
9066
9067 * mail/unrmail.el (unrmail): Tweak previous change.
9068
7655cb66
CY
90692012-01-09 Chong Yidong <cyd@gnu.org>
9070
9071 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9072
9d5a8f0b
AM
90732012-01-08 Alan Mackenzie <acm@muc.de>
9074
9075 Optimise font locking in long enum definitions.
9076
9077 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9078 arm to a cond form to handle enums.
9079 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9080 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9081
9a0115ab 90822012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9083
9084 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9085 (Bug#10401)
6bb72cbd 9086
f186bb95
LMI
90872012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
29232a68
LMI
9089 * faces.el (set-face-attribute): Clarify the meaning of the nil
9090 frame (bug#10294).
9091
4e5d086d
LMI
9092 * subr.el (with-selected-frame): Mention that the selected frame
9093 is restored (bug#9980).
9094
8e66aebe
LMI
9095 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9096 (bug#9759).
9097
cd394be1 9098 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9099 (password-read): Don't autoload unused function.
9100
adf4e762
JB
91012012-01-07 Juanma Barranquero <lekktu@gmail.com>
9102
9103 * progmodes/which-func.el (which-func-mode): Turn into a
9104 non-interactive function and mark as obsolete (bug#10428).
9105
89bd9ccd
CY
91062012-01-06 Chong Yidong <cyd@gnu.org>
9107
9108 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9109 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9110 functions, along with 1 and -1.
9111
4afee9d5
EZ
91122012-01-06 Eli Zaretskii <eliz@gnu.org>
9113
9114 * time.el (display-time-load-average)
9115 (display-time-default-load-average): Doc fixes. See the thread
9116 starting at
9117 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9118 for the details.
9119
536aea70
GM
91202012-01-06 Glenn Morris <rgm@gnu.org>
9121
665ae865
GM
9122 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9123 has no messages. (Bug#10377)
9124
c869783d
GM
9125 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9126 than Info-edit. (Bug#10385)
9127
2bb4227e
GM
9128 * time.el (display-time-load-average, display-time-next-load-average):
9129 Doc fixes.
9130
7d5944b9
GM
9131 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9132 local setting of buffer-read-only to the input buffer. (Bug#10419)
9133
536aea70
GM
9134 * calendar/calendar.el (calendar-mode):
9135 Locally set scroll-margin to 0. (Bug#10379)
9136
7dccca16
UM
91372012-01-06 Ulrich Mueller <ulm@gentoo.org>
9138
9139 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9140
afbb7930
GM
91412012-01-05 Glenn Morris <rgm@gnu.org>
9142
9143 * eshell/em-unix.el (diff-no-select): Autoload it.
9144 (eshell/diff): Use diff-no-select. (Bug#10420)
9145
04482335
CY
91462012-01-05 Chong Yidong <cyd@gnu.org>
9147
7baca3bc
CY
9148 * shell.el (shell-dynamic-complete-functions): Revert last change.
9149 (shell-command-completion-function): New function.
9150 (shell-completion-vars): Use it to implement
9151 shell-completion-execonly (Bug#10417).
9152
04482335
CY
9153 * custom.el (enable-theme): Don't set custom-safe-themes.
9154
1d00653d
SM
9155 * cus-theme.el (custom-theme-merge-theme):
9156 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9157
bb5aa5d6
MM
91582012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9159
9160 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9161 first prompt in `sql-interacive-mode'.
9162 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9163 keywords.
6df6ae42 9164 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9165 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9166 context of original buffer. Invoke `sql-login-hook'.
9167
a7183d7c
EZ
91682012-01-04 Eli Zaretskii <eliz@gnu.org>
9169
9170 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9171 letters in cite-prefix.
9172
a1eacd1e
LMI
91732012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9174
9175 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9176
787cdb34
CY
91772012-01-03 Chong Yidong <cyd@gnu.org>
9178
1d00653d
SM
9179 * shell.el (shell-dynamic-complete-functions):
9180 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9181 comint-filename-completion first (Bug#10417).
9182
30710442
RS
91832012-01-02 Richard Stallman <rms@gnu.org>
9184
9185 * battery.el (battery-status-function):
9186 Detect when to use battery-yeeloong-sysfs.
9187 (battery-echo-area-format): Add string for Yeeloong.
9188 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9189 (battery-yeeloong-sysfs): New function.
9190
f75bfc33
CY
91912012-01-02 Chong Yidong <cyd@gnu.org>
9192
9193 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9194 (dirtrack): Merge code for handling relative filenames in prompt
9195 from shell-dir-cookie-watcher.
9196 (dirtrack-debug-message): New arg to avoid excess format calls.
9197
9198 * shell.el (shell-dir-cookie-re): Variable deleted.
9199 (shell-dir-cookie-watcher): Function deleted.
9200 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9201 with dirtrack-mode.
9202
651e947e
EZ
92032012-01-01 Eli Zaretskii <eliz@gnu.org>
9204
1d00653d
SM
9205 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9206 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9207 libgnutls-26.dll.
9208
94d4c7dc
AS
92092011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9212
8d43f3cd
EZ
92132011-12-31 Eli Zaretskii <eliz@gnu.org>
9214
9215 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9216 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9217
98c8795a
MA
92182011-12-29 Michael Albinus <michael.albinus@gmx.de>
9219
9220 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9221 also for alternative shells.
9222 (tramp-open-connection-setup-interactive-shell): Check, whether
9223 the shell is a busybox.
9224 (tramp-send-command): Don't suppress multiple prompts for
9225 busyboxes, it hurts.
9226
51281b32
CY
92272011-12-28 Chong Yidong <cyd@gnu.org>
9228
9229 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9230 (gdb-get-source-file): Move mode line update to
9231 gdb-get-source-file (Bug#10087).
9232
2170cb53
CY
92332011-12-25 Chong Yidong <cyd@gnu.org>
9234
9235 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9236 gud-gdb-marker-filter without taking it as an argument.
9237 (gud-gdb-run-command-fetch-lines): Caller changed.
9238 (gud-gdb-completion-function): New variable.
9239 (gud-gdb-completion-at-point): Use it.
9240 (gud-gdb-completions-1): Split from gud-gdb-completions.
9241
9242 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9243 function as separate arguments.
9244 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9245 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9246 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9247 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9248 (gdb-stopped, def-gdb-auto-update-trigger)
9249 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9250 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9251 Callers changed.
2170cb53
CY
9252 (gud-gdbmi-completions): New function.
9253 (gdb): Use it for generating the completion table.
9254
be8b11bb
AM
92552011-12-24 Alan Mackenzie <acm@muc.de>
9256
9257 Introduce a mechanism to widen the region used in context font
1d00653d 9258 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9259
1d00653d
SM
9260 * progmodes/cc-langs.el (c-before-font-lock-functions):
9261 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9262 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9263 functions to be run just before context (etc.) font locking.
9264
9265 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9266 New, functionality extracted from
be8b11bb 9267 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9268 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9269 (c-after-change): Set c-in-after-change-fontification.
9270 (c-set-fl-decl-start): Rejig its interface, so it can be called
9271 from both after-change and context fontifying.
b81d40f0
JB
9272 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9273 New functions.
9274 (c-standard-font-lock-fontify-region-function): New variable.
9275 (c-font-lock-fontify-region): New function.
be8b11bb 9276
341cf6ac
JL
92772011-12-24 Juri Linkov <juri@jurta.org>
9278
9279 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9280 (Bug#10348)
9281
bffcee0a
MA
92822011-12-23 Michael Albinus <michael.albinus@gmx.de>
9283
9284 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9285 existence of source file. (Bug#10325)
9286
cb5e207c
AM
92872011-12-23 Alan Mackenzie <acm@muc.de>
9288
9289 Fix unstable fontification inside templates.
9290
b81d40f0
JB
9291 * progmodes/cc-langs.el (c-before-font-lock-functions):
9292 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9293 additionally has c-set-fl-decl-start. The other languages (apart
9294 from AWK) have that as a single entry.
9295
b81d40f0
JB
9296 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9297 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9298 c-set-fl-decl-start.
9299
b81d40f0
JB
9300 * progmodes/cc-mode.el (c-common-init, c-after-change):
9301 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9302 (c-set-fl-decl-start): New function, extracted from
9303 c-font-lock-enclosing-decls and enhanced.
9304
60ff536c
JB
93052011-12-23 Juanma Barranquero <lekktu@gmail.com>
9306
9307 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9308
1c4757d6
JL
93092011-12-22 Juri Linkov <juri@jurta.org>
9310
9311 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9312
d031f2c7
CY
93132011-12-22 Chong Yidong <cyd@gnu.org>
9314
9315 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9316
bace743a
DA
93172011-12-21 Drew Adams <drew.adams@oracle.com>
9318
9319 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9320
728a1f2b
JC
93212011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9322
9323 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9324
0d373f73
TZ
93252011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9326
fec0aaa4
TZ
9327 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9328 highlighting and support. Fix up comments for capitalization.
9329 (cfengine-mode-debug): New var.
9330 (cfengine3-mode): Change the modeline indicator to "CFE3".
9331 (cfengine3-font-lock-keywords): Improve defun highlighting.
9332 (cfengine2-actions): Rename from `cfengine-actions'.
9333 (cfengine2-font-lock-keywords): Rename from
9334 `cfengine-font-lock-keywords'.
9335 (cfengine2-imenu-expression): Rename from
9336 `cfengine-imenu-expression'.
9337 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9338 (cfengine2-beginning-of-defun): Rename from
9339 `cfengine-beginning-of-defun'.
9340 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9341 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9342 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9343 modeline indicator to "CFE2".
9344 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9345 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9346
bc86f573
CY
93472011-12-21 Chong Yidong <cyd@gnu.org>
9348
9349 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9350 filename argument.
9351
d45ba96b
MR
93522011-12-20 Martin Rudalics <rudalics@gmx.at>
9353
9354 * window.el (window-normalize-buffer-to-display): Remove.
9355 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9356
a6198c90
CY
93572011-12-19 Chong Yidong <cyd@gnu.org>
9358
9359 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9360 Don't signal an error in a predicate function; return non-nil.
9361 (vc-dir-mark-file): Move the error here.
9362 (vc-dir-mark-unmark): If acting on the region, keep going if one
9363 of the entries cannot be marked/unmarked.
9364 (vc-dir-mark-all-files): If current entry is a directory, mark
9365 only child files, as documented.
9366
34c5fb55
VB
93672011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9368
9369 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9370 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9371 addition.
9372
c803b2b7
JD
93732011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9374
9375 * term/ns-win.el (ns-get-selection-internal)
9376 (ns-store-selection-internal): Declare.
1154d12e
JB
9377 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9378 Declare as obsolete.
9379 (ns-get-pasteboard, ns-paste-secondary):
9380 Use ns-get-selection-internal.
9381 (ns-set-pasteboard, ns-copy-including-secondary):
9382 Use ns-store-selection-internal.
c803b2b7 9383
9cff91f8 93842011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9385
9386 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9387 (vc-deduce-fileset): Doc fix.
99a289d9 9388
f16c898a
AS
93892011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9390
9391 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9392
763237c4
SS
93932011-12-13 Sam Steingold <sds@gnu.org>
9394
9395 * man.el (Man-getpage-in-background): When running under a
9396 window-system, ignore $MANWIDTH and $COLUMNS.
9397
5fc1c122
KH
93982011-12-15 Kenichi Handa <handa@m17n.org>
9399
9400 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9401 (setup-ethiopic-environment-internal): Comment out key-binding for
9402 ethio-toggle-punctuation.
9403
13d49cbb
AM
94042011-12-13 Alan Mackenzie <acm@muc.de>
9405
898169a2
AM
9406 Add the switch statement to AWK Mode.
9407
7a71b18d 9408 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9409 "default" to the keywords regexp.
9410
7a71b18d 9411 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9412 expression as the rest.
1d00653d
SM
9413 (c-nonlabel-token-key): Allow string literals for AWK.
9414 Refactor for the other modes.
898169a2 9415
13d49cbb 9416 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9417 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9418 routines. Limit backward searching in c-font-lock-enclosing.decl.
9419
9420 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9421 pp-state and literal type in addition to the limits.
1d00653d 9422 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9423 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9424 (c-slow-in-literal, c-fast-in-literal): Remove.
9425 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9426
9427 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9428 being in a literal. Add a limit for backward searching.
9429
9430 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9431 c-slow-in-literal.
9432
15e0efc7
SM
94332011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9436
454592a6
MR
94372011-12-13 Martin Rudalics <rudalics@gmx.at>
9438
9439 * window.el (delete-other-windows): Use correct frame in call to
9440 window-with-parameter.
9441
87393f26
DP
94422011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9443
9444 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9445 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9446 (makefile-gmake-statements, makefile-makepp-statements):
9447 Use it and add new makepp keywords.
9448 (makefile-makepp-font-lock-keywords): Add new patterns.
9449 (makefile-match-function-end): Match new [...] and [[...]].
9450
11636b22
JB
94512011-12-11 Juanma Barranquero <lekktu@gmail.com>
9452
9453 * ses.el (ses-call-printer-return, ses-cell-property-get)
9454 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9455 (ses-create-cell-variable, ses-reset-header-string)
9456 (ses-cell-set-formula, ses-repair-cell-reference-all)
9457 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9458 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9459 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9460 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9461 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9462 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9463 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9464 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9465 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9466 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9467 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9468 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9469
cf018193
VB
94702011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9471
9472 * ses.el: The overall change is to add cell renaming, that is
9473 setting fancy names for cell symbols other than name matching
9474 "\\`[A-Z]+[0-9]+\\'" regexp .
9475 (ses-create-cell-variable): New defun.
9476 (ses-relocate-formula): Relocate formulas only for cells the
9477 symbols of which are not renamed, i.e. symbols whose names do not
9478 match regexp "\\`[A-Z]+[0-9]+\\'".
9479 (ses-relocate-all): Relocate values only for cells the symbols of
9480 which are not renamed.
9481 (ses-load): Create cells variables as the (ses-cell ...) are read,
9482 in order to check row col consistency with cell symbol name only
9483 for cells that are not renamed.
9484 (ses-replace-name-in-formula): New defun.
9485 (ses-rename-cell): New defun.
9486
ee957461
CY
94872011-12-11 Chong Yidong <cyd@gnu.org>
9488
9489 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9490 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9491
9a9e9ef0
MR
94922011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9493
9494 * window.el (other-window): Fix docstring.
9495
92a8eba5
EZ
94962011-12-10 Eli Zaretskii <eliz@gnu.org>
9497
9498 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9499 `from' or `to' address before taking its substring.
9500 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9501 encoded name is chopped in the middle of the encoded string, and
9502 thus displayed encoded.
9503
e152e577
JB
95042011-12-10 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9507
e5d84bfe
EZ
95082011-12-10 Eli Zaretskii <eliz@gnu.org>
9509
9510 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9511 to use texinfo-update-node and commands that call it if the
9512 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9513 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9514 (texinfo-all-menus-update, texinfo-master-menu)
9515 (texinfo-update-node, texinfo-every-node-update)
9516 (texinfo-multiple-files-update): Doc fix. Warn against updating
9517 all the @node lines.
9518 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9519 argument is numeric. Explain better in the doc string what the
9520 function really does.
9521 (texinfo-insert-master-menu-list): Improve the error message
9522 displayed if there's no menu in the Top node.
9523 (Bug#2975) See also this thread:
e5d84bfe
EZ
9524 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9525
1d84e9bb
MG
95262011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9527
9528 * speedbar.el (speedbar-supported-extension-expressions):
9529 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9530
382c953b
JB
95312011-12-09 Juanma Barranquero <lekktu@gmail.com>
9532
9533 * printing.el (pr-mode-alist):
9534 * simple.el (filter-buffer-substring-functions)
9535 (completion-list-insert-choice-function):
9536 * window.el (window-with-parameter, window-atom-root)
9537 (window-sides-slots, window-size-fixed, window-min-delta)
9538 (window-max-delta, window--resize-mini-window)
9539 (window--resize-child-windows-normal, window-tree)
9540 (delete-other-windows, quit-window, split-window)
9541 (display-buffer-record-window, special-display-buffer-names)
9542 (special-display-regexps, special-display-popup-frame)
9543 (same-window-p, split-window-sensibly)
9544 (display-buffer-overriding-action, display-buffer-alist)
9545 (display-buffer-base-action, display-buffer, switch-to-buffer)
9546 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9547 (fit-window-to-buffer, recenter-positions)
9548 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9549 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9550 and remove unneeded backslashes in docstrings.
9551
39c9faef
SM
95522011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9553
98449af8
SM
9554 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9555
39c9faef
SM
9556 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9557 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9558 end in ".mk".
9559 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9560 when reading the makefile (bug#10116).
9561
86ed9fdc
SM
95622011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9565 (bug#10116).
9566
5580f89d
GM
95672011-12-06 Glenn Morris <rgm@gnu.org>
9568
9569 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9570
28d3917c
CY
95712011-12-06 Chong Yidong <cyd@gnu.org>
9572
9573 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9574
a98edce9
JB
95752011-12-06 Juanma Barranquero <lekktu@gmail.com>
9576
9577 * textmodes/table.el (table-shorten-cell): Fix typo.
9578
e65adfac
CG
95792011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9580
9581 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9582
71cc0b74
EZ
95832011-12-05 Eli Zaretskii <eliz@gnu.org>
9584
9585 * descr-text.el (describe-char): Fix display of strong
9586 right-to-left characters and directional embeddings and overrides.
9587
9588 * simple.el (what-cursor-position): Fix display of codepoints of
9589 strong right-to-left characters.
9590
315bc30d
CY
95912011-12-05 Chong Yidong <cyd@gnu.org>
9592
9593 * faces.el (read-color): Doc fix.
9594
58a70b94
GM
95952011-12-05 Glenn Morris <rgm@gnu.org>
9596
9597 * align.el (align--set-marker): Add doc-string.
9598 Don't try to move something that is not a marker. (Bug#10216)
9599
5158face
GM
96002011-12-04 Glenn Morris <rgm@gnu.org>
9601
9602 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9603 overly zealous deletion of trailing whitespace.
9604
520fca41
JB
96052011-12-04 Juanma Barranquero <lekktu@gmail.com>
9606
9607 * server.el (server-delete-client): On Windows, do not try to delete
9608 the only terminal.
9609 (server-process-filter): On Windows, treat requests for a tty frame as
9610 if they were for a GUI frame if the running server is in GUI mode.
9611
5e605a2e
GM
96122011-12-03 Glenn Morris <rgm@gnu.org>
9613
9614 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9615
5c3fe83f
SM
96162011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9617
6f5e57e7
SM
9618 * electric.el: Streamline electric-indent's hook.
9619 (electric-indent-chars): Revert to simple list.
9620 (electric-indent-functions): New var.
9621 (electric-indent-post-self-insert-function): Use it.
9622
5c3fe83f
SM
9623 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9624 there's no inferior buffer (bug#10196).
9625 (prolog-consult-compile): Don't use toggle-read-only.
9626
6bdac736
MA
96272011-12-02 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9630 interrupt. (Bug#10187)
9631
6131ba7f
SM
96322011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9633
99c79fee
SM
9634 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9635 (bug#9160).
9636
6131ba7f
SM
9637 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9638 (bug#10191).
9639
cb0a02ea
JL
96402011-12-02 Juri Linkov <juri@jurta.org>
9641
9642 * info.el (Info-search): Display "end of manual" when Isearch
9643 reaches the end of single-file Info manual. (Bug#9918)
9644
66e0570c
EZ
96452011-12-02 Eli Zaretskii <eliz@gnu.org>
9646
9647 * isearch.el (isearch-message-prefix): Run the input method part
9648 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9649
02b16839
JL
96502011-12-02 Juri Linkov <juri@jurta.org>
9651
9652 * isearch.el (isearch-occur): Use `word-search-regexp' for
9653 `isearch-word'.
9654 (isearch-search-and-update): Add condition for `isearch-word' and
9655 call `word-search-regexp'. (Bug#10145)
9656
0b950688
GM
96572011-12-01 Glenn Morris <rgm@gnu.org>
9658
9659 * eshell/em-hist.el (eshell-hist-initialize):
9660 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9661 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9662
9505c3c7
SM
96632011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9666
1bbe96b2 96672011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9668
a1beca85
SM
9669 * progmodes/verilog-mode.el (verilog-pretty-expr):
9670 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9671 verilog, such as += *= and the like.
9672 (verilog-assignment-operator-re): Regular expression to find the
9673 assigment operator in a verilog assignment.
9674 (verilog-assignment-operation-re): Regular expression to find an
9675 assignment statement for pretty-expr.
9676 (verilog-in-attribute-p): Query returns true if point is in an
9677 attribute context; used to skip these for expression line up from
9678 pretty-expr.
9679 (verilog-in-parameter-p): Query returns true if point is in an
9680 parameter definition context; used to skip these for expression
9681 line up from pretty-expr.
9682 (verilog-in-parenthesis-p): Query returns true if point is in a
9683 parenthetical expression, specifically ( ) but not [ ] or { };
9684 used by pretty-expr.
9685 (verilog-just-one-space): If there is no space, don't add one.
9686 (verilog-get-lineup-indent-2): Specifically skip just attribute
9687 contexts for expression lineup, rather than skipping all
9688 parenthetical expressions.
9689 (verilog-calculate-indent): Fix comment, and fix indent.
9690 (verilog-do-indent): Indent declarations in lists (suggested by
9691 Joachim Lechner).
9692 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9693 skeleton items.
9694 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9695 by Alain Mellan).
9696
1bbe96b2 96972011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9698
9699 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9700 parameters with embedded comments. Reported by Ray Stevens.
9701 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9702 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9703 Reported by Tim Holt.
9704 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9705 instantiated by upper module causing wrong expansion until AUTOed a
9706 second time. Reported by K C Buckenmaier.
9707 (verilog-diff-auto): Fix showing .* as a difference when
9708 `verilog-auto-star-save' off. Reported by Dan Dever.
9709 (verilog-auto-reset, verilog-read-always-signals)
9710 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9711 temporary signals in reset list if
9712 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9713 style to each signal's assignment type, bug381.
9714 Reported by Thomas Esposito.
6288f0ca
WS
9715 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9716 (verilog-uvm-statement-re): Support UVM indentation and
9717 highlighting, with old OVM keywords only.
a1beca85 9718 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9719 Support AUTOTIEOFF creating non-wire data types.
9720 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9721 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9722 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9723 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9724 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9725 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9726 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9727 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9728 non-numeric vector width. Reported by Alex Reed.
9729 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9730 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9731 (verilog-auto-delete-trailing-whitespace):
9732 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9733 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9734 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9735 Fix verilog-scan-cache corruption when running user AUTO expansion
9736 hooks that call indentation routines.
9737 (verilog-simplify-range-expression): Fix typo ignoring lower case
9738 identifiers.
9739 (verilog-delete-auto): Fix delete-autos to also remove user created
9740 automatics, as long as they start with AUTO.
9741 (verilog-batch-diff-auto, verilog-diff-auto)
9742 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9743 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9744 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9745 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9746 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9747 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9748 is disabled and its cache will get corrupt, causing AUTOS not to
9749 expand. Instead use only -quick functions.
9750 (verilog-scan-region): Fix scanning over escaped quotes.
9751 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9752 (verilog-re-search-backward-quick)
9753 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9754 related functions now ignore strings, to fix misparsing of strings
9755 with magic comments embedded in them.
a1beca85
SM
9756 (verilog-read-auto-template):
9757 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9758 Reported by Brad Dobbie.
9759 (verilog-read-auto-template):
9760 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9761 Reported by Brad Dobbie.
6288f0ca
WS
9762 (verilog-auto-inst, verilog-auto-inst-param)
9763 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9764 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9765 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9766 debugging templates without merge conflicts, bug357.
9767 Reported by Brad Dobbie.
9768 (verilog-read-auto-template):
9769 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9770 Reported by Brad Dobbie.
9771 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9772 abbrevs so user won't be asked to save.
9773 (verilog-read-auto-lisp-present): Fix to start at beginning of
9774 buffer in case called outside of verilog-auto.
9775 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9776 to "X-2". Reported by Matthew Myers.
9777 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9778 all inputs from module templates. Reported by Leith Johnson.
9779 (verilog-module-inside-filename-p): Fix locating programs as with
9780 modules.
9781 (verilog-auto-inst-port): Fix vl-width expressions when using
9782 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9783 (verilog-decls-get-regs, verilog-decls-get-signals,
9784 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9785 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9786 verilog-read-decls): Combine reg and wire structures into one var
9787 structure to represent SystemVerilog concepts.
9788 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9789 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9790 (verilog-auto-wire-type, verilog-insert-definition):
9791 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9792 SystemVerilog "logic" keyword instead of "wire"/"reg".
9793 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9794 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9795 ifdef or generate if so there's not a driver conflict).
9796 Reported by Matthew Myers.
9797 (verilog-auto-declare-nettype, verilog-insert-definition):
9798 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9799 `default_nettype none. Reported by Julian Gorfajn.
9800 (verilog-read-always-signals-recurse, verilog-read-decls)
9801 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9802 malformed end statement, bug325. Reported by Joshua Wise and
9803 Andrew Drake.
9804 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9805 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9806 when expanding .* in interfaces, bug320.
9807 Reported by Pierre-David Pfister.
6288f0ca 9808 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9809 name and open parenthesis, bug317.
9810 Reported by Pierre-David Pfister.
6288f0ca
WS
9811 (verilog-simplify-range-expression): Fix simplification of
9812 multiplications inside AUTOWIRE connections, bug303.
9813 (verilog-auto-inst-port): Support parameter expansion in
9814 multidimensional arrays.
9815 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9816 after "assert property". Reported by Julian Gorfajn.
9817 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9818 with multiplication, bug303.
9819 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9820 Reported by Jan Frode Lonnum.
9821
1bbe96b2
GM
98222011-11-30 Juanma Barranquero <lekktu@gmail.com>
9823
9824 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9825 (hfy-shell-file-name, hfy-shell):
9826 * international/fontset.el (x-decompose-font-name): Fix typos.
9827
98282011-11-29 Ken Brown <kbrown@cornell.edu>
9829
9830 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9831 (gdb-version): Remove defvar.
9832 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9833 (gdb-gud-context-command, gdb-non-stop-handler)
9834 (gdb-current-context-command, gdb-stopped): Use it.
9835 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9836 (gdb-non-stop-handler): Don't enable pretty-printing here.
9837 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9838 non-stop mode. Use the following.
9839 (gdb-check-target-async): New defun.
9840 (gud-watch, gdb-stopped): Fix whitespace.
9841 (gdb-get-source-file): Don't try to display the source file if
9842 `gdb-main-file' is nil.
9843
98442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * align.el: Try to generate fewer markers (bug#10047).
9847 (align--set-marker): New macro.
9848 (align-region): Use it.
9849
c935221f
SM
98502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9853
e70b5064
CY
98542011-11-29 Chong Yidong <cyd@gnu.org>
9855
9856 * indent.el (indent-for-tab-command, indent-according-to-mode):
9857 Doc fix.
9858 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9859
f3af92b7
MA
98602011-11-29 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9863 aware of remote file names. (Bug#10124)
9864
ed472be9
CY
98652011-11-29 Chong Yidong <cyd@gnu.org>
9866
9867 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9868
24510c22
SM
98692011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * files.el (find-file): Don't use force-same-window (bug#10144).
9872 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9873 use pop-to-buffer if the selected window can't be used.
9874 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9875
c60c3703
EZ
98762011-11-28 Eli Zaretskii <eliz@gnu.org>
9877
9878 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9879 special-mode-map.
9880
e95def75
CY
98812011-11-28 Chong Yidong <cyd@gnu.org>
9882
9883 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9884
c3f1c606
NR
98852011-11-27 Nick Roberts <nickrob@snap.net.nz>
9886
9887 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9888 gdb-get-source-file-list on gdb-create-source-file-list.
9889
00db469c
EZ
98902011-11-26 Eli Zaretskii <eliz@gnu.org>
9891
9892 * whitespace.el (whitespace-newline): Use a different foreground
9893 color for 16-color light-background displays.
9894
4ad3bc2a
CY
98952011-11-24 Chong Yidong <cyd@gnu.org>
9896
9897 * window.el (display-buffer--special-action): Doc fix.
9898
e9fce1ac
JB
98992011-11-25 Juanma Barranquero <lekktu@gmail.com>
9900
9901 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9902 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9903 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9904 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9905 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9906 (avl-tree-stack-first):
9907 * emacs-lisp/cconv.el (cconv--analyse-use):
9908 * net/gnutls.el (gnutls-negotiate): Fix typos.
9909
cb825e5d
GM
99102011-11-24 Glenn Morris <rgm@gnu.org>
9911
3adbe224
GM
9912 * lpr.el (lpr-windows-system, lpr-lp-system):
9913 * mail/binhex.el (binhex-begin-line):
9914 * progmodes/grep.el (grep-history, grep-find-history):
9915 * textmodes/flyspell.el:
9916 * vc/pcvs-defs.el (cvs-global-menu):
9917 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9918 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9919 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9920
321decc8
GM
9921 * net/tls.el: Fix case of "GnuTLS".
9922
420b63ad
GM
9923 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9924
cb825e5d
GM
9925 * version.el (emacs-build-system): Give it a doc-string.
9926
a0649f08
JL
99272011-11-24 Juri Linkov <juri@jurta.org>
9928
9929 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9930
c0bc0fd4
GM
99312011-11-24 Glenn Morris <rgm@gnu.org>
9932
9933 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9934 if called on a non-mime message just toggle the headers. (Bug#8006)
9935
20db1522
JB
99362011-11-24 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9939 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9940 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9941 (allout-rebullet-heading, allout-open-sibtopic)
9942 (allout-toggle-current-subtree-encryption)
9943 (allout-toggle-subtree-encryption, allout-encrypt-string)
9944 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9945 (allout-distinctive-bullets-string, allout-auto-activation):
9946 * window.el (window-normalize-buffer-to-display):
9947 * progmodes/verilog-mode.el (verilog-batch-indent):
9948 * textmodes/bibtex.el (bibtex-field-braces-opt)
9949 (bibtex-field-strings-opt):
9950 * vc/cvs-status.el (cvs-tree-merge):
9951 Fix typos.
9952
7262a87c
MA
99532011-11-23 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9956 `non-essential' to t, in order to avoid remote connections.
9957
283430a1
EZ
99582011-11-23 Eli Zaretskii <eliz@gnu.org>
9959
a1beca85
SM
9960 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9961 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9962 case-insensitively.
9963
d2992a38
ML
99642011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9965
9966 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9967
50419064
GM
99682011-11-23 Glenn Morris <rgm@gnu.org>
9969
da94eca1
GM
9970 * paths.el (rmail-file-name): Reformat the doc-string so that it
9971 is picked up.
9972
9aac4de2
GM
9973 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9974 (rmail-auto-file): Ignore case in the "special" field names,
9975 as mail-fetch-field does for all others.
9976
8038d2d2
GM
9977 * mail/rmail.el (rmail-forward):
9978 * mail/rmailkwd.el (rmail-set-label):
9979 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9980 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9981
f3fe222a
GM
9982 * mail/rmail.el (rmail-current-message): Doc fix.
9983
50419064
GM
9984 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9985
28109f49
SM
99862011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9989
394c65f1
GM
99902011-11-22 Glenn Morris <rgm@gnu.org>
9991
9992 * mail/rmailmm.el (test-rmail-mime-handler)
9993 (test-rmail-mime-bulk-handler)
9994 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9995
f2a0aa3a
JL
99962011-11-21 Juri Linkov <juri@jurta.org>
9997
1154d12e
JB
9998 * calc/calc.el (calc-read-key-sequence):
9999 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10000
9c34a344
LMI
100012011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10002
10003 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10004 Tell the caller that the next line needs recomputation, even
10005 though it doesn't start a sexp (bug#10094).
10006
f04a3be9
SM
100072011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10010
7978747f
SM
100112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10012
f04a3be9
SM
10013 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10014 Use force-same-window.
7978747f 10015
fe7a3057
JB
100162011-11-20 Juanma Barranquero <lekktu@gmail.com>
10017
10018 * descr-text.el (describe-char-unicode-data):
10019 * json.el (json-string-escape):
10020 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10021 (Footnote-unicode, Footnote-style-p):
10022 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10023
24901d61
CY
100242011-11-20 Chong Yidong <cyd@gnu.org>
10025
10026 * window.el (replace-buffer-in-windows): Restore interactive spec.
10027
bac7ff22
SM
100282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10029
24f3d7b9
SM
10030 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10031
bac7ff22
SM
10032 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10033 (byte-compile-global-not-obsolete-vars): New var.
10034 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10035 Use it.
10036 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10037
cd1181db
JB
100382011-11-20 Juanma Barranquero <lekktu@gmail.com>
10039
10040 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10041 * progmodes/pascal.el (electric-pascal-equal):
10042 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10043 * xml.el (xml-substitute-special): Fix typos.
10044
7fb18e9e
GM
100452011-11-20 Glenn Morris <rgm@gnu.org>
10046
10047 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10048 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10049 Doc fixes.
10050 (rmail-decode-mime-charset): Mark as obsolete.
10051
10052 * mail/rmailsum.el (rmail-message-regexp-p-1):
10053 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10054 Before using mime functions, check they are set. (Bug#10077)
10055
d5a6b3ba
JL
100562011-11-19 Juri Linkov <juri@jurta.org>
10057
10058 * info.el (Info-finder-find-node): Use `package--builtins' instead
10059 of `package-alist'. Use node names formed by the pattern "Keyword "
10060 and the keyword name.
10061
e981b61f
AS
100622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10063
1d00653d 10064 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10065
3ffbc301
JL
100662011-11-19 Juri Linkov <juri@jurta.org>
10067
10068 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10069 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10070 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10071 `old-history', `old-history-forward'. Add let-binding
10072 `window-selected'. Remove calls to `kill-buffer',
10073 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10074 before calling `Info-find-node', so `Info-find-node-2' will reread
10075 the Info file. Restore window positions only when `window-selected'
10076 is non-nil.
10077
30c62133
JL
100782011-11-19 Juri Linkov <juri@jurta.org>
10079
10080 * isearch.el (isearch-lazy-highlight-new-loop):
10081 Remove condition `(not isearch-error)'. (Bug#9918)
10082
10083 * misearch.el (multi-isearch-search-fun): Add condition
10084 `(not bound)' to ignore lazy-highlighting search.
10085 Add the search-failed message "end of multi" when the end of
10086 multi-sequence is reached. Uncapitalize the search-failed
10087 message "Repeat for next buffer".
10088
10089 * info.el (Info-search): Add the search-failed message
10090 "end of the manual" when the end of the manual is reached
10091 in Isearch mode.
10092
645ca9cf
JL
100932011-11-19 Juri Linkov <juri@jurta.org>
10094
10095 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10096 Use non-destructive `remove' instead of `delete' because
10097 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10098 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10099
df754f66
JL
101002011-11-19 Juri Linkov <juri@jurta.org>
10101
10102 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10103 to nil instead of binding `search-ring' and `regexp-search-ring'.
10104 (Bug#9185)
10105
0e23d96a
EZ
101062011-11-19 Eli Zaretskii <eliz@gnu.org>
10107
10108 * simple.el (line-move): Force movement by logical lines for any
10109 hscrolled window, not only when auto-hscroll-mode is on.
10110 (line-move-visual): Update doc string to that effect. (Bug#10076)
10111
8a6ccb66
AS
101122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10113
10114 * language/european.el (macintosh): Define as alias for mac-roman.
10115
49ae5b39
EZ
101162011-11-19 Eli Zaretskii <eliz@gnu.org>
10117
10118 * mail/rmailmm.el (rmail-mime-display-header)
10119 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10120 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10121 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10122 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10123 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10124 of a raw aref.
10125 (rmail-mime-entity-segment): To get past the tagline, move forward
10126 2 more lines, to account for the 2 empty lines that precede and
10127 follow the line with the buttons.
10128 (rmail-mime-update-tagline): Move one more line, to get past the
10129 empty line that follows the buttons in the tagline. (Bug#9520)
10130
c56cad4a
MR
101312011-11-19 Martin Rudalics <rudalics@gmx.at>
10132
10133 * window.el (window-max-delta-1, window-min-delta-1)
10134 (window-min-size-1, window-state-get-1, window-state-put-1)
10135 (window-state-put-2): Use "window--" prefix.
10136
cbe71af3
SM
101372011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10138
2ad52c60
SM
10139 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10140 (smie-warning-count): New var.
10141 (smie-set-prec2tab): Use it.
10142 (smie-bnf->prec2): Improve warnings. Add docstring.
10143 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10144 (smie-bnf--set-class): New function.
10145 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10146 corner case.
10147
6944dbc1
SM
10148 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10149 (compilation-error-properties, compilation-move-to-column):
10150 Handle compilation-first-column while in the target buffer.
10151
c400c4d7
SM
10152 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10153 Don't hardcode point-min==1.
10154
6dbe3e96
SM
10155 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10156 (eshell-rewrite-for-command): Remove workaround.
10157 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10158 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10159 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10160
cbe71af3
SM
10161 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10162
a8e1496d
GM
101632011-11-17 Glenn Morris <rgm@gnu.org>
10164
10165 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10166 Ignore buffer-local generated-autoload-file if it is the same
10167 as the global value. (Bug#10049)
10168
df85d315
JB
101692011-11-17 Juanma Barranquero <lekktu@gmail.com>
10170
10171 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10172 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10173 (reftex-toc-previous-heading, reftex-toc-max-level)
10174 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10175 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10176 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10177 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10178 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10179 (reftex-toc-rename-label, reftex-toc-visit-location)
10180 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10181 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10182 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10183 leaving "*toc*" only for references to the buffer.
10184
a0c2d0ae
MR
101852011-11-17 Martin Rudalics <rudalics@gmx.at>
10186
10187 * window.el (window-resize, delete-window, split-window):
10188 Replace window-splits by window-combination-resize.
1d00653d 10189 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10190
35c0bac8
GM
101912011-11-17 Glenn Morris <rgm@gnu.org>
10192
10193 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10194 Make bash entry derive from sh entry, not shell entry.
10195
d0c8fc8a
MA
101962011-11-16 Michael Albinus <michael.albinus@gmx.de>
10197
7262a87c
MA
10198 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10199 local file name.
10200
7877f373
JB
102012011-11-16 Juanma Barranquero <lekktu@gmail.com>
10202
10203 * menu-bar.el (menu-bar-file-menu):
10204 * printing.el (pr-ps-utility):
10205 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10206 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10207 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10208 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10209 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10210 (icalendar--convert-cyclic-to-ical)
10211 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10212 (icalendar--convert-ical-to-diary)
10213 (icalendar--convert-recurring-to-diary)
10214 (icalendar--convert-non-recurring-all-day-to-diary)
10215 (icalendar-import-format-sample):
10216 * progmodes/idlw-shell.el (idlwave-shell-mode):
10217 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10218 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10219 (vhdl-ps-print-init): Fix typos.
10220
10649b82
KM
102212011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10222
9d0cfcd6
GM
10223 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10224 FSF and collapse date sequence, obscure author/maintainer email address
10225 better, remove extra version line, track relocation of author's webpage.
10649b82 10226
9d0cfcd6
GM
10227 * progmodes/python.el (python-pdbtrack-input-prompt)
10228 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10229 regular python pdb prompts. Adjustments shamelessly taken exactly as
10230 suggested in EmacsWiki page (tiny change):
10231 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10232
58179cce
JB
102332011-11-16 Juanma Barranquero <lekktu@gmail.com>
10234
10235 * expand.el (expand-pos, expand-index, expand-point):
10236 Remove redundant info from docstring.
10237 (expand-add-abbrevs): Doc fix.
10238 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10239 (expand-sample-perl-mode-expand-list): Fix typos.
10240
10241 * net/dbus.el (dbus-event-member-name):
10242 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10243 * term/pc-win.el (msdos-create-frame-with-faces):
10244 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10245
b6f67890
MR
102462011-11-16 Martin Rudalics <rudalics@gmx.at>
10247
10248 * window.el (split-window, window-state-get-1)
10249 (window-state-put-1, window-state-put-2): Rename occurrences of
10250 window-nest to window-combination-limit.
1d00653d 10251 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10252
ce7ddba0
CY
102532011-11-16 Chong Yidong <cyd@gnu.org>
10254
10255 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10256 regexp (Bug#10033).
10257
3ae704f4
SM
102582011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10261 `completing-read' will remove *Completions* and will preserve
10262 current-buffer for us.
10263 (tmm-add-prompt): Users of *Completions* will always (re)set its
10264 major mode.
10265 (tmm-old-comp-map): Remove.
10266
6ad1cdde
GM
102672011-11-16 Glenn Morris <rgm@gnu.org>
10268
10269 * mail/rmailedit.el: Require rmailmm when compiling.
10270 (rmail-old-mime-state): New declaration.
10271 (rmail-edit-current-message): If editing a mime message,
10272 edit the "raw" message from the mbox buffer.
10273 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10274
d20faa20
GM
102752011-11-15 Glenn Morris <rgm@gnu.org>
10276
10277 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10278 which wasn't being used. Add optional arg to force given state.
10279 (rmail-mime): Add optional arg to force given state.
10280
c7015153
JB
102812011-11-15 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10284 * frame.el (display-mm-dimensions-alist):
10285 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10286 (outline-move-subtree-down):
10287 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10288 (newsticker--treeview-do-get-node):
10289 * net/quickurl.el (quickurl-list-buffer-name):
10290 * progmodes/dcl-mode.el (dcl-mode):
10291 * progmodes/gdb-mi.el (gdb-mapcar*):
10292 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10293
45261b50
GM
102942011-11-15 Glenn Morris <rgm@gnu.org>
10295
10296 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10297 in a boolean sense, so just make it a boolean, and fix the doc.
10298 (rmail-show-mime-function, rmail-mime-feature)
10299 (rmail-require-mime-maybe): Doc fixes.
10300 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10301
10302 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10303
0d26e0b6
JB
103042011-11-15 Juanma Barranquero <lekktu@gmail.com>
10305
10306 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10307 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10308 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10309 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10310
447f30f6
GM
103112011-11-15 Glenn Morris <rgm@gnu.org>
10312
672b871d
GM
10313 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10314 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10315 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10316 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10317 (rmail-mime, rmail-show-mime): Doc fixes.
10318
f6aa5bb1
GM
10319 * term/ns-win.el (mode-line-frame-identification):
10320 Leave it alone. (Bug#10051)
10321
947cd66b
GM
10322 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10323
447f30f6
GM
10324 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10325 Handle empty buffers. (Bug#9978)
10326
0b381c7e
JB
103272011-11-14 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * international/mule.el (define-charset):
10330 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10331 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10332 * progmodes/verilog-mode.el (verilog-backward-token):
10333 * textmodes/ispell.el (lookup-words):
10334 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10335
71e027ac
GM
103362011-11-14 Glenn Morris <rgm@gnu.org>
10337
56632ce4
GM
10338 * progmodes/executable.el
10339 (executable-make-buffer-file-executable-if-script-p):
10340 Handle file-modes returning nil.
10341
40500957
GM
10342 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10343 message - not necessary, and causes problems. (Bug#9831)
10344
071c2340
GM
10345 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10346
d3cfca60
GM
10347 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10348
71e027ac
GM
10349 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10350 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10351 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10352
89d61221
MR
103532011-11-12 Martin Rudalics <rudalics@gmx.at>
10354
10355 * window.el (window-resize, delete-window): Use window-splits
10356 variable instead of function.
10357 (window-state-get-1, window-state-put-2, window-state-put):
10358 Don't deal with windows' splits status.
10359
98282f6f
GM
103602011-11-12 Glenn Morris <rgm@gnu.org>
10361
10362 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10363 (apropos-documentation): Doc fixes.
10364
40a8bdf6
JB
103652011-11-11 Juanma Barranquero <lekktu@gmail.com>
10366
10367 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10368 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10369
65bd19ff
SM
103702011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * electric.el (electric-indent-post-self-insert-function): Make it
10373 possible for a char to only indent in some circumstances.
10374 (electric-indent-mode): Simplify.
10375
54f9154c
MR
103762011-11-11 Martin Rudalics <rudalics@gmx.at>
10377
10378 * window.el (windows-with-parameter): Remove unused function.
10379 (windows-at-side): Rename to window-at-side-list.
10380 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10381 (window-side-check, window-size-ignore, window-size-fixed-1)
10382 (window-in-direction-2): Prefix with "window--".
10383 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10384
68cbc58b
GM
103852011-11-11 Glenn Morris <rgm@gnu.org>
10386
10387 * subr.el (eval-after-load): If FILE is already loaded,
10388 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10389
b2621720
GM
103902011-11-10 Glenn Morris <rgm@gnu.org>
10391
9a4de110
GM
10392 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10393 Call svn via vc-svn-command rather than vc-do-command.
10394 (vc-svn-command): Add --non-interactive. (Bug#9993)
10395 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10396
b2621720
GM
10397 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10398 Add toggle-read-only. (Bug#7292)
10399 * files.el (toggle-read-only): Mention that it should only
10400 be used interactively. (Bug#10006)
10401
1dce7193
SM
104022011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10403
d9ac1a1e
SM
10404 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10405 Adjust regexp for OCaml warnings.
10406
0c325082
SM
10407 * electric.el (electric-pair-post-self-insert-function): Let user
10408 turn it off buffer-locally (bug#9932).
10409
90132c14
SM
10410 * progmodes/python.el (python-beginning-of-statement):
10411 Rewrite (bug#2703).
10412
1dce7193
SM
10413 * progmodes/compile.el: Better handle TABs (bug#9749).
10414 (compilation-internal-error-properties)
10415 (compilation-next-error-function): Obey the target buffer's
10416 compilation-error-screen-columns.
10417
c4e7c63a
JB
104182011-11-09 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * progmodes/meta-mode.el: Remove obsolete comments.
10421 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10422 Fix typos in docstrings.
10423
2cffd681
MR
104242011-11-09 Martin Rudalics <rudalics@gmx.at>
10425
10426 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10427 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10428 (window--resizable): New function. Make all callers of
10429 window-resizable call window--resizable instead.
10430 (window-resizable): Rewrite in terms of window--resizable.
10431
0edcba87
GM
104322011-11-08 Glenn Morris <rgm@gnu.org>
10433
10434 * progmodes/delphi.el (delphi-mode-syntax-table):
10435 Let define-derived-mode define a proper syntax table. (Bug#9994)
10436
4b0d61e3
SM
104372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * window.el: Stay away from defsubst.
10440 (window-list-no-nils): Remove.
10441 (window-state-get-1, window-state-get): Use backquote instead.
10442
cd394be1 104432011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10444
4b0d61e3 10445 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10446 Fix incorrect use of default argument in `completing-read'.
10447
e1c2c6f2
MR
104482011-11-08 Martin Rudalics <rudalics@gmx.at>
10449
10450 * window.el (display-buffer-function, special-display-function):
10451 Mention display-buffer-record-window but do not mention
10452 help-setup parameter in doc-strings.
b3f4a882 10453 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10454
105216ed
CY
104552011-11-08 Chong Yidong <cyd@gnu.org>
10456
10457 * window.el (window-total-height, window-total-width): Doc fix.
10458 (window-body-size): Move from C.
10459 (window-body-height, window-body-width): Move to C.
10460
0a9f9ab5
SM
104612011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * window.el: Make special-display like display-buffer-alist (bug#9532).
10464 (display-buffer--special-action): New function, morphed
10465 from display-buffer--special.
10466 (display-buffer): Use it to handle special-display-buffers at higher
10467 priority (just after display-buffer-alist).
10468 (display-buffer-fallback-action, display-buffer--other-frame-action)
10469 (pop-to-buffer-same-window): Remove display-buffer--special.
10470
a769dd15
GM
104712011-11-07 Glenn Morris <rgm@gnu.org>
10472
10473 * calendar/cal-menu.el (cal-menu-set-date-title):
10474 Do nothing if not in a calendar. (Bug#9976)
10475
05a61ee3
SM
104762011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * files.el (find-file): Always use selected-window.
10479
be7f5545
MR
104802011-11-07 Martin Rudalics <rudalics@gmx.at>
10481
10482 * window.el (window-combinations): Make WINDOW argument
10483 mandatory. Rewrite doc-string.
10484 (walk-window-subtree, window-atom-check, window-min-delta)
10485 (window-max-delta, window--resize-this-window)
10486 (window--resize-root-window-vertically, window-tree)
10487 (balance-windows, window-state-put): Rewrite doc-strings as to
10488 not mention the term "subwindow".
10489 (window--resize-subwindows-skip-p): Rename to
10490 window--resize-child-windows-skip-p.
10491 (window--resize-subwindows-normal): Rename to
10492 window--resize-child-windows-normal.
10493 (window--resize-subwindows): Rename to
10494 window--resize-child-windows.
10495 (window-or-subwindow-p): Rename to window--in-subtree-p.
10496
3c6702ef
ML
104972011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10498
10499 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10500 Ensure that mbox format messages end in two newlines (Bug#9974).
10501
49745b39
CY
105022011-11-06 Chong Yidong <cyd@gnu.org>
10503
10504 * window.el (window-combination-p): Function deleted; its
10505 side-effect is not used in any existing code.
10506 (window-combinations, window-combined-p): Call window-*-child
10507 directly.
10508
24300f5f
CY
105092011-11-05 Chong Yidong <cyd@gnu.org>
10510
10511 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10512 (window-size-ignore, window-state-get): Callers changed.
10513 (window-normalize-window): Rename from window-normalize-any-window.
10514 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10515 (window-normalize-live-window): Delete.
447f16b8
CY
10516 (window-combination-p, window-combined-p, window-combinations)
10517 (walk-window-subtree, window-atom-root, window-min-size)
10518 (window-sizable, window-sizable-p, window-size-fixed-p)
10519 (window-min-delta, window-max-delta, window-resizable)
10520 (window-resizable-p, window-full-height-p, window-full-width-p)
10521 (window-current-scroll-bars, window-point-1, set-window-point-1)
10522 (window-at-side-p, window-in-direction, window-resize)
10523 (adjust-window-trailing-edge, maximize-window, minimize-window)
10524 (window-deletable-p, delete-window, delete-other-windows)
10525 (record-window-buffer, unrecord-window-buffer)
10526 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10527 (quit-window, split-window, window-state-put)
10528 (set-window-text-height, fit-window-to-buffer)
10529 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10530
89bd5ee1
EZ
105312011-11-04 Eli Zaretskii <eliz@gnu.org>
10532
53479029
EZ
10533 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10534 rfc2047-decode-string.
10535 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10536 warnings.
10537
89bd5ee1
EZ
10538 * window.el (window-body-height, window-body-width): Mention in
10539 the doc string that the return values are in frame's canonical
10540 units. (Bug#9949)
10541
bd17fdee
AM
105422011-11-03 Alan Mackenzie <acm@muc.de>
10543
10544 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10545 change in cc-engine.el.
10546
acc825c5
SM
105472011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10550
1885e5b8
MR
105512011-11-02 Martin Rudalics <rudalics@gmx.at>
10552
10553 * window.el (quit-window): Call unrecord-window-buffer after
10554 showing another buffer in the window. (Bug#9937)
acc825c5 10555 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10556
ebe06da9
JB
105572011-11-02 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10560 Accept status with more than 9 shelves. (Bug#9935)
10561 Reported by Colin D Bennett <colin@gibibit.com>.
10562
4ee88440
MR
105632011-11-01 Martin Rudalics <rudalics@gmx.at>
10564
10565 * help.el (with-help-window): Don't reference
10566 temp-buffer-show-specifiers in doc-string.
10567
08e1d82c
AS
105682011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10569
10570 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10571 menu-item.
10572
84bd6e9e
VJL
105732011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10574
10575 * whitespace.el: New version 13.2.2.
10576 (whitespace-newline-mode): Disable properly. Reported by Sarah
10577 <EmacsWiki>.
10578
dba0634a
UJ
105792011-10-30 Ulf Jasper <ulf.jasper@web.de>
10580
10581 * net/newst-treeview.el: Remove "Time-stamp".
10582 (newsticker--group-manage-orphan-feeds): Do not call
10583 newsticker--treeview-tree-update.
db22a3c2
JB
10584 (newsticker-treeview-update, newsticker-treeview):
10585 Call newsticker--treeview-tree-update if necessary.
dba0634a 10586
3d8daefe
MR
105872011-10-30 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10590 (window-iso-combinations): Remove "iso-" infix.
10591 Suggested by Chong Yidong.
3d8daefe
MR
10592 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10593 (window-max-delta-1, window-resize, window--resize-siblings)
10594 (window--resize-this-window, adjust-window-trailing-edge)
10595 (split-window, balance-windows-1)
10596 (shrink-window-if-larger-than-buffer):
10597 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10598 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10599
1bc4c3ae
SM
106002011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10603 in place (bug#9907).
10604 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10605 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10606 (eshell-structure-basic-command, eshell-rewrite-while-command)
10607 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10608 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10609 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10610 (eshell-do-pipelines-synchronously, eshell-eval-command):
10611 Use backquotes and prefer setq to set.
10612 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10613 (eshell-macrop): Use functionp.
c1e2f5fa 10614 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10615
30b65d9c
CY
106162011-10-30 Chong Yidong <cyd@gnu.org>
10617
10618 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10619 instead of set-mark (Bug#9810).
10620
2d197ffb
CY
106212011-10-30 Chong Yidong <cyd@gnu.org>
10622
10623 * window.el (split-window-below, split-window-right): Rename from
10624 split-window-above-each-other and split-window-side-by-side
10625 respectively. All callers changed.
10626 (split-window-sensibly, split-window-sensibly): Use them.
10627 (split-window-keep-point): Doc fix.
10628
10629 * isearch.el: Add isearch-scroll property to split-window-below
10630 and split-window-right.
10631
10632 * follow.el (follow-mode):
10633 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10634 * progmodes/ada-xref.el (ada-gdb-application):
10635 * emulation/vip.el (vip-buffer-in-two-windows):
10636 * image-dired.el (image-dired-dired-with-window-configuration):
10637 * dired-x.el (dired-do-find-marked-files):
10638 * dired.el (dired-pop-to-buffer):
10639 * bs.el (bs--show-with-configuration):
10640 * vc/emerge.el (emerge-setup-windows):
10641 * textmodes/two-column.el (2C-two-columns):
10642 * textmodes/reftex-toc.el (reftex-toc):
10643 * progmodes/gdb-mi.el (gdb-setup-windows):
10644 * progmodes/fortran.el (fortran-window-create):
10645 * net/newst-treeview.el (newsticker--treeview-window-init):
10646 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10647 * emulation/tpu-edt.el (tpu-gold-map):
10648 * emulation/crisp.el (crisp-mode-map):
10649 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10650
38bb2ca8
CY
106512011-10-29 Chong Yidong <cyd@gnu.org>
10652
aa4de341
CY
10653 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10654
e1eb5385
CY
10655 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10656
5d2ece3c
CY
10657 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10658 forged Ispell output (Bug#7904).
10659
38bb2ca8
CY
10660 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10661
d0af9f77
SM
106622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10663
10664 * doc-view.el: Avoid ugly errors about not finding nil.
10665 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10666 (doc-view-dvipdf-program, doc-view-unoconv-program)
10667 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10668 Avoid nil or absolute file name as default value.
10669 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10670
52bedd34
AM
106712011-10-28 Alan Mackenzie <acm@muc.de>
10672
db22a3c2 10673 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10674
7e43cfa5
AM
106752011-10-28 Alan Mackenzie <acm@muc.de>
10676
10677 Amend the handling of c-beginning/end-of-defun in nested declaration
10678 scopes.
10679
52bedd34
AM
10680 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10681 cc-langs.el. Change it to a defcustom.
7e43cfa5 10682
52bedd34
AM
10683 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10684 cc-vars.el.
7e43cfa5 10685
d0af9f77
SM
10686 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10687 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10688
52bedd34 10689 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10690 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10691 (c-widen-to-enclosing-decl-scope): New function.
10692 (c-while-widening-to-decl-block): New macro.
10693 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10694 outward for defun boundaries, and correspondingly change symbol
10695 `respect-enclosure' to `go-outward'.
10696 (c-declaration-limits): Change algorithm to report only the "innermost"
10697 defun's boundaries.
10698
1a2ce9ee
DD
106992011-10-28 Deniz Dogan <deniz@dogan.se>
10700
10701 * net/rcirc.el (rcirc-mode): Use hard newlines.
10702
bc97a826
AM
107032011-10-28 Alan Mackenzie <acm@muc.de>
10704
10705 Amend to indent and fontify macros "which include their own semicolon"
10706 correctly, using the "virtual semicolon" mechanism.
10707
52bedd34 10708 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10709
d0af9f77 10710 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10711 Recode to scan one line at a time rather than having \n and \r
58179cce 10712 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10713 (c-forward-label): Amend for virtual semicolons.
58179cce 10714 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10715
52bedd34
AM
10716 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10717 of the new C macros.
bc97a826 10718
52bedd34 10719 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10720 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10721 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10722 (c-opt-cpp-macro-define): Make into a full language variable.
10723 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10724 AWK Mode (including \n, \r) removed, no longer needed.
10725
d0af9f77
SM
10726 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10727 Invoke c-make-macro-with-semi-re.
bc97a826 10728
52bedd34
AM
10729 * progmodes/cc-vars.el (c-macro-with-semi-re):
10730 (c-macro-names-with-semicolon): New variables.
58179cce 10731 (c-make-macro-with-semi-re): New function.
bc97a826 10732
7a6c0941
SM
107332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * vc/log-edit.el: Fill empty field rather than adding new one.
10736 (log-edit-add-field): New function.
10737 (log-edit-insert-changelog): Use it.
10738
b0c4cdcf
ML
107392011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10740
10741 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10742
ee1f1da9
SM
107432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10746 (gdb--check-interpreter): New function.
10747 (gdb): Use it.
10748
51bc5f8b
GM
107492011-10-27 Glenn Morris <rgm@gnu.org>
10750
416a2c45
GM
10751 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10752 (least-positive-float, least-negative-float)
10753 (least-positive-normalized-float, least-negative-normalized-float)
10754 (float-epsilon, float-negative-epsilon):
10755 Remove unnecessary declarations.
10756
10757 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10758 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10759 (least-positive-float, least-negative-float)
10760 (least-positive-normalized-float, least-negative-normalized-float)
10761 (float-epsilon, float-negative-epsilon): Add doc-strings,
10762 based on those in cl.texi.
10763
51bc5f8b
GM
10764 * files.el (set-visited-file-name): If the major-mode changed,
10765 reload the local variables. (Bug#9796)
10766
15de15c6
CY
107672011-10-27 Chong Yidong <cyd@gnu.org>
10768
10769 * subr.el (change-major-mode-after-body-hook): New hook.
10770 (run-mode-hooks): Run it.
10771
ee1f1da9
SM
10772 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10773 Use change-major-mode-before-body-hook.
15de15c6
CY
10774
10775 * simple.el (fundamental-mode):
10776 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10777 change introducing fundamental-mode-hook.
10778
5430d399
JB
107792011-10-26 Juanma Barranquero <lekktu@gmail.com>
10780
acc825c5 10781 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10782
ad74a69e
MA
107832011-10-26 Michael Albinus <michael.albinus@gmx.de>
10784
10785 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10786 tramp.el explicitly. (Bug#7583)
ad74a69e 10787
71d4c2a5
SM
107882011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * progmodes/octave-mod.el:
10791 * progmodes/octave-inf.el: Update maintainer.
10792
b1f6fa26
CY
107932011-10-26 Chong Yidong <cyd@gnu.org>
10794
10795 * subr.el (with-wrapper-hook): Rewrite doc.
10796
3f04efd6
MA
107972011-10-25 Michael Albinus <michael.albinus@gmx.de>
10798
10799 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10800 filenames "/method:foo:". (Bug#9793)
3f04efd6 10801
410488d3
SM
108022011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10805 (bug#9865).
10806
c1ebb47e
GM
108072011-10-24 Glenn Morris <rgm@gnu.org>
10808
10809 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10810
7f5c46c7
MA
108112011-10-24 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * notifications.el: Add the requirement of a running D-Bus session
10814 bus to the Commentary.
10815
db2440b6
JL
108162011-10-24 Juri Linkov <juri@jurta.org>
10817
10818 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10819 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10820 (Bug#9364)
10821
feecf435
JL
108222011-10-24 Juri Linkov <juri@jurta.org>
10823
10824 * info.el (Info-following-node-name-re): Add newline to the list
10825 of allowed characters for leading space. (Bug#9824)
10826
a3839de2
SM
108272011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10828
acc825c5
SM
10829 * progmodes/octave-inf.el (inferior-octave-mode-map):
10830 Fix C-c C-h binding.
a3839de2
SM
10831 * progmodes/octave-mod.el (octave-help): Remove.
10832
09388e76
MA
108332011-10-23 Michael Albinus <michael.albinus@gmx.de>
10834
10835 Sync with Tramp 2.2.3.
10836
10837 * net/tramp-cache.el (top): Pacify byte-compiler using
10838 `init-file-user' and `site-run-file'.
10839
10840 * net/trampver.el: Update release number.
10841
86c60681
CY
108422011-10-23 Chong Yidong <cyd@gnu.org>
10843
10844 * files.el (toggle-read-only): Remove obsolete comment about
10845 version control.
10846
10847 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10848 for toggle-read-only. Note that this hasn't called vc-next-action
10849 since 2008-05-02, though it wasn't documented at the time.
10850
a3839de2
SM
10851 * vc/ediff-init.el (ediff-toggle-read-only-function):
10852 Use toggle-read-only.
86c60681 10853
cd5495ff
AM
108542011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10855
10856 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10857 of c-parse-state.
10858
00b77525 10859 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10860 correct faulty logical expression.
cd5495ff
AM
10861 (c-parse-state-state, c-record-parse-state-state):
10862 (c-replay-parse-state-state): New defvar/defuns.
10863 (c-debug-parse-state): Use new functions.
10864
42ee24ed
MR
108652011-10-22 Martin Rudalics <rudalics@gmx.at>
10866
10867 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10868 last fix. Use window-in-direction correctly.
42ee24ed 10869
a7dee7e7
CY
108702011-10-21 Chong Yidong <cyd@gnu.org>
10871
10872 * progmodes/idlwave.el (idlwave-mode):
10873 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10874 require-final-newline; that's done in prog-mode.
10875 Suggested by Stefan Monnier.
a7dee7e7 10876
e07b9a6d
MR
108772011-10-21 Martin Rudalics <rudalics@gmx.at>
10878
10879 * mouse.el (mouse-drag-window-above)
10880 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10881 (mouse-drag-mode-line-1, mouse-drag-header-line)
10882 (mouse-drag-vertical-line-rightward-window): Remove.
10883 (mouse-drag-line): New function.
10884 (mouse-drag-mode-line, mouse-drag-header-line)
10885 (mouse-drag-vertical-line): Call mouse-drag-line.
10886 * window.el (window-at-side-p, windows-at-side): New functions.
10887
7e1361d9
UM
108882011-10-21 Ulrich Mueller <ulm@gentoo.org>
10889
10890 * tar-mode.el (tar-grind-file-mode):
10891 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10892
30fcaf3a
CY
108932011-10-21 Chong Yidong <cyd@gnu.org>
10894
10895 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10896 * progmodes/vera-mode.el (vera-mode):
10897 Use mode-require-final-newline.
30fcaf3a 10898
516eddb0
GM
108992011-10-20 Glenn Morris <rgm@gnu.org>
10900
db22a3c2 10901 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10902
10d5f513
CS
109032011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10904
10905 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10906
ac6c8639
CY
109072011-10-20 Chong Yidong <cyd@gnu.org>
10908
10909 * emulation/cua-base.el (cua-mode):
10910 * mail/footnote.el (footnote-mode):
10911 * mail/mailabbrev.el (mail-abbrevs-mode):
10912 * net/xesam.el (xesam-minor-mode):
10913 * progmodes/bug-reference.el (bug-reference-mode):
10914 * progmodes/cap-words.el (capitalized-words-mode):
10915 * progmodes/compile.el (compilation-minor-mode)
10916 (compilation-shell-minor-mode):
10917 * progmodes/gud.el (gud-tooltip-mode):
10918 * progmodes/hideif.el (hide-ifdef-mode):
10919 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10920 * progmodes/subword.el (subword-mode):
10921 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10922 * progmodes/which-func.el (which-function-mode):
10923 * term/tvi970.el (tvi970-set-keypad-mode):
10924 * term/vt100.el (vt100-wide-mode):
10925 * textmodes/flyspell.el (flyspell-mode):
10926 * textmodes/ispell.el (ispell-minor-mode):
10927 * textmodes/nroff-mode.el (nroff-electric-mode):
10928 * textmodes/paragraphs.el (use-hard-newlines):
10929 * textmodes/refill.el (refill-mode):
10930 * textmodes/reftex.el (reftex-mode):
10931 * textmodes/rst.el (rst-minor-mode):
10932 * textmodes/sgml-mode.el (html-autoview-mode)
10933 (sgml-electric-tag-pair-mode):
10934 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10935 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10936 * emulation/crisp.el (crisp-mode):
10937 * emacs-lisp/eldoc.el (eldoc-mode):
10938 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10939 minor mode behavior.
10940
aa42ab43
JL
109412011-10-19 Juri Linkov <juri@jurta.org>
10942
10943 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10944 the list of hard-coded chars with escape-glyph face.
10945
89400f1d
SM
109462011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10949
305c07f6
MA
109502011-10-19 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10953 running process.
10954
13754b54
GM
109552011-10-19 Glenn Morris <rgm@gnu.org>
10956
10957 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10958 Ignore ignored files. (Bug#9726)
10959
06e21633
CY
109602011-10-19 Chong Yidong <cyd@gnu.org>
10961
10962 Doc fix for minor modes, stating that an omitted argument enables
10963 the mode unconditionally when called from Lisp.
10964
10965 * abbrev.el (abbrev-mode):
10966 * allout.el (allout-mode):
10967 * autoinsert.el (auto-insert-mode):
10968 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10969 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10970 (global-auto-revert-mode):
10971 * battery.el (display-battery-mode):
10972 * composite.el (global-auto-composition-mode)
10973 (auto-composition-mode):
10974 * delsel.el (delete-selection-mode):
10975 * desktop.el (desktop-save-mode):
10976 * dired-x.el (dired-omit-mode):
10977 * dirtrack.el (dirtrack-mode):
10978 * doc-view.el (doc-view-minor-mode):
10979 * double.el (double-mode):
10980 * electric.el (electric-indent-mode, electric-pair-mode):
10981 * emacs-lock.el (emacs-lock-mode):
10982 * epa-hook.el (auto-encryption-mode):
10983 * follow.el (follow-mode):
10984 * font-core.el (font-lock-mode):
10985 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10986 * help.el (temp-buffer-resize-mode):
10987 * hilit-chg.el (highlight-changes-mode)
10988 (highlight-changes-visible-mode):
10989 * hi-lock.el (hi-lock-mode):
10990 * hl-line.el (hl-line-mode, global-hl-line-mode):
10991 * icomplete.el (icomplete-mode):
10992 * ido.el (ido-everywhere):
10993 * image-file.el (auto-image-file-mode):
10994 * image-mode.el (image-minor-mode):
10995 * iswitchb.el (iswitchb-mode):
10996 * jka-cmpr-hook.el (auto-compression-mode):
10997 * linum.el (linum-mode):
10998 * longlines.el (longlines-mode):
10999 * master.el (master-mode):
11000 * mb-depth.el (minibuffer-depth-indicate-mode):
11001 * menu-bar.el (menu-bar-mode):
11002 * minibuf-eldef.el (minibuffer-electric-default-mode):
11003 * mouse-sel.el (mouse-sel-mode):
11004 * msb.el (msb-mode):
11005 * mwheel.el (mouse-wheel-mode):
11006 * outline.el (outline-minor-mode):
11007 * paren.el (show-paren-mode):
11008 * recentf.el (recentf-mode):
11009 * reveal.el (reveal-mode, global-reveal-mode):
11010 * rfn-eshadow.el (file-name-shadow-mode):
11011 * ruler-mode.el (ruler-mode):
11012 * savehist.el (savehist-mode):
11013 * scroll-all.el (scroll-all-mode):
11014 * scroll-bar.el (scroll-bar-mode):
11015 * server.el (server-mode):
11016 * shell.el (shell-dirtrack-mode):
11017 * simple.el (auto-fill-mode, transient-mark-mode)
11018 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11019 (line-number-mode, column-number-mode, size-indication-mode)
11020 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11021 * strokes.el (strokes-mode):
11022 * time.el (display-time-mode):
11023 * t-mouse.el (gpm-mouse-mode):
11024 * tool-bar.el (tool-bar-mode):
11025 * tooltip.el (tooltip-mode):
11026 * type-break.el (type-break-mode-line-message-mode)
11027 (type-break-query-mode):
11028 * view.el (view-mode):
11029 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11030 (global-whitespace-mode, global-whitespace-newline-mode):
11031 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11032
a3839de2
SM
11033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11034 Fix autogenerated docstring.
06e21633 11035
5214e501
JL
110362011-10-19 Juri Linkov <juri@jurta.org>
11037
11038 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11039 by checking environment variables "DESKTOP_SESSION" and
11040 "XDG_CURRENT_DESKTOP". (Bug#9779)
11041
195f8db9
JL
110422011-10-19 Juri Linkov <juri@jurta.org>
11043
11044 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11045 (browse-url-chromium-program, browse-url-chromium-arguments):
11046 New defcustoms.
11047 (browse-url-default-browser): Check for `browse-url-chromium' and
11048 call `browse-url-chromium-program'.
11049 (browse-url-chromium): New command. (Bug#9779)
11050
343a34ff
JB
110512011-10-18 Juanma Barranquero <lekktu@gmail.com>
11052
11053 * facemenu.el (list-colors-duplicates): On Windows, detect more
11054 duplicates by assuming that only colors matching "^System" are
11055 special "system colors". (Bug#9722)
11056
6978a151
SM
110572011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11060 to distinguish the author from the committer.
11061
6a80b297
MA
110622011-10-18 Michael Albinus <michael.albinus@gmx.de>
11063
11064 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11065
b31a5677
JK
110662011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11067
11068 * international/mule.el (sgml-html-meta-auto-coding-function):
11069 Add support for detecting encoding in HTML5 specified only as
11070 <meta charset="UTF-8">. Implementation just makes http-equiv and
11071 content-type parts from HTML4 encoding string optional. (Bug#9716)
11072
80c6d77f
GM
110732011-10-18 Glenn Morris <rgm@gnu.org>
11074
11075 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11076
08b0fee8
CY
110772011-10-18 Chong Yidong <cyd@gnu.org>
11078
11079 * faces.el (cursor): Doc fix.
11080
67e729a5
CY
110812011-10-17 Chong Yidong <cyd@gnu.org>
11082
11083 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11084
343a34ff 110852011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11086
11087 * dirtrack.el (dirtrack): Support shell buffers with path
11088 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11089
0bc06380
TZ
110902011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11091
11092 * json.el: Bump version to 1.3 and note change in History.
11093 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11094
8b79f3e0
SM
110952011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11096
5a7c536b
SM
11097 * comint.el (comint-insert-input, comint-send-input)
11098 (comint-get-old-input-default, comint-backward-matching-input)
11099 (comint-next-prompt): Use nil instead of `input' for field property of
11100 past user input (bug#114).
11101
96a8a0df
SM
11102 * minibuffer.el (completion--replace): Inherit surrounding properties
11103 (bug#114).
11104 (minibuffer-complete-and-exit): Use it.
11105
8b79f3e0
SM
11106 * comint.el (comint--table-subvert): Quote the all-completions output
11107 (bug#9160).
11108
b8f7ff0d
MR
111092011-10-17 Martin Rudalics <rudalics@gmx.at>
11110
8b79f3e0 11111 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11112
b8f7ff0d 11113 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11114 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11115 entries and separate them from frame entries.
11116
c235b555
GM
111172011-10-15 Glenn Morris <rgm@gnu.org>
11118
11119 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11120 Doc fixes.
11121
6bbfa6e1
CY
111222011-10-15 Chong Yidong <cyd@stupidchicken.com>
11123
8b79f3e0
SM
11124 * net/network-stream.el (network-stream-open-starttls):
11125 Improve detection of failure due to lack of TLS support.
ec5c990d 11126
6bbfa6e1
CY
11127 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11128 putting the input text in front and in bold.
11129
98488977
SM
111302011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11131
3d1337be
SM
11132 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11133
ee0b45e4
SM
11134 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11135 empty buffer.
11136
98488977
SM
11137 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11138 unread-command-events rather than pushing yet-another event.
11139
186f4720
EZ
111402011-10-14 Eli Zaretskii <eliz@gnu.org>
11141
11142 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11143 the explanation of the possible choices. Make the options passed
11144 to completing-read shorter.
11145
8b7a997c
AM
111462011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11147
11148 * textmodes/flyspell.el (flyspell-large-region): Make sure
11149 extended character mode is used if defined (Bug#1339).
11150
12587bbb
EZ
111512011-10-13 Eli Zaretskii <eliz@gnu.org>
11152
11153 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11154 character info for LRE, LRO, RLE, and RLO characters by appending
11155 an invisible PDF.
12587bbb 11156
bad41229
SM
111572011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11160 even in case of error; add debug spec; simplify data flow.
11161 (with-timeout-handler): Remove.
11162
28dbc92f
MA
111632011-10-12 Michael Albinus <michael.albinus@gmx.de>
11164
11165 Fix Bug#6019, Bug#9315.
11166
11167 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11168 complete `buffer-file-name', the local file name part could look
11169 remotely (for example on VMS).
11170
11171 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11172 `tramp-run-real-handler'.
11173 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11174 already quoted by '"'.
11175
11176 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11177 Let `file-name-handler-alist' be nil, the local file name part
11178 could look remotely (for example on VMS).
11179
e1b0b23a
SM
111802011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11183 from here...
11184 (flyspell-post-command-hook): ...to here.
11185
a120bde9
SM
111862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11189 if not needed.
11190 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11191 using completion. Protect against "slow" callers.
11192 Remove the "message hack".
11193
7ce7717b
JL
111942011-10-11 Juri Linkov <juri@jurta.org>
11195
11196 * isearch.el (isearch-lazy-highlight-word): New variable.
11197 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11198 Use it. (Bug#9727)
11199
c02ee9d6
GM
112002011-10-11 Glenn Morris <rgm@gnu.org>
11201
11202 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11203 like f90-previous-statement does.
11204
93e616fd 112052011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11206
1f190e73 11207 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11208 only in interactive use, to avoid error.
11209
af7b6078
SM
112102011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * minibuffer.el (completion-file-name-table): Fix last change,
11213 i.e. ignore normal errors but not the other ones.
11214
0563dae9
MR
112152011-10-10 Martin Rudalics <rudalics@gmx.at>
11216
11217 * window.el (special-display-buffer-names)
11218 (special-display-regexps): Remove some remnants of earlier
11219 changes from doc-strings.
366ca7f3
MR
11220 (quit-windows-on): New function.
11221
11222 * vc/vc.el (vc-revert, vc-rollback):
11223 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11224 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11225 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11226
49677495
MR
112272011-10-09 Martin Rudalics <rudalics@gmx.at>
11228
11229 * window.el (frame-auto-hide-function): Add version tag.
11230 (Bug#9699)
11231
56f2d1e1
MA
112322011-10-09 Michael Albinus <michael.albinus@gmx.de>
11233
11234 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11235 condition.
11236
112a6592
LL
112372011-10-09 Leo Liu <sdl.web@gmail.com>
11238
11239 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11240 (Bug#9701)
11241
0812589b
GM
112422011-10-08 Glenn Morris <rgm@gnu.org>
11243
11244 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11245 before the first code statement zero indent. (Bug#9690)
11246
b2b0776e
CY
112472011-10-08 Chong Yidong <cyd@stupidchicken.com>
11248
11249 * simple.el (count-words-region): Always count in the region.
11250 Report the number of lines and characters too.
11251 (count-words): New command, which counts in the buffer if the
11252 region is inactive, as count-words-region used to.
11253 (count-words--message): New function. Handle plurals.
11254 (count-lines-region): Make it an alias for count-words-region.
11255
11256 * bindings.el (esc-map): Replace count-lines-region with
11257 count-words-region.
11258
c557cd6b
MR
112592011-10-08 Martin Rudalics <rudalics@gmx.at>
11260
11261 * window.el (window--delete): Delete dedicated frame
11262 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11263 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11264
61a57ef4 112652011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11266
3a7d293b 11267 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11268
c3833279
CY
112692011-10-07 Chong Yidong <cyd@stupidchicken.com>
11270
11271 * bindings.el ([M-left],[M-right]): Bind to left-word and
11272 right-word respectively.
11273
21ce8245
GM
112742011-10-07 Glenn Morris <rgm@gnu.org>
11275
11276 * cus-start.el (debug-on-quit): Fix custom type.
11277
6d823bb2
LMI
112782011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279
0181e193
LMI
11280 * subr.el (define-key-after): Clarify that the function is not
11281 useful for non-menu keymaps.
11282
6d823bb2
LMI
11283 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11284
8e3459ce 112852011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11286
21ce8245 11287 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11288 in current minibuffer (Fix bug with recursive minibuffers).
11289
a1c2d21e
CY
112902011-10-06 Chong Yidong <cyd@stupidchicken.com>
11291
11292 * progmodes/gdb-mi.el (gdb): Doc fix.
11293
5a4cf282
MR
112942011-10-05 Martin Rudalics <rudalics@gmx.at>
11295
11296 * window.el (frame-auto-hide-function): New option replacing
11297 frame-auto-delete. Suggested by Stefan Monnier.
11298 (window--delete): Call frame-auto-hide-function instead of
11299 investigating frame-auto-delete.
c96111ea
MR
11300 (window-point-1, set-window-point-1): New functions.
11301 (window-in-direction, record-window-buffer, window-state-get-1)
11302 (display-buffer-record-window): Use window-point-1 instead of
11303 window-point.
11304 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11305
9854542e
SM
113062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11309
8943cfb0
GM
113102011-10-05 Glenn Morris <rgm@gnu.org>
11311
11312 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11313 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11314
647ab967
LL
113152011-10-05 Leo Liu <sdl.web@gmail.com>
11316
11317 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11318 works with buffer object.
11319
3ddfbced
SM
113202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * mpc.el (mpc-tool-bar-map): Add labels.
11323
bdfa5dd2
GM
113242011-10-04 Glenn Morris <rgm@gnu.org>
11325
11326 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11327
0e2070b5
MR
113282011-10-04 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (window--delete): New function.
11331 (frame-auto-delete): Resuscitate option.
11332 (bury-buffer, replace-buffer-in-windows)
11333 (quit-window): Rewrite using window--delete.
11334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11335 Pass display-buffer-mark-dedicated to window--display-buffer-2
11336 (Bug#9639).
11337
3dc61a09
SM
113382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11339
915a9b64
SM
11340 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11341 returns a list (bug#9554). Add remote file name completion.
11342 * comint.el (comint--table-subvert): Curry and get quote&unquote
11343 functions as arguments.
11344 (comint--complete-file-name-data): Adjust call accordingly.
11345 * pcomplete.el (pcomplete--table-subvert): Remove.
11346 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11347
3dc61a09
SM
11348 * minibuffer.el (completion-table-case-fold): Use currying.
11349 (completion--styles-type, completion--cycling-threshold-type):
11350 New constants.
11351 (completion-styles, completion-category-overrides)
11352 (completion-cycle-threshold): Use them.
11353 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11354 completion-table-case-fold.
11355
8ea0a993
SB
113562011-10-03 Stephen Berman <stephen.berman@gmx.net>
11357
11358 * minibuffer.el (completion-category-overrides): Fix type of styles
11359 and add more user friendly tags (bug#9660).
11360
8c24b7f6
SM
113612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11364 (mule-input-method-string): New widget.
11365 (default-input-method, language-info-custom-alist): Use it.
11366
428fe61a
SM
113672011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11368
32c1fffd
SM
11369 * pcomplete.el: Require comint.
11370 (pcomplete--common-suffix): Remove.
11371 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11372 (pcomplete--table-subvert): Sync with comint--table-subvert.
11373 (pcomplete--entries): Use comint-completion-file-name-table.
11374 * comint.el (comint-unquote-filename): Simplify.
11375 (comint-completion-file-name-table): New function (bug#9616).
11376 (comint--complete-file-name-data): Use it.
11377
428fe61a
SM
11378 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11379 (pcmpl-gnu-tar-buffer): Remove.
11380 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11381 around. Make sure pcomplete-suffix-list is only changed temporarily.
11382 Don't look inside the tar's file if it's too large.
428fe61a 11383
04c52e2f
CY
113842011-10-01 Chong Yidong <cyd@stupidchicken.com>
11385
ce3cefcc
CY
11386 * cus-edit.el (custom-mode-map):
11387 * epa.el (epa-key-list-mode-map):
11388 * man.el (Man-mode-map):
11389 * startup.el (splash-screen-keymap):
11390 * simple.el (special-mode-map): Use scroll-up-command and
11391 scroll-down-command.
11392
11393 * progmodes/idlw-help.el (idlwave-help-mode-map):
11394 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11395 * net/newst-plainview.el (newsticker-mode-map):
11396 * emulation/ws-mode.el (wordstar-mode-map):
11397 * emulation/vi.el (vi-com-map):
11398 * calc/calc-graph.el (calc-graph-show-dumb):
11399 * term/sun.el (terminal-init-sun):
11400 * term/ns-win.el (global-map):
11401 * progmodes/grep.el (grep-mode-map):
11402 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11403 * mail/rmail.el (rmail-mode-map):
11404 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11405
04c52e2f
CY
11406 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11407 custom-safe-themes as special.
11408
79adf8c8
JD
114092011-10-01 Julien Danjou <julien@danjou.info>
11410
11411 * notifications.el (notifications-notify): Fix docstring.
11412
63bd50d3
PS
114132011-10-01 Per Starbäck <per@starback.se>
11414
11415 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11416
199e4c7e
MR
114172011-09-30 Martin Rudalics <rudalics@gmx.at>
11418
11419 * startup.el (command-line-1): Fix last fix by inserting
11420 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11421 (Bug#9605) and (Bug#9636)
199e4c7e 11422
fe5f08dd
EZ
114232011-09-29 Eli Zaretskii <eliz@gnu.org>
11424
11425 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11426 window is hscrolled, move by logical lines. (Bug#9607)
11427 (line-move-visual): Update the doc string to the above effect.
11428
b5516bbd
MR
114292011-09-29 Martin Rudalics <rudalics@gmx.at>
11430
ccee00c0
MR
11431 * window.el (display-buffer-record-window): When WINDOW is the
11432 selected window use `point' instead of `window-point'. (Bug#9626)
11433
b5516bbd
MR
11434 * startup.el (command-line-1): Use insert-before-markers when
11435 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11436
b5516bbd
MR
11437 * help.el (help-window): Remove variable.
11438
52aa0014
GM
114392011-09-29 Glenn Morris <rgm@gnu.org>
11440
11441 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11442
df9a7357
JB
114432011-09-29 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * descr-text.el (describe-char-categories): Accept category
11446 descriptions more than one line long.
11447
a8406c20
SM
114482011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11449
88d9610c
SM
11450 * simple.el (delete-trailing-whitespace): Fix last change.
11451
a5daf810
SM
11452 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11453 Don't confuse "y => 3" as the beginning of a `y' operation.
11454
a8406c20
SM
11455 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11456 object has more than 4 slots (bug#9613).
11457
a239d4e9
JB
114582011-09-28 Juanma Barranquero <lekktu@gmail.com>
11459
11460 * subr.el (with-output-to-temp-buffer):
11461 * net/quickurl.el (quickurl, quickurl-browse-url):
11462 Fix typos in docstrings.
11463
693fbdb6
EZ
114642011-09-27 Eli Zaretskii <eliz@gnu.org>
11465
11466 * minibuffer.el (completion-styles)
11467 (completion-category-overrides): Cross reference each other in doc
11468 strings.
11469
8b457e28
GM
114702011-09-27 Glenn Morris <rgm@gnu.org>
11471
11472 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11473 to split-string. (Bug#9606)
11474
85a16208
LMI
114752011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11476
11477 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11478 (bug#9615).
11479
502f9ebd
CY
114802011-09-27 Chong Yidong <cyd@stupidchicken.com>
11481
11482 * emacs-lisp/package.el (list-packages): Fix echo area message.
11483
7690bdea
LL
114842011-09-27 Leo Liu <sdl.web@gmail.com>
11485
11486 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11487
e2ee6f30
MA
114882011-09-25 Michael Albinus <michael.albinus@gmx.de>
11489
11490 * net/dbus.el (dbus-unregister-object): Don't release services for
11491 registered signals. (Bug#9581)
11492
f3f98342
TZ
114932011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11494
11495 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11496 function that picks between cfengine 2 and 3 support
11497 automatically. Update docs accordingly.
11498
dd7aa8dd
KH
114992011-09-22 Kenichi Handa <handa@m17n.org>
11500
11501 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11502 ZERO.
11503 (indian-itrans-v5-table-for-tamil): New variable.
11504 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11505
3f2b07f8
KM
115062011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11507
11508 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11509 that's true if the current command involved collapsing of text.
11510 It's reset to false at the beginning of the next command.
11511 (allout-post-command-business): Move the cursor to the beginning
11512 of entry if the cursor is hidden and collapsing activity just
11513 happened.
11514
371d6a61
CY
115152011-09-24 Chong Yidong <cyd@stupidchicken.com>
11516
11517 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11518 tracking (Bug#9541).
11519
2ac2721a
UJ
115202011-09-24 Ulf Jasper <ulf.jasper@web.de>
11521
11522 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11523 (newsticker-show-news): Automatically load html rendering package
11524 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11525 because w3m-fill-column is let-bound" and the error "Symbol's value
11526 as variable is void: w3m-fill-column".
2ac2721a 11527
fac7ae53
MA
115282011-09-24 Michael Albinus <michael.albinus@gmx.de>
11529
11530 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11531 Release services only if they are defined. (Bug#9581)
11532
e08b633b
RS
115332011-09-23 Richard Stallman <rms@gnu.org>
11534
e488d29c
RS
11535 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11536 distinguish start of paragraph from start of its text.
11537
19c38752
RS
11538 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11539
e08b633b
RS
11540 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11541 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11542 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11543
0a39f27e
AS
115442011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11545
11546 * international/mule-diag.el (mule-diag): Insert a newline after
11547 each fontset description.
11548
db4e950d
SM
115492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11550
11551 * simple.el (delete-trailing-whitespace):
11552 Document last change; simplify.
11553
eca3f3ea
PW
115542011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11555
d68e189a
PW
11556 * simple.el (delete-trailing-whitespace): Also delete
11557 extra newlines at the end of the buffer.
11558
eca3f3ea
PW
11559 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11560 (picture-newline): Use forward-line so as to ignore fields.
11561
01c157cc
SM
115622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * subr.el (with-wrapper-hook): Fix edebug spec.
11565
022de23e
LMI
115662011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11567
11568 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11569 (bug#4538).
11570
91683089
MA
115712011-09-23 Michael Albinus <michael.albinus@gmx.de>
11572
eca3f3ea
PW
11573 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11574 Fix nasty bug using wrong cached values.
91683089 11575
5bdd6fa4
AM
115762011-09-23 Alan Mackenzie <acm@muc.de>
11577
11578 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11579
97adfb97
CY
115802011-09-23 Chong Yidong <cyd@stupidchicken.com>
11581
11582 * window.el (pop-to-buffer): Ensure right window is selected if we
11583 chose another frame.
11584
d4ef2b50
EZ
115852011-09-22 Eli Zaretskii <eliz@gnu.org>
11586
11587 * simple.el (what-cursor-position): Use get-char-property-change
11588 and next-single-char-property-change, to be able to show display
11589 properties that come from overlays as well as text properties.
11590
72258fe5
CY
115912011-09-22 Chong Yidong <cyd@stupidchicken.com>
11592
11593 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11594
11595 * cmuscheme.el (run-scheme, switch-to-scheme):
11596 * cus-edit.el (customize-group, custom-buffer-create)
11597 (customize-browse):
11598 * info.el (info):
11599 * shell.el (shell):
11600 * mail/sendmail.el (mail):
11601 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11602
8f098516
RS
116032011-09-22 Richard Stallman <rms@gnu.org>
11604
11605 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11606 move back only to line beg, don't move back over blank lines.
11607
e74f1bb6
MA
116082011-09-22 Michael Albinus <michael.albinus@gmx.de>
11609
11610 * files.el (copy-directory): Set directory attributes only in case
11611 they could be retrieved from the source directory. (Bug#9565)
11612
bfeef8b6
DK
116132011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11614
11615 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11616 (hs-find-block-beginning, hs-hide-level-recursive):
11617 Ignore strings as well as comments. (Bug#9502)
11618
7e423bb8
AS
116192011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11620
11621 * progmodes/sql.el (sql-comint-postgres):
11622 Convert port number to a string. (Bug#9566)
11623
b4d72fcf
MR
116242011-09-22 Martin Rudalics <rudalics@gmx.at>
11625
11626 * window.el (quit-window): Undedicate window when switching to
11627 previous buffer. Reported by Thierry Volpiatto
11628 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11629 (special-display-popup-frame): When popping up a new frame reset
11630 its previous buffers to nil. Simplify code.
b4d72fcf 11631
a7b88dc6
MA
116322011-09-21 Michael Albinus <michael.albinus@gmx.de>
11633
11634 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11635 and process filter, as done also in `shell-command'.
11636
cf4eacfd
MR
116372011-09-21 Martin Rudalics <rudalics@gmx.at>
11638
eca3f3ea 11639 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11640 Call set-window-start with NOFORCE argument t.
11641 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11642 (quit-window): Reword doc-string. Handle new format of
11643 quit-restore parameter. Don't delete window if it has a
11644 previous buffer we can show instead of the present one.
11645 (display-buffer-record-window): Rewrite using a new format for
11646 the quit-restore window parameter
11647 (special-display-popup-frame, display-buffer-same-window)
11648 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11649 (display-buffer-pop-up-window, display-buffer-use-some-window):
11650 Adapt symbol passed to display-buffer-record-window.
11651 * help.el (help-window-setup): Handle new format of quit-restore
11652 parameter.
11653
8d28cb95
SM
116542011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11655
94ab793f
SM
11656 * faces.el (face-list): Fix docstring (bug#9564).
11657
8d28cb95
SM
11658 * window.el (display-buffer--action-function-custom-type):
11659 Don't include internal functions in the Custom interface.
11660
3820edeb
JL
116612011-09-20 Juri Linkov <juri@jurta.org>
11662
11663 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11664 (Info-forward-node, Info-backward-node, Info-next-preorder)
11665 (Info-last-preorder): Use it. (Bug#9528)
11666
5147931d
JL
116672011-09-20 Juri Linkov <juri@jurta.org>
11668
11669 * info.el (Info-last-preorder): Visit last menu item only when
11670 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11671
cf499a1a
JD
116722011-09-20 Julien Danjou <julien@danjou.info>
11673
11674 * password-cache.el (password-cache-remove): Remove entries even if the
11675 value is nil, so that password with a nil value (negative caching) is
11676 possible to invalidate.
11677
f84e2fe2
LM
116782011-09-20 Lawrence Mitchell <wence@gmx.li>
11679
11680 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11681 all whitespace around breakpoint. (Bug#9553)
11682 (f90-find-breakpoint): Only break at whitespace inside a comment.
11683
78054a46
SM
116842011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * minibuffer.el (completion-file-name-table): Keep track of errors.
11687 (completion-table-with-predicate): Handle the case where pred1 is nil.
11688 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11689
345083b2
SM
116902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11691
e24e27be
SM
11692 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11693 (debugger-return-value): Signal an error if the debugging context does
11694 not await any return value.
11695
345083b2
SM
11696 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11697 * image-mode.el (image-toggle-display-text)
11698 (image-toggle-display-image): Stay away from evil `intangible'.
11699
08d355e3
LL
117002011-09-19 Leo Liu <sdl.web@gmail.com>
11701
11702 * replace.el (occur-revert-arguments): Make it permanent-local.
11703 (occur-mode): Don't call font-lock-defontify.
11704
f01da43f
CY
117052011-09-19 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * net/ldap.el (ldap-search-internal): Don't push empty search
11708 result (Bug#9508).
11709
b6072fa6
SM
117102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11713
443d6696
MA
117142011-09-19 Michael Albinus <michael.albinus@gmx.de>
11715
11716 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11717 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11718
7cc6e154
JL
117192011-09-18 Juri Linkov <juri@jurta.org>
11720
11721 * buff-menu.el (Buffer-menu-mode-map):
11722 * dired.el (dired-mode-map):
11723 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11724 (lisp-interaction-mode-map):
11725 * emacs-lisp/package.el (package-menu-mode-map):
11726 * epa.el (epa-key-list-mode-map):
11727 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11728 (menu-bar-options-menu):
11729 * outline.el (outline-mode-menu-bar-map):
11730 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11731 * vc/vc-dir.el (vc-dir-menu-map):
11732 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11733 Capitalize non-function content words in menu item strings.
11734
11735 * dired.el (dired-mode-map): Add menu item for
11736 `image-dired-dired-toggle-marked-thumbs'.
11737
80302a81
JL
117382011-09-18 Juri Linkov <juri@jurta.org>
11739
11740 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11741 to `isearch-case-fold-search' and restore its original value
11742 after the `isearch-mode' call.
11743
46c5cf66
JL
117442011-09-18 Juri Linkov <juri@jurta.org>
11745
11746 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11747 because `zgrep' returns 1 for successful matches (bug#9226).
11748
d18b513b
JL
117492011-09-18 Juri Linkov <juri@jurta.org>
11750
11751 * info.el (Info-extract-menu-node-name): Check the second match
11752 for empty string (second test-case of bug#9528).
11753 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11754 intermediate nodes to the history (first test-case of bug#9528).
11755
72753f87
JL
117562011-09-18 Juri Linkov <juri@jurta.org>
11757
11758 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11759 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11760
c9384295
JL
117612011-09-18 Juri Linkov <juri@jurta.org>
11762
1154d12e
JB
11763 * info.el (Info-file-supports-index-cookies):
11764 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11765 outputs one more line for long file names (bug#4142).
c9384295 11766
d473dce8
CY
117672011-09-18 Chong Yidong <cyd@stupidchicken.com>
11768
11769 * newcomment.el (comment-normalize-vars): If prompting for
11770 comment-start, set comment-start-skip too (Bug#8424).
11771
2176854d
JB
117722011-09-18 Johan Bockgård <bojohan@gnu.org>
11773
11774 * icomplete.el: Fix previous fix of Bug#5849.
11775 (icomplete-mode): Don't set completion-show-inline-help.
11776 (icomplete-minibuffer-setup): Set completion-show-inline-help
11777 locally during icompletion.
11778
3aace4e4
CY
117792011-09-18 Chong Yidong <cyd@stupidchicken.com>
11780
c940224f
CY
11781 * woman.el (woman2-process-escapes): Don't delete unrecognized
11782 escapes (Bug#7843).
11783
3aace4e4
CY
11784 * files.el (inhibit-first-line-modes-regexps): Add image files.
11785 (hack-local-variables-prop-line): Return nil for malformed
11786 prop-lines (Bug#9044).
11787
710dec63
MA
117882011-09-18 Michael Albinus <michael.albinus@gmx.de>
11789
11790 * net/tramp.el (top): Don't require 'shell.
11791 (tramp-methods): Fix docstring.
11792 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11793 Return complete remote file name. Handle "smb" case.
11794 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11795 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11796
11797 * net/tramp-compat.el (top): Require 'shell.
11798
11799 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11800 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11801 `tramp-current-host'.
11802 (tramp-get-remote-tmpdir): Remove.
11803
11804 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11805 `tramp-tmpdir' entries.
11806 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11807 (tramp-smb-handle-file-attributes): Ignore errors.
11808 (tramp-smb-wait-for-output): Check also for process end.
11809
5d5ac8ec
LMI
118102011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811
11812 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11813 when sending QUIT (bug#9312).
11814
8c0f49f0
CY
118152011-09-17 Chong Yidong <cyd@stupidchicken.com>
11816
11817 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11818 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11819 occur-mode-display-occurrence.
11820 (occur-edit-mode): Add usage message.
11821 (occur-cease-edit): New command.
11822 (occur-after-change-function): Use text properties to find the
11823 position of the prefix text.
11824 (occur-engine): Set stickiness of prefix text properties.
11825
8f1383f7
GM
118262011-09-17 Glenn Morris <rgm@gnu.org>
11827
11828 * progmodes/etags.el (complete-tag):
11829 Fix call to completion-in-region. (Bug#9526)
11830
744ba0e3
JL
118312011-09-17 Juri Linkov <juri@jurta.org>
11832
11833 * textmodes/ispell.el (ispell-word): Add to the error message
11834 the word, ispell program name and current dictionary (bug#9121).
11835 (ispell-tex-arg-end): Capitalize "error" in the error message.
11836
d9bbf400
AS
118372011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11838
11839 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11840 check. (Bug#4251)
11841
8da11505
JL
118422011-09-17 Juri Linkov <juri@jurta.org>
11843
11844 * window.el (window-safe-min-height, window-safe-min-width):
11845 Fix typos (followup to bug#9522).
11846
a91adc7e
SJ
118472011-09-17 Sven Joachim <svenjoac@gmx.de>
11848
11849 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11850
064f328a
EZ
118512011-09-16 Eli Zaretskii <eliz@gnu.org>
11852
11853 * simple.el (line-move): If goal-column is set, move by logical
11854 lines, not by display lines. (Bug#971)
11855 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11856 to reflect the above change.
11857
e69df516
SM
118582011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * image.el (imagemagick-register-types): Use regexp-opt.
11861
cbb0f9ab
CY
118622011-09-15 Chong Yidong <cyd@stupidchicken.com>
11863
11864 * window.el (display-buffer-base-action): Rename from
11865 display-buffer-default-action. Make default value empty.
11866 (display-buffer-overriding-action): Convert to defvar.
11867 (display-buffer-fallback-action): New var.
11868
25322144
CY
118692011-09-15 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11872 declaration.
11873 (package--add-to-archive-contents): If there is a duplicate entry
11874 with an older version, remove it.
11875 (package-menu-mark-delete, package-menu-mark-install)
11876 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11877 (package-menu-mark-obsolete-for-deletion):
11878 Use package-menu-get-status instead of a regexp search.
25322144
CY
11879 (package-menu-get-status): Use tabulated-list-entry.
11880 (package-menu-mark-upgrades): New command.
d770725a 11881 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11882 (package-menu-execute): Do installation before deletion.
11883 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11884 instead of checking major-mode.
11885 (package-menu--find-upgrades): New function.
11886
7520339c
LMI
118872011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11888
11889 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11890 passwords in the log buffer.
65a046c4
LMI
11891 (smtpmail-process-filter): Update the process marker so that the
11892 "broken by peer" status message is inserted in the right place.
7520339c 11893
d3c30954
SM
118942011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11895
3fe48822
SM
11896 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11897 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11898 bibtex-completion-at-point-function.
11899 (bibtex-completion-at-point-function): Use them.
11900
1b8b3954
SM
11901 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11902
d3c30954
SM
11903 * mpc.el (mpc-constraints-tag-lookup): New function.
11904 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11905 also to browser "album|playlist".
11906
72779976
JL
119072011-09-14 Juri Linkov <juri@jurta.org>
11908
11909 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11910 (isearch-edit-string): Use length of `isearch-string' when
11911 `isearch-fail-pos' returns nil.
11912 (isearch-message): Remove duplicate code and call
11913 `isearch-fail-pos' with arg `t'.
11914
a0bf2bcd
CY
119152011-09-14 Chong Yidong <cyd@stupidchicken.com>
11916
17bb0a2d
CY
11917 * replace.el (occur-mode-goto-occurrence): Don't force using other
11918 window (Bug#9499).
11919
a0bf2bcd
CY
11920 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11921
f678e0b6
MR
119222011-09-14 Martin Rudalics <rudalics@gmx.at>
11923
11924 * window.el (display-buffer-window): Remove.
11925 (display-buffer-record-window): Use help-setup window parameter
11926 instead of variable display-buffer-window.
11927 (display-buffer-function, special-display-buffer-names)
11928 (special-display-function): Mention help-setup parameter instead
11929 of display-buffer-window in doc-string.
d3c30954
SM
11930 * help.el (help-window-setup): New argument help-window.
11931 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11932 Reword some messages.
11933 (with-help-window): Pass window used for displaying the buffer
11934 to help-window-setup. Don't set display-buffer-window.
11935
8e39b2e8
GM
119362011-09-13 Glenn Morris <rgm@gnu.org>
11937
11938 * emacs-lisp/debug.el (debugger-make-xrefs):
11939 Preserve point. (Bug#9462)
11940
85e9c04b
CY
119412011-09-13 Chong Yidong <cyd@stupidchicken.com>
11942
11943 * window.el (window-deletable-p): Use next-frame.
11944
1b36ed6a
MR
119452011-09-13 Martin Rudalics <rudalics@gmx.at>
11946
11947 * window.el (window-auto-delete): Remove.
11948 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11949 dedication and previous buffers.
1b36ed6a
MR
11950 (switch-to-prev-buffer): Don't delete window.
11951 (delete-windows-on): Delete a window's frame if and only if the
11952 window is dedicated.
11953 (replace-buffer-in-windows): Delete buffer's window or frame if
11954 and only if window is dedicated.
11955 (quit-window): Handle quit-restore as before last change.
4d61f28d 11956 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11957
ef8ef9fb
CY
119582011-09-13 Chong Yidong <cyd@stupidchicken.com>
11959
11960 * window.el (window-deletable-p): Never delete the last frame on a
11961 given terminal.
11962
b2cba41e
GM
119632011-09-13 Glenn Morris <rgm@gnu.org>
11964
11965 * help.el (describe-key-briefly): Copy previous standard-output change.
11966
51553db6 119672011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11968
11969 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11970
b7556719
GM
119712011-09-13 Glenn Morris <rgm@gnu.org>
11972
11973 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11974 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11975
64b51947
CY
119762011-09-12 Chong Yidong <cyd@stupidchicken.com>
11977
11978 * dired-aux.el (dired-mark-read-string): Don't return default
11979 value on empty input (Bug#9361).
11980 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11981 Omit initial minibuffer contents.
11982 (dired-do-chmod): Signal an error on empty input.
11983 (dired-mark-read-string): Don't return default on empty input.
11984
11985 * files.el (file-modes-symbolic-to-number): Doc fix.
11986
393a301e
SM
119872011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * international/mule-cmds.el (ucs-completions): Remove.
11990 (read-char-by-name): Use complete-with-action instead; add metadata.
11991
fa5660f9
CY
119922011-09-11 Chong Yidong <cyd@stupidchicken.com>
11993
11994 * window.el (display-buffer--action-function-custom-type)
11995 (display-buffer--action-custom-type): New vars.
11996 (display-buffer-alist, display-buffer-default-action)
11997 (display-buffer-overriding-action): Add defcustom types.
11998
4a592f66
CY
11999 * frame.el (delete-other-frames): Doc fix (Bug#276).
12000
73d56dbd
LMI
120012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12002
12003 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12004
37ac18a3
CY
120052011-09-11 Chong Yidong <cyd@stupidchicken.com>
12006
12007 Change modes that used same-window-* vars to use switch-to-buffer.
12008
12009 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12010 Use switch-to-buffer.
12011
12012 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12013 (customize-browse, custom-buffer-create-other-window):
12014 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12015
12016 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12017 (Info-prev, Info-up, Info-speedbar-goto-node)
12018 (info-display-manual): Use switch-to-buffer.
12019 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12020
12021 * mail/sendmail.el (mail): Use switch-to-buffer.
12022 (mail-recover): Use switch-to-buffer-other-window.
12023
12024 * cmuscheme.el (run-scheme, switch-to-scheme):
12025 * ielm.el (ielm):
12026 * shell.el (shell):
12027 * net/rlogin.el (rlogin):
12028 * net/telnet.el (telnet, rsh):
12029 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12030
10195bd6
AS
120312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12032
12033 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12034
b322f63a
LMI
120352011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12036
39d7fed6
LMI
12037 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12038 so don't mention it (bug#9301).
ba5a81f1 12039 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12040
ee0e9f11
LMI
12041 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12042 match `x', `w32' and `ns', like the manual says (bug#9029).
12043
0b1c89c1 12044 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12045 (process-kill-buffer-query-function): Mention the buffer name in
12046 the query.
0b1c89c1 12047
77549ea8
LMI
12048 * image-mode.el (image-next-line): The line parameter is mandatory
12049 (bug#9258).
12050
803ef892
LMI
12051 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12052 which can be useful (bug#9301).
12053
12980837
LMI
12054 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12055
91054f8f
LMI
12056 * subr.el (match-string): Mention that the current buffer should
12057 be the same as the search was done in (bug#9282).
12058
b322f63a
LMI
12059 * facemenu.el: Disable the remove-* commands if the mark isn't
12060 active (bug#9162).
12061
3199b96f
CY
120622011-09-10 Chong Yidong <cyd@stupidchicken.com>
12063
12064 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12065 of display-buffer.
12066 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12067
12068 * replace.el (occur-mode-goto-occurrence)
12069 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12070 and display-buffer.
12071
12072 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12073 display-buffer.
12074
12075 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12076 special-display and same-window variables.
12077 (mail-other-window): Use switch-to-buffer-other-window.
12078 (mail-other-frame): USe switch-to-buffer-other-frame.
12079
393a301e
SM
12080 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12081 Use display-buffer-other-frame.
3199b96f
CY
12082 (gdb-display-gdb-buffer): Use pop-to-buffer.
12083
12084 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12085
12086 * progmodes/python.el: Don't set same-window-buffer-names.
12087
12088 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12089
12090 * window.el (display-buffer-alist): Add *Python*.
12091
8319e0bf
CY
120922011-09-10 Chong Yidong <cyd@stupidchicken.com>
12093
12094 * window.el (display-buffer-alist): Add entry for buffers
12095 previously handled same-window-*.
12096 (display-buffer-alist, display-buffer-default-action)
12097 (display-buffer-overriding-action): Mark as risky.
12098 (display-buffer-alist): Document action function changes.
12099 (display-buffer--same-window-action)
12100 (display-buffer--other-frame-action): New variables.
12101 (switch-to-buffer, display-buffer-other-frame): Use them.
12102 (display-buffer): Rename reuse-frame entry to reusable-frames.
12103 (display-buffer-reuse-selected-window): Function deleted.
12104 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12105 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12106 (display-buffer-special): New function.
12107 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12108 display-buffer-reuse-or-pop-window. Split off special-display
12109 part into display-buffer-special.
12110 (display-buffer-use-some-window): Don't perform any special
12111 pop-up-frames handling.
12112 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12113 (display-buffer--maybe-same-window): Rename from
0d3ff375 12114 display-buffer-maybe-same-window.
8319e0bf 12115
919a69aa
CY
12116 * info.el: Don't set same-window-regexps.
12117 (info-setup): New function.
12118 (info-other-window, info): Call it.
12119
12120 * cus-edit.el: Don't set same-window-regexps.
12121 (customize-group): New argument.
12122 (customize-group-other-window): Use it.
12123 (customize-face, customize-face-other-window): Likewise.
12124 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12125
8319e0bf
CY
12126 * net/rlogin.el:
12127 * net/telnet.el:
12128 * progmodes/gud.el: Don't set same-window-regexps.
12129
12130 * cmuscheme.el:
12131 * ielm.el:
12132 * shell.el:
12133 * mail/sendmail.el:
12134 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12135
25173000
JL
121362011-09-10 Juri Linkov <juri@jurta.org>
12137
12138 * isearch.el (isearch-edit-string): Remove obsolete mention of
12139 `C-w' (`isearch-yank-word-or-char') from docstring.
12140 (isearch-query-replace): Fix typo in docstring (bug#9466).
12141
056e44ef
JL
121422011-09-10 Juri Linkov <juri@jurta.org>
12143
12144 * paren.el (show-paren-function): Don't show escaped parens.
12145 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12146
c3760c17
EZ
121472011-09-10 Eli Zaretskii <eliz@gnu.org>
12148
12149 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12150 (mm-default-file-encoding): Remove autoload forms, they are
12151 replaced with autoload cookies in mml.el and mm-encode.el.
12152 (mail-add-attachment): New command.
12153 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12154 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12155 the doc string.
12156 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12157
fece895e
RT
121582011-09-10 Reuben Thomas <rrt@sc3d.org>
12159
e69df516
SM
12160 * simple.el (count-words-region): Use buffer if there's no region
12161 (bug#9429).
fece895e 12162
5e68ce4a
JL
121632011-09-09 Juri Linkov <juri@jurta.org>
12164
12165 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12166 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12167 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12168
0a6b9622
AM
121692011-09-09 Alan Mackenzie <acm@muc.de>
12170
12171 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12172 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12173
14a29deb
EZ
121742011-09-09 Eli Zaretskii <eliz@gnu.org>
12175
12176 Fix for Savannah bug#9392.
12177 * simple.el (mail-encode-mml): New defvar.
12178
12179 * mail/rmail.el (mail-encode-mml): Add a defvar.
12180 (rmail-enable-mime-composing): Default to t.
12181 (rmail-forward): Use MIME method of forwarding only if both
12182 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12183 Set mail-encode-mml non-nil if the MIME method was used.
12184
12185 * mail/sendmail.el (mml-to-mime): Add autoload form.
12186 (mail-encode-mml): Add a defvar.
12187 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12188 to nil.
12189 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12190 message through mml-to-mime, and reset mail-encode-mml to nil.
12191
28c45130
GM
121922011-09-09 Glenn Morris <rgm@gnu.org>
12193
12194 * woman.el (woman-if-body): When processing an .el block,
12195 do not delete the next .el block as well. (Bug#9447)
69f4b618 12196 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12197
9b1c252e
MR
121982011-09-08 Martin Rudalics <rudalics@gmx.at>
12199
12200 * window.el (window-deletable-p): Make sure window is live before
12201 invoking window-prev-buffers.
12202
567457e3
LL
122032011-09-08 Leo Liu <sdl.web@gmail.com>
12204
12205 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12206
97f05794
JL
122072011-09-08 Juri Linkov <juri@jurta.org>
12208
12209 * progmodes/compile.el (compilation-environment): Make it
12210 a defcustom (bug#8340).
12211
8b0874b5
MR
122122011-09-08 Martin Rudalics <rudalics@gmx.at>
12213
12214 * window.el (frame-auto-delete): Rename to window-auto-delete.
12215 Make it control auto-deletion of windows and/or frames.
12216 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12217 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12218 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12219 Rewrite handling of case when window/frame can be deleted.
12220 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12221 argument t. (Bug#9456)
8b0874b5 12222
4feb6e73
CY
122232011-09-07 Chong Yidong <cyd@stupidchicken.com>
12224
12225 * help-mode.el (help-mode): Restore autoload.
12226
91ab9c13
JL
122272011-09-07 Juri Linkov <juri@jurta.org>
12228
12229 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12230 `compilation-environment'. Set buffer-local
12231 `compilation-environment' to `thisenv' later after (funcall mode).
12232 (Bug#8340)
12233
12234 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12235 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12236 instead of replacing its value. (Bug#8340)
12237
0527e251
JL
122382011-09-07 Juri Linkov <juri@jurta.org>
12239
12240 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12241 based on text properties put by `grep-filter' instead of matching
12242 escape sequences.
12243 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12244 to the value of `grep-error-screen-columns' (bug#9438).
12245
249f792c
JL
122462011-09-07 Juri Linkov <juri@jurta.org>
12247
12248 * simple.el (next-error-highlight, next-error-highlight-no-select):
12249 Doc fix (bug#9432).
12250
ff7271b9
OT
122512011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12252
12253 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12254 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12255
183fc730
LL
122562011-09-07 Leo Liu <sdl.web@gmail.com>
12257
12258 * net/rcirc.el (rcirc-mode): Conditionally initialize
12259 rcirc-input-ring.
12260
77694924
SM
122612011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * emacs-lisp/find-func.el (find-function-C-source): Only set
12264 find-function-C-source-directory after checking that we found a source
12265 file there (bug#9440).
12266
d809b8eb
AM
122672011-09-06 Alan Mackenzie <acm@muc.de>
12268
12269 * isearch.el (isearch-other-meta-char): Wherever a key list is
12270 unread, "unread" the prefix arg, too. This fixes bug #8901.
12271
453de99f
OG
122722011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12273
12274 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12275
90439906
JL
122762011-09-05 Juri Linkov <juri@jurta.org>
12277
12278 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12279
f62bd846
JL
122802011-09-05 Juri Linkov <juri@jurta.org>
12281
12282 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12283 keeping point where processing of grep matches begins, and
12284 continue to delete remaining escape sequences from the same point.
12285 (grep-filter): Make leading zero optional in "0?1;31m" because
12286 git-grep emits "\033[1;31m" escape sequences unlike expected
12287 "\033[01;31m" as GNU Grep does (bug#9408).
12288 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12289
045820ec
JL
122902011-09-05 Juri Linkov <juri@jurta.org>
12291
12292 * subr.el (y-or-n-p): Capitalize "yes".
12293
f5e29b9b
MA
122942011-09-04 Michael Albinus <michael.albinus@gmx.de>
12295
12296 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12297 `tramp-cache-unload-hook' where appropriate.
12298 (tramp-methods): Rename `tramp-remote-sh' to
12299 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12300 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12301
12302 * net/tramp-sh.el (top): Don't require 'shell.
12303 (tramp-methods): Add `tramp-remote-shell' and
12304 `tramp-remote-shell-args' entries.
12305 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12306 (tramp-sh-handle-shell-command): Remove.
12307 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12308 Use `tramp-remote-shell'.
12309
2784c434
CY
123102011-09-03 Chong Yidong <cyd@stupidchicken.com>
12311
393a301e 12312 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12313 (sendmail-query-once): Save directly to send-mail-function.
12314 Update message-send-mail-function too.
12315
12316 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12317
464cdf56
CS
123182011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12319
12320 * progmodes/python.el (python-mode-map): Use correct function to
12321 start python interpreter from menu-bar (as reported by Geert
12322 Kloosterman).
12323 (inferior-python-mode-map): Fix typo.
393a301e 12324 (python-shell-map): Remove.
464cdf56 12325
d37e5c87
DD
123262011-09-03 Deniz Dogan <deniz@dogan.se>
12327
12328 * net/rcirc.el (rcirc-print): Simplify code for
12329 rcirc-scroll-show-maximum-output. There is no need to walk
12330 through all windows to find the right one.
12331
f3ada0ee
CS
123322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12333
12334 * help.el (help-return-method): Doc fix.
12335
1f3c99ca
MR
123362011-09-03 Martin Rudalics <rudalics@gmx.at>
12337
12338 * window.el (window-deletable-p): Don't return a non-nil value
12339 when there's a buffer that was shown in the window before.
12340 (Bug#9419)
393a301e
SM
12341 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12342 Set window's previous buffers to nil.
1f3c99ca 12343
a3cf097f
EZ
123442011-09-03 Eli Zaretskii <eliz@gnu.org>
12345
12346 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12347 newline before and after the tag line, so it doesn't interfere
12348 with determining the paragraph direction of bidirectional text.
12349
3d03de90
LL
123502011-09-03 Leo Liu <sdl.web@gmail.com>
12351
12352 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12353
c3313451
CY
123542011-09-02 Chong Yidong <cyd@stupidchicken.com>
12355
393a301e 12356 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12357 (pop-to-buffer): Change interactive spec. Pass second argument
12358 directly to display-buffer.
12359 (display-buffer): Fix interactive spec. Use functionp to
12360 distinguish between a function and a list of functions.
12361
12362 * abbrev.el (edit-abbrevs):
12363 * arc-mode.el (archive-extract):
12364 * autoinsert.el (auto-insert):
12365 * bookmark.el (bookmark-bmenu-list):
12366 * files.el (find-file):
12367 * view.el (view-buffer):
12368 * progmodes/compile.el (compilation-goto-locus):
12369 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12370
89894cd8
CY
123712011-09-02 Chong Yidong <cyd@stupidchicken.com>
12372
12373 * window.el (display-buffer-alist): Doc fix.
12374 (display-buffer): Add docstring. Don't treat
12375 display-buffer-default specially.
12376 (display-buffer-reuse-selected-window)
12377 (display-buffer-same-window, display-buffer-maybe-same-window)
12378 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12379 (display-buffer-pop-up-window)
12380 (display-buffer-reuse-or-pop-window)
12381 (display-buffer-use-some-window): New functions.
12382 (display-buffer-default-action): Use them.
393a301e 12383 (display-buffer-default): Delete.
89894cd8
CY
12384 (pop-to-buffer-1): Fix choice of actions.
12385
ae0bc9fb
SM
123862011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * minibuffer.el (completion--insert-strings): Don't get confused by
12389 completion entries that end with an LF char.
12390
e9d90883
EZ
123912011-09-01 Eli Zaretskii <eliz@gnu.org>
12392
12393 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12394
437014c8
CY
123952011-09-01 Chong Yidong <cyd@stupidchicken.com>
12396
12397 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12398 (display-buffer-same-window, display-buffer-other-window):
12399 New functions.
437014c8
CY
12400 (pop-to-buffer-1): New function. Use the above.
12401 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12402 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12403
12404 * view.el (view-buffer-other-window, view-buffer-other-frame):
12405 Just use pop-to-buffer.
12406
a5e063d5
TV
124072011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12408
12409 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12410
793d32bb
WH
124112011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12412
12413 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12414
d65e4c15
RS
124152011-08-31 Richard Stallman <rms@gnu.org>
12416
12417 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12418 of the separation of rmail-view-buffer from rmail-buffer.
12419 If you say no to "replace original", the decrypt is in the
12420 view buffer. If you say yes, the decrypt goes into the
12421 rmail buffer also.
12422
f818cd2a
MR
124232011-08-31 Martin Rudalics <rudalics@gmx.at>
12424
12425 * window.el (display-buffer-window): Rewrite doc-string.
12426 (display-buffer-record-window): New function.
12427 (display-buffer-macro-specifiers)
12428 (display-buffer-even-window-sizes, display-buffer-set-height)
12429 (display-buffer-set-width, display-buffer-in-window)
12430 (display-buffer-reuse-window, display-buffer-split-specifiers)
12431 (display-buffer-side-specifiers, display-buffer-split-window-1)
12432 (display-buffer-split-window, display-buffer-split-atom-window)
12433 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12434 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12435 (display-buffer-other-window-means-other-frame)
12436 (display-buffer-normalize-special)
12437 (display-buffer-normalize-default)
12438 (display-buffer-normalize-argument)
12439 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12440 (display-buffer-normalize-specifiers, display-buffer-frame)
12441 (display-buffer-same-window, display-buffer-same-frame)
12442 (display-buffer-other-window)
12443 (display-buffer-same-frame-other-window)
12444 (display-buffer-other-frame, pop-to-buffer-same-window)
12445 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12446 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12447 (switch-to-buffer-same-frame)
12448 (switch-to-buffer-other-window-same-frame)
12449 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12450 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12451 (display-buffer-alist-set): Remove.
12452 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12453 (special-display-regexps, special-display-function):
12454 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12455 parameter.
12456 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12457 (special-display-frame-alist, special-display-popup-frame)
12458 (same-window-buffer-names, same-window-regexps, same-window-p)
12459 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12460 (split-window-preferred-function, split-height-threshold)
12461 (split-width-threshold, window-splittable-p)
12462 (split-window-sensibly, window--try-to-split-window)
12463 (window--frame-usable-p, even-window-heights)
12464 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12465 (window--display-buffer-2, display-buffer-other-frame):
12466 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12467 (display-buffer-default, display-buffer-assq-regexp): New functions.
12468 (display-buffer-alist): Rewrite doc-string.
12469 (display-buffer-default-action)
12470 (display-buffer-overriding-action): New variables.
12471 (display-buffer, switch-to-buffer): Rewrite.
12472 (pop-to-buffer): Restore Emacs 23 behavior but use
12473 window-normalize-buffer-to-display.
12474 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12475 Restore Emacs 23 behavior but use
12476 window-normalize-buffer-to-switch-to.
12477 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12478 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12479 Rewrite using Emacs 23 options.
f818cd2a 12480
5bc3b51d
MA
124812011-08-31 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * net/tramp.el (tramp-root-regexp): Remove.
12484 (tramp-completion-file-name-regexp-unified)
12485 (tramp-completion-file-name-regexp-separate)
12486 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12487 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12488 (tramp-drop-volume-letter): Simplify definition.
12489 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12490
b1a4f8e1
SM
124912011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12492
12493 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12494 (bug#9356).
12495
5664fa7b
RT
124962011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12497
b1a4f8e1 12498 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12499
9a45d6c3
JL
125002011-08-29 Juri Linkov <juri@jurta.org>
12501
12502 * isearch.el (isearch-done): Don't display message "Mark saved"
12503 when arg `edit' is non-nil to prevent its flicker in the echo area.
12504
fb87e0fb
CY
125052011-08-28 Chong Yidong <cyd@stupidchicken.com>
12506
12507 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12508 obsolete packages for deletion.
12509
09ac1c2a
CS
125102011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12511
12512 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12513 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12514 view-mode from help-mode.
12515 (help-xref-override-view-map): Remove.
12516 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12517 view-mode is not used anymore.
12518
7a1ff57f
CY
125192011-08-28 Chong Yidong <cyd@stupidchicken.com>
12520
12521 * server.el (server-port): Doc fix.
12522
b9696605
CY
12523 * cus-theme.el (custom-theme-choose-mode): Inherit from
12524 special-mode (Bug#9124).
12525 (custom-theme-choose-mode-map): Add special-mode to parent.
12526
ef8cdf8c
AM
125272011-08-28 Alan Mackenzie <acm@muc.de>
12528
12529 * progmodes/cc-fonts.el
12530 (c-make-font-lock-BO-decl-search-function): New function.
12531 (c-basic-matchers-after - "Fontify the clauses after various
12532 keywords"): Extract the three keyword lists for the 3 erroneous
12533 constructs from the list of four, and use the new function above
12534 in place of an old one.
12535
27de4e20
DD
125362011-08-28 Deniz Dogan <deniz@dogan.se>
12537
12538 * net/rcirc.el (rcirc-insert-prev-input)
12539 (rcirc-insert-next-input): Remove unused argument.
12540
356a3681
SM
125412011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12544
3fc9b218
AM
125452011-08-27 Alan Mackenzie <acm@muc.de>
12546
12547 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12548 handle function pointer parameters properly.
12549
538a061c
MR
125502011-08-27 Martin Rudalics <rudalics@gmx.at>
12551
12552 * window.el (display-buffer-reuse-window): Fix case where
12553 selected window was reused with non-nil OTHER-WINDOW argument.
12554 (Bug#9381)
12555
35b1c40c
DD
125562011-08-27 Deniz Dogan <deniz@dogan.se>
12557
12558 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12559 oftc's NickServ messages.
12560
2f6a3e79
GM
125612011-08-27 Glenn Morris <rgm@gnu.org>
12562
12563 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12564
7254299e
CY
125652011-08-26 Chong Yidong <cyd@stupidchicken.com>
12566
12567 * emacs-lisp/package.el (package-install): Call package-initialize
12568 if called interactively.
12569
f8ccf167
LL
125702011-08-26 Leo Liu <sdl.web@gmail.com>
12571
12572 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12573
3e8cd5ce
JL
125742011-08-25 Juri Linkov <juri@jurta.org>
12575
12576 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12577 `search-whitespace-regexp' (bug#9364).
12578
93eb7113
JL
125792011-08-25 Juri Linkov <juri@jurta.org>
12580
12581 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12582 `regexp-search-ring' to their global values to protect from
12583 updating by `read-from-minibuffer' (bug#9185).
12584
f65d1611
JL
125852011-08-25 Juri Linkov <juri@jurta.org>
12586
12587 * textmodes/ispell.el (ispell-command-loop): Add newline
12588 at the end of the "Use option `i'..." line.
12589
f1cf7a31
JL
125902011-08-25 Juri Linkov <juri@jurta.org>
12591
12592 * battery.el (display-battery-mode): If `battery-status-function'
12593 or `battery-mode-line-format' is nil, display the message and set
12594 `display-battery-mode' to nil (bug#9363).
12595
0c95fcf7
EZ
125962011-08-25 Eli Zaretskii <eliz@gnu.org>
12597
12598 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12599 bidi-string-mark-left-to-right; they are unnecessary now.
12600
a2ebe600
DD
126012011-08-25 Deniz Dogan <deniz@dogan.se>
12602
12603 * net/quickurl.el: Documentation typo fixes.
12604
e4ed06f1
CY
126052011-08-25 Chong Yidong <cyd@stupidchicken.com>
12606
12607 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12608
e5f1c99e
GM
126092011-08-25 Glenn Morris <rgm@gnu.org>
12610
b2948976
GM
12611 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12612
e5f1c99e
GM
12613 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12614 (smtpmail-via-smtp): Handle nil response from smtp.
12615
f22f4808
JL
126162011-08-24 Juri Linkov <juri@jurta.org>
12617
12618 * proced.el (proced-marked): Inherit from `error' instead of
12619 `font-lock-warning-face'.
12620
12621 * ibuffer.el (ibuffer-marked-face): Change default face from
12622 `font-lock-warning-face' to `warning'.
12623 (ibuffer-deletion-face): Change default face from
12624 `font-lock-type-face' to `error'.
12625
12626 * battery.el (battery-update): Use the face `error' instead of
12627 `font-lock-warning-face' (bug#6117).
12628
6a93965e
JL
126292011-08-24 Juri Linkov <juri@jurta.org>
12630
12631 * faces.el (success): Change face color from "Green3" to
12632 "ForestGreen" on light background (bug#9353).
12633
1ed43b09
CY
126342011-08-24 Chong Yidong <cyd@stupidchicken.com>
12635
5664fa7b
RT
12636 * window.el (quit-window): Rename from quit-restore-window.
12637 Use same arglist as old quit-window.
1ed43b09
CY
12638 (frame-auto-delete): Doc fix.
12639
12640 * view.el (view-mode-exit): Use quit-window.
12641
11dcdbb2
JL
126422011-08-24 Juri Linkov <juri@jurta.org>
12643
12644 * isearch.el (isearch-ring-adjust1): Start visiting previous
12645 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12646 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12647 for empty search string (when the last search string is reused
12648 automatically) to adjust the isearch ring to the last element and
12649 prepare the correct index for further M-p commands (bug#9185).
12650
de62b4df
KH
126512011-08-24 Kenichi Handa <handa@m17n.org>
12652
12653 * international/ucs-normalize.el: If decomposition property of
12654 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12655 nil.
12656 (nfd, nfkd): Likewise.
12657
963b492b
SM
126582011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12661 from process filters aren't reliably transmitted to the surrounding
12662 accept-process-output.
12663 (mpc-proc-check): New function.
12664 (mpc-proc-sync): Use it (bug#8293)
12665
93b6b5e1
SM
126662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12669 Add compatibility functions (bug#9313).
12670
bca633fb
EZ
126712011-08-23 Eli Zaretskii <eliz@gnu.org>
12672
b177498a
EZ
12673 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12674
6df6ae42 12675 * international/uni-bidi.el: Regenerate.
bca633fb 12676
0902a04e
KH
126772011-08-23 Kenichi Handa <handa@m17n.org>
12678
12679 * international/charprop.el:
12680 * international/uni-bidi.el:
12681 * international/uni-category.el:
12682 * international/uni-combining.el:
12683 * international/uni-comment.el:
12684 * international/uni-decimal.el:
12685 * international/uni-decomposition.el:
12686 * international/uni-digit.el:
12687 * international/uni-lowercase.el:
12688 * international/uni-mirrored.el:
12689 * international/uni-name.el:
12690 * international/uni-numeric.el:
12691 * international/uni-old-name.el:
12692 * international/uni-titlecase.el:
12693 * international/uni-uppercase.el: Regenerate.
12694
3bbf23bc
MR
126952011-08-23 Martin Rudalics <rudalics@gmx.at>
12696
12697 * help.el (help-window-setup): Fix message displayed when other
12698 window is reused. (Bug#9341)
12699
b3fd59bd
SM
127002011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12701
1802e444
SM
12702 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12703 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12704
b3fd59bd
SM
12705 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12706 Mark obsolete.
12707 * shell.el (shell-parse-pcomplete-arguments): New function.
12708 (shell-completion-vars): Use it instead (bug#9160).
12709
4eb61348
SM
127102011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12711
867cab74
SM
12712 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12713 strings and comments (bug#9333).
12714
4eb61348
SM
12715 * emacs-lisp/debug.el (debug-arglist): New function.
12716 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12717 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12718
262a1439
JL
127192011-08-22 Juri Linkov <juri@jurta.org>
12720
56ee679c
JL
12721 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12722 Revert regexp that highlights output switches to its old
12723 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12724
262a1439
JL
12725 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12726 to check for empty output (bug#9226).
12727
f13f86fb
CY
127282011-08-22 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12731 symbol-constituent as the default, as that stops font-lock from
12732 working properly (Bug#8843).
12733
c65c9622
LMI
127342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
12736 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12737 `coding-system-for-*' around the process open call to avoid
12738 auth-source side effects.
e7f2c178 12739 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12740 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12741 probe hangs.
c65c9622 12742
23a8a5ab
CY
127432011-08-21 Chong Yidong <cyd@stupidchicken.com>
12744
ff98b2dd
CY
12745 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12746
23a8a5ab
CY
12747 * emacs-lisp/find-func.el (find-function-noselect): New arg
12748 lisp-only.
12749
12750 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12751 signal an error for built-in functions (Bug#6664).
12752
f5e3c598
LMI
127532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12754
12755 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12756 (smtpmail-try-auth-methods): Use it.
12757
a3f2468a
CY
127582011-08-21 Chong Yidong <cyd@stupidchicken.com>
12759
2c34e8da
CY
12760 * font-lock.el (font-lock-fontify-region)
12761 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12762 (font-lock-default-unfontify-buffer)
12763 (font-lock-default-fontify-region)
12764 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12765
b3fd59bd
SM
12766 * progmodes/compile.el (compilation-error-properties):
12767 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12768 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12769 `ant' regexp.
ee31aabc 12770
a3f2468a
CY
12771 * net/browse-url.el (browse-url-firefox): Don't call
12772 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12773
8e999f70
GM
127742011-08-20 Glenn Morris <rgm@gnu.org>
12775
c21a496a
GM
12776 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12777
59ee0542
GM
12778 * tutorial.el (tutorial--default-keys): Update some default bindings.
12779
8e999f70
GM
12780 * files.el (hack-local-variables): Fully ignore case for "mode:".
12781
e3715033
AM
127822011-08-20 Alan Mackenzie <acm@muc.de>
12783
12784 Resolve invalid use of a regexp in regexp-opt.
12785
4d61f28d
JB
12786 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12787 detection for a java annotation.
e3715033 12788
4d61f28d 12789 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12790 detection for a java annotation.
12791
4d61f28d
JB
12792 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12793 handling for java.
e3715033
AM
12794 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12795
04ed2e9c
CY
127962011-08-20 Chong Yidong <cyd@stupidchicken.com>
12797
12798 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12799 (Bug#9274).
12800
826cee64
AM
128012011-08-20 Alan Mackenzie <acm@muc.de>
12802
58179cce 12803 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12804 such a construct. Mainly for when jit-lock etc. starts a chunk
12805 here.
12806
58179cce 12807 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12808 variable.
58179cce 12809 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12810 c-make-font-lock-search-function.
12811 (c-make-font-lock-search-function): Use the above function.
12812 (c-make-font-lock-context-search-function): New function.
12813 (c-cpp-matchers): Enhance the preprocessor expression case with
12814 the above function
12815 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12816 which takes an expression.
12817
12818 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12819
13009bd8
MR
128202011-08-20 Martin Rudalics <rudalics@gmx.at>
12821
12822 * window.el (display-buffer-reuse-window)
12823 (display-buffer-pop-up-window): Don't reuse or split a side
12824 window.
12825
9234ff7f
GM
128262011-08-19 Glenn Morris <rgm@gnu.org>
12827
12828 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12829 Downcase "Mode:". (Bug#9331)
9234ff7f 12830
f635daa1
CY
128312011-08-18 Chong Yidong <cyd@stupidchicken.com>
12832
12833 * international/characters.el: Add L and R categories.
12834
12835 * subr.el (bidi-string-mark-left-to-right): Rename from
12836 string-mark-left-to-right. Use category search.
12837
12838 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12839
bc987f8b
JL
128402011-08-18 Juri Linkov <juri@jurta.org>
12841
12842 * faces.el (error, warning, success): New faces with definitions
12843 copied from old default values of `font-lock-warning-face',
12844 `compilation-warning', `compilation-info' (bug#6117).
12845
12846 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12847
12848 * progmodes/compile.el (compilation-error): Inherit from `error'.
12849 (compilation-warning): Inherit from `warning'.
12850 (compilation-info): Inherit from `success'.
12851
12852 * dired.el (dired-marked): Inherit from `warning'.
12853 (dired-flagged): Inherit from `error'.
12854
57173b96
LMI
128552011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12856
3e79eb87
LMI
12857 * mail/smtpmail.el (auth-source): Require to avoid problems with
12858 binding variables (bug#9298). Also clean up some unused
12859 autoloads.
12860
b3fd59bd
SM
12861 * net/network-stream.el (network-stream-open-starttls):
12862 Support using starttls.el without using gnutls-cli.
57173b96 12863
02b404de
JL
128642011-08-17 Juri Linkov <juri@jurta.org>
12865
12866 * progmodes/grep.el (rgrep): Handle the case when
12867 `grep-find-command' is a cons cell (bug#9278).
12868
8c9177f2
MR
128692011-08-17 Martin Rudalics <rudalics@gmx.at>
12870
12871 * window.el (display-buffer-pop-up-frame): Run frame creation
12872 function with BUFFER current (as special-display-popup-frame
12873 does). Reported by Drew Adams.
12874
3644a0ab
DU
128752011-08-17 Daiki Ueno <ueno@unixuser.org>
12876
12877 * epa-mail.el: Simplify GnuPG group expansion using
12878 epg-expand-group.
12879 (epa-mail-group-alist, epa-mail-group-modtime)
12880 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12881 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12882 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12883 Remove.
12884
5e617bc2 128852011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12886
12887 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12888
9c4aeabf
AM
128892011-08-16 Alan Mackenzie <acm@muc.de>
12890
12891 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12892 Correct, to avoid the inside of macros.
12893
3a99bf64
RS
128942011-08-16 Richard Stallman <rms@gnu.org>
12895
04963aa8
RS
12896 * epa-mail.el: Handle GnuPG group definitions.
12897 (epa-mail-group-alist, epa-mail-group-modtime)
12898 (epa-mail-gnupg-conf-file): New variables.
12899 (epa-mail-parse-groups, epa-mail-sync-groups)
12900 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12901 (epa-mail-expand-recipients): New functions.
12902 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12903
177549d0
RS
12904 * mail/rmail.el (rmail-epa-decrypt): New command.
12905
fe38beef
RS
12906 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12907 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12908 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12909 (epa-decrypt-armor-in-region): Make error message clearer.
12910
934eacb9
SM
129112011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12914 and "a2b" to "ab" for `prefix'.
12915
d024fb4e
CY
129162011-08-14 Chong Yidong <cyd@stupidchicken.com>
12917
12918 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12919 filter groups.
de148fee
CY
12920 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12921 Fourquet (Bug#8804).
d024fb4e 12922
62f1ca49
JB
129232011-08-12 Juanma Barranquero <lekktu@gmail.com>
12924
12925 * startup.el (argi): Declare as global variable (bug#9275).
12926
9ccaaa4b
CY
129272011-08-12 Chong Yidong <cyd@stupidchicken.com>
12928
12929 * subr.el (string-mark-left-to-right): Search the entire string
12930 for RTL script, not just the terminating character. Doc fix.
12931
a3dae87a
SM
129322011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12933
6cd18349
SM
12934 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12935 New function.
12936 (js--regexp-literal, js-syntax-propertize-function): Remove.
12937 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12938 (js-mode-map): Don't rebind electric keys.
12939 (js-insert-and-indent): Remove.
12940 (js-mode): Setup electric-layout and electric-indent instead.
12941
a3dae87a
SM
12942 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12943
9d5cb631
DU
129442011-08-12 Daiki Ueno <ueno@unixuser.org>
12945
12946 * epa.el (epa-progress-callback-function): Fix the logic of
12947 displaying progress.
12948 * epa-file.el (epa-file-insert-file-contents): Make progress
12949 display more user-friendly.
12950 (epa-file-write-region): Ditto.
12951
3e26a4a2
CY
129522011-08-10 Chong Yidong <cyd@stupidchicken.com>
12953
12954 * subr.el (string-mark-left-to-right): New function.
12955
12956 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12957 Use string-mark-left-to-right.
12958 (list-buffers-noselect): Caller changed.
12959
a3dae87a
SM
12960 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12961 Use string-mark-left-to-right.
3e26a4a2
CY
12962 (tabulated-list-print): Recenter after moving point.
12963
ac8cf6e6
JL
129642011-08-10 Juri Linkov <juri@jurta.org>
12965
12966 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12967 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12968 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12969
8d96c9a4
CY
129702011-08-09 Chong Yidong <cyd@stupidchicken.com>
12971
12972 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12973 (Bug#7554).
12974
7be1c708 129752011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12976
12977 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12978 character. (Bug#6594)
12979
37e11a63
CY
129802011-08-08 Chong Yidong <cyd@stupidchicken.com>
12981
839dde57
CY
12982 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12983 (image-dired--with-db-file): New macro.
12984 (image-dired-write-tags, image-dired-remove-tag)
12985 (image-dired-create-gallery-lists, image-dired-write-comments)
12986 (image-dired-get-comment, image-dired-mark-tagged-files)
12987 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12988 (image-dired-gallery-generate): Use insert-file-contents.
12989
37e11a63
CY
12990 * time.el (display-time-world-list, display-time-world-display):
12991 * time-stamp.el (time-stamp-string):
12992 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12993 set-time-zone-rule (Bug#7337).
12994
0b4946c4
DU
129952011-08-08 Daiki Ueno <ueno@unixuser.org>
12996
12997 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12998 (epg-error-to-string, epg-errors-to-string): New function.
12999 (epg-wait-for-completion): Reverse errors list.
13000 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13001 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13002 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13003 (epg-sign-keys, epg-generate-key-from-file)
13004 (epg-generate-key-from-string): Format errors by using
13005 epg-errors-to-string (bug#9255).
13006 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13007
75bfc667
JL
130082011-08-07 Juri Linkov <juri@jurta.org>
13009
13010 * faces.el (list-faces-display): Remove extra angle bracket
13011 from `help-mode-map'.
13012
13013 * info.el (Info-history-toc-nodes): Doc fix.
13014
13015 * longlines.el (longlines-mode): Doc fix.
13016
673e08bb
SM
130172011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13018
4640dd88
SM
13019 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13020 of statements and in a few more cases (bug#9183).
13021
673e08bb
SM
13022 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13023 New functions.
13024 (cl-transform-lambda): Use them (bug#9239).
13025
89b3f019
MR
130262011-08-05 Martin Rudalics <rudalics@gmx.at>
13027
13028 * window.el (display-buffer-same-window)
13029 (display-buffer-same-frame, display-buffer-other-window)
13030 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13031 (pop-to-buffer-other-window)
13032 (pop-to-buffer-same-frame-other-window)
13033 (pop-to-buffer-other-frame): Make them defuns.
13034 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13035
640c8776
SM
130362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * subr.el (make-composed-keymap): Move from C. Change calling
13039 convention, and improve docstring to bring attention to a subtle point.
13040 * minibuffer.el (completing-read-default): Adjust accordingly.
13041
63648a95
MA
130422011-08-03 Michael Albinus <michael.albinus@gmx.de>
13043
13044 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13045 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13046
13047 * net/trampver.el: Update release number.
13048
b796c9b7
SM
130492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13050
13051 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13052 "in" (bug#9190).
13053
2239d7d5
LMI
130542011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13055
e07dd7c3
LMI
13056 * mail/sendmail.el (sendmail-query-once): Restore the current
13057 buffer after querying (bug#9074).
13058
0e6a2bd7
LMI
13059 * dired.el (dired-flagged): Use different faces for marked and
13060 flagged files (bug#6117).
13061
ce887515
LMI
13062 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13063 (bug#4433).
13064
92f2affc
LMI
13065 * ido.el (ido-mode): Switch off the message if called
13066 non-interactively.
13067
57d5aff0
LMI
13068 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13069 before 587, since it appears that that's more likely to work for
13070 more people.
13071
98cd6c18 13072 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13073 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13074 exist.
13075
b96dec83
LMI
13076 * info.el: Remove the `Info-beginning-of-buffer' function
13077 (bug#8325).
13078
b796c9b7
SM
13079 * net/network-stream.el (network-stream-open-starttls):
13080 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13081
d90e2ea0
MR
130822011-08-01 Martin Rudalics <rudalics@gmx.at>
13083
13084 * window.el (display-buffer-in-window): Don't set dedicated status
13085 of window here (Bug#9215).
13086 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13087 (display-buffer-pop-up-side-window)
b796c9b7 13088 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13089
cca09170
SM
130902011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13093 before binding generated-autoload-file.
13094
027b979c
DD
130952011-08-01 Deniz Dogan <deniz@dogan.se>
13096
13097 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13098
3c7ee4f3
MA
130992011-07-30 Michael Albinus <michael.albinus@gmx.de>
13100
13101 Sync with Tramp 2.2.2.
13102
13103 * net/trampver.el: Update release number.
13104
2cc8e51a
JL
131052011-07-30 Juri Linkov <juri@jurta.org>
13106
13107 * dired-aux.el (dired-touch-initial): Remove function.
13108 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13109 current time, and `default' to the last modification time of the
13110 current marked file (bug#6887).
13111
a514d856
JM
131122011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13113
13114 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13115 numeric argument to read-number (bug#9163).
a514d856 13116
8a7eddd7
MA
131172011-07-27 Michael Albinus <michael.albinus@gmx.de>
13118
13119 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13120 connection process, it could be nil.
13121
1ddd96f5
LL
131222011-07-27 Leo Liu <sdl.web@gmail.com>
13123
13124 Simplify url handling in rcirc-mode.
13125
13126 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13127 (rcirc-browse-url-at-mouse): Remove.
13128 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13129
b248a85d
AM
131302011-07-26 Alan Mackenzie <acm@muc.de>
13131
13132 Fontify bitfield declarations properly.
13133
13134 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13135 (c-symbol-chars): Now exported as a lang variable.
13136 (c-not-primitive-type-keywords): New lang variable.
13137
13138 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13139 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13140 parsed as a bitfield declaration.
b248a85d 13141
b796c9b7
SM
13142 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13143 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13144 (c-punctuation-in): New function.
13145 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13146 declarations properly.
13147
68575ab0
UJ
131482011-07-26 Ulf Jasper <ulf.jasper@web.de>
13149
13150 * calendar/icalendar.el (icalendar--all-events): Take care of
13151 multiple vcalendars in a single file.
b796c9b7 13152 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13153
0f0a88b9
DD
131542011-07-25 Deniz Dogan <deniz@dogan.se>
13155
13156 * image.el (insert-image): Clarifying docstring.
13157
0b3f36df
MA
131582011-07-24 Michael Albinus <michael.albinus@gmx.de>
13159
13160 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13161 `tramp-send-command-and-check' if there is no error.
13162 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13163
a9901f61
AM
131642011-07-22 Alan Mackenzie <acm@muc.de>
13165
13166 Prevent cc-langs.elc being loaded at run time.
13167
13168 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13169 cc-langs.
13170
4d61f28d 13171 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13172 "(require 'cc-langs)". Quote a form so it will evaluate at
13173 (cc-mode's) compilation time.
13174
11d074b2
MA
131752011-07-22 Michael Albinus <michael.albinus@gmx.de>
13176
13177 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13178 loading. (Bug#9114)
13179
938b94c8
MR
131802011-07-21 Martin Rudalics <rudalics@gmx.at>
13181
13182 * window.el (display-buffer-pop-up-window)
13183 (display-buffer-pop-up-side-window)
13184 (display-buffer-in-side-window): Call display-buffer-set-height
13185 and display-buffer-set-width after setting the new window's
b796c9b7 13186 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13187
bfa4f190
SS
131882011-07-20 Sam Steingold <sds@gnu.org>
13189
13190 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13191 (etags-tags-included-tables): Call `convert-standard-filename' on
13192 the file names contained in TAGS so that windows Emacs can handle
13193 TAGS files created by cygwin ctags.
13194
8ca42262
LMI
131952011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13196
13197 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13198 which apparently didn't work.
13199
5db2afd2 132002011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13201
5db2afd2
RW
13202 * proced.el (proced-send-signal): For *Marked Processes* buffer
13203 put point at beginning of buffer.
13204
92e15d10
SB
132052011-07-19 Stephen Berman <stephen.berman@gmx.net>
13206
13207 * proced.el (proced-format): Make header lines align with the text
13208 (bug#1779).
13209
1bfd59e5
LMI
132102011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
13212 * view.el (view-buffer): Allow running in `special' modes if we're
13213 visiting a file (bug#8615).
13214
f5aae37c
MR
132152011-07-19 Martin Rudalics <rudalics@gmx.at>
13216
13217 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13218 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13219 New functions.
f5aae37c
MR
13220 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13221 more accurately.
13222
bf2c1571
AM
132232011-07-18 Alan Mackenzie <acm@muc.de>
13224
13225 Fontify declarators properly when, e.g., a jit-lock chunk begins
13226 inside a declaration.
13227
13228 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13229
b796c9b7
SM
13230 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13231 New function.
bf2c1571
AM
13232 (c-complex-decl-matchers): Insert reference to
13233 c-font-lock-enclosing-decls.
13234
13235 * progmodes/cc-engine.el (c-backward-single-comment):
13236 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13237 to nil around calls to (forward-comment -1).
13238
4e190b80
LMI
132392011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13240
12dc863d
LMI
13241 * image.el (put-image): Doc typo fix.
13242
a762e966
LMI
13243 * progmodes/etags.el (tags-search): Doc typo fix.
13244
4e190b80
LMI
13245 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13246 password if we get errors 550 to 554.
13247
f019fb21
LMI
132482011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13249
b796c9b7 13250 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13251
81746738
LMI
13252 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13253 indentation character (bug#6380).
13254
3ee3a1b5
LMI
13255 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13256
c82f64de
LMI
13257 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13258 to clarify what the problem is (bug#4291).
13259
f019fb21
LMI
13260 * simple.el (current-kill): Clarify what
13261 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13262 (auto-fill-mode): Document `auto-fill-function' in relation to
13263 `auto-fill-mode' (bug#2470).
f019fb21 13264
0794775d
LM
132652011-07-16 Lawrence Mitchell <wence@gmx.li>
13266
13267 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13268 method if slot is read-only (bug#9035).
13269
be39b8cc
MR
132702011-07-16 Martin Rudalics <rudalics@gmx.at>
13271
b796c9b7 13272 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13273 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13274 selected before, see discussion of (Bug#8615), (Bug#6954).
13275 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13276
6ccf7859
GM
132772011-07-15 Glenn Morris <rgm@gnu.org>
13278
13279 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13280 Respect help-form.
6ccf7859 13281
87e86684
LM
132822011-07-09 Lawrence Mitchell <wence@gmx.li>
13283
13284 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13285 (gnutls-negotiate): Use it.
13286
d6066239
LMI
132872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13288
b796c9b7
SM
13289 * net/gnutls.el (gnutls-negotiate):
13290 Upcase `gnutls-algorithm-priority'.
d6066239 13291
bd23ebc0
GM
132922011-07-15 Glenn Morris <rgm@gnu.org>
13293
c65bca65
GM
13294 * jka-compr.el (jka-compr-verbose): Move from here...
13295 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13296 Add missing :version tag.
13297 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13298
478615cc
LMI
132992011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13300
7b41decb
LMI
13301 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13302 (gnutls-negotiate): Use it.
13303
dbc44fcd
LMI
13304 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13305
06789f97
LMI
13306 * info.el (Info-beginning-of-buffer): New command.
13307 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13308 announcing `b' as the key (bug#8325).
ab896c37 13309 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13310
c39da690
LMI
13311 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13312
3aa5f34b
LMI
13313 * international/mule-cmds.el
13314 (describe-specified-language-support): Make the error message
13315 clearer (bug#8905).
13316
4bf0979f
LMI
13317 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13318
478615cc
LMI
13319 * isearch.el (isearch-barrier): Add a doc string, since it's
13320 mentioned in a function doc string (bug#8678).
13321
75c68aa1
MR
133222011-07-15 Martin Rudalics <rudalics@gmx.at>
13323
13324 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13325 buffer argument (Bug#9083) and self-identifying label argument.
13326
a7c33da2
GM
133272011-07-15 Glenn Morris <rgm@gnu.org>
13328
13329 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13330
2f5c6024
LMI
133312011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13332
13333 * man.el (Man-fontify-manpage): Fix message when formatting the
13334 man page (bug#7929).
13335
0bb23927 133362011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13337
13338 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13339 argument LRM; if non-nil, append an invisible LRM character to the
13340 buffer name.
13341 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13342 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13343 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13344 paragraph direction.
cce4b0a7 13345
621ef9ab
LMI
133462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13347
d1583c48
LMI
13348 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13349 the man page name (bug#7929).
13350
6a57fb5f
LMI
13351 * image.el (put-image): Mention the `put-image' overlay property
13352 (bug#7834).
13353
d7956b14
LMI
13354 * scroll-bar.el (set-scroll-bar-mode): Mention that
13355 `scroll-bar-mode' lists the values (bug#7772).
13356
5b2d4a66
LMI
13357 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13358 command (bug#7729).
13359
7509a874
LMI
13360 * rect.el (apply-on-rectangle): Return the point after the last
13361 operation.
13362 (string-rectangle): Go to the point after the last operation
13363 (bug#7522).
13364
4fe74b19
LMI
13365 * printing.el (pr-toggle-region): Clarify the documentation
13366 slightly (bug#7493).
13367
b796c9b7
SM
13368 * time.el (display-time-update):
13369 Allow `display-time-mail-function' to return nil (bug#7158).
13370 Fix suggested by Detlev Zundel.
ab283561 13371
fc233c9d
LMI
13372 * vc/diff.el (diff): Clarify the order the file names are read
13373 (bug#7111).
13374
43f5740b
LMI
13375 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13376 the doc string (bug#7015).
13377
f2182a76
LMI
13378 * font-lock.el (font-lock-maximum-decoration): Mention what
13379 numeric levels mean (bug#6935).
13380
621ef9ab
LMI
13381 * startup.el (initial-buffer-choice): Don't mention the `none'
13382 selection, which is against policy.
13383
adc47434
MR
133842011-07-14 Martin Rudalics <rudalics@gmx.at>
13385
b796c9b7
SM
13386 * window.el (display-buffer-normalize-special):
13387 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13388
7e5bfb8f
EZ
133892011-07-14 Eli Zaretskii <eliz@gnu.org>
13390
13391 * subr.el (version<, version<=, version=): Mention "-CVS" and
13392 "-12345" alpha version numbers.
13393
27fa387a
CY
133942011-07-14 Chong Yidong <cyd@stupidchicken.com>
13395
13396 * bindings.el: Add advertised binding for set-mark-command
13397 (Bug#5772).
13398
8bdfa064
CY
133992011-07-14 Chong Yidong <cyd@stupidchicken.com>
13400
13401 * bindings.el (mode-line-other-buffer):
13402 * bookmark.el (bookmark-bmenu-2-window):
13403 * bs.el (bs-cycle-next, bs-cycle-previous):
13404 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13405 switch-to-buffer.
13406
13407 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13408 Delete.
8bdfa064 13409
5eba16a3
JB
134102011-07-14 Juanma Barranquero <lekktu@gmail.com>
13411
13412 * follow.el (follow-debug-message, follow-redisplay):
13413 * jka-cmpr-hook.el (with-auto-compression-mode):
13414 Fix typos in docstrings.
13415
15853710
LMI
134162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
a28e4607
LMI
13418 * subr.el (with-silent-modifications): Clarify somewhat what the
13419 macro inhibits (bug#6525).
13420
15853710
LMI
13421 * simple.el (eval-expression): Note what it does if called
13422 interactively (bug#6495).
13423
bee0fcef
CY
134242011-07-13 Chong Yidong <cyd@stupidchicken.com>
13425
b796c9b7
SM
13426 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13427 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13428
13429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13430 Remove switch-to-buffer.
13431
58274504
LMI
134322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13433
bd2fcc8d
LMI
13434 * files.el (make-directory): Clarify that an error will be raised
13435 if there's an error (bug#6397).
13436
0f04b32c
LMI
13437 * startup.el (initial-buffer-choice): Add `none' as a choice
13438 (bug#6234).
13439
465c5fc8
LMI
13440 * subr.el (add-hook): Clarify section about buffer-local hooks
13441 (bug#6218).
13442
58274504
LMI
13443 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13444
bead9a43
JB
134452011-07-13 Juanma Barranquero <lekktu@gmail.com>
13446
13447 * tabify.el (untabify): Preserve the current column so that point
13448 doesn't move (bug#6032).
13449
3af98a7b
LMI
134502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13451
b796c9b7
SM
13452 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13453 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13454
6240145a
GM
134552011-07-13 Glenn Morris <rgm@gnu.org>
13456
13457 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13458 (dired-insert-directory): Give a message the first time
13459 if ls is found not to support --dired.
13460
1d8c2ccc
LMI
134612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13462
13463 * simple.el (toggle-truncate-lines): Clarify what is toggled
13464 (bug#5580). Text by Drew Adams.
13465
5fc4038e
CY
134662011-07-13 Chong Yidong <cyd@stupidchicken.com>
13467
13468 * simple.el (blink-matching-open): Make the error message from the
13469 last change less verbose.
13470
bf6012e5
DN
134712011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13472
13473 * font-lock.el (font-lock-comment-face): Use the high contrast
13474 "yellow" color for font-lock-comment-face on low color terminals
13475 using a dark background color (bug#4221).
13476
343c3b5a
LMI
134772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13478
7e9505c5
LMI
13479 * dired.el (dired-insert-set-properties): Make the doc string
13480 reflect what it does now (bug#5325).
13481
c26fdcf5
LMI
13482 * simple.el (blink-matching-open): Say that we were unable to find
13483 the match within the limit, if we're limited (bug#5122).
13484
bb388cc5
LMI
13485 * international/mule-cmds.el (prefer-coding-system): Add an
13486 example (bug#4869).
13487
343c3b5a
LMI
13488 * progmodes/etags.el (tags-search): Document `file-list-form'
13489 (bug#4731).
13490
2a517d45
LM
134912011-07-13 Lawrence Mitchell <wence@gmx.li>
13492
13493 * net/browse-url.el (browse-url-default-browser)
13494 (browse-url-browser-function): Make the default browser choice a
13495 bit more logical (bug#4300). Also clean up the doc string.
13496
b6c78ef2
JB
134972011-07-13 Juanma Barranquero <lekktu@gmail.com>
13498
13499 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13500 binary endings (bug#4440).
13501
1c4dd947
LMI
135022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13503
a2014063
LMI
13504 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13505 which can be pretty annoying (bug#8971).
13506
9c9c2d88
LMI
13507 * jka-compr.el (jka-compr-verbose): New variable, and use
13508 throughout (bug#8971).
13509
1c4dd947
LMI
13510 * info.el (Info-find-file): Fall back on the installation
13511 directory if we can't find the info node anywhere else.
13512
a1c9f41b
SO
135132011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13514
13515 * vc/vc.el (vc-revert-file):
13516 Don't set file time-stamp in the past. (Bug#5181)
13517
536f3d36
LMI
135182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13519
7152b011
LMI
13520 * files.el (after-find-file): Give a better error message when
13521 trying to find a symlink that points to a file that doesn't exist
13522 (bug#4398).
13523
536f3d36
LMI
13524 * progmodes/cc-vars.el: Remove (probably) misleading comment
13525 (bug#4396).
13526
460c0fba
JB
135272011-07-12 Johan Bockgård <bojohan@gnu.org>
13528
13529 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13530
7a6bda45
CY
135312011-07-12 Chong Yidong <cyd@stupidchicken.com>
13532
13533 * mouse-sel.el: Hack restoring functionality, while keeping
13534 compatibility with 2010-07-03 changes to mouse selection.
13535 (mouse-sel-primary-overlay): New var.
13536 (mouse-sel-selection-alist): Use it.
13537 (mouse-sel-mode): Doc fix; remove points that are default features
13538 of mouse.el.
13539
c79598ef
JB
135402011-07-12 Johan Bockgård <bojohan@gnu.org>
13541
13542 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13543 Fix previous fix (bug#2490).
13544
ff8be6ef
RW
135452011-07-12 Roland Winkler <winkler@gnu.org>
13546
b796c9b7
SM
13547 * textmodes/bibtex.el (bibtex-initialize):
13548 Use pop-to-buffer-same-window.
ff8be6ef
RW
13549 (bibtex-search-entries): Fix interactive call.
13550
296ba3ee
LMI
135512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13552
f5242a02 13553 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13554 Fontise bytecomp Error lines more correctly (bug#2490).
13555 Fix suggested by Johan Bockgård.
f5242a02 13556
296ba3ee
LMI
13557 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13558
13559 * dired-x.el (dired-guess-default): Use `delete-dups'.
13560
f69fd0d2
CY
135612011-07-12 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * dired.el (dired-mark-prompt):
13564 * dired-aux.el (dired-read-shell-command): Doc fix.
13565
eab5dc07
LMI
135662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13567
b796c9b7
SM
13568 * mail/sendmail.el (sendmail-query-once):
13569 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13570 emacs -Q.
13571
13572 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13573
eab5dc07
LMI
13574 * cus-edit.el (custom-file): Take an optional no-error variable.
13575 (customize-save-variable): Set the variable, and give a warning if
13576 running under "emacs -q".
13577
a1e65d42
JB
135782011-07-11 Juanma Barranquero <lekktu@gmail.com>
13579
13580 * loadhist.el (unload-feature-special-hooks):
13581 Add `auto-coding-functions', `fill-nobreak-predicate' and
13582 `find-directory-functions' (bug#5327).
13583
1d52da10
LMI
135842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13585
be958f1d
LMI
13586 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13587
5bedb26c
LMI
13588 * cus-edit.el (custom-guess-name-alist): -alist variables should
13589 use the `alist' type (bug#3120). Suggested by Drew Adams.
13590
1d52da10
LMI
13591 * printing.el: Add documentation to all the `pr-toggle-' commands.
13592
cd394be1 135932011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13594
13595 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13596 backends where it makes sense (bug#2623).
13597
dcc88d8a
LMI
135982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13599
c3de9feb
LMI
13600 * dired-x.el (dired-guess-default): Remove duplicate shell command
13601 entries (bug#2028).
8a93078b 13602 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13603 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13604
dcc88d8a
LMI
13605 * subr.el (remove-duplicates): New conveniency function.
13606
505e3645
LMI
136072011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13608
13609 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13610 (bug#1526).
13611
136122011-07-10 Martin Rudalics <rudalics@gmx.at>
13613
13614 * window.el (display-buffer-normalize-default): Don't invert
13615 meaning of even-window-heights. Reported by Eli Zaretskii
13616 <eliz@gnu.org>.
13617
455e4fa1
BR
136182011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13619
13620 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13621
8e0bc3e9
CY
136222011-07-10 Chong Yidong <cyd@stupidchicken.com>
13623
13624 * window.el (display-buffer): Fix arguments to
13625 display-buffer-reuse-window in last change.
13626
fa7c3228
CY
13627 * faces.el (link): Use a less saturated blue on light backgrounds.
13628
13629 * startup.el (fancy-startup-text, fancy-about-text)
13630 (fancy-startup-tail): Use font-lock faces, for background safety.
13631
c0a7f300
BN
136322011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13633
b796c9b7
SM
13634 * emulation/viper-cmd.el (viper-change-state-to-vi):
13635 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13636
4dc2a129
MR
136372011-07-09 Martin Rudalics <rudalics@gmx.at>
13638
13639 * window.el (display-buffer-default-specifiers): Remove.
13640 (display-buffer-macro-specifiers): Remove default specifiers.
13641 (display-buffer-alist): Default to nil.
b796c9b7 13642 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13643 (display-buffer-pop-up-window): Allow splitting internal
13644 windows. Check whether a live window was created.
13645 (display-buffer-other-window-means-other-frame)
13646 (display-buffer-normalize-arguments): Rename to
13647 display-buffer-normalize-argument and rewrite. Set the
13648 other-window specifier.
13649 (display-buffer-normalize-special): New function.
13650 (display-buffer-normalize-options): Rename to
13651 display-buffer-normalize-default and rewrite.
13652 (display-buffer-normalize-options-inhibit): Remove.
13653 (display-buffer-normalize-specifiers): Rewrite.
13654 (display-buffer): Process other-window specifier and call
13655 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13656 more faithfully.
b796c9b7 13657 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13658 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13659 (display-buffer-in-window, display-buffer-alist-set):
13660 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13661 <tassilo@member.fsf.org>.
13662
2d43b8c9
LL
136632011-07-09 Leo Liu <sdl.web@gmail.com>
13664
13665 * register.el (insert-register): Restore accidental change on
13666 2011-06-26. (Bug#9028)
13667
7f9b7c53
GM
136682011-07-09 Glenn Morris <rgm@gnu.org>
13669
13670 * subr.el (remq): Handle the empty list. (Bug#9024)
13671
f042cfd8
AS
136722011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13673
13674 * mail/sendmail.el (send-mail-function): No longer delay custom
13675 initialization.
13676 * custom.el (custom-initialize-delay): Doc fix.
13677
856b2f11
SM
136782011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13681
afae1d68
MA
136822011-07-08 Michael Albinus <michael.albinus@gmx.de>
13683
13684 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13685 human-friendly prompt.
13686
0757af94
SM
136872011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13690 provided by a particular plugin.
13691
d760b731
LMI
136922011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13693
13694 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13695 save customizations (with "emacs -Q"), just set the variable
13696 instead of erroring out.
13697
13698 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13699
cd79ce90
JL
137002011-07-08 Juri Linkov <juri@jurta.org>
13701
13702 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13703 (archive-zip-update-case): Use 7z if found by `executable-find'.
13704 The order of searching the available programs is the same as in
13705 `archive-zip-extract' (bug#8968).
13706
14cc04aa
CY
137072011-07-07 Chong Yidong <cyd@stupidchicken.com>
13708
13709 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13710 (menu-bar-options-menu): Tweak descriptions.
13711
0a1848ec
LMI
137122011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13713
13714 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13715 menu items into verb phrases (bug#1421). Also refill to fit under
13716 80 columns.
13717
f5bd0689
CY
137182011-07-07 Chong Yidong <cyd@stupidchicken.com>
13719
538e85c6
CY
13720 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13721 (Info-read-node-name): Doc fix (Bug#1084).
13722
f5bd0689
CY
13723 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13724 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13725 (end-of-sexp, beginning-of-sexp)
13726 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13727 (forward-symbol, forward-same-syntax, word-at-point)
13728 (sentence-at-point): Doc fix (Bug#1144).
13729
56ec5115
LMI
137302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13731
f3f8e37f
LMI
13732 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13733 should cover it (bug#1281).
13734
0757af94 13735 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13736
e9fce1ac 13737 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13738 negotiation fails, then possibly try again with a non-encrypted
13739 connection (bug#9017).
13740
56ec5115
LMI
13741 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13742 be used.
13743
c2f9aec8
RS
137442011-07-07 Richard Stallman <rms@gnu.org>
13745
13746 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13747 property, and handle its changed format.
13748 Look for the correct line number.
13749 Use file's line contents (but not past first =) to find
13750 correct line in message.
13751
ef7b981d 137522011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13753
13754 * international/characters.el (build-unicode-category-table):
13755 Delete it.
0757af94 13756 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13757
0757af94 13758 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13759 to src/chartab.c.
13760 (get-char-code-property): Call unicode-property-table-internal to
13761 load a file. Call get-unicode-property-internal where necessary.
13762 (put-char-code-property): Call unicode-property-table-internal to
13763 load a file. Call put-unicode-property-internal where necessary.
13764 put-unicode-property-internal where necessary.
0757af94
SM
13765 (char-code-property-description):
13766 Call unicode-property-table-internal to load a file.
c805dec0
KH
13767
13768 * international/charprop.el:
13769 * international/uni-bidi.el:
13770 * international/uni-category.el:
13771 * international/uni-combining.el:
13772 * international/uni-comment.el:
13773 * international/uni-decimal.el:
13774 * international/uni-decomposition.el:
13775 * international/uni-digit.el:
13776 * international/uni-lowercase.el:
13777 * international/uni-mirrored.el:
13778 * international/uni-name.el:
13779 * international/uni-numeric.el:
13780 * international/uni-old-name.el:
13781 * international/uni-titlecase.el:
13782 * international/uni-uppercase.el: Regenerate.
13783
13784 * loadup.el: Load international/charprop.el before
13785 international/characters.
13786
e14b388a
CY
137872011-07-07 Chong Yidong <cyd@stupidchicken.com>
13788
13789 * window.el (next-buffer, previous-buffer): Signal an error if
13790 called from a minibuffer window.
13791
13792 * bindings.el: Revert 2011-07-04 change.
13793
354cf0ba
RS
137942011-07-06 Richard Stallman <rms@gnu.org>
13795
13796 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13797 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13798 Treat markers like ints.
13799 (rmail-mime-entity): Doc fix.
13800
a48868a7
LMI
138012011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13802
4906cd3d
LMI
13803 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13804 defcustom again for backwards compatibility.
13805
e0457abe
LMI
13806 * simple.el (shell-command-on-region): Fill.
13807
d67f7e1f
LMI
13808 * dired-aux.el (dired-kill-line): Add a doc string.
13809
fe204702
LMI
13810 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13811 to "\\sw\\|\\s_" (bug#358).
13812
a48868a7
LMI
13813 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13814 (dired-unmark-backward): Ditto.
13815 (dired-flag-backup-files): Ditto.
13816
13817 * dired-x.el (dired-mark-sexp): Ditto.
13818
aa8a705c
RS
138192011-07-06 Richard Stallman <rms@gnu.org>
13820
13821 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13822 (rmail-mime-entity): New arg TRUNCATED.
13823 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13824 New functions.
13825 (rmail-mime-save): Warn if entity is truncated.
13826 (rmail-mime-toggle-hidden): Likewise, for showing.
13827 (rmail-mime-process-multipart): Record when an entity is truncated.
13828
a9a936b9
RS
13829 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13830 if ENTITY is a string.
13831
1f2b92cb
LMI
138322011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13833
f4f73198 13834 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13835 of faces when `M-C-x'-ing their definitions (bug#8378).
13836 Also clean up the code slightly.
f4f73198 13837
12b16734 13838 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13839 because that makes the colors go away.
12b16734 13840
f0691d22
LMI
13841 * mail/sendmail.el (send-mail-function): Change the default to
13842 `sendmail-query-once'.
9e87df06 13843 (sendmail-query-once): Add an autoload cookie.
f0691d22 13844
1f2b92cb
LMI
13845 * net/network-stream.el (network-stream-open-starttls): Try using
13846 a plain connection even if the server offered STARTTLS, and we
13847 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13848 capability. This should make smtpmail.el work in slightly more
13849 configurations.
13850
1cdd2a1b
MA
138512011-07-06 Michael Albinus <michael.albinus@gmx.de>
13852
13853 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13854 New defun.
13855 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13856
fbcc67e2
MM
138572011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13858
13859 * progmodes/sql.el: Version 3.0
0757af94 13860 (sql-product-alist): Add product :completion-object,
fbcc67e2 13861 :completion-column, and :statement attributes.
0757af94 13862 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13863 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13864 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13865 ansi keywords.
13866 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13867 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13868 (sql-oracle-show-reserved-words): New function for development.
13869 (sql-product-font-lock): Simplify for source code buffers.
13870 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13871 New functions.
13872 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13873 (sql-mode-map): Add statement movement functions.
13874 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13875 New variable.
fbcc67e2
MM
13876 (sql-statement-regexp, sql-beginning-of-statement)
13877 (sql-end-of-statement, sql-signum): New functions.
0757af94 13878 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13879 (sql-show-sqli-buffer): Bug fix.
13880 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13881 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13882 with sql-interactive-mode.
13883 (sql-save-connection): Save buffer local settings.
0757af94 13884 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13885 (sql-product-interactive): Bug fix.
13886 (sql-preoutput-hold): New variable.
13887 (sql-interactive-remove-continuation-prompt): Bug fixes.
13888 (sql-debug-redirect): New variable.
13889 (sql-str-literal): New function.
13890 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13891 Redesign.
fbcc67e2
MM
13892 (sql-oracle-save-settings, sql-oracle-restore-settings)
13893 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13894 (sql-completion-object, sql-completion-column)
13895 (sql-completion-sqlbuf): New variables.
13896 (sql-build-completions-1, sql-build-completions)
13897 (sql-try-completion): New functions.
13898 (sql-read-table-name): Use them.
13899 (sql-contains-names): New buffer local variable.
13900 (sql-list-all, sql-list-table): Use it.
13901 (sql-oracle-completion-types): New variable.
13902 (sql-oracle-completion-object, sql-sqlite-completion-object)
13903 (sql-postgres-completion-object): New functions.
13904
d4eaeab1
GM
139052011-07-06 Glenn Morris <rgm@gnu.org>
13906
13907 * window.el (pop-to-buffer): Doc fix.
13908
322b7dab 139092011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13910
13911 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13912
322b7dab 139132011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13914
322b7dab 13915 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13916
322b7dab 13917 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13918
605dd5bf
CY
139192011-07-05 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * button.el (button): Inherit from link face. Suggested by Dan
13922 Nicolaescu.
13923
7dbfa719
SM
139242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13925
3db614b0
SM
13926 * progmodes/gdb-mi.el: Fit in 80 columns.
13927 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13928 switch-to-buffer.
13929
7dbfa719
SM
13930 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13931 if imenu is simply not configured (bug#8941).
13932
919d884a
KM
139332011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13934
13935 * allout.el (allout-post-undo-hook): New allout outline-change
13936 event hook to signal undo activity.
13937 (allout-post-command-business): Run allout-post-undo-hook if an
13938 undo just occurred.
7dbfa719
SM
13939 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13940 * allout-widgets.el (allout-widgets-after-undo-function):
13941 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13942 in the vicinity of an undo.
13943 (allout-widgets-mode): Include allout-widgets-after-undo-function
13944 on the new allout-post-undo-hook.
13945
450a0f09
SM
139462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13949 Let define-derived-mode define it.
13950 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13951 cycles of abbrev-table inheritance (bug#8998).
13952
2de69e00
RW
139532011-07-05 Roland Winkler <winkler@gnu.org>
13954
13955 * textmodes/bibtex.el: Add support for biblatex.
13956 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13957 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13958 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13959 (bibtex-entry-alist, bibtex-field-alist): New variables.
13960 (bibtex-entry-field-alist): Obsolete alias for
13961 bibtex-BibTeX-entry-alist.
13962 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13963 (bibtex-set-dialect): New command.
13964 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13965 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13966 Bind via bibtex-set-dialect.
2de69e00
RW
13967 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13968 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13969 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13970 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13971 Define via bibtex-set-dialect.
450a0f09
SM
13972 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13973 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13974 (bibtex-vec-push, bibtex-vec-incr): New functions.
13975 (bibtex-format-entry, bibtex-field-list)
13976 (bibtex-print-help-message, bibtex-validate)
13977 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13978
2dcdbdd9
SM
139792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 * progmodes/compile.el (compilation-goto-locus):
13982 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13983 * bs.el (bs-cycle-next, bs-cycle-previous):
13984 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13985 * bindings.el (mode-line-other-buffer):
13986 * autoinsert.el (auto-insert):
13987 * arc-mode.el (archive-extract):
13988 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13989
b27640fe
JB
139902011-07-05 Juanma Barranquero <lekktu@gmail.com>
13991
13992 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13993 Fix check of `emacs-lock-unlockable-modes'.
13994 Coerce true values of `emacs-lock--try-unlocking' to t.
13995
53bbe3ad
JB
139962011-07-05 Juanma Barranquero <lekktu@gmail.com>
13997
13998 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13999 * emacs-lock.el: New file.
14000
1d3cdbc7
JD
140012011-07-05 Julien Danjou <julien@danjou.info>
14002
14003 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14004 than `boundp' to check if face is set.
14005
9173deec
JB
140062011-07-05 Juanma Barranquero <lekktu@gmail.com>
14007
14008 * register.el (registerv-make):
14009 * window.el (window-min-height): Fix typos in docstrings.
14010
869795d6
JD
140112011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14012
9173deec 14013 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14014 Update doc string.
14015
b768cdcd
JB
140162011-07-04 Juanma Barranquero <lekktu@gmail.com>
14017
14018 * server.el (server-execute): Catch quit and call
14019 `server-return-error' to pass the error back to emacsclient and
14020 close the connection (bug#8942).
14021
13aa217b
KM
140222011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14023
14024 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14025 insecure exception for current topic. Also note that auto-saves
14026 are handled differently.
14027
5d3385a0 14028 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14029 State variables for tracking auto-save inhibition situation.
14030
14031 (allout-write-contents-hook-handler): Rename from
14032 'allout-write-file-hook-handler', and describe how it depends on
14033 write-contents-functions sensitivity to non-nil value to prevent
14034 file write.
14035
14036 (allout-auto-save-hook-handler): Remove. auto-save does not check
14037 this in individual buffers, only in the starting buffer, so this
14038 is not the right way for us to inhibit auto-save in a buffer
14039 according to its condition.
14040
14041 (allout-mode): Use new allout-write-contents-hook-handler, and
14042 only with write-contents-functions. Remove auto-save provisions -
14043 they're implemented elsewhere.
14044
14045 (allout-before-change-handler): If undo is in progress, note that
14046 for attention of allout-post-command-business.
14047
14048 (allout-post-command-business): If the command we're following was
14049 an undo, check for change in the status of encrypted items and
14050 adjust auto-save inhibitions accordingly.
14051
14052 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14053 according to whether there are or aren't any plain-text topics
14054 pending encryption.
14055
2dcdbdd9 14056 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14057 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14058 if there are plain-text topics pending encryption.
13aa217b
KM
14059
14060 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14061 buffer-saved-size and some allout state to not inhibit auto-saves
14062 if there are no longer any plain-text topics pending encryption.
14063
0757af94
SM
14064 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14065 No longer provide for exemption of the current topic.
13aa217b 14066
ac89b32c
JL
140672011-07-04 Juri Linkov <juri@jurta.org>
14068
14069 Add 7z operations to delete and save changed members (bug#8968).
14070 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14071 New defcustoms.
14072 (archive-7z-write-file-member): New function.
14073 (archive-7z-summarize): Fix the number of dashes in the
14074 listing output.
14075
8fa39615
SM
140762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14079 (bug#8958).
14080
2f11b3f1
CY
140812011-07-04 Chong Yidong <cyd@stupidchicken.com>
14082
d66fef2b
CY
14083 * bindings.el: Ignore next-buffer and previous-buffer in
14084 minibuffer-local-map.
14085
2f11b3f1
CY
14086 * font-lock.el (font-lock-builtin-face): Change light background
14087 color to dark slate blue (Bug#6693).
14088
f932a347
WD
140892011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14090
14091 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14092
c8af70e1
SM
140932011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14096 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14097 Add switch-to-buffer.
14098
f158badc
LMI
140992011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14100
14101 * isearch.el (isearch-search-fun-function): Clarify further the
14102 meaning of the function returned.
14103
6d95bd46
MA
141042011-07-04 Michael Albinus <michael.albinus@gmx.de>
14105
14106 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14107
14108 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14109 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14110 Use it.
14111 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14112 `tramp-default-remote-path' does not exist.
14113 (tramp-send-command-and-read): New optional argument NOERROR.
14114 (tramp-open-connection-setup-interactive-shell)
14115 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14116 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14117 (tramp-process-sentinel): Flush also process' connection property.
14118 (tramp-sh-handle-start-file-process): Do not set process
14119 sentinel. It is done now ...
14120 (tramp-maybe-open-connection): ... here. (Bug#8929)
14121
909e6b67
MK
141222011-07-04 MON KEY <monkey@sandpframing.com>
14123
14124 * play/animate.el (animate-string): Doc fixes and allow changing
14125 the buffer name (bug#5417).
14126
141272011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14128
c8af70e1 14129 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14130
f34755dc
PE
141312011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14132
396cec72
PE
14133 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14134 This is simpler and helps future-proof the code.
14135 (timer-until): Use time-subtract and float-time.
08235028 14136 (timer--time-less-p): Use time-less-p.
f34755dc 14137
56e6cc31
JB
141382011-07-04 Juanma Barranquero <lekktu@gmail.com>
14139
3abb79e5
JB
14140 * type-break.el (timep): Use the value of `float-time' to avoid a
14141 byte-compiler warning.
14142
56e6cc31
JB
14143 * server.el (server-eval-and-print): Return any result, even nil.
14144
7b9430b4
PE
141452011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14146
14147 * type-break.el: Accept time formats that the builtins accept.
14148 (timep, type-break-time-difference): Accept any format that
14149 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14150 This is simpler and helps future-proof the code.
14151 (type-break-time-difference): Round rather than ignoring
14152 subseconds components.
14153
3034e9e7
LMI
141542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14155
14156 * info.el (Info-apropos-matches): Make non-interactive, since it
14157 doesn't seem to do anything useful as a command (bug#8829).
14158
1485f4c0
CY
141592011-07-03 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14162 Move from faces.el.
1485f4c0
CY
14163 (frame-default-terminal-background): New function.
14164
14165 * custom.el (custom-push-theme): Don't record faces in `changed'
14166 theme; this doesn't work correctly for per-frame face settings.
14167 (disable-theme): Use face-set-after-frame-default to reset faces.
14168 (custom--frame-color-default): New function.
14169
9fa3dd45
LMI
141702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14171
c8af70e1 14172 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14173 (bug#8769).
14174
6cbbc20c
KR
141752011-03-29 Kevin Ryde <user42@zip.com.au>
14176
14177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14178 `perl-Test2' extend to match possible "fail #N" rep count
14179 (bug#8377).
14180
c7f98048
LMI
141812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14182
65676592
LMI
14183 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14184 `smtpmail-via-smtp' now returns the error instead of nil.
14185
c7f98048
LMI
14186 * isearch.el (isearch-search-fun-function): Clarify the doc string
14187 (bug#8101).
14188
56e6cc31 141892011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14190
14191 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14192 unnecessary spaces (bug#8987).
14193
2b216704
LMI
141942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14195
14196 * net/network-stream.el (open-network-stream): Use the
14197 :end-of-capability command thoughout.
14198
141992011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14200
14201 * net/network-stream.el (open-network-stream): Add the
14202 :end-of-capability command parameter, used by pop3.el.
14203
36adf6ce
LMI
142042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14205
1ca0da0e
LMI
14206 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14207
fc00f69c
LMI
14208 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14209 for list)" (bug#6475).
14210
28fd8759 14211 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14212 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14213 an error (bug#6297).
14214
0dd8b6da
LMI
14215 * man.el (Man-reference-regexp): Allow matching possible
14216 word-wrapped references (bug#6289).
14217
ce1438d6
LMI
14218 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14219 for consistency with the other vc buffers (bug#6197).
14220 (vc-checkin): Ditto.
14221
14222 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14223
36adf6ce
LMI
14224 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14225
e83cc1f7
LMI
142262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14227
8a20ca4c
LMI
14228 * custom.el (defcustom): Clarify that :set is only used in the
14229 Customize user interface (bug#6089).
14230
83319045
LMI
14231 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14232 associated with a file, refuse to run instead of erroring out
14233 (bug#6084).
14234
a8392169
LMI
14235 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14236 the doc string, since it appears that using `fill-column' always
14237 controls the width (bug#7845).
14238
e83cc1f7
LMI
14239 * simple.el (shell-command-on-region): Say where the error output
14240 went if `shell-command-default-error-buffer' is set (bug#6857).
14241
e47ca23b
KM
142422011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14243
14244 * allout.el (allout-yank-processing): Adjust cursor position for
14245 backwards-deleted space.
14246
14247 (allout-rebullet-heading): Register changes with
14248 allout-exposure-changed-hook, so the modified topic is properly
14249 decorated.
14250
5cf56143
LMI
142512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14252
08549772
LMI
14253 * minibuffer.el (completion-in-region): Document PREDICATE
14254 (bug#7136).
14255
48e96771
LMI
14256 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14257 of keyword/argument pairs (bug#6904).
14258
c8af70e1
SM
14259 * replace.el (multi-occur):
14260 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14261
e17d05e2
LMI
142622011-07-02 Drew Adams <drew.adams@oracle.com>
14263
14264 * dired.el (dired-mark-if): Make the message about whether it's
14265 marking or unmarking clearer (bug#8523).
14266
063b0e45
LMI
142672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14268
14269 * disp-table.el (display-table-print-array): New function.
14270 (describe-display-table): Use it to print the vectors more pretty
14271 (Bug#8859).
14272
28545e04
MR
142732011-07-02 Martin Rudalics <rudalics@gmx.at>
14274
14275 * window.el (window-state-get-1): Don't assign clone numbers.
14276 Add clone-of item to list of window parameters.
14277 (window-state-put-2): Don't process clone numbers.
14278 (display-buffer-alist): Fix doc-string.
14279
3349e122
SM
142802011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * subr.el (remq): Don't allocate if it's not needed.
14283 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14284 (keymap--merge-bindings): New functions.
14285 (keymap-canonicalize): Use them to refine the canonicalization.
14286 * minibuffer.el (minibuffer-local-completion-map)
14287 (minibuffer-local-must-match-map): Move initialization from C.
14288 (minibuffer-local-filename-completion-map): Move initialization from C;
14289 don't inherit from anything here.
14290 (minibuffer-local-filename-must-match-map): Make obsolete.
14291 (completing-read-default): Use make-composed-keymap to combine
14292 minibuffer-local-filename-completion-map with either
14293 minibuffer-local-must-match-map or
14294 minibuffer-local-filename-completion-map.
14295
d224ac83
GM
142962011-07-01 Glenn Morris <rgm@gnu.org>
14297
3de63bf8
GM
14298 * type-break.el (type-break-time-sum): Use dolist.
14299
d224ac83
GM
14300 * textmodes/flyspell.el (flyspell-word-search-backward):
14301 Replace CL function.
14302
1a1e3f32
SM
143032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14304
fe3f64d5
SM
14305 * mouse.el (mouse--strip-first-event): New function.
14306 (function-key-map): Use it to map fringe clicks to normal clicks
14307 by default.
14308
eb604e34
SM
14309 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14310 (vc-bzr-revision-completion-table): Add support for annotate and date.
14311
1a1e3f32
SM
14312 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14313 inherit from parent.
14314
5bd35902
LMI
143152011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14316
ace6c69c 14317 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14318 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14319
191e2bed
LMI
14320 * dired.el (dired-mode): Fix up the doc string as suggested by
14321 Drew Adams (bug#8817).
14322
5bd35902
LMI
14323 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14324 cookie, since the manual says that it should be possible to add
14325 this function to `find-file-hook' (bug#8709).
14326
eee8207a
TZ
143272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14328
14329 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14330 here. Noted Ted Zlatanov as the maintainer.
14331 (cfengine-common-settings, cfengine-common-syntax): New functions
14332 to set up common things between `cfengine-mode' and
14333 `cfengine3-mode'.
14334 (cfengine3-mode): New mode.
14335 (cfengine3-defuns cfengine3-defuns-regex
14336 (cfengine3-class-selector-regex cfengine3-category-regex)
14337 (cfengine3-vartypes cfengine3-font-lock-keywords)
14338 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14339 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14340
36b148cf
MA
143412011-07-01 Michael Albinus <michael.albinus@gmx.de>
14342
14343 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14344
14345 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14346
0bf4ba9a
MR
143472011-07-01 Martin Rudalics <rudalics@gmx.at>
14348
14349 * window.el (same-window-buffer-names, same-window-regexps)
14350 (same-window-p, special-display-frame-alist)
14351 (special-display-popup-frame, special-display-function)
14352 (special-display-buffer-names, special-display-regexps)
14353 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14354 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14355 (split-window-preferred-function, split-height-threshold)
14356 (split-width-threshold, even-window-heights)
14357 (display-buffer-mark-dedicated, window-splittable-p)
14358 (split-window-sensibly, window-safely-shrinkable-p):
14359 Un-obsolete.
14360 (display-buffer): Don't spread args with function specifier
14361 because special-display-popup-frame won't like it.
14362
35837f51
PE
143632011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14364
d0672f86
PE
14365 Time-stamp simplifications and fixes.
14366 These improve accuracy slightly, and future-proof the code
14367 against some potential changes to current-time format.
14368
b9444d97
PE
14369 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14370 by using time-since and float-time.
14371
0ef923dc
PE
14372 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14373 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14374 + NNN microseconds".
14375
2f81380d
PE
14376 * type-break.el (type-break-time-sum): Rewrite using time-add.
14377
845b5c3e
PE
14378 * play/hanoi.el (hanoi-current-time-float): Remove.
14379 All uses replaced by float-time.
14380
ee6f1be0
PE
14381 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14382 This yields a more-accurate answer.
14383 (rng-time-to-float): Remove; no longer needed.
14384
fe955043
PE
14385 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14386
5777162a
PE
14387 * calendar/timeclock.el (timeclock-seconds-to-time):
14388 Defalias to seconds-to-time, since they're the same thing.
14389
3103f8b6 14390 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14391 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14392 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14393
0e61a35f
SM
143942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14395
14396 * window.el (bury-buffer): Don't iconify the only frame.
14397 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14398 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14399
ddd63a1e
CY
144002011-07-01 Chong Yidong <cyd@stupidchicken.com>
14401
0e61a35f
SM
14402 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14403 Add mouse-yank-primary.
ddd63a1e 14404
055f4923
TZ
144052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14406
14407 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14408
6a2fb145
SM
144092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14412 (find-library-name): Use it to find relative load names when provided
14413 absolute file name (bug#8803).
14414
fd4983f2
LMI
144152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14416
887d14ad
LMI
14417 * textmodes/flyspell.el (flyspell-word): Consider words that
14418 differ only in case as potential doublons (bug#5687).
14419
c53dc7fc
LMI
14420 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14421 Remove two rather uninteresting debugging-like messages to make
14422 debbugs.el more silent.
14423
fd4983f2
LMI
14424 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14425 a password-like phrase.
14426
7a71b18d 144272011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14428
14429 * progmodes/cc-guess.el: New file.
14430
6a2fb145 14431 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14432
14433 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14434 derived from `c-basic-common-init'.
14435
14436 * progmodes/cc-mode.el (top-level): Require cc-guess.
14437 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14438
1fa280a3
LM
144392011-06-30 Lawrence Mitchell <wence@gmx.li>
14440
14441 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14442
e6597158
AM
144432011-06-30 Alan Mackenzie <acm@muc.de>
14444
1fa280a3
LM
14445 * progmodes/cc-engine.el (c-guess-continued-construct):
14446 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14447 lock is disabled. Name this case as "CASE G".
14448
68ba37fb
KM
144492011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14450
14451 * allout.el (allout-yank-processing): Fix injection of extra space
14452 between bullet and non-whitespace character in first topic when
14453 pasting, ensuring that the actual spacing in the pasted topic
14454 following the bullet char is preserved. This extra space was
14455 causing pasted encrypted topics to get a decrypted status even
14456 when the content was actually still encrypted. Now the decryption
14457 status from before the paste is preserved.
14458
14459 (allout-flag-region): Set all allout overlays so they evaporate
14460 when reduced to zero length (evanescent), to prevent overlay
14461 leakage.
14462
887a0b34
GM
144632011-06-30 Glenn Morris <rgm@gnu.org>
14464
94b9acce
GM
14465 * w32-fns.el (w32-charset-info-alist): Declare.
14466
1d9b46d4
GM
14467 * find-dired.el (find-grep-options): Simplify.
14468
cc232200
GM
14469 * term/ns-win.el (ns-set-resource): Declare.
14470
28e77c46
GM
14471 * ses.el (row, col): Declare dynamic variables honestly.
14472
887a0b34
GM
14473 * textmodes/reftex-parse.el (index-tags): Declare.
14474
658d8eb8
CY
144752011-06-30 Chong Yidong <cyd@stupidchicken.com>
14476
14477 * cus-edit.el (customize-push-and-save): New function.
14478
14479 * files.el (hack-local-variables-confirm): Use it.
14480
1fa280a3
LM
14481 * custom.el (load-theme): New arg NO-CONFIRM.
14482 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14483 (custom-enabled-themes): Doc fix.
14484
14485 * cus-theme.el (customize-create-theme)
14486 (custom-theme-merge-theme): Callers to load-theme changed.
14487
bb617717
LMI
144882011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14489
d61bdd5d
LMI
14490 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14491 short URLs have at least one dot in them (bug #7614).
14492
bb617717
LMI
14493 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14494 nil, because using a pty is apparently too slow (bug #895).
14495
2f31f37a
LMI
144962011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14497
14498 * mail/sendmail.el (sendmail-query-once): New function.
14499 (sendmail-query-once-function): New variable.
14500
3076b24e
GM
145012011-06-29 Glenn Morris <rgm@gnu.org>
14502
faf2a174
GM
14503 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14504
3076b24e
GM
14505 * ses.el (top-level): Require cl when compiling.
14506 (ses-set-localvars): Fix error statement.
14507 Call it at compile time to silence a storm of warnings.
14508
5386012d
MR
145092011-06-29 Martin Rudalics <rudalics@gmx.at>
14510
14511 * window.el (normalize-live-buffer): Rename to
14512 window-normalize-buffer.
14513 (normalize-live-frame): Rename to window-normalize-frame.
14514 (normalize-any-window): Rename to window-normalize-any-window.
14515 (normalize-live-window): Rename to window-normalize-live-window.
14516 (make-window-atom): Rename to window-make-atom.
14517 (window-resize-reset): Rename to window--resize-reset.
14518 (window-resize-reset-1): Rename to window--resize-reset-1.
14519 (resize-mini-window): Rename to window--resize-mini-window.
14520 (resize-subwindows-skip-p): Rename to
14521 window--resize-subwindows-skip-p.
14522 (resize-subwindows-normal): Rename to
14523 window--resize-subwindows-normal.
14524 (resize-subwindows): Rename to window--resize-subwindows.
14525 (resize-other-windows): Rename to window--resize-siblings.
14526 (resize-this-window): Rename to window--resize-this-window.
14527 (resize-root-window): Rename to window--resize-root-window.
14528 (resize-root-window-vertically): Rename to
14529 window--resize-root-window-vertically.
14530 (normalize-buffer-to-display): Rename to
14531 window-normalize-buffer-to-display.
14532 (normalize-buffer-to-switch-to): Rename to
14533 window-normalize-buffer-to-switch-to.
14534 Correspondingly update all callers of the functions listed
14535 above.
14536 (display-buffer-alist, display-buffer-normalize-arguments)
14537 (display-buffer-normalize-options, display-buffer)
14538 (display-buffer-alist-set): Use "function" instead of
14539 "fun-with-args".
14540
1176868d
CY
145412011-06-28 Chong Yidong <cyd@stupidchicken.com>
14542
14543 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14544 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14545 debbugs.gnu.org. Mention acknowledgment email.
14546
20a7a65f
LMI
145472011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14548
14549 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14550 buffer multibyteness, since it shouldn't matter.
14551
5f45cca5
MR
145522011-06-28 Martin Rudalics <rudalics@gmx.at>
14553
14554 * window.el (display-buffer-in-side-window): Handle dedicated
14555 windows as in display-buffer-reuse-window.
14556 (display-buffer-normalize-alist): Use value of override
14557 specifier.
14558 (display-buffer-normalize-specifiers): Use value of
14559 other-window-means-other-frame specifier.
14560 (display-buffer-alist): Rewrite some texts in widgets.
14561 (display-buffer): Spread arguments when calling function
14562 specified by fun-with-args.
14563
ad85fe1f
DD
145642011-06-28 Deniz Dogan <deniz@dogan.se>
14565
1fa280a3
LM
14566 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14567 Unnest `let'.
da68c4c8 14568
ad85fe1f
DD
14569 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14570 selectors (Bug#5732).
ec49bd31 14571 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14572
a08cc025
JA
145732011-06-27 Jari Aalto <jari.aalto@cante.net>
14574
14575 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14576 (eshell-ls-date-format): New defcustom.
14577 (eshell-ls-file): Use it.
14578
e2b551c5
SM
145792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14580
14581 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14582
8982b231
KY
145832011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14584
14585 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14586 (ange-ftp-make-tmp-name): New arg.
14587 (ange-ftp-file-local-copy): Use it.
14588
36c9fa27
J
145892011-06-27 Jambunathan K <kjambunathan@gmail.com>
14590
14591 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14592 no-conversion (Bug#8870).
14593
d68443dc
MR
145942011-06-27 Martin Rudalics <rudalics@gmx.at>
14595
14596 * window.el (window-right, window-left, window-child)
14597 (window-child-count, window-last-child)
14598 (window-iso-combination-p, walk-window-tree-1)
14599 (window-atom-check-1, window-tree-1, delete-window)
14600 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14601 new naming conventions - window-vchild, window-hchild,
14602 window-next and window-prev are now called window-top-child,
14603 window-left-child, window-next-sibling and window-prev-sibling
14604 respectively.
d615d6d2
MR
14605 (resize-window-reset): Rename to window-resize-reset.
14606 (resize-window-reset-1): Rename to window-resize-reset-1.
14607 (resize-window): Rename to window-resize.
14608 (window-min-height, window-min-width)
14609 (resize-mini-window, resize-this-window, resize-root-window)
14610 (resize-root-window-vertically, adjust-window-trailing-edge)
14611 (enlarge-window, shrink-window, maximize-window)
14612 (minimize-window, delete-window, quit-restore-window)
14613 (split-window, balance-windows, balance-windows-area-adjust)
14614 (balance-windows-area, window-state-put-2)
14615 (display-buffer-even-window-sizes, display-buffer-set-height)
14616 (display-buffer-set-width, set-window-text-height)
14617 (fit-window-to-buffer): Rename all "resize-window" prefixed
14618 calls to use the "window-resize" prefix convention.
14619 (display-buffer-alist): Fix symbol for label specifier.
14620 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14621 corresponding specifier.
14622 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14623
b6458526
VB
146242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14625
14626 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14627 convention.
14628 (ses-call-printer): Does not pass an empty string to formatter when the
14629 cell is empty to keep from barking printer Calc math-format-value.
14630
d31fd9ac
RS
146312011-06-27 Richard Stallman <rms@gnu.org>
14632
43d5bf84
RS
14633 * battery.el (battery-mode-line-limit): New variable.
14634 (battery-update): Handle it.
14635
d31fd9ac
RS
14636 * mail/rmailmm.el (rmail-mime-process-multipart):
14637 Handle truncated messages.
14638
819a6054
GM
146392011-06-27 Glenn Morris <rgm@gnu.org>
14640
14641 * progmodes/flymake.el (flymake-err-line-patterns):
14642 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14643
cedc73f2
VB
146442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14645
819a6054 14646 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14647 (ses--clean-!, ses--clean-_): New functions.
14648 (ses-range): Add configurability of readout order, and conversion
14649 to Calc vector.
14650
5e5d49b6
VB
14651 * ses.el (ses-repair-cell-reference-all): New function.
14652 (ses-cell-symbol): Set macro as safe, so that it can be used in
14653 formulas.
14654
56e6cc31 14655 * ses.el: Update cycle detection algorithm.
90ca8b49 14656 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14657 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14658 (ses-set-localvars): New function.
14659 (ses-make-cell): Add property-list as a cell element.
14660 (ses-cell-property-get-fun, ses-cell-property-get)
14661 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14662 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14663 New functions.
90ca8b49
VB
14664 (ses-cell-property-set, ses-cell-property-pop)
14665 (ses-cell-property-get-handle): New macro.
14666 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14667 New aliases, used for code readability.
14668 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14669 cycle detection.
14670 (ses-self-reference-early-detection): New defcustom.
fac916bf 14671 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14672 (ses-mode): Use ses-set-localvars.
14673 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14674 before lauching the update processing.
14675 (ses-initialize-Dijkstra-attempt): New function.
14676 (ses-recalculate-cell): Update for cycle detection based on
14677 Dijkstra algorithm.
14678
2bb63e81
VB
14679 * ses.el: Fix commenting and indenting convention.
14680
c9d29fb8
SM
146812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14682
14683 * bs.el (bs-cycle-next): Complete last change.
14684
d8e4b68b
JB
146852011-06-27 Drew Adams <drew.adams@oracle.com>
14686
14687 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14688
40098786
LMI
146892011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14690
c9d29fb8
SM
14691 * net/network-stream.el (network-stream-open-starttls):
14692 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14693 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14694
40098786
LMI
14695 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14696 to binary to possibly avoid line encoding issues on Windows (among
14697 other things).
14698
468d09d4
LMI
146992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14700
14701 * net/network-stream.el (open-network-stream): Return an :error
14702 saying what the problem was, if possible.
14703
14704 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14705 server.
14706
14707 * net/network-stream.el (network-stream-open-starttls): If we
14708 wanted to use STARTTLS, and the server offered it, but we weren't
14709 able to because we had no STARTTLS support, then close the connection.
14710 (open-network-stream): Return an :error element, if present.
14711
16f07dd7
CY
147122011-06-26 Chong Yidong <cyd@stupidchicken.com>
14713
88821ca0
CY
14714 * hl-line.el (hl-line-sticky-flag): Doc fix.
14715 (global-hl-line-sticky-flag): New option (Bug#8323).
14716 (global-hl-line-highlight): Obey it.
14717
16f07dd7
CY
14718 * vc/vc.el (vc-revert-show-diff): Default to t.
14719
6b5ccddf
KM
147202011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14721
c9d29fb8
SM
14722 * allout-widgets.el (allout-widgets-post-command-business):
14723 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14724 undecorated when an isearch is continued past, and isearch
14725 automatically collapses them. This leads to "widget leaks", where
14726 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14727 hidden widgets can slow down cursor travel, substantially.
14728 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14729 so we're doing without this nicety.
14730
14731 (allout-widgets-tally-string): Don't try to do a hash-table-count
14732 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14733 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14734 *Messages* when allout-widgets-maintain-tally is t.
14735
355f2e07
MR
147362011-06-26 Martin Rudalics <rudalics@gmx.at>
14737
14738 * window.el (display-buffer-normalize-argument): Rename to
14739 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14740 LABEL argument. Respect special-display-function when popping up
14741 a new frame. Fix code searching for a window showing the buffer
14742 on another frame.
c9d29fb8
SM
14743 (display-buffer-normalize-specifiers):
14744 Call display-buffer-normalize-arguments.
355f2e07
MR
14745 (display-buffer-in-window): Don't undedicate the window if its
14746 buffer remains the same.
14747 Reported by Drew Adams <drew.adams@oracle.com>.
14748 (display-buffer-alist): Add choice for same-window macro
14749 specfier.
14750 (display-buffer): Mention special meaning of LABEL argument in
14751 doc-string. Fix quoting. Don't pop up a new frame even as
14752 fallback.
14753
7ca8fc42
JB
147542011-06-26 Juanma Barranquero <lekktu@gmail.com>
14755
14756 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14757 avoid deleting the current window in some cases (bug#8911).
14758
bc312254
AS
147592011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14760
14761 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14762 (Bug#8934)
14763
2db18f3f
LMI
147642011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14765
c9d29fb8
SM
14766 * net/network-stream.el (network-stream-open-starttls):
14767 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14768 (network-stream-open-tls): Ditto.
14769
6302e0d3
LL
147702011-06-26 Leo Liu <sdl.web@gmail.com>
14771
14772 * register.el (registerv): New struct.
14773 (registerv-make): New function.
c9d29fb8
SM
14774 (jump-to-register, describe-register-1, insert-register):
14775 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14776 struct. (Bug#8415)
14777
5fdd4046
CY
147782011-06-26 Chong Yidong <cyd@stupidchicken.com>
14779
2afef60a
CY
14780 * vc/vc.el (vc-revert-show-diff): New defcustom.
14781 (vc-diff-internal): New arg specifying diff buffer.
14782 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14783 reuse an existing *vc-diff* buffer (Bug#8927).
14784
5fdd4046
CY
14785 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14786
e93db24a
GM
147872011-06-26 Glenn Morris <rgm@gnu.org>
14788
14789 * progmodes/f90.el (f90-critical-indent): New option.
14790 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14791 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14792 (f90-mode): Doc fix.
14793 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14794 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14795 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14796 (f90-match-end): Handle block, critical.
14797
eefff499
GM
147982011-06-25 Glenn Morris <rgm@gnu.org>
14799
f6ba4cc9
GM
14800 * calendar/diary-lib.el (diary-included-files): Doc fix.
14801 (diary-include-files): New function, extracted from
14802 diary-include-other-diary-files and diary-mark-included-diary-files.
14803 (diary-include-other-diary-files, diary-mark-included-diary-files):
14804 Just call diary-include-files.
14805 (diary-mark-entries): Reset diary-included-files on first call.
14806
16712304
GM
14807 * calendar/diary-lib.el (diary-mark-entries)
14808 (diary-mark-included-diary-files):
14809 Visit included diary-files in temp buffers.
14810
5d8e0d43
GM
14811 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14812 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14813 (f90-start-block-re, f90-imenu-generic-expression)
14814 (f90-looking-at-program-block-start, f90-no-block-limit):
14815 Add support for submodules.
14816
ccf7a5d5
GM
14817 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14818 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14819
11fdef7d 148202011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14821
14822 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14823 buffer-file-type before setting its value, to avoid disastrous
eefff499 14824 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14825
74f53697
JB
148262011-06-25 Juanma Barranquero <lekktu@gmail.com>
14827
14828 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14829
14830 * ses.el (ses-unload-function):
14831 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14832
14833 * proced.el (proced-unload-function):
14834 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14835
18a4ce5e
AR
148362011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14837
14838 * server.el (server-create-window-system-frame): Add parameters arg.
14839 (server-process-filter): Doc fix. Handle frame-parameters.
14840
519d22cc
JB
148412011-06-25 Juanma Barranquero <lekktu@gmail.com>
14842
14843 Fix bug#8730, bug#8781.
14844
14845 * loadhist.el (unload--set-major-mode): New function.
14846 (unload-feature): Use it.
14847
14848 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14849 (python-unload-function): New function.
14850
c206f5b0
SM
148512011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14854
f9ad64f3
GS
148552011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14856
14857 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14858 the candidates list.
14859
7d0da90e
JB
148602011-06-24 Juanma Barranquero <lekktu@gmail.com>
14861
14862 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14863
14b4e83d
RS
148642011-06-23 Richard Stallman <rms@gnu.org>
14865
14866 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14867 (rmail-variables): Set next-error-move-function.
14868 (rmail-what-message): Take argument POS.
14869 (rmail-next-error-move): New function.
14870
273d2baf
SM
148712011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14874 messages for adjacent non-terminals.
14875
56c2cc9a
RS
148762011-06-23 Richard Stallman <rms@gnu.org>
14877
14878 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14879 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14880 (rmail-start-mail): Don't specify use of rmail-mail-return;
14881 that's done by mail-bury now.
14882 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14883
d59eb518
MA
148842011-06-23 Michael Albinus <michael.albinus@gmx.de>
14885
14886 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14887 SIZE is a number.
14888
02cfc6d6
MR
148892011-06-23 Martin Rudalics <rudalics@gmx.at>
14890
14891 * window.el (get-lru-window, get-mru-window)
14892 (get-largest-window): Never return a minibuffer window.
14893 (display-buffer-pop-up-window): Fix a bug that could lead to
14894 reusing the minibuffer window.
14895 (display-buffer): Pass original specifier argument to
14896 display-buffer-function instead of the normalized one.
14897 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14898
4e323265
LL
148992011-06-22 Leo Liu <sdl.web@gmail.com>
14900
14901 * minibuffer.el (completing-read-function)
14902 (completing-read-default): Move from minibuf.c
14903
7a70468f
RS
149042011-06-22 Richard Stallman <rms@gnu.org>
14905
50718fc2
RS
14906 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14907 to Rmail even if not started by a special Rmail command.
14908
7a70468f
RS
14909 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14910 Copy the buffer currently showing just one message.
14911
297dde5a
RW
149122011-06-22 Roland Winkler <winkler@gnu.org>
14913
14914 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14915 (bibtex-clean-entry): First delete the old key so that a
14916 customized algorithm for generating the new key does not get
14917 confused by the old key.
14918 (bibtex-url): Obey regexp of first step.
14919 (bibtex-search-entries): Do not use add-to-list with local
14920 list-var.
14921
97bb1093
LMI
149222011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14923
14924 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14925 stored a user name, then query for the password first, instead of
14926 waiting for SMTP to give an error message and the trying again.
14927
1c0f1a19
JD
149282011-06-22 Lawrence Mitchell <wence@gmx.li>
14929
14930 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14931 BUFFER in call-process.
14932
396f7c9d
LMI
149332011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14936 QUIT twice.
ddb7ffee
LMI
14937 (smtpmail-try-auth-methods): Require user name and password from
14938 auth-source.
396f7c9d 14939
8998d1b3
MR
149402011-06-22 Martin Rudalics <rudalics@gmx.at>
14941
14942 * window.el (display-buffer-default-specifiers)
14943 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14944 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14945 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14946
14947 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14948 (special-display-frame-alist, special-display-popup-frame):
14949 Remove duplicate declarations. These are now in window.el.
14950
4ea31e07
LMI
149512011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14952
c9d29fb8
SM
14953 * mail/smtpmail.el (smtpmail-via-smtp):
14954 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14955 server supports it. SMTP servers that support STARTTLS commonly
14956 require it.
14957
14958 * net/network-stream.el (network-stream-open-starttls): Support
14959 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14960 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14961
95f41d9a
LMI
14962 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14963 upgrades with `open-network-stream', and rely solely on
14964 auth-source for all credentials. Big changes throughout the file,
14965 but in particular:
c9d29fb8
SM
14966 (smtpmail-auth-credentials): Remove.
14967 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14968 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14969 MAIL FROM, too.
95f41d9a 14970
c9d29fb8
SM
14971 * net/network-stream.el (network-stream-open-starttls):
14972 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14973 STARTTLS.
14974 (auth-source): Require.
14975 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14976 (network-stream-certificate): Change cert-cert to cert and
14977 cert-key to key.
4ea31e07 14978
065ec2c7
MA
149792011-06-21 Michael Albinus <michael.albinus@gmx.de>
14980
14981 * net/tramp-cache.el (top): Don't load the persistency file when
14982 "emacs -Q" has been called.
14983
cd93b359
DR
149842011-06-21 Tim Harper <timcharper@gmail.com>
14985
d8e4b68b
JB
14986 * term/ns-win.el (ns-initialize-window-system):
14987 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14988 resource to NO as it is not yet supported by the NS port.
14989
ae9c0411
JB
149902011-06-21 Juanma Barranquero <lekktu@gmail.com>
14991
14992 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14993 (list-dynamic-libraries): ...not here.
14994
7f3f739f
LL
149952011-06-21 Leo Liu <sdl.web@gmail.com>
14996
14997 * subr.el (sha1): Implement sha1 using secure-hash.
14998
327c8fb1
MR
149992011-06-21 Martin Rudalics <rudalics@gmx.at>
15000
15001 * window.el (display-buffer-alist): In default value do not
15002 enforce searching a window on any but the selected frame.
15003 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15004 (display-buffer-select-window): Remove function.
15005 (display-buffer-in-window): When a window on another frame gets
15006 reused, do not select it any more but just raise its frame if
15007 necessary (Bug#8851) and (Bug#8856).
15008 (display-buffer-normalize-options): Handle pop-up-frames related
15009 options more faithfully.
15010 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15011 window if it is on another frame.
c9d29fb8
SM
15012 (display-buffer-alist, display-buffer-default-specifiers):
15013 Don't make new frame unsplittable by default.
9e9de014
MR
15014 (display-buffer-normalize-argument): Fix doc-string typo and use
15015 'same-frame-other-window instead of 'other-window when associating
15016 with display-buffer-macro-specifiers.
327c8fb1 15017
7cf3f556
VB
150182011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15019
15020 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15021 New functions.
15022 (5x5-mode-map, 5x5-mode-menu): Bind them.
15023 (5x5-draw-grid): Tweak the solver's rendering.
15024
60a406cf
SM
150252011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15028 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15029
d8e4b68b 150302011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15031
15032 * menu-bar.el: Use function variable instead of switch-to-buffer.
15033 (menu-bar-select-buffer-function): New variable.
60a406cf 15034 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15035
478d6f95
SM
150362011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15039 variable's status.
15040
ca530739
JD
150412011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15042
15043 * x-dnd.el (x-dnd-version-from-flags)
15044 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15045 and long as number (Bug#8899).
15046 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15047
bcd70d97
SM
150482011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15049
60a406cf 15050 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15051 (completion-try-completion, completion-all-completions): Compute the
15052 metadata argument if it's missing; make it optional (bug#8795).
15053
60a406cf 15054 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15055 (widget-complete): Use new :completion-function property.
15056 (widget-completions-at-point): New function.
15057 (default): Use :completion-function instead of :complete.
60a406cf
SM
15058 (widget-default-completions): Rename from widget-default-complete;
15059 Rewrite.
bcd70d97
SM
15060 (widget-string-complete, widget-file-complete, widget-color-complete):
15061 Remove functions.
15062 (file, symbol, function, variable, coding-system, color):
15063 * international/mule-cmds.el (default-input-method, charset)
15064 (language-info-custom-alist):
15065 * cus-edit.el (face): Use new property :completions.
15066
15067 * progmodes/pascal.el (pascal-completions-at-point): New function.
15068 (pascal-mode): Use it.
15069 (pascal-mode-map): Use completion-at-point.
15070 (pascal-toggle-completions): Make obsolete.
15071 (pascal-complete-word, pascal-show-completions):
15072 * progmodes/octave-mod.el (octave-complete-symbol):
15073 Redefine as obsolete alias.
15074 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15075 Signal absence of completion info for old Octave,
15076 (inferior-octave-complete): Redefine as obsolete alias.
15077 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15078 (meta-completions-at-point): Rename from meta-complete-symbol and
15079 adapt it for use on completion-at-point-functions.
15080 (meta-common-mode): Use it.
15081 (meta-looking-at-backward, meta-match-buffer): Remove.
15082 (meta-complete-symbol): Redefine as obsolete alias.
15083 (meta-common-mode-map): Use completion-at-point.
15084 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15085 (makefile-mode-map): Use completion-at-point.
15086 (makefile-completions-at-point): Rename from makefile-complete and
15087 adapt it for use on completion-at-point-functions.
15088 (makefile-mode): Use it.
15089 (makefile-complete): Redefine as obsolete alias.
15090
aebf69c8
DD
150912011-06-20 Deniz Dogan <deniz@dogan.se>
15092
15093 * net/rcirc.el: Delete trailing whitespaces once and for all.
15094
bfbbb27d
DC
150952011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15096
15097 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15098
d264a46b
CY
150992011-06-19 Chong Yidong <cyd@stupidchicken.com>
15100
4ca009e5
CY
15101 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15102
d264a46b
CY
15103 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15104
fbf5b3ce
MR
151052011-06-19 Martin Rudalics <rudalics@gmx.at>
15106
15107 * window.el (display-buffer-other-window-means-other-frame):
15108 Call display-buffer-normalize-alist.
15109 (display-buffer-normalize-specifiers-1): Rename to
15110 display-buffer-normalize-argument. New argument other-frame.
15111 Rewrite.
15112 (display-buffer-normalize-specifiers-2): Rename to
15113 display-buffer-normalize-options.
15114 (display-buffer-normalize-alist-1): New function.
15115 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15116 display-buffer-normalize-alist.
15117 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15118 (display-buffer-normalize-options-inhibit): New variable.
15119 (display-buffer-normalize-specifiers): Rewrite calling
15120 display-buffer-normalize-alist,
15121 display-buffer-normalize-argument, and
15122 display-buffer-normalize-options. Don't call the latter if
15123 display-buffer-normalize-options-inhibit is non-nil.
15124 (frame-auto-delete): New option.
15125 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15126 (window-list-no-nils, window-state-ignored-parameters)
15127 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15128 (window-state-put-1, window-state-put-2, window-state-put):
15129 New functions.
9a028c23
MR
15130 (display-buffer-normalize-options): Move special-display-p group
15131 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15132
6d10d800
CY
151332011-06-18 Chong Yidong <cyd@stupidchicken.com>
15134
6420d28b
CY
15135 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15136 groups (Bug#8776).
15137 (rx-submatch-n): New function.
15138 (rx): Document it.
15139
ddb8b596
CY
15140 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15141 (Bug#8768).
15142
15143 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15144
77080289
CY
15145 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15146
61dfb316
CY
15147 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15148 anytime existing face settings are present (Bug#8889).
15149
6d10d800
CY
15150 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15151 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15152 Remove unused argument.
15153
be3fb2b8
MR
151542011-06-18 Martin Rudalics <rudalics@gmx.at>
15155
bcd70d97
SM
15156 * window.el (display-buffer-default-specifiers):
15157 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15158 pop-up-window-min-width, and another reuse-window specifier
15159 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15160 (display-buffer-normalize-specifiers-2):
15161 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15162 pop-up-windows is unset. Add a reuse-window specifier for the
15163 case popping up a new window fails.
15164 (special-display-popup-frame): Remove double quoting.
28dec25a 15165 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15166
1c6d8c76
SM
151672011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15170 according to comint-completion-addsuffix.
15171
15172 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15173 (pcomplete-suffix-list): Mark as obsolete.
15174 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15175 pcomplete-seen in the closure.
15176 (pcomplete-comint-setup): Setup completion-at-point as well.
15177 (pcomplete--entries): New function.
15178 (pcomplete--env-regexp): New var.
15179 (pcomplete-entries): Rewrite to work with partial-completion and
15180 without relying on pcomplete-suffix-list.
15181 (pcomplete-pare-list): Remove, unused.
15182
25aef8b8
MR
151832011-06-17 Martin Rudalics <rudalics@gmx.at>
15184
15185 * window.el (display-buffer-alist): Set pop-up-window-min-height
15186 and pop-up-window-min-width in default value. Reported by
15187 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15188 other-window-means-other-frame.
15189 (display-buffer-macro-specifiers): Comment out entry for
15190 other-window specifier.
15191 (display-buffer-other-window-means-other-frame): New function.
15192 (display-buffer-normalize-specifiers-1): New arguments
15193 buffer-name and label. Treat other-window case specially.
15194 (display-buffer-normalize-specifiers-2): Treat other-window case
15195 specially.
15196 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15197 (display-buffer-normalize-specifiers):
15198 Call display-buffer-normalize-specifiers-3.
25aef8b8 15199
dbad4f69
MR
152002011-06-17 Martin Rudalics <rudalics@gmx.at>
15201
15202 * window.el (same-window-p): Fix two typos introduced when
15203 adding with-no-warnings.
d1067961
MR
15204 (display-buffer-normalize-specifiers-1): Don't check
15205 pop-up-frames for 'unset initialization.
15206 (display-buffer-normalize-specifiers-2): Major rewrite using
15207 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15208 (pop-up-frames, display-buffer-reuse-frames)
15209 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15210 Suggested by David Engster <deng@randomsample.de>.
15211 (even-window-heights): Initialize to 'unset.
15212 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15213 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15214 other window case.
dbad4f69 15215
9b9c9e3a
MR
152162011-06-16 Martin Rudalics <rudalics@gmx.at>
15217
bcd70d97
SM
15218 * window.el (display-buffer-normalize-specifiers-1):
15219 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15220 second argument of display-buffer (Bug#8865).
981d5c09
MR
15221 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15222 (switch-to-buffer-other-window-same-frame)
15223 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15224 Adams (Bug#8875).
9c2755e9
MR
15225 (display-buffer): Don't check noninteractive when calling
15226 display-buffer-pop-up-frame.
15227 (display-buffer-pop-up-frame): Never pop up a frame in
15228 noninteractive mode (Bug#8857).
67222e1d
MR
15229 (enlarge-window, shrink-window): Don't report an error when the
15230 window can't be resized as requested (Bug#8862).
9b9c9e3a 15231
2b75be67
SM
152322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15233
9ffdd3ba
SM
15234 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15235
cb581a67
SM
15236 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15237
2b75be67
SM
15238 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15239
8c0e3589
AM
152402011-06-15 Alan Mackenzie <acm@muc.de>
15241
cb581a67
SM
15242 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15243 for declarators, disable knr checking to speed up for normal files.
15244 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15245
b96e6cde
LMI
152462011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15247
4bba86e6
LMI
15248 * net/network-stream.el (open-network-stream): Add the keyword
15249 :always-query-capabilities for the case where you want to force a
15250 `plain' network connection, but the protocol still requires the
15251 capabilitiy command (i.e., SMTP and EHLO).
15252
2b75be67 15253 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15254 consistency with other `-live-p' functions.
15255
efdcdbf8
SM
152562011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * window.el (same-window-buffer-names, same-window-regexps)
15259 (special-display-frame-alist, special-display-popup-frame)
15260 (special-display-function, special-display-buffer-names)
15261 (special-display-regexps, pop-up-frame-alist)
15262 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15263 (pop-up-windows, split-window-preferred-function)
15264 (split-height-threshold, split-width-threshold, even-window-heights)
15265 (display-buffer-mark-dedicated): Don't encourage the use of
15266 display-buffer-alist from Elisp code.
15267
c5cde042
DN
152682011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15269
15270 * progmodes/python.el (python-mode): Derive from prog-mode.
15271 * progmodes/ps-mode.el (ps-mode):
15272 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15273 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15274 * progmodes/ld-script.el (ld-script-mode): Likewise.
15275
baa1c9ab
MR
152762011-06-15 Martin Rudalics <rudalics@gmx.at>
15277
15278 * window.el (display-buffer-alist): Trim default value to avoid
15279 popping up a new frame (Bug#8857) or reusing an arbitrary window
15280 on another frame.
15281 (display-buffer): Do not fall back on popping up a new frame in
15282 batch mode (Bug#8857).
15283
c5dd5a51
CY
152842011-06-14 Chong Yidong <cyd@stupidchicken.com>
15285
15286 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15287 (custom-theme-summary): New function.
15288 (customize-themes): Use it.
15289
d647b7c4
GM
152902011-06-13 Glenn Morris <rgm@gnu.org>
15291
15292 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15293
9481c002
MR
152942011-06-13 Martin Rudalics <rudalics@gmx.at>
15295
357f93d2
MR
15296 * help.el (help-window): Remove variable.
15297 (help-window-point-marker, temp-buffer-max-height)
15298 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15299 (help-print-return-message): Don't set help-window.
15300 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15301 (help-window-setup-finish): Remove.
15302 (help-window-display-message, help-window-setup)
15303 (with-help-window): Major rewrite based on new
15304 display-buffer-window variable.
15305
15306 * help-mode.el (help-mode-finish): Remove help-window related
15307 code.
15308
15309 * view.el (view-exits-all-viewing-windows): Remove reference to
15310 view-return-to-alist in doc-string.
15311 (view-return-to-alist): Make obsolete.
15312 (view-buffer): Call pop-to-buffer-same-window and remove
15313 undo-window code.
15314 (view-buffer-other-window): Call pop-to-buffer-other-window and
15315 simplify code. Ignore second argument.
15316 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15317 simplify code. Ignore second argument.
15318 (view-return-to-alist-update): Make obsolete.
15319 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15320 Rewrite using quit-restore window parameters.
2b75be67
SM
15321 (view-mode-exit): Rename second argument to EXIT-ONLY.
15322 Rewrite using quit-restore-window.
357f93d2
MR
15323 (View-exit, View-exit-and-edit, View-leave, View-quit)
15324 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15325 appropriate arguments.
15326 (view-end-message): Use quit-restore window parameter.
15327
9481c002
MR
15328 * window.el (display-buffer-function): Rewrite doc-string.
15329 (display-buffer-window, display-buffer-alist): New variables.
15330 (display-buffer-split-specifiers)
15331 (display-buffer-side-specifiers)
15332 (display-buffer-macro-specifiers): New constants.
15333 (display-buffer-even-window-sizes, display-buffer-set-height)
15334 (display-buffer-set-width, display-buffer-select-window)
15335 (display-buffer-in-window, display-buffer-reuse-window)
15336 (display-buffer-split-window-1, display-buffer-split-window)
15337 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15338 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15339 (display-buffer-in-side-window, normalize-buffer-to-display)
15340 (display-buffer-normalize-specifiers-1)
15341 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15342 (display-buffer-normalize-specifiers, display-buffer-frame):
15343 New functions.
9481c002
MR
15344 (display-buffer): Major rewrite.
15345 (display-buffer-other-window, display-buffer-other-frame)
15346 (pop-to-buffer, switch-to-buffer-other-window)
15347 (switch-to-buffer-other-frame): Rewrite.
15348 (display-buffer-same-window, display-buffer-same-frame)
15349 (display-buffer-same-frame-other-window)
15350 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15351 (pop-to-buffer-other-window)
15352 (pop-to-buffer-same-frame-other-window)
15353 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15354 (switch-to-buffer-other-window-same-frame): New functions.
15355 (same-window-p, special-display-p): Rewrite disabling warnings.
15356 Make obsolete.
15357 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15358 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15359 Make obsolete
15360 (same-window-buffer-names, same-window-regexps)
15361 (special-display-frame-alist, special-display-popup-frame)
15362 (special-display-function, special-display-buffer-names)
15363 (special-display-regexps, pop-up-frame-alist)
15364 (pop-up-frame-function, split-window-preferred-function)
15365 (split-height-threshold, split-width-threshold)
15366 (even-window-heights): Make obsolete.
15367
9db51aca
GM
153682011-06-12 Glenn Morris <rgm@gnu.org>
15369
15370 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15371 Misc simplifications.
9db51aca 15372
39cffb44
MR
153732011-06-12 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (window-safely-shrinkable-p): Restore function which
15376 was inadvertently removed in change from 2011-06-11. Declare as
15377 obsolete.
15378
2b75be67
SM
15379 * calendar/calendar.el (calendar-generate-window):
15380 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15381 window-safely-shrinkable-p.
15382
a8955be7
GM
153832011-06-12 Glenn Morris <rgm@gnu.org>
15384
15385 * progmodes/fortran.el (fortran-mode-syntax-table):
15386 * progmodes/f90.el (f90-mode-syntax-table):
15387 Set % to punctuation. (Bug#8820)
15388 (f90-find-tag-default): Remove, no longer needed.
15389
f0d4059d
DC
153902011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15391
15392 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15393
1100a63c
CY
153942011-06-11 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * image.el (image-animated-p): Return animation delay in seconds.
15397 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15398 (image-animate-timeout): Remove DELAY argument. Don't assume
15399 every subimage has the same delay; get it from image-animated-p.
15400 (image-animate): Caller changed.
15401
def722bf
MA
154022011-06-11 Michael Albinus <michael.albinus@gmx.de>
15403
15404 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15405 to ignored backtrace functions.
15406
0a2bb1a9
GM
154072011-06-11 Glenn Morris <rgm@gnu.org>
15408
15409 * calendar/appt.el (appt-disp-window-function): Doc fix.
15410 (appt-check): Handle overlapping appointments. (Bug#8337)
15411
6198ccd0
MR
154122011-06-11 Martin Rudalics <rudalics@gmx.at>
15413
15414 * window.el (window-tree-1, window-tree): New functions, moving
15415 the latter to window.el.
15416 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15417 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15418 (bw-refresh-edges): Remove.
15419 (balance-windows-1, balance-windows-2): New functions.
15420 (balance-windows): Rewrite in terms of window tree functions,
15421 balance-windows-1 and balance-windows-2.
15422 (bw-adjust-window): Remove.
15423 (balance-windows-area-adjust): New function with functionality of
15424 bw-adjust-window but using resize-window.
2b75be67
SM
15425 (set-window-text-height): Rewrite doc-string.
15426 Use normalize-live-window and resize-window.
15427 (enlarge-window-horizontally, shrink-window-horizontally):
15428 Rename argument to DELTA.
6198ccd0
MR
15429 (window-buffer-height): New function.
15430 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15431 Rewrite using new window resize routines.
2b75be67
SM
15432 (kill-buffer-and-window, mouse-autoselect-window-select):
15433 Use ignore-errors instead of condition-case.
6198ccd0
MR
15434 (quit-window): Call delete-frame instead of delete-windows-on
15435 for the only buffer on frame.
15436
9397e56f
MR
154372011-06-10 Martin Rudalics <rudalics@gmx.at>
15438
15439 * loadup.el (top-level): Load window before files for the sake
15440 of replace-buffer-in-windows.
15441
15442 * files.el (read-buffer-to-switch)
15443 (switch-to-buffer-other-window)
2b75be67
SM
15444 (switch-to-buffer-other-frame, display-buffer-other-frame):
15445 Move to window.el.
9397e56f
MR
15446
15447 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15448 (previous-buffer): Move to window.el.
15449
15450 * bindings.el (unbury-buffer): Move to window.el.
15451
15452 * window.el (delete-other-windows-vertically): Move after
15453 definition of delete-other-windows.
15454 (other-window, delete-windows-on, replace-buffer-in-windows):
15455 Move here from window.c.
15456 (record-window-buffer, unrecord-window-buffer)
15457 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15458 (switch-to-next-buffer): New functions.
15459 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15460 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15461 (previous-buffer): Move here from simple.el.
15462 Call switch-to-prev-buffer.
9397e56f
MR
15463 (bury-buffer): Move here from buffer.c. Switch to previous
15464 buffer when window cannot be deleted.
15465 (unbury-buffer): Move here from bindings.el.
15466 (ctl-x-map): Move binding for other-window from window.c to
15467 here.
15468 (read-buffer-to-switch, switch-to-buffer-other-window)
15469 (switch-to-buffer-other-frame): Move here from files.el.
15470 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15471 (switch-to-buffer): Move here from buffer.c.
15472 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15473
562dd5e9
MR
154742011-06-10 Martin Rudalics <rudalics@gmx.at>
15475
15476 * window.el (window-min-height, window-min-width): Move here
15477 from window.c. Add defcustoms and rewrite doc-strings.
15478 (resize-mini-window, resize-window): New functions.
15479 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15480 Move here from window.c.
15481 (maximize-window, minimize-window): New functions.
15482 (delete-window, delete-other-windows, split-window): Move here
15483 from window.c.
15484 (window-split-min-size): New function.
15485 (split-window-keep-point): Mention split-window-above-each-other
15486 instead of split-window-vertically.
2b75be67 15487 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15488 Rename split-window-vertically to split-window-above-each-other
15489 and provide defalias for old definition.
15490 (split-window-side-by-side, split-window-horizontally):
15491 Rename split-window-horizontally to split-window-side-by-side
15492 and provide defalias for the old definition.
562dd5e9
MR
15493 (ctl-x-map): Move bindings for delete-window,
15494 delete-other-windows and enlarge-window here from window.c.
15495 Replace bindings for split-window-vertically and
15496 split-window-horizontally by bindings for
15497 split-window-above-each-other and split-window-side-by-side.
15498
15499 * cus-start.el (all): Remove entries for window-min-height and
15500 window-min-width. Add entries for window-splits and
15501 window-nest.
15502
f0da764a
GM
155032011-06-09 Glenn Morris <rgm@gnu.org>
15504
80675c21
GM
15505 * calendar/appt.el (appt-mode-line): New function.
15506 (appt-check, appt-disp-window): Use it.
15507
f0da764a
GM
15508 * files.el (hack-one-local-variable-eval-safep):
15509 Allow minor-modes with explicit +/-1 arguments.
15510
59f623b7
TZ
155112011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15512
15513 * term/xterm.el (xterm): Add defgroup.
15514 (xterm-extra-capabilities): Add defcustom to supply known xterm
15515 capabilities, skip querying them, or query them (default).
15516 (terminal-init-xterm): Use it.
15517 (terminal-init-xterm-modify-other-keys): New function to set up
15518 modifyOtherKeys support to simplify `terminal-init-xterm'.
15519
9aab8e0d
MR
155202011-06-09 Martin Rudalics <rudalics@gmx.at>
15521
15522 * window.el (resize-window-reset, resize-window-reset-1)
15523 (resize-subwindows-skip-p, resize-subwindows-normal)
15524 (resize-subwindows, resize-other-windows, resize-this-window)
15525 (resize-root-window, resize-root-window-vertically)
15526 (window-deletable-p, window-or-subwindow-p)
15527 (frame-root-window-p): New functions.
15528
e8b08aee
GM
155292011-06-09 Glenn Morris <rgm@gnu.org>
15530
15531 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15532 (ange-ftp-get-files): Use it.
15533
254c37a5
AK
155342011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15535
15536 * mail/sendmail.el (mail-recover-1, mail-recover):
15537 * files.el (recover-file, recover-session):
15538 Handle dired-listing-switches not being just a single short option.
15539
35d7dbd3
GM
155402011-06-09 Glenn Morris <rgm@gnu.org>
15541
15542 * calendar/appt.el (appt-display-message, appt-disp-window):
15543 Handle lists of appointments.
15544
387522b2
MR
155452011-06-08 Martin Rudalics <rudalics@gmx.at>
15546
2b75be67
SM
15547 * window.el (one-window-p): Move down in code.
15548 Rewrite doc-string.
15549 (window-current-scroll-bars): Rewrite doc-string.
15550 Normalize live window argument.
387522b2
MR
15551 (walk-windows, get-window-with-predicate, count-windows):
15552 Rewrite doc-string. Use window-list-1.
15553 (window-in-direction-2, window-in-direction, get-mru-window):
15554 New functions.
15555
d8e4b68b 155562011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15557
15558 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15559 Doc fix (Bug#8713).
15560
155612011-06-08 Chong Yidong <cyd@stupidchicken.com>
15562
15563 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15564
155652011-06-08 Juanma Barranquero <lekktu@gmail.com>
15566
15567 * loadhist.el (unload-feature-special-hooks):
15568 Add `comint-output-filter-functions'.
15569
0de12c52
IK
155702011-06-08 Ivan Kanis <gnu@kanis.fr>
15571
15572 * calendar/appt.el (appt-check): Move some initializations into the let.
15573
f3d1777e
MR
155742011-06-08 Martin Rudalics <rudalics@gmx.at>
15575
15576 * window.el (window-height): Defalias to window-total-height.
15577 (window-width): Defalias to window-body-width.
15578
18af70d0
CY
155792011-06-07 Chong Yidong <cyd@stupidchicken.com>
15580
15581 * image-mode.el (image-toggle-animation): New command.
15582 (image-mode-map): Bind it to RET.
15583 (image-mode): Update message.
15584 (image-toggle-display-image): Avoid a spurious cache flush.
15585 (image-transform-rotation): Doc fix.
15586 (image-transform-properties): Return quickly in the normal case.
15587 (image-animate-loop): Rename from image-animate-max-time.
15588
2b75be67 15589 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15590 (create-animated-image): Remove unnecessary function.
15591 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15592 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15593 (image-animate-timer): Use car-safe.
15594 (image-animate-timeout): Rename argument.
15595
190b47e6
MR
155962011-06-07 Martin Rudalics <rudalics@gmx.at>
15597
15598 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15599 window.c. Rename first argument to ALL-FRAMES.
15600 Rephrase doc-strings.
15601 (get-buffer-window-list): Rewrite using window-list-1.
15602 Rephrase doc-string.
a1511caf
MR
15603 (window-safe-min-height, window-safe-min-width): New constants.
15604 (window-size-ignore, window-min-size, window-min-size-1)
15605 (window-sizable, window-sizable-p, window-size-fixed-1)
15606 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15607 (window-max-delta-1, window-max-delta, window-resizable)
15608 (window-resizable-p, window-total-height, window-total-width)
15609 (window-body-width): New functions.
15610 (window-full-height-p, window-full-width-p): Rewrite using
15611 window-total-size.
15612 (window-body-height): Rewrite using window-body-size.
190b47e6 15613
85cc1f11
MR
156142011-06-06 Martin Rudalics <rudalics@gmx.at>
15615
15616 * window.el (window-right, window-left, window-child)
15617 (window-child-count, window-last-child, window-any-p)
15618 (normalize-live-buffer, normalize-live-frame)
15619 (normalize-any-window, normalize-live-window)
15620 (window-iso-combination-p, window-iso-combined-p)
15621 (window-iso-combinations)
15622 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15623 (windows-with-parameter, window-with-parameter)
15624 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15625 (window-atom-check, window-side-check, window-check):
15626 New functions.
85cc1f11
MR
15627 (ignore-window-parameters, window-sides, window-sides-vertical)
15628 (window-sides-slots): New variables.
15629 (window-size-fixed): Move down in code. Minor doc-string fix.
15630
e7156492
AS
156312011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15632
15633 * comint.el (comint-dynamic-complete-as-filename)
15634 (comint-dynamic-complete-filename): Correctly call
15635 completion-in-region.
15636
7e821d0d
DD
156372011-06-05 Deniz Dogan <deniz@dogan.se>
15638
15639 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15640 in last change.
15641
ac09b8a1
DD
156422011-06-05 Deniz Dogan <deniz@dogan.se>
15643
15644 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15645 (rcirc): Use it to prompt for encryption.
15646
34699b85
RW
156472011-06-05 Roland Winkler <winkler@gnu.org>
15648
15649 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15650 (bibtex-search-entries): New command bound to C-c C-a.
15651 (bibtex-display-entries): New function.
15652
004dedd3
RW
156532011-06-05 Roland Winkler <winkler@gnu.org>
15654
15655 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15656 (bibtex-insert-kill): After yanking insert newline if necessary.
15657 (bibtex-initialize): Call bibtex-string-files-init only once.
15658 (bibtex-mode): Do not call easy-menu-add.
15659 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15660 (bibtex-yank): Set arg properly if nil.
15661
022fe7ce
RW
156622011-06-05 Roland Winkler <winkler@gnu.org>
15663
2b75be67
SM
15664 * textmodes/bibtex.el (bibtex-search-entry-globally):
15665 New variable.
022fe7ce
RW
15666 (bibtex-search-entry): Use it.
15667
b7c3692a
RW
156682011-06-05 Roland Winkler <winkler@gnu.org>
15669
15670 * textmodes/bibtex.el (bibtex-entry-format): New option
15671 sort-fields.
15672 (bibtex-format-entry, bibtex-reformat): Honor this option.
15673 (bibtex-parse-entry): Return fields in proper order.
15674
8eda563d
JB
156752011-06-05 Juanma Barranquero <lekktu@gmail.com>
15676
15677 * doc-view.el (doc-view-remove-if): Move computation of result out
15678 of `dolist' to silence misleading lexical-binding warning.
15679
7dbe3dbc
CY
156802011-06-04 Chong Yidong <cyd@stupidchicken.com>
15681
15682 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15683 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15684
0c33dd17
MA
156852011-06-04 Michael Albinus <michael.albinus@gmx.de>
15686
15687 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15688 "SunOS 5.10".
15689
f8f91c2b
MA
156902011-06-04 Michael Albinus <michael.albinus@gmx.de>
15691
15692 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15693 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15694 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15695 (tramp-parse-putty):
15696 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15697 (tramp-completion-function-alist-ssh)
15698 (tramp-completion-function-alist-telnet)
15699 (tramp-completion-function-alist-su)
15700 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15701 cookie.
15702
15703 * net/tramp-ftp.el:
15704 * net/tramp-sh.el:
15705 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15706 load "tramp.el" `tramp-set-completion-function'.
15707
e17d9003
SM
157082011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * shell.el: Require and use pcomplete.
15711 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15712 (shell-completion-vars): Set pcomplete-default-completion-function.
15713
6c4cab03
DD
157142011-06-04 Deniz Dogan <deniz@dogan.se>
15715
15716 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15717 `memq' (Bug#8799).
15718
ea9fafe0
SM
157192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15722
b3e945d3
JB
157232011-06-02 Juanma Barranquero <lekktu@gmail.com>
15724
15725 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15726 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15727 * vc/log-view.el (log-view-beginning-of-defun):
15728 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15729 (smerge-refine-forward, smerge-refine-chopup-region):
15730 Silence warning for unused `dotimes' counter variables.
15731
7d520089
SM
157322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * net/tramp.el (tramp-with-progress-reporter): Rename from
15735 with-progress-reporter. Use `declare'.
15736 * net/tramp-smb.el:
15737 * net/tramp-sh.el:
15738 * net/tramp-gvfs.el: Update all uses.
15739
a1c2400f
JB
157402011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15741
15742 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15743 buffer isn't killed before making it current.
15744
2403c841
SM
157452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15746
15747 Silence various byte-compiler warnings.
15748 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15749 `access-type' and new obsolescence format.
15750 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15751 new format.
15752 (byte-compile-check-variable): New `access-type' argument.
15753 Only warn if the access-type is obsolete.
15754 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15755 (byte-compile-variable-set): Adjust callers.
15756 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15757 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15758 setting it as obsolete.
15759 * simple.el (minibuffer-completing-symbol):
15760 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15761 access as obsolete.
15762 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15763 obsolete yet.
15764 * international/quail.el (quail-mouse-choose-completion): Remove unused
15765 code referring to obsolete var.
15766 (quail-choose-completion-string): Remove.
15767 * server.el (server-clients-with, server-kill-buffer-query-function)
15768 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15769 * proced.el (proced-send-signal):
15770 * emacs-lisp/lisp.el (lisp-complete-symbol):
15771 Replace completion-annotate-function with completion-extra-properties.
15772
2462470b
SM
157732011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15774
fb5b2591
SM
15775 * simple.el (goto-line): Use read-number.
15776 (overriding-map-is-bound): Remove.
15777 (saved-overriding-map): Change default.
15778 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15779 Take the map as argument.
15780 (universal-argument, negative-argument, digit-argument): Use it.
15781 (restore-overriding-map): Adjust.
15782 (do-auto-fill): Use fill-forward-paragraph.
15783 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15784
fd6fa53f
SM
15785 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15786 (minibuffer-inactive-mode): New major mode.
15787 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15788 the *Messages* buffer" hack.
15789 (mouse-popup-menubar): Don't burp if the event is a normal key.
15790
2462470b
SM
15791 Miscellaneous tweaks.
15792 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15793 lexical scoping as in subr.el's dolist and dotimes.
15794 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15795 Silence compiler warning.
15796 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15797 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15798 * international/ccl.el (ccl-compile): Trivial simplification.
15799 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15800 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15801 `printflag' argument.
15802 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15803 Purecopy the whole obsolescence data.
15804
108bf785
LL
158052011-06-01 Leo Liu <sdl.web@gmail.com>
15806
15807 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15808 improve doc-string as suggested by Marco Pessotto
15809 <melmothx@gmail.com>.
15810 (rcirc-print): Fix last change.
15811
30a23501
SM
158122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15813
15814 * minibuffer.el (complete-with-action): Return nil for the metadata and
15815 boundaries of non-functional tables.
15816 (completion-table-dynamic): Return nil for the metadata.
15817 (completion-table-with-terminator): Add default case, using
15818 complete-with-action.
15819 (completion--metadata): New function.
15820 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15821 to try and avoid pathological performance problems.
15822 (completion--embedded-envvar-table): Return `category' metadata.
15823
bcd54f83
LMI
158242011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15825
15826 * subr.el (process-alive-p): New tiny convenience function.
15827
e227544d
SM
158282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15829
15830 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15831 content but also its previous major mode.
15832
e8296fdc
HE
158332011-05-31 Helmut Eller <eller.helmut@gmail.com>
15834
4d61f28d 15835 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15836 *Backtrace* buffer when we exit with C-M-c.
15837
620c53a6
SM
158382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15839
15840 * minibuffer.el: Add metadata method to completion tables.
15841 (completion-category-overrides): New defcustom.
15842 (completion-metadata, completion--field-metadata)
15843 (completion-metadata-get, completion--styles)
15844 (completion--cycle-threshold): New functions.
15845 (completion-try-completion, completion-all-completions):
15846 Add `metadata' argument to choose completion-styles.
15847 (completion--do-completion): Use metadata to choose cycling.
15848 (completion-all-sorted-completions): Use metadata for sorting.
15849 Remove :completion-cycle-penalty which is not needed any more.
15850 (completion--try-word-completion): Add `metadata' argument.
15851 (minibuffer-completion-help): Check metadata for annotation function
15852 and sorting.
15853 (completion-file-name-table): Return `category' metadata.
15854 (minibuffer-completing-file-name): Make obsolete.
15855 * simple.el (minibuffer-completing-symbol): Make obsolete.
15856 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15857 completion-try-completion.
15858
1257e755
SM
158592011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15860
15861 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15862
3767e706
LL
158632011-05-30 Leo Liu <sdl.web@gmail.com>
15864
15865 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15866 (rcirc-print): Decode all incoming messages (bug#8744).
15867 (rcirc-decode-coding-system): Allow value nil for automatic coding
15868 system detection.
3767e706 15869
d1a5d56a
GM
158702011-06-01 Glenn Morris <rgm@gnu.org>
15871
15872 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15873
e8cbec34
CY
158742011-05-29 Chong Yidong <cyd@stupidchicken.com>
15875
15876 * image.el (image-animate-max-time): Allow nil and t values.
15877 Default to nil.
15878 (create-animated-image): Doc fix.
15879 (image-animate-start): Remove second arg; just use
15880 image-animate-max-time.
15881 (image-animate-timeout): Doc fix. Args changed.
15882
15883 * image-mode.el (image-toggle-display-image): Ensure that the
15884 image spec passed to the animate timer is the same object as in
58179cce 15885 the buffer's display property (Bug#6981).
e8cbec34
CY
15886 (image-transform-properties): Doc fix.
15887
15888 * image.el (image-animate-max-time): Default to nil.
15889
159daf87
MR
158902011-05-29 Martin Rudalics <rudalics@gmx.at>
15891
15892 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15893 entire buffer list (Bug#8184).
15894
d66c4c7c
CY
158952011-05-29 Chong Yidong <cyd@stupidchicken.com>
15896
15897 * image.el (imagemagick-types-inhibit)
15898 (imagemagick-register-types): Doc fix.
15899
80aec780
DD
159002011-05-29 Deniz Dogan <deniz@dogan.se>
15901
15902 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15903 default.
15904
1dd3c2d9
CY
159052011-05-29 Chong Yidong <cyd@stupidchicken.com>
15906
15907 * select.el: Don't perform clipboard-manager saving in hooks;
15908 leave the hooks empty.
15909
60e56523
LL
159102011-05-28 Leo Liu <sdl.web@gmail.com>
15911
15912 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15913 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15914 (occur-edit-mode): New major mode (Bug#8463).
15915 (occur-after-change-function): New function.
15916 (occur-engine): Give Occur tags a read-only property.
15917
2b1e1a22
KR
159182011-05-28 Kevin Ryde <user42@zip.com.au>
15919
15920 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15921
5d344e88
CY
159222011-05-28 Chong Yidong <cyd@stupidchicken.com>
15923
8e6ca83d
CY
15924 * bindings.el (help-echo): Make the initial non-indicator dash
15925 empty on graphical terminals (Bug#7295).
15926
5d344e88
CY
15927 * files.el (auto-mode-alist): Move config rule after the
15928 in-stripping one (Bug#8547).
15929
bfbbace7
CY
15930 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15931
fbeba6e2
CY
15932 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15933 setting (Bug#8740).
15934
60ed8c72
AA
159352011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15936
4ac619f0
AA
15937 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15938 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15939 (Bug#8539).
60ed8c72 15940
23db196e
CY
159412011-05-28 Chong Yidong <cyd@stupidchicken.com>
15942
15943 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15944
5012f24c
DK
159452011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15946
15947 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15948 (hs-hide-block-at-point, hs-find-block-beginning)
15949 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15950 (Bug#8279).
15951
6a639b16
GM
159522011-05-28 Glenn Morris <rgm@gnu.org>
15953
15954 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15955
d43eaf2c
CY
159562011-05-28 Chong Yidong <cyd@stupidchicken.com>
15957
5199bde1
CY
15958 * help-fns.el (describe-function-1): If the function is a derived
15959 major mode, print the parent mode.
15960
d43eaf2c
CY
15961 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15962 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15963
423428a8
SM
159642011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15965
0ff8e1ba 15966 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15967 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15968 * progmodes/etags.el (tags-completion-at-point-function):
15969 * info-look.el (info-lookup-completions-at-point): Mark as
15970 non-exclusive.
15971 (info-complete): Adjust accordingly.
15972
423428a8
SM
15973 * info-look.el: Convert to lexical-binding and completion-at-point.
15974 (info-lookup-completions-at-point): New function.
15975 (info-complete): Use it and completion-in-region.
15976
b74aa22b
DA
159772011-05-28 Drew Adams <drew.adams@oracle.com>
15978
15979 * isearch.el: Let M-e start with point at the first mismatched char.
15980 (isearch-fail-pos): New function.
15981 (isearch-edit-string): Use it.
15982
66e2e71d
DK
159832011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15984
15985 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15986
b1890b0f 159872011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15988
15989 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15990 traversal functions for avl-trees.
15991 (avl-tree--stack): New struct.
15992 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15993 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15994 (avl-tree--do-enter): Add optional `updatefun' arg.
15995 Change return value.
eb95d01d 15996 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15997 (avl-tree--do-delete): Add `test' and `nilflag' args.
15998 Change return value.
eb95d01d
TC
15999 (avl-tree-member): Add optional `nilflag'
16000 (avl-tree-member-p): New function.
16001 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16002 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16003 (avl-tree-stack-empty-p): New functions.
16004
3769ddcf
TC
16005 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16006 avl-tree--del-balance1 and make it work both ways.
16007 (avl-tree--del-balance2): Remove.
16008 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16009 make it work both ways.
16010 (avl-tree--enter-balance2): Remove.
16011 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16012 New macros.
16013 (avl-tree--mapc, avl-tree-map): Add direction argument.
16014
eb95d01d 160152011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16016
16017 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16018
a9f737ee
CY
160192011-05-27 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * select.el: Support clipboard managers with built-in function
16022 x-clipboard-manager-save, via delete-frame-functions and
16023 kill-emacs-hook.
16024 (xselect-convert-to-targets): Add MULTIPLE target to list.
16025 (xselect-convert-to-save-targets): New function.
16026
c92a1e54
KH
160272011-05-27 Kenichi Handa <handa@m17n.org>
16028
16029 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16030 let-binding rfc2047-encode-encoded-words to nil.
16031
e145f188
GM
160322011-05-27 Glenn Morris <rgm@gnu.org>
16033
5ec8a862
GM
16034 * mail/emacsbug.el: Don't require url-util.
16035
4b29d9fb
GM
16036 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16037
e145f188
GM
16038 * files.el (set-auto-mode):
16039 Also respect mode: entries at the end of the file. (Bug#8586)
16040
7d15102b
GM
160412011-05-26 Glenn Morris <rgm@gnu.org>
16042
98f593b8
GM
16043 * files.el (hack-local-variables-prop-line, hack-local-variables):
16044 Downcase mode names, as seems to be traditional.
27b48e63 16045 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16046
7d15102b
GM
16047 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16048 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16049
51d5b4ec
JD
160502011-05-25 Julien Danjou <julien@danjou.info>
16051
16052 * textmodes/rst.el (rst-define-level-faces): Do not define face
16053 symbol if it is already defined.
16054
91513f63
VB
160552011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16056
16057 * play/5x5.el (5x5-new-game, 5x5-randomize):
16058 Reset 5x5-solver-output to nil when a new grid is cast.
16059 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16060 these debugging traces, as defmacro breaks the compiled code.
16061
4d90d6d0
DK
160622011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16063
16064 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16065
e1b90ef6
LL
160662011-05-24 Leo Liu <sdl.web@gmail.com>
16067
16068 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16069 (vc-bzr-sha1): Adapt.
16070
d8e4b68b 16071 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16072
16073 * bindings.el: Provide sha1 feature.
16074
db0406bb 160752011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16076
16077 * mail/sendmail.el: Require `rfc2047'.
16078 (mail-insert-from-field): Do not perform RFC2047 encoding.
16079 (mail-encode-header): New function.
16080 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16081 buffer to the return value of select-message-coding-system.
16082 Call mail-encode-header.
b8d747b9
KH
16083
16084 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16085
db0406bb 160862011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16087
4d90d6d0
DK
16088 * mail/supercite.el (sc-default-cite-frame):
16089 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16090
eb8a5e9b
GM
160912011-05-24 Glenn Morris <rgm@gnu.org>
16092
f8630703
GM
16093 * progmodes/python.el (brm-menu): Declare.
16094
8831bbed
GM
16095 * emulation/viper.el (viper-set-hooks): Declare.
16096
eb8a5e9b
GM
16097 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16098 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16099 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16100 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16101 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16102 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16103
a2a25d24
SM
161042011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16105
16106 Add an :exit-function for completion-at-point.
16107
16108 * minibuffer.el (completion--done): New fun.
16109 (completion--do-completion): Use it. New arg `expect-exact'.
16110 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16111 since completion--do-completion does it for us now.
16112 (minibuffer-force-complete): Use completion--done and
16113 completion--replace. Handle sole-completion case with more care.
16114 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16115 (completion-extra-properties): New var.
16116 (completion-annotate-function): Make obsolete.
16117 (minibuffer-completion-help): Adjust accordingly.
16118 Use completion-list-insert-choice-function.
16119 (completion-at-point, completion-help-at-point):
16120 Bind completion-extra-properties.
16121 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16122 * simple.el (completion-list-insert-choice-function): New var.
16123 (completion-setup-function): Preserve it.
16124 (choose-completion): Pay attention to it, shuffle the code a bit.
16125 (choose-completion-string): New arg `insert-function'.
16126
16127 * textmodes/bibtex.el: Convert to lexical binding.
16128 (bibtex-mode-map): Use completion-at-point.
16129 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16130 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16131 (bibtex-complete): Define as obsolete alias.
16132 (bibtex-complete-internal): Remove.
16133 (bibtex-format-entry): Remove unused sub-group in regexp.
16134 * shell.el (shell--command-completion-data)
16135 (shell-environment-variable-completion):
16136 * pcomplete.el (pcomplete-completions-at-point):
16137 * comint.el (comint--complete-file-name-data): Use :exit-function
16138 instead of completion-table-with-terminator so it also works for
16139 choose-completion.
16140
e44e373d
SM
161412011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16142
4f91a816
SM
16143 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16144
782fc819
SM
16145 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16146 (bug#8710).
16147
e44e373d
SM
16148 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16149
381987c3
KM
161502011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16151
16152 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16153 customization variable and implement: If non-nil, auto-fill will
16154 be inhibited while on topic's header line.
16155
b776bc70
VB
161562011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16157
16158 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16159 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16160 always have a solution in grid size = 5 cases.
16161 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16162 (5x5-solver-output, 5x5-log-buffer): New vars.
16163 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16164 Make these variables buffer local to achieve 5x5 multi-session-ness.
16165 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16166 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16167 (5x5-solve-suggest): New funs.
16168 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16169 randomize a grid so that we ensure that there is always a solution.
16170 (5x5-make-random-grid): Allow other movement than flipping.
16171
7de88b6e
KR
161722011-05-23 Kevin Ryde <user42@zip.com.au>
16173
16174 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16175 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16176 advice and passes PREDICATE.
16177
b1ef1257
SM
161782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16179
bbca48fe
SM
16180 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16181 byte-compile-lambda if it's actually a lambda.
16182
b1ef1257
SM
16183 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16184 Fix function quoting. Use backquote better.
16185
92a9cc65
YS
161862011-05-22 Yuanle Song <sylecn@gmail.com>
16187
16188 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16189 matching (Bug#8516).
16190
f0fb8059
JA
161912011-01-22 Jari Aalto <jari.aalto@cante.net>
16192
16193 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16194 different face (Bug#8178).
16195
d5b44c93
CY
161962011-05-22 Chong Yidong <cyd@stupidchicken.com>
16197
16198 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16199 defface (Bug#8144).
16200
79106a44
SM
162012011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16202
9c848d8a
SM
16203 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16204 funcall as well (bug#8712). Warn when performing those conversions.
16205 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16206
79106a44
SM
16207 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16208
88dfa756
GM
162092011-05-22 Glenn Morris <rgm@gnu.org>
16210
16211 * files.el (hack-local-variables-prop-line): Small simplifications.
16212 (hack-local-variables, hack-local-variables-prop-line):
16213 If MODE-ONLY, return the mode, rather than just `t'.
16214
b7cf2c79
SM
162152011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16216
16217 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16218
3f1a8558
GM
162192011-05-21 Glenn Morris <rgm@gnu.org>
16220
7e4ccca3
GM
16221 * files.el (hack-local-variables-prop-line, hack-local-variables):
16222 If only interested in the mode, don't bother doing the other stuff.
16223
637d46ca
GM
16224 * image-mode.el (image-after-revert-hook):
16225 Redraw all frames on which the image is visible. (Bug#8567)
16226
973d955b
GM
16227 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16228
3f1a8558
GM
16229 * wid-edit.el (widget-checklist-match-inline):
16230 Fix 2011-04-19 change. (Bug#8649)
16231
96479927
SM
162322011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16233
1dcf791f
SM
16234 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16235 Also allow singlespace after single-letter capitals followed by a dot.
16236
96479927
SM
16237 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16238 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16239
35fd0881
N
162402011-05-20 Nix <nix@esperi.org.uk>
16241
16242 * files.el (basic-save-buffer-2):
16243 Fix handling of break-hardlink-on-save with non-existent files.
16244
82745640
DD
162452011-05-19 Deniz Dogan <deniz@dogan.se>
16246
16247 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16248 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16249
4a720484
GM
162502011-05-19 Glenn Morris <rgm@gnu.org>
16251
d1f21341
GM
16252 * progmodes/f90.el (f90-type-def-re):
16253 Handle "type, bind(c)". (Bug#8691)
16254
4a720484
GM
16255 * emacs-lisp/autoload.el (batch-update-autoloads):
16256 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16257
2fb0a219
MA
162582011-05-18 Michael Albinus <michael.albinus@gmx.de>
16259
16260 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16261 property for the correct connection in case of multihops.
16262
e565dd37
GM
162632011-05-18 Glenn Morris <rgm@gnu.org>
16264
c2571358 16265 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16266 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16267
e565dd37
GM
16268 Rationalize calendar handling of day and month abbrev-arrays.
16269 * calendar/calendar.el (calendar-customized-p): New function.
16270 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16271 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16272 Add :set function.
16273 (calendar-abbrev-length, calendar-day-abbrev-array)
16274 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16275 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16276 Elements may no longer be nil.
16277 (calendar-day-name, calendar-month-name):
16278 Update for changed nature of abbrev arrays.
16279 * calendar/diary-lib.el (diary-name-pattern):
16280 Update for changed nature of abbrev arrays.
16281 (diary-mark-entries-1): Update calendar-make-alist calls.
16282 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16283 * calendar/cal-html.el (cal-html-day-abbrev-array):
16284 Simply inherit from calendar-day-abbrev-array.
16285
1d99a745
SM
162862011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * progmodes/grep.el (grep-mode): Disable default
16289 compilation-directory-matcher setting (bug#8684).
16290
7c1d9aa0
MA
162912011-05-17 Michael Albinus <michael.albinus@gmx.de>
16292
16293 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16294 instead of "head" and "tail". There were problems with SunOS 5.9,
16295 and it performs better.
16296
3952e9d8
GM
162972011-05-17 Glenn Morris <rgm@gnu.org>
16298
2dd12e7f
GM
16299 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16300
e4157b9c
GM
16301 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16302 Replace obsolete function.
16303
8e249bbd
GM
16304 * shell.el (pcomplete-parse-arguments-function): Declare.
16305
3952e9d8
GM
16306 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16307 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16308 (appt-check): Doc fixes.
16309 (appt-disp-window-function, appt-delete-window-function):
16310 Remove needless special case in custom :type.
16311 (appt-display-count): Default to 0, not nil.
16312 (appt-check): Reset appt-display-count to 0, not nil.
16313
c71a0d48 163142011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16315
c71a0d48
GM
16316 * progmodes/python.el (python-font-lock-keywords):
16317 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16318
31d55be9
SM
163192011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16320
16321 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16322
3bfacb2f
KR
163232011-05-16 Kevin Ryde <user42@zip.com.au>
16324
16325 * info-look.el (makefile-automake-mode): New setups, looking in
16326 automake manual, then makefile-mode.
16327 (makefile-mode): Remove automake manual, have it just in
16328 makefile-automake-mode since there's various things different or
16329 not relevant to plain make.
16330 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16331 believe a hypothetical automake-mode would go to makefile-mode,
16332 not the other way around.
16333
c8e83751
CY
163342011-05-15 Chong Yidong <cyd@stupidchicken.com>
16335
5e9e35cd
CY
16336 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16337 hunk-end tags (Bug#8672).
16338
c8e83751
CY
16339 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16340 vc-annotate-show-diff-revision-at-line (Bug#8671).
16341
50b23e5a
GM
163422011-05-14 Glenn Morris <rgm@gnu.org>
16343
7210a739
GM
16344 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16345 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16346 (change-log-font-lock-keywords): Also handle multiple author lines
16347 with leading tabs. (Bug#8644)
7210a739 16348
4691905a
GM
16349 * calendar/appt.el (appt-check): Rename some local variables.
16350 Some simplification/reordering.
16351
50b23e5a
GM
16352 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16353 (feedmail-sendmail-f-doesnt-sell-me-out)
16354 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16355 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16356 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16357 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16358 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16359 (feedmail-binmail-gnulinuxish-template):
16360 Rename from feedmail-binmail-linuxish-template.
16361 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16362 Use insert-buffer-substring.
16363
215cda7c
BC
163642011-05-14 Bill Carpenter <bill@carpenter.org>
16365
16366 * mail/feedmail.el (feedmail-patch-level): Increase.
16367 (feedmail-debug): New custom group.
16368 (feedmail-confirm-outgoing-timeout)
16369 (feedmail-sendmail-f-doesnt-sell-me-out)
16370 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16371 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16372 (feedmail-sender-line, feedmail-from-line)
16373 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16374 (feedmail-spray-this-address)
215cda7c
BC
16375 (feedmail-spray-address-fiddle-plex-list)
16376 (feedmail-queue-use-send-time-for-date)
16377 (feedmail-queue-use-send-time-for-message-id)
16378 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16379 (feedmail-buffer-eating-function):
16380 Doc fixes.
16381 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16382 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16383 (feedmail-message-action-scroll-down): New functions.
16384 (feedmail-queue-directory, feedmail-queue-draft-directory):
16385 Use expand-file-name.
16386 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16387 Remove C-v help entry.
16388 (feedmail-queue-buffer-file-name): New variable.
16389 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16390 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16391 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16392 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16393 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16394 (feedmail-message-action-toggle-spray)
16395 (feedmail-run-the-queue-no-prompts)
16396 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16397 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16398 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16399 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16400 (feedmail-envelope-deducer, feedmail-fiddle-from)
16401 (feedmail-fiddle-sender, feedmail-default-date-generator)
16402 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16403 (feedmail-fiddle-spray-address)
16404 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16405 (feedmail-fiddle-list-of-fiddle-plexes)
16406 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16407 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16408 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16409 Change default. Doc fix.
16410 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16411 (feedmail-binmail-linuxish-template): New constant.
16412 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16413 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16414 (feedmail-send-it): Add debug call.
16415 Use feedmail-queue-buffer-file-name, and
16416 feedmail-send-it-immediately-wrapper.
16417 (feedmail-message-action-send): Add debug call.
16418 Use feedmail-send-it-immediately-wrapper.
16419 (feedmail-queue-express-to-queue): Add debug call.
16420 Run feedmail-queue-express-hook.
16421 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16422 (feedmail-message-action-help-blat):
16423 Rename from feedmail-queue-send-edit-prompt-help-first.
16424 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16425 Check line-endings. Handle errors better.
16426 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16427 Doc fix. Add debug call.
16428 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16429 Use feedmail-queue-send-edit-prompt-inner.
16430 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16431 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16432 from feedmail-queue-send-edit-prompt.
16433 (feedmail-queue-send-edit-prompt-help)
16434 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16435 (feedmail-tidy-up-slug): Add debug call.
16436 Respect feedmail-queue-slug-suspect-regexp.
16437 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16438 (feedmail-dump-message-to-queue): Add debug call.
16439 Expand queue-directory.
16440 (feedmail-dump-message-to-queue): Change message slightly.
16441 Use feedmail-say-chatter.
16442 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16443 (feedmail-send-it-immediately-wrapper): New function.
16444 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16445 Insert empty string rather than newline. Handle full-frame case.
16446 Use catch/throw. Use feedmail-say-chatter.
16447 (feedmail-fiddle-from): Try mail-host-address.
16448 (feedmail-default-message-id-generator): Doc fix.
16449 Bind system-time-locale. Handle missing end.
16450 (feedmail-fiddle-x-mailer): Add debug call.
16451 Handle feedmail-x-mailer-line being nil.
16452 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16453 Add debug call. Use buffer-substring-no-properties.
16454 (feedmail-say-debug, feedmail-say-chatter): New functions.
16455 (feedmail-find-eoh): Give an explicit error.
16456
42c7e61e
UJ
164572011-05-13 Ulf Jasper <ulf.jasper@web.de>
16458
c2571358 16459 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16460 family from helvetica to sans.
c2571358 16461 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16462 etc/images/newsticker.
16463
c2571358 16464 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16465 family from helvetica to sans.
16466
16467 * net/newst-plainview.el (newsticker-new-item-face)
16468 (newsticker-old-item-face, newsticker-immortal-item-face)
16469 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16470 (newsticker-statistics-face): Change default family from
42c7e61e 16471 helvetica to sans.
c2571358 16472 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16473 etc/images/newsticker.
16474
5d3385a0
JB
16475 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16476 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16477 auto-marking.
16478
8497a297
DV
164792011-05-13 Didier Verna <didier@xemacs.org>
16480
16481 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16482 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16483 TODO entries.
8497a297
DV
16484 (lisp-lambda-list-keyword-parameter-indentation)
16485 (lisp-lambda-list-keyword-parameter-alignment)
16486 (lisp-lambda-list-keyword-alignment): New customizable user options.
16487 (lisp-indent-defun-method): Improve docstring.
16488 (extended-loop-p): Fix comment.
16489 (lisp-indent-lambda-list-keywords-regexp): New variable.
16490 (lisp-indent-lambda-list): New function.
16491 (lisp-indent-259): Use it.
16492 (lisp-indent-defmethod): Support for more than one
16493 method qualifier and properly indent methods lambda-lists.
16494 (defgeneric): Provide a missing common-lisp-indent-function property.
16495
f278f87f
SM
164962011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16497
16498 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16499 bounds for the empty string (bug#8667).
16500
5233edd7
GM
165012011-05-13 Glenn Morris <rgm@gnu.org>
16502
5237a44f
GM
16503 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16504
8340026c 16505 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16506 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16507
5233edd7 16508 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16509 (appt-time-msg-list): Doc fix.
a5464014 16510 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16511
92d10796
AS
165122011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16513
16514 * progmodes/ld-script.el (ld-script-keywords)
16515 (ld-script-builtins): Update keywords list.
16516
914a0ae1
SM
165172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16518
c89be45f
SM
16519 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16520
914a0ae1
SM
16521 * shell.el (shell-completion-vars): New function.
16522 (shell-mode):
16523 * simple.el (read-shell-command): Use it.
16524 (blink-matching-open): No need for " [...]" in minibuffer-message.
16525
98dc3df3
GM
165262011-05-12 Glenn Morris <rgm@gnu.org>
16527
16528 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16529 (appt-check): Simplify.
16530
d2fc7e3d 165312011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16532
4d61f28d 16533 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16534 literal "/dev/null".
16535
d2fc7e3d 165362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16537
16538 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16539 Fix typo.
16540
d2fc7e3d 165412011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16542
3f254caa
SM
16543 * progmodes/which-func.el (which-function):
16544 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16545 which might not be defined (Bug#8260).
16546
d45885f7
GM
165472011-05-12 Glenn Morris <rgm@gnu.org>
16548
16549 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16550 Let byte-compile-initial-macro-environment always take precedence.
16551
488086f4
SM
165522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16553
16554 * net/rcirc.el: Add support for SSL/TLS connections.
16555 (rcirc-server-alist): New field `encryption'.
16556 (rcirc): Check `encryption' settings.
16557 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16558 Merge make-local-variable into `set'.
16559 (rcirc--connection-open-p): New function.
16560 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16561 the process is not a network process (e.g. running gnutls-cli).
16562 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16563 Make rcirc-(en|de)code-coding-system local here.
16564 (rcirc-mode): Merge make-local-variable into `set'.
16565 (rcirc-parent-buffer): Make permanent buffer-local.
16566 (rcirc-multiline-minor-mode): Don't do it here.
16567 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16568 there's no server buffer.
16569
7d3b9d44
GM
165702011-05-11 Glenn Morris <rgm@gnu.org>
16571
f64049c6
GM
16572 * newcomment.el (comment-kill): Prefix "unused" local.
16573
93c9df73
GM
16574 * term/w32console.el (get-screen-color): Declare.
16575
7d3b9d44
GM
16576 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16577 Handle symbol elements of byte-compile-initial-macro-environment.
16578
9e2dd53f
LL
165792011-05-10 Leo Liu <sdl.web@gmail.com>
16580
488086f4
SM
16581 * bookmark.el (bookmark-bmenu-mode-map):
16582 Bind bookmark-bmenu-search to `/'.
8b340240 16583
9e2dd53f 16584 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16585 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16586 (Footnote-unicode): New function.
16587 (footnote-style-alist): Add unicode style to the list.
16588 (footnote-style): Doc fix.
9e2dd53f 16589
79b70037
GM
165902011-05-10 Jim Meyering <meyering@redhat.com>
16591
16592 Fix doubled-word typos.
16593 * international/quail.el (quail-insert-kbd-layout): and and -> and
16594 * kermit.el: and and -> and
16595 * net/ldap.el (ldap-search-internal): to to -> to
16596 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16597 * progmodes/js.el (js-mode): and and -> and
16598 * textmodes/artist.el (artist-move-to-xy): at at -> at
16599 (artist-draw-region-trim-line-endings): if if -> if
16600 And Safetyc -> Safety.
16601 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16602
b8f82dc1 166032011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16604 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16605
16606 * files.el (hack-one-local-variable-eval-safep):
16607 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16608
4f99f44b
GM
166092011-05-10 Glenn Morris <rgm@gnu.org>
16610
16611 * calendar/diary-lib.el (diary-list-entries-hook)
16612 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16613 (diary-nongregorian-marking-hook, diary-list-entries)
16614 (diary-include-other-diary-files, diary-mark-entries)
16615 (diary-mark-included-diary-files): Doc fixes.
16616
84f29e6b
JB
166172011-05-09 Juanma Barranquero <lekktu@gmail.com>
16618
16619 * misc.el: Require tabulated-list.el during compilation.
16620
9bedd73a
CY
166212011-05-09 Chong Yidong <cyd@stupidchicken.com>
16622
488086f4
SM
16623 * progmodes/compile.el (compilation-start):
16624 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16625 (compilation-filter-hook): Doc fix.
16626
797c735c
DD
166272011-05-09 Deniz Dogan <deniz@dogan.se>
16628
16629 * wdired.el: Remove outdated installation comment. Fix usage
16630 comment.
16631
5f4b1dfe
JB
166322011-05-09 Juanma Barranquero <lekktu@gmail.com>
16633
16634 * misc.el: Implement new command `list-dynamic-libraries'.
16635 (list-dynamic-libraries--loaded-only-p): New variable.
16636 (list-dynamic-libraries--refresh): New function.
16637 (list-dynamic-libraries): New command.
16638
4c44026c
CY
166392011-05-09 Chong Yidong <cyd@stupidchicken.com>
16640
488086f4
SM
16641 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16642 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16643 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16644 higher priority to avoid clobbering by gnu.
16645
027f966d
CY
166462011-05-08 Chong Yidong <cyd@stupidchicken.com>
16647
16648 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16649 if the face has existing theme settings (Bug#8454).
16650
085f5d7d
CY
166512011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16652
488086f4
SM
16653 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16654 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16655
2a86a00c
RS
16656 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16657 special file names `.' and `..' (Bug#8259).
16658
d9c54a06
CY
166592011-05-08 Chong Yidong <cyd@stupidchicken.com>
16660
488086f4
SM
16661 * progmodes/grep.el (grep-mode-font-lock-keywords):
16662 Remove buffer-changing entries.
d9c54a06
CY
16663 (grep-filter): New function.
16664 (grep-mode): Add it to compilation-filter-hook.
16665
16666 * progmodes/compile.el (compilation-filter-hook)
16667 (compilation-filter-start): New defvars.
16668 (compilation-filter): Call compilation-filter-hook prior to
16669 updating the process mark.
16670
c4662635
SM
166712011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16674
b0512a1d
EZ
166752011-05-07 Eli Zaretskii <eliz@gnu.org>
16676
605c9376
EZ
16677 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16678 mailclient-send-it even if window-system is nil. (Bug#8595)
16679
c4662635
SM
16680 * term/w32console.el (terminal-init-w32console):
16681 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16682 background-mode. (Bug#8597)
16683
d1dc2cc2
SM
166842011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16685
16686 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16687 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16688 New functions.
16689 (defgeneric, eieio--defmethod): Use them.
16690 (eieio-defgeneric): Remove.
16691 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16692
915d1300
GM
166932011-05-07 Glenn Morris <rgm@gnu.org>
16694
a3961c3e
GM
16695 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16696 Use let rather than let*.
16697 (timeclock-find-discrep): Remove unused local.
16698
314347b9
GM
16699 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16700
915d1300
GM
16701 * calendar/appt.el (appt-time-msg-list): Doc fix.
16702
275b59b0
NF
167032011-05-06 Noah Friedman <friedman@splode.com>
16704
16705 * apropos.el (apropos-print-doc): Only use
16706 emacs-lisp-docstring-fill-column when it is bound to an integer,
16707 per that variable's documentation.
16708
6c19f744
SM
167092011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16710
16711 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16712 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16713
60f884b2
GM
167142011-05-06 Glenn Morris <rgm@gnu.org>
16715
5006e634
GM
16716 * calendar/appt.el (appt-message-warning-time): Doc fix.
16717 (appt-warning-time-regexp): New option.
16718 (appt-make-list): Respect appt-message-warning-time.
16719
548d0a63
GM
16720 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16721 New options.
16722 (diary-add-to-list): Strip comments from the displayed string.
16723 (diary-mode): Set comment-start and comment-end.
16724
60f884b2
GM
16725 * vc/diff-mode.el (smerge-refine-subst): Declare.
16726 (diff-refine-hunk): Don't require smerge-mode when compiling.
16727
989681bb
JB
167282011-05-06 Juanma Barranquero <lekktu@gmail.com>
16729
16730 * simple.el (list-processes): Return nil as the docstring says.
16731
a6bc05e1
MA
167322011-05-05 Michael Albinus <michael.albinus@gmx.de>
16733
16734 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16735 to "".
16736 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16737 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16738 determining of binary transfer. (Bug#7383)
16739
23c22e9a
MA
167402011-05-05 Michael Albinus <michael.albinus@gmx.de>
16741
c4662635
SM
16742 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16743 Fix port computation bug. (Bug#8618)
23c22e9a 16744
0bff894f
GM
167452011-05-05 Glenn Morris <rgm@gnu.org>
16746
b8296902
GM
16747 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16748
1f522ce8
GM
16749 * simple.el (shell-dynamic-complete-functions)
16750 (comint-dynamic-complete-functions): Declare.
16751
cf5bee67
GM
16752 * net/network-stream.el (gnutls-negotiate):
16753 * simple.el (tabulated-list-print): Fix declarations.
16754
16755 * progmodes/gud.el (syntax-symbol, syntax-point):
16756 Remove unnecessary and incorrect declarations.
16757
0bff894f
GM
16758 * emacs-lisp/check-declare.el (check-declare-scan):
16759 Handle byte-compile-initial-macro-environment in bytecomp.el
16760
9869b3ae
SM
167612011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 Fix earlier half-done eieio-defmethod change (bug#8338).
16764 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16765 Streamline and change calling convention.
16766 (defmethod): Adjust accordingly and simplify.
16767 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16768 new eieio--defmethod.
16769 (slot-boundp): Minor CSE simplification.
16770
9c1d5ac5
MZ
167712011-05-05 Milan Zamazal <pdm@zamazal.org>
16772
16773 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16774 (glasses-make-readable): Use glasses-separate-capital-groups.
16775
455c834e
JB
167762011-05-05 Juanma Barranquero <lekktu@gmail.com>
16777
16778 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16779 (warning-series): Doc fix.
16780 (display-warning): Don't try to create the buffer if we just found it.
16781
9ed7c8cb
CY
167822011-05-04 Chong Yidong <cyd@stupidchicken.com>
16783
16784 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16785 (autoload-find-generated-file): New function.
16786 (generate-file-autoloads): Bind generated-autoload-file to
16787 buffer-file-name.
9869b3ae
SM
16788 (update-file-autoloads, update-directory-autoloads):
16789 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16790 output file (Bug#7989).
16791 (batch-update-autoloads): Doc fix.
16792
0898ca10
JB
167932011-05-04 Juanma Barranquero <lekktu@gmail.com>
16794
16795 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16796
31dfb76c
GM
167972011-05-04 Glenn Morris <rgm@gnu.org>
16798
f330b642
GM
16799 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16800 function, so it follows changes in calendar-date-style.
16801 (diary-fancy-date-matcher): New function.
16802 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16803 (diary-fancy-font-lock-fontify-region-function):
16804 Use diary-fancy-date-pattern as a function.
16805
31dfb76c
GM
16806 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16807 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16808
48e79d6a
TZ
168092011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16810
16811 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16812 instead of positional arguments. Allow :keylist and :crlfiles
16813 arguments.
16814 (open-gnutls-stream): Call it.
16815
16816 * net/network-stream.el (network-stream-open-starttls): Adjust to
16817 call `gnutls-negotiate' with :process and :hostname arguments.
16818
dd5a5ee0
SM
168192011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16820
ef80fc09
SM
16821 * minibuffer.el (completion--message): New function.
16822 (completion--do-completion, minibuffer-complete)
16823 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16824 (completion--do-completion): Don't ignore completion-auto-help when in
16825 icomplete-mode.
16826
dd5a5ee0
SM
16827 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16828 internal encoding (e.g. tibetan zero is not whitespace).
16829 (global-whitespace-mode): Prefer save-current-buffer.
16830 (whitespace-trailing-regexp): Remove useless save-match-data.
16831 (whitespace-empty-at-bob-regexp): Minor simplification.
16832
b7d22a83
CY
168332011-05-03 Chong Yidong <cyd@stupidchicken.com>
16834
16835 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16836
5192af46
AM
168372011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16838
16839 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16840 Use `concat' to create string for insertion.
5192af46 16841
5767d190
SM
168422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16843
16844 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16845 Avoid open-line which runs post-self-insert-hook.
16846 (bibtex-fill-entry): Remove unused `end' var.
16847
bf242939
AM
168482011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16849
5767d190
SM
16850 * textmodes/ispell.el (ispell-add-per-file-word-list):
16851 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16852
25666126
LL
168532011-05-03 Leo Liu <sdl.web@gmail.com>
16854
16855 * isearch.el (isearch-yank-pop): New command.
5767d190 16856 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16857 (isearch-forward): Mention it.
16858
52d3c2d0
SM
168592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16860
1bcace58
SM
16861 * simple.el (minibuffer-complete-shell-command): Remove.
16862 (minibuffer-local-shell-command-map): Use completion-at-point.
16863 (read-shell-command): Setup completion vars here instead.
16864 (read-expression-map): Bind TAB to symbol completion.
16865
52d3c2d0
SM
16866 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16867 error directly rather via storing it into `results'.
16868
35813471
LL
168692011-05-02 Leo Liu <sdl.web@gmail.com>
16870
16871 * vc/diff.el: Fix description.
16872
e793a940
LMI
168732011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16874
16875 * server.el (server-eval-at): New function.
16876
8de66e05
LMI
168772011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16878
16879 * net/network-stream.el (open-network-stream): Take a :nowait
16880 parameter and pass it on to `make-network-process'.
16881 (network-stream-open-plain): Ditto.
16882
dcb79f20
AS
168832011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16884
16885 * faces.el (face-spec-set-match-display): Don't match toolkit
16886 options on terminal frames.
16887
14a7fbd8
SM
168882011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16889
7eabc1be
SM
16890 * progmodes/pascal.el: Use lexical binding.
16891 (pascal-mode-map): Remove author preferences.
16892
14a7fbd8
SM
16893 * pcomplete.el (pcomplete-std-complete): Don't abuse
16894 completion-at-point.
16895
50f84510
JB
168962011-04-28 Juanma Barranquero <lekktu@gmail.com>
16897
6e087a44
JB
16898 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16899 removing code that has been dead since 1991 or so.
16900
50f84510
JB
16901 * startup.el (command-line): When warning about "_emacs", use a
16902 delayed warning to allow the user to filter it out.
16903
0ba690bd
DD
169042011-04-28 Deniz Dogan <deniz@dogan.se>
16905
16906 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16907 user has not joined.
16908
08abfaad
SM
169092011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16912 aren't any completions at point.
16913
638f053a
JB
169142011-04-28 Juanma Barranquero <lekktu@gmail.com>
16915
16916 * subr.el (display-delayed-warnings): New function.
16917 (delayed-warnings-hook): New variable.
16918
8fff8daa
SM
169192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16920
08abfaad
SM
16921 * minibuffer.el (completion-at-point, completion-help-at-point):
16922 Don't presume that a given completion-at-point-function will always
16923 use the same calling convention.
16924
8fff8daa
SM
16925 * pcomplete.el (pcomplete-completions-at-point):
16926 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16927 pcomplete-seen is non-nil.
16928 (pcomplete-comint-setup): Also recognize the new comint/shell
16929 completion functions.
16930 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16931 pcomplete-seen is non-nil.
16932
841a1577 169332011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16934
841a1577 16935 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16936 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16937 the first character in the entry. This allows for code to add its
211ec907
UJ
16938 own uid to the entry.
16939 (icalendar--convert-float-to-ical): Add export of
16940 `diary-float'-entries save for those with the optional DAY
16941 argument.
16942
2a782793
DC
169432011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16944
16945 * subr.el (shell-quote-argument): Use alternate escaping strategy
16946 when we spot a variable reference in a string.
16947
0438ce91
DC
169482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16949
16950 * cus-start.el (all): Define customization for debug-on-event.
16951
841a1577 169522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16953
16954 * subr.el (shell-quote-argument): Escape correctly under Windows.
16955
d090ed6c
SM
169562011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16957
16958 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16959
bfd31217
MA
169602011-04-25 Michael Albinus <michael.albinus@gmx.de>
16961
d090ed6c
SM
16962 * net/tramp.el (tramp-process-actions): Add POS argument.
16963 Delete region between POS and (pos).
bfd31217 16964
d090ed6c
SM
16965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16966 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16967 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16968
16969 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16970 position in `tramp-process-actions' call.
16971
16972 * net/trampver.el: Update release number.
16973
e92f3bd3
SM
169742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16975
850256b5
SM
16976 * custom.el (defcustom): Obey lexical-binding.
16977
e92f3bd3
SM
16978 Fix octave-inf completion problems reported by Alexander Klimov.
16979 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16980 Inherit from octave-mode-syntax-table.
16981 (inferior-octave-mode): Set info-lookup-mode.
16982 (inferior-octave-completion-at-point): New function.
16983 (inferior-octave-complete): Use it and completion-in-region.
16984 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16985 comint-filename-completion.
16986 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16987 symbol elements which shouldn't be word elements.
16988 (octave-font-lock-keywords, octave-beginning-of-defun)
16989 (octave-function-header-regexp): Adjust regexps accordingly.
16990 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16991
cd22b309
JB
169922011-04-25 Juanma Barranquero <lekktu@gmail.com>
16993
16994 * net/gnutls.el (gnutls-errorp): Declare before first use.
16995
8b492194
TZ
169962011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16997
16998 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16999 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17000 default trustfile exists before going to use it. Add missing
5a5fa834 17001 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17002 Reported by Claudio Bley <claudio.bley@gmail.com>.
17003 (open-gnutls-stream): Add usage example.
17004
17005 * net/network-stream.el (network-stream-open-starttls): Give host
17006 parameter to `gnutls-negotiate'.
17007 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17008 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17009
841a1577 170102011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17011
cd22b309
JB
17012 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17013 Use correct match group (bug#8438).
05842630 17014
3ba7869c
CY
170152011-04-24 Chong Yidong <cyd@stupidchicken.com>
17016
512e3ae1
CY
17017 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17018 (package-menu--generate): New arg specifying packages to show.
17019 (package-menu-refresh, package-menu-execute, list-packages):
17020 Callers changed.
17021 (package-show-package-list): New function, replacing deleted
17022 package--list-packages (renamed because it is non-internal).
17023
17024 * finder.el (finder-list-matches): Use package-show-package-list
17025 instead of deleted package--list-packages.
17026
e92f3bd3
SM
17027 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17028 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17029 (vc-annotate-mode-map): Bind it to RET.
17030
7031be6d
UR
170312011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17032
17033 * progmodes/etags.el (next-file): Don't use set-buffer to change
17034 buffers (Bug#8478).
17035
4ef177aa
CY
170362011-04-24 Chong Yidong <cyd@stupidchicken.com>
17037
c8d173eb
CY
17038 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17039
4ef177aa
CY
17040 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17041 (apropos-accumulator): Doc fix.
17042 (apropos-function, apropos-macro, apropos-command)
17043 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17044 (apropos-plist): Add face property.
17045 (apropos-symbols-internal): Fix indentation.
17046 (apropos-print): Simplify help, and recognize apropos-multi-type.
17047 (apropos-print-doc): Use button-type-get to extract the button's
17048 face property. Fill docstring (Bug#8352).
17049
4ffd0d6b 170502011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17051
17052 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17053
c6c32125 17054 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17055 (mpuz-mode-map): Use mapc.
c6c32125
JB
17056 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17057 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17058 Fix typos in docstrings.
17059
58d468b4
JB
17060 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17061 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17062
6470c3c6
JB
17063 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17064
4ffd0d6b 170652011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17066
17067 * minibuffer.el (completion--do-completion): Avoid the "Next char
17068 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17069
3ad8bad0
CY
17070 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17071 mouse-2 into unread-command-events, it is interpreted correctly.
17072
71d73c9c 17073 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17074 (image-toggle-display): Doc fix.
71d73c9c 17075
841a1577 170762011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17077
4ffd0d6b
GM
17078 * textmodes/page.el (what-page): Use line-number-at-pos to
17079 calculate line number (Bug#6825).
6e1dbaa9 17080
c2fb1b60
JB
170812011-04-22 Juanma Barranquero <lekktu@gmail.com>
17082
17083 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17084 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17085 Pass argument NO-DEFAULT to `find-tag-interactive'.
17086
e02f48d7
JB
170872011-04-22 Juanma Barranquero <lekktu@gmail.com>
17088
17089 Lexical-binding cleanup.
17090
17091 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17092 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17093 * progmodes/ada-prj.el (ada-prj-initialize-values)
17094 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17095 (ada-prj-show-value):
17096 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17097 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17098 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17099 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17100 * progmodes/bug-reference.el (bug-reference-push-button):
17101 * progmodes/fortran.el (fortran-line-length):
17102 * progmodes/glasses.el (glasses-change):
17103 * progmodes/octave-mod.el (octave-fill-paragraph):
17104 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17105 (python-pdbtrack-grub-for-buffer, python-sentinel):
17106 * progmodes/sql.el (sql-save-connection):
17107 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17108 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17109 Mark unused parameters.
17110
17111 * progmodes/compile.el (compilation--flush-directory-cache)
17112 (compilation--flush-parse, compile-internal): Mark unused parameters.
17113 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17114 (compilation-next-error-function): Remove unused variable `timestamp'.
17115
17116 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17117 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17118
17119 * progmodes/dcl-mode.el (dcl-end-of-command):
17120 Remove unused variable `start'.
17121 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17122 (dcl-option-value-basic, dcl-option-value-offset)
17123 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17124 Mark unused parameters.
17125 (dcl-save-local-variable): Remove unused variable `val'.
17126 (mode): Declare.
17127
17128 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17129 Mark unused parameters.
17130 (delphi-ignore-changes): Move before first use.
17131 (delphi-charset-token-at): Remove unused variable `start'.
17132 (delphi-else-start): Remove unused variable `if-count'.
17133 (delphi-comment-block-start, delphi-comment-block-end):
17134 Remove unused variable `kind'.
17135 (delphi-indent-line): Remove unused variable `new-point'.
17136
17137 * progmodes/ebrowse.el (ebrowse-files-list)
17138 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17139 Mark unused parameters. Don't quote `lambda'.
17140 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17141 Don't quote `lambda'.
17142 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17143 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17144 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17145 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17146 Use `ignore-errors'.
17147 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17148 (ebrowse-view/find-file-and-search-pattern)
17149 (ebrowse-view/find-member-declaration/definition):
17150 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17151 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17152 Rename parameter PREFIX-ARG to PREFIX.
17153 (ebrowse-tags-read-name): Remove unused variables `start' and
17154 `member-info'.
17155 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17156 to `tags-file'.
17157
17158 * progmodes/etags.el (local-find-tag-hook): Declare.
17159 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17160 Mark unused parameters.
17161
17162 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17163 (executable-interpret): Mark unused parameter.
17164
17165 * progmodes/flymake.el (flymake-process-sentinel)
17166 (flymake-after-change-function)
17167 (flymake-create-temp-with-folder-structure)
17168 (flymake-get-include-dirs-dot): Mark unused parameters.
17169 (flymake-safe-delete-directory): Remove unused variable `err'.
17170
17171 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17172 (speedbar-timer-fn, speedbar-line-text)
17173 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17174 (speedbar-center-buffer-smartly): Declare functions.
17175 (gdb-find-watch-expression): Remove unused variable `array'.
17176 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17177 (gdb-starting): Mark unused parameters.
17178 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17179 (gdb-table-string): Remove unused variable `res'.
17180 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17181 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17182 (gdb-display-buffer): Remove unused variable `cur-size'.
17183
17184 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17185 allow lexical-binding compilation.
17186 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17187 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17188 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17189 Mark unused parameters.
17190 (gud-gdb-marker-filter): Remove unused variable `match'.
17191 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17192 lambda expressions and funcall them, instead of using `fset'.
17193
17194 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17195 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17196
17197 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17198 variable `header-beg'; use `let'.
17199
17200 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17201 `restart', `last-sexp' and `at-do'.
17202
17203 * progmodes/js.el (js--debug): Mark unused parameter.
17204 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17205 (js--splice-into-items): Remove unused variable `item'.
17206 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17207
17208 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17209 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17210 (makefile-complete): Remove unused variable `try'.
17211 (makefile-fill-paragraph, makefile-match-function-end):
17212 Mark unused parameters.
17213
17214 * progmodes/octave-inf.el (inferior-octave-complete):
17215 Remove unused variable `proc'.
17216 (inferior-octave-output-digest): Mark unused parameter.
17217
17218 * progmodes/perl-mode.el (perl-calculate-indent):
17219 Remove unused variable `err'.
17220
17221 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17222 (prolog-indent-line): Mark unused parameters.
17223 (prolog-indent-line): Remove unused variable `beg'.
17224
17225 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17226 (reporter-dont-compact-list): Declare.
17227
17228 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17229 Remove unused variable `char'.
17230 (sh-debug): Mark unused parameter.
17231 (sh-get-indent-info): Remove unused variable `start'.
17232 (sh-calculate-indent): Remove unused variable `var'.
17233
17234 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17235 (simula-electric-keyword): Remove unused variable `null'.
17236 (simula-search-backward, simula-search-forward): Remove unused
17237 variables `begin' and `end'.
17238
17239 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17240 Remove unused variable `pos'.
17241 (vera-electric-tab, vera-comment-uncomment-region):
17242 Mark unused parameters.
17243 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17244
7ede3b65
CY
172452011-04-22 Chong Yidong <cyd@stupidchicken.com>
17246
17247 * emacs-lisp/package.el (package--builtins, package-alist)
17248 (package-load-descriptor, package-built-in-p, package-activate)
17249 (define-package, package-installed-p)
17250 (package-compute-transaction, package-buffer-info)
17251 (package--push): Doc fix. Distinguish more clearly between
17252 version strings and version lists.
17253
121656e9
JB
172542011-04-21 Juanma Barranquero <lekktu@gmail.com>
17255
17256 Lexical-binding cleanup.
17257
17258 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17259 (5x5-make-mutate-best):
17260 * play/fortune.el (fortune-in-buffer):
17261 * play/gomoku.el (gomoku-init-display):
17262 * play/solitaire.el (solitaire, solitaire-do-check):
17263 * play/tetris.el (tetris-default-update-speed-function):
17264 Mark unused parameters.
17265
17266 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17267 (bubbles--shift): Remove unused variable `char-org'.
17268 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17269 (bubbles--show-images): Remove unused variable `char'.
17270
17271 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17272 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17273 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17274 (decipher-analyze-buffer): Use ?\s.
17275 (decipher-make-checkpoint): Remove unused variable `mapping'.
17276
17277 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17278
17279 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17280 Remove unused variable `result'; use `let'.
17281
17282 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17283 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17284 (gametree-children-shown-p, gametree-compute-reduced-score):
17285 Use `ignore-errors'.
17286
17287 * play/handwrite.el (ps-lpr-switches): Declare.
17288 (handwrite): Remove unused variables `pmin' and `lastp'.
17289
17290 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17291
17292 * play/landmark.el (landmark-init-display)
17293 (landmark-update-naught-weights): Mark unused parameters.
17294 (landmark-y): Remove unused variable `noise'. Simplify.
17295 (landmark-human-plays): Remove unused variable `score'.
17296
17297 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17298 (mpuz-try-proposal): Remove unused variable `game'.
17299
17300 * play/zone.el (life-patterns): Declare.
17301
80f499c7
JB
173022011-04-20 Juanma Barranquero <lekktu@gmail.com>
17303
17304 * vc/vc.el (ediff-vc-internal): Declare function.
17305
024ff170
SM
173062011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17307
c0a193ea
SM
17308 * shell.el: Use lexical-binding and std completion UI.
17309 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17310 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17311 comint-preoutput-filter-functions rather than on
17312 comint-output-filter-functions.
17313 (shell-command-completion, shell--command-completion-data)
17314 (shell-filename-completion, shell-environment-variable-completion)
17315 (shell-c-a-p-replace-by-expanded-directory): New functions.
17316 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17317 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17318 (shell-dynamic-complete-environment-variable): Use them.
17319 (shell-dynamic-complete-as-environment-variable)
17320 (shell-dynamic-complete-as-command): Remove.
17321 (shell-match-partial-variable): Match past point.
17322 * comint.el: Clean up use of completion-at-point-functions.
17323 (comint-completion-at-point): New function.
17324 (comint-mode): Use it completion-at-point-functions.
17325 (comint-dynamic-complete): Make it obsolete.
17326 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17327 (comint-c-a-p-replace-by-expanded-history): New function.
17328 (comint-dynamic-complete-functions)
17329 (comint-replace-by-expanded-history): Use it.
17330 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17331 termination strings. Try harder to avoid second try-completion.
17332 (completion-in-region-mode-map): Disable bindings that don't work yet.
17333
2dbaa080
SM
17334 * comint.el: Use lexical-binding. Require CL.
17335 (comint-dynamic-complete-functions): Use comint-filename-completion.
17336 (comint-completion-addsuffix): Tweak custom type.
17337 (comint-filename-completion, comint--common-suffix)
17338 (comint--common-quoted-suffix, comint--table-subvert)
17339 (comint--complete-file-name-data): New functions.
17340 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17341 (comint-dynamic-list-filename-completions): Use them.
17342 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17343
2dbaa080
SM
17344 * minibuffer.el (completion-in-region-mode):
17345 Keep completion-in-region-mode--predicate global.
17346 (completion-in-region--postch):
17347 Assume completion-in-region-mode--predicate is not null.
17348
c79a6f38
SM
17349 * progmodes/flymake.el (flymake-start-syntax-check-process):
17350 Obey `dir'. Simplify.
17351
024ff170
SM
17352 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17353 we're in VC after all.
17354
1c6c854e
CS
173552011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17356
17357 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17358 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17359 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17360
bed7f140
SM
173612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17362
332e62ab
SM
17363 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17364 add sanity check.
17365
bed7f140
SM
17366 * obsolete/erc-hecomplete.el: Make obsolete.
17367 * obsolete/: Standardize obsolescence info in the header.
17368
f195c582
GM
173692011-04-20 Glenn Morris <rgm@gnu.org>
17370
17371 * calendar/solar.el (solar-horizontal-coordinates):
17372 Use the longitude argument rather than `calendar-longitude'.
17373 (solar-date-next-longitude): Remove unused locals.
17374
cb79b8c0
VJL
173752011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17376
17377 * whitespace.el: New version 13.2.1.
17378
173792011-04-20 felix <EmacsWiki> (tiny change)
17380
d8e4b68b 17381 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17382 switching between major modes on a file.
17383
602ea69d
SM
173842011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17385
17386 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17387 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17388 multi-line comments as well.
17389
06b60517
JB
173902011-04-19 Juanma Barranquero <lekktu@gmail.com>
17391
17392 Lexical-binding cleanup.
17393
17394 * arc-mode.el (archive-mode-revert):
17395 * cmuscheme.el (scheme-interactively-start-process):
17396 * custom.el (custom-initialize-delay):
17397 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17398 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17399 * emacs-lock.el (emacs-lock-clear-sentinel):
17400 * ezimage.el (defezimage):
17401 * follow.el (follow-avoid-tail-recenter):
17402 * fringe.el (set-fringe-mode-1):
17403 * generic-x.el (bat-generic-mode-compile):
17404 * help-mode.el (help-info-variable, help-do-xref)
17405 (help-mode-revert-buffer):
17406 * help.el (view-emacs-todo):
17407 * iswitchb.el (iswitchb-completion-help):
17408 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17409 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17410 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17411 * locate.el (locate-update):
17412 * longlines.el (longlines-encode-region)
17413 (longlines-after-change-function):
17414 * outline.el (outline-isearch-open-invisible):
17415 * ps-def.el (declare-function, charset-dimension, char-width)
17416 (encode-char):
17417 * ps-mule.el (ps-mule-plot-string):
17418 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17419 (recentf-edit-list-select, recentf-edit-list-validate)
17420 (recentf-open-files-action):
17421 * rect.el (delete-whitespace-rectangle-line)
17422 (rectangle-number-line-callback):
17423 * register.el (window-configuration-to-register)
17424 (frame-configuration-to-register):
17425 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17426 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17427 (xselect-convert-to-targets, xselect-convert-to-delete)
17428 (xselect-convert-to-filename, xselect-convert-to-charpos)
17429 (xselect-convert-to-lineno, xselect-convert-to-colno)
17430 (xselect-convert-to-os, xselect-convert-to-host)
17431 (xselect-convert-to-user, xselect-convert-to-class)
17432 (xselect-convert-to-name, xselect-convert-to-integer)
17433 (xselect-convert-to-atom, xselect-convert-to-identity):
17434 * subr.el (declare, ignore, process-kill-without-query)
17435 (text-clone-maintain):
17436 * terminal.el (te-get-char, te-tic-sentinel):
17437 * tool-bar.el (tool-bar-make-keymap):
17438 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17439 * type-break.el (type-break-mode, type-break-noninteractive-query):
17440 * view.el (View-back-to-mark):
17441 * wid-browse.el (widget-browse-action, widget-browse-widget)
17442 (widget-browse-widgets, widget-browse-sexp):
17443 * widget.el (define-widget-keywords):
17444 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17445 Mark unused parameters.
17446
17447 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17448 (align-areas): Remove unused variable `look'.
17449 (align-region): Remove unused variables `real-end' and `pos-list'.
17450
17451 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17452
17453 * bindings.el (mode-line-modified, mode-line-remote):
17454 Mark unused parameters.
17455 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17456
17457 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17458 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17459
17460 * comint.el (comint-history-isearch-pop-state)
17461 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17462 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17463 (comint-substitute-in-file-name): Doc fix.
17464
17465 * completion.el (cmpl-statistics-block): Mark unused parameter.
17466 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17467 (save-completions-to-file, load-completions-from-file):
17468 Remove unused local variable `e'.
17469
17470 * composite.el (compose-chars): Remove unused variable `len'.
17471 (lgstring-insert-glyph): Remove unused variable `g'.
17472 (compose-glyph-string): Remove unused variables `ascent',
17473 `descent', `lbearing' and `rbearing'.
17474 (compose-glyph-string-relative): Remove unused variables
17475 `lbearing', `rbearing' and `wadjust'.
17476 (compose-gstring-for-graphic): Remove unused variables `header',
17477 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17478 (compose-gstring-for-terminal): Remove unused variables `header'
17479 and `nchars'. Use `let', not `let*'.
17480
17481 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17482 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17483 (Custom-buffer-done, custom-buffer-create-internal)
17484 (custom-browse-visibility-action, custom-browse-group-tag-action)
17485 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17486 (widget-magic-mouse-down-action, custom-toggle-parent)
17487 (custom-add-parent-links, custom-toggle-hide-variable)
17488 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17489 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17490 (custom-face-menu-create, custom-variable-menu-create, get)
17491 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17492 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17493 (customize-apropos): Remove unused variable `tests'.
17494 (custom-group-value-create): Remove unused variable `hidden-p'.
17495 (sort-fold-case): Declare.
17496
17497 * cus-theme.el (custom-reset-standard-faces-list)
17498 (custom-reset-standard-variables-list): Declare.
17499 (customize-create-theme, custom-theme-revert, custom-theme-write)
17500 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17501 Mark unused parameters.
17502
17503 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17504
17505 * delim-col.el (delimit-columns-max): Move defvar before first use.
17506
17507 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17508 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17509
17510 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17511 (auto-insert): Declare.
17512 (desktop-restore-file-buffer): Rename desktop-* parameters;
17513 mark unused ones.
17514 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17515 (desktop-buffer): Rename desktop-* parameters.
17516
17517 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17518 (dframe-reposition-frame-xemacs, dframe-help-echo)
17519 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17520 Mark unused parameters.
17521
17522 * dired-aux.el (backup-extract-version-start, overwrite-query)
17523 (overwrite-backup-query, rename-regexp-query)
17524 (rename-non-directory-query): Declare.
17525 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17526 (dired-add-entry): Remove unused variable `orig-file-name'.
17527 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17528 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17529 `dired-copy-preserve-time' directly.
17530 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17531 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17532
17533 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17534 (dired-virtual-revert, dired-make-relative-symlink):
17535 Mark unused parameters.
17536 (manual-program): Declare.
17537 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17538 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17539 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17540
17541 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17542
17543 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17544
17545 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17546 Declare.
17547
17548 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17549
17550 * electric.el (Electric-command-loop): Rename parameter
17551 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17552
17553 * expand.el (expand-in-literal): Remove unused variable `here'.
17554
17555 * facemenu.el (facemenu-add-new-color):
17556 Remove unused variable `docstring'.
17557
17558 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17559 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17560 (face-attr-construct): Mark unused parameter. Doc fix.
17561 (read-color): Remove unused variable `hex-string'.
17562
17563 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17564 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17565 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17566 (display-buffer-other-frame): Remove unused variable `old-window'.
17567 (kill-buffer-hook): Declare.
17568 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17569 Mark unused parameters.
17570 (after-find-file): Pass 1 to `auto-save-mode', not t.
17571
17572 * files-x.el (auto-insert): Declare.
17573 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17574
17575 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17576 variable `buf'. Mark unused parameter.
06b60517
JB
17577 (find-lisp-insert-directory): Mark unused parameter.
17578
17579 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17580 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17581 (format-common-tail): Remove, unused.
17582 (format-deannotate-region): Remove unused variable `loc'.
17583 (format-annotate-region): Remove unused variable `p'.
17584 (format-annotate-single-property-change): Remove unused variables
17585 `default' and `tail'.
17586
17587 * forms.el (read-file-filter): Declare.
17588 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17589
17590 * frame.el (frame-creation-function-alist): Mark unused parameter.
17591 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17592
17593 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17594 Remove unused parameters.
17595 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17596 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17597
17598 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17599 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17600 (hfy-prepare-tag-map): Mark unused parameters.
17601 (htmlfontify-buffer): Use `called-interactively-p'.
17602
17603 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17604 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17605 (ibuffer-do-occur): Mark unused parameters.
17606 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17607 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17608
17609 * ibuffer.el: Don't quote `lambda'.
17610 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17611 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17612 Mark unused parameters.
17613
17614 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17615 (ido-completing-read): Mark unused parameters.
17616 (ido-copy-current-word): Mark unused parameters;
17617 remove unused variable `name'.
17618 (ido-sort-merged-list): Remove unused parameter `dirs'.
17619
17620 * ielm.el (ielm-input-sender): Mark unused parameter.
17621 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17622 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17623 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17624 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17625 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17626
17627 * image-dired.el (image-dired-display-thumbs): Remove unused
17628 variables `curr-file' and `count'.
17629 (image-dired-remove-tag): Remove unused variable `start'.
17630 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17631 variable `curr-file'
17632 (image-dired-rotate-original): Remove unused variable `temp-file'.
17633 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17634 Remove unused variable `file'.
17635 (image-dired-gallery-generate): Remove unused variable `curr'.
17636 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17637
17638 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17639
17640 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17641
17642 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17643
17644 * isearch.el (minibuffer-history-symbol): Declare.
17645 (isearch-edit-string): Remove unused variable `err'.
17646 (isearch-message-prefix, isearch-message-suffix):
17647 Mark unused parameters.
17648
17649 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17650
17651 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17652
17653 * makesum.el (double-column): Remove unused variable `cnt'.
17654
17655 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17656 (ido-ignore-item-temp-list): Declare.
17657
17658 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17659 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17660 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17661 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17662 `mouse-col-delta'.
17663
17664 * mouse-sel.el (mouse-extend-internal):
17665 Remove unused variable `orig-window-frame'.
17666
17667 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17668 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17669 Move declarations before first use.
17670 (pcomplete-opt): Mark unused parameters; doc fix.
17671
17672 * proced.el (proced-revert): Mark unused parameter.
17673 (proced-send-signal): Remove unused variable `err'.
17674
17675 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17676 Rename parameter PREFIX-ARG to ARG.
17677 (ps-basic-plot-string, ps-basic-plot-whitespace):
17678 Mark unused parameters.
17679
17680 * replace.el (replace-count): Define.
17681 (occur-revert-function): Mark unused parameters.
17682 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17683 (isearch-case-fold-search, isearch-string): Declare.
17684 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17685 bind `case-fold-search'. Remove unused variables `beg' and `end',
17686 and simplify.
17687 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17688 COUNT and bind `replace-count'.
17689 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17690 to COUNT.
17691
17692 * savehist.el (print-readably, print-string-length): Declare.
17693
17694 * shadowfile.el (shadow-expand-cluster-in-file-name):
17695 Remove unused variable `cluster'.
17696 (shadow-copy-file): Remove unused variable `i'.
17697 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17698 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17699 (shadow-define-literal-group, shadow-define-regexp-group)
17700 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17701
17702 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17703 (shell): Use `called-interactively-p'.
17704 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17705
17706 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17707 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17708 (delete-backward-char): Remove unused variable `ocol'.
17709 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17710 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17711 (event-apply-hyper-modifier, event-apply-shift-modifier)
17712 (event-apply-control-modifier, event-apply-meta-modifier):
17713 Mark unused parameters.
17714 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17715 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17716
17717 * speedbar.el (speedbar-ignored-directory-expressions)
17718 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17719 (speedbar-find-file, speedbar-dir-follow)
17720 (speedbar-directory-buttons-follow, speedbar-tag-find)
17721 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17722 (speedbar-buffers-line-directory, speedbar-buffer-click):
17723 Mark unused parameters.
17724 (speedbar-tag-file): Remove unused variable `mode'.
17725 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17726
17727 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17728
17729 * talk.el (talk): Remove unused variable `display'.
17730
17731 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17732 (tar-write-region-annotate): Mark unused parameter.
17733
17734 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17735 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17736 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17737 warning by another.
17738
17739 * time-stamp.el (time-stamp-string-preprocess):
17740 Remove unused variable `require-padding'.
17741
17742 * tree-widget.el (widget-glyph-enable): Declare.
17743 (tree-widget-action): Mark unused parameter.
17744
17745 * w32-fns.el (x-get-selection): Mark unused parameter.
17746 (autoload-make-program, generated-autoload-file): Declare.
17747
17748 * wdired.el (wdired-revert): Mark unused parameters.
17749 (wdired-xcase-word): Remove unused variable `err'.
17750
17751 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17752 (whitespace-help-scroll): Remove unused variable `data-help'.
17753
17754 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17755 (widget-image-insert, widget-after-change, default)
17756 (widget-default-format-handler, widget-default-notify)
17757 (widget-default-prompt-value, widget-info-link-action)
17758 (widget-url-link-action, widget-function-link-action)
17759 (widget-variable-link-action, widget-file-link-action)
17760 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17761 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17762 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17763 (widget-insert-button-action, widget-delete-button-action, visibility)
17764 (widget-documentation-link-action, widget-documentation-string-action)
17765 (widget-const-prompt-value, widget-regexp-match, symbol)
17766 (widget-coding-system-prompt-value)
17767 (widget-key-sequence-value-to-external, sexp)
17768 (widget-sexp-value-to-internal, character, vector, cons)
17769 (widget-choice-prompt-value, widget-boolean-prompt-value)
17770 (widget-color--choose-action): Mark unused parameters.
17771 (widget-item-match-inline, widget-choice-match-inline)
17772 (widget-checklist-match, widget-checklist-match-inline)
17773 (widget-group-match): Rename parameter VALUES to VALS.
17774 (widget-field-value-set): Remove unused variable `size'.
17775 (widget-color-action): Remove unused variables `value' and `start'.
17776
17777 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17778 variable `dir'. Doc fix.
06b60517
JB
17779 (windmove-find-other-window): Don't pass it.
17780
17781 * window.el (count-windows): Mark unused parameter.
17782 (bw-adjust-window): Remove unused variable `err'.
17783
17784 * woman.el (woman-file-name): Remove unused variable `default'.
17785 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17786 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17787 (global-font-lock-mode): Declare.
17788 (woman-decode-region): Mark unused parameter.
17789 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17790
17791 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17792 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17793 (x-dnd-handle-moz-url): Remove unused variable `title'.
17794 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17795
17796 * xml.el (xml-parse-tag, xml-parse-attlist):
17797 Remove unused variable `pos'.
17798
bc4f7f3d
GM
177992011-04-19 Glenn Morris <rgm@gnu.org>
17800
17801 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17802 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17803 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17804 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17805 * calendar/cal-html.el (cal-html-insert-minical):
17806 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17807 (calendar-mark-date-pattern):
17808 Prefix "unused" locals.
17809
17810 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17811 optional argument `style'.
17812
17813 * calendar/appt.el (appt-make-list):
17814 * calendar/cal-china.el (calendar-chinese-date-string):
17815 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17816 (diary-hebrew-yahrzeit):
17817 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17818 * calendar/calendar.el (calendar-generate-window):
17819 * calendar/time-date.el (time-to-days):
17820 Remove unused local variables.
17821
16a43933
CY
178222011-04-18 Chong Yidong <cyd@stupidchicken.com>
17823
17824 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17825 glyphless-char-display table.
17826 (tabulated-list-glyphless-char-display): New var.
17827
7eed1860
SS
178282011-04-18 Sam Steingold <sds@gnu.org>
17829
17830 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17831 to acknowledgments.
17832
4d2d1ccd
GM
178332011-04-17 Glenn Morris <rgm@gnu.org>
17834
17835 * calendar/diary-lib.el (diary-sexp-entry):
17836 * calendar/holidays.el (holiday-sexp):
17837 Set debug-on-error rather than the removed stack-trace-on-error.
17838
239da61d
GM
178392011-04-16 Glenn Morris <rgm@gnu.org>
17840
17841 * progmodes/f90.el: Use lexical-binding.
17842 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17843
8b05752a
SM
178442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17845
daca8ba5
SM
17846 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17847 (mail-mode): Setup mailalias completion here instead.
17848 * mail/mailalias.el: Use lexical-binding.
17849 (pattern, mailalias-done): Declare dynamic.
17850 (mail-completion-at-point-function): New function, from mail-complete.
17851 (mail-complete): Use it.
17852 (mail-completion-expand): New function.
17853 (mail-get-names): Use it.
17854 (mail-directory, mail-directory-process, mail-directory-stream):
17855 Don't use `pattern' for lexically bound arg.
17856
6f542485
SM
17857 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17858
037e7c3f
SM
17859 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17860 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17861 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17862
8b05752a
SM
17863 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17864 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17865 (byte-interactive-p): Define them again, for use when inlining
17866 old code.
17867
49093f60
JB
178682011-04-15 Juanma Barranquero <lekktu@gmail.com>
17869
17870 * loadup.el: Use `string-to-number', not `string-to-int'.
17871
b5b8e7de
SM
178722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17873
17874 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17875 gud-gdb-complete-command.
17876 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17877 (gud-gdb-completion-at-point): New function.
17878 (gud-gdb-completions): Remove.
17879
f42efeb5
MA
178802011-04-14 Michael Albinus <michael.albinus@gmx.de>
17881
49093f60
JB
17882 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17883 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17884 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17885 whether `executable-find' is bound.
f42efeb5
MA
17886
17887 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17888
e240cc21
SM
178892011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17890
17891 * minibuffer.el (completion-in-region-mode-predicate)
17892 (completion-in-region-mode--predicate): New vars.
17893 (completion-in-region, completion-in-region--postch)
17894 (completion-in-region-mode): Use them.
17895 (completion--capf-wrapper): Also return the hook function.
17896 (completion-at-point, completion-help-at-point):
17897 Adjust and provide a predicate.
c2bd2ab0
SM
17898
17899 Preserve arg names for advice of subr and lexical functions (bug#8457).
17900 * help-fns.el (help-function-arglist): Consolidate the subr and
17901 new-byte-code cases. Add argument `preserve-names' to extract names
17902 from the docstring when needed.
17903 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17904 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17905 (ad-arglist): Use help-function-arglist's new arg.
17906 (ad-definition-type): Use cond.
17907
c183f693
JB
179082011-04-13 Juanma Barranquero <lekktu@gmail.com>
17909
06641a47
JB
17910 * autorevert.el (auto-revert-handler):
17911 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17912 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17913 Don't quote lambda.
17914
c183f693
JB
17915 * image-mode.el (image-transform-set-scale):
17916 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17917
1e3b6001
G
179182011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17919
17920 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17921 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17922 Upgrades via gnutls-cli are too slow to be done opportunistically.
17923
2d6af8dd
JB
179242011-04-12 Juanma Barranquero <lekktu@gmail.com>
17925
17926 * dframe.el (dframe-current-frame): Remove spurious quote.
17927
c0749a51
GM
179282011-04-12 Glenn Morris <rgm@gnu.org>
17929
088d0d61
GM
17930 * calendar/cal-tex.el (cal-tex-end-document):
17931 Try to automatically use latin1 input if needed.
17932
c0749a51
GM
17933 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17934 Don't try to cons a mark onto an empty element.
17935
5c90fde0
LL
179362011-04-11 Leo Liu <sdl.web@gmail.com>
17937
17938 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17939 buffers.
17940 (ido-kill-buffer-at-head): Support killing virtual buffers.
17941
369e974d
CY
179422011-04-10 Chong Yidong <cyd@stupidchicken.com>
17943
17944 * minibuffer.el (completion-show-inline-help): New var.
17945 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17946 (minibuffer-force-complete, minibuffer-complete-word):
17947 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17948
17949 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17950 to avoid interference from inline help (Bug#5849).
17951
37f1c930
LL
179522011-04-10 Leo Liu <sdl.web@gmail.com>
17953
099c39a4
JB
17954 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17955 Fix typo.
37f1c930 17956
a32d4040
CY
179572011-04-09 Chong Yidong <cyd@stupidchicken.com>
17958
17959 * image-mode.el (image-toggle-display-image): Signal an error if
17960 not in Image mode.
17961 (image-transform-mode, image-transform-resize)
17962 (image-transform-set-rotation): Doc fix.
daca8ba5 17963 (image-transform-set-resize): Delete.
a32d4040
CY
17964 (image-transform-set-scale, image-transform-fit-to-height)
17965 (image-transform-fit-to-width): Handle image-toggle-display-image
17966 and image-transform-resize directly.
17967
099c39a4 179682011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17969
17970 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17971 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17972 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17973 (doc-view-mode-map): Add bindings for the new functions.
17974
099c39a4 179752011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17976
4d61f28d 17977 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17978 Fix typo in docstring.
17979
3726838a
EZ
179802011-04-08 Eli Zaretskii <eliz@gnu.org>
17981
04f33f1e
EZ
17982 * files.el (file-size-human-readable): Produce one digit after
17983 decimal, like "ls -lh" does.
17984
17985 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17986 the file size representation.
17987
3726838a
EZ
17988 * simple.el (list-processes): If async subprocesses are not
17989 available, error out with a clear error message.
17990
cbb59342
CY
179912011-04-08 Chong Yidong <cyd@stupidchicken.com>
17992
17993 * help.el (help-form-show): New function, to be called from C.
17994 Put help-form output in a buffer named differently than *Help*.
17995
e3971c44
EZ
179962011-04-08 Eli Zaretskii <eliz@gnu.org>
17997
17998 * files.el (file-size-human-readable): New function.
17999
18000 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18001 computing the representation inline. Don't require `cl'.
18002
12544bbe
GM
180032011-04-08 Glenn Morris <rgm@gnu.org>
18004
a1de6c6a
GM
18005 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18006
3c4671f4
GM
18007 * net/browse-url.el (browse-url-firefox):
18008 Test system-type, not system-configuration.
18009
b605679c
GM
18010 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18011 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18012 Use log-edit-empty-buffer-p. (Bug#7598)
18013
56442f0c
GM
18014 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18015 (rlogin-mode-map): Initialize in the defvar.
18016 (rlogin): Use ignore-errors.
18017
12544bbe
GM
18018 * replace.el (occur-mode-map): Some fixes for menu items.
18019
eb237b0f
AH
180202011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18021
18022 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18023
7d668f2c
CY
180242011-04-06 Chong Yidong <cyd@stupidchicken.com>
18025
e67a13ab
CY
18026 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18027 issuing unused warnings.
18028
18029 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18030 macro directly.
18031
7d668f2c
CY
18032 * simple.el: Lisp reimplement of list-processes. Based on an
18033 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18034 (process-menu-mode): New major mode.
18035 (list-processes--refresh, list-processes):
18036 (process-menu-visit-buffer): New functions.
18037
18038 * files.el (save-buffers-kill-emacs): Don't assume any return
18039 value of list-processes, which is undocumented anyway.
18040
a83ec3c9
CY
180412011-04-06 Chong Yidong <cyd@stupidchicken.com>
18042
18043 * emacs-lisp/tabulated-list.el: New file.
18044
e91a96fe
CY
18045 * emacs-lisp/package.el: Use Tabulated List mode.
18046 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18047 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18048 table format using Tabulated List mode variables.
18049 (package--push): New macro, replacing package-list-maybe-add.
18050 (package-menu--generate): Use package--push. Renamed from
18051 package--generate-package-list.
18052 (package-menu-refresh, list-packages): Use it.
daca8ba5 18053 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18054 Return insertion data instead of inserting it directly.
099c39a4
JB
18055 (package-menu-describe-package, package-menu-execute):
18056 Use tabulated-list-get-id.
e91a96fe
CY
18057 (package-menu-mark-delete, package-menu-mark-install)
18058 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18059 (package-menu-mark-obsolete-for-deletion):
18060 Use tabulated-list-put-tag.
e91a96fe
CY
18061 (package--list-packages, package-menu-revert)
18062 (package-menu-get-package, package-menu-get-version)
18063 (package-menu-sort-by-column): Functions deleted.
18064 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18065 (package-menu--status-predicate, package-menu--version-predicate)
18066 (package-menu--name-predicate)
18067 (package-menu--description-predicate): Handle arguments in the
18068 Tabulated List format.
18069 (package-list-packages-no-fetch): Call list-packages.
18070
3e214b50
JB
180712011-04-06 Juanma Barranquero <lekktu@gmail.com>
18072
18073 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18074 (after-find-file): Don't bind it.
3e214b50
JB
18075 (revert-buffer-in-progress-p): New variable.
18076 (revert-buffer): Bind it.
18077 Pass nil for `after-find-file-from-revert-buffer'.
18078
18079 * saveplace.el (save-place-find-file-hook): Use new variable
18080 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18081
3f0f1700
GM
180822011-04-06 Glenn Morris <rgm@gnu.org>
18083
c0274801
GM
18084 * Makefile.in (AUTOGEN_VCS): New variable.
18085 (autoloads): Use $AUTOGEN_VCS.
18086
3f0f1700
GM
18087 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18088 * calendar/calendar.el (calendar-mode-map):
18089 Check for toolkit scroll bars. (Bug#8305)
18090
41ea9e48
CY
180912011-04-05 Chong Yidong <cyd@stupidchicken.com>
18092
18093 * minibuffer.el (completion-in-region--postch)
18094 (completion-in-region-mode): Remove unnecessary messages.
18095
6194c800
JB
180962011-04-05 Juanma Barranquero <lekktu@gmail.com>
18097
33256f14
JB
18098 * font-lock.el (font-lock-refresh-defaults):
18099 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18100 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18101
6194c800
JB
18102 * info.el (Info-directory-list, Info-read-node-name-2)
18103 (Info-split-parameter-string): Doc fixes.
18104 (Info-virtual-nodes): Reflow docstring.
18105 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18106 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18107 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18108 Fix typos in docstrings.
18109 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18110 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18111 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18112 (Info-restore-desktop-buffer): Mark unused parameters.
18113 (Info-directory-find-file, Info-directory-find-node)
18114 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18115 (Info-virtual-index-find-node, Info-apropos-find-file)
18116 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18117 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18118 (Info-virtual-index): Remove unused local variable `nodename'.
18119
b87a8200 181202011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18121
b87a8200
DD
18122 * net/rcirc.el: Update my e-mail address.
18123 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18124
3b2ff876
CY
181252011-04-05 Chong Yidong <cyd@stupidchicken.com>
18126
18127 * startup.el (command-line): Save the cursor's theme-face
18128 directly, instead of using face-override-spec.
18129
18130 * custom.el (load-theme): Minor optimization in assigning faces.
18131
8d17e7ca
JB
181322011-04-04 Juanma Barranquero <lekktu@gmail.com>
18133
18134 * help-fns.el (describe-variable): Complete all variables having
18135 documentation, including keywords.
18136 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18137
2fbc1934
JB
181382011-04-04 Juanma Barranquero <lekktu@gmail.com>
18139
18140 Convert to lexical-binding.
18141
18142 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18143 (bs--get-marked-string, bs--get-modified-string)
18144 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18145 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18146 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18147
18148 * ehelp.el (electric-help-execute-extended)
18149 (electric-help-ctrl-x-prefix):
18150 * hexl.el (hexl-revert-buffer-function):
18151 * linum.el (linum-after-change, linum-after-scroll):
18152 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18153
18154 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18155
74f50695
DU
181562011-04-04 Daiki Ueno <ueno@unixuser.org>
18157
18158 * epa-dired.el:
18159 * epa-mail.el:
18160 * epa-hook.el:
18161 * epa-file.el:
18162 * epa.el:
18163 * epg.el: Use lexical binding.
18164
c11325f7
CY
181652011-04-03 Chong Yidong <cyd@stupidchicken.com>
18166
0d9e9a12
CY
18167 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18168
c11325f7 18169 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18170 dictionary case for flyspell-mark-duplications-exceptions.
18171 Use regexp matching for languages.
c11325f7
CY
18172 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18173 default dictionary (Bug#7926).
18174
da91b5f2
CY
181752011-04-02 Chong Yidong <cyd@stupidchicken.com>
18176
099c39a4
JB
18177 * emacs-lisp/package.el (package--with-work-buffer):
18178 Recognize https URLs.
da91b5f2 18179
099c39a4
JB
18180 * net/network-stream.el: Move from gnus/proto-stream.el.
18181 Change prefix to network-stream throughout.
da91b5f2
CY
18182 (open-protocol-stream): Merge into open-network-stream, leaving
18183 open-protocol-stream as an alias. Handle nil BUFFER args.
18184
18185 * subr.el (open-network-stream): Move to net/network-stream.el.
18186
afa8e9f6
GM
181872011-04-02 Glenn Morris <rgm@gnu.org>
18188
1d2e369d
GM
18189 * find-dired.el (find-exec-terminator): New option.
18190 (find-ls-option): Test for -ls support.
18191 (find-ls-subdir-switches): Test for -b in find-ls-option.
18192 (find-dired, find-grep-dired): Doc fixes.
18193 (find-dired): Use find-exec-terminator.
18194
8abb7da8 18195 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18196 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18197 (find-name-arg): Remove purecopy.
8abb7da8 18198
f3ca7378
GM
18199 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18200 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18201 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18202 accordingly. Don't add the null-device if not needed.
18203
afa8e9f6
GM
18204 * files.el (save-some-buffers): Doc fix.
18205
35eae264
EZ
182062011-04-02 Eli Zaretskii <eliz@gnu.org>
18207
18208 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18209
26b51db5
JB
182102011-04-01 Juanma Barranquero <lekktu@gmail.com>
18211
18212 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18213 Use `dolist' rather than `mapcar'.
18214
7200d79c
SM
182152011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18216
03408648 18217 Add lexical binding.
7200d79c 18218
03408648
SM
18219 * subr.el (apply-partially): Use new closures rather than CL.
18220 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18221 (dolist, dotimes): Use slightly different expansion for lexical code.
18222 (functionp): Move to C.
18223 (letrec): New macro.
18224 (with-wrapper-hook): Use it and apply-partially instead of CL.
18225 (eval-after-load): Preserve lexical-binding.
18226 (save-window-excursion, with-output-to-temp-buffer): Turn them
18227 into macros.
7200d79c 18228
03408648
SM
18229 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18230
18231 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18232 than the arglist.
18233 (help-add-fundoc-usage): Don't add `Not documented'.
18234 (help-function-arglist): Handle closures, subroutines, and new
18235 byte-code-functions.
18236 (help-make-usage): Remove leading underscores.
18237 (describe-function-1): Handle closures.
18238 (describe-variable): Use special-variable-p for completion.
18239
18240 * files.el (lexical-binding): Declare safe.
f488fb65 18241
03408648
SM
18242 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18243 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18244 (pcase): Add `let' pattern.
18245 Change memoization so it actually works.
18246 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18247 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18248 <let>: New case.
f488fb65 18249
03408648
SM
18250 * emacs-lisp/macroexp.el: Use lexical binding.
18251 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18252 Don't convert ' to #' without checking that it's indeed quoting
18253 a lambda.
18254
18255 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18256 Use eval-sexp-add-defvars.
03408648
SM
18257 (eval-sexp-add-defvars): New fun.
18258
18259 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18260
18261 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18262 Don't autoload.
18263 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18264 than the internal `byte-compile-lambda'.
18265 (defmethod): Don't hide code under quotes.
18266 (eieio-defmethod): New `code' argument.
18267
18268 * emacs-lisp/eieio-comp.el: Remove.
18269
18270 * emacs-lisp/edebug.el (edebug-eval-defun)
18271 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18272 (edebug-toggle): Avoid `eval'.
18273
18274 * emacs-lisp/disass.el (disassemble-internal): Handle new
18275 `closure' objects.
18276 (disassemble-1): Handle new byte codes.
18277
18278 * emacs-lisp/cl.el (pushnew): Silence warning.
18279
18280 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18281 (cl-byte-compile-throw): Remove.
18282 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18283
18284 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18285 closures.
18286
18287 * emacs-lisp/cconv.el: New file.
18288
18289 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18290 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18291 (byte-compile-initial-macro-environment):
18292 Handle declare-function here.
18293 (byte-compile--lexical-environment): New var.
18294 (byte-stack-ref, byte-stack-set, byte-discardN)
18295 (byte-discardN-preserve-tos): New lap codes.
18296 (byte-interactive-p): Don't use any more.
18297 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18298 New macros.
18299 (byte-compile-lapcode): Use them and handle new lap codes.
18300 (byte-compile-obsolete): Remove.
18301 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18302 (byte-compile-arglist-warn): Check late def of inlinable funs.
18303 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18304 since they should have been expanded by now.
18305 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18306 (byte-compile-from-buffer): Remove unused second arg.
18307 (byte-compile-preprocess): New function.
18308 (byte-compile-toplevel-file-form): New function to distinguish
18309 file-form calls from outside from file-form calls from hunk-handlers.
18310 (byte-compile-file-form): Simplify.
18311 (byte-compile-file-form-defsubst): Remove.
18312 (byte-compile-file-form-defmumble): Simplify now that
18313 byte-compile-lambda always returns a byte-code-function.
18314 (byte-compile): Preprocess.
18315 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18316 Remove, not used any more.
18317 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18318 (byte-compile-make-args-desc): New funs.
18319 (byte-compile-lambda): Handle lexical functions. Always return
18320 a byte-code-function.
18321 (byte-compile-reserved-constants): New var, to make up room for
18322 closed-over variables.
18323 (byte-compile-constants-vector): Obey it.
18324 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18325 (byte-compile-macroexpand-declare-function): New function.
18326 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18327 byte-code-functions.
18328 (byte-compile-form): Check obsolescence here.
18329 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18330 (byte-compile-variable-ref): Remove.
18331 (byte-compile-dynamic-variable-op): New fun.
18332 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18333 (byte-compile-variable-set): New funs.
18334 (byte-compile-discard): Add 2 args.
18335 (byte-compile-stack-ref, byte-compile-stack-set)
18336 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18337 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18338 macroexpand-all instead.
18339 (byte-compile-quote-form): Remove.
18340 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18341 (byte-compile-bind, byte-compile-unbind): New funs.
18342 (byte-compile-let): Handle let* and lexical binding.
18343 (byte-compile-let*): Remove.
18344 (byte-compile-catch, byte-compile-unwind-protect)
18345 (byte-compile-track-mouse, byte-compile-condition-case):
18346 Handle a new :fun-body form, used for lexical scoping.
18347 (byte-compile-save-window-excursion)
18348 (byte-compile-with-output-to-temp-buffer): Remove.
18349 (byte-compile-defun): Simplify.
18350 (byte-compile-stack-adjustment): New fun.
18351 (byte-compile-out): Use it.
18352 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18353
18354 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18355 handler any more.
18356
18357 * emacs-lisp/byte-opt.el: Use lexical binding.
18358 (byte-inline-lapcode): Remove (to bytecomp).
18359 (byte-compile-inline-expand): Pay attention to inlining to/from
18360 lexically bound code.
18361 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18362 any more.
18363 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18364 any more and don't call compiler-macros.
18365 (byte-compile-splice-in-already-compiled-code): Remove.
18366 (byte-code): Don't inline any more.
18367 (disassemble-offset): Receive `bytes' as argument rather than via
18368 dynamic scoping.
18369 (byte-compile-tag-number): Declare before first use.
18370 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18371 `return' even if make-spliceable.
18372 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18373 obsolete interactive-p.
18374 (byte-optimize-lapcode): Optimize new lap-codes.
18375 Don't trip up on new form of `byte-constant' lap code.
18376
18377 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18378
18379 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18380
18381 * custom.el (custom-initialize-default, custom-declare-variable):
18382 Use `defvar'.
18383
18384 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18385 New variables.
18386 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18387 (COMPILE_FIRST): Add macroexp and cconv.
18388 * makefile.w32-in: Mirror changes in Makefile.in.
18389
18390 * vc/cvs-status.el:
18391 * vc/diff-mode.el:
18392 * vc/log-edit.el:
18393 * vc/log-view.el:
18394 * vc/smerge-mode.el:
18395 * textmodes/bibtex-style.el:
090bd7cb 18396 * textmodes/css-mode.el:
03408648
SM
18397 * startup.el:
18398 * uniquify.el:
da91b5f2
CY
18399 * minibuffer.el:
18400 * newcomment.el:
18401 * reveal.el:
18402 * server.el:
18403 * mpc.el:
18404 * emacs-lisp/smie.el:
18405 * doc-view.el:
18406 * dired.el:
03408648
SM
18407 * abbrev.el: Use lexical binding.
18408
0f0c1f27
EZ
184092011-04-01 Eli Zaretskii <eliz@gnu.org>
18410
18411 * info.el (info-display-manual): New function.
18412
c82b2579
SM
184132011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18414
18415 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18416
221ddf68
TH
184172011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18418
18419 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18420 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18421
cba6e77e
GM
184222011-03-31 Glenn Morris <rgm@gnu.org>
18423
e040639f
GM
18424 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18425
cba6e77e
GM
18426 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18427
6d0f1c9e
CS
184282011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18429
18430 * progmodes/python.el (python-default-interpreter)
18431 (python-python-command-args, python-jython-command-args)
18432 (python-which-shell, python-which-args, python-which-bufname)
18433 (python-file-queue, python-comint-output-filter-function)
18434 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18435 variables and functions.
18436
3e2d70fd
SM
184372011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18438
18439 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18440 (completion-in-region-mode): New minor mode.
18441 (completion-in-region): Use it.
18442 (completion-in-region--data, completion-in-region-mode-map): New vars.
18443 (completion-in-region--postch): New function.
18444 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18445 New vars.
18446 (completion--capf-wrapper): New function.
18447 (completion-at-point): Use it to track well-behavedness of
18448 hook functions.
18449 (completion-help-at-point): New command.
18450
f3e4086c
JM
184512011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18452
18453 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18454 syntax class to search for whitespace on a single line
18455 (Message-ID: <4D938140.4030905@redhat.com>).
18456
eb7ffc14
LL
184572011-03-30 Leo Liu <sdl.web@gmail.com>
18458
18459 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18460 New commands.
18461 (edit-abbrevs-map): Bind them here.
18462 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18463
d806ab68
KM
184642011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18465
18466 * allout.el (allout-hide-by-annotation, allout-flag-region):
18467 Reduce possibility of overlay leakage by making them volatile.
18468
18469 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18470 hash is not shared between buffers. Mode initialization is
18471 responsible for giving it a useful starting value.
18472 (allout-item-span): Reduce possibility of overlay leakage by
18473 making them volatile.
18474 (allout-widgets-count-buttons-in-region): Add diagnostic function
18475 for tracking down button overlay leaks.
18476
ea622834
LL
184772011-03-29 Leo Liu <sdl.web@gmail.com>
18478
18479 * ido.el (ido-read-internal): Use the default history var
18480 minibuffer-history if no HISTORY is specified.
18481
b62f8267
G
184822011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18483
03408648
SM
18484 * net/imap.el (imap-shell-open, imap-process-connection-type):
18485 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18486 Kerberos, SSL, other subprocesses.
18487
947b6566
LL
184882011-03-28 Leo Liu <sdl.web@gmail.com>
18489
18490 * abbrev.el (abbrev-table-empty-p): New function.
18491 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18492 nonempty ones. (Bug#5937)
18493
5ffb62aa
JD
184942011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18495
18496 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18497
7a097943
LL
184982011-03-27 Leo Liu <sdl.web@gmail.com>
18499
18500 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18501 for foreground and background colors.
18502 (ansi-color-make-color-map): Adapt.
18503
c5b40130
LL
185042011-03-25 Leo Liu <sdl.web@gmail.com>
18505
1f48f7d2
LL
18506 * midnight.el (midnight-time-float): Remove. Note it calculates
18507 the microsecond component incorrectly and seconds-to-time does the
18508 same job.
625897ec 18509 Remove redundant (require 'timer).
1f48f7d2 18510
c5b40130
LL
18511 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18512 (ido-completions): Remove unused arguments. (Bug#8329)
18513
d86d2721
SM
185142011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18515
18516 * minibuffer.el (completion--flush-all-sorted-completions):
18517 Remove itself from hook.
18518 (completion-at-point): Let the functions perform the completion
18519 immediately and return nil or t.
18520 * comint.el (comint-dynamic-complete-functions): Now identical to
18521 completion-at-point-functions.
18522 (comint-dynamic-list-input-ring): Remove unused var `index'.
18523 (comint--match-partial-filename, comint--unquote&expand-filename):
18524 New funs, split from comint-match-partial-filename.
18525 (comint-dynamic-complete): Use completion-at-point.
18526 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18527
e8974c48
DA
185282011-03-24 Drew Adams <drew.adams@oracle.com>
18529
18530 * thingatpt.el: Support `defun'.
18531
def71b5e
LL
185322011-03-23 Leo Liu <sdl.web@gmail.com>
18533
cb5af48e
LL
18534 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18535
def71b5e
LL
18536 * help-mode.el (help-mode-finish): Tweak regexp.
18537
927c53e7
GM
185382011-03-23 Glenn Morris <rgm@gnu.org>
18539
18d05bed
GM
18540 * eshell/esh-opt.el (eshell-eval-using-options):
18541 Do not bind unused local variable `eshell-option-stub'.
18542
927c53e7
GM
18543 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18544
9d0da923
JB
185452011-03-22 Juanma Barranquero <lekktu@gmail.com>
18546
18547 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18548 keymap variable in `with-no-warnings' to avoid a warning when the
18549 keymap has been already `defconst'ed.
18550
4b978a67
LL
185512011-03-22 Leo Liu <sdl.web@gmail.com>
18552
18553 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18554 encode all chars in abbrevs; otherwise use emacs-mule or
18555 utf-8-emacs. (Bug#8308)
18556
5fd62452
JB
185572011-03-22 Juanma Barranquero <lekktu@gmail.com>
18558
0b1596c6
JB
18559 * simple.el (backward-delete-char-untabify):
18560 Avoid warning about using `delete-backward-char'.
18561
5fd62452
JB
18562 * image.el (image-type-file-name-regexps): Make it variable.
18563 `imagemagick-register-types' modifies it, and the user may want
18564 to add new extensions for known image types.
18565 (imagemagick-register-types): Throw error if not using ImageMagick.
18566
0b4e93f1
LL
185672011-03-22 Leo Liu <sdl.web@gmail.com>
18568
18569 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18570 located before rcirc-prompt-end-marker.
18571 (rcirc-complete): Error if point is not after rcirc prompt.
18572 Handle the case when table is nil.
9882e214 18573 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18574
fccee4ab
CY
185752011-03-22 Chong Yidong <cyd@stupidchicken.com>
18576
18577 * custom.el (custom--inhibit-theme-enable): Make it affect only
18578 custom-theme-set-variables and custom-theme-set-faces.
18579 (provide-theme): Ignore custom--inhibit-theme-enable.
18580 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18581 (custom-enabling-themes): Delete variable.
d86d2721
SM
18582 (enable-theme): Accept only loaded themes as arguments.
18583 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18584 (custom-enabled-themes): Forbid themes from setting this.
18585 Eliminate use of custom-enabling-themes.
18586 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18587
af896da6
LL
185882011-03-21 Leo Liu <sdl.web@gmail.com>
18589
18590 * ido.el (ido-read-internal): Add ido-selected to history instead
18591 of user input.
18592
78f64af0
SM
185932011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18594
18595 * subr.el (deferred-action-list, deferred-action-function):
18596 Mark obsolete.
18597
b16ac1ec
LL
185982011-03-21 Leo Liu <sdl.web@gmail.com>
18599
810f7698
LL
18600 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18601 change on 2011-02-13 (bug#8309).
18602
b16ac1ec
LL
18603 * minibuffer.el (read-file-name-function): Change default value.
18604 (read-file-name--defaults): Rename from read-file-name-defaults.
18605 (read-file-name-default): Rename from read-file-name.
18606 (read-file-name): Call read-file-name-function.
18607
4e05e67e
GM
186082011-03-21 Glenn Morris <rgm@gnu.org>
18609
18610 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18611 Doc fixes.
18612
4359915b
CY
186132011-03-21 Chong Yidong <cyd@stupidchicken.com>
18614
18615 * cus-theme.el: Add missing provide statement.
18616 (customize-create-theme): Extract theme value correctly.
18617 (custom-theme-visit-theme): Autoload.
18618 (customize-create-theme): Prompt before inserting default faces.
18619
1fe275ee
JB
186202011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18621
18622 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18623 units and musical notes.
18624
cd394be1 186252011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18626
18627 * ido.el (ido-read-internal): Use completing-read-default.
18628 (ido-completing-read): Fix compatibility with completing-read.
18629
7d476bde
CO
186302011-03-20 Christian Ohler <ohler@gnu.org>
18631
18632 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18633 (ert-delete-all-tests): Use `called-interactively-p' rather than
18634 `interactive-p'.
18635 (ert--make-xrefs-region): Respect END.
18636
fe0fb33e
CY
186372011-03-19 Chong Yidong <cyd@stupidchicken.com>
18638
ff854b0b
CY
18639 * dired-aux.el (dired-create-directory): Signal an error if the
18640 directory already exists (Bug#8246).
18641
fe0fb33e
CY
18642 * facemenu.el (list-colors-display): Call list-faces-display
18643 inside with-help-window.
18644 (list-colors-print): Use display property to align the final
18645 column, instead of checking window-width.
18646
576bce32
EZ
186472011-03-19 Eli Zaretskii <eliz@gnu.org>
18648
4d61f28d 18649 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18650 windows-nt systems.
18651 (emerge-protect-metachars): Quote correctly for ms-dos and
18652 windows-nt systems.
18653
89c41d68 186542011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18655
18656 * info.el (info-initialize): Replace all uses of `:' with
18657 path-separator for compatibility with non-Unix systems.
18658 Cache quoting of path-separator. (Bug#8258)
18659
b14e3e21 186602011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18661
18662 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18663 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18664 (mouse-avoidance-mode): Fix typos in docstrings.
18665
4525ce3e
CY
186662011-03-19 Chong Yidong <cyd@stupidchicken.com>
18667
18668 * startup.el (package-subdirectory-regexp): Move from package.el.
18669 Omit \\` and \\', and let callers add them.
18670
18671 * emacs-lisp/package.el (package-strip-version)
18672 (package-load-all-descriptors): Add \\` and \\' to
18673 package-subdirectory-regexp before using it.
18674 (package-untar-buffer): New arg DIR; ensure that file untars only
18675 into this expected directory. Remove superfluous delete-region.
18676 (package-unpack): Caller changed.
18677 (package-tar-file-info): Use package-subdirectory-regexp.
18678
a904a09a 186792011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18680
a904a09a
SM
18681 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18682 diff-mode-shared-map (bug#8284).
18683 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18684
186852011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18686
18687 * calendar/time-date.el (format-seconds): Use assoc instead of
18688 assoc-string, since assoc-string doesn't exist in XEmacs.
18689
171fc304
JB
186902011-03-17 Juanma Barranquero <lekktu@gmail.com>
18691
18692 * custom.el (custom-known-themes): Reflow docstring.
18693 (custom-theme-load-path): Fix typo in docstring.
18694 (load-theme): Fix typo in error message.
18695 (custom-available-themes, custom-variable-theme-value):
18696 Use `let', not `let*'.
18697
d71990a1
JB
186982011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18699
18700 * calc/README: Mention inclusion of musical notes.
18701
18702 * calc/calc-units.el (calc-lu-quant): Rename from
18703 `calc-logunits-quantity'.
18704 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18705 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18706 (calc-db): Rename from `calc-dblevel'.
18707 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18708 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18709 (calc-np): Rename from `calc-nplevel'.
18710 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18711 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18712 (calc-lu-plus): Rename from `calc-logunits-add'.
18713 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18714 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18715 (calc-lu-minus): Rename from `calc-logunits-sub'.
18716 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18717 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18718 (calc-lu-times): Rename from `calc-logunits-mul'.
18719 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18720 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18721 (calc-lu-divide): Rename from `calc-logunits-div'.
18722 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18723 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18724
18725 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18726 functions being autoloaded.
18727
18728 * calc/calc.el (calc-lu-power-reference): Rename from
18729 `calc-logunits-power-reference'.
18730 (calc-lu-field-reference): Rename from
18731 `calc-logunits-field-reference'.
18732
7a71b18d
GM
18733 * calc/calc-help.el (calc-l-prefix-help):
18734 Mention musical note functions.
d71990a1 18735
40c2934b
SM
187362011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18737
18738 * minibuffer.el (completion-all-sorted-completions):
18739 Use :completion-cycle-penalty text property if present.
18740
b0911414
KM
187412011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18742
18743 * allout.el (allout-yank-processing): Adjust for new rebulleting
18744 regime so bullet being yanked is used without prompting the user
18745 for a choice.
18746
8a05b668
JB
187472011-03-16 Juanma Barranquero <lekktu@gmail.com>
18748
18749 * startup.el (command-line): Warn the user that _emacs is deprecated.
18750
5ba5fb81
JB
187512011-03-16 Juanma Barranquero <lekktu@gmail.com>
18752
18753 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18754 (delphi-verbose, delphi-comment-face, delphi-string-face)
18755 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18756 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18757 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18758 (delphi-new-comment-line, delphi-font-lock-defaults)
18759 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18760 Fix typos in docstrings.
18761
2dab465b
KM
187622011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18763
5ba5fb81 18764 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18765 Invert the roles of character and string values for INSTEAD, so a
18766 string is used for the more common case of a defaulting prompt.
18767
0adf5618
SM
187682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18769
18770 * progmodes/ruby-mode.el (ruby-backward-sexp):
18771 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18772 * play/gamegrid.el (gamegrid-make-face):
18773 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18774 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18775 * notifications.el (notifications-notify):
18776 * net/xesam.el (xesam-search-engines):
18777 * net/quickurl.el (quickurl-list-insert):
18778 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18779
d72700e5
CY
187802011-03-15 Chong Yidong <cyd@stupidchicken.com>
18781
18782 * startup.el (command-line): Update package subdirectory regexp.
18783
49c5410a
SM
187842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18785
c6eee9aa
SM
18786 * allout.el (allout-abbreviate-flattened-numbering)
18787 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18788
49c5410a
SM
18789 * subr.el (read-char-choice): Only show the cursor after the prompt,
18790 not after the answer.
18791
047b2bb9
KR
187922011-03-15 Kevin Ryde <user42@zip.com.au>
18793
18794 * help-fns.el (variable-at-point): Skip leading quotes, if any
18795 (bug#8253).
18796
0a57d256
SM
187972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18798
18799 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18800 warning message.
18801
77c992bc
MA
188022011-03-14 Michael Albinus <michael.albinus@gmx.de>
18803
18804 * shell.el (shell): When called interactively, offer to change the
18805 shell file name on remote hosts.
18806
eebc475d
TZ
188072011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18808
18809 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18810 integration for LDAP parameters. The host, base, user or binddn,
18811 and secret tokens can be specified in a netrc file, for instance.
18812 This is optional because an `auth-source' parameter must be
18813 specified in the search attributes.
18814
9d05d1ba
JB
188152011-03-13 Juanma Barranquero <lekktu@gmail.com>
18816
18817 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18818
09d9db2c
GM
188192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18822 into declaration. Remove redundant and harmful binding.
18823
188242011-03-12 Eli Zaretskii <eliz@gnu.org>
18825
18826 * files.el (file-ownership-preserved-p): Pass `integer' as an
18827 explicit 2nd argument to `file-attributes'. If the file's owner
18828 is the Administrators group on Windows, and the current user is
18829 Administrator, consider that a match.
18830
18831 * server.el (server-ensure-safe-dir): Consider server directory
18832 safe on MS-Windows if its owner is the Administrators group while
18833 the current Emacs user is Administrator. Use `=' to compare
18834 numerical UIDs, since they could be integers or floats.
18835
219bd536
JB
188362011-03-12 Juanma Barranquero <lekktu@gmail.com>
18837
18838 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18839
f3afd36b
MA
188402011-03-12 Michael Albinus <michael.albinus@gmx.de>
18841
18842 Sync with Tramp 2.2.1.
18843
18844 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18845
18846 * net/trampver.el: Update release number.
18847
3aaaa6f1
SM
188482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18849
94642599
SM
18850 * progmodes/compile.el (compilation--previous-directory): Fix up
18851 various nil/dead-marker mismatches (bug#8014).
18852 (compilation-directory-properties, compilation-error-properties):
18853 Don't call it at a position past the one we're about to change.
18854
3aaaa6f1
SM
18855 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18856 Disable obsolescence warnings in the file that declares it.
18857
14239447
KM
188582011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18859
099c39a4
JB
18860 * allout-widgets.el (allout-widgets-tally):
18861 Initialize allout-widgets-tally as a hash table rather than nil to
18862 prevent mode-line redisplay warnings. Also, clarify the module
18863 description and fix a comment typo.
14239447 18864
135e287c
JB
188652011-03-11 Juanma Barranquero <lekktu@gmail.com>
18866
18867 * help-fns.el (describe-variable): Don't complete keywords.
18868 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18869
ffbf300e
CY
188702011-03-10 Chong Yidong <cyd@stupidchicken.com>
18871
ba08b241
CY
18872 * emacs-lisp/package.el (package-version-join): Impose a standard
18873 string representation for pre/alpha/beta version lists.
18874 (package-unpack-single): Standardize the directory name by passing
18875 it through package-version-join.
18876 (package-strip-rcs-id): Accept any version string that does not
18877 signal an error in version-to-list.
ffbf300e 18878
f346fd6b
MA
188792011-03-10 Michael Albinus <michael.albinus@gmx.de>
18880
18881 * simple.el (delete-trailing-whitespace): Return nil for the
18882 benefit of `write-file-functions'.
18883
ccb55d27
GM
188842011-03-10 Glenn Morris <rgm@gnu.org>
18885
5ceaac0c
GM
18886 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18887
02da65ff
GM
18888 * vc/vc-git.el (vc-git-program): New option.
18889 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18890 (vc-git--call): Use it.
18891
b2f603cc
GM
18892 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18893
5772caab
GM
18894 * cus-edit.el (Custom-newline): If no button at point, look
18895 for a subgroup button at start-of-line. (Bug#2298)
18896
ccb55d27
GM
18897 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18898
ec6ecaed
JD
188992011-03-10 Julien Danjou <julien@danjou.info>
18900
18901 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18902 `cursor-type' is nil.
18903
9d5aa01d
JB
189042011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18905
18906 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18907
b6a5875b
KM
189082011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18909
7a71b18d 18910 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18911 preserves the existing header prefix, rebulleting it if necessary,
18912 rather than replacing it. This is necessary for proper operation
18913 of cooperative addons like allout-widgets.
1154d12e
JB
18914 (allout-make-topic-prefix, allout-rebullet-heading):
18915 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18916 value as alternate bullet to be used, instead of prompting the user
18917 for a bullet character.
b6a5875b 18918
ee545c35
MA
189192011-03-09 Michael Albinus <michael.albinus@gmx.de>
18920
d86d2721
SM
18921 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18922 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18923 `tramp-default-port'.
18924
c47971d7
DD
189252011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18926
18927 * net/rcirc.el (rcirc-handler-001): Remove useless
18928 with-rcirc-process-buffer.
18929 (rcirc-check-auth-status): Swap arguments to string-match.
18930
13522cb4
GM
189312011-03-09 Glenn Morris <rgm@gnu.org>
18932
0be6f4f1
GM
18933 * shell.el (shell-mode):
18934 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18935
13522cb4
GM
18936 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18937 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18938
515de2e3
CY
189392011-03-08 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * emacs-lisp/package.el (package-refresh-contents)
18942 (package-menu-execute): Use condition-case-no-debug.
18943
b511b994
MA
189442011-03-08 Michael Albinus <michael.albinus@gmx.de>
18945
18946 * simple.el (shell-command-to-string): Use `process-file'.
18947
18948 * emacs-lisp/package.el (package-tar-file-info): Handle also
18949 remote files.
18950
d86d2721
SM
18951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18952 Use `equal' for upload base check.
b511b994 18953
25bbfb31
AM
189542011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18955
18956 * textmodes/texinfo.el (texinfo-environments):
18957 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18958
be996521
GM
189592011-03-08 Glenn Morris <rgm@gnu.org>
18960
e9c8529f
GM
18961 * cus-start.el (cursor-in-non-selected-windows):
18962 Fix :set quoting oddness. (Bug#8192)
18963
be996521
GM
18964 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18965 in some setf expressions. (Bug#2159)
18966
2bb5649e
CY
189672011-03-08 Chong Yidong <cyd@stupidchicken.com>
18968
18969 * custom.el (custom-available-themes): Return themes in
18970 alphabetical order.
18971
33383987 18972See ChangeLog.15 for earlier changes.
e3d51b27
MR
18973
18974;; Local Variables:
18975;; coding: utf-8
e3d51b27
MR
18976;; End:
18977
acaf905b 18978 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18979
18980 This file is part of GNU Emacs.
18981
18982 GNU Emacs is free software: you can redistribute it and/or modify
18983 it under the terms of the GNU General Public License as published by
18984 the Free Software Foundation, either version 3 of the License, or
18985 (at your option) any later version.
18986
18987 GNU Emacs is distributed in the hope that it will be useful,
18988 but WITHOUT ANY WARRANTY; without even the implied warranty of
18989 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18990 GNU General Public License for more details.
18991
18992 You should have received a copy of the GNU General Public License
18993 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.