Remove several obsolete vars and functions unlikely to be still in use.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6c27f0f8
CY
12012-09-24 Chong Yidong <cyd@gnu.org>
2
a5f2b6ec
CY
3 * iswitchb.el (iswitchb-read-buffer): Move
4 iswitchb-define-mode-map code here, and delete that obsolete
5 function.
6
7 * mail/supercite.el (sc-version): Remove obsolete function.
8 (sc-describe): Don't mark as obsolete, since it is bound.
9 (sc-submit-bug-report): Remove.
10
11 * vc/log-edit.el (cvs-changelog-full-paragraphs)
12 (cvs-commit-buffer-require-final-newline): Remove.
13
14 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
15 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
16 * vc/vc.el (vc-checkout-carefully): Likewise.
17
18 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
19 (emerge-version): Remove.
20
21 * progmodes/compile.el (compile-internal): Remove.
22 (compilation-parse-errors-function): Fix typo.
23
24 * international/mule.el (set-char-table-default): Remove.
25 (set-coding-priority, make-coding-system, generic-char-p)
26 (charset-list, charset-bytes, charset-id): Use declare to mark
27 functions as obsolete.
28
29 * vc/pcvs-defs.el (cvs-buffer-name-alist)
30 (cvs-invert-ignore-marks): Remove references to obsolete vars.
31 * vc/vc-hooks.el (vc-default-registered): Don't use
32 vc-master-templates.
33
6c27f0f8
CY
34 * font-lock.el (font-lock-reference-face): Use
35 define-obsolete-variable-alias.
36
37 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
38 * calendar/calendar.el (calendar-font-lock-keywords):
39 * calendar/diary-lib.el (diary-font-lock-keywords)
40 (diary-fancy-font-lock-keywords):
41 * textmodes/reftex-sel.el (reftex-insert-docstruct):
42 * textmodes/reftex-index.el (reftex-insert-index):
43 * textmodes/reftex-cite.el (reftex-format-bib-entry):
44 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
45 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
46 * progmodes/prolog.el (prolog-font-lock-keywords):
47 * progmodes/idlwave.el (idlwave-idl-keywords):
48 * progmodes/ada-mode.el (ada-font-lock-keywords):
49 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
50
bcc0adbf
GM
512012-09-24 Glenn Morris <rgm@gnu.org>
52
53 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
54
095bb823
FEG
552012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
56
57 * progmodes/python.el (python-indent-line): More consistent cursor
58 movement behavior.
59
70efc5c9
SM
602012-09-23 Stefan Merten <smerten@oekonux.de>
61
62 * textmodes/rst.el: Fix compiler warning.
63
2f438239
RW
642012-09-23 Roland Winkler <winkler@gnu.org>
65
66 * textmodes/bibtex.el (bibtex-autokey-transcriptions): Transcribe
67 also LaTeX hyphenation.
68 (bibtex-reformat): Bug fix. Do not quote twice the elements of
69 bibtex-reformat-previous-options.
70
936ad041
RW
712012-09-23 Roland Winkler <winkler@gnu.org>
72
73 * proced.el (proced-renice-command): New variable.
74 (proced-marked-processes): New function.
75 (proced-with-processes-buffer): New macro.
76 (proced-send-signal): Use them.
77 (proced-renice): New command bound to r.
78
6fab0274
RW
792012-09-23 Roland Winkler <winkler@gnu.org>
80
81 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
82 ibuffer-saved-filter-groups has one element, shortcut the call of
83 completing-read. (Bug#12331)
84
9a930676
CY
852012-09-23 Chong Yidong <cyd@gnu.org>
86
87 * bindings.el (mode-line-toggle-read-only):
88 * bs.el (bs-toggle-readonly):
89 * buff-menu.el (Buffer-menu-toggle-read-only):
90 * dired.el (dired-toggle-read-only):
91 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
92
d07ff9db
CY
932012-09-23 Chong Yidong <cyd@gnu.org>
94
95 * image.el (image-type-available-p): Adapt to init-image-library
96 argument changes.
97
51c4474e
JL
982012-09-22 Juri Linkov <juri@jurta.org>
99
100 * dired.el (dired-mode-map): Add [remap read-only-mode] for
101 `dired-toggle-read-only'. (Bug#12462)
102
43bf5e8e
MR
1032012-09-22 Martin Rudalics <rudalics@gmx.at>
104
105 * subr.el (temp-output-buffer-show): New function.
106 (with-output-to-temp-buffer): Call temp-output-buffer-show
107 instead of internal-temp-output-buffer-show.
108
c88b867f
CY
1092012-09-22 Chong Yidong <cyd@gnu.org>
110
3df47cd5
CY
111 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
112 (Bug#12462).
113
c88b867f
CY
114 * repeat.el (repeat): Doc fix (Bug#12348).
115
116 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
117 (Bug#10909).
118
119 * simple.el (shell-command-on-region): Doc fix.
3171e303 120 (read-only-mode): Doc fix.
c88b867f 121
df9685f3
EZ
1222012-09-22 Eli Zaretskii <eliz@gnu.org>
123
124 * emacs-lisp/timer.el (run-with-idle-timer)
125 (timer-activate-when-idle): Warn against reinvoking an idle timer
126 from within its own timer action. (Bug#12447)
127
8e17c9ba
MR
1282012-09-22 Martin Rudalics <rudalics@gmx.at>
129
130 * cus-start.el (window-combination-limit): Add new optional
131 values.
132 * window.el (temp-buffer-window-show)
133 (window--try-to-split-window): Handle new values of
134 window-combination-limit (Bug#1806).
135 (split-window): Test window-combination-limit for t instead of
136 non-nil.
137 (display-buffer-at-bottom): New buffer display action function.
138 * help.el (temp-buffer-resize-regexps): New option.
139 (temp-buffer-resize-mode): Rewrite doc-string.
140 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 141 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 142
48a24920
SM
1432012-09-22 Stefan Merten <smerten@oekonux.de>
144
70efc5c9 145 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
146 (rst-official-version)
147 (rst-package-emacs-version-alist): Sync with official version
148 V1.4.0.
149 (rst-faces-defaults, rst-set-level-default)
150 (rst-level-face-max, rst-level-face-base-color)
151 (rst-level-face-base-light, rst-level-face-format-light)
152 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
153 (rst-adornment-faces-alist): Match new setup.
154 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
155 (rst-level-5, rst-level-6): New faces.
156
82f8cd94
CY
1572012-09-22 Chong Yidong <cyd@gnu.org>
158
159 * simple.el (undo): Handle indirect buffers (Bug#8207).
160
acfa068f 1612012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
162
163 IDO: Disable match re-ordering for buffer switching.
2bc9406c 164 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
165 (ido-set-matches-1): Use it. (Bug#2042)
166
acfa068f 1672012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
168
169 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
170 Fix 2011-05-17 change. (Bug#12418)
171
acfa068f 1722012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
173
174 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
175
acfa068f 1762012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
177
178 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
179 Be more robust about locating simple.el.
180
acfa068f 1812012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
182
183 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
184
acfa068f
CY
1852012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
186
187 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
188
41a97e6f
JL
1892012-09-20 Juri Linkov <juri@jurta.org>
190
eb2deaff
JL
191 * replace.el (query-replace-read-from): Use `read-regexp' instead
192 of `read-from-minibuffer' when `regexp-flag' is non-nil.
193 (occur-read-primary-args): Use `read-regexp' instead of
194 `read-string'.
195 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
196 `read-from-minibuffer'.
197 * isearch.el (isearch-occur): Use `read-regexp' instead of
198 `read-string'.
199 * dired.el (dired-read-regexp): Use `read-regexp' instead of
200 `read-from-minibuffer'.
201 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
202 of `read-string'. (Bug#7567)
203
5825610b
JL
204 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
205 and allow accepting a list of strings prepended to a list of
206 standard default values. Doc fix. (Bug#12321)
207
eebbf404
JL
208 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
209
41a97e6f
JL
210 * replace.el (read-regexp): Don't add ": " when PROMPT already
211 ends with a colon and space. (Bug#12321)
212
c9e452d3
TH
2132012-09-20 Tassilo Horn <tsdh@gnu.org>
214
215 * doc-view.el (doc-view-display): Better fix for the cl-assertion
216 error.
217
ee97deee
SM
2182012-09-20 Stefan Merten <smerten@oekonux.de>
219
70efc5c9 220 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
221 Fixes feature request bug#11711.
222 (rst-mode): Create `imenu-create-index-function'.
223 (rst-get-stripped-line): Delete after refactoring.
224 (rst-section-tree, rst-section-tree-rec)
225 (rst-section-tree-point): Refactor and document properly.
226 (rst-imenu-find-adornments-for-position)
227 (rst-imenu-convert-cell, rst-imenu-create-index): New
228 function.
229
f490dab9
SM
2302012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
231
95b9712e
SM
232 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
233 (macroexp--expand-all): Use it.
234 (macroexp--funcall-and-return): Remove by folding it into its sole
235 caller (macroexp--warn-and-return).
236 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
237 Use macroexp--obsolete-warning.
238
f490dab9
SM
239 * calc/calc.el: Fix last change by removing the whole chunk, since it
240 was only needed back when Calc was not bundled.
241
96e8d411
MR
2422012-09-20 Martin Rudalics <rudalics@gmx.at>
243
244 * emacs-lisp/debug.el (debug): Restore assignment to
245 debugger-old-buffer removed on 2012-09-08.
246
0876a82d
JL
2472012-09-20 Juri Linkov <juri@jurta.org>
248
249 * dired-aux.el (dired-diff): Remove (require 'diff) since
250 `diff-latest-backup-file' is now autoloaded.
251
9f7c28f0
CY
2522012-09-20 Chong Yidong <cyd@gnu.org>
253
254 * vc/diff.el (diff-latest-backup-file): Autoload.
255
7a04bee9
SM
2562012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
257
e6f0a80d
SM
258 * calc/calc.el: Remove redundant autoload shape check.
259 (sel-mode): Don't defvar.
260 (calc-get-stack-element): Add `sel-mode' arg instead.
261 (calc-top, calc-top-list): Pass it this additional argument.
262 * calc/calc-store.el (calc-store-map):
263 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
264 (calc-map-equation, calc-outer-product, calc-inner-product):
265 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
266
7a04bee9
SM
267 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
268
12734222
JL
2692012-09-19 Juri Linkov <juri@jurta.org>
270
271 * dired-aux.el (dired-diff): Add (require 'diff) because
272 `diff-latest-backup-file' is not autoloaded.
273 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
274 of `dired-get-filename' to t to not report error when there is
275 no default file on the current line.
276
46624b4f
SM
2772012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
278
ce97595b
SM
279 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
280 macroexp--eval-if-compile.
281 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
282 (macroexp--expand-all): Use them (bug#12371).
283
46624b4f
SM
284 * doc-view.el (doc-view-guess-paper-size)
285 (doc-view-scale-bounding-box): Fix unbound `caddr'.
286
db8a5a18
TH
2872012-09-19 Tassilo Horn <tsdh@gnu.org>
288
289 New feature: set optimal slice from BoundingBox information.
290 * doc-view.el (doc-view-mode-map): Add keybinding.
291 (doc-view-menu): Add menu entry.
292 (doc-view-set-slice): Adapt docstring.
293 (doc-view-get-bounding-box, doc-view-guess-paper-size)
294 (doc-view-scale-bounding-box)
295 (doc-view-set-slice-from-bounding-box): New functions.
296 (doc-view-paper-sizes): New defvar.
297
69f6644c
GM
2982012-09-19 Glenn Morris <rgm@gnu.org>
299
35f5b19d
GM
300 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
301 (byte-compile-log-warning): Autoload. (Bug#12371)
302
69f6644c
GM
303 * calendar/calendar.el (calendar-american-month-header)
304 (calendar-european-month-header, calendar-iso-month-header)
305 (calendar-month-header): New options.
306 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
307 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
308
e543ae91
JD
3092012-09-19 Jan Djärv <jan.h.d@swipnet.se>
310
311 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
312
2fd5e67d
JL
3132012-09-18 Juri Linkov <juri@jurta.org>
314
315 * dired-aux.el (dired-diff): Restore original functionality of
316 getting the default value, but keep new feature of using the
317 latest existing backup file (`diff-latest-backup-file').
318
42917e79
JL
3192012-09-18 Juri Linkov <juri@jurta.org>
320
321 * dired.el (dired-mark): If the region is active in Transient Mark
322 mode, mark all files in the active region. Doc fix.
323 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
324 Doc fix. (Bug#10624)
325
20f70ede
JL
3262012-09-18 Juri Linkov <juri@jurta.org>
327
328 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
329 attributes for M-n are pulled from the file at point.
330 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
331 Suggested by Drew Adams. (Bug#10624)
332
32fb8162
DG
3332012-09-18 Dmitry Gutov <dgutov@yandex.ru>
334
335 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
336 whitespace after "end".
337 (ruby-do-end-to-brace): Collapse block to one line if it fits
338 within fill-column.
339
37ab5092
MR
3402012-09-18 Martin Rudalics <rudalics@gmx.at>
341
342 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
343 value.
344 (debug): Don't remove debugger window when debugger is expected
345 to be back.
346
ed1f0bd3
CY
3472012-09-18 Chong Yidong <cyd@gnu.org>
348
349 * custom.el (defface): Doc fix.
350
351 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
352
a11035b8
MB
3532012-09-18 Martin Blais <blais@furius.ca> (tiny change)
354
355 * progmodes/compile.el (compilation-start): Use compilation-always-kill
356 to initialize query-on-exit; then test that instead (bug#12288).
357
64f6a736
SM
3582012-09-17 Stefan Merten <smerten@oekonux.de>
359
70efc5c9 360 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
361 (rst-defcustom-testcover, rst-testcover-add-compose)
362 (rst-testcover-add-1value): New functions.
363 (rst-portable-mark-active-p): Replace by `use-region-p'.
364 (rst-update-section, rst-classify-adornment)
365 (rst-find-title-line): Mark `1value' forms.
366 (rst-classify-adornment): Remove superfluous form.
367 (rst-update-section, rst-get-adornments-around)
368 (rst-adornment-complete-p, rst-get-next-adornment)
369 (rst-adjust, rst-promote-region)
370 (rst-display-adornments-hierarchy, rst-straighten-adornments)
371 (rst-find-pfx-in-region, rst-section-tree-rec)
372 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
373 (rst-toc-node, rst-toc, rst-forward-section)
374 (rst-iterate-leftmost-paragraphs)
375 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
376 (rst-bullet-list-region)
377 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
378 (rst-compile-find-conf, rst-compile)
379 (rst-repeat-last-character): Fix style.
380
580bd868
CY
3812012-09-17 Chong Yidong <cyd@gnu.org>
382
383 * comint.el (comint--complete-file-name-data): Don't add a space
384 if the status is `sole'; that adds a gratuitous space in the
385 completion-cycling case (Bug#12092).
386
387 * pcomplete.el (pcomplete-completions-at-point): Likewise.
388
69de3ec6
RS
3892012-09-17 Richard Stallman <rms@gnu.org>
390
0dee970c
RS
391 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
392 only in the mime-shown mode, not in raw mode.
393 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 394 mime processing. (Bug#12305)
0dee970c 395
6b250df6
GM
396 * mail/rmail.el (rmail-retry-failure):
397 Turn off mime processing first. (Bug#12037)
acb1c47b 398
69de3ec6
RS
399 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
400
d079ee5f
CY
4012012-09-17 Chong Yidong <cyd@gnu.org>
402
403 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
404 (shell-dynamic-complete-functions): Convert to defcustom.
405 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
406
865fe16f
CY
407 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
408 * comint.el (comint-prompt-read-only):
409 * custom.el (defcustom):
410 * hi-lock.el (hi-lock-mode):
411 * ibuffer.el (ibuffer-formats):
412 * ielm.el (ielm-prompt-read-only):
413 * novice.el (disable-command):
414 * saveplace.el (toggle-save-place):
415 * speedbar.el (speedbar-supported-extension-expressions):
416 * startup.el (auto-save-list-file-prefix, init-file-user)
417 (after-init-hook, inhibit-startup-echo-area-message):
418 * strokes.el (strokes-help):
419 * time-stamp.el (time-stamp):
420 * calendar/calendar.el (calendar, diary-file):
421 * calendar/diary-lib.el (diary-mail-entries, diary)
422 (diary-list-entries-hook):
423 * calendar/holidays.el (holidays, calendar-holidays):
424 * calendar/lunar.el (lunar-phases):
425 * calendar/solar.el (sunrise-sunset):
426 * emulation/edt.el (edt-load-keys):
427 * emulation/viper.el (viper-mode):
428 * eshell/em-alias.el (eshell-command-aliases-list):
429 * eshell/esh-util.el (eshell-convert-numeric-arguments):
430 * international/ogonek.el (ogonek-information):
431 * net/tramp-cmds.el (tramp-bug):
432 * net/quickurl.el (quickurl-reread-hook-postfix):
433 * play/decipher.el (decipher-font-lock-keywords):
434 * progmodes/cc-styles.el (c-set-style):
435 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
436 * progmodes/inf-lisp.el (inferior-lisp-prompt):
437 * progmodes/octave-mod.el (octave-mode):
438 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
439 * progmodes/verilog-mode.el (verilog-read-defines):
440 * textmodes/two-column.el (2C-mode): Likewise.
441
48093eb9
KY
4422012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
443
444 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
445 that holds many addresses.
446
c584eaf9
CY
4472012-09-16 Chong Yidong <cyd@gnu.org>
448
40d70ecb
CY
449 * align.el (align-areas): Call the indication function with
450 positions instead of markers for arguments (Bug#12343).
451
1667e065
CY
452 * files.el (parse-colon-path): Use split-string (Bug#12351).
453
fdc2806d 454 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 455 (display-buffer-function): Mark as obsolete.
fdc2806d 456
f1be615c 457 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
458 values similar to font-lock-keywords (Bug#12136).
459 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
460 (compilation-error-regexp-alist): Doc fix.
461
f40a9709
GM
4622012-09-15 Glenn Morris <rgm@gnu.org>
463
72aa16e1
GM
464 * version.el (emacs-bzr-version-bzr): New function.
465 (emacs-bzr-get-version): Add optional EXTERNAL argument.
466
82375160
GM
467 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
468 checkouts, check the parent dirstate matches the branch.
469 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
470 empty string.
471
f40a9709
GM
472 * version.el (emacs-bzr-version): Doc fix.
473 (emacs-bzr-version-dirstate): New function.
474 (emacs-bzr-get-version): For lightweight checkouts, if the parent
475 is local try and check that it matches the branch. If not, just
476 use dirstate information. (Bug#12441)
477
cb26b7f5
JL
4782012-09-14 Juri Linkov <juri@jurta.org>
479
480 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
481 (Bug#12399)
482
2de39f08
SM
4832012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
484
0fb3cb7c
SM
485 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
486
2de39f08
SM
487 * emacs-lisp/edebug.el: Miscellaneous cleanup.
488 Remove obsolete byte-compiler hack that tried to silence some warnings.
489 (edebug-submit-bug-report): Remove.
490 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
491 Remove aliases, use the un-prefixed name instead.
492 (edebug-pop-to-buffer): Consider other frames.
493 (edebug-original-read):: Make it more obvious that it's always defined.
494 (edebug--make-form-data-entry, edebug--form-data-name)
495 (edebug--form-data-begin, edebug--form-data-end): Rename from the
496 single-dashed name, and implement with cl-defstruct.
497 (edebug-set-form-data-entry): Use the standard accessors.
498 (edebug-make-top-form-data-entry): Use push.
499 (edebug-no-match): Drop useless `funcall'.
500 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
501 to functions.
502 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
503 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
504 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
505 (easy-menu-define, with-custom-print): Remove redundant specs.
506 (edebug-outside-overriding-local-map)
507 (edebug-outside-overriding-terminal-local-map): Remove, unused.
508 (edebug--display): Bind unread-command-events directly to nil rather
509 than binding it to unread-command-events and later setting it to nil.
510 (edebug--display): Kill edebug-eval-buffer here...
511 (edebug--recursive-edit): ...rather than here.
512 Bind standard-output and standard-input.
513 (edebug-eval): Check cl-macroexpand-all is fboundp.
514 (edebug-temp-display-freq-count): Fix last change.
515
516 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
517 * subr.el (noreturn, 1value): Add `debug' spec.
518 * emacs-lisp/advice.el: Require cl-lib.
519 (ad-copy-tree): Remove, use copy-tree instead.
520 (ad-dolist): Remove use dolist or cl-dolist instead.
521 (ad-do-return): Remove, use cl-return instead.
522 (defadvice): Add `debug' spec.
523
5b68b333
JL
5242012-09-13 Juri Linkov <juri@jurta.org>
525
526 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
527 (Bug#12399)
528
b9800ec4
GM
5292012-09-13 Glenn Morris <rgm@gnu.org>
530
6a2e6868
GM
531 * calc/calc.el (math-compose-expr):
532 * calc/calc-ext.el (math-compose-expr):
533 * progmodes/cc-defs.el (cl-macroexpand-all):
534 * progmodes/cc-langs.el (delete-duplicates, mapcan)
535 (cl-macroexpand-all): Update declarations.
536
b9800ec4
GM
537 * vc/vc.el: No need to require ediff.
538 (ediff-load-version-control): Declare.
539 (ediff-vc-internal): Fix declaration.
540 (vc-version-ediff): Require ediff.
541
c18e885b
PE
5422012-09-13 Paul Eggert <eggert@cs.ucla.edu>
543
544 Use a more backwards-compatible timer format (Bug#12430).
545 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
546 being right after USECS, as that better supports old code that
547 inadvisedly looked directly at the timer vector.
548
d607d303
KH
5492012-09-13 Kenichi Handa <handa@gnu.org>
550
551 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
552 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
553 `coding-priority' property of these language environment.
554
72eac303
PE
5552012-09-13 Paul Eggert <eggert@cs.ucla.edu>
556
557 Fix glitches caused by addition of psec to timers (Bug#12430).
558 * image.el (image-animate-timer):
559 * time.el (display-time-world-timer):
560 Use timer--function and timer--args rather than raw access to
561 timer vector.
562
2168fe4f
GM
5632012-09-13 Glenn Morris <rgm@gnu.org>
564
565 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
566 If not compiling a file, try using load-file-name.
567
bd8d6108
SM
5682012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
569
c0c54fbd
SM
570 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
571 Fix last change.
572 (edebug-update-eval-list): Use `push'.
573
bd8d6108
SM
574 * emacs-lisp/edebug.el: Use lexical-binding.
575 Remove the "edebug-" prefix from non-dynamically-scoped variables.
576 Mark unused args with underscore.
577 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
578 (edebug-form-data): Use defvar-local.
579 (edebug-make-before-and-after-form, edebug-make-after-form):
580 Use backquote.
581 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
582 Not dynamically scoped any more.
583 (edebug--enter-trace): Add arguments `function' and `args'.
584 Rename from edebug-enter-trace.
585 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
586 (edebug--update-coverage): Add `after-index' and `value' args.
587 Rename from edebug-update-coverage.
588 (edebug-slow-after): Call it accordingly.
589 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
590 edebug-recursive-edit.
591 (edebug--display): Call it accordingly. Add args `value',
592 `offset-index', and `arg-mode'. Rename from edebug-display.
593 (edebug-debugger, edebug): Call it accordingly.
594 (edebug-eval-display-list): Use dolist.
595
a9f9d9de
JL
5962012-09-12 Juri Linkov <juri@jurta.org>
597
598 * info.el (Info-search): Don't check for isearch-mode and
599 isearch-regexp before let-binding search-spaces-regexp to
600 Info-search-whitespace-regexp.
601 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
602 search-whitespace-regexp if isearch-lax-whitespace or
603 isearch-regexp-lax-whitespace is non-nil.
604 (Info-mode): Don't set local variable search-whitespace-regexp.
605 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
606
bfeae2cf
SM
6072012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
610 (debugger-env-macro): Remove support for unread-command-char.
611
612 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
613 the temporary map re-appearing on emulation-mode-map-alists.
614
615 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
616 since 22.1.
617
618 * ehelp.el (with-electric-help): Accept functions in
619 electric-help-form-to-execute.
620 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
621 And replace unread-command-char -> unread-command-events.
622
fbbcaf1b
MA
6232012-09-12 Michael Albinus <michael.albinus@gmx.de>
624
625 Sync with Tramp 2.2.6.
626
627 * net/tramp.el (tramp-accept-process-output): Don't use
628 JUST-THIS-ONE in the XEmacs case.
629
630 * net/trampver.el: Update release number.
631
4dece104
MR
6322012-09-12 Martin Rudalics <rudalics@gmx.at>
633
bfeae2cf
SM
634 * emacs-lisp/debug.el (debugger-previous-window-height):
635 New variable.
4dece104
MR
636 (debug): When debugger-jumping-flag is non-nil try to restore
637 height of debugger window. (Bug#8789)
638
45b82ad0
SM
6392012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
640
60c49c0f
SM
641 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
642 overriding-local-map and pre/post-command-hook here.
643 (edebug-recursive-edit): Do it here instead (bug#12345).
644 (edebug-outside-unread-command-char): Remove all uses of
645 unread-command-char.
646
45b82ad0
SM
647 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
648 inhibit-debugger is bound instead.
649
baa26ea0
BG
6502012-09-11 Bastien Guerry <bzg@gnu.org>
651
652 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 653 (Bug#12346)
baa26ea0 654
04e8abfa
BG
6552012-09-11 Bastien Guerry <bzg@gnu.org>
656
96d03571 657 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 658 (Bug#12347)
96d03571
BG
659
6602012-09-11 Bastien Guerry <bzg@gnu.org>
661
fc0c31f8 662 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 663
04e082b0
MM
6642012-09-10 Michael R. Mauger <mmaug@yahoo.com>
665
666 * progmodes/sql.el: Version 3.1
667 (sql-db2-escape-newlines): New variable.
668 (sql-escape-newlines-filter): Use it.
669
399a361b
JB
6702012-09-10 Juanma Barranquero <lekktu@gmail.com>
671
672 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
673
0780c517
DN
6742012-09-10 Dan Nicolaescu <dann@gnu.org>
675
45b82ad0
SM
676 * vc/diff-mode.el (diff-mode-menu):
677 Bind diff-remove-trailing-whitespace.
0780c517 678
9b851e25
SM
6792012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
682 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
683 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
684 (eval-sexp-add-defvars): Don't skip defvars in column >0.
685 (eval-defun-2): Remove bogus interactive spec.
686 (lisp-indent-line): Remove redundant whole-exp code, now done in
687 indent-according-to-mode.
688 (save-match-data): Remove redundant indent data.
689
690 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
691 Use `declare'.
692
3231d532
JL
6932012-09-09 Juri Linkov <juri@jurta.org>
694
695 * replace.el (replace-regexp-lax-whitespace): New defcustom.
696 (replace-lax-whitespace, query-replace-regexp)
697 (query-replace-regexp-eval, replace-regexp): Doc fix.
698 (perform-replace, replace-highlight): Let-bind
699 isearch-lax-whitespace to replace-lax-whitespace and
700 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
701
702 * isearch.el (isearch-query-replace): Let-bind
703 replace-lax-whitespace to isearch-lax-whitespace and
704 replace-regexp-lax-whitespace to
705 isearch-regexp-lax-whitespace. (Bug#10885)
706
70fe8236
SM
7072012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
710
8ed43f15
AM
7112012-09-09 Alan Mackenzie <acm@muc.de>
712
70fe8236
SM
713 * progmodes/cc-engine.el (c-state-cache-init):
714 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
715 (c-record-parse-state-state):
716 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 717
bfabf70a
AS
7182012-09-09 Andreas Schwab <schwab@linux-m68k.org>
719
720 * register.el (register-separator): Rename from
721 separator-register. All uses changed. Doc fix.
722 (register): Fix version.
723
011474aa
CY
7242012-09-09 Chong Yidong <cyd@gnu.org>
725
726 * replace.el (query-replace-map): Bind four new symbols for
727 requesting window scrolling.
728
729 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
730 query-replace-map (Bug#8948).
731
732 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
733
734 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
735 since they are now in query-replace-map.
736
737 * window.el (scroll-other-window-down): Make the arg optional.
738
a8b7cd8d
CY
7392012-09-09 Chong Yidong <cyd@gnu.org>
740
741 * files.el (hack-local-variables-confirm): Use quit-window to kill
742 the *Local Variables* buffer.
743
c3268831
DG
7442012-09-08 Dmitry Gutov <dgutov@yandex.ru>
745
746 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
747 not just expect to be at its beginning. Adjust callees.
748 Succeed when do-end block has no space before the pipe character.
749 (ruby-brace-to-do-end): When the original block is one-liner,
750 convert to multiline. Reindent the result.
751
0979429b
J
7522012-09-08 Jambunathan K <kjambunathan@gmail.com>
753
754 * register.el (register): New group.
755 (register-separator): New user option.
756 (increment-register): Route it to `append-to-register', if
757 register contains text. Implication is that `C-x r +' can now be
758 used for appending to a text register (bug#12217).
759 (append-to-register, prepend-to-register): Add separator based on
760 `register-separator.
761
ace2989a
AM
7622012-09-08 Alan Mackenzie <acm@muc.de>
763
764 AWK Mode: make auto-newline work when there's "==" in the pattern.
765 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
766 correctly.
0979429b
J
767 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
768 Test more rigorously for "=" token.
ace2989a 769
616c6c36
DG
7702012-09-08 Dmitry Gutov <dgutov@yandex.ru>
771
0979429b
J
772 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
773 Only fail when reached LIMIT.
616c6c36 774
35d98877
CY
7752012-09-08 Chong Yidong <cyd@gnu.org>
776
777 * dired.el (dired-mode-map): Don't bind M-=.
778
779 * dired-aux.el (dired-diff): Use backup file as default.
780
1715f2db
DA
7812012-09-08 Drew Adams <drew.adams@oracle.com>
782
783 * subr.el (add-to-history): Fix delete usage (Bug#12314).
784
6dcef6ec
CY
7852012-09-08 Chong Yidong <cyd@gnu.org>
786
787 * subr.el (syntax-after, syntax-class): Doc fix.
788
fa2bcf43
MR
7892012-09-08 Martin Rudalics <rudalics@gmx.at>
790
791 * window.el (display-buffer-in-previous-window): New buffer
792 display action function.
793
794 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
795 (debugger-previous-window): New variable.
796 (debug): Rewrite using display-buffer-in-previous-window,
797 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
798
daac280a
SM
7992012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
802
9dd40b00
MM
8032012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
804
daac280a
SM
805 * progmodes/python.el (python-shell-send-string):
806 When default-directory is remote, create temp file on remote
9dd40b00
MM
807 filesystem.
808 (python-shell-send-file): When file is remote, pass local view of
809 file paths to remote Python interpreter. (Bug#12340)
810
145823ec
CY
8112012-09-07 Chong Yidong <cyd@gnu.org>
812
cee2e90d
CY
813 * window.el (switch-to-buffer): Doc fix (Bug#12181).
814
0d7eb2ea
CY
815 * files.el (after-find-file): Don't fail on a read-only buffer if
816 require-final-newline is `visit' or `visit-save' (Bug#11156).
817
145823ec
CY
818 * subr.el (read-char-choice): Allow quitting via ESC ESC.
819
daac280a
SM
820 * userlock.el (ask-user-about-supersession-threat):
821 Use read-char-choice (Bug#12093).
145823ec 822
74c582e6
CY
8232012-09-07 Chong Yidong <cyd@gnu.org>
824
e5c2edf7
CY
825 * subr.el (buffer-narrowed-p): New function.
826
827 * ses.el (ses-widen):
828 * simple.el (count-words--buffer-message):
829 * net/browse-url.el (browse-url-of-buffer): Use it
830
831 * simple.el (count-words-region): Don't signal an error if there
832 is a non-nil prefix arg and the mark is not set.
c640e87d 833
74c582e6
CY
834 * help.el (describe-key-briefly): Allow the message to be seen
835 when invoked from the minibuffer (Bug#7014).
836
d81ceaaf
DG
8372012-09-07 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby-end-of-defun)
840 (ruby-beginning-of-defun): Simplify, allow indentation before
841 block beginning and end keywords.
8f06acce
DG
842 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
843 (ruby-end-of-defun): Expect that the point is at the beginning of
844 the defun.
d81ceaaf 845
d458ef98
SM
8462012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
849 (bug#12367).
850 (cl--make-usage-args): Strip _ from argument names.
851
20367d28
RS
8522012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
853
854 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
855 obsolete alias speedbar-key-map.
856 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
857 (vhdl-index-menu-init): Don't use obsolete variable
858 font-lock-maximum-size.
859
3424a4f6
CY
8602012-09-06 Chong Yidong <cyd@gnu.org>
861
862 * frame.el (window-system-version): Mark as obsolete.
863
fcbfbdea
CY
864 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
865 of obsolete variable speedbar-key-map.
866
826b3235
JL
8672012-09-06 Juri Linkov <juri@jurta.org>
868
869 * replace.el (replace-lax-whitespace): New defcustom.
870 (query-replace, query-replace-regexp, query-replace-regexp-eval)
871 (replace-string, replace-regexp): Mention it in docstrings.
872 (perform-replace, replace-highlight): Let-bind
873 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
874 to the values of replace-lax-whitespace and regexp-flag.
875 Don't let-bind search-whitespace-regexp. (Bug#10885)
876
877 * isearch.el (isearch-query-replace): Let-bind
878 replace-lax-whitespace instead of let-binding
879 replace-search-function and replace-re-search-function.
880 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
881 and isearch-regexp-lax-whitespace to lazy-highlight variables.
882 (isearch-toggle-symbol): Set isearch-regexp to nil
883 in isearch-word mode (like in isearch-toggle-word).
884
1ec5e41d
JL
8852012-09-06 Juri Linkov <juri@jurta.org>
886
887 * replace.el (replace-search-function)
888 (replace-re-search-function): Set default values to nil.
889 (perform-replace): Let-bind isearch-related variables based on
890 replace-related values, call `isearch-search-fun' and let-bind
891 the result to `search-function'. Remove code that sets
892 `search-function' and `search-string' separately for
893 `delimited-flag'.
894 (replace-highlight): Add new argument `delimited-flag' and
895 rename other arguments to the names used in `perform-replace'.
896 Let-bind `isearch-word' to the argument `delimited-flag'.
897 (Bug#10885, bug#10887)
898
0ba2d4b6
DG
8992012-09-07 Dmitry Gutov <dgutov@yandex.ru>
900
901 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
902 ruby-beginning-of-indent, simplify, allow all keywords to have
903 indentation before them.
904 (ruby-beginning-of-indent): Adjust for above. Search until the
905 found point is not inside a string or comment.
906 (ruby-font-lock-keywords): Allow symbols to start with "@"
907 character, give them higher priority than variables.
908 (ruby-syntax-propertize-function)
909 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
910 matchers. Expression expansions are not comments when inside a
911 string, and there comment syntax status is irrelevant.
912 (ruby-match-expression-expansion): New function. Check that
913 expression expansion is inside a string, and it's not escaped.
914 (ruby-font-lock-keywords): Use it.
915
ef654460
MR
9162012-09-05 Martin Rudalics <rudalics@gmx.at>
917
918 * help.el (temp-buffer-max-height): New default value.
919 (temp-buffer-resize-frames): New option.
920 (resize-temp-buffer-window): Optionally resize frame.
921
922 * window.el (fit-frame-to-buffer-bottom-margin): New option.
923 (fit-frame-to-buffer): New function.
924
7e570fbf 9252012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
926
927 * emulation/cua-rect.el (cua--init-rectangles):
928 * textmodes/picture.el (picture-mode-map):
929 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
930 like forward-char and backward-char. (Bug#12317)
931
7e570fbf 9322012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
933
934 * progmodes/flymake.el (flymake-warning-re): New variable.
935 (flymake-parse-line): Use it.
936
7e570fbf 9372012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
938
939 * calendar/holidays.el (holiday-christian-holidays):
940 Rename an entry. (Bug#12289)
941
7e570fbf 9422012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
943
944 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
945 (bug#12222).
946
972debf2
SM
9472012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * loadup.el: Load macroexp. Remove hack.
950 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
951 (macroexp--expand-all): Use it to get better warnings.
952 (macroexp--backtrace, macroexp--trim-backtrace-frame)
953 (internal-macroexpand-for-load): New functions.
954 (macroexp--pending-eager-loads): New var.
955 (emacs-startup-hook): New hack to replace one in loadup.el.
956 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
957 (cl--compiler-macro-cXXr): Move to top, before they can be used.
958 (cl-psetf): Simplify.
959 (cl-defstruct): Add indent rule.
960
8ce192e3
LI
9612012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
962
963 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
964 over `user-mail-address' for the SMTP MAIL FROM envelope.
965 (smtpmail-via-smtp): Ditto.
966
6578b4d8
DG
9672012-09-04 Dmitry Gutov <dgutov@yandex.ru>
968
969 * progmodes/ruby-mode.el: Clean up keybindings.
970 (ruby-mode-map): Don't bind ruby-electric-brace,
971 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
972 backward-kill-word, reindent-then-newline-and-indent.
973 (ruby-mark-defun): Remove.
974 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
975 (ruby-mode): Set local beginning-of-defun-function and
976 end-of-defun-function values.
977
c5e28e39
MR
9782012-09-03 Martin Rudalics <rudalics@gmx.at>
979
980 * window.el (temp-buffer-window-setup-hook)
981 (temp-buffer-window-show-hook): New hooks.
982 (temp-buffer-window-setup, temp-buffer-window-show)
983 (with-temp-buffer-window): New functions.
972debf2
SM
984 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
985 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
986
987 * help.el (temp-buffer-resize-mode): Fix doc-string.
988 (resize-temp-buffer-window): New optional argument WINDOW.
989
990 * files.el (recover-file, save-buffers-kill-emacs):
991 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
992
73406194
MA
9932012-09-02 Michael Albinus <michael.albinus@gmx.de>
994
995 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
996 remote definition of `default-directory', ensure we can connect.
997
63dd1c6f
JL
9982012-09-02 Juri Linkov <juri@jurta.org>
999
1000 Toggle whitespace matching mode with M-s SPC.
1001 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1002
1003 * isearch.el (search-whitespace-regexp): Doc fix.
1004 Remove cons cell customization.
1005 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1006 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1007 New variables.
1008 (isearch-forward, isearch-forward-regexp): Doc fix.
1009 (isearch-toggle-lax-whitespace): New command.
1010 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1011 (re-search-forward-lax-whitespace)
1012 (re-search-backward-lax-whitespace): New functions.
1013 (isearch-whitespace-regexp): Remove function.
1014 (isearch-query-replace): Let-bind replace-search-function and
1015 replace-re-search-function.
1016 (isearch-occur): Let-bind search-spaces-regexp according to the
1017 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1018 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1019 condition for C-q SPC.
1020 (isearch-search-fun-default): Use new functions mentioned above.
1021 (isearch-search-forward, isearch-search-backward): Remove functions.
1022 (isearch-search): Don't let-bind search-spaces-regexp.
1023 (isearch-lazy-highlight-space-regexp): Remove variable.
1024 (isearch-lazy-highlight-lax-whitespace)
1025 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1026 (isearch-lazy-highlight-new-loop): Use them.
1027 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1028
af7dda05
CY
10292012-09-02 Chong Yidong <cyd@gnu.org>
1030
1031 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1032
d67d3afd
GM
10332012-09-02 Glenn Morris <rgm@gnu.org>
1034
1035 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1036
69678719
GM
10372012-09-01 Glenn Morris <rgm@gnu.org>
1038
1039 * term.el: Tidy up menu definitions.
1040 (term-mode-map): Use easymenu for In/Out, Complete menus.
1041 (term-pager-break-map): Initialize in the defvar.
1042 (term-terminal-menu, term-signals-menu): Define with easymenu.
1043 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1044 (term-pager-menu): New, extracted from term-process-pager.
1045 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1046 (term-update-mode-line): Propertize line/char and page items.
1047 (term-process-pager): Move keymap initialization elsewhere.
1048
78dd6ab1
MR
10492012-09-01 Martin Rudalics <rudalics@gmx.at>
1050
1051 * window.el (switch-to-prev-buffer): Handle additional values of
1052 BURY-OR-KILL argument. Don't switch in minibuffer window.
1053 (switch-to-next-buffer): Don't switch in minibuffer window.
1054 (quit-restore-window): New function based on quit-window.
1055 Handle additional values of former KILL argument.
1056 (quit-window): Call quit-restore-window with appropriate
1057 interpretation of KILL argument.
1058 (display-buffer-below-selected): New buffer display action
1059 function.
1060
3d10e134
SM
10612012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * minibuffer.el (completion-at-point-functions): Complete docstring
1064 (bug#12254).
1065
0e23ef9d
PE
10662012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1067
1068 Better seed support for (random).
1069 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1070 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1071 * play/mpuz.el, play/tetris.el, play/zone.el:
1072 * calc/calc-comb.el (math-init-random-base):
1073 * play/blackbox.el (bb-init-board):
1074 * play/life.el (life):
1075 * server.el (server-use-tcp):
1076 * type-break.el (type-break):
1077 Remove unnecessary call to (random t).
1078 * net/sasl.el (sasl-unique-id-function):
1079 Change (random t) to (random), now that the latter is more random.
1080 * play/life.el (life-initialized): Remove no-longer-needed var.
1081
862382df
MR
10822012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1083
1084 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1085 Consider frame's buffer predicate when choosing the buffer.
1086 (Bug#12081)
1087
262a66e1
RS
10882012-08-30 Richard Stallman <rms@gnu.org>
1089
1090 * simple.el (special-mode-map): Delete binding for `z'.
1091
f17e1d00
AS
10922012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1093
1094 * progmodes/compile.el (compilation-always-kill): Doc fix.
1095
24777832
CY
10962012-08-30 Chong Yidong <cyd@gnu.org>
1097
1098 * window.el (display-buffer-reuse-frames): Make the obsolescence
1099 message more informative.
1100
69ba1f04
GM
11012012-08-30 Glenn Morris <rgm@gnu.org>
1102
1103 * paren.el (show-paren-delay):
1104 Add a :set function. Doc fix. (Bug#12297)
1105
f0019ede
MB
11062012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1107
1108 * progmodes/compile.el (compilation-always-kill): New var.
1109 (compilation-start): Use it.
1110
35e62fc9
SM
11112012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1112
af070a1c
SM
1113 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1114 * files.el (read-only-mode): Move to simple.el.
1115
35e62fc9
SM
1116 * files.el (read-only-mode): New minor mode.
1117 (toggle-read-only): Use it and mark obsolete.
1118 (find-file--read-only):
1119 * vc/vc.el (vc-next-action, vc-checkout):
1120 * vc/vc-cvs.el (vc-cvs-checkout):
1121 * obsolete/vc-mcvs.el (vc-mcvs-update):
1122 * ffap.el (ffap--toggle-read-only): Update callers.
1123
c2c43c23
MA
11242012-08-29 Michael Albinus <michael.albinus@gmx.de>
1125
1126 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1127 remote shell scripts.
1128 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1129
1130 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1131 "/usr/local/sbin".
1132
9fba804b
SM
11332012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1136
eada0861 11372012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1138
806f0cc7
LL
1139 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1140 completion-at-point. (Bug#12220)
1141
3bb213b9
LL
1142 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1143
22ab32ef
LL
1144 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1145
eada0861 11462012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1147
19c17fc1
CY
1148 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1149 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1150
eada0861 11512012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1152
1153 * progmodes/hideif.el (hif-compress-define-list):
1154 Fix typo. (Bug#11951)
1155
eada0861 11562012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1157
1158 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1159 buffer local setting.
1160
27d6c5a8
LL
1161 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1162 rcirc-encode-coding-system.
1163
eada0861 11642012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1165
1166 * net/rcirc.el (rcirc-split-message): New function.
1167 (rcirc-send-message): Use it. (Bug#12051)
1168
d44688e4
JL
11692012-08-28 Juri Linkov <juri@jurta.org>
1170
1171 * info.el (Info-fontify-node): Hide empty lines at the end of
1172 the node. (Bug#12272)
1173
34f10d41
MR
11742012-08-27 Drew Adams <drew.adams@oracle.com>
1175
1176 * dired.el (dired-pop-to-buffer): Make window start at beginning
1177 of buffer (Bug#12281).
1178
77f1f99c
CY
11792012-08-26 Chong Yidong <cyd@gnu.org>
1180
1181 * window.el (special-display-regexps, special-display-frame-alist)
1182 (special-display-buffer-names, special-display-function)
1183 (display-buffer-reuse-frames): Mark as obsolete.
1184
1185 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1186
1187 * help.el (help-print-return-message): Don't treat
1188 display-buffer-reuse-frames specially.
1189
d97af5a0
CY
11902012-08-26 Chong Yidong <cyd@gnu.org>
1191
9fba804b
SM
1192 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1193 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1194 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1195 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1196 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1197 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1198 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1199 the functions directly with gdb-display-buffer-other-frame-action.
1200 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1201 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1202 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1203 (gdb-display-registers-buffer): Define directly.
1204 (def-gdb-display-buffer): Macro deleted.
1205 (gdb-display-buffer): Remove second and third args, callers don't
1206 use them. Defer to the default display-buffer behavior, apart
1207 from making windows dedicated.
1208 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1209
1210 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1211
1212 * window.el (display-buffer-pop-up-frame): Handle a
1213 pop-up-frame-parameters alist entry.
1214 (display-buffer): Document it.
1215
dd7ffad6
CY
12162012-08-26 Chong Yidong <cyd@gnu.org>
1217
1218 * isearch.el (search-whitespace-regexp): Make string and nil
1219 values apply to both ordinary and regexp search. Allow a cons
1220 cell value to distinguish between the two.
1221 (isearch-whitespace-regexp, isearch-search-forward)
1222 (isearch-search-backward): New functions.
1223 (isearch-occur, isearch-search-fun-default, isearch-search)
1224 (isearch-lazy-highlight-new-loop): Use them.
1225 (isearch-forward, isearch-forward-regexp): Doc fix.
1226
4c47bd1e
CY
12272012-08-26 Chong Yidong <cyd@gnu.org>
1228
1229 * faces.el (help-argument-name): Always inherit from italic
1230 (Bug#12213).
1231
9aba119d
MR
12322012-08-25 Martin Rudalics <rudalics@gmx.at>
1233
1234 * window.el (window--even-window-heights): Even heights when
1235 WINDOW and the selected window form a vertical combination.
1236 (display-buffer-use-some-window): Provide that window used gets
1237 sized back by quit-window. (Bug#11880) and (Bug#12091)
1238
ca5256ad
PE
12392012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1240
1241 Fix file time stamp problem with bzr and CVS (Bug#12001).
1242 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1243 in the file's time stamp, since the version control system loses
1244 that information.
1245
d1c0d176
JL
12462012-08-22 Juri Linkov <juri@jurta.org>
1247
1248 * info.el (Info-fontify-node): Hide the suffix of the
1249 Info file name in the header line. (Bug#12187)
1250
141562ff
GM
12512012-08-22 Glenn Morris <rgm@gnu.org>
1252
1253 * calendar/cal-tex.el (cal-tex-weekly-common):
1254 Restore leading blank page.
1255
61a48e19 12562012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1257
1258 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1259 the region under `shift-select-mode'. (Bug#12231)
1260
12612012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1262
1263 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1264 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1265 gives details on why the space is never needed.
1266
ea95074e
MR
12672012-08-22 Martin Rudalics <rudalics@gmx.at>
1268
9fba804b
SM
1269 * window.el (walk-window-tree, window-with-parameter):
1270 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1271 should run on the minibuffer window.
1272 (window-at-side-list): Don't operate on minibuffer window.
1273 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1274 (window--size-ignore): Rename to window--size-ignore-p.
1275 Update callers.
caceae25
MR
1276 (display-buffer-in-atom-window, window--major-non-side-window)
1277 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1278 (delete-side-window, display-buffer-in-side-window):
1279 New functions.
caceae25
MR
1280 (window--side-check, window-deletable-p, delete-window)
1281 (delete-other-windows, split-window): Handle side windows and
1282 atomic windows appropriately.
1283 (window--display-buffer): Call display-buffer-record-window also
1284 when the window buffer did not change.
ea95074e 1285
80a51fa0
CS
12862012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1287
1288 * help-fns.el (help-fns--key-bindings):
1289 Abbreviate non-symbol remap targets. (Bug#12174)
1290
fbb6300b
MR
12912012-08-22 Martin Rudalics <rudalics@gmx.at>
1292
1293 * dired.el (dired-mark-remembered): Don't clobber point.
1294 (Bug#11795)
1295
2b2c0794
GM
12962012-08-22 Glenn Morris <rgm@gnu.org>
1297
1298 * progmodes/bug-reference.el (bug-reference): New custom group.
1299 (bug-reference-bug-regexp): Make it a defcustom.
1300
37219830
DU
13012012-08-22 Daiki Ueno <ueno@unixuser.org>
1302
1303 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1304 (js-paren-indent-offset, js-square-indent-offset)
1305 (js-curly-indent-offset): Add :safe (Bug#12257).
1306
94e0e559
EC
13072012-08-22 Edward O'Connor <hober0@gmail.com>
1308
1309 * json.el (json-key-format): Add error properties.
1310 (json-encode-key): New function.
1311 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1312 Use json-encode-key.
1313
da485f5e
GM
13142012-08-22 Glenn Morris <rgm@gnu.org>
1315
1316 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1317 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1318 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1319 Update for above change.
1320
c6cc78b8
AS
13212012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1322
1323 * cus-face.el (custom-face-attributes): Fix customize type for the
1324 :underline attribute. (Bug#11805)
1325
5481664a
MR
13262012-08-21 Martin Rudalics <rudalics@gmx.at>
1327
1328 * window.el (window-point-1, set-window-point-1): Remove.
1329 (window-in-direction, record-window-buffer)
1330 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1331 (window--state-get-1, display-buffer-record-window):
1332 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1333 window-point and set-window-point respectively.
1334
6d74698e
GM
13352012-08-21 Glenn Morris <rgm@gnu.org>
1336
b7fa2691
GM
1337 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1338 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1339 Use it.
1340
52f56d5a
GM
1341 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1342 (cal-tex-shortday): New function.
1343 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1344 (cal-tex-cursor-filofax-daily): Use the above.
1345
9f1ee09e
GM
1346 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1347 New functions.
1348 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1349 (cal-tex-cursor-filofax-week): Use them.
1350
79858159
GM
1351 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1352 New constants.
1353 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1354 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1355
d346b2b4
GM
1356 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1357 (cal-tex-end-document): Don't rely on buffer name.
1358
b2403709
GM
1359 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1360 Use cal-tex-vspace.
1361 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1362 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1363 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1364 Use cal-tex-arg.
b2403709 1365
1cebb5c0
GM
1366 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1367 (cal-tex-cursor-week, cal-tex-cursor-week2)
1368 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1369 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1370 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1371 (cal-tex-insert-preamble, cal-tex-b-document)
1372 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1373 Improve cal-tex-cmd usage.
1374
c68cd5d4
GM
1375 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1376 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1377 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1378 (cal-tex-weekly-paper): New function.
1379 (cal-tex-cursor-week, cal-tex-cursor-week2)
1380 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1381 (cal-tex-cursor-day): Use it.
1382
9dca4801
GM
1383 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1384 (cal-tex-cursor-filofax-week): Remove leading blank page.
1385
1941e134
GM
1386 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1387 Add autoload cookie. For now at least, don't use color, since
1388 no other cal-tex function does.
1389
6d74698e
GM
1390 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1391 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1392 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1393
64cde199
JL
13942012-08-21 Juri Linkov <juri@jurta.org>
1395
1396 * info.el (Info-file-attributes): New variable.
1397 (info-insert-file-contents): Add file attributes to
1398 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1399 `Info-toc-nodes' when previous modtime of the Info file is less
1400 than new modtime.
1401 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1402 of info.el. (Bug#12230)
1403
32757648
GM
14042012-08-20 Glenn Morris <rgm@gnu.org>
1405
1406 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1407 * calendar/holidays.el (calendar-holiday-list):
1408 Report errors with display-warning rather than beep'n'sleep.
1409
a32fbbcf
MA
14102012-08-20 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp.el (tramp-accept-process-output): Accept only output
1413 from PROC. Otherwise, process filters and sentinels might be
1414 confused. (Bug#12145)
1415
a05731a0
CY
14162012-08-20 Chong Yidong <cyd@gnu.org>
1417
1418 * descr-text.el (describe-text-properties-1): Use overlays-in to
1419 report on empty overlays (Bug#3322).
1420
36e8d1eb
GM
14212012-08-20 Glenn Morris <rgm@gnu.org>
1422
3d300447
GM
1423 * mail/rmailout.el (rmail-output-read-file-name):
1424 Trap and report errors in rmail-output-file-alist elements.
1425
36e8d1eb
GM
1426 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1427 since most non-font-lock faces are not also variables).
1428
b96e5814
ER
14292012-08-20 Edward Reingold <reingold@iit.edu>
1430
1431 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1432 New function. (Bug12160)
1433
7cef3569
GM
14342012-08-19 Glenn Morris <rgm@gnu.org>
1435
1436 * mail/rmailout.el (rmail-output-read-file-name):
1437 Fix previous change (when the alist is nil or does not match).
1438
17975d7f
CY
14392012-08-19 Chong Yidong <cyd@gnu.org>
1440
1441 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1442 (Bug#12228).
1443
2170b1bd
CY
14442012-08-18 Chong Yidong <cyd@gnu.org>
1445
1446 * simple.el (yank-handled-properties): New defcustom.
1447 (yank-excluded-properties): Add font-lock-face and category.
1448 (yank): Doc fix.
1449
9fba804b
SM
1450 * subr.el (remove-yank-excluded-properties):
1451 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1452 and category is now done this way, instead of being hard-coded.
1453 (insert-for-yank-1): Remove font-lock-face handling.
1454 (yank-handle-font-lock-face-property)
1455 (yank-handle-category-property): New function.
1456
ee218151
GM
14572012-08-17 Glenn Morris <rgm@gnu.org>
1458
1459 * mail/rmailout.el (rmail-output-read-file-name):
1460 Check rmail-output-file-alist against the full message body
1461 in the correct rmail buffer. (Bug#12214)
1462
4a6bc3fd
MA
14632012-08-17 Michael Albinus <michael.albinus@gmx.de>
1464
9fba804b
SM
1465 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1466 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1467
383dcbf9
CY
14682012-08-17 Chong Yidong <cyd@gnu.org>
1469
1470 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1471 font spec, set the font directly (Bug#3228).
1472
998c4a6a
MR
14732012-08-17 Martin Rudalics <rudalics@gmx.at>
1474
1475 * window.el (delete-window): Fix last fix.
1476
52162052
MR
14772012-08-16 Martin Rudalics <rudalics@gmx.at>
1478
1479 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1480 (window-child, window-child-count, window-last-child)
1481 (window-normalize-window, window-combined-p)
1482 (window-combinations, window-atom-root, window-min-size)
1483 (window-sizable, window-sizable-p, window-size-fixed-p)
1484 (window-min-delta, window-max-delta, window--resizable)
1485 (window--resizable-p, window-resizable, window-total-size)
1486 (window-full-height-p, window-full-width-p, window-body-size)
1487 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1488 (minimize-window, window-deletable-p, delete-window)
1489 (delete-other-windows, set-window-buffer-start-and-point)
1490 (next-buffer, previous-buffer, split-window, balance-windows-2)
1491 (set-window-text-height, window-buffer-height)
1492 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1493 (truncated-partial-width-window-p): Minor code adjustments.
1494 In doc-strings state whether the argument window has to denote a
85c2386b 1495 live, valid or any window.
52162052 1496
1c308380
PS
14972012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1498
1499 * progmodes/subword.el (subword-forward-function)
1500 (subword-backward-function, subword-forward-regexp)
1501 (subword-backward-regexp): New variables.
1502 (subword-forward, subword-forward-internal, subword-backward-internal):
1503 Use new variables, eg so that different "word" definitions
1504 can be easily used. (Bug#11411)
1505
94c9ece1
SM
15062012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1507
1508 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1509 for composite selectors.
1510 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1511 operation just because we can't find a previous revision.
1512
f2045622
CY
15132012-08-15 Chong Yidong <cyd@gnu.org>
1514
1515 * frame.el (set-frame-font): Accept font objects.
1516
582db660
SM
15172012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1520
2f29c200
WJ
15212012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1522
456e62c2
WJ
1523 * man.el (Man-overstrike-face, Man-underline-face)
1524 (Man-reverse-face): Remove variables.
1525 (Man-overstrike, Man-underline, Man-reverse): New faces.
1526 (Man-fontify-manpage): Use them instead of the variables.
1527 (Man-cleanup-manpage): Comment change.
1528 (Man-ansi-color-map): New variable.
1529 (Man-fontify-manpage): Use it.
1530 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1531
2f29c200
WJ
1532 Implement ANSI SGR parameters 22-27 (bug#12146).
1533 * ansi-color.el (ansi-colors): Doc fix.
1534 (ansi-color-context, ansi-color-context-region): Doc fix.
1535 (ansi-color--find-face): New function.
1536 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1537 Rename the local variable `face' to `codes' since it is now a list of
1538 ansi codes. Doc fix.
1539 (ansi-color-get-face): Remove.
1540 (ansi-color-parse-sequence): New function, derived from
1541 ansi-color-get-face.
1542 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1543 codes 22-27.
1544
b4f5e9df
SM
15452012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * subr.el (read-passwd): Allow use from a minibuffer.
1548
ba025fbd
EZ
15492012-08-14 Eli Zaretskii <eliz@gnu.org>
1550
1551 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1552 inside comments and strings as identifiers.
1553
1554 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1555 expression to evaluate. This allows to evaluate expressions with
1556 embedded whitespace.
1557 (gud-tooltip-tips): Add a blank before the newline in the
1558 message-box text, for the benefit of message-box emulation on
1559 MS-Windows.
1560
1561 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1562 messages from GDB, pop them up in a tooltip to give feedback to
1563 user.
b4f5e9df
SM
1564 (gdb-tooltip-print-1): Quote the expression to evaluate.
1565 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1566 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1567 if the TTY name is nil or empty (which happens when communicating
1568 with the inferior via pipes, e.g. on MS-Windows).
1569 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1570 don't send that to the GUD buffer.
1571
c548f821
GM
15722012-08-14 Glenn Morris <rgm@gnu.org>
1573
1574 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1575 Optimize away setq-default with no args, as for setq. (Bug#12195)
1576
55802e4a
CY
15772012-08-14 Chong Yidong <cyd@gnu.org>
1578
4abcdac8
CY
1579 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1580
55802e4a
CY
1581 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1582 (Bug#12085).
1583
3c3cda1a
GM
15842012-08-14 Glenn Morris <rgm@gnu.org>
1585
1586 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1587
e1873bd0
MA
15882012-08-14 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1591 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1592 Use cached shell name.
1593
925411b4
FEG
15942012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1595
1596 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1597 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1598
e636fafe
DG
15992012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1602 (ruby-percent-literal-beg-re): New constant.
1603 (ruby-syntax-general-delimiters-goto-beg): Rename to
1604 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1605 (ruby-syntax-propertize-general-delimiters): Rename to
1606 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1607 popular term. Adjust comments everywhere.
1608 (ruby-syntax-propertize-percent-literal): Only propertize when not
1609 inside a simple string or comment. When the literal is unclosed,
1610 leave the text after it unpropertized.
f063063a
DG
1611 (ruby-syntax-methods-before-regexp): New constant.
1612 (ruby-syntax-propertize-function): Use it to recognize regexps.
1613 Don't look at the text after regexp, just use the whitelist.
e636fafe 1614
e5b19827
AS
16152012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1616
1617 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1618 non-nil always load the compiled file if it exists. (Bug#12197)
1619
a9f6f311
CY
16202012-08-14 Chong Yidong <cyd@gnu.org>
1621
1622 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1623 (hi-lock-set-pattern): When deciding whether to use font lock or
1624 overlays, look at font-lock-mode instead of font-lock-fontified
1625 (Bug#12168).
1626 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1627 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1628
7d806b1e
DU
16292012-08-14 Daiki Ueno <ueno@unixuser.org>
1630
1631 * subr.el (internal--after-with-selected-window): Fix typo
1632 (Bug#12193).
1633
5beed586
FEG
16342012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 Use `completion-table-dynamic' for completion functions.
1637 * progmodes/python.el
1638 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1639 (python-shell-completion--get-completions):
1640 Remove functions.
5beed586
FEG
1641 (python-shell-completion-complete-at-point): New function.
1642 (python-completion-complete-at-point): Use it.
1643
92cb3b04
J
16442012-08-13 Jambunathan K <kjambunathan@gmail.com>
1645
1646 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1647 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1648
89660017
SM
16492012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1650
3c98c962
SM
1651 * subr.el (function-get): Refine `autoload' arg so it can also
1652 autoload functions for gv.el (bug#12191).
1653 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1654 autoloads macros.
1655
aa7c6dbe
SM
1656 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1657 Prefer pcase-let over destructuring-bind.
1658 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1659 Also, remove whitespace as we go, rather than after accumulating the
1660 various places.
1661
89660017
SM
1662 * subr.el (internal--before-with-selected-window)
1663 (internal--after-with-selected-window): Fix typo seleted->selected.
1664 (with-selected-window): Adjust callers.
1665 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1666
31cd32c9
BG
16672012-08-13 Bastien Guerry <bzg@gnu.org>
1668
0fcd3d9f 1669 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1670 enhancement. (Bug#12172)
1671
1b15d8ad
AS
16722012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1673
31e54db0
AS
1674 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1675 type 1-6.
1676 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1677 extended headers.
1678
1b15d8ad
AS
1679 * files.el (hack-local-variables-filter): Remove useless eval.
1680
35cb9c06
MR
16812012-08-13 Martin Rudalics <rudalics@gmx.at>
1682
1683 * subr.el (with-selected-window): Fix last change.
1684
1439443b
SM
16852012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * subr.el (internal--before-with-seleted-window)
1688 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1689 (with-selected-window): Use them, to replace dependency on
1690 tty-top-frame.
1439443b 1691
0d9e2599
NN
16922012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1693
1694 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1695 binding for `newline'.
1696 (ruby-move-to-block): When moving backward, stop at block opening,
1697 not indentation.
1698 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1699 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1700 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1701 `ruby-toggle-block'.
1702
ba10c48c
SM
17032012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * ibuffer.el (ibuffer-do-toggle-read-only):
1706 * dired.el (dired-toggle-read-only):
1707 * buff-menu.el (Buffer-menu-toggle-read-only):
1708 * bindings.el (mode-line-toggle-read-only):
1709 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1710
9229c658
AS
17112012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1712
1713 * descr-text.el (describe-char): Put the overlays over the
1714 "displayed as" character.
1715
0fd09128
JB
17162012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1717
1718 * calc/calc-units.el (math-default-units-table): Give an
1719 initial value.
1720 (math-put-default-units): Add options to put composite units and
1721 unit systems in the default units table.
1722 (calc-convert-units): Send composite units to
1723 `math-put-default-units' when appropriate.
1724
9ff9402d 17252012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1726
fbb5e336
GM
1727 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1728
7aacaf15
GM
1729 * tutorial.el (help-with-tutorial):
1730 * emacs-lisp/copyright.el (copyright-update-directory):
1731 * emacs-lisp/autoload.el (autoload-find-generated-file)
1732 (autoload-find-file): Disable local eval: (for insurance).
1733
f40b9f10
GM
1734 * files.el (hack-local-variables-filter): If an eval: form is not
1735 known to be safe, and enable-local-variables is :safe, then ignore
1736 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1737 This is CVE-2012-3479.
f40b9f10 1738
daa9f1a6
SM
17392012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1742 (rx-form): Simplify.
1743
9cd80478
DG
17442012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1745
0d9e2599
NN
1746 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1747 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1748 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1749 (ruby-syntax-propertize-function): Adjust for changes in
1750 `ruby-syntax-propertize-heredoc'.
1751
17522012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1753
9cd80478
DG
1754 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1755 binding (use `M-;' instead).
9cd80478 1756 (ruby-singleton-class-p): New function.
0d9e2599 1757 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1758
d301b413
SM
17592012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1762
1530c98e
CY
17632012-08-10 Chong Yidong <cyd@gnu.org>
1764
1765 * progmodes/python.el (python-shell-get-process-name): Don't mess
1766 with same-window-buffer-names.
1767
1768 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1769 (eshell-remove-from-window-buffer-names): Make obsolete.
1770 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1771 (eshell): Just use pop-to-buffer-same-window instead.
1772
e1293765
CY
17732012-08-10 Chong Yidong <cyd@gnu.org>
1774
1775 * bindings.el: Bind M-= back to count-words-region.
1776
1777 * simple.el (count-words-region): Accept a prefix arg for acting
1778 on the entire buffer.
1779 (count-words--buffer-message): New helper function.
1780
e1894109
SM
17812012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1784 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1785 (event-start, event-end): Use posn-at-point to return a more
1786 informative posn.
1787 (posnp): New function.
1788 * mouse.el (popup-menu-normalize-position): Use it.
1789
c69f56a2
MY
17902012-08-10 Masatake YAMATO <yamato@redhat.com>
1791
1792 * mouse.el (popup-menu-normalize-position): New function.
1793 (popup-menu): Use `popup-menu-normalize-position' to normalize
1794 the form for POSITION argument.
1795
1796 * term/x-win.el (x-menu-bar-open):
1797 Use the value returend from (posn-at-point) as position
1798 passed to `popup-menu'.
1799
31673780
JB
18002012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1801
1802 * calc/calccomp.el (math-compose-expr): Add extra argument
1803 indicating that parentheses should be put around products in
1804 denominators. Give multiplication precedence over division during
1805 composition.
1806
dab7711b
CY
18072012-08-09 Chong Yidong <cyd@gnu.org>
1808
dee4ef93
CY
1809 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1810 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1811 (Man-untabify-command, manual-program): Convert to defcustom
1812 (Bug#10429).
1813
73e2bbc5
CY
1814 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1815
3e861c8a
CY
1816 * descr-text.el (describe-char): Don't insert extra newlines
1817 (Bug#10127).
1818
a9f5a649
CY
1819 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1820 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1821
dab7711b
CY
1822 * align.el (align-region): Delete temporary markers (Bug#10047).
1823 Plus some code cleanups.
1824
e0cc4efa
FEG
18252012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1826
1827 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1828 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1829 (python-shell-internal-last-output): Use make-local-variable
1830 instead of make-variable-buffer-local.
1831
489af14f
FEG
18322012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1833
1834 * progmodes/python.el: Enhancements to forward-sexp.
1835 (python-nav-forward-sexp): Rename from
1836 python-nav-forward-sexp-function.
c69f56a2
MY
1837 (python-nav--forward-sexp, python-nav--backward-sexp):
1838 New functions.
489af14f 1839
0fc50303
JB
18402012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1841
1842 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1843 modes and simplification modes.
1844
5d65606a
SM
18452012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * delsel.el (delete-selection-pre-hook): Don't propagate the
1848 file-supersession signals (bug#12161).
1849
4250fdf5
SM
18502012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1853 (cl-map-extents): Add compatibility aliases (bug#12135).
1854
d9f9b465
MA
18552012-08-08 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1858 tests by `ignore-error'.
1859 (tramp-find-shell): Open also a new shell, when cache is already
1860 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1861
ce0fcefa
JL
18622012-08-08 Juri Linkov <juri@jurta.org>
1863
1864 * bookmark.el: Add `defaults' property to the bookmark record.
1865 (bookmark-current-buffer): Doc fix.
1866 (bookmark-make-record): Add `defaults' property with default values
1867 to the bookmark record.
1868 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1869 with `bookmark-insert-current-bookmark'.
1870 (bookmark-set): Get `defaults' property from the bookmark record
1871 and use it in `read-from-minibuffer'.
1872 (bookmark-insert-current-bookmark): Remove function.
1873
1874 * info.el (Info-bookmark-make-record): Add `defaults' property
1875 with values of canonical Info node name, the current Info file
1876 name and the current Info node name. (Bug#12107)
1877
53fa8652
JL
18782012-08-08 Juri Linkov <juri@jurta.org>
1879
1880 * files.el (basic-save-buffer): Use `buffer-name' as the default
1881 of `read-file-name' when buffer is not visiting a file (bug#12128).
1882
242c0a95
JL
18832012-08-08 Juri Linkov <juri@jurta.org>
1884
1885 * info.el (Info-isearch-search): Doc fix.
1886 (Info-search): Change search-failed message from "initial node" to
1887 "end of node" (bug#12078).
1888 (Info-isearch-search): Change `isearch-string-state' to
1889 `isearch--state-string'.
1890
32ac3a6b
GM
18912012-08-08 Glenn Morris <rgm@gnu.org>
1892
1893 * language/persian.el: Remove file.
f8c1afd5 1894 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1895 * loadup.el: Remove language/persian.
1896
2c2d9c9c
OF
18972012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1898
1899 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1900
2d79ec42
FEG
19012012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1902
1903 * progmodes/python.el Fixed defsubst warning.
1904 (python-syntax-context) Rename from python-info-ppss-context.
1905 (python-syntax-context-type): Rename from
1906 python-info-ppss-context-type.
1907 (python-syntax-comment-or-string-p): Rename from
1908 python-info-ppss-comment-or-string-p.
1909
2bd255dd
JB
19102012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1911
1912 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1913
c395097f
AS
19142012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1915
6125983e
AS
1916 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1917 a defcustom that is quoted with backquote.
1918
4250fdf5
SM
1919 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1920 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1921 (math-do-arg-check, math-define-function-body): Use backquote forms.
1922 * calc/calc-ext.el (math-defcache): Likewise.
1923 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1924 * allout.el (allout-new-exposure): Likewise.
1925 * calc/calcalg2.el (math-tracing-integral): Likewise.
1926 * info.el (Info-last-menu-item): Likewise.
1927 * emulation/vip.el (vip-loop): Likewise.
1928 * textmodes/artist.el (artist-funcall): Likewise.
1929 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1930 Construct menu-item directly.
1931
4250fdf5
SM
1932 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1933 Don't declare.
c395097f 1934
5fb50dd3
CY
19352012-08-07 Chong Yidong <cyd@gnu.org>
1936
1937 * simple.el (deactivate-mark): Preserve text properties when
1938 saving the primary selection (Bug#8384).
1939
54eea618
KR
19402012-08-07 Kevin Ryde <user42@zip.com.au>
1941
1942 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1943 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1944 and continue processing (Bug#12110).
1945
638eaeb9
SM
19462012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1949 syntax-propertize-function (bug#10095).
1950
ea376861
SM
19512012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1952
f91b35be
SM
1953 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1954 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1955 describe-function-1.
1956 (describe-function-1): Use them. Move compiler macro after sig.
1957 (help-fns--compiler-macro): Use function-get. Assume we're already in
1958 standard-output. Adjust layout to new call order.
1959
ea376861
SM
1960 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1961 re-binding a symbol that has a symbol-macro (bug#12119).
1962
d5be7bd0
MB
19632012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1964
1965 * language/persian.el: New file. (Bug#11812)
1966 * loadup.el: Add language/persian.el.
1967
90749b53
CY
19682012-08-06 Chong Yidong <cyd@gnu.org>
1969
1970 * window.el (window--maybe-raise-frame): New function.
1971 (window--display-buffer): Split off from here.
1972 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1973 (display-buffer-pop-up-window, display-buffer-use-some-window):
1974 Obey an inhibit-switch-frame action alist entry.
1975 (display-buffer): Update doc.
1976
1977 * replace.el (occur-after-change-function): Avoid losing focus by
1978 using the inhibit-switch-frame display parameter (Bug#12139).
1979
ba7b0154
FEG
19802012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1981
1982 Make internal shell process buffer names start with space.
1983 * progmodes/python.el (python-shell-make-comint): Add optional
1984 argument INTERNAL.
1985 (run-python-internal): Use it.
1986 (python-shell-internal-get-or-create-process): Check for new
1987 internal buffer names.
1988
5eaeacb5
GM
19892012-08-06 Glenn Morris <rgm@gnu.org>
1990
e296d94b 1991 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1992 Do less getting and setting of environment variables.
1993
b7ccbdc2
CY
19942012-08-05 Chong Yidong <cyd@gnu.org>
1995
777fe95e
CY
1996 * proced.el (proced): Add substitution string to docstring to
1997 trigger autoloading of the proced library on C-h f (Bug#1768).
1998
4250fdf5
SM
1999 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2000 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2001
2002 * imenu.el (imenu-generic-expression): Move documentation here
2003 from imenu--generic-function.
2004 (imenu--generic-function): Refer to imenu-generic-expression.
2005
9e3b7800 20062012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2007
2008 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2009 indentation declaration.
2010 (viper-loop): Add indentation declaration (Bug#7025).
2011
e5d9c0d1
CY
20122012-08-05 Chong Yidong <cyd@gnu.org>
2013
f0422feb
CY
2014 * help-fns.el (describe-variable): Add hyperlink for
2015 directory-local variables files. Improve buffer-local and
2016 permanent-local reporting; suggested by MON KEY (Bug#6644).
2017
2018 * help-mode.el (help-dir-local-var-def): New button type.
2019
e5d9c0d1
CY
2020 * files.el (kill-buffer-hook): Provide a defvar.
2021
a4f2deaa
GM
20222012-08-05 Glenn Morris <rgm@gnu.org>
2023
2024 * eshell/esh-ext.el (eshell/addpath):
2025 Also update eshell-path-env. (Bug#12013)
2026
a9dd5754
CY
20272012-08-05 Chong Yidong <cyd@gnu.org>
2028
a4f2deaa 2029 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2030
d014c740
CY
2031 * fringe.el (fringe-styles): Add docstring.
2032 (fringe--check-mode): New function.
2033 (set-fringe-mode, set-fringe-style): Use it.
2034 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2035
a9dd5754
CY
2036 * files.el (set-auto-mode): Fix invalid setq call.
2037
7c2dc8bd
SM
20382012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * isearch.el: Misc simplification; use defstruct.
2041 (isearch-mode-map): Dense maps now work like sparse ones.
2042 (isearch--state): New defstruct.
2043 (isearch-string-state, isearch-message-state, isearch-point-state)
2044 (isearch-success-state, isearch-forward-state)
2045 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2046 (isearch-wrapped-state, isearch-barrier-state)
2047 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2048 replaced by defstruct's accessors.
2049 (isearch--set-state): Rename from isearch-top-state and change
2050 calling convention.
2051 (isearch-push-state): Use new isearch--get-state.
2052 (isearch-toggle-word): Disable regexp when enabling word.
2053 (isearch-message-prefix): Remove unused arg _c-q-hack.
2054 (isearch-message-suffix): Remove unused arg _ellipsis.
2055
7fcc0070
AS
20562012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * simple.el (list-processes--refresh): For a server use :host or
2059 :local as the address.
97ad0769 2060 (list-processes): Doc fix.
7fcc0070 2061
a11035b8 20622012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2063
2064 * lisp/mpc.el: Support password in host argument.
2065 (mpc--proc-connect): Parse and use new password element.
2066 Set mpc-proc variable instead of returning process.
2067 (mpc-proc): Adjust accordingly.
2068
6dad7178
EZ
20692012-08-03 Eli Zaretskii <eliz@gnu.org>
2070
18949c2f
EZ
2071 * whitespace.el (whitespace-display-mappings): Use Unicode
2072 codepoints, instead of emacs-mule codepoints. See
2073 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2074 for the details.
2075
6dad7178
EZ
2076 * files.el (file-truename): Don't skip symlink-chasing part on
2077 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2078 Windows into the loop that recursively chases symlinks.
2079 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2080 MS-DOS.
2081
385b0198
CY
20822012-08-03 Chong Yidong <cyd@gnu.org>
2083
6200f3c4
CY
2084 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2085
385b0198
CY
2086 * sort.el (sort-regexp-fields): Doc fix.
2087
b9e74744
TH
20882012-08-03 Tassilo Horn <tsdh@gnu.org>
2089
2090 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2091 labels regex position point at the expected place.
2092
41013cb4
MK
20932012-08-03 MON KEY <monkey@sandpframing.com>
2094
2095 * net/imap.el (imap-interactive-login, imap-authenticate)
2096 (imap-mailbox-lsub, imap-mailbox-list)
2097 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2098 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2099 (imap-parse-response): Doc fix.
2100
0ffee616
JT
21012012-08-03 João Távora <joaotavora@gmail.com>
2102
2103 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2104 if sexp scanning does not move point (Bug#5734).
2105
cfcc9cc8
TH
21062012-08-02 Tassilo Horn <tsdh@gnu.org>
2107
2108 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2109 Add listings, minted, and ctable packages.
2110 (reftex-label-alist-builtin): Move listings, minted, and ctable
2111 entries before LaTeX.
a01bbb84 2112 (reftex-label-alist): Docfix.
cfcc9cc8 2113
66ec2442
BG
21142012-08-02 Bastien Guerry <bzg@gnu.org>
2115
2116 * replace.el (occur): Fix docstring (bug#12122).
2117
837b365b
GM
21182012-08-02 Glenn Morris <rgm@gnu.org>
2119
2120 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2121
e098de97
PE
21222012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2123
2124 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2125 * international/mule-cmds.el: Create
2126 inactivate-current-input-method-function as an obsolete alias for
2127 deactivate-current-input-method-function. See Katsumi Yamaoka in
2128 <http://bugs.gnu.org/10150#46>.
2129
a0f95636
JB
21302012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2131
2132 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2133 of nested `if's.
2134
0d26d7c4
GM
21352012-08-01 Glenn Morris <rgm@gnu.org>
2136
2137 * progmodes/autoconf.el (autoconf-definition-regexp):
2138 Add AH_TEMPLATE, adjust submatch numbering.
2139 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2140 (autoconf-current-defun-function): Update for above change.
2141 (autoconf-current-defun-function): First skip to end of current word.
2142
b686ba06
RS
21432012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2144
2145 * calendar/cal-html.el (cal-html-insert-agenda-days):
2146 Fix typo. (Bug#12018)
2147
0d49da68
FEG
21482012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2149
2150 Shell processes: enhancements to startup and CEDET compatibility.
2151 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2152 (python-shell-make-comint): accept-process-output at startup.
2153 (run-python-internal): Set inferior-python-mode-hook to nil.
2154 (python-shell-internal-get-or-create-process): call sit-for.
2155 (python-preoutput-result): Add obsolete alias.
2156 (python-shell-internal-send-string): Use it.
2157 (python-shell-send-setup-code): Remove call to
2158 accept-process-output.
2159
f1a71c6e
AS
21602012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2163 (Bug#12108)
2164
d2605269
JB
21652012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2166
2167 * calc-mode.el (calc-basic-simplification-mode): Rename from
2168 `calc-limited-simplification-mode'.
2169 (calc-alg-simplification-mode): New function.
fc0c31f8 2170 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2171
d2605269
JB
2172 * calc.el (calc-set-mode-line): Adjust mode line display for
2173 basic simplification mode.
2174
2175 * calc-help.el (calc-m-prefix-help): Update help message.
2176
2177 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2178 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2179
a3827a43
BG
21802012-07-31 Bastien Guerry <bzg@gnu.org>
2181
2182 * man.el (man): Fix comment. (bug#12101)
2183
502e3f89
MR
21842012-07-31 Martin Rudalics <rudalics@gmx.at>
2185
2186 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2187 Don't return a non-nil value when no suitable buffer was found.
2188
d7714961
FEG
21892012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2190
2191 * progmodes/python.el (run-python-internal): Disable font lock for
2192 internal shells.
2193
1f45e27e
SM
21942012-07-30 Stefan Merten <smerten@oekonux.de>
2195
70efc5c9 2196 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2197 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2198 (rst-official-version, rst-official-cvs-rev)
2199 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2200 (rst-mode-map): New key binding.
2201
0aee6912
PE
22022012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2203
2204 Update .PHONY listings in makefiles.
2205 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2206 autoloads, update-subdirs, updates, bzr-update, update-authors,
2207 compile-onefile, compile-calc, backup-compiled-files,
2208 compile-after-backup, compile-one-process, mh-autoloads,
2209 bootstrap-clean, distclean, maintainer-clean.
2210
9052f9f0
JB
22112012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2212
1823ac5a
JB
2213 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2214 (calc-set-mode-line): Don't display "AlgSimp ".
2215
2216 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2217 (calc-lim-simplify-mode): New function.
2218 (calc-set-simplify-mode): Default to 'alg.
2219 (calc-default-simplify-mode): Make algebraic simplifications
2220 the default.
2221
2222 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2223 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2224
8d7c7eed 2225 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2226 indicate new simplification modes.
2227
1823ac5a
JB
2228 * calc/README: Mention new default simplification mode.
2229
9052f9f0
JB
2230 * calc/calc.el (math-normalize-error): New variable.
2231 (math-normalize): Set `math-normalize-error' to t
2232 when there's an error.
2233
2234 * calc/calc-alg.el (math-simplify): Don't simplify when
2235 `math-normalize' returns an error.
2236
20ba0cb4
EZ
22372012-07-29 Eli Zaretskii <eliz@gnu.org>
2238
2239 * international/mule-cmds.el (set-locale-environment): Revert last
2240 change, since display-graphic-p returns nil when this function is
2241 called during startup. Instead...
2242
2243 * term/w32console.el (terminal-init-w32console): ...setup the
2244 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2245
a5dcc929
JL
22462012-07-29 Juri Linkov <juri@jurta.org>
2247
2248 * simple.el (goto-line): Don't display default line number in the
2249 prompt because it should be displayed by `read-number' (bug#9952).
2250 Add the current line number to the defaults of `goto-line' to
2251 allow its easier modification by users with `M-n' (bug#9201).
2252
2253 * subr.el (read-number): Support multiple default values like in
2254 other minibuffer reading functions. Replace `read' with
2255 `string-to-number' for consistency with `number-to-string'.
2256
72b255c7
PE
22572012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2258
2259 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2260 * emulation/viper-init.el (viper-deactivate-input-method-action):
2261 Rename from viper-inactivate-input-method-action.
2262 (viper-deactivate-input-method):
2263 Rename from viper-inactivate-input-method.
2264 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2265 * international/mule-cmds.el (deactivate-input-method):
2266 Rename from inactivate-input-method.
2267 Also run input-method-deactivate-hook.
2268 (deactivate-current-input-method-function):
2269 Rename from inactivate-current-input-method-function.
2270 (input-method-deactivate-hook): New hook.
2271 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2272 (inactivate-input-method): Mark obsolete.
2273
72b255c7
PE
2274 * international/quail.el (quail-activate):
2275 Also run quail-deactivate-hook.
2276 (quail-deactivate): Rename from quail-inactivate.
2277 * international/robin.el (robin-activate):
2278 Also run robin-deactivate-hook.
2279 (robin-deactivate): Rename from robin-inactivate.
2280
2549c068
CY
22812012-07-29 Chong Yidong <cyd@gnu.org>
2282
2283 * simple.el (indicate-copied-region): New function.
2284 (kill-ring-save): Split off from here.
2285
2286 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2287 (kill-rectangle): Set deactivate-mark to t on read-only error.
2288
2289 * register.el (copy-to-register, copy-rectangle-to-register):
2290 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2291 (append-to-register, prepend-to-register):
2292 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2293
2294 * simple.el (async-shell-command-buffer): New defcustom.
2295 (shell-command): Use it. (Bug#4719)
2296
01bd1b0d
EZ
22972012-07-28 Eli Zaretskii <eliz@gnu.org>
2298
2299 * international/mule-cmds.el (set-locale-environment): In a
2300 console session on MS-Windows, set up keyboard and terminal
2301 encoding from the OEM codepage, not the ANSI codepage.
2302 (Bug#12055)
2303
a55739d3
CY
23042012-07-28 Chong Yidong <cyd@gnu.org>
2305
2306 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2307 gdb-get-location.
2308
0e1a094f 23092012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2310
2311 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2312 the alist (bug#12029).
2313
20329d73
EZ
23142012-07-28 Eli Zaretskii <eliz@gnu.org>
2315
2316 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2317 (compile-always, compile-first)
2318 ($(lisp)/calendar/cal-loaddefs.el)
2319 ($(lisp)/calendar/diary-loaddefs.el)
2320 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2321 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2322 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2323 instead of on update-subdirs.
2324 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2325
345a2258
CY
23262012-07-28 Chong Yidong <cyd@gnu.org>
2327
1eee6341
CY
2328 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2329 directory if vc-deduce-backend returns nil (Bug#7350).
2330
345a2258
CY
2331 * simple.el (delete-trailing-lines): New option.
2332 (delete-trailing-whitespace): Obey it (Bug#11879).
2333
049a0936
DE
23342012-07-28 David Engster <deng@randomsample.de>
2335
2336 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2337 Explanation of new 'symbol-qnames feature in doc-strings.
2338 (xml-maybe-do-ns): Return expanded names as plain symbols if
2339 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2340 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2341
aa81af71
FEG
23422012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2343
2344 Consistent completion in inferior python with emacs -nw.
2345 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2346 binding in inferior-python-mode-map with "\t".
2347 (python-shell-completion-complete-at-point)
2348 (python-completion-complete-at-point): Remove interactive spec.
2349
e827b1eb
JB
23502012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2351
2352 * calc/calccomp.el (math-compose-expr): Undo previous change.
2353
a90dfb95
FEG
23542012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2355
4250fdf5 2356 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2357 run-python.
2358 (python-shell-make-comint): Fix pop-to-buffer call.
2359 (run-python): Autoload. New arg SHOW.
2360 (python-shell-get-or-create-process): Do not pop python process
2361 buffer.
2362
32770973 23632012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2364
2365 * notifications.el (notifications-on-action-signal)
2366 (notifications-on-closed-signal): Use also the bus address for the map.
2367 (notifications-notify, notifications-close-notification)
fc0c31f8 2368 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2369
86332df2
TH
23702012-07-27 Tassilo Horn <tsdh@gnu.org>
2371
4250fdf5
SM
2372 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2373 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2374 ctable macro.
2375 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2376 labels written in keyvals syntax.
2377
ca1302a4
JB
23782012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2379
2380 * calc/calccomp.el (math-compose-expr): Use parentheses when
2381 there is a product in the denominator of a fraction.
2382
f8b91036
EZ
23832012-07-26 Eli Zaretskii <eliz@gnu.org>
2384
2385 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2386 ($(lisp)/calendar/diary-loaddefs.el)
2387 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2388 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2389 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2390 rewritten while the autoload files are built at the same time,
2391 which needs to load subdirs.el.
2392
c8e5a42c
MR
23932012-07-26 Martin Rudalics <rudalics@gmx.at>
2394
2395 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2396 (mouse-drag-line): Don't exit tracking when a switch-frame or
2397 switch-window event occurs (Bug#12006).
2398
670d85ea
SM
23992012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * mouse.el (popup-menu): Fix last change.
2402
7abaf5cc
SM
24032012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 Autoload from Lisp with more care. Follow aliases when looking for
2406 function properties.
2407 * subr.el (autoloadp): New function.
2408 (symbol-file): Use it.
2409 (function-get): New function.
2410 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2411 autoload-do-load.
2412 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2413 (lisp-indent-function):
2414 * emacs-lisp/gv.el (gv-get):
2415 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2416 * emacs-lisp/byte-opt.el (byte-optimize-form):
2417 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2418 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2419 Use function-get.
2420 * emacs-lisp/cl.el: Don't propagate function properties any more.
2421
2422 * speedbar.el (speedbar-add-localized-speedbar-support):
2423 * emacs-lisp/disass.el (disassemble-internal):
2424 * desktop.el (desktop-load-file):
2425 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2426 (describe-function-1):
2427 * emacs-lisp/find-func.el (find-function-noselect):
2428 * emacs-lisp/elp.el (elp-instrument-function):
2429 * emacs-lisp/advice.el (ad-has-proper-definition):
2430 * apropos.el (apropos-safe-documentation, apropos-macrop):
2431 * emacs-lisp/debug.el (debug-on-entry):
2432 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2433 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2434 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2435
b1364986
AA
24362012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2437
2438 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2439 function, not an obsolete variable (Bug#12046).
2440
67ada220
AS
24412012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2442
2443 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2444
f08088e3
CS
24452012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2446
2447 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2448 window only if it is still live (Bug#12034).
2449
8137e7b3
MR
24502012-07-25 Martin Rudalics <rudalics@gmx.at>
2451
2452 * subr.el (redirect-frame-focus): Add advertised calling
2453 convention (Bug#12030).
2454
09ae5da1
PE
24552012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2456
2457 Prefer typical American spelling for "acknowledgment".
2458 * vc/add-log.el (change-log-acknowledgment): Rename from
2459 change-log-acknowledgement, with an alias for the old name.
2460
3cc5a3a8
JB
24612012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2462
2463 * calc-alg.el (math-simplify-divide): Don't cross multiply
2464 in an equation when the lhs is a variable.
2465
b7af7f62
JD
24662012-07-24 Julien Danjou <julien@danjou.info>
2467
2468 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2469 Remove, unused.
2470
ec1b09b1
EZ
24712012-07-23 Eli Zaretskii <eliz@gnu.org>
2472
2473 * startup.el (command-line): Don't display an empty user name in
2474 the error message about non-existent home directory, when
2475 init-file-user was set to an empty string. See
2476 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2477 for the details and context.
2478
b525fd8a
VB
24792012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2480
2481 * ses.el (ses-cell-formula-aset): New macro.
2482 (ses-cell-references-aset): New macro.
2483 (ses-cell-p): New function.
2484 (ses-rename-cell): Do no longer rely on complex operations like
2485 ses-cell-set-formula or ses-set-cell to change the cell and handle
2486 the undo at the same time, but rather use lower level new macros
2487 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2488 the undo directly. Refresh the mode line.
b525fd8a 2489
2c73e345
LL
24902012-07-21 Leo Liu <sdl.web@gmail.com>
2491
670d85ea
SM
2492 * progmodes/cc-cmds.el (c-defun-name):
2493 Use match-string-no-properties instead for consistency.
2c73e345 2494
542dfbde
LL
24952012-07-20 Leo Liu <sdl.web@gmail.com>
2496
3646bcd6
LL
2497 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2498 (Bug#7879)
2499
542dfbde
LL
2500 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2501
25721031
CY
25022012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2505 * progmodes/bug-reference.el, misearch.el: Provide themselves
2506 (bug#11915).
2507
2508 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2509 of narrowed buffer (bug#11966).
2510
316e68a7
VB
25112012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2512
2513 * ses.el (ses-rename-cell): Set new name also in reference list of
2514 cells of which the renamed cell depends.
2515
bbf0e7d9
MY
25162012-07-20 Masatake YAMATO <yamato@redhat.com>
2517
2518 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2519 to check whether menu-bar is shown or not. If not shown,
2520 show the menu-bar as a popup menu instead of using tmm.
2521 * mouse.el (popup-menu): Accept `point' as `position' argument.
2522
c28662a8
DG
25232012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2524
2525 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2526 up inside string symbol literal (bug#11923).
2527
87ab808f
EZ
25282012-07-20 Eli Zaretskii <eliz@gnu.org>
2529
2530 * startup.el (fancy-startup-text): Read the whole tutorial, not
2531 just its first 256 bytes. Prevents gibberish in display of the
2532 tutorial title.
2533
89dea803
DA
25342012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2535
2536 Drop idle buffer compaction due to an absence of the
2537 proved efficiency.
2538 * compact.el: Remove.
2539
8a4e6db8
SS
25402012-07-19 Sam Steingold <sds@gnu.org>
2541
2542 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2543 vc-bzr-pull & vc-bzr-merge-branch.
2544 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2545 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2546 for consistency with compilation-error-regexp-alist.
2547 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2548 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2549 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2550 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2551
5db81e33
SM
25522012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * emacs-lisp/chart.el: Use lexical-binding.
2555 (chart-emacs-storage): Don't hardcode the list of entries.
2556
5b835e1d
DA
25572012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2558
2559 Next round of tweaks caused by Fgarbage_collect changes.
2560 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2561
9cd47b72
DA
25622012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2563
2564 Compact buffers when idle.
2565 * compact.el: New file.
2566
1d6fc0df
SM
25672012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * subr.el (eventp): Presume that if it looks vaguely like an event,
2570 it's an event (bug#10190).
2571
1d29cc7d
FEG
25722012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2573
2574 Enhancements to ppss related code (thanks Stefan).
2575 * progmodes/python.el (python-indent-context)
2576 (python-indent-calculate-indentation, python-indent-dedent-line)
2577 (python-indent-electric-colon, python-nav-forward-block)
2578 (python-mode-abbrev-table)
1d6fc0df 2579 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2580 for ppss context.
2581 (python-info-continuation-line-p): Cleanup.
2582 (python-info-ppss-context): Do not catch 'quote.
2583 (python-info-ppss-context-type)
2584 (python-info-ppss-comment-or-string-p): Simplify.
2585
d583cbe6
FEG
25862012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2587
2588 * progmodes/python.el: Enhancements to eldoc support.
2589 (python-info-current-symbol): New function.
2590 (python-eldoc-at-point): Use python-info-current-symbol.
2591 (python-info-current-defun): Fix cornercase on first defun scan.
2592 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2593 and signal error when no inferior python process is available.
2594
eceb6feb
DG
25952012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2598 assume it's always t.
2599 (vc-git-registered): Remove caching, the function is only called
2600 once.
2601 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2602
4c8ff0fe
CY
26032012-07-18 Chong Yidong <cyd@gnu.org>
2604
19fb7186
CY
2605 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2606
9587c688
CY
2607 * simple.el (count-words): Report on narrowing (Bug#9959).
2608
0fe776a1
CY
2609 * bindings.el: Bind M-= to count-words.
2610
4c8ff0fe
CY
2611 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2612
7f5331cc
MY
26132012-07-18 Masatake YAMATO <yamato@redhat.com>
2614
2615 * progmodes/sh-script.el (sh-imenu-generic-expression):
2616 Capture a function with `function' keyword and without parentheses
2617 like "function FOO" (bug#11856).
2618
2dc2a609
TH
26192012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2620
2621 * window.el (split-window-sensibly): Make WINDOW argument
2622 optional.
2623
439f7677
CY
26242012-07-18 Chong Yidong <cyd@gnu.org>
2625
9aeb25a6
CY
2626 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2627
439f7677
CY
2628 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2629 and make C-x 8 RET exit isearch (Bug#11439).
2630
2631 * international/iso-transl.el: Move isearch-mode-map key
2632 definitions to isearch.el.
2633
12999ea8
SM
26342012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2637 (eieio-defclass): Use gv-define-setter when possible.
2638
3ab6e069
DA
26392012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2640
2641 Reflect recent changes in Fgarbage_collect.
2642 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2643 reflect new format of data returned by Fgarbage_collect.
2644
0a60bc10
FEG
26452012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2646
2647 New utility functions + python-info-ppss-context fix (Bug#11910).
2648 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2649 (python-info-ppss-comment-or-string-p): New functions.
2650 (python-info-ppss-context): Small fix for string check.
2651
6dafa0d5
JL
26522012-07-17 Juri Linkov <juri@jurta.org>
2653
2654 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2655 (dired-do-async-shell-command): Don't add `*' at the end of the
2656 command (Bug#11815).
2657 (dired-do-shell-command): Doc fix.
2658 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2659 Join the individual commands using either "&" or ";" as the
2660 separator depending on the values of these trailing characters.
2661 At the end re-add the trailing "&". (Bug#10598)
2662
2663 * simple.el (async-shell-command): Sync the interactive spec with
2664 `shell-command'. Doc fix.
2665 (shell-command): Doc fix.
2666
b19dd9d1
JL
26672012-07-17 Juri Linkov <juri@jurta.org>
2668
2669 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2670
bcdc27d7 26712012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2672
bcdc27d7 2673 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2674 * progmodes/python.el (python-nav-beginning-of-statement):
2675 Rename from python-nav-statement-start.
bcdc27d7
FEG
2676 (python-nav-end-of-statement): Rename from
2677 python-nav-statement-end.
2678 (python-nav-beginning-of-block): Rename from
2679 python-nav-block-start.
2680 (python-nav-end-of-block): Rename from python-nav-block-end.
2681
191da00e
FEG
26822012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2683
7f5331cc
MY
2684 * progmodes/python.el (python-shell-send-string-no-output):
2685 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2686 future interactions (Bug#11868).
2687
4dc7c8d5 26882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2689
88ecaf8f
SM
2690 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2691
ef501ef0
SM
2692 * emacs-lisp/elint.el (elint-find-args-in-code):
2693 Use help-function-arglist, so as to handle lexical byte-code.
2694
aa7aaf8f
SM
2695 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2696 change (bug#11826).
2697
45fd731c
SM
26982012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2143fa32
SM
2700 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2701 Avoid spuriously marking the buffer as modified because of c-is-sws.
2702
efc26dbe
SM
2703 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2704 as not-a-comment (bug#11946).
2705
f5695c9a
SM
2706 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2707 for uninterned vars.
2708
2709 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2710 Use read-event since we don't really want to read chars but bytes.
2711
45fd731c
SM
2712 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2713 $$..$$ but also $..$ using regexps (bug#11953).
2714 Use tex-verbatim for \url and \path.
2715 (tex-font-lock-keywords): Define as defconst like the others.
2716 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2717
ddfc8813
RK
27182012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2719
2720 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2721 alias for insert-char.
2722
758e556a
FEG
27232012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2724
2725 * progmodes/python.el: Simplified imenu implementation.
2726 (python-nav-jump-to-defun): Remove command.
2727 (python-mode-map): Use `imenu' instead.
2728 (python-nav-list-defun-positions-cache)
2729 (python-imenu-include-defun-type, python-imenu-make-tree)
2730 (python-imenu-subtree-root-label, python-imenu-index-alist):
2731 Remove vars.
2732 (python-nav-list-defun-positions, python-nav-read-defun)
2733 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2734 (python-imenu-make-tree, python-imenu-create-index):
2735 Remove functions.
758e556a
FEG
2736 (python-mode): Update to interact with imenu by setting
2737 `imenu-extract-index-name-function' only.
2738
032d23ab
FEG
27392012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2740
2741 * progmodes/python.el: Enhancements to navigation commands.
2742 (python-nav-backward-sentence)
2743 (python-nav-forward-sentence): Remove.
2744 (python-nav-backward-statement, python-nav-forward-statement)
2745 (python-nav-statement-start, python-nav-statement-end)
2746 (python-nav-backward-block, python-nav-forward-block)
2747 (python-nav-block-start, python-nav-block-end)
2748 (python-nav-forward-sexp-function)
2749 (python-info-current-line-comment-p)
2750 (python-info-current-line-empty-p): New functions.
2751 (python-indent-context): Use `python-nav-statement-start'.
2752
01795a1b
MA
27532012-07-16 Michael Albinus <michael.albinus@gmx.de>
2754
9328d9aa
MA
2755 * eshell/em-ls.el (eshell/ls): Use `apply'.
2756
2757 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2758 multi-hops, instead of Tramp internals.
2759
01795a1b
MA
2760 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2761
2762 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2763 when F1 and F2 are located on different hosts.
2764
63408057
CY
27652012-07-14 Chong Yidong <cyd@gnu.org>
2766
2767 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2768 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2769 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2770 (xterm-mouse--read-event-sequence-1000)
2771 (xterm-mouse--read-event-sequence-1006): New functions. For old
2772 mouse protocol, handle M-mouse-X events correctly.
2773 (xterm-mouse-event): New arg specifying mouse protocol.
2774 (turn-on-xterm-mouse-tracking-on-terminal)
2775 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2776 sequence to toggle extended coordinates on newer XTerms.
2777 This appears to be harmless on terminals which do not support this.
63408057 2778
cd276f6e
LL
27792012-07-14 Leo Liu <sdl.web@gmail.com>
2780
28ca98ac
LL
2781 Add fringe bitmap indicators for flymake. (Bug#11253)
2782 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2783 (flymake-make-overlay): New arg BITMAP.
2784 (flymake-error-bitmap, flymake-warning-bitmap)
2785 (flymake-fringe-indicator-position): New user variables.
2786
cd276f6e
LL
2787 * fringe.el: New bitmap exclamation-mark.
2788
04408072
JD
27892012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2790
2791 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2792 also (Bug#7879).
2793
b5cf7fc4
CY
27942012-07-14 Chong Yidong <cyd@gnu.org>
2795
2796 * electric.el (electric-pair-post-self-insert-function): Fix pair
2797 insertion in empty-region case (Bug#11520).
2798
be755c79
RT
27992012-07-14 Chong Yidong <cyd@gnu.org>
2800
45fd731c
SM
2801 * bindings.el: Consolidate ctl-x-r-map bindings.
2802 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2803
2804 * rect.el, register.el: Move bindings to bindings.el.
2805
28062012-07-14 Reuben Thomas <rrt@sc3d.org>
2807
2808 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2809
7f5b3198
AS
28102012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2811
2812 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2813
97662200
JB
28142012-07-13 Juanma Barranquero <lekktu@gmail.com>
2815
80185fed
JB
2816 * bindings.el (top): Use `mapc' instead of `mapcar'.
2817
97662200
JB
2818 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2819
2bb1ae55
MA
28202012-07-13 Michael Albinus <michael.albinus@gmx.de>
2821
2822 * progmodes/sql.el (sql-comint): Suppress the check for program on
2823 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2824 (Bug#11908)
2825
dea31bd3
CY
28262012-07-13 Chong Yidong <cyd@gnu.org>
2827
2828 * bindings.el: Assign a non-nil permanent-local property to
2829 per-buffer variables which lack a default value (Bug#11930).
2830
2831 * help-fns.el (describe-variable): In the "automatically becomes
2832 local" notice, take note of permanent-local variables.
2833
b68b3337
CY
28342012-07-13 Chong Yidong <cyd@gnu.org>
2835
2836 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2837 to allow printing the message when called from Lisp.
2838
2839 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2840 Remove toggle-read-only.
2841
2842 * bs.el (bs-toggle-readonly):
45fd731c
SM
2843 * buff-menu.el (Buffer-menu-toggle-read-only):
2844 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2845
2846 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2847 Remove with-no-warnings around toggle-read-only.
2848 (ffap-read-only, ffap-read-only-other-window)
2849 (ffap-read-only-other-frame): Callers changed.
2850
2851 * help-mode.el: Don't require view package.
2852 (help-mode-finish): Set buffer-read-only instead of calling
2853 toggle-read-only.
2854
2855 * bindings.el (mode-line-toggle-read-only):
2856 * dired.el (dired-toggle-read-only):
2857 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2858 with non-nil second arg.
2859
2860 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2861 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2862 directly.
2863
56bc1586
EZ
28642012-07-12 Eli Zaretskii <eliz@gnu.org>
2865
2866 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2867 not incf.
2868
a464a6c7
SM
28692012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 More CL cleanups and reduction of use of cl.el.
2872 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2873 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2874 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2875 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2876 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2877 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2878 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2879 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2880 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2881 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2882 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2883 * eshell/em-cmpl.el, eshell/em-banner.el:
2884 * calendar/parse-time.el: Use cl-lib.
2885 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2886 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2887 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2888 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2889 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2890 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2891 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2892 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2893 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2894 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2895 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2896 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2897 `lambda' rather than with `quote'.
2898 (eshell-do-opt): Adjust accordingly.
2899 (eshell-process-option): Simplify.
2900 * eshell/esh-var.el:
2901 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2902 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2903 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2904 to `pcase--dontcare'.
2905 * emacs-lisp/cl.el (labels): Mark obsolete.
2906 (cl--letf, letf): Move to cl-lib.
2907 (cl--letf*, letf*): Remove.
2908 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2909 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2910 (cl-progv): Rewrite.
2911 (cl--letf, cl-letf): Move from cl.el.
2912 (cl-letf*): New macro.
2913 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2914
7ad4afe1
MA
29152012-07-11 Michael Albinus <michael.albinus@gmx.de>
2916
2917 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2918
9af57756
CY
29192012-07-11 Chong Yidong <cyd@gnu.org>
2920
2921 * vc/log-edit.el (log-edit-vc-backend): New variable.
2922 (log-edit): Doc fix.
2923
2924 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2925 argument of log-edit to set up all local variables.
2926 (vc-start-logentry): New optional arg specifying VC backend.
2927
2928 * vc/vc.el (vc-checkin): Use it.
2929 (vc-deduce-fileset): Handle Log Edit buffers.
2930 (vc-diff): Make first argument optional too.
2931
2932 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2933
8477cc7a
MA
29342012-07-10 Michael Albinus <michael.albinus@gmx.de>
2935
2936 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2937 command, just in case. The function is not needed anymore.
2938 (eshell-external-command): Do not call `eshell-remote-command'.
2939
19faa8e8
SM
29402012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2941
f58e0fd5
SM
2942 Reduce use of (require 'cl).
2943 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2944 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2945 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2946 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2947 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2948 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2949 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2950 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2951 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2952 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2953 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2954 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2955 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2956 (byte-compile-unfold-bcf, byte-compile-check-variable):
2957 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2958 (byte-compile-nilconstp):
2959 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2960 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2961
2519d43a
SM
2962 * emacs-lisp/gv.el (cond): Make it a valid place.
2963 (if): Simplify slightly.
2964
19faa8e8
SM
2965 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2966 (pcase--self-quoting-p): New function.
2967 (pcase--u1): Use it.
2968
c4907a5e
GM
29692012-07-10 Glenn Morris <rgm@gnu.org>
2970
2971 * emacs-lisp/authors.el (authors-fixed-entries):
2972 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2973
c4444d16
PE
29742012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2975
2976 Rename configure.in to configure.ac (Bug#11603).
2977 * emacs-lisp/authors.el (authors-canonical-file-name):
2978 * progmodes/autoconf.el (autoconf-mode):
2979 Prefer configure.ac to configure.in.
2980
d75be97d
CY
29812012-07-08 Chong Yidong <cyd@gnu.org>
2982
01ac65bd
CY
2983 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2984 Implement the mouse-1-click-follows-link handling properly.
2985
2986 * info.el (Info-link-keymap): Use follow-link mechanism for
2987 header-line links (Bug#374).
2988
d75be97d
CY
2989 * simple.el (deactivate-mark): Do not set the primary selection
2990 if another program has acquired it (Bug#11772).
2991
87a92845 29922012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2993
2994 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2995 (woman-decode-region): Replace escaped-escapes without destroying
2996 bold or underline (Bug#11552).
87a92845 2997 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2998
621b9d6c
CY
29992012-07-07 Chong Yidong <cyd@gnu.org>
3000
3001 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3002 (interprogram-cut-function, interprogram-paste-function):
3003 Mention that we typically mean the clipboard.
621b9d6c 3004
133a11fc
GM
30052012-07-06 Glenn Morris <rgm@gnu.org>
3006
0d27a45e
GM
3007 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3008
133a11fc
GM
3009 * files.el (toggle-read-only): Restrict message to interactive use.
3010
07b151f1
MA
30112012-07-06 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3014
3015 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3016
211b896b
GM
30172012-07-06 Glenn Morris <rgm@gnu.org>
3018
50394322
GM
3019 * Makefile.in (compile-one-process): Rename from "recompile".
3020
211b896b
GM
3021 * Makefile.in (bzr-update): "compile" is the same as "recompile
3022 autoloads", but parallelizable, so use that instead.
3023
4737eec9
DG
30242012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 * window.el (quit-window): Always restore window height when
8137e7b3 3027 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3028
226c3633 30292012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3030
3031 * simple.el (kill-whole-line): Doc tweak.
3032
226c3633 30332012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3034
3035 * files.el (file-relative-name): Compare file names
3036 case-insensitively if on MS-Windows or MS-DOS, or if
3037 read-file-name-completion-ignore-case is non-nil. Don't use
3038 case-fold-search for this purpose. (Bug#11827)
3039
4dc7c8d5
SM
30402012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3041
3042 * calendar/cal-dst.el (calendar-current-time-zone):
3043 Return calendar-current-time-zone-cache if non-nil.
3044
30452012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 30462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3047
19faa8e8
SM
3048 * calendar/cal-dst.el (calendar-current-time-zone):
3049 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3050
60198fc9
GM
30512012-07-06 Glenn Morris <rgm@gnu.org>
3052
3053 * Makefile.in (cvs-update): Remove old alias.
3054
957b3189
MA
30552012-07-05 Michael Albinus <michael.albinus@gmx.de>
3056
3057 Sync with Tramp 2.2.6-pre.
3058
3059 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3060 compatible declaration.
3061
19faa8e8
SM
3062 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3063 Protect `list-load-path-shadows' call.
957b3189
MA
3064
3065 * net/tramp-compat.el (top): Require packages, which aren't
3066 autoloaded anymore for XEmacs. Protect call of
3067 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3068 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3069 it hurts at least for SXEmacs.
3070 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3071 standard-value for `temporary-file-directory'.
3072
3073 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3074 Redirect stderr to /dev/null.
3075 (tramp-sh-handle-write-region): uid and gid can be floats.
3076 Reported by Russell Sim <russell.sim@gmail.com>.
3077 (tramp-sh-handle-vc-registered): Hide errors.
3078 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3079 and `start-file-process'.
3080 (tramp-maybe-open-connection): Check also whether `non-essential'
3081 is bound.
3082
566df3fc
CY
30832012-07-04 Chong Yidong <cyd@gnu.org>
3084
3085 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3086 (xml-parse-tag): Likewise, and avoid changing entity tables.
3087 (xml-syntax-table): Define from scratch, making sure not to give
3088 x2000 and other Unicode spaces whitespace syntax, since those are
3089 not spaces in XML.
3090 (xml-parse-fragment): Delete unused function.
3091 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3092 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3093 (xml-entity-ref, xml-pe-reference-re)
3094 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3095 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3096 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3097 (xml-entity-value-re): Use syntax references in regexps where
3098 possible; no need to define inside a let-binding.
3099 (xml-parse-dtd): Use xml-pe-reference-re.
3100 (xml-entity-or-char-ref-re): New defconst.
3101 (xml-parse-string, xml-substitute-special): Use it.
3102
30eabd7a
SM
31032012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3104
0781098a
SM
3105 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3106 (find-file--read-only): New function.
3107 (find-file-read-only, find-file-read-only-other-window)
3108 (find-file-read-only-other-frame): Use it.
3109 (insert-file-contents-literally): Don't `fset'.
3110 (get-free-disk-space): Use locate-dominating-file.
3111
b5771c0d
SM
3112 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3113 function is already compiled.
3114
30eabd7a
SM
3115 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3116
b4886f6e
MA
31172012-07-03 Michael Albinus <michael.albinus@gmx.de>
3118
3119 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3120 files on the same host.
3121
b9d82339
AS
31222012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3123
3124 * help-fns.el (describe-function-1): Only call
3125 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3126
a76e6535
CY
31272012-07-03 Chong Yidong <cyd@gnu.org>
3128
3129 * xml.el: Protect parser against XML bombs.
3130 (xml-entity-expansion-limit): New variable.
3131 (xml-parse-string, xml-substitute-special): Use it.
3132 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3133
b544fef2
GM
31342012-07-03 Glenn Morris <rgm@gnu.org>
3135
3136 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3137 Allow linking to specific messages in debbugs reports (eg 123#5).
3138
a7aef6f5
CY
31392012-07-02 Chong Yidong <cyd@gnu.org>
3140
3141 * xml.el: Fix entity and character reference expansion, allowing
3142 them to expand into markup as per XML spec.
3143 (xml-default-ns): New variable.
3144 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3145 (xml-parse-region): Make first two arguments optional.
3146 Discard text properties.
3147 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3148 All callers changed.
a7aef6f5
CY
3149 (xml-parse-tag): Call xml-parse-tag-1. For backward
3150 compatibility, this function should not modify buffer contents.
3151 (xml-parse-tag-1): Fix opening-tag regexp.
3152 (xml-parse-string): Rewrite, handling entity and character
3153 references properly.
3154 (xml--entity-replacement-text): Signal an error if a parameter
3155 entity is undefined.
3156
3df31c9f
SM
31572012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3158
2b5208f1
SM
3159 * comint.el (comint-output-filter): Filter out repeated prompts.
3160
3df31c9f
SM
3161 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3162 and file-name-absolute-p.
3163 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3164 internal calls.
3165
e3ac1281
PE
31662012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3167
3168 Spelling fixes.
3169 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3170 Rename from byte-compile--refiy-function. All uses changed.
3171
fbf2e7ad
CY
31722012-07-01 Chong Yidong <cyd@gnu.org>
3173
3174 * xml.el (xml--parse-buffer): New function. Move most of
3175 xml-parse-region here.
3176 (xml-parse-region): Copy region into a temporary buffer, since
3177 parameter entity substitution requires changing buffer contents.
3178 Use xml--parse-buffer.
3179 (xml-parse-file): Use xml--parse-buffer.
3180 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3181 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3182
9bf0aa15
GM
31832012-06-30 Glenn Morris <rgm@gnu.org>
3184
bbce2853
GM
3185 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3186
9bf0aa15
GM
3187 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3188 Remove outdated and unnecessary dbus declarations.
3189
0d23c240
EZ
31902012-06-30 Eli Zaretskii <eliz@gnu.org>
3191
3192 * emacs-lisp/timer.el (timer-until): Subtract results of
3193 float-time, instead of taking float-time of the result of
3194 time-subtract, since float-time signals an error for negative time
3195 arguments.
3196
b3218de1
CY
31972012-06-30 Chong Yidong <cyd@gnu.org>
3198
3199 * xml.el (xml-*-re): Convert defvars into defconsts, and
3200 eval-and-compile them so eval-and-compile works on derivatives.
3201 (xml--entity-replacement-text): Use eval-and-comple.
3202
a40c87a0
MA
32032012-06-30 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * vc/vc-git.el (vc-git-registered): Use cache property
3206 `git-registered'.
3207 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3208 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3209 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3210
ac87de97
DG
32112012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3212
3213 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3214 removed (likely outside Emacs). (Bug#11757)
ac87de97 3215
ac10fe06
SM
32162012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3df31c9f 3218 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3219
7f3fbd5d
CY
32202012-06-30 Chong Yidong <cyd@gnu.org>
3221
3222 * xml.el: Implement XML parameter entities.
3223 (xml-parameter-entity-alist): New variable.
3224 (xml-parse-region, xml-parse-fragment): Preserve previous values
3225 of xml-entity-alist and xml-parameter-entity-alist, so that
3226 repeated calls on different documents do not change them.
3227 (xml-parse-tag): Fix doctype regexp.
3228 (xml--entity-replacement-text): New function.
3229 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3230 properly requires url retrieval which is unimplemented.
3231 (xml-escape-string): Doc fix.
3232
3cfbebba
SM
32332012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3236
2af3565e
DA
32372012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3238
3239 * fringe.el (fringe-mode): Doc fix.
3240
929df0e7
MA
32412012-06-29 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3244 is non-nil.
3245 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3246 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3247
c8d3a25c 32482012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3249
c8d3a25c
GM
3250 * calendar/cal-dst.el (calendar-current-time-zone):
3251 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3252
c8d3a25c 32532012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3254
3255 * progmodes/which-func.el (which-func-format):
3256 Add mouse-face. (Bug#11698)
3257
c8d3a25c
GM
32582012-06-29 Leo Liu <sdl.web@gmail.com>
3259
3260 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3261
32622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * minibuffer.el (minibuffer-confirm-exit-commands):
3265 Add completion-at-point (bug#11725).
3266
32672012-06-29 Glenn Morris <rgm@gnu.org>
3268
3269 * progmodes/f90.el (f90-font-lock-keywords-2):
3270 Add some preprocessor elements. (Bug#10499)
3271
32722012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3275 Use syntax-propertize (bug#11739).
3276
2badeec4
JB
32772012-06-28 Juanma Barranquero <lekktu@gmail.com>
3278
3279 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3280
ae4969c2
JD
32812012-06-28 Julien Danjou <julien@danjou.info>
3282
3283 * term.el (term-handle-colors-array): Use a set of new faces to
3284 color the terminal. Also uses :inverse-video property.
3285 (term-default-fg-color): Set to nil by default, deprecate in favor
3286 of `term-face'.
3287 (term-default-bg-color): Set to nil by default, deprecate in favor
3288 of `term-face'.
3289 (term-current-face): Use `term-face' by default.
3290 (term-bold-attribute): Variable deleted.
3291
1c9bd870
GM
32922012-06-28 Glenn Morris <rgm@gnu.org>
3293
3294 * simple.el (completion-list-mode-finish):
3295 Don't use toggle-read-only. (Since completion-list-mode has
3296 a special mode-class, it wasn't doing anything extra anyway.)
3297
c207708c
SM
32982012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 Make inlining of other-mode interpreted functions work (bug#11799).
3301 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3302 (byte-compile): Use it to fix compilation of lexical-binding closures.
3303 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3304 function, if needed.
3305
3fd56834
SM
33062012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3307
04901786
SM
3308 * help-mode.el (help-make-xrefs): Don't just withstand
3309 cyclic-variable-indirection but any error in documentation-property.
3310
1ec4b7b2
SM
3311 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3312 memory use.
3313 * bindings.el (bindings--define-key): New function.
3314 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3315 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3316 * bindings.el: Use it to purecopy define-key bindings.
3317
e309e2a5
SM
3318 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3319
d5c6faf9
SM
3320 * emacs-lisp/cl.el (flet): Mark obsolete.
3321 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3322 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3323 * progmodes/js.el (js-c-fill-paragraph):
3324 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3325 (ebrowse-switch-member-buffer-to-derived-class):
3326 * play/5x5.el (5x5-solver): Use cl-flet.
3327
6e9590e2
SM
3328 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3329 (cl--symbol-function): New macro.
3330 (cl--letf, cl--letf*): Use it.
3331
3fd56834
SM
3332 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3333 Strip "toggle-" if any.
3334
35ff222c
GM
33352012-06-27 Glenn Morris <rgm@gnu.org>
3336
1ba6038a
GM
3337 * info.el (Info-default-directory-list): Move here from paths.el.
3338 * paths.el: Remove file, which is now empty.
3339 * loadup.el: No longer load "paths".
3340
0ea0e51b
GM
3341 * custom.el (custom-initialize-delay): Doc fix.
3342
35ff222c
GM
3343 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3344 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3345 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3346 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3347 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3348 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3349 * eshell/eshell.el (eshell-defgroup): Remove alias.
3350
c89926a5
CY
33512012-06-27 Chong Yidong <cyd@gnu.org>
3352
3353 * help.el (help-enable-auto-load): New variable.
3354
3355 * help-fns.el (help-fns--autoloaded-p): New function.
3356 (describe-function-1): Refer to a function as "autoloaded" if it
3357 was autoloaded at any time in the past. Perform autoloading if
3358 help-enable-auto-load is non-nil.
3359
cc06e7e7
EZ
33602012-06-26 Eli Zaretskii <eliz@gnu.org>
3361
3362 * makefile.w32-in (compile, compile-always): Depend on
3363 update-subdirs, not on subdirs.el. Otherwise, several different
3364 sub-targets of 'bootstrap' running in parallel could
3365 simultaneously write to subdirs.el, producing a garbled file.
3366
d2c32364
SS
33672012-06-26 Sam Steingold <sds@gnu.org>
3368
3369 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3370 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3371 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3372 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3373 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3374 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3375 * textmodes/tex-mode.el: Use it.
3376 Did not touch cedet and org because they are maintained elsewhere.
3377
5cf983b2
MR
33782012-06-26 Martin Rudalics <rudalics@gmx.at>
3379
3380 * calendar/calendar.el (calendar-exit): Don't try to delete or
3381 iconify last frame. See:
3382 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3383
8c4f2952
JD
33842012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3385
3386 * server.el (server-process-filter): Remember dir in the
3387 process's `server-client-directory' properties.
3388
772b2e2c
CY
33892012-06-24 Chong Yidong <cyd@gnu.org>
3390
3391 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3392 non-tag text.
3393
711b11e1
JB
33942012-06-23 Juanma Barranquero <lekktu@gmail.com>
3395
3396 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3397
dc5d230c
SM
33982012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * help-fns.el (describe-variable): Don't croak when doc is not found.
3401 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3402 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3403 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3404 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3405 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3406 ((lambda ..) ..).
3407 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3408
136e1c1d
CY
34092012-06-23 Chong Yidong <cyd@gnu.org>
3410
e8c1cabf
CY
3411 * info.el (Info-mouse-follow-link): Accept symbol values of
3412 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3413 (Info-fontify-node): Use Info-link-keymap for all navigation
3414 buttons, with link-args property to perform the desired action.
3415 (Info-link-keymap): Doc fix.
3416 (Info-next-link-keymap, Info-prev-link-keymap)
3417 (Info-up-link-keymap): Delete now-unused keymaps.
3418
0e9e6c6a
CY
34192012-06-23 Chong Yidong <cyd@gnu.org>
3420
05e89fea
CY
3421 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3422
0e9e6c6a
CY
3423 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3424 system abbrevs.
3425
3426 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3427
e33c6771
SM
34282012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3429
b68581e2
SM
3430 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3431 (bug#11719).
3432
e33c6771
SM
3433 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3434 the requote function doesn't work properly (bug#11714).
3435
7117e105
GM
34362012-06-23 Glenn Morris <rgm@gnu.org>
3437
3438 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3439
36cec983
SM
34402012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 Further GV/CL cleanups.
3443 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3444 gv-expander.
3445 (gv--defun-declaration): New function.
3446 (defun-declarations-alist): Use it.
3447 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3448 (gv-place): Autoload.
3449 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3450 original definition of dotimes and dolist.
3451 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3452 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3453 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3454 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3455 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3456 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3457 to the function's definition.
3458 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3459 * window.el:
3460 * files.el:
3461 * faces.el:
3462 * env.el: Don't use CL.
3463
d35af63c
PE
34642012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3465
3466 Support higher-resolution time stamps (Bug#9000).
3467
3468 * calendar/time-date.el (with-decoded-time-value): New arg
3469 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3470 (encode-time-value): New optional arg PICO. New type 3.
3471 (time-to-seconds) [!float-time]: Support the new picoseconds
3472 component if it's used.
3473 (seconds-to-time, time-subtract, time-add):
3474 Support ps-resolution time stamps as well.
3475
3476 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3477 (timerp): Timer vectors now have length 9, not 8.
3478 (timer--time): Support new-style (4-part) time stamps.
3479 (timer-next-integral-multiple-of-time): Time stamps now have
3480 picosecond resolution, so take a bit more care about rounding.
3481 (timer-relative-time, timer-inc-time): New optional arg psecs.
3482 (timer-set-time-with-usecs): Set psecs to 0.
3483 (timer--activate): Check psecs component, too.
3484
3485 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3486
ac77b21a
SM
34872012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3488
f143bfe3
SM
3489 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3490 Move the non-essential binding to the post/pre-command-hook where it is
3491 more obviously correct.
3492
ac77b21a
SM
3493 * subr.el (read-passwd): Don't use a history at all.
3494 * savehist.el (savehist-save): Remove password saved accidentally
3495 because of the above bug.
3496
76386c5a
BG
34972012-06-22 Bastien Guerry <bzg@gnu.org>
3498
3499 * files.el (toggle-read-only): Display a message telling whether
3500 the buffer is read-only or not (bug#11726).
3501
2ee3d7f0
SM
35022012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3503
3504 * emacs-lisp/gv.el: New file.
3505 * subr.el (push, pop): Extend to generalized variables.
3506 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3507 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3508 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3509 gv-define-simple-setter, and gv-define-expander.
3510 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3511 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3512 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3513 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3514 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3515 gv-letplace.
3516 (cl-defstruct): Don't define setf-method any more.
3517 * emacs-lisp/cl.el (flet): Don't autoload.
3518 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3519 (define-setf-expander, defsetf, define-modify-macro)
3520 (cl-struct-setf-expander): Move from cl-lib.el.
3521 * emacs-lisp/syntax.el:
3522 * emacs-lisp/ewoc.el:
3523 * emacs-lisp/smie.el:
3524 * emacs-lisp/cconv.el:
3525 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3526 (timer--time): Use gv-define-simple-setter.
3527 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3528 to avoid coding-system problems in subr.el. Adjust all users.
3529 (macroexp--maxsize, macroexp-small-p): New functions.
3530 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3531 * scroll-bar.el (scroll-bar-mode):
3532 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3533 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3534 * winner.el (winner-configuration, winner-make-point-alist)
3535 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3536 * files.el (locate-file-completion-table): Avoid list*.
3537
c5695d1d
CY
35382012-06-22 Chong Yidong <cyd@gnu.org>
3539
3540 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3541 (dired-create-files): Doc fix (Bug#11329).
3542 (dired-do-copy): Doc fix (Bug#11334).
3543 (dired-mark-read-string): Doc fix (Bug#11553).
3544
2ee3d7f0
SM
3545 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3546 Doc fix (Bug#11326).
c5695d1d
CY
3547 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3548 (dired-dwim-target): Doc fix.
3549
3550 * wdired.el (wdired-mode): Doc fix.
3551
89b5595a
GM
35522012-06-22 Glenn Morris <rgm@gnu.org>
3553
575db3f1
GM
3554 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3555 (pcmpl-rpm-cache-stamp-file): New constant.
3556 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3557 (pcmpl-rpm-packages): Optionally cache list of packages.
3558
a4c8dd51
GM
3559 * pcmpl-rpm.el (pcmpl-rpm): New group.
3560 (pcmpl-rpm-query-options): New option.
3561 (pcmpl-rpm-packages): No need to inline it.
3562 Use pcmpl-rpm-query-options.
3563
89b5595a
GM
3564 * calendar/calendar.el (calendar-in-read-only-buffer):
3565 Avoid some needless mode changes.
3566
e76f0800
CY
35672012-06-21 Chong Yidong <cyd@gnu.org>
3568
3569 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3570 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3571 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3572
297a8f1d
CY
35732012-06-20 Chong Yidong <cyd@gnu.org>
3574
3575 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3576
d34c18b1
DR
35772012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3578
3579 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3580 (bug#11201).
3581
32f7f28e
CY
35822012-06-20 Chong Yidong <cyd@gnu.org>
3583
3584 * term.el (term-window-width): Handle the case of a missing right
3585 fringe (Bug#8837).
3586 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3587 (term-mode): Use define-derived-mode. Minor cleanups.
3588 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3589 (term-move-columns, term-insert-char, term-emulate-terminal)
3590 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3591
493c6688
MA
35922012-06-20 Michael Albinus <michael.albinus@gmx.de>
3593
d34c18b1
DR
3594 * net/ange-ftp.el (ange-ftp-get-passwd):
3595 Bind `enable-recursive-minibuffers'.
493c6688
MA
3596 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3597
3f06ecf4
DR
35982012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3599
3600 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3601
68f12411
GM
36022012-06-19 Glenn Morris <rgm@gnu.org>
3603
3604 * progmodes/python.el (python-mode): Derive from prog-mode.
3605
b3820318
KG
36062012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3607
3608 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3609 (edt-user-menu-bar-update-buffers): New functions.
3610 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3611
c6bf3022
CY
36122012-06-19 Chong Yidong <cyd@gnu.org>
3613
3614 * subr.el (with-selected-window): Preserve the selected window's
3615 terminal's top-frame (Bug#4702).
3616
3617 * window.el (save-selected-window): Likewise.
3618
25f09295
SM
36192012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * progmodes/python.el (python-rx-constituents): Move backquote.
3622 (python-skeleton-define, python-define-auxiliary-skeleton):
3623 Use `declare'.
3624
6b11952a
MA
36252012-06-18 Michael Albinus <michael.albinus@gmx.de>
3626
3627 * minibuffer.el (read-file-name-default): Revert the patch from
3628 2012-06-17.
3629
ee4b1330
SM
36302012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3633 (pcase--u1, pcase--q1): Don't use apply-partially.
3634
35647f79
GM
36352012-06-18 Glenn Morris <rgm@gnu.org>
3636
3637 * progmodes/python.el (python-proc, python-buffer)
3638 (python-send-receive, python-send-string): Fix obsolete versions.
3639
24b0cff0
MR
36402012-06-18 Martin Rudalics <rudalics@gmx.at>
3641
3642 * window.el (special-display-p): Completely remove stringp
3643 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3644
29855149
MA
36452012-06-17 Michael Albinus <michael.albinus@gmx.de>
3646
3647 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3648
3649 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3650
3651 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3652 * net/tramp-sh.el (tramp-maybe-open-connection):
3653 Throw if `non-essential' is non-nil.
3654
07463363
MR
36552012-06-17 Martin Rudalics <rudalics@gmx.at>
3656
3657 * window.el (special-display-p): Signal an error if BUFFER-NAME
3658 is not a string (Bug#11713).
3659
48d1354e
PE
36602012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3661
3662 * progmodes/python.el (python-info-beginning-of-backslash):
3663 Rename from python-info-beginning-of-backlash, as a spelling fix.
3664
eb4a8a9a
CY
36652012-06-17 Chong Yidong <cyd@gnu.org>
3666
3667 * term.el (term-emulate-terminal): If term-check-size is called,
3668 move point to the process mark without resetting point (Bug#4635).
3669
ddfbf826 36702012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3671
3672 * international/mule-cmds.el (mule-menu-keymap)
3673 (set-language-environment, set-locale-environment): Doc tweaks.
3674
9b0e3eba
AA
36752012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3676
3677 * cus-face.el (custom-face-attributes): Add wave-style underline
3678 attribute.
3679 * faces.el (set-face-attribute): Update docstring to describe
3680 wave-style underline attribute.
3681
771e3eae
CY
36822012-06-16 Chong Yidong <cyd@gnu.org>
3683
3684 * term/xterm.el (terminal-init-xterm): Discard input before
3685 querying background mode (Bug#10959).
3686
7ae2ea10
SM
36872012-06-16 Stefan Merten <smerten@oekonux.de>
3688
3689 * textmodes/rst.el: Added and corrected some comments.
3690 (rst-re-alist-def): Improve symbol syntax.
3691 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3692 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3693 (rst-official-version, rst-official-cvs-rev): Update version
3694 information.
7ae2ea10 3695
b6974efa
JB
36962012-06-15 Juanma Barranquero <lekktu@gmail.com>
3697
3698 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3699 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3700
8826d473
GM
37012012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3702
3703 * progmodes/python.el: New python.el merge.
3704 (python-guess-indent): Obsolete var.
3705 (python-indent-guess-indent-offset): New defcustom.
3706 (python-indent): Obsolete var.
3707 (python-indent-offset): New defcustom.
3708 (python-python-command, python-jython-command): Delete var.
3709 (python-shell-interpreter): New defcustom.
3710 (python-pdbtrack-do-tracking-p): Delete var.
3711 (python-pdbtrack-activate): New defcustom.
3712 (python-use-skeletons): Obsolete var.
3713 (python-skeleton-autoinsert): New defcustom.
3714 (inferior-python-filter-regexp, python-continuation-offset)
3715 (python-honour-comment-indentation, python-indent-string-contents)
3716 (python-jython-packages, python-mode-hook)
3717 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3718 (python-shell-prompt-alist)
3719 (python-source-modes): Delete defcustoms.
3720 (python-check-buffer-name, python-eldoc-setup-code)
3721 (python-eldoc-string-code, python-ffap-setup-code)
3722 (python-ffap-string-code, python-fill-comment-function)
3723 (python-fill-decorator-function, python-fill-paren-function)
3724 (python-fill-string-function, python-imenu-include-defun-type)
3725 (python-imenu-make-tree, python-imenu-subtree-root-label)
3726 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3727 (python-shell-compilation-regexp-alist)
3728 (python-shell-completion-module-string-code)
3729 (python-shell-completion-pdb-string-code)
3730 (python-shell-completion-setup-code)
3731 (python-shell-completion-string-code)
3732 (python-shell-enable-font-lock, python-shell-exec-path)
3733 (python-shell-extra-pythonpaths)
3734 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3735 (python-shell-process-environment)
3736 (python-shell-prompt-block-regexp)
3737 (python-shell-prompt-output-regexp)
3738 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3739 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3740 (python-shell-virtualenv-path): New defcustoms.
3741 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3742 (inferior-python-mode-syntax-table, python--prompt-regexp)
3743 (python-buffer, python-command python-python-command)
3744 (python-default-template, python-imports, python-indent-index)
3745 (python-indent-list, python-indent-list-length)
3746 (python-mode-running, python-pdbtrack-is-tracking-p)
3747 (python-preoutput-continuation, python-preoutput-leftover)
3748 (python-preoutput-result, python-preoutput-skip-next-prompt)
3749 (python-prev-dir/file, python-recursing)
3750 (python-saved-check-command, python-version-checked)
3751 (python-which-func-length-limit)
3752 (view-return-to-alist): Delete vars.
3753 (python-check-custom-command, python-dotty-syntax-table)
3754 (python-imenu-index-alist, python-indent-current-level)
3755 (python-indent-dedenters, python-indent-levels)
3756 (python-nav-beginning-of-defun-regexp)
3757 (python-nav-list-defun-positions-cache)
3758 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3759 (python-shell-internal-buffer)
3760 (python-skeleton-available): New vars.
3761 (def-python-skeleton): Delete macro.
3762 (python-skeleton-define): New macro.
3763 (python-define-auxiliary-skeleton, python-rx): New macros.
3764 (python-insert-class): Delete command.
3765 (python-skeleton-class): New command.
3766 (python-insert-def): Delete command.
3767 (python-skeleton-def): New command.
3768 (python-insert-for): Delete command.
3769 (python-skeleton-for): New command.
3770 (python-insert-if): Delete command.
3771 (python-skeleton-if): New command.
3772 (python-insert-try/except, python-insert-try/finally): Delete commands.
3773 (python-skeleton-try): New command.
3774 (python-insert-while): Delete command.
3775 (python-skeleton-while): New command.
3776 (python-backspace): Delete command.
3777 (python-indent-dedent-line-backspace): New command.
3778 (python-electric-colon): Delete command.
3779 (python-indent-electric-colon): New command.
3780 (python-guess-indent): Delete command.
3781 (python-indent-guess-indent-offset): New command.
3782 (python-shift-left): Delete command.
3783 (python-indent-shift-left): New command.
3784 (python-shift-right): Delete command.
3785 (python-indent-shift-right): New command.
3786 (python-find-function): Delete command.
3787 (python-nav-jump-to-defun): New command.
3788 (python-next-statement): Delete command.
3789 (python-nav-forward-sentence): New command.
3790 (python-previous-statement): Delete command.
3791 (python-nav-backward-sentence): New command.
3792 (python-fill-paragraph): Delete command.
3793 (python-fill-paragraph-function): New command.
3794 (python-send-buffer): Delete command.
3795 (python-shell-send-buffer): New command.
3796 (python-send-defun): Delete command.
3797 (python-shell-send-defun): New command.
3798 (python-send-region, python-send-region-and-go): Delete commands.
3799 (python-shell-send-region)
3800 (python-shell-switch-to-shell): New commands.
3801 (python-send-string): Delete command.
3802 (python-shell-send-string): New command.
3803 (python-switch-to-python): Delete command.
3804 (python-shell-switch-to-shell): New command.
3805 (python-describe-symbol): Delete command.
3806 (python-eldoc-at-point): New command.
3807 (python--set-prompt-regexp, python-args-to-list)
3808 (python-after-info-look, python-check-version)
3809 (python-check-comint-prompt, python-find-imports)
3810 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3811 (python-unload-function, python-expand-template)
3812 (python-maybe-jython, python-preoutput-filter)
3813 (python-pdbtrack-get-source-buffer)
3814 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3815 (python-pdbtrack-toggle-stack-tracking)
3816 (python-pdbtrack-track-stack-file, python-initial-text)
3817 (python-first-word, python-comment-line-p, python-send-command)
3818 (python-setup-brm, python-sentinel, python-set-proc)
3819 (python-skip-out, python-input-filter, python-outdent-p)
3820 (python-outline-level, python-backslash-continuation-line-p)
3821 (python-end-of-block, python-end-of-statement, python-mark-block)
3822 (python-beginning-of-block, python-beginning-of-statement)
3823 (python-blank-line-p, python-beginning-of-string)
3824 (python-open-block-statement-p): Delete functions.
3825 (python-indent-line, python-indent-line-1): Delete functions.
3826 (python-indent-line): New function.
3827 (python-indentation-levels): Delete function.
3828 (python-indent-calculate-levels): New function.
3829 (python-proc): Delete function.
3830 (python-shell-get-process): New function.
3831 (python-send-receive): Delete function.
3832 (python-shell-send-string-no-output): New function.
3833 (python-module-path): Delete function.
3834 (python-ffap-module-path): New function.
3835 (python-completion-at-point)
3836 (python-symbol-completions): Delete functions.
3837 (python-completion-complete-at-point): New function.
3838 (python-load-file): Delete function.
3839 (python-shell-send-file): New function.
3840 (python-calculate-indentation): Delete function.
3841 (python-indent-calculate-indentation): New function.
3842 (python-skip-comments/blanks): Delete function.
3843 (python-util-forward-comment): New function.
3844 (python-continuation-line-p): Delete function.
3845 (python-info-continuation-line-p): New function.
3846 (python-which-func, python-current-defun): Delete function.
3847 (python-info-current-defun): New function.
3848 (python-beginning-of-defun): Delete function.
3849 (python-nav-beginning-of-defun): New function.
3850 (python-close-block-statement-p)
3851 (python-block-end-p): Delete function.
3852 (python-info-closing-block): New function.
3853 (python-comint-output-filter-function)
3854 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3855 (python-fill-comment, python-fill-decorator, python-fill-paren)
3856 (python-fill-string, python-imenu-make-element-tree)
3857 (python-imenu-make-tree, python-imenu-tree-assoc)
3858 (python-indent-context, python-indent-dedent-line)
3859 (python-indent-line-function)
3860 (python-indent-post-self-insert-function)
3861 (python-indent-toggle-levels)
3862 (python-info-assignment-continuation-line-p)
3863 (python-info-beginning-of-backlash)
3864 (python-info-block-continuation-line-p)
3865 (python-info-closing-block-message)
3866 (python-info-line-ends-backslash-p)
3867 (python-info-looking-at-beginning-of-defun)
3868 (python-info-ppss-context, python-info-ppss-context-type)
3869 (python-nav-list-defun-positions, python-nav-read-defun)
3870 (python-nav-sentence-end, python-nav-sentence-start)
3871 (python-pdbtrack-comint-output-filter-function)
3872 (python-pdbtrack-set-tracked-buffer)
3873 (python-shell-calculate-exec-path)
3874 (python-shell-calculate-process-environment)
3875 (python-shell-completion--do-completion-at-point)
3876 (python-shell-completion--get-completions)
3877 (python-shell-completion-complete-at-point)
3878 (python-shell-completion-complete-or-indent)
3879 (python-shell-get-or-create-process)
3880 (python-shell-get-process-name)
3881 (python-shell-internal-get-or-create-process)
3882 (python-shell-internal-get-process-name)
3883 (python-shell-internal-send-string, python-shell-make-comint)
3884 (python-shell-parse-command, python-shell-send-setup-code)
3885 (python-skeleton-add-menu-items)
3886 (python-util-clone-local-variables, python-util-position)
3887 (run-python-internal, python-indentation-levels)
3888 (python-nav-beginning-of-defun)
3889 (python-completion-complete-at-point): New functions.
3890 (run-python): Change arguments. New API requirements.
3891
4302f5ba
SM
38922012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3893
f38ea36d
SM
3894 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3895 (bug#11649).
3896
3897 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3898 (macroexp--expand-all): Use it.
3899
4302f5ba
SM
3900 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3901 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3902 Use `cl-function' instead.
3903
33377562
JB
39042012-06-14 Juanma Barranquero <lekktu@gmail.com>
3905
3906 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3907 Suggested by Stefan Monnier while discussing bug#11657.
3908
54c5ba1a
SS
39092012-06-14 Sam Steingold <sds@gnu.org>
3910
3911 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3912
f9f1b1fe
AS
39132012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3914
3915 * play/doctor.el (doctor-doc): Remove parameter and use
3916 doctor-sent instead of sent.
3917 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3918
a81068ba
SM
39192012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3920
5a315f9c
SM
3921 * files.el: Require cl-lib.
3922 (file-name-non-special): Replace case -> cl-case.
3923
3924 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3925
a81068ba
SM
3926 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3927 mapping from #' to function*.
3928
8cca9703
CY
39292012-06-13 Chong Yidong <cyd@gnu.org>
3930
3931 * mouse.el (mouse-drag-track): Do not set the mark if the user
3932 releases the mouse without selecting anything (Bug#11588).
3933
a12ac9d7
SM
39342012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3935
ccf1dc18
SM
3936 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3937 as well (bug#11646).
3938
ef62b23d
SM
3939 * loadup.el: Count byte-code functions as well.
3940
c4c8444a
SM
3941 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3942 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3943
a12ac9d7
SM
3944 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3945 (bug#11649). Add cl-defun and cl-defmacro.
3946
87e6e64f
DA
39472012-06-13 Drew Adams <drew.adams@oracle.com>
3948
3949 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3950 Fix last change.
3951
682cefaf
MA
39522012-06-13 Michael Albinus <michael.albinus@gmx.de>
3953
3954 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3955 Otherwise, it blocks in batch mode.
3956
773e1f08
JB
39572012-06-13 Juanma Barranquero <lekktu@gmail.com>
3958
3959 * help-mode.el (bookmark-make-record-default): Declare.
3960
60057926
CY
39612012-06-13 Chong Yidong <cyd@gnu.org>
3962
3963 * emacs-lisp/package.el (list-packages): Compute a list of
3964 packages that are newly-available since the last list-packages
3965 invocation.
3966 (package-menu--new-package-list): New var.
3967 (package-menu--generate, package-menu--print-info)
3968 (package-menu--status-predicate, package-menu-mark-install):
3969 Handle new status label "new".
3970
ad4d226c
SM
39712012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3974 conversion to backquotes.
3975
f1a4e679
CY
39762012-06-12 Chong Yidong <cyd@gnu.org>
3977
3978 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3979 Rename from gud-inhibit-global-bindings.
3980
3981 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3982
3983 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3984 hook from nxml-glyph-set-hook.
3985
3986 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3987 declaration.
3988
3989 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3990
3991 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3992 Convert to defcustom.
3993
0c9e42b5
DA
39942012-06-12 Drew Adams <drew.adams@oracle.com>
3995
3996 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3997 New functions.
3998 (help-mode): Use them.
3999
09e06855
GM
40002012-06-11 Glenn Morris <rgm@gnu.org>
4001
4002 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4003 Use preprocessor face for directives.
4004 (fortran-directive-re): Doc fix.
4005
71adb94b
SM
40062012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4007
2eb87922
SM
4008 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4009 conversion to backquotes (bug#11652).
4010
71adb94b
SM
4011 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4012 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4013 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4014 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4015 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4016 (cl-ninth, cl-tenth): Mark them as inlinable.
4017 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4018 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4019 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4020 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4021 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4022 (cl-list*, cl-adjoin): Don't put an autoload manually.
4023 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4024 (cl--compiler-macro-list*): Add autoload cookie.
4025 (cl--compiler-macro-cXXr): New function.
2eb87922 4026
71adb94b
SM
4027 * help-fns.el (help-fns--compiler-macro): New function extracted from
4028 describe-function-1; follow aliases and use `compiler-macro' property.
4029 (describe-function-1): Use it.
4030
a6674402
CY
40312012-06-11 Chong Yidong <cyd@gnu.org>
4032
4033 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4034 is uninstalled, if imagemagick is installed.
4035
bb3faf5b
SM
40362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * emacs-lisp/cl-lib.el: Use lexical-binding.
4039 (cl-map-extents, cl-maclisp-member): Remove.
4040 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4041 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4042 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4043 * emacs-lisp/cl-extra.el: Use lexical-binding.
4044 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4045 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4046 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4047 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4048 * emacs-lisp/cl-seq.el: Use lexical-binding.
4049 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4050 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4051 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4052 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4053 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4054 CL's internals.
4055
2fe4b125
MA
40562012-06-11 Michael Albinus <michael.albinus@gmx.de>
4057
4058 Sync with Tramp 2.2.6-pre.
4059
4060 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4061 `print-length' and `print-level' to nil, in order to avoid
4062 truncation. Reported by Christopher Schmidt
4063 <christopher@ristopher.com>.
4064
4065 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4066
4067 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4068 New defmacro.
4069 (tramp-compat-copy-directory): Add optional argument
4070 COPY-CONTENTS. It is not handled yet.
4071
4072 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4073 (tramp-ftp-file-name-p): Simplify.
4074
4075 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4076 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4077 connection vector.
4078
4079 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4080 (tramp-methods): Do not use `tramp-password-end-of-line'.
4081 (tramp-completion-function-alist-putty): Handle UNIX case.
4082 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4083 (tramp-do-file-attributes-with-stat)
4084 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4085 gid as real numbers. They could run out of integer range on cygwin.
4086 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4087 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4088 (tramp-open-connection-setup-interactive-shell):
4089 Use `tramp-cleanup'. Move check for busyboxes ...
4090 (tramp-find-shell): ... here. Simplify implementation.
4091 Set "remote-shell" property also for alternative shells.
4092 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4093 If failing, a regular file would be written otherwise.
4094 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4095 (tramp-find-inline-encoding): Cache the coding commands in the
4096 process cache. Apply test command on the remote side, if defined.
4097 (tramp-find-inline-compress): Cache the compress commands in the
4098 process cache.
4099 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4100 when requested. Handle hops.
4101 (tramp-current-connection): New defvar.
87e6e64f
DA
4102 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4103 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4104 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4105 (tramp-get-inline-compress, tramp-get-inline-coding):
4106 Read connection properties from the process cache.
2fe4b125
MA
4107
4108 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4109 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4110 New defconsts.
2fe4b125
MA
4111 (tramp-smb-prompt): Extend for powershell prompt.
4112 (tramp-smb-file-name-handler-alist): Add handlers for
4113 `process-file', `shell-command' and `start-file-process'.
4114 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4115 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4116 (tramp-smb-file-name-p): Simplify.
4117 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4118 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4119 (tramp-smb-shell-quote-argument): New defuns.
4120 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4121 Implement using "tar". By this, time-stamps are preserved.
4122 (tramp-smb-handle-copy-file): Handle also the case of directories.
4123 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4124 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4125 Use `tramp-get-connection-buffer').
2fe4b125
MA
4126 (tramp-smb-handle-rename-file): Use "rename", when source and
4127 target are on the same share.
87e6e64f
DA
4128 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4129 Use `tramp-smb-server-version'.
2fe4b125
MA
4130 (tramp-smb-wait-for-output): Remove prompt.
4131
4132 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4133 (tramp-methods, tramp-rsh-end-of-line):
4134 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4135 (tramp-save-ad-hoc-proxies): New defcustom.
4136 (tramp-completion-function-alist): Adapt docstring.
4137 (tramp-default-password-end-of-line): Remove defcustom.
4138 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4139 (tramp-user-regexp, tramp-file-name-regexp-unified)
4140 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4141 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4142 (tramp-remote-file-name-spec-regexp): New defconst.
4143 (tramp-file-name-structure): Extend structure for hops.
4144 (tramp-get-method-parameter): Move up.
4145 (tramp-file-name-p, tramp-dissect-file-name)
4146 (with-parsed-tramp-file-name): Handle hops.
4147 (tramp-file-name-hop): New defun.
4148 (tramp-make-tramp-file-name): New optional arg HOP.
4149 (tramp-message-show-progress-reporter-message): New defvar.
4150 (tramp-with-progress-reporter): Use it. We cannot use
4151 `tramp-message-show-message' here, because this suppresses also
4152 error buffers.
4153 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4154 `tramp-message-show-message' is nil.
4155 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4156 (tramp-cleanup): New defun.
4157 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4158 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4159 an error unchanged.
4160 (tramp-completion-handle-file-name-all-completions): Handle hops.
4161 Fix an error when called from ido.
4162 (tramp-completion-dissect-file-name): Use better local variable
4163 name. Add hop to the vector.
4164 (tramp-handle-insert-file-contents): Use progress-reporter for the
4165 whole scenario.
4166 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4167 to `t'.
4168 (tramp-check-for-regexp): Simplify search.
4169 (tramp-enter-password): Remove it. Move implementation ...
4170 (tramp-action-password): ... here.
4171 (tramp-mode-string-to-int, tramp-local-host-p)
4172 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4173 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4174 Set tramp-autoload cookie.
2fe4b125
MA
4175
4176 * net/trampver.el: Update release number.
4177
41782012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4179 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4182 (tramp-parse-group, tramp-parse-file)
4183 (tramp-parse-shostkeys-sknownhosts): New defuns.
4184 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4185 (tramp-parse-shosts-group, tramp-parse-sconfig)
4186 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4187 (tramp-parse-sknownhosts, tramp-parse-hosts)
4188 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4189 Use them.
4190 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4191 (tramp-parse-putty-group): Don't narrow.
4192 (tramp-parse-putty): Make a loop.
4193 (tramp-file-name-handler): Catch the `suppress' signal.
4194
72834e10
CY
41952012-06-11 Chong Yidong <cyd@gnu.org>
4196
4197 * image.el (imagemagick-register-types): Put the ImageMagick entry
4198 at the end of image-type-file-name-regexps.
4199
a4712e11
JB
42002012-06-11 Johan Bockgård <bojohan@gnu.org>
4201
4202 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4203 (pcase, pcase-let*, pcase-dolist): Use them.
4204
82ad98e3
SM
42052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * emacs-lisp/pcase.el (pcase--let*): New function.
4208 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4209 (pcase--expand): Use macroexp-let².
4210
f80efb86
SM
42112012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4214 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4215 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4216 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4217 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4218 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4219
31ca4639 42202012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4221
31ca4639
CY
4222 * mail/rmail.el (rmail-yank-current-message): Leave point at
4223 correct position. (Bug#11660)
94f0aa34 4224
31ca4639 42252012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4226
31ca4639 4227 * allout-widgets.el: Fix code header.
9e1b8ec4 4228
31ca4639 42292012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4230
f80efb86
SM
4231 * cus-edit.el (customize-changed-options-previous-release):
4232 Bump to 24.1.
31ca4639 4233
642b6d30
AS
42342012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4235
4236 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4237
4f5d2ba1
CY
42382012-06-09 Chong Yidong <cyd@gnu.org>
4239
4240 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4241
e75852fd
MR
42422012-06-09 Martin Rudalics <rudalics@gmx.at>
4243
4244 * window.el (special-display-popup-frame): Don't use
4245 window--display-buffer (Bug#11651).
4246
1e48e282
EZ
42472012-06-09 Eli Zaretskii <eliz@gnu.org>
4248
8a26b487
EZ
4249 Fix parallel builds: make sure loaddefs.el is not being written
4250 while Lisp files are compiled.
4251 (compile): Don't depend on 'mh-autoloads'.
4252 (compile-CMD, compile-SH): Depend on 'autoloads'.
4253 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4254
1e48e282
EZ
4255 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4256
6175e34b
CY
42572012-06-09 Chong Yidong <cyd@gnu.org>
4258
4259 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4260 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4261 Doc fixes (Bug#11225).
4262
d9857e53
SM
42632012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4266 a function if there's a clear indication that it has a compiler-macro.
4267 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4268 (macro-declarations-alist): Add arglist to declaration functions.
4269 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4270 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4271 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4272 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4273 Also add autoload to find the compiler macro.
4274 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4275 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4276 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4277 (cl--compiler-macro-get): New functions, replacing calls to
4278 cl-define-compiler-macro.
4279 (cl-typep) [compiler-macro]: Use macroexp-let².
4280
f81298f8 42812012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4282
4283 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4284 string properly, fixes Bug#11473.
4285
4b56d0fe
CY
42862012-06-08 Chong Yidong <cyd@gnu.org>
4287
4288 * faces.el (set-face-attribute): Doc fix.
4289 (modify-face): Don't use :bold and :italic.
4290 (error, warning, success): Tweak definitions.
4291
4292 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4293 (custom-modified, custom-set, custom-changed, custom-themed)
4294 (custom-saved, custom-button, custom-button-mouse)
4295 (custom-button-pressed, custom-state, custom-comment-tag)
4296 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4297 (custom-group-subtitle): Use new-style face specs.
4298 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4299 (custom-set-face, custom-changed-face, custom-saved-face)
4300 (custom-button-face, custom-button-pressed-face)
4301 (custom-documentation-face, custom-state-face)
4302 (custom-comment-face, custom-comment-tag-face)
4303 (custom-variable-tag-face, custom-variable-button-face)
4304 (custom-face-tag-face, custom-group-tag-face-1)
4305 (custom-group-tag-face): Remove obsolete face alias.
4306
4307 * epa.el (epa-validity-high, epa-validity-medium)
4308 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4309 (epa-field-name, epa-field-body):
4310 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4311 (font-lock-keyword-face, font-lock-builtin-face)
4312 (font-lock-function-name-face, font-lock-variable-name-face)
4313 (font-lock-type-face, font-lock-constant-face):
4314 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4315 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4316 * speedbar.el (speedbar-button-face, speedbar-file-face)
4317 (speedbar-directory-face, speedbar-tag-face)
4318 (speedbar-selected-face, speedbar-highlight-face)
4319 (speedbar-separator-face):
4320 * whitespace.el (whitespace-newline, whitespace-space)
4321 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4322 (whitespace-line, whitespace-space-before-tab)
4323 (whitespace-space-after-tab, whitespace-indentation)
4324 (whitespace-empty):
4325 * emulation/cua-base.el (cua-global-mark):
4326 * eshell/em-prompt.el (eshell-prompt):
4327 * net/newst-plainview.el (newsticker-new-item-face)
4328 (newsticker-old-item-face, newsticker-immortal-item-face)
4329 (newsticker-obsolete-item-face, newsticker-date-face)
4330 (newsticker-statistics-face, newsticker-default-face):
4331 * net/newst-reader.el (newsticker-feed-face)
4332 (newsticker-extra-face, newsticker-enclosure-face):
4333 * net/newst-treeview.el (newsticker-treeview-face)
4334 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4335 (newsticker-treeview-immortal-face)
4336 (newsticker-treeview-obsolete-face)
4337 (newsticker-treeview-selection-face):
4338 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4339 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4340 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4341 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4342 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4343 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4344 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4345 (mpuz-text):
4346 * progmodes/vera-mode.el (vera-font-lock-number)
4347 (vera-font-lock-function, vera-font-lock-interface):
4348 * textmodes/table.el (table-cell): Use new-style face specs, and
4349 don't use the old :bold and :italic attributes.
4350
4351 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4352 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4353 (ebrowse-member-class, ebrowse-progress): Likewise.
4354 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4355 (ebrowse-file-name-face, ebrowse-default-face)
4356 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4357 (ebrowse-progress-face): Remove obsolete faces.
4358
4359 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4360 Inherit from error and warning faces respectively.
4361
4362 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4363 Likewise.
f80efb86
SM
4364 (flyspell-incorrect-face, flyspell-duplicate-face):
4365 Remove obsolete aliases.
4b56d0fe 4366
03310646
MA
43672012-06-08 Michael Albinus <michael.albinus@gmx.de>
4368
4369 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4370 Avoid infloop.
4371
513749ee
SM
43722012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4373
4374 * startup.el (argv, argi): Make lexically scoped.
4375 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4376 * emacs-lisp/cl-macs.el: Use lexical-binding.
4377 Rename cl-bind-* to cl--bind-*.
4378 * files.el: Don't require `cl' since it doesn't use it.
4379 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4380
595ef4ad
JB
43812012-06-08 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4384 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4385 instead of calling external sort utility.
4386 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4387
e9f66fcb
EZ
43882012-06-08 Eli Zaretskii <eliz@gnu.org>
4389
4390 * descr-text.el (describe-char): Mention how to insert the
4391 character, if the current input method doesn't support it.
4392 See the discussion in this thread for the details:
4393 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4394
3d10db47
SS
43952012-06-08 Sam Steingold <sds@gnu.org>
4396
4397 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4398 XF86Back to previous-buffer.
4399 (minibuffer-local-map): Bind them to next-history-element and
4400 previous-history-element respectively.
4401 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4402 help-go-back respectively.
4403 * info.el (Info-mode-map): Bind them to Info-history-forward and
4404 Info-history-back respectively.
4405 These are the keys next to Up on the ThinkPad keyboard.
4406
de7e2b36
SM
44072012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4410 * emacs-lisp/cl-macs.el: Provide itself.
4411 (cl--labels-convert-cache): New var.
4412 (cl--labels-convert): New function.
4413 (cl-flet, cl-labels): New implementation with new semantics, relying on
4414 lexical-binding.
4415 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4416 (cl-closure-vars, cl--function-convert-cache)
4417 (cl--function-convert): Move from cl-macs.el.
4418 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4419 rename by removing the "cl-" prefix.
4420 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4421
6fa6c4ae
SM
44222012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4425 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4426 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4427 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4428 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4429 (cl-hash-table-count): Add old compatibility aliases.
4430
4431 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4432 Use macroexpand-all-environment instead.
4433 (cl--old-macroexpand): New var.
4434 (cl--sm-macroexpand): New function.
4435 (cl-symbol-macrolet): Use it during macro expansion.
4436 (cl--function-convert-cache): New var.
4437 (cl--function-convert): New function, extracted from
4438 cl-macroexpand-all.
4439 (cl-lexical-let): Use it.
4440
4441 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4442 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4443 (cl-member): Remove old alias.
4444
4445 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4446 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4447 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4448 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4449 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4450 (cl-macroexpand-cmacs): Remove var.
4451 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4452 Use macroexpand-all instead.
4453
4dd1c416
SM
44542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4457 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4458 (macroexp-copyable-p): New functions and macros.
4459 * emacs-lisp/edebug.el (edebug-unwrap):
4460 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4461 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4462 (pcase--let*): Remove.
4463 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4464 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4465 macroexp-const-p instead.
4466 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4467
4468 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4469 instead of "cl-" for internal definitions. Use macroexp-const-p.
4470 (cl-old-bc-file-form): Remove var.
4471 (cl-const-exprs-p): Remove fun.
4472 (cl-labels, cl-macrolet): Use backquote.
4473 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4474 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4475 (cl-define-setf-expander): Rename from cl-define-setf-method.
4476 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4477
4478 * international/mule-cmds.el: Don't require CL.
4479 (view-hello-file): Don't use `letf'.
4480
ed8bd4d7
SM
44812012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4482
7287f2f3
SM
4483 * tmm.el (tmm-prompt): Use string-prefix-p.
4484 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4485 (tmm-add-prompt): Use minibuffer-completion-help.
4486 (tmm-delete-map): Remove.
4487
ed8bd4d7
SM
4488 * subr.el (kbd): Make it its own function.
4489
7b4cdbf4
SM
44902012-06-07 Stefan Merten <smerten@oekonux.de>
4491
4492 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4493 Silence compiler warnings. Fix versions.
ed8bd4d7 4494 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4495 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4496 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4497 (rst-package-emacs-version-alist): Correct Emacs version to
4498 represent major merge with upstream.
ed8bd4d7 4499 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4500
2b48d721
GM
45012012-06-06 Glenn Morris <rgm@gnu.org>
4502
4503 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4504 Only print environment variables if set.
4505
fa779ab0
SM
45062012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4509 (macroexp--cons): Rename from maybe-cons.
4510 (macroexp--accumulate): Rename from macroexp-accumulate.
4511 (macroexp--all-forms): Rename from macroexpand-all-forms.
4512 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4513 (macroexp--expand-all): Rename from macroexpand-all-1.
4514
628299e0
SS
45152012-06-06 Sam Steingold <sds@gnu.org>
4516
4517 * calendar/calendar.el (calendar-in-read-only-buffer):
4518 Call `special-mode' to enable the standard read-only keybindings.
4519
b7bb5838
SM
45202012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4523 with "loading" messages (bug#11635).
4524
dfb308ba
MA
45252012-06-06 Michael Albinus <michael.albinus@gmx.de>
4526
4527 * files.el (enable-remote-dir-locals): New option.
4528 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4529
0372ee92
MA
4530 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4531 Ensure, that the temp directory is local.
4532
4533 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4534 `temporary-file-directory'.
4535
eed0bb91
MA
4536 * progmodes/python.el (python-send-region): Ensure, that the
4537 temporary file is created also in the remote case.
4538
7a58f64d
GM
45392012-06-06 Glenn Morris <rgm@gnu.org>
4540
f7dd4e98
GM
4541 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4542 (vc-rcs-update-changelog): Use it.
4543
090bd7cb 4544 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4545
7a58f64d
GM
4546 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4547 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4548 (vc-sccs-diff): Replace use of the external vcdiff script.
4549
daed4003
GM
45502012-06-05 Glenn Morris <rgm@gnu.org>
4551
4552 * ledit.el: Move to obsolete/.
4553
48c455c7
SS
45542012-06-05 Sam Steingold <sds@gnu.org>
4555
ed9265fc 4556 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4557 patch (Bug#11140).
4558
57a7d507
SM
45592012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4560
090bd7cb 4561 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4562
53aacf21
SM
4563 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4564 compiler-macro expansion.
4565
57a7d507
SM
4566 Add native compiler-macro support.
4567 * emacs-lisp/macroexp.el (macroexpand-all-1):
4568 Support compiler-macros directly. Properly follow aliases and apply
4569 the compiler macros more thoroughly.
4570 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4571 macroexpand now properly follows aliases.
4572 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4573 (cl-compiler-macroexpand): Use new prop.
4574 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4575
4576 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4577
51a5f9d8
MR
45782012-06-05 Martin Rudalics <rudalics@gmx.at>
4579
4580 * window.el (get-lru-window, get-mru-window, get-largest-window):
4581 New argument NOT-SELECTED to avoid picking the selected window.
4582 (window--display-buffer-1, window--display-buffer-2): Replace by
4583 new function window--display-buffer
4584 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4585 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4586 Use window--display-buffer.
51a5f9d8
MR
4587 (display-buffer-use-some-window): Remove temporary dedication
4588 hack by calling get-lru-window and get-largest-window with
4589 NOT-SELECTED argument non-nil. Call window--display-buffer.
4590
08f9f738
GM
45912012-06-05 Glenn Morris <rgm@gnu.org>
4592
4593 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4594 Replace external vcdiff script.
4595
e364a2b7
SM
45962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4599
041df390
CY
46002012-06-04 Chong Yidong <cyd@gnu.org>
4601
e364a2b7
SM
4602 * image.el (imagemagick-types-inhibit): Revert last change.
4603 Add INFO and M.
47b36b94 4604 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4605
7c1898a7
SM
46062012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emacs-lisp/cl-lib.el: Rename from cl.el.
4609 * emacs-lisp/cl.el: New compatibility file.
4610 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4611 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4612 to obey the "cl-" prefix.
4613 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4614
0c3461de
GM
46152012-06-03 Glenn Morris <rgm@gnu.org>
4616
1e266c88
GM
4617 * emacs-lisp/authors.el (authors-aliases): Addition.
4618
0c3461de
GM
4619 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4620 Fix :version.
4621
d8a52e15
SM
46222012-06-03 Stefan Merten <smerten@oekonux.de>
4623
4624 * textmodes/rst.el: Add comments.
4625 (rst-transition, rst-adornment): New faces.
4626 (rst-adornment-faces-alist): Make default safe to reevaluate.
4627 Fixes
4628 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4629 Improve customization tags.
4630 (rst-define-level-faces): Clarify meaning.
4631
5205d6f6
CY
46322012-06-03 Chong Yidong <cyd@gnu.org>
4633
4634 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4635 (compilation-mode-line-run, compilation-mode-line-exit):
4636 New faces.
5205d6f6
CY
4637 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4638
757ee657
JD
46392012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4640
7c1898a7
SM
4641 * progmodes/which-func.el (which-func-update-ediff-windows):
4642 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4643
5f2c76c6
CY
46442012-06-03 Chong Yidong <cyd@gnu.org>
4645
4646 * bindings.el: Remove explicit help text from format-mode-line.
4647 It is now supplied by mode-line-default-help-echo.
4648 (mode-line-front-space, mode-line-end-spaces)
4649 (mode-line-misc-info): New variables.
4650 (mode-line-modes, mode-line-position): Move the default value to
4651 the variable definition.
4652 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4653 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4654 (mode-line-modified-help-echo): New functions.
4655 (mode-line-mule-info, mode-line-modified): Use them.
4656 (mode-line-eol-desc, propertized-buffer-identification):
4657 Consistency fixes for help text.
cbe46e5f
CY
4658 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4659 set-buffer-file-coding-system (Bug#289).
4660 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4661
f2d6a3df
SM
46622012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * simple.el (execute-extended-command): Set real-this-command
4665 (bug#11506).
4666
37269466
CY
46672012-06-02 Chong Yidong <cyd@gnu.org>
4668
4669 Remove incorrect uses of "modeline" in comments, docstrings, and
4670 function/variable names (Bug#10329).
4671
4672 * cus-edit.el (mode-line):
4673 * dframe.el (dframe-mouse-hscroll):
4674 * emacs-lisp/re-builder.el:
4675 * emacs-lisp/easy-mmode.el (define-minor-mode):
4676 * frame.el (set-frame-name):
4677 * help.el (lookup-minor-mode-from-indicator):
4678 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4679 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4680 (c-toggle-hungry-state):
4681 * progmodes/antlr-mode.el (antlr-language-alist):
4682 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4683 * progmodes/vhdl-mode.el (vhdl-mode):
4684 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4685 * term/ns-win.el (ns-face-at-pos):
4686 * term/sup-mouse.el (sup-mouse-report):
4687 * textmodes/flyspell.el (flyspell-mode-line-string):
4688 * textmodes/ispell.el (ispell-highlight-face):
4689 * textmodes/reftex-global.el:
4690 * vc/vc-arch.el (vc-arch-mode-line-string):
4691 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4692 * vc/vc-git.el (vc-git-mode-line-string):
4693 * vc/vc-hooks.el (vc-display-status)
4694 (vc-default-mode-line-string):
4695 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4696
4697 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4698
4699 * dired.el (dired-sort-set-mode-line): Rename from
4700 dired-sort-set-modeline. All callers changed.
4701
4702 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4703 eshell-status-in-modeline.
4704
4705 * foldout.el (foldout-mode-line-string): Rename from
4706 foldout-modeline-string. All callers changed.
4707 (foldout-update-mode-line): Rename from foldout-update-modeline.
4708
4709 * subr.el (redraw-modeline): Make into obsolete alias.
4710
4711 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4712 timeclock-modeline-display. Make old name an alias.
4713 (timeclock-update-mode-line): Likewise. All callers changed.
4714 (timeclock-mode-line-display): No need to check before using
4715 add-hook.
4716 (timeclock-relative, timeclock-day-over-hook)
4717 (timeclock-use-elapsed, timeclock-mode-string)
4718 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4719
4720 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4721 crisp-mode-modeline-string.
4722
4723 * play/solitaire.el (solitaire-build-mode-line): Rename from
4724 solitaire-build-modeline. All callers changed.
4725
4726 * play/zone.el (zone-hiding-mode-line): Rename from
4727 zone-hiding-modeline. All callers changed.
4728 (zone): Remove unusued `modeline-hidden-level' property.
4729
4730 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4731 xscheme-modeline-initialize. All callers changed.
4732
4733 * strokes.el (strokes-lighter): Rename from
4734 strokes-modeline-string.
4735
4736 * textmodes/sgml-mode.el (html-face-tag-alist)
4737 (html-tag-face-alist): Use mode-line face instead of obsolete
4738 alias modeline.
4739
42152ee4
SM
47402012-06-02 Stefan Merten <smerten@oekonux.de>
4741
4742 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4743 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4744
95f520b5
CY
47452012-06-02 Chong Yidong <cyd@gnu.org>
4746
4747 * image.el (imagemagick-enabled-types): Rename from
4748 imagemagick-types-enable. Add many more types.
4749 (imagemagick-types-inhibit): Change default to nil.
4750 (imagemagick-filter-types): Caller changed.
4751
4a5f187a
SM
47522012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4753
03fef3e6
SM
4754 * emacs-lisp/cl-macs.el: Use backquotes.
4755 (cl-transform-function-property): Use eval-and-compile rather than
4756 abusing `require'.
4757 (defstruct): Use declare-function instead of with-no-warnings.
4758
4a5f187a
SM
4759 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4760 (byte-compile-output-docform): Re-add the print-circle bindings.
4761 (byte-compile-fix-header): Use #$ just because it's shorter.
4762 (byte-compile-output-file-form): Remove defun/defmacro.
4763
bd56924f
MR
47642012-06-01 Martin Rudalics <rudalics@gmx.at>
4765
4766 * simple.el (choose-completion): Remove now obsolete binding for
4767 owindow.
4768
046e38ce
MA
47692012-06-01 Michael Albinus <michael.albinus@gmx.de>
4770
4771 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4772 in order to avoid "Stack overflow in regexp matcher".
4773
32d72c2f
GM
47742012-05-31 Glenn Morris <rgm@gnu.org>
4775
4776 * image.el: For clarity, call imagemagick-register-types at
4777 top-level, rather than relying on a custom :initialize.
4778 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4779 (imagemagick-filter-types): New function. (Bug#7406)
4780 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4781 If disabling support, remove elements altogether rather
4782 than using an impossible regexp.
4783 (imagemagick-types-inhibit): Give it the default init function.
4784
dd41169b
SM
47852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4a5f187a
SM
4787 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4788 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4789
efc00ab1 47902012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4791
4792 * desktop.el (desktop-read): Clear previous and next buffers for
4793 all windows and bury *Messages* buffer (bug#11556).
4794
500fcedc
SM
47952012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 Add `declare' for `defun'. Align `defmacro's with it.
4798 * emacs-lisp/easy-mmode.el (define-minor-mode)
4799 (define-globalized-minor-mode): Don't autoload the var definitions.
4800 * emacs-lisp/byte-run.el: Use lexical-binding.
4801 (defun-declarations-alist, macro-declarations-alist): New vars.
4802 (defmacro, defun): Use them.
4803 (make-obsolete, define-obsolete-function-alias)
4804 (make-obsolete-variable, define-obsolete-variable-alias):
4805 Use `declare'.
4806 (macro-declaration-function): Mark obsolete.
4807 * emacs-lisp/autoload.el: Use lexical-binding.
4808 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4809
6e8a1786
AM
48102012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4811
4812 * textmodes/ispell.el (ispell-with-no-warnings):
4813 Define as a macro.
500fcedc
SM
4814 (ispell-kill-ispell, ispell-change-dictionary):
4815 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4816 `interactive-p'.
4817
61b108cc
SM
48182012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4821 (macro-declaration-function): Move var from C code.
4822 (macro-declaration-function): Define function with defalias.
4823 * emacs-lisp/macroexp.el (macroexpand-all-1):
4824 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4825 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4826 defun/defmacro any more.
4827 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4828 Provide fallback for unknown arglist.
4829 (byte-compile-arglist-warn): Change calling convention.
4830 (byte-compile-output-file-form): Move print-vars binding.
4831 (byte-compile-output-docform): Simplify accordingly.
4832 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4833 (byte-compile-defmacro-declaration): Remove.
4834 (byte-compile-file-form-defmumble): Generalize to defalias.
4835 (byte-compile-output-as-comment): Return byte-positions.
4836 Simplify callers accordingly.
4837 (byte-compile-lambda): Use `assert'.
4838 (byte-compile-defun, byte-compile-defmacro): Remove.
4839 (byte-compile-file-form-defalias):
4840 Use byte-compile-file-form-defmumble.
4841 (byte-compile-defalias-warn): Remove.
4842
6d3f7c2f
SM
48432012-05-29 Stefan Merten <smerten@oekonux.de>
4844
4845 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4846 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4847
4848 (rst-mode-abbrev-table): Merge definition.
4849 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4850 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4851
6dbaa1c7
UJ
48522012-05-29 Ulf Jasper <ulf.jasper@web.de>
4853
4854 * calendar/icalendar.el
4855 (icalendar-export-region): Export UID properly.
4856
d209e2fb 48572012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4858 * calendar/icalendar.el (icalendar-import-format):
4859 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4860 (icalendar-import-format-uid): New.
4861 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4862 Export UID.
4863
6876a58d
SM
48642012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4867 different alternative patterns.
4868 (pcase-codegen): Be more careful to preserve identity.
4869 (pcase--u1): Don't forget to mark vars as used.
4870
4871 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4872 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4873 (byte-compile-from-buffer): ...rather than here.
4874
4875 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4876 functions from byte-compile-function-environment.
4877
46b7967e
TN
48782012-05-29 Troels Nielsen <bn.troels@gmail.com>
4879
4880 * window.el (window-deletable-p): Avoid deleting the root window
4881 of a frame with an active minibuffer.
4882
69d565e2
MR
48832012-05-29 Martin Rudalics <rudalics@gmx.at>
4884
4885 * simple.el (choose-completion): Use quit-window (Bug#11567).
4886
a149fa51
CY
48872012-05-29 Chong Yidong <cyd@gnu.org>
4888
4889 * whitespace.el (whitespace-cleanup): Fix usage of
4890 whitespace-empty-at-bob-regexp (Bug#11492).
4891
2b311310
AH
48922012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4893
4894 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4895 revert (Bug#11488).
4896
b9cb2387
JL
48972012-05-29 Juri Linkov <juri@jurta.org>
4898
4899 * isearch.el (isearch-mode-map): Bind `M-s _' to
4900 `isearch-toggle-symbol'. Bind `M-s c' to
4901 `isearch-toggle-case-fold'.
4902 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4903 (isearch-forward): Add `M-s _' to the docstring.
4904 (isearch-forward-symbol, isearch-toggle-case-fold)
4905 (isearch-symbol-regexp): New functions. (Bug#11381)
4906
d5e61c1c
JL
49072012-05-29 Juri Linkov <juri@jurta.org>
4908
4909 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4910 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4911 a function, call it to get the regexp.
4912 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4913 property `isearch-message-prefix' instead of the string "word ".
4914 (isearch-search-fun-default): For the case of `isearch-word',
4915 return a lambda that calls re-search-forward/re-search-backward
4916 with a regexp returned by `word-search-regexp' or by the function
4917 in `isearch-word'.
4918
8cbd80f7
JL
49192012-05-29 Juri Linkov <juri@jurta.org>
4920
4921 * isearch.el (isearch-search-fun-default): New function.
4922 (isearch-search-fun): Move default part to the new function
4923 `isearch-search-fun-default'.
4924 (isearch-search-fun-function): Set the default value to
4925 `isearch-search-fun-default'. (Bug#11381)
4926
4927 * comint.el (comint-history-isearch-end):
4928 Use `isearch-search-fun-default'.
4929 (comint-history-isearch-search): Use `isearch-search-fun-default'
4930 and remove spacial case for `isearch-word'.
4931 (comint-history-isearch-wrap): Remove spacial case for
4932 `isearch-word'.
4933
4934 * hexl.el (hexl-isearch-search-function):
4935 Use `isearch-search-fun-default'.
4936
4937 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4938 Use `word-search-regexp' for `isearch-word'.
4939
4940 * misearch.el (multi-isearch-search-fun):
4941 Use `isearch-search-fun-default'.
4942
4943 * simple.el (minibuffer-history-isearch-search):
4944 Use `isearch-search-fun-default' and remove spacial case for
4945 `isearch-word'.
4946 (minibuffer-history-isearch-wrap): Remove spacial case for
4947 `isearch-word'.
4948
4949 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4950 Remove spacial case for `isearch-word'.
4951 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4952
85c8c5b6
AM
49532012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4954
4955 Decrease XEmacs incompatibilities.
4956 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4957 Use `string-match'.
4958 (flyspell-delete-region-overlays): Use alternative definition for
4959 XEmacs.
4960 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4961 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4962 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4963 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4964 `define-obsolete-face-alias' under XEmacs, but old method.
4965
4966 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4967 `with-no-warnings' definition or Emacs alias.
4968 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4969 (ispell-word): Do not use `region-p' if XEmacs.
4970
8cab9efc
AM
49712012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4972
4973 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4974 Check for `ispell-dictionary-base-alist' instead of full
4975 `ispell-dictionary-alist'.
4976 (ispell-init-process): Show spellchecker when starting new Ispell
4977 process.
4978
fda91268
RZ
49792012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4982 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4983
694ea8e3
JB
49842012-05-27 Juanma Barranquero <lekktu@gmail.com>
4985
4986 * version.el (motif-version-string, gtk-version-string)
4987 (ns-version-string): Declare.
4988
e4d4f539
JL
49892012-05-27 Juri Linkov <juri@jurta.org>
4990
4991 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4992 after the `eval-defun-1' specialcaseing
4993 like in `edebug-eval-defun' (bug#10181).
4994
4995 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4996 like in `eval-defun-1'.
4997
33017faf 49982012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4999
fda91268
RZ
5000 * mail/sendmail.el (mail-yank-region):
5001 Recognize rmail-yank-current-message in addition to insert-buffer.
5002 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5003 a *mail* buffer created through rmail-start-mail with sendmail as
5004 mail-user-agent.
5005
33017faf
GM
50062012-05-27 Chong Yidong <cyd@gnu.org>
5007
5008 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5009 Default to 256 (Bug#11267).
5010
5011 * help.el (describe-mode): Doc fix.
5012
04188bb9
GM
50132012-05-26 Glenn Morris <rgm@gnu.org>
5014
38264cc9
GM
5015 * w32-fns.el (w32-init-info): Remove.
5016 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5017
eb7afdad
GM
5018 * info.el (info-initialize): For self-contained NS builds, put the
5019 included info/ directory at the front. (Bug#2791)
5020
04188bb9
GM
5021 * paths.el (Info-default-directory-list): Make it a defcustom,
5022 mainly so that we can use custom-initialize-delay.
5023
a179e3f7
SM
50242012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5025
43416392
SM
5026 * subr.el (buffer-has-markers-at): Mark obsolete.
5027
a179e3f7 5028 * subr.el (lambda): Use declare.
43416392 5029
a179e3f7
SM
5030 * emacs-lisp/lisp-mode.el (lambda):
5031 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5032
34a008d9
AH
50332012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5034
5035 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5036
0a3b289f
GM
50372012-05-26 Glenn Morris <rgm@gnu.org>
5038
5039 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5040
758c81e8
GM
50412012-05-25 Glenn Morris <rgm@gnu.org>
5042
f9f334f0
GM
5043 * paths.el: Remove no-byte-compile.
5044 * loadup.el: No need to load paths.el uncompiled.
5045
87eb79c2
GM
5046 * image.el (imagemagick-types-inhibit): Doc fix.
5047
758c81e8
GM
5048 * version.el: Remove no-byte-compile and associated formatting.
5049 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5050 is ancient code from when there was an "inc-vers.el".
5051
e7e85dc0
SM
50522012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * progmodes/gdb-mi.el: Minor style changes.
5055 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5056 Turn into minor modes.
5057 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5058 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5059 (gdb-shell): Remove unneeded let-binding.
5060 (gdb-get-many-fields): Eliminate O(n²) behavior.
5061
f31237a4
EZ
50622012-05-25 Eli Zaretskii <eliz@gnu.org>
5063
5064 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5065 platforms that don't link in fontset.c.
5066
bc1b21bb
JL
50672012-05-25 Juri Linkov <juri@jurta.org>
5068
5069 Use the same diff color scheme as in modern VCSes (bug#10181).
5070
5071 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5072 to avoid confusion with `diff-added' that now uses green colors.
5073 (diff-removed): Use shades of red.
5074 (diff-added): Use shades of green.
5075 (diff-changed): Leave just the yellow color.
5076 (diff-use-changed-face): New variable.
5077 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5078 how to highlight context diff changes.
5079 (diff-refine-change): Use shades of yellow.
5080 (diff-refine-removed): New face that uses shades of red.
5081 (diff-refine-added): New face that uses shades of green.
5082 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5083 `diff-refine-removed' in the call to `smerge-refine-subst'
5084 depending on the value of `diff-use-changed-face'.
5085
5086 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5087 (smerge-other): Use shades of green.
5088 (smerge-base): Use shades of yellow.
5089 (smerge-refined-change): Empty face.
5090 (smerge-refined-removed): New face that uses shades of red.
5091 (smerge-refined-added): New face that uses shades of green.
5092 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5093 args `props-r' and `props-a', and use them. Doc fix.
5094 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5095 on its value use different faces `smerge-refined-change',
5096 `smerge-refined-removed', `smerge-refined-added' in the call to
5097 `smerge-refine-subst'.
5098
5099 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5100 Add face condition `min-colors 88' with shades of red.
5101 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5102 `min-colors 88' with shades of green.
5103 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5104 `min-colors 88' with shades of yellow.
5105
6df9112c
GM
51062012-05-24 Glenn Morris <rgm@gnu.org>
5107
ead5edc0
GM
5108 * paths.el (prune-directory-list, remote-shell-program): Move to...
5109 * files.el (prune-directory-list, remote-shell-program): ...here.
5110 For the latter, delay initialization, prefer ssh, just search PATH.
5111
f18b81e6
GM
5112 * paths.el (term-file-prefix): Move to faces.el (the only user).
5113 * faces.el (term-file-prefix): Move here, make it a defcustom.
5114
ee2f89a6
GM
5115 * paths.el (news-directory, news-path, news-inews-program):
5116 Move to gnus/nnspool.el.
61a583ca 5117
f8815e4c
GM
5118 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5119
c8f3b42c
GM
5120 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5121 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5122 Make the latter a defcustom, with a delayed initialization.
5123
6df9112c
GM
5124 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5125 These were deleted from Gnus itself late 2010.
5126
5dadff36
JB
51272012-05-22 Juanma Barranquero <lekktu@gmail.com>
5128
9e1701c6
JB
5129 * progmodes/which-func.el (which-func-ff-hook):
5130 Check against user-error, not error.
5131
bd7239f5 5132 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5133 cl-specs.el, which no longer exists.
5134
3290526d
GM
51352012-05-22 Glenn Morris <rgm@gnu.org>
5136
5137 * info.el (info-emacs-bug): New command.
5138 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5139 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5140
ff0c3cfb
GM
51412012-05-21 Glenn Morris <rgm@gnu.org>
5142
5143 * makefile.w32-in (update-subdirs-SH):
5144 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5145
5814f126
SM
51462012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5147
a52c0aa0
SM
5148 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5149
5814f126
SM
5150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5151 Simplify Maven regexp, and make sure the file can't start with a space
5152 (bug#11517).
5153
b847032c
GM
51542012-05-21 Glenn Morris <rgm@gnu.org>
5155
5156 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5157 Scrap superfluous subshells.
5158
3858bfe7
SM
51592012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5162 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5163
d14b0029
JB
51642012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5165
5166 * calc/calc.el (calc-ensure-consistent-units): New variable.
5167
a52c0aa0
SM
5168 * calc/calc-units.el (math-consistent-units-p)
5169 (math-check-unit-consistency): New functions.
5170 (calc-quick-units, calc-convert-units):
5171 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5172 is non-nil.
d14b0029
JB
5173 (calc-extract-units): Fix typo.
5174
60c4db3a
SM
51752012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5176
77f3b62e
SM
5177 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5178
60c4db3a
SM
5179 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5180 (flyspell-default-deplacement-commands): Don't spell check after
5181 repeated window/frame switches (e.g. triggered by mouse-movement).
5182 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5183 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5184 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5185 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5186 Remove unused vars.
5187 (flyspell-get-casechars, flyspell-get-not-casechars):
5188 Simplify; Don't bother removing a ] just to add it back.
5189 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5190
d209e2fb 51912012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5192
5193 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5194 New functions.
bd7239f5 5195 (math-function-table): Add support for more C functions.
b1a10716 5196
3f1b25b5
AM
51972012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5198
090bd7cb
JB
5199 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5200 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5201 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5202
b581bb5c
SM
52032012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5206 their respective macro declarations.
5207 * skeleton.el (define-skeleton):
5208 * progmodes/compile.el (define-compilation-mode):
5209 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5210 (define-ibuffer-filter):
5211 * emacs-lisp/generic.el (define-generic-mode):
5212 * emacs-lisp/easy-mmode.el (define-minor-mode)
5213 (define-globalized-minor-mode):
5214 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5215 * emacs-lisp/byte-run.el (defsubst):
5216 * custom.el (deftheme): Add doc-string metadata.
5217
70b8ef8f
SM
52182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5221
b1198e17
SM
52222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5223
9abdc45d
SM
5224 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5225
b1198e17
SM
5226 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5227 * emacs-lisp/cl-macs.el: Idem.
5228 * emacs-lisp/cl-specs.el: Remove.
5229
4735906a
SM
52302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 Minor renaming of internal CL functions and variables.
5233 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5234 (cl--position): Rename from cl-position.
5235 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5236 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5237 (cl--random-state): Rename from *random-state*.
5238
ac348012
SM
52392012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5242 parens around the arg list (bug#11499).
5243
a0a79cde
JL
52442012-05-17 Juri Linkov <juri@jurta.org>
5245
5246 * isearch.el (word-search-regexp, word-search-backward)
5247 (word-search-forward, word-search-backward-lax)
5248 (word-search-forward-lax): Move functions from search.c
5249 (bug#10145, bug#11381).
5250
65034a51
AM
52512012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5252
090bd7cb
JB
5253 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5254 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5255 Delay for otherchars as for normal word components.
65034a51 5256
1a72a195
SM
52572012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * minibuffer.el (completion--sifn-requote): Fix last change.
5260 (minibuffer-local-must-match-filename-map):
5261 Move define-obsolete-variable-alias before its var.
5262
fdb058c2
SM
52632012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5264
c41045e6
SM
5265 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5266
036dfb8b
SM
5267 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5268 behavior.
5269 (completion--string-equal-p): New function.
5270 (completion--twq-all): Use it to get better assertion failure data.
5271
2473256d
SM
5272 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5273 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5274 (shell--requote-argument): New functions.
5275 (shell-completion-vars): Use them.
5276 (shell--parse-pcomplete-arguments): Rename from
5277 shell-parse-pcomplete-arguments.
5278 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5279 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5280 Obey comint-file-name-quote-list.
5281
fdb058c2
SM
5282 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5283 (smie-indent-keyword): Use it.
5284
51fa99f1
SM
52852012-05-14 Stefan Merten <smerten@oekonux.de>
5286
5287 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5288
e18afed7 52892012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5290
5291 * net/rlogin.el (rlogin-mode-map): Fix last change.
5292
e18afed7 52932012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5294
5295 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5296 the following \r\n using a single `process-send-string', since the
5297 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5298 with two `process-send-string's (Bug#11444).
8633b1f4 5299
e18afed7 53002012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5301
fdb058c2
SM
5302 * shell.el (shell-parse-pcomplete-arguments):
5303 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5304
2d21d7f6
WJ
53052012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5306
e18afed7 5307 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5308 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5309 (image-transform-width, image-transform-fit-width): New functions.
5310 (image-transform-properties): Use them.
5311 (image-transform-check-size): New function.
5312 (image-toggle-display-image): Use it (for testing).
5313 (image-transform-set-rotation): Reduce angle mod 360.
5314 Delete obsolete comment.
5315
7102e6d0
WJ
53162012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5317
5318 * image-mode.el: Fix scaling (bug#11399).
5319 (image-transform-resize): Doc fix.
5320 (image-transform-properties): Default scale is 1 and height should
5321 be an integer.
5322
06bc5e6e
SM
53232012-05-13 Johan Bockgård <bojohan@gnu.org>
5324
5325 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5326 than hard-coding `car', to fix misbehavior when moving forward.
5327
0ae03b6a
CY
53282012-05-13 Chong Yidong <cyd@gnu.org>
5329
5330 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5331 (tabulated-list-entries, tabulated-list-padding)
5332 (tabulated-list-sort-key): Make permanent-local.
5333
5334 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5335 (electric-buffer-list): Put electric buffer menu
5336 command descriptions in this docstring, instead of the docstring
5337 of electric-buffer-menu-mode. Code cleanups.
5338 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5339 Electric-buffer-menu-mode.
5340 (electric-buffer-update-highlight): Minor code cleanup.
5341
205a7391
MA
53422012-05-13 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5345 (Bug#11447)
5346
e5bd0a28
SM
53472012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 Move define-obsolete-variable-alias before the var's definition.
5350 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5351 * tooltip.el (tooltip-hook):
5352 * textmodes/reftex-toc.el (reftex-toc-map):
5353 * textmodes/reftex-sel.el (reftex-select-label-map)
5354 (reftex-select-bib-map):
5355 * textmodes/reftex-index.el (reftex-index-map)
5356 (reftex-index-phrases-map):
5357 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5358 * progmodes/meta-mode.el (meta-mode-map):
5359 * novice.el (disabled-command-hook):
5360 * loadhist.el (unload-hook-features-list):
5361 * frame.el (blink-cursor):
5362 * files.el (find-file-not-found-hooks, write-file-hooks)
5363 (write-contents-hooks):
5364 * emulation/tpu-edt.el (GOLD-map):
5365 * emacs-lock.el (emacs-lock-from-exiting):
5366 * emacs-lisp/generic.el (generic-font-lock-defaults):
5367 * emacs-lisp/chart.el (chart-map):
5368 * dos-fns.el (register-name-alist):
5369 * dired-x.el (dired-omit-files-p):
5370 * desktop.el (desktop-enable):
5371 * cus-edit.el (custom-mode-hook):
5372 * buff-menu.el (buffer-menu-mode-hook):
5373 * bookmark.el (bookmark-read-annotation-text-func)
5374 (bookmark-exit-hooks):
5375 * allout.el (allout-mode-deactivate-hook)
5376 (allout-exposure-change-hook, allout-structure-added-hook)
5377 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5378 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5379 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5380 comes before the corresponding variable's definition.
5381
ac59c2f6
CY
53822012-05-12 Chong Yidong <cyd@gnu.org>
5383
5384 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5385 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5386 (Buffer-menu-mode-map): Bind it.
5387 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5388
dee6c9a3
SM
53892012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5390
2171cea5
SM
5391 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5392 (prolog-upper-case-string, prolog-lower-case-string)
5393 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5394 (prolog-use-smie, prolog-smie-grammar): New vars.
5395 (prolog-smie-forward-token, prolog-smie-backward-token)
5396 (prolog-smie-rules): New funs.
5397 (prolog-comment-indent): Remove.
5398 (prolog-mode-variables): Use default comment indentation instead.
5399 Setup SMIE.
5400 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5401 (prolog-mode): Don't call them any more.
5402 (prolog-electric-colon, prolog-electric-dash)
5403 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5404
aa0382bd
SM
5405 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5406
dbacb4bd
SM
5407 * minibuffer.el (completion--twq-all): Again, allow case differences.
5408
13bdd94c
SM
5409 * term.el: Move keymap initialization code to be more idiomatic.
5410 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5411 (term-terminal-menu): Move initialization into declaration.
5412 (term-escape-char): Let the user set it in her .emacs.
5413
ff46c759
SM
5414 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5415 Provide SMIE-based indentation (not enabled by default yet).
5416 (sh-mode-map): Don't bind electric keys.
5417 Use electric-pair-mode instead of skeleton-pair.
5418 (sh-assignment-regexp): Fit within 80 columns.
5419 (sh-indent-supported): Specify actual shell name instead of boolean.
5420 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5421 (sh-maybe-here-document): Use it. Make obsolete.
5422 (sh-electric-here-document-mode) New minor mode.
5423 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5424 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5425 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5426 (sh-smie-rc-grammar, sh-use-smie): New vars.
5427 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5428 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5429 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5430 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5431 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5432 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5433 (sh-set-shell): Use smie-setup if requested.
5434
dee6c9a3
SM
5435 * term.el (term-set-escape-char): Properly set term-escape-char.
5436 See http://stackoverflow.com/questions/10524656.
5437
9f9aa044
CY
54382012-05-10 Chong Yidong <cyd@gnu.org>
5439
5440 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5441 Use url-generic-parse-url, and handle host names and Windows
5442 filenames properly.
5443 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5444 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5445 URL schemes to work on.
5446 (ffap--toggle-read-only): New function.
5447 (ffap-read-only, ffap-read-only-other-window)
5448 (ffap-read-only-other-frame): Use it.
5449 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5450 necessary for ffap-url-unwrap-remote.
5451
836d29b3
DA
54522012-05-10 Dave Abrahams <dave@boostpro.com>
5453
5454 * cus-start.el (create-lockfiles): Add it.
5455
00fd78ed
CY
54562012-05-09 Chong Yidong <cyd@gnu.org>
5457
5458 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5459 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5460
666b903b 54612012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5462
5463 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5464
666b903b 54652012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5466
5467 * ansi-color.el (ansi-color-process-output): Check for validity of
5468 comint-last-output-start before using it. This avoids a bad
5469 interaction with gdb-mi's input/output buffer.
5470
666b903b 54712012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5472
5473 * files.el (dir-locals-read-from-file):
5474 Mention dir-locals in any error message.
5475
666b903b 54762012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5477
5478 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5479 package (Bug#11410).
5480
f677562b
CY
5481 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5482 variables into description.
5483
666b903b 54842012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5485
5486 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5487 shell-delimiter-argument-list (bug#11348).
5488 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5489
b499d8d0
JB
54902012-05-09 Juanma Barranquero <lekktu@gmail.com>
5491
8f6b6da8
JB
5492 * textmodes/rst.el: Silence byte-compiler warnings.
5493 (rst-re-alist, rst-reset-section-caches): Move around.
5494 (rst-re): Use `characterp', not `char-valid-p'.
5495 (font-lock-beg, font-lock-end): Declare.
5496
4824146a
JB
5497 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5498 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5499
b499d8d0
JB
5500 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5501
ad89bb83
GM
55022012-05-08 Glenn Morris <rgm@gnu.org>
5503
5504 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5505
8bba5a75
SM
55062012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5507
49ed9c8e
SM
5508 * vc/log-edit.el: Add GNU coding standards highlighting.
5509 (log-edit-font-lock-gnu-style)
5510 (log-edit-font-lock-gnu-keywords): New vars.
5511 (log-edit-font-lock-keywords): New fun.
5512 (log-edit-mode): Don't fold case in font-lock.
5513 (log-edit-font-lock-keywords): Do not assume case-folding.
5514
07d00b56
SM
5515 * imenu.el: Misc cleanup. Make docstrings out of comments.
5516 Use lexical-binding.
5517 (imenu--index-alist, imenu--last-menubar-index-alist)
5518 (imenu-menubar-modified-tick): Use defvar-local.
5519 (imenu--split-menu): Remove unused var.
5520 (imenu--cleanup-seen): Declare as global.
5521 (imenu--cleanup): Use dolist.
5522
8bba5a75
SM
5523 * subr.el (defvar-local): Add debug spec and doc-string position.
5524
5075bdb5
GM
55252012-05-08 Glenn Morris <rgm@gnu.org>
5526
090bd7cb 5527 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5528 * language/english.el, language/georgian.el, language/greek.el:
5529 * language/japanese.el, language/khmer.el, language/korean.el:
5530 * language/lao.el, language/misc-lang.el, language/romanian.el:
5531 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5532 * language/thai.el, language/utf-8-lang.el:
5533 Remove no-byte-compile setting.
5534
5075bdb5
GM
5535 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5536
06f679a7
AH
55372012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5538
5539 * progmodes/make-mode.el (makefile-browse):
5540 Remove unnecessary interactive. (Bug#11324)
5541
03794570
GM
55422012-05-07 Glenn Morris <rgm@gnu.org>
5543
af8630f4
GM
5544 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5545
03794570
GM
5546 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5547
f0809a9d
SM
55482012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5549
28be5ce7
SM
5550 * loadup.el: Preload newcomment.el.
5551 * newcomment.el: Move autoload-only code to toplevel.
5552
f0809a9d
SM
5553 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5554 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5555 Handle new :right-align column property.
5556 (tabulated-list-print-col): Idem, plus use `display' text-property to
5557 try and preserve alignment for variable pitch fonts.
5558
1241b724
CY
55592012-05-07 Chong Yidong <cyd@gnu.org>
5560
5561 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5562 (tabulated-list-use-header-line): New var.
5563 (tabulated-list-init-header): Use it.
5564 (tabulated-list-print-fake-header): New function.
5565 (tabulated-list-print): Use it.
5566 (tabulated-list-sort-button-map): Add non-header-line commands.
5567 (tabulated-list-init-header): Add column name property to basic
5568 labels as well.
5569 (tabulated-list-col-sort): Handle non-header-line button case.
5570 (tabulated-list--sort-by-column-name): Fix a corner case.
5571
f0809a9d
SM
5572 * buff-menu.el (list-buffers--refresh):
5573 Handle Buffer-menu-use-header-line.
1241b724 5574
e5f9458f
CY
55752012-05-06 Chong Yidong <cyd@gnu.org>
5576
5577 * buff-menu.el: Convert to Tabulated List mode.
5578 (Buffer-menu-buffer+size-width): Make obsolete.
5579 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5580 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5581 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5582 documentation into docstring of buffer-menu.
5583 (Buffer-menu-toggle-files-only): Add an informative message.
5584 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5585 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5586 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5587 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5588 (Buffer-menu-execute, Buffer-menu-select)
5589 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5590 (Buffer-menu-bury): Use Tabulated List machinery.
5591 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5592 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5593 Delete.
e5f9458f
CY
5594 (list-buffers--refresh): New function.
5595 (list-buffers-noselect): Use it.
5596 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5597 (Buffer-menu--pretty-file-name): New helper functions.
5598
5599 * loadup.el: Preload tabulated-list.
5600
5601 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5602 tabulated-list-sort-column.
5603 (tabulated-list-init-header): Add the initial aligning space even
5604 if tabulated-list-padding is zero.
5605
e129292c
CS
56062012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5607
5608 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5609 whose cdr is not a cons cell correctly (bug#11038).
5610
6632d361
CY
56112012-05-06 Chong Yidong <cyd@gnu.org>
5612
e129292c
CS
5613 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5614 Accept additional plist in column descriptors.
6632d361
CY
5615 (tabulated-list-init-header): Obey it.
5616 (tabulated-list-get-entry): New function.
5617 (tabulated-list-put-tag): Use it. Use string-width instead of
5618 length.
5619 (tabulated-list--column-number): New function.
5620 (tabulated-list-print): Use it.
e129292c
CS
5621 (tabulated-list-print-col): New function.
5622 Set `tabulated-list-column-name' property on each column's text.
6632d361 5623 (tabulated-list-print-entry): Use it.
e129292c
CS
5624 (tabulated-list-delete-entry, tabulated-list-set-col):
5625 New functions.
6632d361
CY
5626 (tabulated-list-sort-column): New command (Bug#11337).
5627
3cc99f68
CY
5628 * buff-menu.el (list-buffers): Move C-x C-b binding from
5629 buff-menu.el to bindings.el.
5630
5631 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5632 :advertised-binding feature.
5633
52b61776
TN
56342012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5635
5636 * progmodes/compile.el (compilation-internal-error-properties):
5637 Calculate start position correctly when end-col is set but
5638 end-line is not (Bug#11382).
5639
ebfe2597
WJ
56402012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5641
5642 * man.el (Man-unindent): Use text-property-default-nonsticky to
5643 prevent untabify from inheriting face properties (Bug#11408).
5644
6d3f7c2f
SM
56452012-05-05 Stefan Merten <smerten@oekonux.de>
5646
5647 * textmodes/rst.el: Major merge with upstream development up to
5648 Docutils SVN r7399 / rst.el V1.2.1.
5649
5650 Clarify maintainership and authors.
5651
5652 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5653 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5654 (rst-official-version, rst-official-cvs-rev, rst-version)
5655 (rst-package-emacs-version-alist): New functions and variables
5656 for version information.
5657
5658 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5659 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5660 (rst-mode-syntax-table, rst-mode): New and corrected functions
5661 and variables representing reStructuredText features.
5662
5663 (rst-re): New function for reStructuredText regexes. Use in
5664 many places.
5665
5666 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5667 (rst-mode-map): Rebind keys.
5668
5669 (rst-mode-lazy, rst-font-lock-keywords)
5670 (rst-font-lock-extend-region)
5671 (rst-font-lock-extend-region-internal)
5672 (rst-font-lock-extend-region-extend)
5673 (rst-font-lock-find-unindented-line-limit)
5674 (rst-font-lock-find-unindented-line-match)
5675 (rst-adornment-level, rst-font-lock-adornment-level)
5676 (rst-font-lock-adornment-match)
5677 (rst-font-lock-handle-adornment-pre-match-form)
5678 (rst-font-lock-handle-adornment-matcher): Major revision of
5679 font-locking. Integrate with other code. Use `jit-lock-mode'.
5680
5681 (rst-preferred-adornments, rst-adjust-hook)
5682 (rst-new-adornment-down, rst-preferred-bullets)
5683 (rst-preferred-bullets, rst-indent, rst-indent-width)
5684 (rst-indent-field, rst-indent-literal-normal)
5685 (rst-indent-literal-minimized, rst-indent-comment): Change,
5686 extend and improve customization.
5687
5688 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5689 (rst-normalize-cursor-position, rst-get-decoration)
5690 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5691 (rst-rstrip, rst-toc-insert-find-delete-contents)
5692 (rst-shift-fill-region, rst-compute-bullet-tabs)
5693 (rst-debug-print-tabs, rst-debug-mark-found)
5694 (rst-shift-region-guts, rst-shift-region-right)
5695 (rst-shift-region-left, rst-use-char-classes)
5696 (rst-font-lock-keywords-function)
5697 (rst-font-lock-indentation-point)
5698 (rst-font-lock-find-unindented-line-begin)
5699 (rst-font-lock-find-unindented-line-end)
5700 (rst-font-lock-find-unindented-line)
5701 (rst-font-lock-adornment-point, rst-font-lock-level)
5702 (rst-adornment-level-alist): Remove functions and variables.
5703
5704 (rst-compare-adornments, rst-get-adornment-match)
5705 (rst-suggest-new-adornment, rst-get-adornments-around)
5706 (rst-adornment-complete-p, rst-get-next-adornment)
5707 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5708 (rst-straighten-adornments): Standardize function names to
5709 use "adornment" instead of "decoration". Correct callers.
5710 Similar standardizing in many places.
5711
5712 (rst-update-section, rst-adjust, rst-promote-region)
5713 (rst-enumerate-region, rst-bullet-list-region)
5714 (rst-repeat-last-character): Correct use of `interactive'.
5715
5716 (rst-classify-adornment, rst-find-all-adornments)
5717 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5718 (rst-find-leftmost-column, rst-repeat-last-character):
5719 Refactor functions.
5720
5721 (rst-find-title-line, rst-reset-section-caches)
5722 (rst-get-adornments-around, rst-adjust-adornment-work)
5723 (rst-arabic-to-roman, rst-roman-to-arabic)
5724 (rst-insert-list-pos, rst-insert-list-new-item)
5725 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5726 New functions.
5727
5728 (rst-all-sections, rst-section-hierarchy)
5729 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5730 New variables.
5731
5732 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5733 configuration instead of only buffer. Change where necessary.
5734
5735 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5736 (rst-shift-region, rst-adaptive-fill): New functions for
5737 indentation and filling.
5738
5739 (rst-comment-line-break, rst-comment-indent)
5740 (rst-comment-insert-comment, rst-comment-region)
5741 (rst-uncomment-region): New functions for handling comments.
5742
5743 (rst-compile): Quote shell arguments.
5744
5745 (rst-compile-pdf-preview, rst-compile-slides-preview):
5746 Delete temporary files after use.
5747
a43f98b3
GM
57482012-05-05 Glenn Morris <rgm@gnu.org>
5749
48176e8b
GM
5750 * calendar/cal-html.el: Optionally include holidays in the output.
5751 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5752 (cal-html-holidays): New option.
5753 (cal-html-css-default): Add holiday entry.
5754 (holiday-in-range): Autoload it.
5755 (cal-html-htmlify-entry): Add optional class argument.
5756 (cal-html-htmlify-list): Add optional holidays argument.
5757 (cal-html-insert-agenda-days): Include holidays in the output.
5758 (cal-html-one-month): Maybe include holidays.
5759
a43f98b3
GM
5760 * calendar/holidays.el (holiday-in-range):
5761 Move here from cal-tex-list-holidays.
5762 * calendar/cal-tex.el (cal-tex-list-holidays):
5763 Make it an obsolete alias for holiday-in-range. Update all callers.
5764
fef9d149 57652012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5766
5767 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5768 Nextstep.
5769
248da2f4
RW
57702012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5771
5772 * files.el (file-auto-mode-skip): New var.
5773 (set-auto-mode-1): Use it.
5774
f95e9344
SM
57752012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5776
df96ab1e
SM
5777 * repeat.el: Use lexical-binding.
5778 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5779 (repeat-undo-count): Remove.
5780 (repeat):
5781 * progmodes/octave-mod.el (octave-abbrev-start):
5782 * progmodes/f90.el (f90-abbrev-start):
5783 * face-remap.el (text-scale-adjust):
5784 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5785
5342bb06
SM
5786 * emacs-lisp/pcase.el (pcase--let*): New function.
5787 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5788 a bit more.
5789 (pcase--split-pred): Be more clever about ruling out overlap between
5790 a predicate and some constant pattern.
5791 (pcase--q1): Use `null' instead of (eq foo nil).
5792
f95e9344
SM
5793 * subr.el (setq-local, defvar-local): New macros.
5794 (kbd): Redefine as an alias.
5795 (with-selected-window): Leave unrelated frames alone.
5796 (set-temporary-overlay-map): New function.
5797
71873e2b
SM
57982012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * subr.el (user-error): New function.
5801 * window.el (switch-to-buffer):
5802 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5803 (smerge-match-conflict):
5804 * simple.el (previous-matching-history-element)
5805 (next-matching-history-element, goto-history-element, undo-more)
5806 (undo-start):
5807 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5808 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5809 (next-file, tags-loop-scan, list-tags, complete-tag):
5810 * progmodes/compile.el (compilation-loop):
5811 * mouse.el (mouse-minibuffer-check):
5812 * man.el (Man-bgproc-sentinel, Man-goto-page):
5813 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5814 (Info-history-forward, Info-follow-reference, Info-menu)
5815 (Info-extract-menu-item, Info-extract-menu-counting)
5816 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5817 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5818 (Info-next-reference, Info-prev-reference, Info-index)
5819 (Info-index-next, Info-follow-nearest-node)
5820 (Info-copy-current-node-name):
5821 * imenu.el (imenu--make-index-alist)
5822 (imenu-default-create-index-function, imenu-add-to-menubar):
5823 * files.el (basic-save-buffer, recover-file):
5824 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5825 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5826 (checkdoc-message-text, checkdoc-defun):
5827 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5828 * cus-edit.el (customize-changed-options, customize-rogue)
5829 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5830 (custom-variable-mark-to-reset-standard)
5831 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5832 (custom-file):
5833 * completion.el (check-completion-length):
5834 * comint.el (comint-search-arg)
5835 (comint-previous-matching-input-string-position)
5836 (comint-previous-matching-input)
5837 (comint-replace-by-expanded-history-before-point, comint-send-input)
5838 (comint-copy-old-input, comint-backward-matching-input)
5839 (comint-goto-process-mark, comint-set-process-mark):
5840 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5841 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5842
8a61ee22
SM
58432012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5844
66408d1e
SM
5845 * dabbrev.el (dabbrev--ignore-case-p): New function.
5846 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5847 Use it.
5848
8a61ee22
SM
5849 * files.el (automount-dir-prefix): Mark as obsolete.
5850
3c74813a
GM
58512012-05-04 Glenn Morris <rgm@gnu.org>
5852
5853 * patcomp.el, play/bruce.el: Move to obsolete/.
5854
0bfcf5c5
PE
58552012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5856
5857 Fix minor Y10k bugs.
5858 * arc-mode.el (archive-unixdate):
5859 * autoinsert.el (auto-insert-alist):
5860 * calc/calc-forms.el (math-this-year):
5861 * emacs-lisp/copyright.el (copyright-current-year)
5862 (copyright-update-year, copyright):
5863 * tar-mode.el (tar-clip-time-string):
5864 * time.el (display-time-update):
5865 Don't assume years have 4 digits.
5866
78f3273a
CY
58672012-05-04 Chong Yidong <cyd@gnu.org>
5868
5869 * dos-w32.el (file-name-buffer-file-type-alist)
5870 (direct-print-region-use-command-dot-com):
5871 * ffap.el (ffap-menu-regexp):
5872 * find-file.el (ff-special-constructs):
5873 * follow.el (follow-debug):
5874 * forms.el (forms--debug):
5875 * iswitchb.el (iswitchb-all-frames):
5876 * ido.el (ido-all-frames):
5877 * emacs-lisp/timer.el (timer-max-repeats):
5878 * mail/feedmail.el (feedmail-mail-send-hook)
5879 (feedmail-mail-send-hook-queued):
5880 * mail/footnote.el (footnote-signature-separator):
5881 * mail/mailabbrev.el (mail-alias-separator-string)
5882 (mail-abbrev-mode-regexp):
5883 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5884 * progmodes/idlwave.el (idlwave-libinfo-file)
5885 (idlwave-default-completion-case-is-down)
5886 (idlwave-library-routines): Convert defvars to defcustoms.
5887
5888 * mail/rmail.el (rmail-decode-mime-charset):
5889 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5890 (idlwave-shell-fix-inserted-breaks)
5891 (idlwave-shell-activate-alt-keybindings)
5892 (idlwave-shell-use-breakpoint-glyph):
5893 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5894
f7ae6719
SM
58952012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5898
47086495
WS
58992012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5900
5901 * progmodes/verilog-mode.el (font-lock-keywords):
5902 Fix mis-highligting auto. Reported by Craig Barner.
5903 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5904 defines from global name space. Reported by Dan Dever.
47086495
WS
5905 (verilog-auto-reset, verilog-auto-reset-widths)
5906 (verilog-auto-tieoff): Support using unbased numbers for
5907 AUTORESET and AUTOTIEOFF.
5908 (verilog-submit-bug-report): Update variable list.
5909 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5910 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5911 (verilog-auto-template-lint): Fix hash error when linting modules
5912 with no used templates.
5913 (verilog-warn, verilog-warn-error)
5914 (verilog-warn-fatal): When non-interactive report multiple
5915 warnings before exiting. Suggested by Brad Dobbie.
5916 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5917 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5918 to report unused template errors. Reported by Brad Dobbie.
5919 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5920 nets, bug438. Reported by Vns Blore.
47086495
WS
5921 (verilog-auto-inout-module, verilog-auto-reg)
5922 (verilog-read-decls, verilog-read-sub-decls-sig)
5923 (verilog-signals-edit-wire-reg, verilog-signals-with):
5924 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5925 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5926 "reg" for backwards compatibility presuming Verilog 2001.
5927 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5928 (verilog-preprocess): Fix replication of preprocess output.
5929 Reported by Brad Dobbie.
5930 (verilog-auto-inst-interfaced-ports):
5931 Create verilog-auto-inst-interfaced-ports, bug429.
5932 Reported by Julian Gorfajn.
5933 (verilog-after-save-font-hook)
5934 (verilog-before-save-font-hook): New variable.
5935 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5936 (verilog-save-font-mods): Wrap disabling fontification, reported
5937 by David Rogoff.
5938 (verilog-do-indent, verilog-pretty-declarations-auto)
5939 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5940 Reported by Pierre-David Pfister.
5941 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5942 of class declarations, bug292. Reported by Kevin Heilman.
5943 (verilog-read-decls): Fix 'parameter type' not appearing in
5944 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5945 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5946 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5947 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5948 Reported by David Kravitz.
5949
59502012-05-03 Michael McNamara <mac@mail.brushroad.com>
5951
5952 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5953 assignment with tests in ifs and for loops.
5954 (verilog-extended-complete-re, verilog-complete-reg): Change so
5955 that DPI inport functions don't look like fuction declarations.
5956 (verilog-pretty-expr): Don't line up assignment
5957 operations to the test and increment in if and for loops
5958 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5959 that DPI inport functions don't look like fuction declarations.
47086495 5960
2e51d4b5
KH
59612012-05-03 Kenichi Handa <handa@m17n.org>
5962
5963 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5964 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5965 (Bug#11282).
5966
2bd785a2
SM
59672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * emacs-lisp/bytecomp.el
5970 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5971 since cconv.el might have introduced :fun-body, internal-make-closure,
5972 and friends for bytecomp to handle (bug#11391).
5973 * custom.el (defcustom): Avoid ((λ ..) ..).
5974
99d27583
SM
59752012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5978
55a71479
JB
59792012-05-02 Juanma Barranquero <lekktu@gmail.com>
5980
5981 * notifications.el (dbus-debug):
5982 * term/linux.el (gpm-mouse-enable):
5983 * term/screen.el (xterm-register-default-colors): Declare.
5984
7b97c764
CY
59852012-05-02 Chong Yidong <cyd@gnu.org>
5986
2bc356d7
CY
5987 * cus-start.el (gc-cons-percentage, exec-suffixes)
5988 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5989 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5990 (make-cursor-line-fully-visible, void-text-area-pointer)
5991 (font-list-limit): Add customization data.
5992
7b97c764
CY
5993 * allout.el (allout-exposure-change-functions)
5994 (allout-structure-added-functions)
5995 (allout-structure-deleted-functions)
5996 (allout-structure-shifted-functions): Rename abnormal hooks from
5997 *-hook, and convert to defcustoms.
5d3385a0
JB
5998 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5999 Convert to defcustoms.
7b97c764
CY
6000 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6001
6002 * allout-widgets.el: Hook callers changed.
6003
90207a15 60042012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6005
6006 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6007 the yanked message in preference to the default value of
6008 buffer-file-coding-system.
6009
90207a15 60102012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6011
5d3385a0
JB
6012 * window.el (display-buffer--action-function-custom-type):
6013 Fix entry.
d9558cad 6014
90207a15 60152012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6016
6017 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6018
d80ac57b
GM
60192012-05-01 Glenn Morris <rgm@gnu.org>
6020
976f7668
GM
6021 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6022
beb83b5a
GM
6023 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6024
d80ac57b
GM
6025 * cus-edit.el (custom-variable-documentation): Simplify with format.
6026
b593d6a9 60272012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6028 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6029
6030 * simple.el (suggest-key-bindings, execute-extended-command):
6031 Move from keyboard.c.
6032
782fbf2a
CY
60332012-05-01 Chong Yidong <cyd@gnu.org>
6034
6035 * follow.el: Eliminate advice.
6036 (set-process-filter, process-filter, sit-for): Advice deleted.
6037 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6038 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6039 Vars deleted.
782fbf2a
CY
6040 (follow-auto): Use a :set function.
6041 (follow-mode): Rewritten. Don't advise process filters.
6042 (follow-switch-to-current-buffer-all, follow-scroll-up)
6043 (follow-scroll-down): Assume follow-mode is bound.
6044 (follow-comint-scroll-to-bottom)
6045 (follow-align-compilation-windows): New functions.
6046 (follow--window-sorter): New function.
6047 (follow-all-followers): Use it to explicitly sort windows by their
6048 positions; don't make assumptions about next-window order.
6049 (follow-windows-start-end, follow-delete-other-windows-and-split)
6050 (follow-calc-win-start): Doc fix.
6051 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6052 vertical-motion unnecessarily.
6053 (follow-adjust-window): New function.
6054 (follow-post-command-hook): Use it.
6055 (follow-call-set-process-filter, follow-call-process-filter)
6056 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6057 (follow-stop-intercept-process-output, follow-generic-filter):
6058 Functions deleted.
6059 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6060 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6061 New functions, replacing advice on scroll-bar-* commands.
87233a14 6062 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6063
6064 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6065 (comint-postoutput-scroll-to-bottom): Use it.
6066 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6067
290af740
GM
60682012-05-01 Glenn Morris <rgm@gnu.org>
6069
6070 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6071 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6072 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6073 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6074 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6075 Remove no-byte-compile setting.
6076
6eac8dc9
SM
60772012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6080 all-completions code to not return a number in the last cdr.
6081
9cc7819c
LL
60822012-04-30 Leo Liu <sdl.web@gmail.com>
6083
6084 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6085 read-only error.
6086
c93b886f
CY
60872012-04-29 Chong Yidong <cyd@gnu.org>
6088
6089 * follow.el (follow-calc-win-end): Rewrite to handle partial
6090 screen lines correctly (Bug#8390).
6091 (follow-avoid-tail-recenter): Minor cleanup.
6092
8b6c19f4
SM
60932012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 Avoid the obsolete `assoc' package.
6096 * speedbar.el (speedbar-refresh): Avoid adelete.
6097 (speedbar-file-lists): Simplify and avoid aput.
6098 * man.el (Man--sections, Man--refpages): New vars, replacing
6099 Man-sections-alist and Man-refpages-alist.
6100 (Man-build-section-alist, Man-build-references-alist):
6101 Use them; avoid aput.
6102 (Man--last-section, Man--last-refpage): New vars.
6103 (Man-follow-manual-reference): Use them.
6104 Use the `default' arg of completing-read.
6105 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6106
c5bb7569
CY
61072012-04-27 Chong Yidong <cyd@gnu.org>
6108
d1d2e2e8
CY
6109 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6110
15cd8efd
CY
6111 * startup.el (x-apply-session-resources): New function.
6112
6113 * term/ns-win.el (ns-initialize-window-system):
6114 * term/w32-win.el (w32-initialize-window-system):
6115 * term/x-win.el (x-initialize-window-system): Use it to properly
6116 set menu-bar-mode and other vars from X resources, even if the
6117 initial frame is not a window-system frame (Bug#2299).
6118
c5bb7569
CY
6119 * subr.el (read-key): Avoid running filter function when setting
6120 up temporary tool bar entries (Bug#9922).
6121
a8e7d6d7 61222012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6123
6124 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6125 (Bug#11344)
6126
a8e7d6d7 61272012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6128
6129 * select.el (xselect--encode-string): New function, split from
6130 xselect-convert-to-string.
6131 (xselect-convert-to-string): Use it.
6132 (xselect-convert-to-filename, xselect-convert-to-os)
6133 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6134 returned strings are properly encoded (Bug#11315).
6135
a8e7d6d7 61362012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6137
6138 * simple.el (delete-active-region): Move to killing custom group.
6139
a8e7d6d7 61402012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6141
6142 * progmodes/which-func.el (which-func-current): Quote %
6143 characters for mode-line processing.
6144
578c1d4b 61452012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6146
6147 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6148 reaching eob (Bug#11286).
6149
a8e7d6d7 61502012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6151
6152 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6153 (gdb): Make it buffer-local and init to zero.
6154 (gdb-control-commands-regexp): New variable.
6155 (gdb-send): Don't wrap in "-interpreter-exec console" if
6156 gdb-control-level is positive. Increment gdb-control-level
6157 whenever the command matches gdb-control-commands-regexp, and
6158 decrement it each time the command is "end". (Bug#11279)
6159
a8e7d6d7 61602012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6161
6162 * window.el (adjust-window-trailing-edge, enlarge-window)
6163 (shrink-window, window-resize):
6164 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6165 windows (Bug#11276).
6166
b3608390
CY
61672012-04-27 Chong Yidong <cyd@gnu.org>
6168
6169 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6170 fix "missing prefix" warning. All callers changed.
b3608390 6171
797e6e88
SM
61722012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * emacs-lisp/assoc.el: Move to obsolete/.
6175
e95a67dc
SM
61762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6177
657c21e4 6178 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6179
6180 * term/ns-win.el (ns-define-service):
6181 * progmodes/pascal.el (pascal-goto-defun):
6182 * progmodes/js.el (js--read-tab):
6183 * progmodes/etags.el (tags-lazy-completion-table):
6184 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6185 * emacs-lisp/ewoc.el (ewoc--wrap):
6186 * emacs-lisp/assoc.el (aput, adelete, amake):
6187 * doc-view.el (doc-view-convert-current-doc):
6188 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6189
cb3e7ae0
CY
61902012-04-26 Chong Yidong <cyd@gnu.org>
6191
dce04f7f
CY
6192 * image.el (image-type-from-buffer): Only return supported image
6193 type (Bug#9045).
6194
cb3e7ae0
CY
6195 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6196 value, for symmetry with diff-end-of-hunk.
6197 (diff-split-hunk, diff-find-source-location)
6198 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6199 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6200 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6201 compute the relevant hunk or file properly (Bug#6005).
6202 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6203
0d42eb3e
SM
62042012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * vc/vc-mtn.el:
6207 * vc/vc-hg.el:
6208 * vc/vc-git.el:
6209 * vc/vc-dir.el:
6210 * vc/vc-cvs.el:
6211 * vc/vc-bzr.el:
6212 * vc/vc-arch.el:
6213 * vc/vc.el: Replace lexical-let by lexical-binding.
6214 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6215 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6216 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6217
f08ae1c9
CY
62182012-04-26 Chong Yidong <cyd@gnu.org>
6219
8b71081d
CY
6220 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6221 (diff-mode-shared-map): Bind it to / and [remap undo].
6222
f08ae1c9
CY
6223 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6224 (ediff-window-setup-function): Use it as the default, to set up
6225 windows based on whether the current frame is graphical (Bug#2138).
6226 (ediff-choose-window-setup-function-automatically): Make obsolete.
6227
6228 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6229
ef24141c
SM
62302012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6231
cc356a5d
SM
6232 * ffap.el: Remove old code for obsolete package.
6233 (ffap-complete-as-file-p): Remove.
6234
b4ff4f1f
SM
6235 Use completion-table-with-quoting for comint and pcomplete.
6236 * comint.el (comint--unquote&requote-argument)
6237 (comint--unquote-argument, comint--requote-argument): New functions.
6238 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6239 (comint-quote-filename): Use regexp-opt-charset.
6240 (comint--common-suffix, comint--common-quoted-suffix)
6241 (comint--table-subvert): Remove.
6242 (comint-unquote-function, comint-requote-function): New vars.
6243 (comint--complete-file-name-data): Use them with
6244 completion-table-with-quoting.
6245 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6246 * pcomplete.el (pcomplete-arg-quote-list)
6247 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6248 (pcomplete-unquote-argument-function): Default to non-nil.
6249 (pcomplete-unquote-argument): Simplify.
6250 (pcomplete--common-quoted-suffix): Remove.
6251 (pcomplete-requote-argument-function): New var.
6252 (pcomplete--common-suffix): New function.
6253 (pcomplete-completions-at-point): Use completion-table-with-quoting
6254 and completion-table-subvert.
6255
79c4eeb4
SM
6256 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6257 (minibuffer--double-dollars): Preserve properties.
6258 (completion--sifn-requote): New function.
6259 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6260
ef24141c
SM
6261 * minibuffer.el: Add support for completion of quoted/escaped data.
6262 (completion-table-with-quoting, completion-table-subvert): New funs.
6263 (completion--twq-try, completion--twq-all): New functions.
6264 (completion--nth-completion): New function.
6265 (completion-try-completion, completion-all-completions): Use it.
6266
784e7d6e
LL
62672012-04-25 Leo Liu <sdl.web@gmail.com>
6268
dd2ac746
SM
6269 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6270 Use compilation-message if available to find real filename.
784e7d6e 6271
07875ee7
CY
62722012-04-25 Chong Yidong <cyd@gnu.org>
6273
6274 * vc/diff-mode.el (diff-setup-whitespace): New function.
6275 (diff-mode): Use it.
6276
6277 * vc/diff.el (diff-sentinel):
6278 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6279 Whitespace mode variables based on diff style (Bug#8612).
6280
5055880d
LL
62812012-04-25 Leo Liu <sdl.web@gmail.com>
6282
daf75653
LL
6283 * progmodes/python.el (python-send-region): Add suffix .py to the
6284 temp file.
6285
5055880d
LL
6286 * files.el (auto-mode-alist): Use javascript-mode instead.
6287
db9b177b
AH
62882012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6289
ef24141c 6290 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6291
090bd7cb 6292 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6293 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6294 references, see Bug#9.
ef24141c 6295 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6296 when receiving a fault reply.
ef24141c 6297 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6298
090bd7cb 6299 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6300 (soap-inspect-simple-type): New function.
db9b177b 6301
090bd7cb 6302 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6303 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6304 (soap-decode-basic-type, soap-encode-basic-type):
6305 support unsignedInt and double basic types.
db9b177b 6306 (soap-resolve-references-for-simple-type)
ef24141c
SM
6307 (soap-parse-simple-type, soap-encode-simple-type): New function.
6308 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6309
090bd7cb 6310 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6311 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6312 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6313 the local name of "soapenc:Array".
6314 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6315 decoding integer, byte and anyURI xsd types.
6316
1fc6097b
CY
63172012-04-25 Chong Yidong <cyd@gnu.org>
6318
6319 * cus-edit.el (custom-buffer-create-internal): Update header text.
6320
afc6df87
EZ
63212012-04-25 Eli Zaretskii <eliz@gnu.org>
6322
6323 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6324 settings on 'system-type', not on 'window-system'. On MS-Windows,
6325 set interactive-mode on in GDB.
6326
dfbd787f
SM
63272012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6330 (ruby-syntax-propertize-regexp): Remove.
6331 (ruby-syntax-propertize-function): Split regexp into chunks.
6332 Match following code directly.
6333
85222d44
DG
63342012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6335
51a8ea2a
DG
6336 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6337 (ruby-syntax-propertize-regexp): New function.
6338 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6339 by a special keyword.
6340
85222d44
DG
6341 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6342 (ruby-syntax-general-delimiters-goto-beg)
6343 (ruby-syntax-propertize-general-delimiters): New functions.
6344 (ruby-syntax-propertize-function): Use them to handle GDL.
6345 (ruby-font-lock-keywords): Move old handling of GDL...
6346 (ruby-font-lock-syntactic-keywords): .. to here.
6347 (ruby-calculate-indent): Adjust indentation for GDL.
6348
b613912b
MA
63492012-04-24 Michael Albinus <michael.albinus@gmx.de>
6350
b5380639
MA
6351 * notifications.el (top): Remove unneeded declarations.
6352 (notifications-specification-version): Change to "1.2".
e43042fe 6353 (notifications-interface, notifications-notify-method)
b613912b
MA
6354 (notifications-close-notification-method): Fix docstring.
6355 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6356 (notifications-notify): Add :action-items, :resident and
6357 :transient hints. Change "image_data" to "image-data" and
6358 "image_path" to "image-path".
b613912b
MA
6359 (notifications-get-capabilities): New defun.
6360
257440aa
LL
63612012-04-24 Leo Liu <sdl.web@gmail.com>
6362
6363 * progmodes/python.el: Move hideshow setup to the end.
6364
b1bac16e
MR
63652012-04-24 Martin Rudalics <rudalics@gmx.at>
6366
6367 * window.el (handle-select-window): Clear echo area since this is
6368 no more done by read_char (Bug#11304).
6369
d81bd059
SM
63702012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6373 and `/ M' to filter-derived-mode.
6374 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6375 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6376 (ibuffer-mark-by-mode): Use default rather than initial-input.
6377 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6378
c4cf6d91
IA
63792012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6380
6381 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6382 (ibuffer-filter-by-derived-mode): New filter.
6383 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6384
7511ded8
CY
63852012-04-23 Andreas Politz <politza@fh-trier.de>
6386
6387 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6388
775c916b
CY
63892012-04-23 Chong Yidong <cyd@gnu.org>
6390
6391 * cus-edit.el (customize-apropos, customize-apropos-options):
6392 Disable matching of non-option variables (Bug#11176).
6393 (customize-option, customize-option-other-window)
6394 (customize-changed-options): Doc fix.
6395 (customize-apropos-options, customize-apropos-faces)
6396 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6397
6398 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6399 Fix word list splitting (Bug#11132).
46c71e23
CY
6400 (apropos-symbol, apropos-keybinding, apropos-label)
6401 (apropos-property, apropos-function-button)
6402 (apropos-variable-button, apropos-misc-button): New faces.
6403 (apropos-symbol-face, apropos-keybinding-face)
6404 (apropos-label-face, apropos-property-face, apropos-match-face):
6405 Variables removed (Bug#8396).
6406 (apropos-library-button, apropos-format-plist, apropos-print)
6407 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6408
2df41f9c
MA
64092012-04-23 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/xesam.el (xesam-mode-map): Use let-bound map in
6412 initialization. (Bug#11292)
6413
da00640a
AM
64142012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6415
6416 Preserve ispell session localwords when switching back to
6417 original buffer.
6418
090bd7cb
JB
6419 * textmodes/ispell.el (ispell-buffer-session-localwords):
6420 New buffer-local variable to hold buffer session localwords.
ed9265fc 6421 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6422 localwords.
6423 (ispell-command-loop, ispell-change-dictionary)
6424 (ispell-buffer-local-words): Preserve session localwords when
6425 needed.
6426
090bd7cb
JB
6427 * textmodes/flyspell.el (flyspell-process-localwords)
6428 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6429
f621ccf5
AM
64302012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6431
090bd7cb
JB
6432 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6433 using obsolete `translation-table-for-input'.
ef24141c
SM
6434 (ispell-word, ispell-process-line, ispell-complete-word):
6435 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6436
c2d1019e
CY
64372012-04-22 Chong Yidong <cyd@gnu.org>
6438
6439 * cus-edit.el (custom-variable-menu)
6440 (custom-variable-reset-saved, custom-face-menu)
6441 (custom-face-reset-saved): If there is no saved value, make the
6442 "reset-saved" operation bring back the default (Bug#9509).
6443 (custom-face-state): Properly detect themed faces.
6444
eeddc531
CY
6445 * faces.el (face-spec-set): Stop supporting deprecated form of
6446 third arg.
6447
dcbf5805
MA
64482012-04-22 Michael Albinus <michael.albinus@gmx.de>
6449
6450 Move functions from C to Lisp. Make non-blocking method calls
6451 the default. Implement further D-Bus standard interfaces.
6452
ef24141c
SM
6453 * net/dbus.el (dbus-message-internal): Declare function.
6454 Remove unneeded function declarations.
dcbf5805
MA
6455 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6456 (dbus-message-type-method-return, dbus-message-type-error)
6457 (dbus-message-type-signal): Declare variables. Remove local
6458 definitions.
6459 (dbus-interface-dbus, dbus-interface-peer)
6460 (dbus-interface-introspectable, dbus-interface-properties)
6461 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6462 Adapt docstring.
6463 (dbus-interface-objectmanager): New defconst.
6464 (dbus-call-method, dbus-call-method-asynchronously)
6465 (dbus-send-signal, dbus-method-return-internal)
6466 (dbus-method-error-internal, dbus-register-service)
6467 (dbus-register-signal, dbus-register-method): New defuns, moved
6468 from dbusbind.c
6469 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6470 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6471 New defuns.
dcbf5805
MA
6472 (dbus-call-method-non-blocking): Make it an obsolete function.
6473 (dbus-unregister-object, dbus-unregister-service)
6474 (dbus-handle-event, dbus-register-property)
6475 (dbus-property-handler): Obey the new structure of
6476 `bus-registered-objects'.
6477 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6478 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6479 Use `dbus-call-method'.
6480
cf20dee0
CY
64812012-04-22 Chong Yidong <cyd@gnu.org>
6482
6483 * cus-edit.el (custom-commands, custom-reset-menu)
6484 (Custom-reset-standard): Tweak labels.
6485 (custom-reset-button-menu): Change default to t.
6486 (custom-buffer-create-internal): For the custom-reset-button-menu
6487 case, put the revert button first.
6488 (custom-group-subtitle): New face.
6489 (custom-group-value-create): Align docstring to a specific column.
6490
6491 * wid-edit.el (widget-documentation-link-add): Don't handle
6492 indentation in this function.
6493 (widget-documentation-string-indent-to): New function.
6494 (widget-documentation-string-value-create): Use it.
6495
6496 * autorevert.el (auto-revert):
6497 * epg-config.el (epg):
6498 * ibuffer.el (ibuffer):
6499 * mpc.el (mpc):
6500 * ses.el (ses):
6501 * eshell/eshell.el (eshell):
6502 * net/ange-ftp.el (ange-ftp):
6503 * progmodes/ebnf2ps.el (postscript):
6504 * progmodes/flymake.el (flymake):
6505 * progmodes/prolog.el (prolog):
6506 * progmodes/verilog-mode.el (verilog-mode):
6507 * progmodes/which-func.el (which-func):
6508 * term/xterm.el (xterm):
6509 * textmodes/picture.el (picture):
6510 * textmodes/tildify.el (tildify):
6511 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6512 customization buffers.
6513
583e23bd
AM
65142012-04-22 Alan Mackenzie <acm@muc.de>
6515
6516 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6517 Adding a ) can hide the resulting (..) from searches. Fix it.
6518 Bound the backward search to the position of the existing (.
6519
7dd51bf1
JB
65202012-04-21 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * progmodes/verilog-mode.el (verilog-mode): Check whether
6523 which-func-modes is t before adding verilog-mode.
6524 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6525
d64a438f
LL
65262012-04-21 Leo Liu <sdl.web@gmail.com>
6527
7dd51bf1 6528 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6529
081e8d65
MV
65302012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6531
6532 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6533 filling of the last column of a table (Bug#5635).
6534 (woman-find-next-control-line): New arg, specifying an additional
6535 regexp component for the control line.
6536 (woman2-roff-buffer): Use it.
6537 (woman-break-table): New function.
6538 (woman2-TS): Use it.
6539
65402012-04-21 Chong Yidong <cyd@gnu.org>
6541
6542 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6543 (woman-horizontal-escapes, woman-negative-vertical-space)
6544 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6545 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6546
ed571ccb
SM
65472012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * minibuffer.el (completion-file-name-table): Complete user names.
6550
39773899
LL
65512012-04-20 Leo Liu <sdl.web@gmail.com>
6552
6553 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6554 and pcase-let*.
6555
de6ff46d
CY
65562012-04-20 Chong Yidong <cyd@gnu.org>
6557
6558 * server.el (server-execute): Respect initial-buffer-choice if it
6559 is a string and there are no files to open (Bug#2825).
6560 (server-create-window-system-frame, server-create-tty-frame):
6561 Don't switch buffers here.
2d0e8e61
CY
6562 (server-process-filter): Only try to open a window system frame if
6563 compiled with graphical support (Bug#8314).
de6ff46d 6564
54071013
DN
65652012-04-20 Dan Nicolaescu <dann@gnu.org>
6566
6567 * battery.el (battery-echo-area-format): Display remaining time
6568 for sysfs backend too (Bug#11269).
6569 (battery-linux-sysfs): Fix conditional for the charge.
6570
f30d612a
CY
65712012-04-20 Chong Yidong <cyd@gnu.org>
6572
c07a4c0b 6573 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6574 (gdb-inferior-io--init-proc): New function.
6575 (gdb-init-1): Use it.
6576 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6577 responsible for allocating a new pty and hooking it to gdb when
6578 the old pty gets an EIO due to process exit.
6579 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6580 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6581 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6582
2116e93c
EZ
65832012-04-20 Eli Zaretskii <eliz@gnu.org>
6584
6585 * window.el (window-min-size, window-sizable, window-min-delta)
6586 (window-max-delta, window--resizable, window-resizable)
6587 (window-total-size, window-full-height-p, window-full-width-p)
6588 (window-in-direction, window--resize-mini-window, window-resize)
6589 (window--resize-child-windows-normal)
6590 (window--resize-child-windows, window--resize-siblings)
6591 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6592 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6593
c07a4c0b 65942012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6595
ef24141c
SM
6596 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6597 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6598 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6599 pty process (Bug#11273).
6600 (gdb-update): New arg to suppress talking to the gdb process.
6601 (gdb-done-or-error): Use it.
6602 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6603 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6604 sentinel not being called.
6605
6606 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6607
d02766ab
CY
6608 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6609
c07a4c0b 66102012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6611
6612 * net/network-stream.el (open-network-stream): Doc fix.
6613
c07a4c0b 66142012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6615
6616 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6617
c07a4c0b 66182012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6619
6620 Ensure searching for keywords is case sensitive.
6621
6622 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6623 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6624 (c-defun-name, c-mark-function, c-cpp-define-name)
6625 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6626 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6627
ef24141c
SM
6628 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6629 Bind case-fold-search to nil.
f0f6bc35 6630
c07a4c0b 66312012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6632
6633 * mail/sendmail.el (mail-bury): Call return action with the right
6634 Rmail buffer (Bug#11242).
6635
9a864fa2
CY
6636 * server.el (server-process-filter): Handle corner case where both
6637 tty and nowait options are present (Bug#11102).
6638
539aa513
EZ
66392012-04-20 Eli Zaretskii <eliz@gnu.org>
6640
6641 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6642 (top level): Put into the executable the ident-style '$Id:' tag on
6643 windows-nt as well.
539aa513 6644
cfc7d5da
SM
66452012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * electric.el (electric-indent-post-self-insert-function): Check that
6648 electric-indent-mode is enabled in current buffer.
6649
5b01685c
JB
66502012-04-19 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * imenu.el (imenu-progress-message): Restore; it is "used" in
6653 erc/erc-imenu.el and net/snmp-mode.el.
6654
4d6769e1
JB
66552012-04-19 Juanma Barranquero <lekktu@gmail.com>
6656
6657 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6658 (mouse-avoidance-nudge-mouse): Remove unused binding.
6659
6660 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6661
6662 * descr-text.el (describe-char):
6663 * progmodes/python.el (python-describe-symbol):
6664 Don't call `toggle-read-only', set `buffer-read-only'.
6665
6666 * imenu.el (imenu-default-goto-function): Mark unused args.
6667 (imenu-progress-message): Remove obsolete macro; all callers changed.
6668
6669 * subr.el (keymap-canonicalize): Remove unused binding.
6670 (read-passwd): Mark unused arg.
6671
6672 * tutorial.el (tutorial--display-changes): Remove unused binding.
6673 (tutorial--save-tutorial-to): Remove unused variable.
6674
6675 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6676 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6677 (package-generate-autoloads, package-menu--generate)
6678 (package-menu--find-upgrades): Remove unused bindings.
6679
6680 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6681 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6682 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6683 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6684 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6685 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6686 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6687 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6688 (cua-delete-char-rectangle): Mark unused args.
6689 (cua-align-rectangle): Remove unused binding.
6690
6691 * mail/rmail.el (compilation--message->loc)
6692 (epa--find-coding-system-for-mime-charset): Declare.
6693
6694 * net/dbus.el (dbus-register-service): Declare.
6695 (dbus-name-owner-changed-handler): Remove unused binding.
6696
6697 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6698 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6699 (nxml-scan-backward-within): Mark unused arg.
6700 (nxml-dynamic-markup-word): Remove unused binding.
6701
6702 * mouse.el (mouse-menu-major-mode-map):
6703 * emacs-lisp/authors.el (authors-scan-change-log)
6704 (authors-add-to-author-list):
6705 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6706 * emacs-lisp/smie.el (smie-auto-fill):
6707 * mail/sendmail.el (mail-bury):
6708 * mail/unrmail.el (unrmail):
6709 * net/tls.el (open-tls-stream):
6710 * textmodes/picture.el (picture-mouse-set-point):
6711 Remove unused bindings.
6712
8c8fc5df
MA
67132012-04-19 Michael Albinus <michael.albinus@gmx.de>
6714
6715 * net/tramp.el (tramp-action-password): Let-bind
6716 `enable-recursive-minibuffers' to t.
6717
a77b0ac9
SS
67182012-04-18 Sam Steingold <sds@gnu.org>
6719
6720 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6721 instead of 'string to accommodate values like [f11].
6722 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6723 * progmodes/gdb-mi.el: Likewise.
6724
12a106a9
LL
67252012-04-18 Leo Liu <sdl.web@gmail.com>
6726
6727 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6728 current buffer.
6729 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6730 LOCAL is nil.
6731
bc6494ef
CY
67322012-04-18 Chong Yidong <cyd@gnu.org>
6733
6734 * simple.el (line-move): Use forward-line if in batch mode
6735 (Bug#11053).
6736
c09c46b2
CS
67372012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6738
6739 * files.el (after-find-file): Do not try to add a final newline if
6740 the buffer is read-only (Bug#11156).
6741
5f6530ea
RS
67422012-04-17 Richard Stallman <rms@gnu.org>
6743
6744 * mail/rmail.el (rmail-start-mail):
6745 Pass (rmail-mail-return...) for the return-action.
6746 Pass (rmail-yank-current-message...) for the yank-action.
6747 (rmail-yank-current-message): New function.
6748 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6749 (rmail-reply): Likewise.
6750 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6751
6752 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6753 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6754 buffer, not newbuf.
6755
197b6f3c
JB
67562012-04-17 Juanma Barranquero <lekktu@gmail.com>
6757
6758 * server.el (server-ensure-safe-dir): Simplify.
6759
2311d8e5 67602012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6761
2311d8e5
GM
6762 * emacs-lisp/smie.el: Provide smarter auto-filling.
6763 (smie-auto-fill): New function.
6764 (smie-setup): Use it.
98fb480e 6765
2311d8e5
GM
6766 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6767
67682012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6769
6770 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6771 (comment-indent): Use it.
6772
2311d8e5 67732012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6774
6775 * ses.el: The overall change is to add cell renaming, that is
6776 setting fancy names for cell symbols other than name matching
6777 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6778 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6779 (ses-create-cell-variable): New defun.
2311d8e5 6780 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6781 (ses-relocate-formula): Relocate formulas only for cells the
6782 symbols of which are not renamed, i.e. symbols whose names do not
6783 match regexp "\\`[A-Z]+[0-9]+\\'".
6784 (ses-relocate-all): Relocate values only for cells the symbols of
6785 which are not renamed.
6786 (ses-load): Create cells variables as the (ses-cell ...) are read,
6787 in order to check row col consistency with cell symbol name only
6788 for cells that are not renamed.
6789 (ses-replace-name-in-formula): New defun.
6790 (ses-rename-cell): New defun.
4bdf2ad2 6791
fc72b15c
PO
67922012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6793
6794 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6795 New option (bug#11118).
6796 (perl-calculate-indent): Respect it.
6797
12e10e61
GM
67982012-04-17 Glenn Morris <rgm@gnu.org>
6799
6800 * dired-aux.el (dired-mark-read-string): Doc fix.
6801
30009afd
DA
68022012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6803
6804 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6805 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6806
41f03f4d
GM
68072012-04-17 Glenn Morris <rgm@gnu.org>
6808
6809 * mouse.el (mouse-drag-track):
6810 * speedbar.el (speedbar-frame-mode):
6811 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6812
f45f90f3
LL
68132012-04-16 Leo Liu <sdl.web@gmail.com>
6814
6815 * progmodes/python.el: Trivial cleanup.
6816
94ee8db5
GM
68172012-04-16 Glenn Morris <rgm@gnu.org>
6818
121b8917
GM
6819 * vc/vc.el (vc-string-prefix-p):
6820 * vc/pcvs-util.el (cvs-string-prefix-p):
6821 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6822 * mpc.el (mpc-string-prefix-p):
6823 Make all of these into obsolete aliases for string-prefix-p.
6824 Update callers.
6825 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6826
1197ecfa
GM
6827 * textmodes/two-column.el: Move custom options to the start.
6828 (frame-width): Remove compat definition.
6829 (2C-associate-buffer, 2C-dissociate):
6830 Use with-current-buffer rather than save-excursion.
6831 (2C-dissociate): Force a mode-line update.
6832 (2C-autoscroll): Use ignore-errors.
6833
099e7202
GM
6834 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6835 Autoload trivia.
6836
bf350d6a
GM
6837 * emacs-lisp/cl-extra.el (*random-state*):
6838 Remove unnecessary declaration.
6839
0e829eab
GM
6840 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6841
e3ad7552
GM
6842 * play/cookie1.el (cookie-snarf):
6843 Give an explicit error if input file cannot be read.
6844
68892d27
GM
6845 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6846
20f0c46d
GM
6847 * progmodes/perl-mode.el (c-macro-expand):
6848 Remove unnecessary autoload (it is in loaddefs.el).
6849
5a0978ce
GM
6850 * textmodes/picture.el (picture-desired-column)
6851 (picture-update-desired-column): Convert comments to doc-strings.
6852 (picture-substitute): Remove function.
6853 (picture-mode-map): Initialize in the defvar.
6854
6b955486
GM
6855 * woman.el: Remove eval-after-load for tar-mode.
6856 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6857 (woman-tar-extract-file): Autoload it.
6858
94ee8db5
GM
6859 * frame.el (automatic-hscrolling): Make this alias obsolete.
6860
177eca34
AM
68612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6862
090bd7cb 6863 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6864 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6865 (ispell-dictionary-base-alist): Revert to original XEmacs
6866 friendly version for default. [:alpha:] will be added in
090bd7cb 6867 `ispell-set-spellchecker-params' if needed.
177eca34 6868
c505aaeb
CY
68692012-04-16 Chong Yidong <cyd@gnu.org>
6870
b19dd9d1 6871 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6872 (imagemagick-register-types): Use it.
6873 (imagemagick-types-inhibit): Add :set function. Allow new value
6874 of t to inhibit all types.
6875
6876 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6877 so we can preload it.
6878
6879 * loadup.el (fboundp): Preload regexp-opt, needed by
6880 imagemagick-register-types.
6881
60efac0f
CY
68822012-04-15 Chong Yidong <cyd@gnu.org>
6883
6884 * frame.el (scrolling): Remove nearly unused customization group.
6885
6886 * scroll-all.el (scroll-all-mode): Move to windows group.
6887
5dd1713e
CY
68882012-04-15 Chong Yidong <cyd@gnu.org>
6889
6890 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6891
e6fd457e
CY
68922012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6895 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6896
e153c136
GM
68972012-04-15 Glenn Morris <rgm@gnu.org>
6898
6899 * simple.el (process-file-side-effects): Doc fix.
6900
e6fd457e 69012012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6902
6903 * international/mule-cmds.el (set-language-environment): Doc fix.
6904
3603c3b1
JB
69052012-04-14 Juanma Barranquero <lekktu@gmail.com>
6906
6907 * server.el (server-auth-key, server-generate-key): Doc fixes.
6908 (server-get-auth-key): Doc fix. Use `string-match-p'.
6909 (server-start): Reflow docstring.
6910
e6de100c
LI
69112012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6912
6913 * server.el (server-generate-key): `called-interactively-p'
6914 requires a parameter.
6915
29734c21
MN
69162012-04-14 Michal Nazarewicz <mina86@mina86.com>
6917
6918 * server.el (server-auth-key): New variable.
75f1671a 6919 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6920 (server-start): Use the new variable and functions to allow
6921 setting a permanent server key (bug#9423).
6922
d65c9521
LL
69232012-04-14 Leo Liu <sdl.web@gmail.com>
6924
6925 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6926
5ae255c7
PE
69272012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6928
6929 Spelling fixes.
6930 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6931 Emacs uses American spelling.
6932
d5e6342e
JB
69332012-04-14 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6936 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6937 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6938 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6939
ab036cd7
SM
69402012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * progmodes/which-func.el (which-func-modes): Change default.
6943
35dc09a1 69442012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6945
6946 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6947 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6948
35dc09a1 69492012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6950
6951 * custom.el (custom-theme-set-variables): Doc fix.
6952
35dc09a1 69532012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6954
6955 * international/mule.el (set-auto-coding-for-load): Doc fix.
6956
35dc09a1 69572012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6958
35dc09a1
GM
6959 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6960 imenu work again for Objective C Mode. Correct the *-index values,
6961 these having been disturbed by a previous change in 2011-08.
57f845ee 6962
0de3da9f
AM
6963 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6964 Correct two search limits.
6965
35dc09a1 69662012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6967
6968 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6969
35dc09a1 69702012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6971
6972 * international/characters.el: Fix sorting.
6973
35dc09a1 69742012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6975
6976 * international/characters.el: Add more missing Latin case pairs.
6977
35dc09a1 69782012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6979
6980 * files.el (dir-locals-set-class-variables): Doc fix.
6981
35dc09a1 69822012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6983
3f1b5bf8
EZ
6984 * international/characters.el: Add set-case-syntax-pair call for
6985 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6986 counterpart. (Bug#11209)
6987
9f847f41
EZ
6988 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6989
35dc09a1 69902012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6991
6992 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6993
35dc09a1 69942012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6995
35dc09a1
GM
6996 * textmodes/ispell.el (ispell-dictionary-base-alist):
6997 Add data for Hebrew.
e2627d21 6998
35dc09a1 69992012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7000
35dc09a1
GM
7001 * net/rcirc.el (rcirc-cmd-quit):
7002 Revert 2012-03-18 change (Bug#11192).
5c14e333 7003
35dc09a1 70042012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7005
7006 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7007
35dc09a1 70082012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7009
4517fe3a
SM
7010 * minibuffer.el (completion-in-region-mode-map):
7011 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7012
b472a594
VD
70132012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7014
7015 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7016
09b95ce3
MY
70172012-04-13 Masatake YAMATO <yamato@redhat.com>
7018
7019 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7020 to allow `C-M-f' and `C-M-b' to move to the nearest path
7021 separator (bug#9511).
7022
4b63a9ca
LI
70232012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7024
7025 * avoid.el: Require cl when compiling. And also move the
7026 `provide' to the end.
7027
7b55b8bf
TV
70282012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7029
7030 * avoid.el (mouse-avoidance-banish-position): New variable.
7031 (mouse-avoidance-banish-destination): Use it (bug#10165).
7032
adedaa1f
LL
70332012-04-13 Leo Liu <sdl.web@gmail.com>
7034
7035 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7036
70e74021
KB
70372012-04-13 Ken Brown <kbrown@cornell.edu>
7038
7039 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7040 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7041 (browse-url-filename-alist): For the same reason, don't modify
7042 file:// URLs on Cygwin.
7043
e75e89ba
SM
70442012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7047 the region on shift if the binding is already shifted (bug#11221).
7048
82f289a4
GM
70492012-04-12 Glenn Morris <rgm@gnu.org>
7050
7051 * mail/mailpost.el: Move to obsolete/.
7052
d333dc4c
DA
70532012-04-12 Drew Adams <drew.adams@oracle.com>
7054
7055 * imenu.el (imenu--generic-function): Ignore invisible definitions
7056 (bug#10123).
7057
0d15b5ba
VD
70582012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7059
7060 * hexl.el (hexl-bits): New variable.
7061 (hexl-options): Mention the variable in the doc string.
75f1671a 7062 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7063 (hexl-mode): Mention the new variable.
75f1671a
JB
7064 (hexl-mode, hexl-current-address, hexl-current-address):
7065 Use the displen.
0d15b5ba
VD
7066 (hexl-ascii-start-column): New function.
7067 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7068 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7069
64a440db
AM
70702012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7071
7072 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7073 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7074 the encoding, as expected by hunspell.
7075
6decb6c2
SM
70762012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * battery.el (battery--linux-sysfs-regexp): New const.
7079 (battery-status-function): Use it. Remove yeeloong special case.
7080 (battery-yeeloong-sysfs): Remove.
7081 (battery-echo-area-format): Remove yeeloong special case.
7082
088be6fb
SM
70832012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7084
6622e416
SM
7085 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7086 Reported by Noah Friedman.
7087
088be6fb
SM
7088 * subr.el (read-passwd): Use read-string.
7089
b49f886e
LMI
70902012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091
7092 * vcursor.el (vcursor-move): Increase the priority of the overlay
7093 (bug#9663).
7094
a63067fc
DD
70952012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7096
7097 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7098 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7099
ac3cf14a
WS
71002012-04-11 William Stevenson <yhvh2000@gmail.com>
7101
7102 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7103 define-minor-mode (bug#10760).
7104
c4fc691b 71052012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7106
4d6769e1 7107 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7108 that directories matching `grep-find-ignored-files' won't be
7109 pruned (bug#10351).
7110
af23e2e5
CY
71112012-04-11 Chong Yidong <cyd@gnu.org>
7112
7113 * startup.el (command-line): Remove support for long-obsolete
7114 variable font-lock-face-attributes.
7115
ab7ce8c1
GM
71162012-04-11 Glenn Morris <rgm@gnu.org>
7117
7118 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7119
de8c03dc
SM
71202012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * window.el (window--state-get-1): Obey window-point-insertion-type.
7123
050cc68b
LB
71242012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7125
7126 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7127 to previous function when point is on the first character of a
75f1671a 7128 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7129
a38c310c
GM
71302012-04-11 Glenn Morris <rgm@gnu.org>
7131
effed0c2
GM
7132 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7133 not just file-errors.
7134
a38c310c
GM
7135 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7136 (vc-bzr-sha1): Use internal sha1.
7137
0221e323
SM
71382012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7141
43956923
SG
71422012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7143
7144 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7145 that start in the middle of the line (bug#10496).
7146
6a8c9eaf
DN
71472012-04-10 Dan Nicolaescu <dann@gnu.org>
7148
7149 * battery.el (battery-linux-proc-acpi): Only one battery is
7150 discharged at a time, but that seems to confuse battery.el when
7151 computing `rate-type' for the battery not being discharged
7152 (bug#10332).
7153
1930bf5d
SM
71542012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7155
2a718f6f
SM
7156 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7157
599430d0
SM
7158 * international/quail.el: Use dolist and simplify.
7159 (quail-define-package, quail-update-keyboard-layout)
7160 (quail-define-rules): Use dolist.
7161 (quail-insert-kbd-layout, quail-get-translation): CSE.
7162
a2754b6c
SM
7163 * tmm.el: Use dolist, remove left over hook.
7164 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7165 Use dolist.
7166 (calendar-load-hook): Don't mess with it.
7167
1930bf5d
SM
7168 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7169 Use derived-mode-p. Run the diff asynchronously.
7170
9f67961c
LMI
71712012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172
7173 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7174
2a8ce227
JB
71752012-04-10 Juanma Barranquero <lekktu@gmail.com>
7176
7177 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7178 (list-dynamic-libraries--loaded): New function.
7179 (list-dynamic-libraries--refresh): Use it.
7180
8f33b5f8
NW
71812012-04-10 Nathan Weizenbaum <nweiz@google.com>
7182
1930bf5d
SM
7183 * progmodes/python.el (python-fill-paragraph):
7184 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7185 disabled (bug#7018).
7186
b12f0439
L
71872012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7188
1930bf5d 7189 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7190 DOS/MS Windows for the Baltic languages. There are still plenty
7191 of texts written in this encoding/codepage (bug#6519).
b12f0439 7192
57c3bd01
GM
71932012-04-10 Glenn Morris <rgm@gnu.org>
7194
7195 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7196 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7197
6c3eab30
FA
71982012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7199
1930bf5d 7200 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7201 next-line "n" and previous-line "p" in order to make recentf more
7202 consistent with ibuffer, dired or org-mode (bug#9387).
7203
24d78a88
LMI
72042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205
bc72b5d9
LMI
7206 * image.el (put-image): Return the overlay created instead of the
7207 optional input string (bug#7834). Note that this may break code
7208 that is (for some reason or other) depending on `put-image'
7209 returning the string.
7210
bd2dba5a
LMI
7211 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7212
74beb59f
LMI
7213 * simple.el (zap-to-char): Allow zapping using input methods
7214 (bug#1580).
7215
24d78a88
LMI
7216 * textmodes/fill.el (fill-region): Leave point and mark where they
7217 were before filling (bug#5399).
7218
263f20cd
GM
72192012-04-09 Glenn Morris <rgm@gnu.org>
7220
7221 * version.el (emacs-bzr-get-version):
7222 Handle lightweight checkouts of local branches.
7223
58d1f797
AS
72242012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7225
263f20cd 7226 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7227
b4d3bc10
CY
72282012-04-09 Chong Yidong <cyd@gnu.org>
7229
7230 * custom.el (custom-variable-p): Return nil for non-symbol
7231 arguments instead of signaling an error.
7232 (user-variable-p): Obsolete alias for custom-variable-p.
7233
7234 * apropos.el (apropos-variable):
7235 * files-x.el (read-file-local-variable):
7236 * simple.el (set-variable):
7237 * woman.el (woman-mini-help):
7238 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7239
fd06db5d
GM
72402012-04-09 Glenn Morris <rgm@gnu.org>
7241
e5fcdb5e
GM
7242 * startup.el (normal-top-level): Don't look for leim-list.el
7243 in places where it will not be found. (Bug#910)
7244
fd06db5d
GM
7245 * international/mule-cmds.el (set-default-coding-systems):
7246 * files.el (normal-mode):
7247 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7248 This function was removed with ucs-tables.el in 2008.
7249
b39bb7e1
EZ
72502012-04-08 Eli Zaretskii <eliz@gnu.org>
7251
7252 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7253 ispell-encoding8-command to "-i", without a trailing space.
7254 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7255 separate command-line arguments, to specify the encoding, since
7256 that's how hunspell expects it.
7257
5c5b8e23
GM
72582012-04-08 Glenn Morris <rgm@gnu.org>
7259
7260 * loadup.el: Load bindings before cus-start.
7261 This reduces somewhat the number of "rogue" settings in emacs -Q.
7262
a1ed8b05
GM
72632012-04-07 Glenn Morris <rgm@gnu.org>
7264
7265 * version.el (emacs-bzr-get-version): New function.
dfae128a 7266 (emacs-bzr-version): New variable.
a1ed8b05
GM
7267 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7268 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7269
b142f158
EZ
72702012-04-07 Eli Zaretskii <eliz@gnu.org>
7271
dfae128a
GM
7272 * international/uni-bidi.el, international/uni-category.el:
7273 * international/uni-combining.el, international/uni-decimal.el:
7274 * international/uni-decomposition.el, international/uni-digit.el:
7275 * international/uni-lowercase.el, international/uni-mirrored.el:
7276 * international/uni-name.el, international/uni-numeric.el:
7277 * international/uni-titlecase.el, international/uni-uppercase.el:
7278 Update for Unicode 6.1.
b142f158 7279
9078ead6
EZ
72802012-04-07 Eli Zaretskii <eliz@gnu.org>
7281
7282 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7283
f23d2c7d
LMI
72842012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * window.el (shrink-window): Mention the `window-min-height'
7287 variable in the doc string.
7288
0a0a3573
BG
72892012-04-05 Bastien Guerry <bzg@altern.org>
7290
7291 * color.el (color-lighten-name): Fix typo.
7292
e5248ac9
SM
72932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * server.el (server--on-display-p): New function.
7296 (server--on-display-p): Use it.
7297
b4243e22
GV
72982012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7299
7300 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7301 (bug#11145).
7302
305d9f44
SM
73032012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7304
7305 * comint.el (comint--common-quoted-suffix): Check string boundary
7306 before comparing (bug#11158).
7307 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7308
3d439cd1
CY
73092012-04-04 Chong Yidong <cyd@gnu.org>
7310
321cc491
CY
7311 * minibuffer.el (completion-extra-properties): Doc fix.
7312
3d439cd1
CY
7313 * subr.el (delayed-warnings-hook): Doc fix.
7314
2d562c0f
DU
73152012-04-04 Daiki Ueno <ueno@unixuser.org>
7316
7317 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7318 selection (Bug#11159).
7319 (epa-insert-keys): Inform that the default public key will be
7320 exported if no key is selected.
7321
4443f204
RS
73222012-04-04 Richard Stallman <rms@gnu.org>
7323
7324 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7325
529c06b6
CY
73262012-04-03 Chong Yidong <cyd@gnu.org>
7327
7328 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7329 mail-insert-file, not its obsolete alias mail-attach-file.
7330
66b907dc
MA
73312012-04-03 Michael Albinus <michael.albinus@gmx.de>
7332
7333 * notifications.el (notifications-notify): Fix docstring.
7334
c0ea195d
GM
73352012-04-02 Glenn Morris <rgm@gnu.org>
7336
7337 * emacs-lisp/authors.el (authors-aliases): Another addition.
7338
5ca64e00
MA
73392012-04-02 Michael Albinus <michael.albinus@gmx.de>
7340
7341 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7342 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7343 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7344
42ee526b
CY
73452012-04-01 Chong Yidong <cyd@gnu.org>
7346
7347 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7348 Handle root directory properly.
7349 (copy-directory): Caller changed.
7350
7351 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7352 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7353
0b021094
GM
73542012-03-31 Glenn Morris <rgm@gnu.org>
7355
40f86458
GM
7356 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7357
7019c177
GM
7358 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7359
a1daddd6
GM
7360 * calendar/calendar.el (calendar-window-list)
7361 (calendar-hide-window): Restore. (Bug#11140)
7362 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7363
0b021094
GM
7364 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7365
40311efc
TV
73662012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7367
7368 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7369 Check if file is a symlink (Bug#10489).
7370
7371 * files.el (copy-directory): Likewise.
7372
5319014e
CY
73732012-03-30 Chong Yidong <cyd@gnu.org>
7374
7375 * image.el (imagemagick-types-inhibit)
7376 (imagemagick-register-types): Doc fix.
7377
935d1290
AM
73782012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7379
090bd7cb 7380 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7381 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7382 and treats ~word as ordinary words in pipe mode.
935d1290 7383
61c6e8fd
GM
73842012-03-30 Glenn Morris <rgm@gnu.org>
7385
7386 * tutorial.el (help-with-tutorial): Ensure local variables don't
7387 happen to make the buffer read-only. (Bug#11127)
7388
81fdff00
SM
73892012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7392 (perl-calculate-indent): Return `noindent' in strings.
7393
6e7a6ec0
SS
73942012-03-28 Sam Steingold <sds@gnu.org>
7395
7396 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7397 instead of the broken adhockery which does not prevent calendar
7398 buffers from being displayed at random after exit.
7399 (calendar-window-list, calendar-hide-window): Remove the broken
7400 adhockery.
7401
fee88ca0
GM
74022012-03-28 Glenn Morris <rgm@gnu.org>
7403
7404 * replace.el (query-replace-map): Doc fix.
7405
38de3354
AS
74062012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7407
7408 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7409 contents. (Bug#11109)
7410
b973155e
SM
74112012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7414 (bug#11077).
7415 (avl-tree--check, avl-tree--check-node): New funs.
7416
dcb6e7b3
MR
74172012-03-27 Martin Rudalics <rudalics@gmx.at>
7418
7419 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7420 (switch-to-prev-buffer, switch-to-next-buffer):
7421 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7422 showing a buffer already is done on the same frame.
7423
b4fa35fa
GM
74242012-03-27 Glenn Morris <rgm@gnu.org>
7425
7426 * startup.el (mail-host-address): Doc fix.
7427
f9210e18
SM
74282012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7431 than 197 variables.
7432
c0bf7753
AF
74332012-03-26 Ami Fischman <ami@fischman.org>
7434
7435 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7436
33da7b16
GM
74372012-03-26 Glenn Morris <rgm@gnu.org>
7438
02243d9d
GM
7439 * files.el (save-buffers-kill-emacs): Doc fix.
7440
33da7b16
GM
7441 * startup.el (normal-top-level, command-line, command-line-1):
7442 Give them doc strings.
7443
e5a69fd0
EZ
74442012-03-25 Eli Zaretskii <eliz@gnu.org>
7445
7446 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7447 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7448
9a69676a
CY
74492012-03-25 Chong Yidong <cyd@gnu.org>
7450
4125cb8b
CY
7451 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7452 theme if it was previously enabled before (Bug#11031).
7453
dd470960
CY
7454 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7455 spec with custom-face-get-current-spec if its :shown-value is not
7456 determined yet (Bug#9337).
4125cb8b 7457 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7458
9a69676a
CY
7459 * button.el (button-at): Minor addition to docstring.
7460
6e7e90fa
SL
74612012-03-24 Simon Leinen <simon.leinen@gmail.com>
7462
7463 * vc/vc.el (vc-merge): Fix a prompt.
7464
f06e2758
CY
74652012-03-24 Chong Yidong <cyd@gnu.org>
7466
7467 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7468 point (Bug#9623).
7469
6e7e90fa
SL
7470 * button.el (button-at): Minor addition to docstring.
7471
b9d0879b
SM
74722012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * newcomment.el (comment-choose-indent): No space after BOL.
7475
e71cebb3
SS
74762012-03-22 Sam Steingold <sds@gnu.org>
7477
7478 * window.el (switch-to-prev-buffer): Revert last patch because the
7479 bug turned out to be an advertised feature (Elisp manual 28.14).
7480
335aff35
GM
74812012-03-22 Glenn Morris <rgm@gnu.org>
7482
7483 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7484 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7485
c676576a
LMI
74862012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
7488 * net/network-stream.el (network-stream-open-starttls): Make error
7489 message under Windows be less misleading.
7490
126f3d39
LW
74912012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7492
7493 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7494 understands (bug#9942).
7495
64fee311
CY
74962012-03-22 Chong Yidong <cyd@gnu.org>
7497
7498 * simple.el (end-of-visible-line): Handle return value of
7499 next-single-property-change properly (Bug#9371).
7500
a640d29a
KH
75012012-03-22 Kenichi Handa <handa@m17n.org>
7502
7503 * international/quail.el (quail-insert-kbd-layout): Fix previous
7504 change. To avoid unwanted bidi reordering, use
7505 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7506
39675016
DG
75072012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7508
7509 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7510 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7511 (ruby-beginning-of-indent): Be more careful with the difference
7512 between word-boundary and symbol boundary.
7513 (ruby-mode-syntax-table): Make : a symbol constituent.
7514
0a6934fc 75152012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7516
3d008e4f
SM
7517 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7518
0a6934fc
SM
75192012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7520
af67c9d7
SM
7521 * progmodes/etags.el (tags-completion-at-point-function):
7522 Improve last fix.
7523
1acad97c
SM
7524 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7525
e298b5da
SS
75262012-03-21 Sam Steingold <sds@gnu.org>
7527
7528 * progmodes/etags.el (tags-completion-at-point-function):
7529 Avoid the error when point is inside the pattern.
7530
91d82a70
JY
75312012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7532
7533 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7534 line (Bug#10855).
7535
69188b79
CY
75362012-03-21 Drew Adams <drew.adams@oracle.com>
7537
7538 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7539
99fc91fe
AK
75402012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7541
7542 * ido.el (ido-set-current-directory, ido-read-internal)
7543 (ido-choose-completion-string, ido-completion-help): Handle nil
7544 value of ido-completion-buffer (Bug#11008).
7545
087bbb4c
SS
75462012-03-21 Sam Steingold <sds@gnu.org>
7547
7548 * window.el (switch-to-prev-buffer): Do not switch to a visible
7549 window previous buffer, just like with the frame previous buffers.
7550
fb5b8aca
CY
75512012-03-21 Chong Yidong <cyd@gnu.org>
7552
7553 * faces.el (make-face, make-empty-face, copy-face):
7554 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7555 Doc fixes.
7556
dc9924b8
SM
75572012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7560 (widget-complete): Remove broken use of it.
7561
f0bcceb9
CY
75622012-03-20 Chong Yidong <cyd@gnu.org>
7563
dc9924b8
SM
7564 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7565 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7566 characters.
7567
ee52ebf3
TH
75682012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7569
7570 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7571 to draw rectangles, not squares. (Regression introduced by revno
7572 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7573
4c5779ab
CY
75742012-03-18 Chong Yidong <cyd@gnu.org>
7575
7576 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7577 it is not yet defined (for temacs).
7578
15360934
LL
75792012-03-18 Leo Liu <sdl.web@gmail.com>
7580
dc9924b8 7581 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7582
d9a8eb66
EZ
75832012-03-17 Eli Zaretskii <eliz@gnu.org>
7584
7585 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7586 (ispell-choices-win-default-height, ispell-silently-savep)
7587 (ispell-dictionary-alist, ispell-encoding8-command)
7588 (ispell-check-version, ispell-aspell-find-dictionary)
7589 (ispell-valid-dictionary-list, ispell-words-keyword)
7590 (ispell-get-word, ispell-internal-change-dictionary)
7591 (ispell-region, ispell-skip-region-list)
7592 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7593 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7594 (ispell-message-text-end, ispell-message)
7595 (ispell-buffer-local-parsing): Doc fix.
7596
f02ff80d
J
75972012-03-13 Jambunathan K <kjambunathan@gmail.com>
7598
7599 * htmlfontify.el: Add support for code block fontification for ODT
7600 export (Bug #9914).
7601 (hfy-optimisations): Define new option
7602 `body-text-only'
7603 (hfy-fontify-buffer): Honor above setting.
7604 (hfy-begin-span, hfy-end-span): New routines factored out form
7605 `hfy-fontify-buffer'.
7606 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7607 that permit insertion of custom tags.
7608 (hfy-fontify-buffer): Use above handlers.
7609 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7610 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7611 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7612 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7613 bind a special variable `hfy-user-sheet-assoc'.
7614 (htmlfontify-string): New defun.
7615 (hfy-compile-face-map): Make sure that the last char in the
7616 buffer is correctly fontified.
7617 (hfy-face-resolve-face): Whitespace only change.
7618
9ac7a13f
EZ
76192012-03-17 Eli Zaretskii <eliz@gnu.org>
7620
7621 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7622 message more clear.
7623
e2b5bdd7
LL
76242012-03-16 Leo Liu <sdl.web@gmail.com>
7625
7626 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7627
2e492df3
AM
76282012-03-16 Alan Mackenzie <acm@muc.de>
7629
7630 Further optimise the handling of large macros.
7631
7632 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7633 limit to a call of `c-literal-limits'.
7634 (c-determine-+ve-limit): New function.
dc9924b8
SM
7635 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7636 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7637 In CASE 5B, restrict a search limit to 500.
7638 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7639
7640 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7641 Restrict macro bounds to +-500 from after-change's BEG END.
7642
50e94f0c
LL
76432012-03-16 Leo Liu <sdl.web@gmail.com>
7644
7645 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7646
6f09f6ed
AH
76472012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7648
7649 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7650 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7651
c7e73d51
GM
76522012-03-16 Glenn Morris <rgm@gnu.org>
7653
da986230
GM
7654 * view.el (view-buffer, view-buffer-other-window)
7655 (view-buffer-other-frame): Doc fixes re special mode-class.
7656
0835f01e
GM
7657 * subr.el (eval-after-load): If named feature is provided not from
7658 a file, run after-load forms. (Bug#10946)
7659
c7e73d51
GM
7660 * calendar/calendar.el (calendar-insert-at-column):
7661 Handle non-unit-width characters a bit better. (Bug#10978)
7662
3f2eafd1
CY
76632012-03-15 Chong Yidong <cyd@gnu.org>
7664
7665 * emacs-lisp/ring.el (ring-extend): New function.
7666 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7667
7668 * comint.el (comint-read-input-ring)
7669 (comint-add-to-input-history): Grow comint-input-ring lazily.
7670
103af3fe
SM
76712012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7672
663b1677
SM
7673 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7674 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7675
103af3fe
SM
7676 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7677 (imenu-add-to-menubar): Don't add a redundant index.
7678 (imenu-update-menubar): Handle a dynamically composed keymap.
7679
899cb7cb
KY
76802012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7681
7682 * mail/sendmail.el (mail-encode-header):
7683 Bind rfc2047-encode-encoded-words to nil.
7684
3809f91d
GM
76852012-03-13 Glenn Morris <rgm@gnu.org>
7686
7687 * calendar/calendar.el (calendar-string-spread):
7688 Handle non-unit-width characters a bit better. (Bug#10978)
7689
9e345a01
LL
76902012-03-13 Leo Liu <sdl.web@gmail.com>
7691
7692 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7693 directory and file as argument (Bug#10822).
7694
4a07df36
KS
76952012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7696
7697 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7698 For dynamically generated code, follow $PC.
7699 (gdb-disassembly-handler-custom): Handle no function name case.
7700
4aaa9356
TL
77012012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7702
7703 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7704 * emulation/ws-mode.el (ws-query-replace):
7705 * sort.el (sort-regexp-fields):
7706 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7707
225979da
SM
77082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * dabbrev.el: Fix cycle completion order (bug#10963).
7711 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7712 (dabbrev-completion): Don't use an obarray; provide
7713 a cycle-sort-function.
7714
e2f1fdab
LL
77152012-03-12 Leo Liu <sdl.web@gmail.com>
7716
dc9924b8 7717 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7718 (kill-do-not-save-duplicates): Doc fix.
7719
b19490ed
SM
77202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * dabbrev.el: Fix cycle completion (bug#10963).
7723 Use lexical binding and wrap to 80 columns.
7724 (dabbrev-completion): Delay computing the list of completions.
7725
4b05d722
KH
77262012-03-12 Kenichi Handa <handa@m17n.org>
7727
7728 * international/quail.el (quail-insert-kbd-layout): Surround each
7729 row by LRO and PDF instead of inserting many LRMs. Pad the left
7730 and right of each non-spacing marks. Insert invisible space
7731 between lower and upper characters to prevent composition.
7732
dbbc2e69
SM
77332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * minibuffer.el (minibuffer-complete): Don't get confused when the
7736 function is run twice via different commands (bug#10958).
7737 (complete-with-action): Fix docstring.
7738
292112ed
CY
77392012-03-12 Chong Yidong <cyd@gnu.org>
7740
5d1ac394
CY
7741 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7742 (nxml-completion-at-point-function): New function.
7743 (nxml-mode): Use it.
7744 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7745
292112ed
CY
7746 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7747 Load generated autoloads file before byte compiling (Bug#10970).
7748 (package--make-autoloads-and-compile): New helper fun.
7749
4098f8f7
CS
77502012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7751
7752 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7753
8f754691
MA
77542012-03-11 Michael Albinus <michael.albinus@gmx.de>
7755
7756 * autorevert.el (auto-revert-handler): Ensure, that
7757 file-readable-p is applied only for local files or in
7758 auto-revert-tail-mode.
7759
e29ab36b
AS
77602012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7761
dbbc2e69
SM
7762 * server.el (server-eval-at): Handle non-tcp connections.
7763 Decode result string.
ad0bf5b6 7764
e29ab36b
AS
7765 * server.el (server-msg-size): New constant.
7766 (server-reply-print): New function.
7767 (server-eval-and-print): Use it.
7768 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7769 Handle -print-nonl.
7770
de5939ba
CS
77712012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7772
7773 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7774 (Bug#10987).
7775
0c93eabf
CY
77762012-03-11 Chong Yidong <cyd@gnu.org>
7777
397a688f
CY
7778 * simple.el (goto-line): Doc fix (Bug#9938).
7779
2cc775f9
CY
7780 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7781
0c93eabf
CY
7782 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7783 when finished (Bug#10963).
7784
c491fa41
MR
77852012-03-11 Martin Rudalics <rudalics@gmx.at>
7786
7787 * window.el (split-window-below): Fix bug in case where
7788 split-window-keep-point is nil (Bug#10971).
7789
300e8fa5
JL
77902012-03-11 Juri Linkov <juri@jurta.org>
7791
7792 * replace.el (replace-highlight): Set isearch-word to nil
7793 unconditionally. (Bug#10887)
7794
dbf6c5a1
EZ
77952012-03-10 Eli Zaretskii <eliz@gnu.org>
7796
7797 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7798 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7799 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7800 (mairix-widget-create-query): Add usage information about mairix
7801 search forms: negating words, searching for substrings, etc.
7802
b9e501de
JP
78032012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7804
7805 * international/fontset.el (font-encoding-alist): Add an entry for
7806 ksx1001 (Bug#5667).
7807
92795c91
RS
78082012-03-10 Richard Stallman <rms@gnu.org>
7809
1694e6c1
RS
7810 * mail/sendmail.el (mail-encode-header):
7811 Set rfc2047-encode-encoded-words.
7812
607e8555
RS
7813 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7814
de3bc99a
RS
7815 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7816 view buffer means not swapped.
7817 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7818 (rmail-write-region-annotate): Error if real text has disappeared.
7819
92795c91
RS
7820 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7821
699bd04e
CY
78222012-03-10 Chong Yidong <cyd@gnu.org>
7823
7824 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7825 * emulation/cua-base.el (cua--init-keymaps):
7826 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7827
570a1714
MR
78282012-03-10 Martin Rudalics <rudalics@gmx.at>
7829
dbbc2e69
SM
7830 * speedbar.el (speedbar-unhighlight-one-tag-line):
7831 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7832
82dcf4e4
CY
78332012-03-10 Chong Yidong <cyd@gnu.org>
7834
7a2c7ca7
CY
7835 * minibuffer.el (completion-in-region, completion-help-at-point):
7836 Give the completion field overlay a high priority (Bug#6830).
7837
82dcf4e4
CY
7838 * dired.el (dired-goto-file): Recognize absolute file name
7839 listings (Bug#7126).
7840 (dired-goto-file-1): New helper function.
7841 (dired-toggle-read-only): Inhibit warnings.
7842
052e28ac
MA
78432012-03-09 Michael Albinus <michael.albinus@gmx.de>
7844
75f1671a 7845 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7846 there are no properties.
7847
95d5e396
LL
78482012-03-09 Leo Liu <sdl.web@gmail.com>
7849
7850 * savehist.el (savehist-printable): Stricter check for string
7851 value (Bug#10937).
7852
3f018d6d
EZ
78532012-03-09 Eli Zaretskii <eliz@gnu.org>
7854
dbbc2e69
SM
7855 * mail/smtpmail.el (smtpmail-send-it):
7856 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7857 valid mbox format.
7858
f7fd3d79
GM
78592012-03-09 Glenn Morris <rgm@gnu.org>
7860
7861 * files.el (dir-locals-find-file):
7862 Don't check result is regular, readable.
7863 (dir-locals-read-from-file): Demote errors.
7864
6ff6e72f
EZ
78652012-03-08 Eli Zaretskii <eliz@gnu.org>
7866
dbbc2e69
SM
7867 * international/quail.el (quail-insert-kbd-layout):
7868 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7869 layout cell, to prevent their reordering by bidi display engine.
7870 For details, see the discussion in
7871 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7872
9cec7834
AM
78732012-03-08 Alan Mackenzie <acm@muc.de>
7874
7875 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7876 the starting position; make it extend the marked region when
7877 invoked repeatedly - all under appropriate circumstances.
7878 Fixes bugs #5525, #10906.
7879
9a40b8d4
GM
78802012-03-08 Glenn Morris <rgm@gnu.org>
7881
7882 * files.el (locate-dominating-file, dir-locals-find-file):
7883 Undo 2012-03-06 change.
7884
7a08ed35
EZ
78852012-03-07 Eli Zaretskii <eliz@gnu.org>
7886
dbbc2e69
SM
7887 * international/quail.el (quail-help):
7888 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7889 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7890 for the reason.
7891
5aca4f71 78922012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7893
7894 Avoid superfluous registering of signals. (Bug#10807)
7895
7896 * notifications.el (notifications-on-action-object)
7897 (notifications-on-close-object): New defvars.
7898 (notifications-on-action-signal, notifications-on-closed-signal):
7899 Unregister the signal if not needed any longer.
7900 (notifications-notify): Register `notifications-action-signal' or
7901 `notifications-closed-signal', if :on-action or :on-close has been
7902 passed as argument.
7903
78e8b10a
CY
79042012-03-07 Chong Yidong <cyd@gnu.org>
7905
7906 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7907 non-X platforms.
7908
69481eb8
GM
79092012-03-06 Glenn Morris <rgm@gnu.org>
7910
7911 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7912 (x-disown-selection-internal, x-get-selection-internal):
7913 Doc fix (add arglist signatures). (Bug#10783)
7914
133b8e11
KS
79152012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7916
7917 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7918 Handle breakpoints with no "type".
7919
99a83064
GM
79202012-03-06 Glenn Morris <rgm@gnu.org>
7921
7922 * files.el (locate-dominating-file): Add optional predicate argument.
7923 (dir-locals-find-file): Make use of above change.
7924
17798e78
TTN
79252012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7926
7927 * info.el (Info-insert-dir): Also try "dir.gz".
7928
eb182446
GM
79292012-03-06 Glenn Morris <rgm@gnu.org>
7930
8f2114ee
GM
7931 * files.el (dir-locals-find-file):
7932 Ignore non-readable or non-regular files. (Bug#10928)
7933
eb182446
GM
7934 * files.el (locate-dominating-file): Doc fix.
7935
24679323
AS
79362012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7937
7938 * calendar/calendar.el (calendar-set-mode-line):
7939 `getenv' returns a string. (Bug#10951)
7940
01d972a9
LL
79412012-03-05 Leo Liu <sdl.web@gmail.com>
7942
109aa8a9
LL
7943 * simple.el (backward-delete-char-untabify): Constrain point to
7944 field (Bug#10939).
7945
01d972a9
LL
7946 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7947
10607bea
CY
79482012-03-05 Chong Yidong <cyd@gnu.org>
7949
7950 * simple.el (count-words): If called from Lisp, return the word
7951 count, for symmetry with `count-lines'. Arglist changed.
7952 (count-words--message): Args changed. Consolidate counting code
7953 from count-words and count-words-region.
7954 (count-words-region): Caller changed.
7955 (count-lines-region): Make it an obsolete alias.
7956
5dd11cfe
TH
79572012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7958
7959 * saveplace.el (save-place-to-alist)
7960 (save-place-ignore-files-regexp): Allow value nil to disable this
7961 feature.
7962
c349f4e6
CY
79632012-03-04 Chong Yidong <cyd@gnu.org>
7964
7965 * faces.el (face-spec-reset-face): For the default face, reset the
7966 attributes to default values (Bug#10748).
7967
e627be4c
LMI
79682012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
7970 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7971 previous patch: Check `message-send-mail-function', and not the
7972 default function (bug#10897).
7973
ebeabff4
MA
79742012-03-04 Michael Albinus <michael.albinus@gmx.de>
7975
a41a6cf4
MA
7976 * notifications.el (notifications-on-action-signal)
7977 (notifications-on-closed-signal): Check for unique service name of
7978 incoming event. Fix error in removing entry.
ebeabff4 7979 (top): Register for signals with wildcard service name.
a41a6cf4 7980 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7981
c1ca42b4
CY
79822012-03-04 Chong Yidong <cyd@gnu.org>
7983
dc9924b8 7984 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7985
ea16568d
GM
79862012-03-04 Glenn Morris <rgm@gnu.org>
7987
7988 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7989 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7990 (expand-abbrev, define-abbrev-table): Doc fixes.
7991
fbae4637
LMI
79922012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7993
7994 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7995 `message-default-send-mail-function' and not `send-mail-function'
7996 when doing the prompting for `sendmail-query-once' before sending
7997 in Message buffers (bug#10897).
7998
a1e7225c
LMI
7999 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8000 This is inconsistent with all the other stream functions, which leave
8001 the setting up to the higher levels (if so wanted) (bug#10931).
8002
56d093a9
AM
80032012-03-02 Alan Mackenzie <acm@muc.de>
8004
8005 Depessimize the handling of very large macros.
8006
8007 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8008 (c-macro-cache-syntactic): New variables to implement a one
8009 element macro cache.
8010 (c-invalidate-macro-cache): New function.
8011 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8012 Adapt to use the new cache.
8013 (c-state-safe-place): Use better the cache of safe positions.
8014 (c-state-semi-nonlit-pos-cache)
8015 (c-state-semi-nonlit-pos-cache-limit):
8016 New variables for...
8017 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8018 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8019 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8020 Use c-state-semi-safe-place.
56d093a9 8021
dbbc2e69
SM
8022 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8023 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8024
817e5c3d
MA
80252012-03-02 Michael Albinus <michael.albinus@gmx.de>
8026
dbbc2e69
SM
8027 * jka-compr.el (jka-compr-call-process):
8028 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8029 not remote.
8030
a032a702
MA
80312012-03-01 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8034 access of FILE2, if FILE1 does not exist.
8035
99a54f21
MA
8036 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8037 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8038
8039 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8040 Add "PAGER=" to `process-environment'.
8041
f6561e1f
MM
80422012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8043
8044 * progmodes/sql.el: Bug fix
8045 (sql-get-login-ext): Save login values in globals.
8046 (sql-get-login): Use new version of `sql-get-login-ext'.
8047 (sql-interactive-mode): Set global `sql-connection' to nil.
8048 (sql-connect): Set global values for connection.
8049 (sql-product-interactive): Save global values as buffer local.
8050
2d44d9cc
LL
80512012-02-29 Leo Liu <sdl.web@gmail.com>
8052
8053 * abbrev.el (define-abbrevs): Reset sys to nil.
8054
96b49301 80552012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8056
bf7f9bc5
JB
8057 * files.el (file-equal-p): Rename from `files-equal-p'.
8058 Return nil when one or both files don't exist.
96b49301 8059 (file-subdir-of-p): Now only top directory must exists,
8060 return nil if it doesn't.
bf7f9bc5
JB
8061 (copy-directory): No need to test with `file-subdir-of-p' after
8062 creating dir.
8063 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8064 to `file-equal-p'.
96b49301 8065
44e97401
GM
80662012-02-28 Glenn Morris <rgm@gnu.org>
8067
8068 * shell.el (shell-mode):
8069 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8070 * play/landmark.el (landmark-font-lock-face-O):
8071 * play/handwrite.el (handwrite):
8072 * play/gomoku.el (gomoku-O):
8073 * net/browse-url.el (browse-url-browser-display):
8074 * international/mule.el (define-charset):
8075 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8076 * filesets.el (filesets-find-file-delay):
8077 * eshell/em-xtra.el (eshell-xtra):
8078 * eshell/em-unix.el (eshell-grep):
8079 * emulation/viper.el (viper-mode):
8080 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8081 * emacs-lisp/easymenu.el (easy-menu-define):
8082 * calendar/timeclock.el (timeclock-use-display-time):
8083 * bs.el (bs-mode):
8084 * bookmark.el (bookmark-save-flag):
8085 Doc fix (standardize possessive apostrophe usage).
8086
c98c6276
CY
80872012-02-27 Chong Yidong <cyd@gnu.org>
8088
bf7f9bc5
JB
8089 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8090 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8091
c98c6276
CY
8092 * font-lock.el (font-lock-specified-p): Rename from
8093 font-lock-spec-present. Callers changed.
8094
9c62cd04 80952012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8096
bf7f9bc5
JB
8097 * emacs-lisp/package.el (package-compute-transaction):
8098 Handle holding a package version to t in package-load-list.
8ac9e529 8099
530739c9
MA
81002012-02-26 Michael Albinus <michael.albinus@gmx.de>
8101
8102 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8103 (tramp-get-inode, tramp-get-device): Use cached values.
8104
487915d7
AM
81052012-02-26 Alan Mackenzie <acm@muc.de>
8106
8107 Check there is a font-lock specification before doing initial
8108 fontification.
8109
8110 * font-core.el (font-lock-mode): Move the conditional from
8111 :after-hook to font-lock-initial-fontify.
8112 (font-lock-default-function): Move the check for a specification
8113 to font-lock-spec-present.
8114
dc9924b8 8115 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8116 (font-lock-spec-present): New function.
8117
4fd96557
JB
81182012-02-26 Jim Blandy <jimb@red-bean.com>
8119
8120 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8121 (gdb-send): Apply it to the operand of the '-interpreter-exec
8122 console' command, so that we can pass arguments with (say) quotes
8123 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8124
9a4888c0
CY
81252012-02-26 Chong Yidong <cyd@gnu.org>
8126
07498861
CY
8127 * help-fns.el (describe-function-1): Clarify description of
8128 remapping (Bug#10844).
8129
9a4888c0
CY
8130 * files.el (files-equal-p): Doc fix.
8131 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8132 and quit the loop once a mismatch is found.
8133
ea8fb88d
JB
81342012-02-25 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * bs.el (bs--show-with-configuration): Don't throw an error
8137 if the window cannot be split; otherwise, subsequent calls to
8138 bs-show fail, restoring a stale window config. (Bug#10882)
8139
525795c1
JD
81402012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8141
8142 * term/ns-win.el (global-map): Bind ns-drag-file to
8143 ns-find-file (Bug#5855, Bug#10050).
8144
f008086f
AS
81452012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * calendar/parse-time.el (parse-time-string): Allow extractor to
8148 return nil.
8149
a3fcfa99
MA
81502012-02-25 Michael Albinus <michael.albinus@gmx.de>
8151
91027d08
JB
8152 * net/tramp.el (tramp-file-name-for-operation):
8153 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8154
8155 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8156 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8157 Add COPY-CONTENTS argument.
a3fcfa99 8158
67b0de11
CY
81592012-02-25 Chong Yidong <cyd@gnu.org>
8160
8161 Add custom groups for VC backends, for consistency with vc-bzr.
8162
8163 * vc/vc-arch.el (vc-arch):
8164 * vc/vc-cvs.el (vc-cvs):
8165 * vc/vc-git.el (vc-git):
8166 * vc/vc-hg.el (vc-hg):
8167 * vc/vc-mtn.el (vc-mtn):
8168 * vc/vc-rcs.el (vc-rcs):
8169 * vc/vc-sccs.el (vc-sccs):
8170 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8171 All relevant defcustoms reassigned.
8172
3c9dfce6
CY
81732012-02-25 Chong Yidong <cyd@gnu.org>
8174
1339bf43
CY
8175 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8176
3c9dfce6
CY
8177 * term/x-win.el (x-initialize-window-system): Reduce default for
8178 x-selection-timeout to 5 seconds (Bug#8869).
8179
25b2e303 81802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8181
ec70a47d
GM
8182 * files.el (files-equal-p, file-subdir-of-p): New functions.
8183 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8184 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8185 * dired-aux.el (dired-copy-file-recursive): Same.
8186 (dired-create-files): Modify destination when source is equal to
8187 dest when copying files.
53a46cd0 8188 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8189
914260cd
MA
81902012-02-24 Michael Albinus <michael.albinus@gmx.de>
8191
8192 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8193 (Bug#10874)
8194
2cb228f7
AM
81952012-02-23 Alan Mackenzie <acm@muc.de>
8196
8197 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8198 parameter "after-hook:" to allow the expansion to run code after
8199 the execution of the mode hooks.
8200
8201 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8202 from font-lock-mode-internal.
2cb228f7 8203
91027d08 8204 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8205 :after-hook.
8206
8f0fde21
SM
82072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8208
3e88618b
SM
8209 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8210 (completion--cache-all-sorted-completions): New function.
8211 (completion-all-sorted-completions): Use it.
8212 (completion--do-completion, minibuffer-force-complete):
8213 Use it to re-instate the flush hook.
8214
8f0fde21
SM
8215 * icomplete.el (icomplete-completions): Replace last fix with a better
8216 one (bug#10850).
8217
8e911f6f
DG
82182012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8219
8220 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8221 when it might call us back infinitely (bug#10797).
8222
49fe4321
GM
82232012-02-23 Glenn Morris <rgm@gnu.org>
8224
8225 * minibuffer.el (completion-category-overrides): Doc fix.
8226
b291b572
SM
82272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8230 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8231
31a9ef2e
GM
82322012-02-23 Glenn Morris <rgm@gnu.org>
8233
5e6e6794 8234 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8235 (authors-obsolete-files-regexps, authors-ignored-files)
8236 (authors-ambiguous-files, authors-renamed-files-alist):
8237 Add more entries.
8238
0bd1e074
JL
82392012-02-23 Juri Linkov <juri@jurta.org>
8240
8241 * isearch.el (isearch-occur): Sync interactive spec with occur's
8242 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8243
b617673c
JL
8244 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8245
19e9789e
JL
82462012-02-22 Juri Linkov <juri@jurta.org>
8247
8248 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8249 (ucs-insert): Doc fix. Check for hex digits in the string.
8250 Don't display `nil' in the error message. (Bug#10857)
8251
f41ce09d
AM
82522012-02-22 Alan Mackenzie <acm@muc.de>
8253
7a71b18d 8254 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8255
ac2eceee
GM
82562012-02-22 Glenn Morris <rgm@gnu.org>
8257
8258 * ffap.el (ffap-c-path):
8259 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8260
abd1f678
CY
82612012-02-22 Chong Yidong <cyd@gnu.org>
8262
8263 * custom.el (load-theme): Doc fix.
8264
f25aef2e
GM
82652012-02-22 Glenn Morris <rgm@gnu.org>
8266
8267 * dired-x.el (dired-guess-shell-alist-default):
8268 Remove escape sequences from nroff output. (Bug#172)
8269
5f8dc2ca
GM
82702012-02-21 Glenn Morris <rgm@gnu.org>
8271
6ff86ec4
GM
8272 * vc/emerge.el (emerge-defvar-local):
8273 Set `permanent-local' property rather than unused `preserved'.
8274
be3223a3 8275 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8276 (picture-mode-map): Use it. (Bug#10860)
8277 (picture-mode): Doc fix.
8278
3fe58f4f
JB
82792012-02-21 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * newcomment.el (uncomment-region-default): Remove unused binding.
8282
f9a998c3
GM
82832012-02-21 Glenn Morris <rgm@gnu.org>
8284
8285 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8286 (picture-self-insert, picture-tab-chars): Doc fix.
8287 (picture-mode-map): Fix C-a, C-e.
8288
c6029348
GM
82892012-02-20 Glenn Morris <rgm@gnu.org>
8290
8291 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8292
ab1ce9d7
LL
82932012-02-20 Leo Liu <sdl.web@gmail.com>
8294
8295 * icomplete.el (icomplete-completions): Check FROM arg before
8296 passing to substring (Bug#10850).
8297
0fd40f89
CY
82982012-02-19 Chong Yidong <cyd@gnu.org>
8299
8300 * comint.el: Require ansi-color.
8301 (comint-output-filter-functions): Add ansi-color-process-output.
8302
8303 * ansi-color.el: Don't set comint-output-filter-functions; it is
8304 now in the initial value defined in comint.el.
8305 (ansi-color-apply-face-function): New variable.
8306 (ansi-color-apply-on-region): Use it.
8307 (ansi-color-apply-overlay-face): New function.
8308
8309 * shell.el (shell): No need to require ansi-color.
8310 (shell-mode): Use ansi-color-apply-face-function to highlight
8311 color escapes using font-lock-face property (Bug#10835).
8312
20af2394
CY
83132012-02-19 Chong Yidong <cyd@gnu.org>
8314
8315 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8316 mode-line formats (Bug#10839).
8317
e23a3fbe
GM
83182012-02-18 Glenn Morris <rgm@gnu.org>
8319
b474519e
GM
8320 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8321
8322 * mail/undigest.el (unforward-rmail-message): Doc fix.
8323
e23a3fbe
GM
8324 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8325
57939ff4
EZ
83262012-02-18 Eli Zaretskii <eliz@gnu.org>
8327
8328 * international/characters.el (script-list): Sync with the latest
8329 Unicode Character Database.
8330
0c23686e
AS
83312012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8332
8333 * international/titdic-cnv.el: Remove duplicate coding tag.
8334 * language/cham.el: Likewise.
8335 * language/tai-viet.el: Likewise.
8336
6818b449
GM
83372012-02-18 Glenn Morris <rgm@gnu.org>
8338
8339 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8340 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8341 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8342 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8343 * calendar/holidays.el (holiday-bahai-holidays)
8344 (calendar-holidays, list-holidays):
8345 Use utf-8 Bahá'í in doc-strings, menus, etc.
8346
0311a3fc
TH
83472012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8348
8349 * saveplace.el (save-place-ignore-files-regexp): New variable
8350 allowing for excluding files from saving their location of point.
8351 The default value matches the temporary commit message editing
8352 files from Git, SVN, Bazaar, and Mercurial.
8353 (save-place-to-alist): Use it.
8354
d209e2fb 83552012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8356 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8357
8358 * newcomment.el (uncomment-region-default): Don't leave extra space
8359 when an arg is provided (bug#8150).
8360
ee0ce425
TZ
83612012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8362
eb864a71 8363 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8364
95ddf442
GM
83652012-02-17 Glenn Morris <rgm@gnu.org>
8366
8367 * net/socks.el: Require network-stream. (Bug#10599)
8368
48dd1e39 83692012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8370
8371 * international/charprop.el:
8372 * international/uni-name.el:
8373 * international/uni-old-name.el:
8374 * international/uni-comment.el: Regenerate.
8375
d68cd087
GM
83762012-02-16 Glenn Morris <rgm@gnu.org>
8377
8378 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8379 Interactively in calendar buffer, give an error if not on a date.
8380
13932042
GM
83812012-02-15 Glenn Morris <rgm@gnu.org>
8382
8383 * shell.el (shell-delimiter-argument-list):
8384 Revert 2011-02-17 change. (Bug#8027)
8385
c3a70e2b
CY
83862012-02-15 Chong Yidong <cyd@gnu.org>
8387
60236b0d
CY
8388 * minibuffer.el (completion-at-point-functions): Doc fix.
8389
c3a70e2b
CY
8390 * custom.el (defcustom): Doc fix; note use of defvar.
8391
9f26dc24
GM
83922012-02-15 Glenn Morris <rgm@gnu.org>
8393
8394 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8395 Doc fixes.
8396
6546b134
GM
83972012-02-14 Glenn Morris <rgm@gnu.org>
8398
8399 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8400
d29b2b4c
LI
84012012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8402
8403 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8404 way the ports list is computed.
835bdcba
LI
8405 (smtpmail-query-smtp-server): Prompt the user for a port number if
8406 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8407
08dcdbc9
TZ
84082012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8409
8410 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8411
2605051a
GM
84122012-02-13 Glenn Morris <rgm@gnu.org>
8413
8414 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8415
7ee99f32
TZ
84162012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8417
8418 * net/gnutls.el (gnutls-trustfiles): New variable.
8419 (gnutls-negotiate): Use it.
8420
5f0af64f
LI
84212012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8422
8423 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8424 does its stuff if Gnus is running.
8425
c14fcc95
AM
84262012-02-13 Alan Mackenzie <acm@muc.de>
8427
8428 Fix a loop in c-set-fl-decl-start.
8429
7a71b18d 8430 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8431 c-backward-syntactic-ws actually moves backwards.
8432
142b4d90
LL
84332012-02-13 Leo Liu <sdl.web@gmail.com>
8434
8435 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8436 beginning so that all \C-o chars are removed.
8437
fa9958a6
TZ
84382012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8439
dc9924b8 8440 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8441
0bc5886a
AM
84422012-02-12 Alan Mackenzie <acm@muc.de>
8443
8444 Fix infinite loop with long macros.
4d6769e1 8445 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8446
d4bd55e7
CY
84472012-02-12 Chong Yidong <cyd@gnu.org>
8448
8449 * window.el (display-buffer): Doc fix (Bug#10785).
8450
66f3fe22
GM
84512012-02-12 Glenn Morris <rgm@gnu.org>
8452
bd7da63e
GM
8453 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8454 (x-disown-selection-internal, x-get-selection-internal):
8455 Sync docs with the xselect.c versions.
8456
66f3fe22
GM
8457 * allout-widgets.el: Add missing license notice.
8458
3e0d2fa7
GM
84592012-02-11 Glenn Morris <rgm@gnu.org>
8460
cfecdf09
GM
8461 * select.el (x-get-selection-internal, x-own-selection-internal)
8462 (x-disown-selection-internal):
8463 * x-dnd.el (x-get-selection-internal): Update declarations.
8464
6d216d7f
GM
8465 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8466
2bed3f04
GM
8467 * window.el (window-sides-slots):
8468 * tool-bar.el (tool-bar-position):
8469 * term/xterm.el (xterm-extra-capabilities):
8470 * ses.el (ses-self-reference-early-detection):
8471 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8472 (verilog-auto-wire-type)
8473 (verilog-auto-delete-trailing-whitespace)
8474 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8475 (verilog-auto-tieoff-declaration):
8476 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8477 (sql-oracle-statement-starters, sql-oracle-scan-on):
8478 * progmodes/prolog.el (prolog-align-comments-flag)
8479 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8480 (prolog-left-indent-regexp, prolog-paren-indent-p)
8481 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8482 (prolog-types, prolog-mode-specificators)
8483 (prolog-determinism-specificators, prolog-directives)
8484 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8485 (prolog-electric-dot-flag)
8486 (prolog-electric-dot-full-predicate-template)
8487 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8488 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8489 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8490 (prolog-program-switches, prolog-prompt-regexp)
8491 (prolog-debug-on-string, prolog-debug-off-string)
8492 (prolog-trace-on-string, prolog-trace-off-string)
8493 (prolog-zip-on-string, prolog-zip-off-string)
8494 (prolog-use-standard-consult-compile-method-flag)
8495 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8496 (prolog-imenu-max-lines, prolog-info-predicate-index)
8497 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8498 (prolog-char-quote-workaround):
8499 * progmodes/cc-vars.el (c-defun-tactic):
8500 * net/tramp.el (tramp-encoding-command-interactive)
8501 (tramp-local-end-of-line):
8502 * net/soap-client.el (soap-client):
8503 * net/netrc.el (netrc-file):
8504 * net/gnutls.el (gnutls):
8505 * minibuffer.el (completion-category-overrides)
8506 (completion-cycle-threshold)
8507 (completion-pcm-complete-word-inserts-delimiters):
8508 * man.el (Man-name-local-regexp):
8509 * mail/feedmail.el (feedmail-display-full-frame):
8510 * international/characters.el (glyphless-char-display-control):
8511 * eshell/em-ls.el (eshell-ls-date-format):
8512 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8513 (lisp-lambda-list-keyword-parameter-indentation)
8514 (lisp-lambda-list-keyword-parameter-alignment):
8515 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8516 * dired-x.el (dired-omit-verbose):
8517 * cus-theme.el (custom-theme-allow-multiple-selections):
8518 * calc/calc.el (calc-highlight-selections-with-faces)
8519 (calc-lu-field-reference, calc-lu-power-reference)
8520 (calc-note-threshold):
8521 * battery.el (battery-mode-line-limit):
8522 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8523 (archive-7z-update):
8524 * allout.el (allout-prefixed-keybindings)
8525 (allout-unprefixed-keybindings)
8526 (allout-inhibit-auto-fill-on-headline)
8527 (allout-flattened-numbering-abbreviation):
8528 * allout-widgets.el (allout-widgets-auto-activation)
8529 (allout-widgets-icons-dark-subdir)
8530 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8531 (allout-widgets-theme-dark-background)
8532 (allout-widgets-theme-light-background)
8533 (allout-widgets-item-image-properties-emacs)
8534 (allout-widgets-item-image-properties-xemacs)
8535 (allout-widgets-run-unit-tests-on-load)
8536 (allout-widgets-time-decoration-activity)
8537 (allout-widgets-hook-error-post-time)
8538 (allout-widgets-track-decoration):
8539 Add missing :version tags to new defcustoms and defgroups.
8540
5fec1b8e
GM
8541 * progmodes/sql.el (sql-ansi-statement-starters)
8542 (sql-oracle-statement-starters): Add custom type.
8543
3e0d2fa7
GM
8544 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8545 (prolog-system-version): Give it a type.
8546
90b671e2
EZ
85472012-02-11 Eli Zaretskii <eliz@gnu.org>
8548
8549 * term/pc-win.el (x-select-text, x-selection-owner-p)
8550 (x-own-selection-internal, x-disown-selection-internal)
8551 (x-get-selection-internal): Sync doc strings and argument lists
8552 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8553
5eac0c02
LL
85542012-02-11 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/python.el (python-end-of-statement): Fix infinite
8557 loop. (Bug#10788)
8558
f82cb659
GM
85592012-02-10 Glenn Morris <rgm@gnu.org>
8560
8561 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8562 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8563
cc26d239
LI
85642012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8565
8566 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8567 about SMTP before checking the From header.
8568
91027d08 8569 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8570 into own function for reuse by emacsbug.el.
8571
1be3ca5a
LL
85722012-02-10 Leo Liu <sdl.web@gmail.com>
8573
8574 * subr.el (condition-case-unless-debug): Rename from
8575 condition-case-no-debug. All callers changed.
8576 (with-demoted-errors): Fix caller.
8577
8578 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8579 * nxml/rng-valid.el (rng-do-some-validation):
8580 * emacs-lisp/package.el (package-refresh-contents)
8581 (package-menu-execute):
8582 * desktop.el (desktop-create-buffer):
91027d08 8583 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8584
b011fbfe
GM
85852012-02-10 Glenn Morris <rgm@gnu.org>
8586
b2096d72
GM
8587 * textmodes/bibtex.el:
8588 Add missing :version tags for new/changed defcustoms.
8589
b011fbfe
GM
8590 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8591
4c7e65bf
LI
85922012-02-09 Lars Ingebrigtsen <larsi@rusty>
8593
8594 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8595 (smtpmail-via-smtp): Use it, or fall back on the From address.
8596 (smtpmail-send-it): Ditto.
8597
f3934f6f
SM
85982012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8601 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8602 (byte-compile-tmp-var): New const.
8603 (byte-compile-defvar): Use it to minimize .elc size.
8604 Just use `defvar' rather than simulate it (bug#10761).
8605
a075a2c5
GM
86062012-02-09 Glenn Morris <rgm@gnu.org>
8607
cf3aa21b
GM
8608 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8609
354998cd
GM
8610 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8611 Add :version tags.
8612
dc9924b8
SM
8613 * progmodes/compile.el (compilation-error-screen-columns)
8614 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8615
dab3703d
GM
8616 * vc/log-view.el (log-view-toggle-entry-display):
8617 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8618
3f88cd72
GM
8619 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8620 (report-emacs-bug-can-use-xdg-email):
8621 (report-emacs-bug-insert-to-mailer): Doc fixes.
8622 (report-emacs-bug): Message fix.
8623
d95b247d
GM
8624 * net/browse-url.el (browse-url-can-use-xdg-open)
8625 (browse-url-xdg-open): Doc fixes.
8626
a075a2c5
GM
8627 * electric.el (electric-indent-mode, electric-pair-mode)
8628 (electric-layout-rules, electric-layout-mode): Doc fixes.
8629 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8630
ffb6157e
MR
86312012-02-08 Martin Rudalics <rudalics@gmx.at>
8632
8633 * server.el (server-unselect-display): Don't inadvertently kill
8634 the current buffer. (Bug#10729)
8635
e1ac4066
GM
86362012-02-08 Glenn Morris <rgm@gnu.org>
8637
34e8a2da
GM
8638 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8639 (sql-list-table): Doc fixes.
8640
b4ac6e8c
GM
8641 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8642 Comment out (does nothing).
8643
e1ac4066
GM
8644 * completion.el (dynamic-completion-mode):
8645 * dirtrack.el (dirtrack-debug-mode):
8646 * electric.el (electric-layout-mode):
8647 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8648 * face-remap.el (text-scale-mode, buffer-face-mode):
8649 * iimage.el (iimage-mode):
8650 * image-mode.el (image-transform-mode):
8651 * minibuffer.el (completion-in-region-mode):
8652 * scroll-lock.el (scroll-lock-mode):
8653 * simple.el (next-error-follow-minor-mode):
8654 * tar-mode.el (tar-subfile-mode):
8655 * tooltip.el (tooltip-mode):
8656 * vcursor.el (vcursor-use-vcursor-map):
8657 * wid-browse.el (widget-minor-mode):
8658 * emulation/tpu-edt.el (tpu-edt-mode):
8659 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8660 * international/iso-ascii.el (iso-ascii-mode):
8661 * language/thai-util.el (thai-word-mode):
8662 * mail/supercite.el (sc-minor-mode):
8663 * net/goto-addr.el (goto-address-mode):
8664 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8665 * progmodes/cwarn.el (cwarn-mode):
8666 * progmodes/flymake.el (flymake-mode):
8667 * progmodes/glasses.el (glasses-mode):
8668 * progmodes/hideshow.el (hs-minor-mode):
8669 * progmodes/pascal.el (pascal-outline-mode):
8670 * textmodes/enriched.el (enriched-mode):
8671 * vc/smerge-mode.el (smerge-mode):
8672 Doc fixes (minor mode argument).
8673
5e0d957f
EZ
86742012-02-07 Eli Zaretskii <eliz@gnu.org>
8675
8676 * ls-lisp.el (ls-lisp-sanitize): New function.
8677 (ls-lisp-insert-directory): Use it to fix or remove any elements
8678 in file-alist with missing attributes. (Bug#4673)
8679
98d7371e
AM
86802012-02-07 Alan Mackenzie <acm@muc.de>
8681
8682 Fix spurious recognition of c-in-knr-argdecl.
8683
8684 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8685 putative K&R region.
8686
667ced3a
AM
86872012-02-07 Alan Mackenzie <acm@muc.de>
8688
eb864a71
LM
8689 * progmodes/cc-engine.el (c-forward-objc-directive):
8690 Prevent looping in "#pragma mark @implementation".
667ced3a 8691
5b77774d
MA
86922012-02-07 Michael Albinus <michael.albinus@gmx.de>
8693
8694 * notifications.el (notifications-on-closed-signal): Make `reason'
8695 optional. (Bug#10744)
8696
af008560
GM
86972012-02-07 Glenn Morris <rgm@gnu.org>
8698
60d47423
GM
8699 * emacs-lisp/easy-mmode.el (define-minor-mode):
8700 Doc fixes for the macro and the mode it defines.
8701
dd605cc4
GM
8702 * image.el (imagemagick-types-inhibit): Doc fix.
8703
af008560
GM
8704 * cus-start.el (imagemagick-render-type): Add it.
8705
5cc59a37
LI
87062012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8707
4d6769e1
JB
8708 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8709 Set the default at load time, too, so that `font-lock-fontify-buffer'
8710 can be called without setting up the entire mode first. This fixes
8711 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8712
9a6dd747
CY
87132012-02-06 Chong Yidong <cyd@gnu.org>
8714
2d16b285
CY
8715 * simple.el (list-processes--refresh): Delete exited processes
8716 (Bug#8094).
8717
171e9b6e
CY
8718 * comint.el (comint-next-prompt): next-single-char-property-change
8719 and prev-single-char-property-change never return nil (Bug#8657).
8720
9a6dd747
CY
8721 * custom.el (defcustom): Doc fix (Bug#9711).
8722
aa4589a7
CY
87232012-02-05 Chong Yidong <cyd@gnu.org>
8724
5c2a252f
CY
8725 * cus-edit.el (custom-variable-reset-backup): Quote the value
8726 before storing it in the customized-value property (Bug#6712).
4aab9006 8727 (custom-display): Add a customization type tag.
983b9602 8728 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8729
aa4589a7
CY
8730 * wid-edit.el (widget-field-value-get): New optional arg to
8731 suppress trailing whitespace truncation.
8732 (character): Use it (Bug#2689).
8733
1ff980ae
AS
87342012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8737 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8738
03988c98
CY
87392012-02-05 Chong Yidong <cyd@gnu.org>
8740
eeb6cc88
CY
8741 * cus-edit.el (custom-variable-value-create): For mismatched
8742 types, show the current value (Bug#7600).
8743
03988c98
CY
8744 * custom.el (defcustom): Doc fix.
8745
f8cdeef0
GM
87462012-02-05 Glenn Morris <rgm@gnu.org>
8747
8748 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8749
0696d255
JB
87502012-02-05 Juanma Barranquero <lekktu@gmail.com>
8751
8752 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8753 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8754 (pp-last-sexp): Use `looking-at-p'.
8755
34c99998
GM
87562012-02-04 Glenn Morris <rgm@gnu.org>
8757
8f05da42
GM
8758 * files.el (revert-buffer):
8759 Doc fix (mention revert-buffer-in-progress-p).
8760
f160676e
GM
8761 * emacs-lisp/ert-x.el (ert-simulate-command):
8762 Check deferred-action-list (which is obsolete) is bound.
8763
c7291ad9
GM
8764 * subr.el (with-wrapper-hook): Doc fixes.
8765
34c99998
GM
8766 * simple.el (filter-buffer-substring-functions)
8767 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8768
6283a7d3
LL
87692012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8770
8771 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8772 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8773
e96e3013
LL
87742012-02-04 Leo Liu <sdl.web@gmail.com>
8775
8776 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8777
8ded50f2
GM
87782012-02-04 Glenn Morris <rgm@gnu.org>
8779
82ff1d13
GM
8780 * image.el (image-extension-data): Add obsolete alias.
8781
987a0a16
GM
8782 * isearch.el (isearch-update): Doc fix.
8783
ea32ef46
GM
8784 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8785
8ded50f2
GM
8786 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8787
eea14f31
GM
87882012-02-03 Glenn Morris <rgm@gnu.org>
8789
8790 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8791 (image-animate-timeout): Doc fix.
8792
8793 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8794
12f381b7
GM
87952012-02-02 Glenn Morris <rgm@gnu.org>
8796
953cebf5
GM
8797 * server.el (server-auth-dir): Doc fix.
8798 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8799
12f381b7
GM
8800 * subr.el (run-mode-hooks): Doc fix.
8801
953a8c3b
JL
88022012-02-02 Juri Linkov <juri@jurta.org>
8803
8804 * image-mode.el (image-toggle-display-image): Remove tautological
8805 `major-mode' from the `derived-mode-p' test.
8806
c5d3843c
KH
88072012-02-02 Kenichi Handa <handa@m17n.org>
8808
9f6e692e 8809 * composite.el (compose-region): Cancel previous change.
c5d3843c 8810
159462d4 88112012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8812
8813 * composite.el (compose-region, compose-string): Signal error for
8814 a null string component (Bug#6988).
8815
9f562668
CY
88162012-02-01 Chong Yidong <cyd@gnu.org>
8817
e2cef717
CY
8818 * view.el (view-buffer-other-window, view-buffer-other-frame):
8819 Handle special modes like view-buffer (Bug#10650).
8820 (view-buffer): Simplify.
8821
9f562668
CY
8822 * frame.el (set-frame-font): Tweak meaning of third argument.
8823
9f6e692e
JB
8824 * dynamic-setting.el (font-setting-change-default-font):
8825 Use set-frame-font (Bug#9982).
9f562668 8826
781acb9f
GM
88272012-02-01 Glenn Morris <rgm@gnu.org>
8828
6035be52
GM
8829 * progmodes/compile.el (compilation-internal-error-properties):
8830 Respect compilation-first-column in the "*compilation*" buffer.
8831
781acb9f
GM
8832 * emacs-lisp/easy-mmode.el (define-minor-mode):
8833 Relax :variable's test for a named function.
8834
abbceb00
AM
88352012-01-31 Alan Mackenzie <acm@muc.de>
8836
8837 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8838 off by one error.
8839
fce3fdeb
CY
88402012-01-31 Chong Yidong <cyd@gnu.org>
8841
8842 * frame.el (set-frame-font): New arg ALL-FRAMES.
8843
8844 * menu-bar.el (menu-set-font): Use set-frame-font.
8845
8846 * faces.el (face-spec-reset-face): Don't apply unspecified
8847 attribute values to the default face.
8848
47893581
JB
88492012-01-31 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * progmodes/cwarn.el (cwarn): Remove dead link.
8852 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8853 Remove * from defcustom docstrings.
8854 (turn-on-cwarn-mode): Make obsolete.
8855 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8856 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8857
e58e988a
GM
88582012-01-31 Glenn Morris <rgm@gnu.org>
8859
60dc2671 8860 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8861 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8862 Allow named functions to be used as the cdr of :variable.
e58e988a 8863
7a3f511d
GM
88642012-01-30 Glenn Morris <rgm@gnu.org>
8865
8866 * emacs-lisp/authors.el (authors-fixed-entries):
8867 Remove reference to deleted file rnewspost.el.
8868
cb882333
JB
88692012-01-29 Juanma Barranquero <lekktu@gmail.com>
8870
8871 * window.el (window-with-parameter): Remove unused variable `windows'.
8872 (window--side-check): Remove unused variable `code'.
8873 (window--resize-siblings): Remove unused variable `first'.
8874 (adjust-window-trailing-edge): Remove unused variable `failed'.
8875 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8876 Use `let', not `let*'.
8877 (balance-windows-2): Remove unused variable `found'.
8878 (window--state-put-2): Remove unused variable `splits'.
8879 (window-state-put): Remove unused variable `selected'.
8880 (same-window-p): Use `string-match-p'.
8881 (display-buffer-assq-regexp): Remove unused variable `value'.
8882 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8883 Mark argument ALIST as ignored.
8884 (pop-to-buffer): Remove unused variable `old-window'.
8885
907201af
EZ
88862012-01-29 Eli Zaretskii <eliz@gnu.org>
8887
8888 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8889 and .lzma compressed files.
8890
ea162670
CY
88912012-01-29 Chong Yidong <cyd@gnu.org>
8892
5b95ee8a
CY
8893 * frame.el (window-system-default-frame-alist): Doc fix.
8894
ea162670
CY
8895 * dynamic-setting.el (font-setting-change-default-font): Don't
8896 change the default face if SET-FONT argument is non-nil (Bug#9982).
8897
d6e6f4b1
SB
88982012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8899
8900 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8901
0f29fa41 89022012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8903
8904 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8905 breakpoints in files outside current directory (Bug#6098).
8906
db174434
CY
89072012-01-29 Chong Yidong <cyd@gnu.org>
8908
6b25e4e2
SE
8909 * progmodes/python.el: Require ansi-color at top-level.
8910
6df6ae42
JB
8911 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8912 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8913 (lisp-mode-abbrev-table): Add doc.
8914 (lisp-mode-variables): Don't set local-abbrev-table.
8915 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8916
e70ee681
RW
89172012-01-28 Roland Winkler <winkler@gnu.org>
8918
8919 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8920
ace88aa2
RW
89212012-01-28 Roland Winkler <winkler@gnu.org>
8922
8923 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8924 (bibtex-set-dialect): Use it. Either set global values of
8925 dialect-dependent variables or bind these variables buffer-locally
8926 (Bug#10254).
8927 (bibtex-mode): Call bibtex-set-dialect via
8928 hack-local-variables-hook.
eb864a71
LM
8929 (bibtex-dialect): Update docstring.
8930 Add safe-local-variable predicate.
ace88aa2
RW
8931 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8932 bibtex-set-dialect.
8933 (bibtex-mode-map): Define menu for each dialect.
8934 (bibtex-entry): Fix docstring.
8935
93376c5b
CY
89362012-01-28 Chong Yidong <cyd@gnu.org>
8937
8938 * eshell/esh-arg.el (eshell-quote-argument): New function.
8939
8940 * eshell/esh-ext.el (eshell-invoke-batch-file):
8941 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8942 first arg to eshell-parse-command (Bug#10523).
8943
4372494f
DA
89442012-01-28 Drew Adams <drew.adams@oracle.com>
8945
8946 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8947 `default-directory' is non-nil.
8948
4d4ec1f8
EZ
89492012-01-28 Eli Zaretskii <eliz@gnu.org>
8950
8951 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8952 line that displays system-configuration-options. (Bug#9924)
8953
7c188927
DA
89542012-01-28 Drew Adams <drew.adams@oracle.com>
8955
8956 * descr-text.el (describe-char): Show information about POS, in
8957 addition to information about the character at POS. Improve and
8958 update the doc string. Change "code point" to "code point in
8959 charset", to avoid confusion with the character's Unicode code
8960 point shown above that. (Bug#10129)
8961
e0da685a
EZ
89622012-01-28 Eli Zaretskii <eliz@gnu.org>
8963
8964 * descr-text.el (describe-char): Show the raw character, not only
8965 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8966 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8967 for the reasons.
8968
70550acf
PH
89692012-01-28 Phil Hagelberg <phil@hagelb.org>
8970
eb864a71
LM
8971 * emacs-lisp/package.el (package-install):
8972 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8973
0ce8e868
CY
89742012-01-28 Chong Yidong <cyd@gnu.org>
8975
cb882333
JB
8976 * emacs-lisp/package.el (package-maybe-load-descriptor):
8977 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8978 (package-maybe-load-descriptor): Use it.
8979 (package-download-transaction): Fully load required packages
8980 inside the loop, so that `require' calls work (Bug#10593).
8981 (package-install): No need to call package-initialize now.
8982
2e7f3bea
CY
89832012-01-28 Chong Yidong <cyd@gnu.org>
8984
6e9bad14
CY
8985 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8986
f823b8ca
CY
8987 * tooltip.el (tooltip-mode): Doc fix.
8988 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8989
2680c309
CY
8990 * frame.el (set-cursor-color): Doc fix (Bug#352).
8991
d7a9e63b
CY
8992 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8993 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8994
2e7f3bea
CY
8995 * cus-edit.el (custom-buffer-create-internal): Fix search button
8996 action (Bug#10542).
2ae01800 8997 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8998
fc4f7a23
EW
89992012-01-27 Eduard Wiebe <usenet@pusto.de>
9000
9001 * dired.el (dired-mark-files-regexp):
9002 Include any subdirectory components. (Bug#10445)
9003
7dd37071
ML
90042012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9005
9006 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9007 Handle [host]:port syntax. (Bug#10533)
9008
a268160b
AH
90092012-01-27 Alex Harsanyi <harsanyi@mac.com>
9010
9011 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9012
e43273ef
GM
90132012-01-26 Glenn Morris <rgm@gnu.org>
9014
9015 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9016 * term.el (term-raw-escape-map): Use Control-X-prefix.
9017 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9018
1edf595d
MR
90192012-01-25 Martin Rudalics <rudalics@gmx.at>
9020
9021 * window.el (window-state-get, window--state-get-1): Don't deal
9022 with fixed-sizeness of windows. Simplify code.
9023
fa8eafef
JC
90242012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9025
6df6ae42
JB
9026 * window.el (window--state-get-1, window--state-put-2):
9027 Don't save and restore the mark.
fa8eafef 9028
0b21c100
CY
90292012-01-25 Chong Yidong <cyd@gnu.org>
9030
9031 * custom.el (custom-variable-p): Doc fix.
9032
5ae1a6c8
GM
90332012-01-25 Glenn Morris <rgm@gnu.org>
9034
40047858
GM
9035 * dired.el (dired-goto-file): Handle some of the more common
9036 characters that `ls -b' escapes. (Bug#10596)
9037
5ddce96c
GM
9038 * progmodes/compile.el (compilation-next-error-function):
9039 Respect compilation-first-column in the "*compilation*" buffer.
9040 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9041
5ae1a6c8
GM
9042 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9043
b559f1a9
GM
90442012-01-24 Glenn Morris <rgm@gnu.org>
9045
9046 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9047
6725d21a
JD
90482012-01-24 Julien Danjou <julien@danjou.info>
9049
9050 * color.el (color-rgb-to-hsl): Fix value computing.
9051 (color-hue-to-rgb): New function.
9052 (color-hsl-to-rgb): New function.
9053 (color-clamp, color-saturate-hsl, color-saturate-name)
9054 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9055 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9056
70df4bbe
GM
90572012-01-24 Glenn Morris <rgm@gnu.org>
9058
9059 * vc/vc-rcs.el (vc-rcs-create-tag):
9060 * vc/vc-sccs.el (vc-sccs-create-tag):
9061 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9062
802a2ae2
ML
90632012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9064
9065 * eshell/esh-util.el (eshell-read-hosts-file):
9066 Skip comment lines. (Bug#10549)
9067
d7128bb1
ML
9068 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9069
d1a5c3b4
JB
90702012-01-23 Juanma Barranquero <lekktu@gmail.com>
9071
2724d9c7
JB
9072 * subr.el (display-delayed-warnings): Doc fix.
9073 (collapse-delayed-warnings): New function to collapse identical
9074 adjacent warnings.
9075 (delayed-warnings-hook): Add it.
d1a5c3b4 9076
a5509865
MA
90772012-01-22 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9080
a5509865
MA
9081 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9082 (tramp-default-user-alist): Don't add "pscp".
9083 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9084 property "login-as", if set. (Bug#10530)
9085
cc6d5805
MA
90862012-01-21 Michael Albinus <michael.albinus@gmx.de>
9087
9088 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9089 "plink1" and "psftp". (Bug#10530)
9090
90912012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9092
9093 * international/mule-cmds.el (prefer-coding-system): Show a
9094 warning message if the default value of file-name-coding-system
9095 was not changed.
9096
f0960428
JC
90972012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9098
cb882333
JB
9099 * windmove.el (windmove-reference-loc):
9100 Fix windmove-reference-loc miscalculation.
f0960428 9101
dd6f2a63
JB
91022012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9103
9104 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9105 default unit.
9106
7b447e9b
GM
91072012-01-21 Glenn Morris <rgm@gnu.org>
9108
117a9ea1
GM
9109 * international/mule.el (auto-coding-alist): Add .tbz.
9110
7b447e9b
GM
9111 * files.el (local-enable-local-variables): Doc fix.
9112 (inhibit-local-variables-regexps): Rename from
9113 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9114 Doc fix. Add some extensions from auto-coding-alist.
9115 (inhibit-local-variables-suffixes):
9116 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9117 (inhibit-local-variables-p):
9118 New function, extracted from set-auto-mode-1.
9119 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9120 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9121 (hack-local-variables): Doc fix. Make the mode-only case
9122 respect enable-local-variables and friends.
9123 Respect inhibit-local-variables-regexps for file-locals, but
9124 not for directory-locals.
9125 (set-visited-file-name):
9126 Take account of inhibit-local-variables-regexps.
9127 Whether it applies may change as the file name is changed.
9128 * jka-cmpr-hook.el (jka-compr-install):
9129 * jka-compr.el (jka-compr-uninstall):
9130 Update for inhibit-first-line-modes-suffixes name change.
9131
dd6e3cdd
MR
91322012-01-20 Martin Rudalics <rudalics@gmx.at>
9133
9134 * help-macro.el (make-help-screen): Temporarily restore original
9135 binding for minor-mode-map-alist (Bug#10454).
9136
0d0deb38
JD
91372012-01-19 Julien Danjou <julien@danjou.info>
9138
9139 * color.el (color-name-to-rgb): Use the white color to find the max
9140 color component value and return correctly computed values.
9141 (color-name-to-rgb): Add missing float conversion for max value.
9142
34a02f46
MR
91432012-01-19 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9146 special state value for window-persistent-parameters.
9147 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9148 (window--state-put-2): Reset all window parameters to nil before
9149 assigning values of persistent parameters.
9150
606c44c4
AM
91512012-01-18 Alan Mackenzie <acm@muc.de>
9152
9153 Eliminate sluggishness and hangs in fontification of "semicolon
9154 deserts".
9155
cb882333
JB
9156 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9157 Change value 10000 -> 3000.
606c44c4
AM
9158 (c-state-safe-place): Reformulate so it doesn't stack up an
9159 infinite number of wrong entries in c-state-nonlit-pos-cache.
9160 (c-determine-limit-get-base, c-determine-limit): New functions to
9161 determine backward search limits disregarding literals.
9162 (c-find-decl-spots): Amend commenting.
9163 (c-cheap-inside-bracelist-p): New function which detects "={".
9164
9165 * progmodes/cc-fonts.el
9166 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9167 backward search.
9168 (c-font-lock-declarations): Fix an occurrence of point being
9169 undefined. Check additionally for point being in a bracelist or
9170 near a macro invocation without a semicolon so as to avoid a
9171 fruitless time consuming search for a declarator. Give a more
9172 precise search limit for declarators using the new
9173 c-determine-limit.
9174
f3860cea
GM
91752012-01-18 Glenn Morris <rgm@gnu.org>
9176
9177 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9178 (set-auto-mode): Doc fixes.
9179
1db03b16
GM
91802012-01-17 Glenn Morris <rgm@gnu.org>
9181
0e6038be
GM
9182 * isearch.el (search-nonincremental-instead): Fix doc typo.
9183
1db03b16
GM
9184 * dired.el (dired-insert-directory): Handle newlines in directory name.
9185 (dired-build-subdir-alist): Unescape newlines in directory name.
9186
4cb0aa75
MA
91872012-01-17 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9190 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9191 (tramp-action-terminal): Use it. (Bug#10530)
9192
1d00653d
SM
91932012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9196
6a6ee00d
MR
91972012-01-16 Martin Rudalics <rudalics@gmx.at>
9198
9199 * window.el (window-state-ignored-parameters): Remove variable.
9200 (window--state-get-1): Rename argument MARKERS to IGNORE.
9201 Handle persistent window parameters. Make copy of clone-of
9202 parameter only if requested. (Bug#10348)
9203 (window--state-put-2): Install a window parameter only if it has
9204 a non-nil value or an existing parameter shall be overwritten.
9205
97912def
MA
92062012-01-15 Michael Albinus <michael.albinus@gmx.de>
9207
9208 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9209
688070a5
EZ
92102012-01-14 Eli Zaretskii <eliz@gnu.org>
9211
9212 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9213 don't pass the (nil) value of `upnode' to string-match.
9214
301afadc
CY
92152012-01-14 Chong Yidong <cyd@gnu.org>
9216
9217 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9218 Fix values recognized by the cursorBlink resource.
301afadc 9219
9e5788aa
PE
92202012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9221
9222 * epg.el (epg--make-temp-file): Avoid permission race condition
9223 when running on old Emacs versions (bug#10403).
9224
3cdb7f5a
GM
92252012-01-14 Glenn Morris <rgm@gnu.org>
9226
9227 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9228
8c82b1b4
AM
92292012-01-13 Alan Mackenzie <acm@muc.de>
9230
9231 Fix filling for when filladapt mode is enabled.
9232
9233 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9234 c-mask-paragraph, pass in `fill-paragraph' rather than
9235 `fill-region-as-paragraph'. (This is a reversion of a previous
9236 change.)
eb864a71
LM
9237 * progmodes/cc-mode.el (c-basic-common-init):
9238 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9239
e517eda4
GM
92402012-01-13 Glenn Morris <rgm@gnu.org>
9241
1498536e
GM
9242 * dired.el (dired-switches-escape-p): New function.
9243 (dired-insert-directory): Use dired-switches-escape-p.
9244 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9245
e517eda4
GM
9246 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9247
328f984d
GM
92482012-01-12 Glenn Morris <rgm@gnu.org>
9249
9250 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9251 changes in adaptive-fill-regexp. (Bug#10276)
9252
2cc769a8
AM
92532012-01-11 Alan Mackenzie <acm@muc.de>
9254
9255 Fix Emacs bug #10463 - put `widen's around the critical spots.
9256
1d00653d 9257 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9258 widen around each invocation of c-state-pp-to-literal. Remove an
9259 unused let variable.
9260
e52c37fa
GM
92612012-01-11 Glenn Morris <rgm@gnu.org>
9262
9263 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9264 Doc fix.
e52c37fa 9265
96f8741e
CY
92662012-01-10 Chong Yidong <cyd@gnu.org>
9267
1d00653d
SM
9268 * net/network-stream.el (network-stream-open-starttls):
9269 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9270 response to the capability command.
9271
b09a806e
GM
92722012-01-10 Glenn Morris <rgm@gnu.org>
9273
9274 * mail/unrmail.el (unrmail): Tweak previous change.
9275
7655cb66
CY
92762012-01-09 Chong Yidong <cyd@gnu.org>
9277
9278 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9279
9d5a8f0b
AM
92802012-01-08 Alan Mackenzie <acm@muc.de>
9281
9282 Optimise font locking in long enum definitions.
9283
9284 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9285 arm to a cond form to handle enums.
9286 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9287 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9288
9a0115ab 92892012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9290
9291 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9292 (Bug#10401)
6bb72cbd 9293
f186bb95
LMI
92942012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
29232a68
LMI
9296 * faces.el (set-face-attribute): Clarify the meaning of the nil
9297 frame (bug#10294).
9298
4e5d086d
LMI
9299 * subr.el (with-selected-frame): Mention that the selected frame
9300 is restored (bug#9980).
9301
8e66aebe
LMI
9302 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9303 (bug#9759).
9304
cd394be1 9305 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9306 (password-read): Don't autoload unused function.
9307
adf4e762
JB
93082012-01-07 Juanma Barranquero <lekktu@gmail.com>
9309
9310 * progmodes/which-func.el (which-func-mode): Turn into a
9311 non-interactive function and mark as obsolete (bug#10428).
9312
89bd9ccd
CY
93132012-01-06 Chong Yidong <cyd@gnu.org>
9314
9315 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9316 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9317 functions, along with 1 and -1.
9318
4afee9d5
EZ
93192012-01-06 Eli Zaretskii <eliz@gnu.org>
9320
9321 * time.el (display-time-load-average)
9322 (display-time-default-load-average): Doc fixes. See the thread
9323 starting at
9324 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9325 for the details.
9326
536aea70
GM
93272012-01-06 Glenn Morris <rgm@gnu.org>
9328
665ae865
GM
9329 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9330 has no messages. (Bug#10377)
9331
c869783d
GM
9332 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9333 than Info-edit. (Bug#10385)
9334
2bb4227e
GM
9335 * time.el (display-time-load-average, display-time-next-load-average):
9336 Doc fixes.
9337
7d5944b9
GM
9338 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9339 local setting of buffer-read-only to the input buffer. (Bug#10419)
9340
536aea70
GM
9341 * calendar/calendar.el (calendar-mode):
9342 Locally set scroll-margin to 0. (Bug#10379)
9343
7dccca16
UM
93442012-01-06 Ulrich Mueller <ulm@gentoo.org>
9345
9346 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9347
afbb7930
GM
93482012-01-05 Glenn Morris <rgm@gnu.org>
9349
9350 * eshell/em-unix.el (diff-no-select): Autoload it.
9351 (eshell/diff): Use diff-no-select. (Bug#10420)
9352
04482335
CY
93532012-01-05 Chong Yidong <cyd@gnu.org>
9354
7baca3bc
CY
9355 * shell.el (shell-dynamic-complete-functions): Revert last change.
9356 (shell-command-completion-function): New function.
9357 (shell-completion-vars): Use it to implement
9358 shell-completion-execonly (Bug#10417).
9359
04482335
CY
9360 * custom.el (enable-theme): Don't set custom-safe-themes.
9361
1d00653d
SM
9362 * cus-theme.el (custom-theme-merge-theme):
9363 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9364
bb5aa5d6
MM
93652012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9366
9367 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9368 first prompt in `sql-interacive-mode'.
9369 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9370 keywords.
6df6ae42 9371 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9372 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9373 context of original buffer. Invoke `sql-login-hook'.
9374
a7183d7c
EZ
93752012-01-04 Eli Zaretskii <eliz@gnu.org>
9376
9377 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9378 letters in cite-prefix.
9379
a1eacd1e
LMI
93802012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9381
9382 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9383
787cdb34
CY
93842012-01-03 Chong Yidong <cyd@gnu.org>
9385
1d00653d
SM
9386 * shell.el (shell-dynamic-complete-functions):
9387 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9388 comint-filename-completion first (Bug#10417).
9389
30710442
RS
93902012-01-02 Richard Stallman <rms@gnu.org>
9391
9392 * battery.el (battery-status-function):
9393 Detect when to use battery-yeeloong-sysfs.
9394 (battery-echo-area-format): Add string for Yeeloong.
9395 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9396 (battery-yeeloong-sysfs): New function.
9397
f75bfc33
CY
93982012-01-02 Chong Yidong <cyd@gnu.org>
9399
9400 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9401 (dirtrack): Merge code for handling relative filenames in prompt
9402 from shell-dir-cookie-watcher.
9403 (dirtrack-debug-message): New arg to avoid excess format calls.
9404
9405 * shell.el (shell-dir-cookie-re): Variable deleted.
9406 (shell-dir-cookie-watcher): Function deleted.
9407 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9408 with dirtrack-mode.
9409
651e947e
EZ
94102012-01-01 Eli Zaretskii <eliz@gnu.org>
9411
1d00653d
SM
9412 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9413 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9414 libgnutls-26.dll.
9415
94d4c7dc
AS
94162011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9417
9418 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9419
8d43f3cd
EZ
94202011-12-31 Eli Zaretskii <eliz@gnu.org>
9421
9422 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9423 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9424
98c8795a
MA
94252011-12-29 Michael Albinus <michael.albinus@gmx.de>
9426
9427 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9428 also for alternative shells.
9429 (tramp-open-connection-setup-interactive-shell): Check, whether
9430 the shell is a busybox.
9431 (tramp-send-command): Don't suppress multiple prompts for
9432 busyboxes, it hurts.
9433
51281b32
CY
94342011-12-28 Chong Yidong <cyd@gnu.org>
9435
9436 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9437 (gdb-get-source-file): Move mode line update to
9438 gdb-get-source-file (Bug#10087).
9439
2170cb53
CY
94402011-12-25 Chong Yidong <cyd@gnu.org>
9441
9442 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9443 gud-gdb-marker-filter without taking it as an argument.
9444 (gud-gdb-run-command-fetch-lines): Caller changed.
9445 (gud-gdb-completion-function): New variable.
9446 (gud-gdb-completion-at-point): Use it.
9447 (gud-gdb-completions-1): Split from gud-gdb-completions.
9448
9449 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9450 function as separate arguments.
9451 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9452 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9453 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9454 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9455 (gdb-stopped, def-gdb-auto-update-trigger)
9456 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9457 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9458 Callers changed.
2170cb53
CY
9459 (gud-gdbmi-completions): New function.
9460 (gdb): Use it for generating the completion table.
9461
be8b11bb
AM
94622011-12-24 Alan Mackenzie <acm@muc.de>
9463
9464 Introduce a mechanism to widen the region used in context font
1d00653d 9465 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9466
1d00653d
SM
9467 * progmodes/cc-langs.el (c-before-font-lock-functions):
9468 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9469 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9470 functions to be run just before context (etc.) font locking.
9471
9472 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9473 New, functionality extracted from
be8b11bb 9474 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9475 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9476 (c-after-change): Set c-in-after-change-fontification.
9477 (c-set-fl-decl-start): Rejig its interface, so it can be called
9478 from both after-change and context fontifying.
b81d40f0
JB
9479 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9480 New functions.
9481 (c-standard-font-lock-fontify-region-function): New variable.
9482 (c-font-lock-fontify-region): New function.
be8b11bb 9483
341cf6ac
JL
94842011-12-24 Juri Linkov <juri@jurta.org>
9485
9486 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9487 (Bug#10348)
9488
bffcee0a
MA
94892011-12-23 Michael Albinus <michael.albinus@gmx.de>
9490
9491 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9492 existence of source file. (Bug#10325)
9493
cb5e207c
AM
94942011-12-23 Alan Mackenzie <acm@muc.de>
9495
9496 Fix unstable fontification inside templates.
9497
b81d40f0
JB
9498 * progmodes/cc-langs.el (c-before-font-lock-functions):
9499 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9500 additionally has c-set-fl-decl-start. The other languages (apart
9501 from AWK) have that as a single entry.
9502
b81d40f0
JB
9503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9504 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9505 c-set-fl-decl-start.
9506
b81d40f0
JB
9507 * progmodes/cc-mode.el (c-common-init, c-after-change):
9508 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9509 (c-set-fl-decl-start): New function, extracted from
9510 c-font-lock-enclosing-decls and enhanced.
9511
60ff536c
JB
95122011-12-23 Juanma Barranquero <lekktu@gmail.com>
9513
9514 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9515
1c4757d6
JL
95162011-12-22 Juri Linkov <juri@jurta.org>
9517
9518 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9519
d031f2c7
CY
95202011-12-22 Chong Yidong <cyd@gnu.org>
9521
9522 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9523
bace743a
DA
95242011-12-21 Drew Adams <drew.adams@oracle.com>
9525
9526 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9527
728a1f2b
JC
95282011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9529
9530 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9531
0d373f73
TZ
95322011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9533
fec0aaa4
TZ
9534 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9535 highlighting and support. Fix up comments for capitalization.
9536 (cfengine-mode-debug): New var.
9537 (cfengine3-mode): Change the modeline indicator to "CFE3".
9538 (cfengine3-font-lock-keywords): Improve defun highlighting.
9539 (cfengine2-actions): Rename from `cfengine-actions'.
9540 (cfengine2-font-lock-keywords): Rename from
9541 `cfengine-font-lock-keywords'.
9542 (cfengine2-imenu-expression): Rename from
9543 `cfengine-imenu-expression'.
9544 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9545 (cfengine2-beginning-of-defun): Rename from
9546 `cfengine-beginning-of-defun'.
9547 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9548 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9549 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9550 modeline indicator to "CFE2".
9551 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9552 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9553
bc86f573
CY
95542011-12-21 Chong Yidong <cyd@gnu.org>
9555
9556 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9557 filename argument.
9558
d45ba96b
MR
95592011-12-20 Martin Rudalics <rudalics@gmx.at>
9560
9561 * window.el (window-normalize-buffer-to-display): Remove.
9562 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9563
a6198c90
CY
95642011-12-19 Chong Yidong <cyd@gnu.org>
9565
9566 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9567 Don't signal an error in a predicate function; return non-nil.
9568 (vc-dir-mark-file): Move the error here.
9569 (vc-dir-mark-unmark): If acting on the region, keep going if one
9570 of the entries cannot be marked/unmarked.
9571 (vc-dir-mark-all-files): If current entry is a directory, mark
9572 only child files, as documented.
9573
34c5fb55
VB
95742011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9575
9576 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9577 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9578 addition.
9579
c803b2b7
JD
95802011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9581
9582 * term/ns-win.el (ns-get-selection-internal)
9583 (ns-store-selection-internal): Declare.
1154d12e
JB
9584 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9585 Declare as obsolete.
9586 (ns-get-pasteboard, ns-paste-secondary):
9587 Use ns-get-selection-internal.
9588 (ns-set-pasteboard, ns-copy-including-secondary):
9589 Use ns-store-selection-internal.
c803b2b7 9590
9cff91f8 95912011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9592
9593 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9594 (vc-deduce-fileset): Doc fix.
99a289d9 9595
f16c898a
AS
95962011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9597
9598 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9599
763237c4
SS
96002011-12-13 Sam Steingold <sds@gnu.org>
9601
9602 * man.el (Man-getpage-in-background): When running under a
9603 window-system, ignore $MANWIDTH and $COLUMNS.
9604
5fc1c122
KH
96052011-12-15 Kenichi Handa <handa@m17n.org>
9606
9607 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9608 (setup-ethiopic-environment-internal): Comment out key-binding for
9609 ethio-toggle-punctuation.
9610
13d49cbb
AM
96112011-12-13 Alan Mackenzie <acm@muc.de>
9612
898169a2
AM
9613 Add the switch statement to AWK Mode.
9614
7a71b18d 9615 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9616 "default" to the keywords regexp.
9617
7a71b18d 9618 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9619 expression as the rest.
1d00653d
SM
9620 (c-nonlabel-token-key): Allow string literals for AWK.
9621 Refactor for the other modes.
898169a2 9622
13d49cbb 9623 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9624 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9625 routines. Limit backward searching in c-font-lock-enclosing.decl.
9626
9627 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9628 pp-state and literal type in addition to the limits.
1d00653d 9629 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9630 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9631 (c-slow-in-literal, c-fast-in-literal): Remove.
9632 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9633
9634 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9635 being in a literal. Add a limit for backward searching.
9636
9637 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9638 c-slow-in-literal.
9639
15e0efc7
SM
96402011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9643
454592a6
MR
96442011-12-13 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (delete-other-windows): Use correct frame in call to
9647 window-with-parameter.
9648
87393f26
DP
96492011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9650
9651 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9652 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9653 (makefile-gmake-statements, makefile-makepp-statements):
9654 Use it and add new makepp keywords.
9655 (makefile-makepp-font-lock-keywords): Add new patterns.
9656 (makefile-match-function-end): Match new [...] and [[...]].
9657
11636b22
JB
96582011-12-11 Juanma Barranquero <lekktu@gmail.com>
9659
9660 * ses.el (ses-call-printer-return, ses-cell-property-get)
9661 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9662 (ses-create-cell-variable, ses-reset-header-string)
9663 (ses-cell-set-formula, ses-repair-cell-reference-all)
9664 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9665 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9666 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9667 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9668 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9669 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9670 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9671 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9672 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9673 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9674 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9675 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9676
cf018193
VB
96772011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9678
9679 * ses.el: The overall change is to add cell renaming, that is
9680 setting fancy names for cell symbols other than name matching
9681 "\\`[A-Z]+[0-9]+\\'" regexp .
9682 (ses-create-cell-variable): New defun.
9683 (ses-relocate-formula): Relocate formulas only for cells the
9684 symbols of which are not renamed, i.e. symbols whose names do not
9685 match regexp "\\`[A-Z]+[0-9]+\\'".
9686 (ses-relocate-all): Relocate values only for cells the symbols of
9687 which are not renamed.
9688 (ses-load): Create cells variables as the (ses-cell ...) are read,
9689 in order to check row col consistency with cell symbol name only
9690 for cells that are not renamed.
9691 (ses-replace-name-in-formula): New defun.
9692 (ses-rename-cell): New defun.
9693
ee957461
CY
96942011-12-11 Chong Yidong <cyd@gnu.org>
9695
9696 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9697 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9698
9a9e9ef0
MR
96992011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9700
9701 * window.el (other-window): Fix docstring.
9702
92a8eba5
EZ
97032011-12-10 Eli Zaretskii <eliz@gnu.org>
9704
9705 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9706 `from' or `to' address before taking its substring.
9707 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9708 encoded name is chopped in the middle of the encoded string, and
9709 thus displayed encoded.
9710
e152e577
JB
97112011-12-10 Juanma Barranquero <lekktu@gmail.com>
9712
9713 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9714
e5d84bfe
EZ
97152011-12-10 Eli Zaretskii <eliz@gnu.org>
9716
9717 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9718 to use texinfo-update-node and commands that call it if the
9719 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9720 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9721 (texinfo-all-menus-update, texinfo-master-menu)
9722 (texinfo-update-node, texinfo-every-node-update)
9723 (texinfo-multiple-files-update): Doc fix. Warn against updating
9724 all the @node lines.
9725 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9726 argument is numeric. Explain better in the doc string what the
9727 function really does.
9728 (texinfo-insert-master-menu-list): Improve the error message
9729 displayed if there's no menu in the Top node.
9730 (Bug#2975) See also this thread:
e5d84bfe
EZ
9731 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9732
1d84e9bb
MG
97332011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9734
9735 * speedbar.el (speedbar-supported-extension-expressions):
9736 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9737
382c953b
JB
97382011-12-09 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * printing.el (pr-mode-alist):
9741 * simple.el (filter-buffer-substring-functions)
9742 (completion-list-insert-choice-function):
9743 * window.el (window-with-parameter, window-atom-root)
9744 (window-sides-slots, window-size-fixed, window-min-delta)
9745 (window-max-delta, window--resize-mini-window)
9746 (window--resize-child-windows-normal, window-tree)
9747 (delete-other-windows, quit-window, split-window)
9748 (display-buffer-record-window, special-display-buffer-names)
9749 (special-display-regexps, special-display-popup-frame)
9750 (same-window-p, split-window-sensibly)
9751 (display-buffer-overriding-action, display-buffer-alist)
9752 (display-buffer-base-action, display-buffer, switch-to-buffer)
9753 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9754 (fit-window-to-buffer, recenter-positions)
9755 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9756 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9757 and remove unneeded backslashes in docstrings.
9758
39c9faef
SM
97592011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9760
98449af8
SM
9761 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9762
39c9faef
SM
9763 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9764 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9765 end in ".mk".
9766 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9767 when reading the makefile (bug#10116).
9768
86ed9fdc
SM
97692011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9772 (bug#10116).
9773
5580f89d
GM
97742011-12-06 Glenn Morris <rgm@gnu.org>
9775
9776 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9777
28d3917c
CY
97782011-12-06 Chong Yidong <cyd@gnu.org>
9779
9780 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9781
a98edce9
JB
97822011-12-06 Juanma Barranquero <lekktu@gmail.com>
9783
9784 * textmodes/table.el (table-shorten-cell): Fix typo.
9785
e65adfac
CG
97862011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9787
9788 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9789
71cc0b74
EZ
97902011-12-05 Eli Zaretskii <eliz@gnu.org>
9791
9792 * descr-text.el (describe-char): Fix display of strong
9793 right-to-left characters and directional embeddings and overrides.
9794
9795 * simple.el (what-cursor-position): Fix display of codepoints of
9796 strong right-to-left characters.
9797
315bc30d
CY
97982011-12-05 Chong Yidong <cyd@gnu.org>
9799
9800 * faces.el (read-color): Doc fix.
9801
58a70b94
GM
98022011-12-05 Glenn Morris <rgm@gnu.org>
9803
9804 * align.el (align--set-marker): Add doc-string.
9805 Don't try to move something that is not a marker. (Bug#10216)
9806
5158face
GM
98072011-12-04 Glenn Morris <rgm@gnu.org>
9808
9809 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9810 overly zealous deletion of trailing whitespace.
9811
520fca41
JB
98122011-12-04 Juanma Barranquero <lekktu@gmail.com>
9813
9814 * server.el (server-delete-client): On Windows, do not try to delete
9815 the only terminal.
9816 (server-process-filter): On Windows, treat requests for a tty frame as
9817 if they were for a GUI frame if the running server is in GUI mode.
9818
5e605a2e
GM
98192011-12-03 Glenn Morris <rgm@gnu.org>
9820
9821 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9822
5c3fe83f
SM
98232011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9824
6f5e57e7
SM
9825 * electric.el: Streamline electric-indent's hook.
9826 (electric-indent-chars): Revert to simple list.
9827 (electric-indent-functions): New var.
9828 (electric-indent-post-self-insert-function): Use it.
9829
5c3fe83f
SM
9830 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9831 there's no inferior buffer (bug#10196).
9832 (prolog-consult-compile): Don't use toggle-read-only.
9833
6bdac736
MA
98342011-12-02 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9837 interrupt. (Bug#10187)
9838
6131ba7f
SM
98392011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9840
99c79fee
SM
9841 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9842 (bug#9160).
9843
6131ba7f
SM
9844 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9845 (bug#10191).
9846
cb0a02ea
JL
98472011-12-02 Juri Linkov <juri@jurta.org>
9848
9849 * info.el (Info-search): Display "end of manual" when Isearch
9850 reaches the end of single-file Info manual. (Bug#9918)
9851
66e0570c
EZ
98522011-12-02 Eli Zaretskii <eliz@gnu.org>
9853
9854 * isearch.el (isearch-message-prefix): Run the input method part
9855 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9856
02b16839
JL
98572011-12-02 Juri Linkov <juri@jurta.org>
9858
9859 * isearch.el (isearch-occur): Use `word-search-regexp' for
9860 `isearch-word'.
9861 (isearch-search-and-update): Add condition for `isearch-word' and
9862 call `word-search-regexp'. (Bug#10145)
9863
0b950688
GM
98642011-12-01 Glenn Morris <rgm@gnu.org>
9865
9866 * eshell/em-hist.el (eshell-hist-initialize):
9867 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9868 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9869
9505c3c7
SM
98702011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9873
1bbe96b2 98742011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9875
a1beca85
SM
9876 * progmodes/verilog-mode.el (verilog-pretty-expr):
9877 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9878 verilog, such as += *= and the like.
9879 (verilog-assignment-operator-re): Regular expression to find the
9880 assigment operator in a verilog assignment.
9881 (verilog-assignment-operation-re): Regular expression to find an
9882 assignment statement for pretty-expr.
9883 (verilog-in-attribute-p): Query returns true if point is in an
9884 attribute context; used to skip these for expression line up from
9885 pretty-expr.
9886 (verilog-in-parameter-p): Query returns true if point is in an
9887 parameter definition context; used to skip these for expression
9888 line up from pretty-expr.
9889 (verilog-in-parenthesis-p): Query returns true if point is in a
9890 parenthetical expression, specifically ( ) but not [ ] or { };
9891 used by pretty-expr.
9892 (verilog-just-one-space): If there is no space, don't add one.
9893 (verilog-get-lineup-indent-2): Specifically skip just attribute
9894 contexts for expression lineup, rather than skipping all
9895 parenthetical expressions.
9896 (verilog-calculate-indent): Fix comment, and fix indent.
9897 (verilog-do-indent): Indent declarations in lists (suggested by
9898 Joachim Lechner).
9899 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9900 skeleton items.
9901 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9902 by Alain Mellan).
9903
1bbe96b2 99042011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9905
9906 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9907 parameters with embedded comments. Reported by Ray Stevens.
9908 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9909 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9910 Reported by Tim Holt.
9911 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9912 instantiated by upper module causing wrong expansion until AUTOed a
9913 second time. Reported by K C Buckenmaier.
9914 (verilog-diff-auto): Fix showing .* as a difference when
9915 `verilog-auto-star-save' off. Reported by Dan Dever.
9916 (verilog-auto-reset, verilog-read-always-signals)
9917 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9918 temporary signals in reset list if
9919 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9920 style to each signal's assignment type, bug381.
9921 Reported by Thomas Esposito.
6288f0ca
WS
9922 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9923 (verilog-uvm-statement-re): Support UVM indentation and
9924 highlighting, with old OVM keywords only.
a1beca85 9925 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9926 Support AUTOTIEOFF creating non-wire data types.
9927 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9928 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9929 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9930 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9931 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9932 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9933 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9934 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9935 non-numeric vector width. Reported by Alex Reed.
9936 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9937 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9938 (verilog-auto-delete-trailing-whitespace):
9939 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9940 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9941 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9942 Fix verilog-scan-cache corruption when running user AUTO expansion
9943 hooks that call indentation routines.
9944 (verilog-simplify-range-expression): Fix typo ignoring lower case
9945 identifiers.
9946 (verilog-delete-auto): Fix delete-autos to also remove user created
9947 automatics, as long as they start with AUTO.
9948 (verilog-batch-diff-auto, verilog-diff-auto)
9949 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9950 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9951 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9952 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9953 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9954 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9955 is disabled and its cache will get corrupt, causing AUTOS not to
9956 expand. Instead use only -quick functions.
9957 (verilog-scan-region): Fix scanning over escaped quotes.
9958 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9959 (verilog-re-search-backward-quick)
9960 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9961 related functions now ignore strings, to fix misparsing of strings
9962 with magic comments embedded in them.
a1beca85
SM
9963 (verilog-read-auto-template):
9964 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9965 Reported by Brad Dobbie.
9966 (verilog-read-auto-template):
9967 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9968 Reported by Brad Dobbie.
6288f0ca
WS
9969 (verilog-auto-inst, verilog-auto-inst-param)
9970 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9971 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9972 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9973 debugging templates without merge conflicts, bug357.
9974 Reported by Brad Dobbie.
9975 (verilog-read-auto-template):
9976 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9977 Reported by Brad Dobbie.
9978 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9979 abbrevs so user won't be asked to save.
9980 (verilog-read-auto-lisp-present): Fix to start at beginning of
9981 buffer in case called outside of verilog-auto.
9982 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9983 to "X-2". Reported by Matthew Myers.
9984 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9985 all inputs from module templates. Reported by Leith Johnson.
9986 (verilog-module-inside-filename-p): Fix locating programs as with
9987 modules.
9988 (verilog-auto-inst-port): Fix vl-width expressions when using
9989 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9990 (verilog-decls-get-regs, verilog-decls-get-signals,
9991 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9992 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9993 verilog-read-decls): Combine reg and wire structures into one var
9994 structure to represent SystemVerilog concepts.
9995 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9996 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9997 (verilog-auto-wire-type, verilog-insert-definition):
9998 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9999 SystemVerilog "logic" keyword instead of "wire"/"reg".
10000 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10001 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10002 ifdef or generate if so there's not a driver conflict).
10003 Reported by Matthew Myers.
10004 (verilog-auto-declare-nettype, verilog-insert-definition):
10005 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10006 `default_nettype none. Reported by Julian Gorfajn.
10007 (verilog-read-always-signals-recurse, verilog-read-decls)
10008 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10009 malformed end statement, bug325. Reported by Joshua Wise and
10010 Andrew Drake.
10011 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10012 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10013 when expanding .* in interfaces, bug320.
10014 Reported by Pierre-David Pfister.
6288f0ca 10015 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10016 name and open parenthesis, bug317.
10017 Reported by Pierre-David Pfister.
6288f0ca
WS
10018 (verilog-simplify-range-expression): Fix simplification of
10019 multiplications inside AUTOWIRE connections, bug303.
10020 (verilog-auto-inst-port): Support parameter expansion in
10021 multidimensional arrays.
10022 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10023 after "assert property". Reported by Julian Gorfajn.
10024 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10025 with multiplication, bug303.
10026 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10027 Reported by Jan Frode Lonnum.
10028
1bbe96b2
GM
100292011-11-30 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10032 (hfy-shell-file-name, hfy-shell):
10033 * international/fontset.el (x-decompose-font-name): Fix typos.
10034
100352011-11-29 Ken Brown <kbrown@cornell.edu>
10036
10037 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10038 (gdb-version): Remove defvar.
10039 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10040 (gdb-gud-context-command, gdb-non-stop-handler)
10041 (gdb-current-context-command, gdb-stopped): Use it.
10042 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10043 (gdb-non-stop-handler): Don't enable pretty-printing here.
10044 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10045 non-stop mode. Use the following.
10046 (gdb-check-target-async): New defun.
10047 (gud-watch, gdb-stopped): Fix whitespace.
10048 (gdb-get-source-file): Don't try to display the source file if
10049 `gdb-main-file' is nil.
10050
100512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * align.el: Try to generate fewer markers (bug#10047).
10054 (align--set-marker): New macro.
10055 (align-region): Use it.
10056
c935221f
SM
100572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10060
e70b5064
CY
100612011-11-29 Chong Yidong <cyd@gnu.org>
10062
10063 * indent.el (indent-for-tab-command, indent-according-to-mode):
10064 Doc fix.
10065 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10066
f3af92b7
MA
100672011-11-29 Michael Albinus <michael.albinus@gmx.de>
10068
10069 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10070 aware of remote file names. (Bug#10124)
10071
ed472be9
CY
100722011-11-29 Chong Yidong <cyd@gnu.org>
10073
10074 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10075
24510c22
SM
100762011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * files.el (find-file): Don't use force-same-window (bug#10144).
10079 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10080 use pop-to-buffer if the selected window can't be used.
10081 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10082
c60c3703
EZ
100832011-11-28 Eli Zaretskii <eliz@gnu.org>
10084
10085 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10086 special-mode-map.
10087
e95def75
CY
100882011-11-28 Chong Yidong <cyd@gnu.org>
10089
10090 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10091
c3f1c606
NR
100922011-11-27 Nick Roberts <nickrob@snap.net.nz>
10093
10094 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10095 gdb-get-source-file-list on gdb-create-source-file-list.
10096
00db469c
EZ
100972011-11-26 Eli Zaretskii <eliz@gnu.org>
10098
10099 * whitespace.el (whitespace-newline): Use a different foreground
10100 color for 16-color light-background displays.
10101
4ad3bc2a
CY
101022011-11-24 Chong Yidong <cyd@gnu.org>
10103
10104 * window.el (display-buffer--special-action): Doc fix.
10105
e9fce1ac
JB
101062011-11-25 Juanma Barranquero <lekktu@gmail.com>
10107
10108 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10109 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10110 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10111 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10112 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10113 (avl-tree-stack-first):
10114 * emacs-lisp/cconv.el (cconv--analyse-use):
10115 * net/gnutls.el (gnutls-negotiate): Fix typos.
10116
cb825e5d
GM
101172011-11-24 Glenn Morris <rgm@gnu.org>
10118
3adbe224
GM
10119 * lpr.el (lpr-windows-system, lpr-lp-system):
10120 * mail/binhex.el (binhex-begin-line):
10121 * progmodes/grep.el (grep-history, grep-find-history):
10122 * textmodes/flyspell.el:
10123 * vc/pcvs-defs.el (cvs-global-menu):
10124 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10125 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10126 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10127
321decc8
GM
10128 * net/tls.el: Fix case of "GnuTLS".
10129
420b63ad
GM
10130 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10131
cb825e5d
GM
10132 * version.el (emacs-build-system): Give it a doc-string.
10133
a0649f08
JL
101342011-11-24 Juri Linkov <juri@jurta.org>
10135
10136 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10137
c0bc0fd4
GM
101382011-11-24 Glenn Morris <rgm@gnu.org>
10139
10140 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10141 if called on a non-mime message just toggle the headers. (Bug#8006)
10142
20db1522
JB
101432011-11-24 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10146 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10147 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10148 (allout-rebullet-heading, allout-open-sibtopic)
10149 (allout-toggle-current-subtree-encryption)
10150 (allout-toggle-subtree-encryption, allout-encrypt-string)
10151 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10152 (allout-distinctive-bullets-string, allout-auto-activation):
10153 * window.el (window-normalize-buffer-to-display):
10154 * progmodes/verilog-mode.el (verilog-batch-indent):
10155 * textmodes/bibtex.el (bibtex-field-braces-opt)
10156 (bibtex-field-strings-opt):
10157 * vc/cvs-status.el (cvs-tree-merge):
10158 Fix typos.
10159
7262a87c
MA
101602011-11-23 Michael Albinus <michael.albinus@gmx.de>
10161
10162 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10163 `non-essential' to t, in order to avoid remote connections.
10164
283430a1
EZ
101652011-11-23 Eli Zaretskii <eliz@gnu.org>
10166
a1beca85
SM
10167 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10168 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10169 case-insensitively.
10170
d2992a38
ML
101712011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10172
10173 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10174
50419064
GM
101752011-11-23 Glenn Morris <rgm@gnu.org>
10176
da94eca1
GM
10177 * paths.el (rmail-file-name): Reformat the doc-string so that it
10178 is picked up.
10179
9aac4de2
GM
10180 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10181 (rmail-auto-file): Ignore case in the "special" field names,
10182 as mail-fetch-field does for all others.
10183
8038d2d2
GM
10184 * mail/rmail.el (rmail-forward):
10185 * mail/rmailkwd.el (rmail-set-label):
10186 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10187 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10188
f3fe222a
GM
10189 * mail/rmail.el (rmail-current-message): Doc fix.
10190
50419064
GM
10191 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10192
28109f49
SM
101932011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10196
394c65f1
GM
101972011-11-22 Glenn Morris <rgm@gnu.org>
10198
10199 * mail/rmailmm.el (test-rmail-mime-handler)
10200 (test-rmail-mime-bulk-handler)
10201 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10202
f2a0aa3a
JL
102032011-11-21 Juri Linkov <juri@jurta.org>
10204
1154d12e
JB
10205 * calc/calc.el (calc-read-key-sequence):
10206 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10207
9c34a344
LMI
102082011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10209
10210 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10211 Tell the caller that the next line needs recomputation, even
10212 though it doesn't start a sexp (bug#10094).
10213
f04a3be9
SM
102142011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10217
7978747f
SM
102182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10219
f04a3be9
SM
10220 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10221 Use force-same-window.
7978747f 10222
fe7a3057
JB
102232011-11-20 Juanma Barranquero <lekktu@gmail.com>
10224
10225 * descr-text.el (describe-char-unicode-data):
10226 * json.el (json-string-escape):
10227 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10228 (Footnote-unicode, Footnote-style-p):
10229 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10230
24901d61
CY
102312011-11-20 Chong Yidong <cyd@gnu.org>
10232
10233 * window.el (replace-buffer-in-windows): Restore interactive spec.
10234
bac7ff22
SM
102352011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10236
24f3d7b9
SM
10237 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10238
bac7ff22
SM
10239 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10240 (byte-compile-global-not-obsolete-vars): New var.
10241 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10242 Use it.
10243 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10244
cd1181db
JB
102452011-11-20 Juanma Barranquero <lekktu@gmail.com>
10246
10247 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10248 * progmodes/pascal.el (electric-pascal-equal):
10249 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10250 * xml.el (xml-substitute-special): Fix typos.
10251
7fb18e9e
GM
102522011-11-20 Glenn Morris <rgm@gnu.org>
10253
10254 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10255 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10256 Doc fixes.
10257 (rmail-decode-mime-charset): Mark as obsolete.
10258
10259 * mail/rmailsum.el (rmail-message-regexp-p-1):
10260 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10261 Before using mime functions, check they are set. (Bug#10077)
10262
d5a6b3ba
JL
102632011-11-19 Juri Linkov <juri@jurta.org>
10264
10265 * info.el (Info-finder-find-node): Use `package--builtins' instead
10266 of `package-alist'. Use node names formed by the pattern "Keyword "
10267 and the keyword name.
10268
e981b61f
AS
102692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10270
1d00653d 10271 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10272
3ffbc301
JL
102732011-11-19 Juri Linkov <juri@jurta.org>
10274
10275 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10276 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10277 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10278 `old-history', `old-history-forward'. Add let-binding
10279 `window-selected'. Remove calls to `kill-buffer',
10280 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10281 before calling `Info-find-node', so `Info-find-node-2' will reread
10282 the Info file. Restore window positions only when `window-selected'
10283 is non-nil.
10284
30c62133
JL
102852011-11-19 Juri Linkov <juri@jurta.org>
10286
10287 * isearch.el (isearch-lazy-highlight-new-loop):
10288 Remove condition `(not isearch-error)'. (Bug#9918)
10289
10290 * misearch.el (multi-isearch-search-fun): Add condition
10291 `(not bound)' to ignore lazy-highlighting search.
10292 Add the search-failed message "end of multi" when the end of
10293 multi-sequence is reached. Uncapitalize the search-failed
10294 message "Repeat for next buffer".
10295
10296 * info.el (Info-search): Add the search-failed message
10297 "end of the manual" when the end of the manual is reached
10298 in Isearch mode.
10299
645ca9cf
JL
103002011-11-19 Juri Linkov <juri@jurta.org>
10301
10302 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10303 Use non-destructive `remove' instead of `delete' because
10304 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10305 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10306
df754f66
JL
103072011-11-19 Juri Linkov <juri@jurta.org>
10308
10309 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10310 to nil instead of binding `search-ring' and `regexp-search-ring'.
10311 (Bug#9185)
10312
0e23d96a
EZ
103132011-11-19 Eli Zaretskii <eliz@gnu.org>
10314
10315 * simple.el (line-move): Force movement by logical lines for any
10316 hscrolled window, not only when auto-hscroll-mode is on.
10317 (line-move-visual): Update doc string to that effect. (Bug#10076)
10318
8a6ccb66
AS
103192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10320
10321 * language/european.el (macintosh): Define as alias for mac-roman.
10322
49ae5b39
EZ
103232011-11-19 Eli Zaretskii <eliz@gnu.org>
10324
10325 * mail/rmailmm.el (rmail-mime-display-header)
10326 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10327 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10328 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10329 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10330 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10331 of a raw aref.
10332 (rmail-mime-entity-segment): To get past the tagline, move forward
10333 2 more lines, to account for the 2 empty lines that precede and
10334 follow the line with the buttons.
10335 (rmail-mime-update-tagline): Move one more line, to get past the
10336 empty line that follows the buttons in the tagline. (Bug#9520)
10337
c56cad4a
MR
103382011-11-19 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (window-max-delta-1, window-min-delta-1)
10341 (window-min-size-1, window-state-get-1, window-state-put-1)
10342 (window-state-put-2): Use "window--" prefix.
10343
cbe71af3
SM
103442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10345
2ad52c60
SM
10346 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10347 (smie-warning-count): New var.
10348 (smie-set-prec2tab): Use it.
10349 (smie-bnf->prec2): Improve warnings. Add docstring.
10350 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10351 (smie-bnf--set-class): New function.
10352 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10353 corner case.
10354
6944dbc1
SM
10355 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10356 (compilation-error-properties, compilation-move-to-column):
10357 Handle compilation-first-column while in the target buffer.
10358
c400c4d7
SM
10359 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10360 Don't hardcode point-min==1.
10361
6dbe3e96
SM
10362 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10363 (eshell-rewrite-for-command): Remove workaround.
10364 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10365 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10366 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10367
cbe71af3
SM
10368 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10369
a8e1496d
GM
103702011-11-17 Glenn Morris <rgm@gnu.org>
10371
10372 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10373 Ignore buffer-local generated-autoload-file if it is the same
10374 as the global value. (Bug#10049)
10375
df85d315
JB
103762011-11-17 Juanma Barranquero <lekktu@gmail.com>
10377
10378 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10379 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10380 (reftex-toc-previous-heading, reftex-toc-max-level)
10381 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10382 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10383 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10384 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10385 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10386 (reftex-toc-rename-label, reftex-toc-visit-location)
10387 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10388 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10389 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10390 leaving "*toc*" only for references to the buffer.
10391
a0c2d0ae
MR
103922011-11-17 Martin Rudalics <rudalics@gmx.at>
10393
10394 * window.el (window-resize, delete-window, split-window):
10395 Replace window-splits by window-combination-resize.
1d00653d 10396 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10397
35c0bac8
GM
103982011-11-17 Glenn Morris <rgm@gnu.org>
10399
10400 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10401 Make bash entry derive from sh entry, not shell entry.
10402
d0c8fc8a
MA
104032011-11-16 Michael Albinus <michael.albinus@gmx.de>
10404
7262a87c
MA
10405 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10406 local file name.
10407
7877f373
JB
104082011-11-16 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * menu-bar.el (menu-bar-file-menu):
10411 * printing.el (pr-ps-utility):
10412 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10413 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10414 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10415 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10416 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10417 (icalendar--convert-cyclic-to-ical)
10418 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10419 (icalendar--convert-ical-to-diary)
10420 (icalendar--convert-recurring-to-diary)
10421 (icalendar--convert-non-recurring-all-day-to-diary)
10422 (icalendar-import-format-sample):
10423 * progmodes/idlw-shell.el (idlwave-shell-mode):
10424 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10425 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10426 (vhdl-ps-print-init): Fix typos.
10427
10649b82
KM
104282011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10429
9d0cfcd6
GM
10430 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10431 FSF and collapse date sequence, obscure author/maintainer email address
10432 better, remove extra version line, track relocation of author's webpage.
10649b82 10433
9d0cfcd6
GM
10434 * progmodes/python.el (python-pdbtrack-input-prompt)
10435 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10436 regular python pdb prompts. Adjustments shamelessly taken exactly as
10437 suggested in EmacsWiki page (tiny change):
10438 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10439
58179cce
JB
104402011-11-16 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * expand.el (expand-pos, expand-index, expand-point):
10443 Remove redundant info from docstring.
10444 (expand-add-abbrevs): Doc fix.
10445 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10446 (expand-sample-perl-mode-expand-list): Fix typos.
10447
10448 * net/dbus.el (dbus-event-member-name):
10449 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10450 * term/pc-win.el (msdos-create-frame-with-faces):
10451 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10452
b6f67890
MR
104532011-11-16 Martin Rudalics <rudalics@gmx.at>
10454
10455 * window.el (split-window, window-state-get-1)
10456 (window-state-put-1, window-state-put-2): Rename occurrences of
10457 window-nest to window-combination-limit.
1d00653d 10458 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10459
ce7ddba0
CY
104602011-11-16 Chong Yidong <cyd@gnu.org>
10461
10462 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10463 regexp (Bug#10033).
10464
3ae704f4
SM
104652011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10468 `completing-read' will remove *Completions* and will preserve
10469 current-buffer for us.
10470 (tmm-add-prompt): Users of *Completions* will always (re)set its
10471 major mode.
10472 (tmm-old-comp-map): Remove.
10473
6ad1cdde
GM
104742011-11-16 Glenn Morris <rgm@gnu.org>
10475
10476 * mail/rmailedit.el: Require rmailmm when compiling.
10477 (rmail-old-mime-state): New declaration.
10478 (rmail-edit-current-message): If editing a mime message,
10479 edit the "raw" message from the mbox buffer.
10480 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10481
d20faa20
GM
104822011-11-15 Glenn Morris <rgm@gnu.org>
10483
10484 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10485 which wasn't being used. Add optional arg to force given state.
10486 (rmail-mime): Add optional arg to force given state.
10487
c7015153
JB
104882011-11-15 Juanma Barranquero <lekktu@gmail.com>
10489
10490 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10491 * frame.el (display-mm-dimensions-alist):
10492 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10493 (outline-move-subtree-down):
10494 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10495 (newsticker--treeview-do-get-node):
10496 * net/quickurl.el (quickurl-list-buffer-name):
10497 * progmodes/dcl-mode.el (dcl-mode):
10498 * progmodes/gdb-mi.el (gdb-mapcar*):
10499 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10500
45261b50
GM
105012011-11-15 Glenn Morris <rgm@gnu.org>
10502
10503 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10504 in a boolean sense, so just make it a boolean, and fix the doc.
10505 (rmail-show-mime-function, rmail-mime-feature)
10506 (rmail-require-mime-maybe): Doc fixes.
10507 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10508
10509 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10510
0d26e0b6
JB
105112011-11-15 Juanma Barranquero <lekktu@gmail.com>
10512
10513 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10514 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10515 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10516 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10517
447f30f6
GM
105182011-11-15 Glenn Morris <rgm@gnu.org>
10519
672b871d
GM
10520 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10521 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10522 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10523 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10524 (rmail-mime, rmail-show-mime): Doc fixes.
10525
f6aa5bb1
GM
10526 * term/ns-win.el (mode-line-frame-identification):
10527 Leave it alone. (Bug#10051)
10528
947cd66b
GM
10529 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10530
447f30f6
GM
10531 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10532 Handle empty buffers. (Bug#9978)
10533
0b381c7e
JB
105342011-11-14 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * international/mule.el (define-charset):
10537 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10538 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10539 * progmodes/verilog-mode.el (verilog-backward-token):
10540 * textmodes/ispell.el (lookup-words):
10541 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10542
71e027ac
GM
105432011-11-14 Glenn Morris <rgm@gnu.org>
10544
56632ce4
GM
10545 * progmodes/executable.el
10546 (executable-make-buffer-file-executable-if-script-p):
10547 Handle file-modes returning nil.
10548
40500957
GM
10549 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10550 message - not necessary, and causes problems. (Bug#9831)
10551
071c2340
GM
10552 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10553
d3cfca60
GM
10554 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10555
71e027ac
GM
10556 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10557 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10558 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10559
89d61221
MR
105602011-11-12 Martin Rudalics <rudalics@gmx.at>
10561
10562 * window.el (window-resize, delete-window): Use window-splits
10563 variable instead of function.
10564 (window-state-get-1, window-state-put-2, window-state-put):
10565 Don't deal with windows' splits status.
10566
98282f6f
GM
105672011-11-12 Glenn Morris <rgm@gnu.org>
10568
10569 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10570 (apropos-documentation): Doc fixes.
10571
40a8bdf6
JB
105722011-11-11 Juanma Barranquero <lekktu@gmail.com>
10573
10574 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10575 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10576
65bd19ff
SM
105772011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * electric.el (electric-indent-post-self-insert-function): Make it
10580 possible for a char to only indent in some circumstances.
10581 (electric-indent-mode): Simplify.
10582
54f9154c
MR
105832011-11-11 Martin Rudalics <rudalics@gmx.at>
10584
10585 * window.el (windows-with-parameter): Remove unused function.
10586 (windows-at-side): Rename to window-at-side-list.
10587 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10588 (window-side-check, window-size-ignore, window-size-fixed-1)
10589 (window-in-direction-2): Prefix with "window--".
10590 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10591
68cbc58b
GM
105922011-11-11 Glenn Morris <rgm@gnu.org>
10593
10594 * subr.el (eval-after-load): If FILE is already loaded,
10595 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10596
b2621720
GM
105972011-11-10 Glenn Morris <rgm@gnu.org>
10598
9a4de110
GM
10599 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10600 Call svn via vc-svn-command rather than vc-do-command.
10601 (vc-svn-command): Add --non-interactive. (Bug#9993)
10602 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10603
b2621720
GM
10604 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10605 Add toggle-read-only. (Bug#7292)
10606 * files.el (toggle-read-only): Mention that it should only
10607 be used interactively. (Bug#10006)
10608
1dce7193
SM
106092011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10610
d9ac1a1e
SM
10611 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10612 Adjust regexp for OCaml warnings.
10613
0c325082
SM
10614 * electric.el (electric-pair-post-self-insert-function): Let user
10615 turn it off buffer-locally (bug#9932).
10616
90132c14
SM
10617 * progmodes/python.el (python-beginning-of-statement):
10618 Rewrite (bug#2703).
10619
1dce7193
SM
10620 * progmodes/compile.el: Better handle TABs (bug#9749).
10621 (compilation-internal-error-properties)
10622 (compilation-next-error-function): Obey the target buffer's
10623 compilation-error-screen-columns.
10624
c4e7c63a
JB
106252011-11-09 Juanma Barranquero <lekktu@gmail.com>
10626
10627 * progmodes/meta-mode.el: Remove obsolete comments.
10628 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10629 Fix typos in docstrings.
10630
2cffd681
MR
106312011-11-09 Martin Rudalics <rudalics@gmx.at>
10632
10633 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10634 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10635 (window--resizable): New function. Make all callers of
10636 window-resizable call window--resizable instead.
10637 (window-resizable): Rewrite in terms of window--resizable.
10638
0edcba87
GM
106392011-11-08 Glenn Morris <rgm@gnu.org>
10640
10641 * progmodes/delphi.el (delphi-mode-syntax-table):
10642 Let define-derived-mode define a proper syntax table. (Bug#9994)
10643
4b0d61e3
SM
106442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * window.el: Stay away from defsubst.
10647 (window-list-no-nils): Remove.
10648 (window-state-get-1, window-state-get): Use backquote instead.
10649
cd394be1 106502011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10651
4b0d61e3 10652 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10653 Fix incorrect use of default argument in `completing-read'.
10654
e1c2c6f2
MR
106552011-11-08 Martin Rudalics <rudalics@gmx.at>
10656
10657 * window.el (display-buffer-function, special-display-function):
10658 Mention display-buffer-record-window but do not mention
10659 help-setup parameter in doc-strings.
b3f4a882 10660 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10661
105216ed
CY
106622011-11-08 Chong Yidong <cyd@gnu.org>
10663
10664 * window.el (window-total-height, window-total-width): Doc fix.
10665 (window-body-size): Move from C.
10666 (window-body-height, window-body-width): Move to C.
10667
0a9f9ab5
SM
106682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * window.el: Make special-display like display-buffer-alist (bug#9532).
10671 (display-buffer--special-action): New function, morphed
10672 from display-buffer--special.
10673 (display-buffer): Use it to handle special-display-buffers at higher
10674 priority (just after display-buffer-alist).
10675 (display-buffer-fallback-action, display-buffer--other-frame-action)
10676 (pop-to-buffer-same-window): Remove display-buffer--special.
10677
a769dd15
GM
106782011-11-07 Glenn Morris <rgm@gnu.org>
10679
10680 * calendar/cal-menu.el (cal-menu-set-date-title):
10681 Do nothing if not in a calendar. (Bug#9976)
10682
05a61ee3
SM
106832011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * files.el (find-file): Always use selected-window.
10686
be7f5545
MR
106872011-11-07 Martin Rudalics <rudalics@gmx.at>
10688
10689 * window.el (window-combinations): Make WINDOW argument
10690 mandatory. Rewrite doc-string.
10691 (walk-window-subtree, window-atom-check, window-min-delta)
10692 (window-max-delta, window--resize-this-window)
10693 (window--resize-root-window-vertically, window-tree)
10694 (balance-windows, window-state-put): Rewrite doc-strings as to
10695 not mention the term "subwindow".
10696 (window--resize-subwindows-skip-p): Rename to
10697 window--resize-child-windows-skip-p.
10698 (window--resize-subwindows-normal): Rename to
10699 window--resize-child-windows-normal.
10700 (window--resize-subwindows): Rename to
10701 window--resize-child-windows.
10702 (window-or-subwindow-p): Rename to window--in-subtree-p.
10703
3c6702ef
ML
107042011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10705
10706 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10707 Ensure that mbox format messages end in two newlines (Bug#9974).
10708
49745b39
CY
107092011-11-06 Chong Yidong <cyd@gnu.org>
10710
10711 * window.el (window-combination-p): Function deleted; its
10712 side-effect is not used in any existing code.
10713 (window-combinations, window-combined-p): Call window-*-child
10714 directly.
10715
24300f5f
CY
107162011-11-05 Chong Yidong <cyd@gnu.org>
10717
10718 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10719 (window-size-ignore, window-state-get): Callers changed.
10720 (window-normalize-window): Rename from window-normalize-any-window.
10721 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10722 (window-normalize-live-window): Delete.
447f16b8
CY
10723 (window-combination-p, window-combined-p, window-combinations)
10724 (walk-window-subtree, window-atom-root, window-min-size)
10725 (window-sizable, window-sizable-p, window-size-fixed-p)
10726 (window-min-delta, window-max-delta, window-resizable)
10727 (window-resizable-p, window-full-height-p, window-full-width-p)
10728 (window-current-scroll-bars, window-point-1, set-window-point-1)
10729 (window-at-side-p, window-in-direction, window-resize)
10730 (adjust-window-trailing-edge, maximize-window, minimize-window)
10731 (window-deletable-p, delete-window, delete-other-windows)
10732 (record-window-buffer, unrecord-window-buffer)
10733 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10734 (quit-window, split-window, window-state-put)
10735 (set-window-text-height, fit-window-to-buffer)
10736 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10737
89bd5ee1
EZ
107382011-11-04 Eli Zaretskii <eliz@gnu.org>
10739
53479029
EZ
10740 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10741 rfc2047-decode-string.
10742 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10743 warnings.
10744
89bd5ee1
EZ
10745 * window.el (window-body-height, window-body-width): Mention in
10746 the doc string that the return values are in frame's canonical
10747 units. (Bug#9949)
10748
bd17fdee
AM
107492011-11-03 Alan Mackenzie <acm@muc.de>
10750
10751 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10752 change in cc-engine.el.
10753
acc825c5
SM
107542011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10757
1885e5b8
MR
107582011-11-02 Martin Rudalics <rudalics@gmx.at>
10759
10760 * window.el (quit-window): Call unrecord-window-buffer after
10761 showing another buffer in the window. (Bug#9937)
acc825c5 10762 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10763
ebe06da9
JB
107642011-11-02 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10767 Accept status with more than 9 shelves. (Bug#9935)
10768 Reported by Colin D Bennett <colin@gibibit.com>.
10769
4ee88440
MR
107702011-11-01 Martin Rudalics <rudalics@gmx.at>
10771
10772 * help.el (with-help-window): Don't reference
10773 temp-buffer-show-specifiers in doc-string.
10774
08e1d82c
AS
107752011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10776
10777 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10778 menu-item.
10779
84bd6e9e
VJL
107802011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10781
10782 * whitespace.el: New version 13.2.2.
10783 (whitespace-newline-mode): Disable properly. Reported by Sarah
10784 <EmacsWiki>.
10785
dba0634a
UJ
107862011-10-30 Ulf Jasper <ulf.jasper@web.de>
10787
10788 * net/newst-treeview.el: Remove "Time-stamp".
10789 (newsticker--group-manage-orphan-feeds): Do not call
10790 newsticker--treeview-tree-update.
db22a3c2
JB
10791 (newsticker-treeview-update, newsticker-treeview):
10792 Call newsticker--treeview-tree-update if necessary.
dba0634a 10793
3d8daefe
MR
107942011-10-30 Martin Rudalics <rudalics@gmx.at>
10795
10796 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10797 (window-iso-combinations): Remove "iso-" infix.
10798 Suggested by Chong Yidong.
3d8daefe
MR
10799 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10800 (window-max-delta-1, window-resize, window--resize-siblings)
10801 (window--resize-this-window, adjust-window-trailing-edge)
10802 (split-window, balance-windows-1)
10803 (shrink-window-if-larger-than-buffer):
10804 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10805 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10806
1bc4c3ae
SM
108072011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10810 in place (bug#9907).
10811 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10812 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10813 (eshell-structure-basic-command, eshell-rewrite-while-command)
10814 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10815 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10816 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10817 (eshell-do-pipelines-synchronously, eshell-eval-command):
10818 Use backquotes and prefer setq to set.
10819 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10820 (eshell-macrop): Use functionp.
c1e2f5fa 10821 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10822
30b65d9c
CY
108232011-10-30 Chong Yidong <cyd@gnu.org>
10824
10825 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10826 instead of set-mark (Bug#9810).
10827
2d197ffb
CY
108282011-10-30 Chong Yidong <cyd@gnu.org>
10829
10830 * window.el (split-window-below, split-window-right): Rename from
10831 split-window-above-each-other and split-window-side-by-side
10832 respectively. All callers changed.
10833 (split-window-sensibly, split-window-sensibly): Use them.
10834 (split-window-keep-point): Doc fix.
10835
10836 * isearch.el: Add isearch-scroll property to split-window-below
10837 and split-window-right.
10838
10839 * follow.el (follow-mode):
10840 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10841 * progmodes/ada-xref.el (ada-gdb-application):
10842 * emulation/vip.el (vip-buffer-in-two-windows):
10843 * image-dired.el (image-dired-dired-with-window-configuration):
10844 * dired-x.el (dired-do-find-marked-files):
10845 * dired.el (dired-pop-to-buffer):
10846 * bs.el (bs--show-with-configuration):
10847 * vc/emerge.el (emerge-setup-windows):
10848 * textmodes/two-column.el (2C-two-columns):
10849 * textmodes/reftex-toc.el (reftex-toc):
10850 * progmodes/gdb-mi.el (gdb-setup-windows):
10851 * progmodes/fortran.el (fortran-window-create):
10852 * net/newst-treeview.el (newsticker--treeview-window-init):
10853 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10854 * emulation/tpu-edt.el (tpu-gold-map):
10855 * emulation/crisp.el (crisp-mode-map):
10856 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10857
38bb2ca8
CY
108582011-10-29 Chong Yidong <cyd@gnu.org>
10859
aa4de341
CY
10860 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10861
e1eb5385
CY
10862 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10863
5d2ece3c
CY
10864 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10865 forged Ispell output (Bug#7904).
10866
38bb2ca8
CY
10867 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10868
d0af9f77
SM
108692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * doc-view.el: Avoid ugly errors about not finding nil.
10872 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10873 (doc-view-dvipdf-program, doc-view-unoconv-program)
10874 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10875 Avoid nil or absolute file name as default value.
10876 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10877
52bedd34
AM
108782011-10-28 Alan Mackenzie <acm@muc.de>
10879
db22a3c2 10880 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10881
7e43cfa5
AM
108822011-10-28 Alan Mackenzie <acm@muc.de>
10883
10884 Amend the handling of c-beginning/end-of-defun in nested declaration
10885 scopes.
10886
52bedd34
AM
10887 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10888 cc-langs.el. Change it to a defcustom.
7e43cfa5 10889
52bedd34
AM
10890 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10891 cc-vars.el.
7e43cfa5 10892
d0af9f77
SM
10893 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10894 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10895
52bedd34 10896 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10897 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10898 (c-widen-to-enclosing-decl-scope): New function.
10899 (c-while-widening-to-decl-block): New macro.
10900 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10901 outward for defun boundaries, and correspondingly change symbol
10902 `respect-enclosure' to `go-outward'.
10903 (c-declaration-limits): Change algorithm to report only the "innermost"
10904 defun's boundaries.
10905
1a2ce9ee
DD
109062011-10-28 Deniz Dogan <deniz@dogan.se>
10907
10908 * net/rcirc.el (rcirc-mode): Use hard newlines.
10909
bc97a826
AM
109102011-10-28 Alan Mackenzie <acm@muc.de>
10911
10912 Amend to indent and fontify macros "which include their own semicolon"
10913 correctly, using the "virtual semicolon" mechanism.
10914
52bedd34 10915 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10916
d0af9f77 10917 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10918 Recode to scan one line at a time rather than having \n and \r
58179cce 10919 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10920 (c-forward-label): Amend for virtual semicolons.
58179cce 10921 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10922
52bedd34
AM
10923 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10924 of the new C macros.
bc97a826 10925
52bedd34 10926 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10927 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10928 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10929 (c-opt-cpp-macro-define): Make into a full language variable.
10930 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10931 AWK Mode (including \n, \r) removed, no longer needed.
10932
d0af9f77
SM
10933 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10934 Invoke c-make-macro-with-semi-re.
bc97a826 10935
52bedd34
AM
10936 * progmodes/cc-vars.el (c-macro-with-semi-re):
10937 (c-macro-names-with-semicolon): New variables.
58179cce 10938 (c-make-macro-with-semi-re): New function.
bc97a826 10939
7a6c0941
SM
109402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * vc/log-edit.el: Fill empty field rather than adding new one.
10943 (log-edit-add-field): New function.
10944 (log-edit-insert-changelog): Use it.
10945
b0c4cdcf
ML
109462011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10947
10948 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10949
ee1f1da9
SM
109502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10953 (gdb--check-interpreter): New function.
10954 (gdb): Use it.
10955
51bc5f8b
GM
109562011-10-27 Glenn Morris <rgm@gnu.org>
10957
416a2c45
GM
10958 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10959 (least-positive-float, least-negative-float)
10960 (least-positive-normalized-float, least-negative-normalized-float)
10961 (float-epsilon, float-negative-epsilon):
10962 Remove unnecessary declarations.
10963
10964 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10965 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10966 (least-positive-float, least-negative-float)
10967 (least-positive-normalized-float, least-negative-normalized-float)
10968 (float-epsilon, float-negative-epsilon): Add doc-strings,
10969 based on those in cl.texi.
10970
51bc5f8b
GM
10971 * files.el (set-visited-file-name): If the major-mode changed,
10972 reload the local variables. (Bug#9796)
10973
15de15c6
CY
109742011-10-27 Chong Yidong <cyd@gnu.org>
10975
10976 * subr.el (change-major-mode-after-body-hook): New hook.
10977 (run-mode-hooks): Run it.
10978
ee1f1da9
SM
10979 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10980 Use change-major-mode-before-body-hook.
15de15c6
CY
10981
10982 * simple.el (fundamental-mode):
10983 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10984 change introducing fundamental-mode-hook.
10985
5430d399
JB
109862011-10-26 Juanma Barranquero <lekktu@gmail.com>
10987
acc825c5 10988 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10989
ad74a69e
MA
109902011-10-26 Michael Albinus <michael.albinus@gmx.de>
10991
10992 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10993 tramp.el explicitly. (Bug#7583)
ad74a69e 10994
71d4c2a5
SM
109952011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * progmodes/octave-mod.el:
10998 * progmodes/octave-inf.el: Update maintainer.
10999
b1f6fa26
CY
110002011-10-26 Chong Yidong <cyd@gnu.org>
11001
11002 * subr.el (with-wrapper-hook): Rewrite doc.
11003
3f04efd6
MA
110042011-10-25 Michael Albinus <michael.albinus@gmx.de>
11005
11006 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11007 filenames "/method:foo:". (Bug#9793)
3f04efd6 11008
410488d3
SM
110092011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11012 (bug#9865).
11013
c1ebb47e
GM
110142011-10-24 Glenn Morris <rgm@gnu.org>
11015
11016 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11017
7f5c46c7
MA
110182011-10-24 Michael Albinus <michael.albinus@gmx.de>
11019
11020 * notifications.el: Add the requirement of a running D-Bus session
11021 bus to the Commentary.
11022
db2440b6
JL
110232011-10-24 Juri Linkov <juri@jurta.org>
11024
11025 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11026 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11027 (Bug#9364)
11028
feecf435
JL
110292011-10-24 Juri Linkov <juri@jurta.org>
11030
11031 * info.el (Info-following-node-name-re): Add newline to the list
11032 of allowed characters for leading space. (Bug#9824)
11033
a3839de2
SM
110342011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11035
acc825c5
SM
11036 * progmodes/octave-inf.el (inferior-octave-mode-map):
11037 Fix C-c C-h binding.
a3839de2
SM
11038 * progmodes/octave-mod.el (octave-help): Remove.
11039
09388e76
MA
110402011-10-23 Michael Albinus <michael.albinus@gmx.de>
11041
11042 Sync with Tramp 2.2.3.
11043
11044 * net/tramp-cache.el (top): Pacify byte-compiler using
11045 `init-file-user' and `site-run-file'.
11046
11047 * net/trampver.el: Update release number.
11048
86c60681
CY
110492011-10-23 Chong Yidong <cyd@gnu.org>
11050
11051 * files.el (toggle-read-only): Remove obsolete comment about
11052 version control.
11053
11054 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11055 for toggle-read-only. Note that this hasn't called vc-next-action
11056 since 2008-05-02, though it wasn't documented at the time.
11057
a3839de2
SM
11058 * vc/ediff-init.el (ediff-toggle-read-only-function):
11059 Use toggle-read-only.
86c60681 11060
cd5495ff
AM
110612011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11062
11063 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11064 of c-parse-state.
11065
00b77525 11066 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11067 correct faulty logical expression.
cd5495ff
AM
11068 (c-parse-state-state, c-record-parse-state-state):
11069 (c-replay-parse-state-state): New defvar/defuns.
11070 (c-debug-parse-state): Use new functions.
11071
42ee24ed
MR
110722011-10-22 Martin Rudalics <rudalics@gmx.at>
11073
11074 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11075 last fix. Use window-in-direction correctly.
42ee24ed 11076
a7dee7e7
CY
110772011-10-21 Chong Yidong <cyd@gnu.org>
11078
11079 * progmodes/idlwave.el (idlwave-mode):
11080 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11081 require-final-newline; that's done in prog-mode.
11082 Suggested by Stefan Monnier.
a7dee7e7 11083
e07b9a6d
MR
110842011-10-21 Martin Rudalics <rudalics@gmx.at>
11085
11086 * mouse.el (mouse-drag-window-above)
11087 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11088 (mouse-drag-mode-line-1, mouse-drag-header-line)
11089 (mouse-drag-vertical-line-rightward-window): Remove.
11090 (mouse-drag-line): New function.
11091 (mouse-drag-mode-line, mouse-drag-header-line)
11092 (mouse-drag-vertical-line): Call mouse-drag-line.
11093 * window.el (window-at-side-p, windows-at-side): New functions.
11094
7e1361d9
UM
110952011-10-21 Ulrich Mueller <ulm@gentoo.org>
11096
11097 * tar-mode.el (tar-grind-file-mode):
11098 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11099
30fcaf3a
CY
111002011-10-21 Chong Yidong <cyd@gnu.org>
11101
11102 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11103 * progmodes/vera-mode.el (vera-mode):
11104 Use mode-require-final-newline.
30fcaf3a 11105
516eddb0
GM
111062011-10-20 Glenn Morris <rgm@gnu.org>
11107
db22a3c2 11108 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11109
10d5f513
CS
111102011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11111
11112 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11113
ac6c8639
CY
111142011-10-20 Chong Yidong <cyd@gnu.org>
11115
11116 * emulation/cua-base.el (cua-mode):
11117 * mail/footnote.el (footnote-mode):
11118 * mail/mailabbrev.el (mail-abbrevs-mode):
11119 * net/xesam.el (xesam-minor-mode):
11120 * progmodes/bug-reference.el (bug-reference-mode):
11121 * progmodes/cap-words.el (capitalized-words-mode):
11122 * progmodes/compile.el (compilation-minor-mode)
11123 (compilation-shell-minor-mode):
11124 * progmodes/gud.el (gud-tooltip-mode):
11125 * progmodes/hideif.el (hide-ifdef-mode):
11126 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11127 * progmodes/subword.el (subword-mode):
11128 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11129 * progmodes/which-func.el (which-function-mode):
11130 * term/tvi970.el (tvi970-set-keypad-mode):
11131 * term/vt100.el (vt100-wide-mode):
11132 * textmodes/flyspell.el (flyspell-mode):
11133 * textmodes/ispell.el (ispell-minor-mode):
11134 * textmodes/nroff-mode.el (nroff-electric-mode):
11135 * textmodes/paragraphs.el (use-hard-newlines):
11136 * textmodes/refill.el (refill-mode):
11137 * textmodes/reftex.el (reftex-mode):
11138 * textmodes/rst.el (rst-minor-mode):
11139 * textmodes/sgml-mode.el (html-autoview-mode)
11140 (sgml-electric-tag-pair-mode):
11141 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11142 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11143 * emulation/crisp.el (crisp-mode):
11144 * emacs-lisp/eldoc.el (eldoc-mode):
11145 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11146 minor mode behavior.
11147
aa42ab43
JL
111482011-10-19 Juri Linkov <juri@jurta.org>
11149
11150 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11151 the list of hard-coded chars with escape-glyph face.
11152
89400f1d
SM
111532011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11156
305c07f6
MA
111572011-10-19 Michael Albinus <michael.albinus@gmx.de>
11158
11159 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11160 running process.
11161
13754b54
GM
111622011-10-19 Glenn Morris <rgm@gnu.org>
11163
11164 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11165 Ignore ignored files. (Bug#9726)
11166
06e21633
CY
111672011-10-19 Chong Yidong <cyd@gnu.org>
11168
11169 Doc fix for minor modes, stating that an omitted argument enables
11170 the mode unconditionally when called from Lisp.
11171
11172 * abbrev.el (abbrev-mode):
11173 * allout.el (allout-mode):
11174 * autoinsert.el (auto-insert-mode):
11175 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11176 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11177 (global-auto-revert-mode):
11178 * battery.el (display-battery-mode):
11179 * composite.el (global-auto-composition-mode)
11180 (auto-composition-mode):
11181 * delsel.el (delete-selection-mode):
11182 * desktop.el (desktop-save-mode):
11183 * dired-x.el (dired-omit-mode):
11184 * dirtrack.el (dirtrack-mode):
11185 * doc-view.el (doc-view-minor-mode):
11186 * double.el (double-mode):
11187 * electric.el (electric-indent-mode, electric-pair-mode):
11188 * emacs-lock.el (emacs-lock-mode):
11189 * epa-hook.el (auto-encryption-mode):
11190 * follow.el (follow-mode):
11191 * font-core.el (font-lock-mode):
11192 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11193 * help.el (temp-buffer-resize-mode):
11194 * hilit-chg.el (highlight-changes-mode)
11195 (highlight-changes-visible-mode):
11196 * hi-lock.el (hi-lock-mode):
11197 * hl-line.el (hl-line-mode, global-hl-line-mode):
11198 * icomplete.el (icomplete-mode):
11199 * ido.el (ido-everywhere):
11200 * image-file.el (auto-image-file-mode):
11201 * image-mode.el (image-minor-mode):
11202 * iswitchb.el (iswitchb-mode):
11203 * jka-cmpr-hook.el (auto-compression-mode):
11204 * linum.el (linum-mode):
11205 * longlines.el (longlines-mode):
11206 * master.el (master-mode):
11207 * mb-depth.el (minibuffer-depth-indicate-mode):
11208 * menu-bar.el (menu-bar-mode):
11209 * minibuf-eldef.el (minibuffer-electric-default-mode):
11210 * mouse-sel.el (mouse-sel-mode):
11211 * msb.el (msb-mode):
11212 * mwheel.el (mouse-wheel-mode):
11213 * outline.el (outline-minor-mode):
11214 * paren.el (show-paren-mode):
11215 * recentf.el (recentf-mode):
11216 * reveal.el (reveal-mode, global-reveal-mode):
11217 * rfn-eshadow.el (file-name-shadow-mode):
11218 * ruler-mode.el (ruler-mode):
11219 * savehist.el (savehist-mode):
11220 * scroll-all.el (scroll-all-mode):
11221 * scroll-bar.el (scroll-bar-mode):
11222 * server.el (server-mode):
11223 * shell.el (shell-dirtrack-mode):
11224 * simple.el (auto-fill-mode, transient-mark-mode)
11225 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11226 (line-number-mode, column-number-mode, size-indication-mode)
11227 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11228 * strokes.el (strokes-mode):
11229 * time.el (display-time-mode):
11230 * t-mouse.el (gpm-mouse-mode):
11231 * tool-bar.el (tool-bar-mode):
11232 * tooltip.el (tooltip-mode):
11233 * type-break.el (type-break-mode-line-message-mode)
11234 (type-break-query-mode):
11235 * view.el (view-mode):
11236 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11237 (global-whitespace-mode, global-whitespace-newline-mode):
11238 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11239
a3839de2
SM
11240 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11241 Fix autogenerated docstring.
06e21633 11242
5214e501
JL
112432011-10-19 Juri Linkov <juri@jurta.org>
11244
11245 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11246 by checking environment variables "DESKTOP_SESSION" and
11247 "XDG_CURRENT_DESKTOP". (Bug#9779)
11248
195f8db9
JL
112492011-10-19 Juri Linkov <juri@jurta.org>
11250
11251 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11252 (browse-url-chromium-program, browse-url-chromium-arguments):
11253 New defcustoms.
11254 (browse-url-default-browser): Check for `browse-url-chromium' and
11255 call `browse-url-chromium-program'.
11256 (browse-url-chromium): New command. (Bug#9779)
11257
343a34ff
JB
112582011-10-18 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * facemenu.el (list-colors-duplicates): On Windows, detect more
11261 duplicates by assuming that only colors matching "^System" are
11262 special "system colors". (Bug#9722)
11263
6978a151
SM
112642011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11267 to distinguish the author from the committer.
11268
6a80b297
MA
112692011-10-18 Michael Albinus <michael.albinus@gmx.de>
11270
11271 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11272
b31a5677
JK
112732011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11274
11275 * international/mule.el (sgml-html-meta-auto-coding-function):
11276 Add support for detecting encoding in HTML5 specified only as
11277 <meta charset="UTF-8">. Implementation just makes http-equiv and
11278 content-type parts from HTML4 encoding string optional. (Bug#9716)
11279
80c6d77f
GM
112802011-10-18 Glenn Morris <rgm@gnu.org>
11281
11282 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11283
08b0fee8
CY
112842011-10-18 Chong Yidong <cyd@gnu.org>
11285
11286 * faces.el (cursor): Doc fix.
11287
67e729a5
CY
112882011-10-17 Chong Yidong <cyd@gnu.org>
11289
11290 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11291
343a34ff 112922011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11293
11294 * dirtrack.el (dirtrack): Support shell buffers with path
11295 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11296
0bc06380
TZ
112972011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11298
11299 * json.el: Bump version to 1.3 and note change in History.
11300 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11301
8b79f3e0
SM
113022011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11303
5a7c536b
SM
11304 * comint.el (comint-insert-input, comint-send-input)
11305 (comint-get-old-input-default, comint-backward-matching-input)
11306 (comint-next-prompt): Use nil instead of `input' for field property of
11307 past user input (bug#114).
11308
96a8a0df
SM
11309 * minibuffer.el (completion--replace): Inherit surrounding properties
11310 (bug#114).
11311 (minibuffer-complete-and-exit): Use it.
11312
8b79f3e0
SM
11313 * comint.el (comint--table-subvert): Quote the all-completions output
11314 (bug#9160).
11315
b8f7ff0d
MR
113162011-10-17 Martin Rudalics <rudalics@gmx.at>
11317
8b79f3e0 11318 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11319
b8f7ff0d 11320 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11321 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11322 entries and separate them from frame entries.
11323
c235b555
GM
113242011-10-15 Glenn Morris <rgm@gnu.org>
11325
11326 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11327 Doc fixes.
11328
6bbfa6e1
CY
113292011-10-15 Chong Yidong <cyd@stupidchicken.com>
11330
8b79f3e0
SM
11331 * net/network-stream.el (network-stream-open-starttls):
11332 Improve detection of failure due to lack of TLS support.
ec5c990d 11333
6bbfa6e1
CY
11334 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11335 putting the input text in front and in bold.
11336
98488977
SM
113372011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11338
3d1337be
SM
11339 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11340
ee0b45e4
SM
11341 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11342 empty buffer.
11343
98488977
SM
11344 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11345 unread-command-events rather than pushing yet-another event.
11346
186f4720
EZ
113472011-10-14 Eli Zaretskii <eliz@gnu.org>
11348
11349 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11350 the explanation of the possible choices. Make the options passed
11351 to completing-read shorter.
11352
8b7a997c
AM
113532011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11354
11355 * textmodes/flyspell.el (flyspell-large-region): Make sure
11356 extended character mode is used if defined (Bug#1339).
11357
12587bbb
EZ
113582011-10-13 Eli Zaretskii <eliz@gnu.org>
11359
11360 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11361 character info for LRE, LRO, RLE, and RLO characters by appending
11362 an invisible PDF.
12587bbb 11363
bad41229
SM
113642011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11367 even in case of error; add debug spec; simplify data flow.
11368 (with-timeout-handler): Remove.
11369
28dbc92f
MA
113702011-10-12 Michael Albinus <michael.albinus@gmx.de>
11371
11372 Fix Bug#6019, Bug#9315.
11373
11374 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11375 complete `buffer-file-name', the local file name part could look
11376 remotely (for example on VMS).
11377
11378 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11379 `tramp-run-real-handler'.
11380 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11381 already quoted by '"'.
11382
11383 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11384 Let `file-name-handler-alist' be nil, the local file name part
11385 could look remotely (for example on VMS).
11386
e1b0b23a
SM
113872011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11390 from here...
11391 (flyspell-post-command-hook): ...to here.
11392
a120bde9
SM
113932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11396 if not needed.
11397 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11398 using completion. Protect against "slow" callers.
11399 Remove the "message hack".
11400
7ce7717b
JL
114012011-10-11 Juri Linkov <juri@jurta.org>
11402
11403 * isearch.el (isearch-lazy-highlight-word): New variable.
11404 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11405 Use it. (Bug#9727)
11406
c02ee9d6
GM
114072011-10-11 Glenn Morris <rgm@gnu.org>
11408
11409 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11410 like f90-previous-statement does.
11411
93e616fd 114122011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11413
1f190e73 11414 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11415 only in interactive use, to avoid error.
11416
af7b6078
SM
114172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11418
11419 * minibuffer.el (completion-file-name-table): Fix last change,
11420 i.e. ignore normal errors but not the other ones.
11421
0563dae9
MR
114222011-10-10 Martin Rudalics <rudalics@gmx.at>
11423
11424 * window.el (special-display-buffer-names)
11425 (special-display-regexps): Remove some remnants of earlier
11426 changes from doc-strings.
366ca7f3
MR
11427 (quit-windows-on): New function.
11428
11429 * vc/vc.el (vc-revert, vc-rollback):
11430 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11431 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11432 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11433
49677495
MR
114342011-10-09 Martin Rudalics <rudalics@gmx.at>
11435
11436 * window.el (frame-auto-hide-function): Add version tag.
11437 (Bug#9699)
11438
56f2d1e1
MA
114392011-10-09 Michael Albinus <michael.albinus@gmx.de>
11440
11441 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11442 condition.
11443
112a6592
LL
114442011-10-09 Leo Liu <sdl.web@gmail.com>
11445
11446 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11447 (Bug#9701)
11448
0812589b
GM
114492011-10-08 Glenn Morris <rgm@gnu.org>
11450
11451 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11452 before the first code statement zero indent. (Bug#9690)
11453
b2b0776e
CY
114542011-10-08 Chong Yidong <cyd@stupidchicken.com>
11455
11456 * simple.el (count-words-region): Always count in the region.
11457 Report the number of lines and characters too.
11458 (count-words): New command, which counts in the buffer if the
11459 region is inactive, as count-words-region used to.
11460 (count-words--message): New function. Handle plurals.
11461 (count-lines-region): Make it an alias for count-words-region.
11462
11463 * bindings.el (esc-map): Replace count-lines-region with
11464 count-words-region.
11465
c557cd6b
MR
114662011-10-08 Martin Rudalics <rudalics@gmx.at>
11467
11468 * window.el (window--delete): Delete dedicated frame
11469 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11470 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11471
61a57ef4 114722011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11473
3a7d293b 11474 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11475
c3833279
CY
114762011-10-07 Chong Yidong <cyd@stupidchicken.com>
11477
11478 * bindings.el ([M-left],[M-right]): Bind to left-word and
11479 right-word respectively.
11480
21ce8245
GM
114812011-10-07 Glenn Morris <rgm@gnu.org>
11482
11483 * cus-start.el (debug-on-quit): Fix custom type.
11484
6d823bb2
LMI
114852011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11486
0181e193
LMI
11487 * subr.el (define-key-after): Clarify that the function is not
11488 useful for non-menu keymaps.
11489
6d823bb2
LMI
11490 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11491
8e3459ce 114922011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11493
21ce8245 11494 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11495 in current minibuffer (Fix bug with recursive minibuffers).
11496
a1c2d21e
CY
114972011-10-06 Chong Yidong <cyd@stupidchicken.com>
11498
11499 * progmodes/gdb-mi.el (gdb): Doc fix.
11500
5a4cf282
MR
115012011-10-05 Martin Rudalics <rudalics@gmx.at>
11502
11503 * window.el (frame-auto-hide-function): New option replacing
11504 frame-auto-delete. Suggested by Stefan Monnier.
11505 (window--delete): Call frame-auto-hide-function instead of
11506 investigating frame-auto-delete.
c96111ea
MR
11507 (window-point-1, set-window-point-1): New functions.
11508 (window-in-direction, record-window-buffer, window-state-get-1)
11509 (display-buffer-record-window): Use window-point-1 instead of
11510 window-point.
11511 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11512
9854542e
SM
115132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11516
8943cfb0
GM
115172011-10-05 Glenn Morris <rgm@gnu.org>
11518
11519 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11520 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11521
647ab967
LL
115222011-10-05 Leo Liu <sdl.web@gmail.com>
11523
11524 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11525 works with buffer object.
11526
3ddfbced
SM
115272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * mpc.el (mpc-tool-bar-map): Add labels.
11530
bdfa5dd2
GM
115312011-10-04 Glenn Morris <rgm@gnu.org>
11532
11533 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11534
0e2070b5
MR
115352011-10-04 Martin Rudalics <rudalics@gmx.at>
11536
11537 * window.el (window--delete): New function.
11538 (frame-auto-delete): Resuscitate option.
11539 (bury-buffer, replace-buffer-in-windows)
11540 (quit-window): Rewrite using window--delete.
11541 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11542 Pass display-buffer-mark-dedicated to window--display-buffer-2
11543 (Bug#9639).
11544
3dc61a09
SM
115452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11546
915a9b64
SM
11547 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11548 returns a list (bug#9554). Add remote file name completion.
11549 * comint.el (comint--table-subvert): Curry and get quote&unquote
11550 functions as arguments.
11551 (comint--complete-file-name-data): Adjust call accordingly.
11552 * pcomplete.el (pcomplete--table-subvert): Remove.
11553 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11554
3dc61a09
SM
11555 * minibuffer.el (completion-table-case-fold): Use currying.
11556 (completion--styles-type, completion--cycling-threshold-type):
11557 New constants.
11558 (completion-styles, completion-category-overrides)
11559 (completion-cycle-threshold): Use them.
11560 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11561 completion-table-case-fold.
11562
8ea0a993
SB
115632011-10-03 Stephen Berman <stephen.berman@gmx.net>
11564
11565 * minibuffer.el (completion-category-overrides): Fix type of styles
11566 and add more user friendly tags (bug#9660).
11567
8c24b7f6
SM
115682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11571 (mule-input-method-string): New widget.
11572 (default-input-method, language-info-custom-alist): Use it.
11573
428fe61a
SM
115742011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11575
32c1fffd
SM
11576 * pcomplete.el: Require comint.
11577 (pcomplete--common-suffix): Remove.
11578 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11579 (pcomplete--table-subvert): Sync with comint--table-subvert.
11580 (pcomplete--entries): Use comint-completion-file-name-table.
11581 * comint.el (comint-unquote-filename): Simplify.
11582 (comint-completion-file-name-table): New function (bug#9616).
11583 (comint--complete-file-name-data): Use it.
11584
428fe61a
SM
11585 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11586 (pcmpl-gnu-tar-buffer): Remove.
11587 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11588 around. Make sure pcomplete-suffix-list is only changed temporarily.
11589 Don't look inside the tar's file if it's too large.
428fe61a 11590
04c52e2f
CY
115912011-10-01 Chong Yidong <cyd@stupidchicken.com>
11592
ce3cefcc
CY
11593 * cus-edit.el (custom-mode-map):
11594 * epa.el (epa-key-list-mode-map):
11595 * man.el (Man-mode-map):
11596 * startup.el (splash-screen-keymap):
11597 * simple.el (special-mode-map): Use scroll-up-command and
11598 scroll-down-command.
11599
11600 * progmodes/idlw-help.el (idlwave-help-mode-map):
11601 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11602 * net/newst-plainview.el (newsticker-mode-map):
11603 * emulation/ws-mode.el (wordstar-mode-map):
11604 * emulation/vi.el (vi-com-map):
11605 * calc/calc-graph.el (calc-graph-show-dumb):
11606 * term/sun.el (terminal-init-sun):
11607 * term/ns-win.el (global-map):
11608 * progmodes/grep.el (grep-mode-map):
11609 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11610 * mail/rmail.el (rmail-mode-map):
11611 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11612
04c52e2f
CY
11613 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11614 custom-safe-themes as special.
11615
79adf8c8
JD
116162011-10-01 Julien Danjou <julien@danjou.info>
11617
11618 * notifications.el (notifications-notify): Fix docstring.
11619
63bd50d3
PS
116202011-10-01 Per Starbäck <per@starback.se>
11621
11622 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11623
199e4c7e
MR
116242011-09-30 Martin Rudalics <rudalics@gmx.at>
11625
11626 * startup.el (command-line-1): Fix last fix by inserting
11627 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11628 (Bug#9605) and (Bug#9636)
199e4c7e 11629
fe5f08dd
EZ
116302011-09-29 Eli Zaretskii <eliz@gnu.org>
11631
11632 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11633 window is hscrolled, move by logical lines. (Bug#9607)
11634 (line-move-visual): Update the doc string to the above effect.
11635
b5516bbd
MR
116362011-09-29 Martin Rudalics <rudalics@gmx.at>
11637
ccee00c0
MR
11638 * window.el (display-buffer-record-window): When WINDOW is the
11639 selected window use `point' instead of `window-point'. (Bug#9626)
11640
b5516bbd
MR
11641 * startup.el (command-line-1): Use insert-before-markers when
11642 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11643
b5516bbd
MR
11644 * help.el (help-window): Remove variable.
11645
52aa0014
GM
116462011-09-29 Glenn Morris <rgm@gnu.org>
11647
11648 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11649
df9a7357
JB
116502011-09-29 Juanma Barranquero <lekktu@gmail.com>
11651
11652 * descr-text.el (describe-char-categories): Accept category
11653 descriptions more than one line long.
11654
a8406c20
SM
116552011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11656
88d9610c
SM
11657 * simple.el (delete-trailing-whitespace): Fix last change.
11658
a5daf810
SM
11659 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11660 Don't confuse "y => 3" as the beginning of a `y' operation.
11661
a8406c20
SM
11662 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11663 object has more than 4 slots (bug#9613).
11664
a239d4e9
JB
116652011-09-28 Juanma Barranquero <lekktu@gmail.com>
11666
11667 * subr.el (with-output-to-temp-buffer):
11668 * net/quickurl.el (quickurl, quickurl-browse-url):
11669 Fix typos in docstrings.
11670
693fbdb6
EZ
116712011-09-27 Eli Zaretskii <eliz@gnu.org>
11672
11673 * minibuffer.el (completion-styles)
11674 (completion-category-overrides): Cross reference each other in doc
11675 strings.
11676
8b457e28
GM
116772011-09-27 Glenn Morris <rgm@gnu.org>
11678
11679 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11680 to split-string. (Bug#9606)
11681
85a16208
LMI
116822011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683
11684 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11685 (bug#9615).
11686
502f9ebd
CY
116872011-09-27 Chong Yidong <cyd@stupidchicken.com>
11688
11689 * emacs-lisp/package.el (list-packages): Fix echo area message.
11690
7690bdea
LL
116912011-09-27 Leo Liu <sdl.web@gmail.com>
11692
11693 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11694
e2ee6f30
MA
116952011-09-25 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * net/dbus.el (dbus-unregister-object): Don't release services for
11698 registered signals. (Bug#9581)
11699
f3f98342
TZ
117002011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11701
11702 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11703 function that picks between cfengine 2 and 3 support
11704 automatically. Update docs accordingly.
11705
dd7aa8dd
KH
117062011-09-22 Kenichi Handa <handa@m17n.org>
11707
11708 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11709 ZERO.
11710 (indian-itrans-v5-table-for-tamil): New variable.
11711 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11712
3f2b07f8
KM
117132011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11714
11715 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11716 that's true if the current command involved collapsing of text.
11717 It's reset to false at the beginning of the next command.
11718 (allout-post-command-business): Move the cursor to the beginning
11719 of entry if the cursor is hidden and collapsing activity just
11720 happened.
11721
371d6a61
CY
117222011-09-24 Chong Yidong <cyd@stupidchicken.com>
11723
11724 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11725 tracking (Bug#9541).
11726
2ac2721a
UJ
117272011-09-24 Ulf Jasper <ulf.jasper@web.de>
11728
11729 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11730 (newsticker-show-news): Automatically load html rendering package
11731 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11732 because w3m-fill-column is let-bound" and the error "Symbol's value
11733 as variable is void: w3m-fill-column".
2ac2721a 11734
fac7ae53
MA
117352011-09-24 Michael Albinus <michael.albinus@gmx.de>
11736
11737 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11738 Release services only if they are defined. (Bug#9581)
11739
e08b633b
RS
117402011-09-23 Richard Stallman <rms@gnu.org>
11741
e488d29c
RS
11742 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11743 distinguish start of paragraph from start of its text.
11744
19c38752
RS
11745 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11746
e08b633b
RS
11747 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11748 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11749 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11750
0a39f27e
AS
117512011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11752
11753 * international/mule-diag.el (mule-diag): Insert a newline after
11754 each fontset description.
11755
db4e950d
SM
117562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * simple.el (delete-trailing-whitespace):
11759 Document last change; simplify.
11760
eca3f3ea
PW
117612011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11762
d68e189a
PW
11763 * simple.el (delete-trailing-whitespace): Also delete
11764 extra newlines at the end of the buffer.
11765
eca3f3ea
PW
11766 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11767 (picture-newline): Use forward-line so as to ignore fields.
11768
01c157cc
SM
117692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * subr.el (with-wrapper-hook): Fix edebug spec.
11772
022de23e
LMI
117732011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11774
11775 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11776 (bug#4538).
11777
91683089
MA
117782011-09-23 Michael Albinus <michael.albinus@gmx.de>
11779
eca3f3ea
PW
11780 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11781 Fix nasty bug using wrong cached values.
91683089 11782
5bdd6fa4
AM
117832011-09-23 Alan Mackenzie <acm@muc.de>
11784
11785 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11786
97adfb97
CY
117872011-09-23 Chong Yidong <cyd@stupidchicken.com>
11788
11789 * window.el (pop-to-buffer): Ensure right window is selected if we
11790 chose another frame.
11791
d4ef2b50
EZ
117922011-09-22 Eli Zaretskii <eliz@gnu.org>
11793
11794 * simple.el (what-cursor-position): Use get-char-property-change
11795 and next-single-char-property-change, to be able to show display
11796 properties that come from overlays as well as text properties.
11797
72258fe5
CY
117982011-09-22 Chong Yidong <cyd@stupidchicken.com>
11799
11800 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11801
11802 * cmuscheme.el (run-scheme, switch-to-scheme):
11803 * cus-edit.el (customize-group, custom-buffer-create)
11804 (customize-browse):
11805 * info.el (info):
11806 * shell.el (shell):
11807 * mail/sendmail.el (mail):
11808 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11809
8f098516
RS
118102011-09-22 Richard Stallman <rms@gnu.org>
11811
11812 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11813 move back only to line beg, don't move back over blank lines.
11814
e74f1bb6
MA
118152011-09-22 Michael Albinus <michael.albinus@gmx.de>
11816
11817 * files.el (copy-directory): Set directory attributes only in case
11818 they could be retrieved from the source directory. (Bug#9565)
11819
bfeef8b6
DK
118202011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11821
11822 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11823 (hs-find-block-beginning, hs-hide-level-recursive):
11824 Ignore strings as well as comments. (Bug#9502)
11825
7e423bb8
AS
118262011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11827
11828 * progmodes/sql.el (sql-comint-postgres):
11829 Convert port number to a string. (Bug#9566)
11830
b4d72fcf
MR
118312011-09-22 Martin Rudalics <rudalics@gmx.at>
11832
11833 * window.el (quit-window): Undedicate window when switching to
11834 previous buffer. Reported by Thierry Volpiatto
11835 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11836 (special-display-popup-frame): When popping up a new frame reset
11837 its previous buffers to nil. Simplify code.
b4d72fcf 11838
a7b88dc6
MA
118392011-09-21 Michael Albinus <michael.albinus@gmx.de>
11840
11841 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11842 and process filter, as done also in `shell-command'.
11843
cf4eacfd
MR
118442011-09-21 Martin Rudalics <rudalics@gmx.at>
11845
eca3f3ea 11846 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11847 Call set-window-start with NOFORCE argument t.
11848 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11849 (quit-window): Reword doc-string. Handle new format of
11850 quit-restore parameter. Don't delete window if it has a
11851 previous buffer we can show instead of the present one.
11852 (display-buffer-record-window): Rewrite using a new format for
11853 the quit-restore window parameter
11854 (special-display-popup-frame, display-buffer-same-window)
11855 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11856 (display-buffer-pop-up-window, display-buffer-use-some-window):
11857 Adapt symbol passed to display-buffer-record-window.
11858 * help.el (help-window-setup): Handle new format of quit-restore
11859 parameter.
11860
8d28cb95
SM
118612011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11862
94ab793f
SM
11863 * faces.el (face-list): Fix docstring (bug#9564).
11864
8d28cb95
SM
11865 * window.el (display-buffer--action-function-custom-type):
11866 Don't include internal functions in the Custom interface.
11867
3820edeb
JL
118682011-09-20 Juri Linkov <juri@jurta.org>
11869
11870 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11871 (Info-forward-node, Info-backward-node, Info-next-preorder)
11872 (Info-last-preorder): Use it. (Bug#9528)
11873
5147931d
JL
118742011-09-20 Juri Linkov <juri@jurta.org>
11875
11876 * info.el (Info-last-preorder): Visit last menu item only when
11877 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11878
cf499a1a
JD
118792011-09-20 Julien Danjou <julien@danjou.info>
11880
11881 * password-cache.el (password-cache-remove): Remove entries even if the
11882 value is nil, so that password with a nil value (negative caching) is
11883 possible to invalidate.
11884
f84e2fe2
LM
118852011-09-20 Lawrence Mitchell <wence@gmx.li>
11886
11887 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11888 all whitespace around breakpoint. (Bug#9553)
11889 (f90-find-breakpoint): Only break at whitespace inside a comment.
11890
78054a46
SM
118912011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * minibuffer.el (completion-file-name-table): Keep track of errors.
11894 (completion-table-with-predicate): Handle the case where pred1 is nil.
11895 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11896
345083b2
SM
118972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11898
e24e27be
SM
11899 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11900 (debugger-return-value): Signal an error if the debugging context does
11901 not await any return value.
11902
345083b2
SM
11903 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11904 * image-mode.el (image-toggle-display-text)
11905 (image-toggle-display-image): Stay away from evil `intangible'.
11906
08d355e3
LL
119072011-09-19 Leo Liu <sdl.web@gmail.com>
11908
11909 * replace.el (occur-revert-arguments): Make it permanent-local.
11910 (occur-mode): Don't call font-lock-defontify.
11911
f01da43f
CY
119122011-09-19 Chong Yidong <cyd@stupidchicken.com>
11913
11914 * net/ldap.el (ldap-search-internal): Don't push empty search
11915 result (Bug#9508).
11916
b6072fa6
SM
119172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11920
443d6696
MA
119212011-09-19 Michael Albinus <michael.albinus@gmx.de>
11922
11923 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11924 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11925
7cc6e154
JL
119262011-09-18 Juri Linkov <juri@jurta.org>
11927
11928 * buff-menu.el (Buffer-menu-mode-map):
11929 * dired.el (dired-mode-map):
11930 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11931 (lisp-interaction-mode-map):
11932 * emacs-lisp/package.el (package-menu-mode-map):
11933 * epa.el (epa-key-list-mode-map):
11934 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11935 (menu-bar-options-menu):
11936 * outline.el (outline-mode-menu-bar-map):
11937 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11938 * vc/vc-dir.el (vc-dir-menu-map):
11939 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11940 Capitalize non-function content words in menu item strings.
11941
11942 * dired.el (dired-mode-map): Add menu item for
11943 `image-dired-dired-toggle-marked-thumbs'.
11944
80302a81
JL
119452011-09-18 Juri Linkov <juri@jurta.org>
11946
11947 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11948 to `isearch-case-fold-search' and restore its original value
11949 after the `isearch-mode' call.
11950
46c5cf66
JL
119512011-09-18 Juri Linkov <juri@jurta.org>
11952
11953 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11954 because `zgrep' returns 1 for successful matches (bug#9226).
11955
d18b513b
JL
119562011-09-18 Juri Linkov <juri@jurta.org>
11957
11958 * info.el (Info-extract-menu-node-name): Check the second match
11959 for empty string (second test-case of bug#9528).
11960 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11961 intermediate nodes to the history (first test-case of bug#9528).
11962
72753f87
JL
119632011-09-18 Juri Linkov <juri@jurta.org>
11964
11965 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11966 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11967
c9384295
JL
119682011-09-18 Juri Linkov <juri@jurta.org>
11969
1154d12e
JB
11970 * info.el (Info-file-supports-index-cookies):
11971 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11972 outputs one more line for long file names (bug#4142).
c9384295 11973
d473dce8
CY
119742011-09-18 Chong Yidong <cyd@stupidchicken.com>
11975
11976 * newcomment.el (comment-normalize-vars): If prompting for
11977 comment-start, set comment-start-skip too (Bug#8424).
11978
2176854d
JB
119792011-09-18 Johan Bockgård <bojohan@gnu.org>
11980
11981 * icomplete.el: Fix previous fix of Bug#5849.
11982 (icomplete-mode): Don't set completion-show-inline-help.
11983 (icomplete-minibuffer-setup): Set completion-show-inline-help
11984 locally during icompletion.
11985
3aace4e4
CY
119862011-09-18 Chong Yidong <cyd@stupidchicken.com>
11987
c940224f
CY
11988 * woman.el (woman2-process-escapes): Don't delete unrecognized
11989 escapes (Bug#7843).
11990
3aace4e4
CY
11991 * files.el (inhibit-first-line-modes-regexps): Add image files.
11992 (hack-local-variables-prop-line): Return nil for malformed
11993 prop-lines (Bug#9044).
11994
710dec63
MA
119952011-09-18 Michael Albinus <michael.albinus@gmx.de>
11996
11997 * net/tramp.el (top): Don't require 'shell.
11998 (tramp-methods): Fix docstring.
11999 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12000 Return complete remote file name. Handle "smb" case.
12001 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12002 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12003
12004 * net/tramp-compat.el (top): Require 'shell.
12005
12006 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12007 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12008 `tramp-current-host'.
12009 (tramp-get-remote-tmpdir): Remove.
12010
12011 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12012 `tramp-tmpdir' entries.
12013 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12014 (tramp-smb-handle-file-attributes): Ignore errors.
12015 (tramp-smb-wait-for-output): Check also for process end.
12016
5d5ac8ec
LMI
120172011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12018
12019 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12020 when sending QUIT (bug#9312).
12021
8c0f49f0
CY
120222011-09-17 Chong Yidong <cyd@stupidchicken.com>
12023
12024 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12025 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12026 occur-mode-display-occurrence.
12027 (occur-edit-mode): Add usage message.
12028 (occur-cease-edit): New command.
12029 (occur-after-change-function): Use text properties to find the
12030 position of the prefix text.
12031 (occur-engine): Set stickiness of prefix text properties.
12032
8f1383f7
GM
120332011-09-17 Glenn Morris <rgm@gnu.org>
12034
12035 * progmodes/etags.el (complete-tag):
12036 Fix call to completion-in-region. (Bug#9526)
12037
744ba0e3
JL
120382011-09-17 Juri Linkov <juri@jurta.org>
12039
12040 * textmodes/ispell.el (ispell-word): Add to the error message
12041 the word, ispell program name and current dictionary (bug#9121).
12042 (ispell-tex-arg-end): Capitalize "error" in the error message.
12043
d9bbf400
AS
120442011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12047 check. (Bug#4251)
12048
8da11505
JL
120492011-09-17 Juri Linkov <juri@jurta.org>
12050
12051 * window.el (window-safe-min-height, window-safe-min-width):
12052 Fix typos (followup to bug#9522).
12053
a91adc7e
SJ
120542011-09-17 Sven Joachim <svenjoac@gmx.de>
12055
12056 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12057
064f328a
EZ
120582011-09-16 Eli Zaretskii <eliz@gnu.org>
12059
12060 * simple.el (line-move): If goal-column is set, move by logical
12061 lines, not by display lines. (Bug#971)
12062 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12063 to reflect the above change.
12064
e69df516
SM
120652011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * image.el (imagemagick-register-types): Use regexp-opt.
12068
cbb0f9ab
CY
120692011-09-15 Chong Yidong <cyd@stupidchicken.com>
12070
12071 * window.el (display-buffer-base-action): Rename from
12072 display-buffer-default-action. Make default value empty.
12073 (display-buffer-overriding-action): Convert to defvar.
12074 (display-buffer-fallback-action): New var.
12075
25322144
CY
120762011-09-15 Chong Yidong <cyd@stupidchicken.com>
12077
12078 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12079 declaration.
12080 (package--add-to-archive-contents): If there is a duplicate entry
12081 with an older version, remove it.
12082 (package-menu-mark-delete, package-menu-mark-install)
12083 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12084 (package-menu-mark-obsolete-for-deletion):
12085 Use package-menu-get-status instead of a regexp search.
25322144
CY
12086 (package-menu-get-status): Use tabulated-list-entry.
12087 (package-menu-mark-upgrades): New command.
d770725a 12088 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12089 (package-menu-execute): Do installation before deletion.
12090 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12091 instead of checking major-mode.
12092 (package-menu--find-upgrades): New function.
12093
7520339c
LMI
120942011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12095
12096 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12097 passwords in the log buffer.
65a046c4
LMI
12098 (smtpmail-process-filter): Update the process marker so that the
12099 "broken by peer" status message is inserted in the right place.
7520339c 12100
d3c30954
SM
121012011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12102
3fe48822
SM
12103 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12104 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12105 bibtex-completion-at-point-function.
12106 (bibtex-completion-at-point-function): Use them.
12107
1b8b3954
SM
12108 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12109
d3c30954
SM
12110 * mpc.el (mpc-constraints-tag-lookup): New function.
12111 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12112 also to browser "album|playlist".
12113
72779976
JL
121142011-09-14 Juri Linkov <juri@jurta.org>
12115
12116 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12117 (isearch-edit-string): Use length of `isearch-string' when
12118 `isearch-fail-pos' returns nil.
12119 (isearch-message): Remove duplicate code and call
12120 `isearch-fail-pos' with arg `t'.
12121
a0bf2bcd
CY
121222011-09-14 Chong Yidong <cyd@stupidchicken.com>
12123
17bb0a2d
CY
12124 * replace.el (occur-mode-goto-occurrence): Don't force using other
12125 window (Bug#9499).
12126
a0bf2bcd
CY
12127 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12128
f678e0b6
MR
121292011-09-14 Martin Rudalics <rudalics@gmx.at>
12130
12131 * window.el (display-buffer-window): Remove.
12132 (display-buffer-record-window): Use help-setup window parameter
12133 instead of variable display-buffer-window.
12134 (display-buffer-function, special-display-buffer-names)
12135 (special-display-function): Mention help-setup parameter instead
12136 of display-buffer-window in doc-string.
d3c30954
SM
12137 * help.el (help-window-setup): New argument help-window.
12138 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12139 Reword some messages.
12140 (with-help-window): Pass window used for displaying the buffer
12141 to help-window-setup. Don't set display-buffer-window.
12142
8e39b2e8
GM
121432011-09-13 Glenn Morris <rgm@gnu.org>
12144
12145 * emacs-lisp/debug.el (debugger-make-xrefs):
12146 Preserve point. (Bug#9462)
12147
85e9c04b
CY
121482011-09-13 Chong Yidong <cyd@stupidchicken.com>
12149
12150 * window.el (window-deletable-p): Use next-frame.
12151
1b36ed6a
MR
121522011-09-13 Martin Rudalics <rudalics@gmx.at>
12153
12154 * window.el (window-auto-delete): Remove.
12155 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12156 dedication and previous buffers.
1b36ed6a
MR
12157 (switch-to-prev-buffer): Don't delete window.
12158 (delete-windows-on): Delete a window's frame if and only if the
12159 window is dedicated.
12160 (replace-buffer-in-windows): Delete buffer's window or frame if
12161 and only if window is dedicated.
12162 (quit-window): Handle quit-restore as before last change.
4d61f28d 12163 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12164
ef8ef9fb
CY
121652011-09-13 Chong Yidong <cyd@stupidchicken.com>
12166
12167 * window.el (window-deletable-p): Never delete the last frame on a
12168 given terminal.
12169
b2cba41e
GM
121702011-09-13 Glenn Morris <rgm@gnu.org>
12171
12172 * help.el (describe-key-briefly): Copy previous standard-output change.
12173
51553db6 121742011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12175
12176 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12177
b7556719
GM
121782011-09-13 Glenn Morris <rgm@gnu.org>
12179
12180 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12181 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12182
64b51947
CY
121832011-09-12 Chong Yidong <cyd@stupidchicken.com>
12184
12185 * dired-aux.el (dired-mark-read-string): Don't return default
12186 value on empty input (Bug#9361).
12187 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12188 Omit initial minibuffer contents.
12189 (dired-do-chmod): Signal an error on empty input.
12190 (dired-mark-read-string): Don't return default on empty input.
12191
12192 * files.el (file-modes-symbolic-to-number): Doc fix.
12193
393a301e
SM
121942011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * international/mule-cmds.el (ucs-completions): Remove.
12197 (read-char-by-name): Use complete-with-action instead; add metadata.
12198
fa5660f9
CY
121992011-09-11 Chong Yidong <cyd@stupidchicken.com>
12200
12201 * window.el (display-buffer--action-function-custom-type)
12202 (display-buffer--action-custom-type): New vars.
12203 (display-buffer-alist, display-buffer-default-action)
12204 (display-buffer-overriding-action): Add defcustom types.
12205
4a592f66
CY
12206 * frame.el (delete-other-frames): Doc fix (Bug#276).
12207
73d56dbd
LMI
122082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12209
12210 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12211
37ac18a3
CY
122122011-09-11 Chong Yidong <cyd@stupidchicken.com>
12213
12214 Change modes that used same-window-* vars to use switch-to-buffer.
12215
12216 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12217 Use switch-to-buffer.
12218
12219 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12220 (customize-browse, custom-buffer-create-other-window):
12221 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12222
12223 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12224 (Info-prev, Info-up, Info-speedbar-goto-node)
12225 (info-display-manual): Use switch-to-buffer.
12226 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12227
12228 * mail/sendmail.el (mail): Use switch-to-buffer.
12229 (mail-recover): Use switch-to-buffer-other-window.
12230
12231 * cmuscheme.el (run-scheme, switch-to-scheme):
12232 * ielm.el (ielm):
12233 * shell.el (shell):
12234 * net/rlogin.el (rlogin):
12235 * net/telnet.el (telnet, rsh):
12236 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12237
10195bd6
AS
122382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12239
12240 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12241
b322f63a
LMI
122422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12243
39d7fed6
LMI
12244 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12245 so don't mention it (bug#9301).
ba5a81f1 12246 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12247
ee0e9f11
LMI
12248 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12249 match `x', `w32' and `ns', like the manual says (bug#9029).
12250
0b1c89c1 12251 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12252 (process-kill-buffer-query-function): Mention the buffer name in
12253 the query.
0b1c89c1 12254
77549ea8
LMI
12255 * image-mode.el (image-next-line): The line parameter is mandatory
12256 (bug#9258).
12257
803ef892
LMI
12258 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12259 which can be useful (bug#9301).
12260
12980837
LMI
12261 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12262
91054f8f
LMI
12263 * subr.el (match-string): Mention that the current buffer should
12264 be the same as the search was done in (bug#9282).
12265
b322f63a
LMI
12266 * facemenu.el: Disable the remove-* commands if the mark isn't
12267 active (bug#9162).
12268
3199b96f
CY
122692011-09-10 Chong Yidong <cyd@stupidchicken.com>
12270
12271 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12272 of display-buffer.
12273 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12274
12275 * replace.el (occur-mode-goto-occurrence)
12276 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12277 and display-buffer.
12278
12279 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12280 display-buffer.
12281
12282 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12283 special-display and same-window variables.
12284 (mail-other-window): Use switch-to-buffer-other-window.
12285 (mail-other-frame): USe switch-to-buffer-other-frame.
12286
393a301e
SM
12287 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12288 Use display-buffer-other-frame.
3199b96f
CY
12289 (gdb-display-gdb-buffer): Use pop-to-buffer.
12290
12291 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12292
12293 * progmodes/python.el: Don't set same-window-buffer-names.
12294
12295 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12296
12297 * window.el (display-buffer-alist): Add *Python*.
12298
8319e0bf
CY
122992011-09-10 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * window.el (display-buffer-alist): Add entry for buffers
12302 previously handled same-window-*.
12303 (display-buffer-alist, display-buffer-default-action)
12304 (display-buffer-overriding-action): Mark as risky.
12305 (display-buffer-alist): Document action function changes.
12306 (display-buffer--same-window-action)
12307 (display-buffer--other-frame-action): New variables.
12308 (switch-to-buffer, display-buffer-other-frame): Use them.
12309 (display-buffer): Rename reuse-frame entry to reusable-frames.
12310 (display-buffer-reuse-selected-window): Function deleted.
12311 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12312 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12313 (display-buffer-special): New function.
12314 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12315 display-buffer-reuse-or-pop-window. Split off special-display
12316 part into display-buffer-special.
12317 (display-buffer-use-some-window): Don't perform any special
12318 pop-up-frames handling.
12319 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12320 (display-buffer--maybe-same-window): Rename from
0d3ff375 12321 display-buffer-maybe-same-window.
8319e0bf 12322
919a69aa
CY
12323 * info.el: Don't set same-window-regexps.
12324 (info-setup): New function.
12325 (info-other-window, info): Call it.
12326
12327 * cus-edit.el: Don't set same-window-regexps.
12328 (customize-group): New argument.
12329 (customize-group-other-window): Use it.
12330 (customize-face, customize-face-other-window): Likewise.
12331 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12332
8319e0bf
CY
12333 * net/rlogin.el:
12334 * net/telnet.el:
12335 * progmodes/gud.el: Don't set same-window-regexps.
12336
12337 * cmuscheme.el:
12338 * ielm.el:
12339 * shell.el:
12340 * mail/sendmail.el:
12341 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12342
25173000
JL
123432011-09-10 Juri Linkov <juri@jurta.org>
12344
12345 * isearch.el (isearch-edit-string): Remove obsolete mention of
12346 `C-w' (`isearch-yank-word-or-char') from docstring.
12347 (isearch-query-replace): Fix typo in docstring (bug#9466).
12348
056e44ef
JL
123492011-09-10 Juri Linkov <juri@jurta.org>
12350
12351 * paren.el (show-paren-function): Don't show escaped parens.
12352 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12353
c3760c17
EZ
123542011-09-10 Eli Zaretskii <eliz@gnu.org>
12355
12356 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12357 (mm-default-file-encoding): Remove autoload forms, they are
12358 replaced with autoload cookies in mml.el and mm-encode.el.
12359 (mail-add-attachment): New command.
12360 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12361 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12362 the doc string.
12363 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12364
fece895e
RT
123652011-09-10 Reuben Thomas <rrt@sc3d.org>
12366
e69df516
SM
12367 * simple.el (count-words-region): Use buffer if there's no region
12368 (bug#9429).
fece895e 12369
5e68ce4a
JL
123702011-09-09 Juri Linkov <juri@jurta.org>
12371
12372 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12373 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12374 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12375
0a6b9622
AM
123762011-09-09 Alan Mackenzie <acm@muc.de>
12377
12378 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12379 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12380
14a29deb
EZ
123812011-09-09 Eli Zaretskii <eliz@gnu.org>
12382
12383 Fix for Savannah bug#9392.
12384 * simple.el (mail-encode-mml): New defvar.
12385
12386 * mail/rmail.el (mail-encode-mml): Add a defvar.
12387 (rmail-enable-mime-composing): Default to t.
12388 (rmail-forward): Use MIME method of forwarding only if both
12389 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12390 Set mail-encode-mml non-nil if the MIME method was used.
12391
12392 * mail/sendmail.el (mml-to-mime): Add autoload form.
12393 (mail-encode-mml): Add a defvar.
12394 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12395 to nil.
12396 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12397 message through mml-to-mime, and reset mail-encode-mml to nil.
12398
28c45130
GM
123992011-09-09 Glenn Morris <rgm@gnu.org>
12400
12401 * woman.el (woman-if-body): When processing an .el block,
12402 do not delete the next .el block as well. (Bug#9447)
69f4b618 12403 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12404
9b1c252e
MR
124052011-09-08 Martin Rudalics <rudalics@gmx.at>
12406
12407 * window.el (window-deletable-p): Make sure window is live before
12408 invoking window-prev-buffers.
12409
567457e3
LL
124102011-09-08 Leo Liu <sdl.web@gmail.com>
12411
12412 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12413
97f05794
JL
124142011-09-08 Juri Linkov <juri@jurta.org>
12415
12416 * progmodes/compile.el (compilation-environment): Make it
12417 a defcustom (bug#8340).
12418
8b0874b5
MR
124192011-09-08 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (frame-auto-delete): Rename to window-auto-delete.
12422 Make it control auto-deletion of windows and/or frames.
12423 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12424 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12425 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12426 Rewrite handling of case when window/frame can be deleted.
12427 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12428 argument t. (Bug#9456)
8b0874b5 12429
4feb6e73
CY
124302011-09-07 Chong Yidong <cyd@stupidchicken.com>
12431
12432 * help-mode.el (help-mode): Restore autoload.
12433
91ab9c13
JL
124342011-09-07 Juri Linkov <juri@jurta.org>
12435
12436 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12437 `compilation-environment'. Set buffer-local
12438 `compilation-environment' to `thisenv' later after (funcall mode).
12439 (Bug#8340)
12440
12441 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12442 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12443 instead of replacing its value. (Bug#8340)
12444
0527e251
JL
124452011-09-07 Juri Linkov <juri@jurta.org>
12446
12447 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12448 based on text properties put by `grep-filter' instead of matching
12449 escape sequences.
12450 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12451 to the value of `grep-error-screen-columns' (bug#9438).
12452
249f792c
JL
124532011-09-07 Juri Linkov <juri@jurta.org>
12454
12455 * simple.el (next-error-highlight, next-error-highlight-no-select):
12456 Doc fix (bug#9432).
12457
ff7271b9
OT
124582011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12459
12460 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12461 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12462
183fc730
LL
124632011-09-07 Leo Liu <sdl.web@gmail.com>
12464
12465 * net/rcirc.el (rcirc-mode): Conditionally initialize
12466 rcirc-input-ring.
12467
77694924
SM
124682011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * emacs-lisp/find-func.el (find-function-C-source): Only set
12471 find-function-C-source-directory after checking that we found a source
12472 file there (bug#9440).
12473
d809b8eb
AM
124742011-09-06 Alan Mackenzie <acm@muc.de>
12475
12476 * isearch.el (isearch-other-meta-char): Wherever a key list is
12477 unread, "unread" the prefix arg, too. This fixes bug #8901.
12478
453de99f
OG
124792011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12480
12481 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12482
90439906
JL
124832011-09-05 Juri Linkov <juri@jurta.org>
12484
12485 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12486
f62bd846
JL
124872011-09-05 Juri Linkov <juri@jurta.org>
12488
12489 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12490 keeping point where processing of grep matches begins, and
12491 continue to delete remaining escape sequences from the same point.
12492 (grep-filter): Make leading zero optional in "0?1;31m" because
12493 git-grep emits "\033[1;31m" escape sequences unlike expected
12494 "\033[01;31m" as GNU Grep does (bug#9408).
12495 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12496
045820ec
JL
124972011-09-05 Juri Linkov <juri@jurta.org>
12498
12499 * subr.el (y-or-n-p): Capitalize "yes".
12500
f5e29b9b
MA
125012011-09-04 Michael Albinus <michael.albinus@gmx.de>
12502
12503 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12504 `tramp-cache-unload-hook' where appropriate.
12505 (tramp-methods): Rename `tramp-remote-sh' to
12506 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12507 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12508
12509 * net/tramp-sh.el (top): Don't require 'shell.
12510 (tramp-methods): Add `tramp-remote-shell' and
12511 `tramp-remote-shell-args' entries.
12512 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12513 (tramp-sh-handle-shell-command): Remove.
12514 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12515 Use `tramp-remote-shell'.
12516
2784c434
CY
125172011-09-03 Chong Yidong <cyd@stupidchicken.com>
12518
393a301e 12519 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12520 (sendmail-query-once): Save directly to send-mail-function.
12521 Update message-send-mail-function too.
12522
12523 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12524
464cdf56
CS
125252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12526
12527 * progmodes/python.el (python-mode-map): Use correct function to
12528 start python interpreter from menu-bar (as reported by Geert
12529 Kloosterman).
12530 (inferior-python-mode-map): Fix typo.
393a301e 12531 (python-shell-map): Remove.
464cdf56 12532
d37e5c87
DD
125332011-09-03 Deniz Dogan <deniz@dogan.se>
12534
12535 * net/rcirc.el (rcirc-print): Simplify code for
12536 rcirc-scroll-show-maximum-output. There is no need to walk
12537 through all windows to find the right one.
12538
f3ada0ee
CS
125392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12540
12541 * help.el (help-return-method): Doc fix.
12542
1f3c99ca
MR
125432011-09-03 Martin Rudalics <rudalics@gmx.at>
12544
12545 * window.el (window-deletable-p): Don't return a non-nil value
12546 when there's a buffer that was shown in the window before.
12547 (Bug#9419)
393a301e
SM
12548 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12549 Set window's previous buffers to nil.
1f3c99ca 12550
a3cf097f
EZ
125512011-09-03 Eli Zaretskii <eliz@gnu.org>
12552
12553 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12554 newline before and after the tag line, so it doesn't interfere
12555 with determining the paragraph direction of bidirectional text.
12556
3d03de90
LL
125572011-09-03 Leo Liu <sdl.web@gmail.com>
12558
12559 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12560
c3313451
CY
125612011-09-02 Chong Yidong <cyd@stupidchicken.com>
12562
393a301e 12563 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12564 (pop-to-buffer): Change interactive spec. Pass second argument
12565 directly to display-buffer.
12566 (display-buffer): Fix interactive spec. Use functionp to
12567 distinguish between a function and a list of functions.
12568
12569 * abbrev.el (edit-abbrevs):
12570 * arc-mode.el (archive-extract):
12571 * autoinsert.el (auto-insert):
12572 * bookmark.el (bookmark-bmenu-list):
12573 * files.el (find-file):
12574 * view.el (view-buffer):
12575 * progmodes/compile.el (compilation-goto-locus):
12576 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12577
89894cd8
CY
125782011-09-02 Chong Yidong <cyd@stupidchicken.com>
12579
12580 * window.el (display-buffer-alist): Doc fix.
12581 (display-buffer): Add docstring. Don't treat
12582 display-buffer-default specially.
12583 (display-buffer-reuse-selected-window)
12584 (display-buffer-same-window, display-buffer-maybe-same-window)
12585 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12586 (display-buffer-pop-up-window)
12587 (display-buffer-reuse-or-pop-window)
12588 (display-buffer-use-some-window): New functions.
12589 (display-buffer-default-action): Use them.
393a301e 12590 (display-buffer-default): Delete.
89894cd8
CY
12591 (pop-to-buffer-1): Fix choice of actions.
12592
ae0bc9fb
SM
125932011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * minibuffer.el (completion--insert-strings): Don't get confused by
12596 completion entries that end with an LF char.
12597
e9d90883
EZ
125982011-09-01 Eli Zaretskii <eliz@gnu.org>
12599
12600 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12601
437014c8
CY
126022011-09-01 Chong Yidong <cyd@stupidchicken.com>
12603
12604 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12605 (display-buffer-same-window, display-buffer-other-window):
12606 New functions.
437014c8
CY
12607 (pop-to-buffer-1): New function. Use the above.
12608 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12609 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12610
12611 * view.el (view-buffer-other-window, view-buffer-other-frame):
12612 Just use pop-to-buffer.
12613
a5e063d5
TV
126142011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12615
12616 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12617
793d32bb
WH
126182011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12619
12620 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12621
d65e4c15
RS
126222011-08-31 Richard Stallman <rms@gnu.org>
12623
12624 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12625 of the separation of rmail-view-buffer from rmail-buffer.
12626 If you say no to "replace original", the decrypt is in the
12627 view buffer. If you say yes, the decrypt goes into the
12628 rmail buffer also.
12629
f818cd2a
MR
126302011-08-31 Martin Rudalics <rudalics@gmx.at>
12631
12632 * window.el (display-buffer-window): Rewrite doc-string.
12633 (display-buffer-record-window): New function.
12634 (display-buffer-macro-specifiers)
12635 (display-buffer-even-window-sizes, display-buffer-set-height)
12636 (display-buffer-set-width, display-buffer-in-window)
12637 (display-buffer-reuse-window, display-buffer-split-specifiers)
12638 (display-buffer-side-specifiers, display-buffer-split-window-1)
12639 (display-buffer-split-window, display-buffer-split-atom-window)
12640 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12641 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12642 (display-buffer-other-window-means-other-frame)
12643 (display-buffer-normalize-special)
12644 (display-buffer-normalize-default)
12645 (display-buffer-normalize-argument)
12646 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12647 (display-buffer-normalize-specifiers, display-buffer-frame)
12648 (display-buffer-same-window, display-buffer-same-frame)
12649 (display-buffer-other-window)
12650 (display-buffer-same-frame-other-window)
12651 (display-buffer-other-frame, pop-to-buffer-same-window)
12652 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12653 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12654 (switch-to-buffer-same-frame)
12655 (switch-to-buffer-other-window-same-frame)
12656 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12657 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12658 (display-buffer-alist-set): Remove.
12659 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12660 (special-display-regexps, special-display-function):
12661 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12662 parameter.
12663 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12664 (special-display-frame-alist, special-display-popup-frame)
12665 (same-window-buffer-names, same-window-regexps, same-window-p)
12666 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12667 (split-window-preferred-function, split-height-threshold)
12668 (split-width-threshold, window-splittable-p)
12669 (split-window-sensibly, window--try-to-split-window)
12670 (window--frame-usable-p, even-window-heights)
12671 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12672 (window--display-buffer-2, display-buffer-other-frame):
12673 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12674 (display-buffer-default, display-buffer-assq-regexp): New functions.
12675 (display-buffer-alist): Rewrite doc-string.
12676 (display-buffer-default-action)
12677 (display-buffer-overriding-action): New variables.
12678 (display-buffer, switch-to-buffer): Rewrite.
12679 (pop-to-buffer): Restore Emacs 23 behavior but use
12680 window-normalize-buffer-to-display.
12681 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12682 Restore Emacs 23 behavior but use
12683 window-normalize-buffer-to-switch-to.
12684 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12685 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12686 Rewrite using Emacs 23 options.
f818cd2a 12687
5bc3b51d
MA
126882011-08-31 Michael Albinus <michael.albinus@gmx.de>
12689
12690 * net/tramp.el (tramp-root-regexp): Remove.
12691 (tramp-completion-file-name-regexp-unified)
12692 (tramp-completion-file-name-regexp-separate)
12693 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12694 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12695 (tramp-drop-volume-letter): Simplify definition.
12696 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12697
b1a4f8e1
SM
126982011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12701 (bug#9356).
12702
5664fa7b
RT
127032011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12704
b1a4f8e1 12705 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12706
9a45d6c3
JL
127072011-08-29 Juri Linkov <juri@jurta.org>
12708
12709 * isearch.el (isearch-done): Don't display message "Mark saved"
12710 when arg `edit' is non-nil to prevent its flicker in the echo area.
12711
fb87e0fb
CY
127122011-08-28 Chong Yidong <cyd@stupidchicken.com>
12713
12714 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12715 obsolete packages for deletion.
12716
09ac1c2a
CS
127172011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12718
12719 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12720 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12721 view-mode from help-mode.
12722 (help-xref-override-view-map): Remove.
12723 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12724 view-mode is not used anymore.
12725
7a1ff57f
CY
127262011-08-28 Chong Yidong <cyd@stupidchicken.com>
12727
12728 * server.el (server-port): Doc fix.
12729
b9696605
CY
12730 * cus-theme.el (custom-theme-choose-mode): Inherit from
12731 special-mode (Bug#9124).
12732 (custom-theme-choose-mode-map): Add special-mode to parent.
12733
ef8cdf8c
AM
127342011-08-28 Alan Mackenzie <acm@muc.de>
12735
12736 * progmodes/cc-fonts.el
12737 (c-make-font-lock-BO-decl-search-function): New function.
12738 (c-basic-matchers-after - "Fontify the clauses after various
12739 keywords"): Extract the three keyword lists for the 3 erroneous
12740 constructs from the list of four, and use the new function above
12741 in place of an old one.
12742
27de4e20
DD
127432011-08-28 Deniz Dogan <deniz@dogan.se>
12744
12745 * net/rcirc.el (rcirc-insert-prev-input)
12746 (rcirc-insert-next-input): Remove unused argument.
12747
356a3681
SM
127482011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12751
3fc9b218
AM
127522011-08-27 Alan Mackenzie <acm@muc.de>
12753
12754 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12755 handle function pointer parameters properly.
12756
538a061c
MR
127572011-08-27 Martin Rudalics <rudalics@gmx.at>
12758
12759 * window.el (display-buffer-reuse-window): Fix case where
12760 selected window was reused with non-nil OTHER-WINDOW argument.
12761 (Bug#9381)
12762
35b1c40c
DD
127632011-08-27 Deniz Dogan <deniz@dogan.se>
12764
12765 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12766 oftc's NickServ messages.
12767
2f6a3e79
GM
127682011-08-27 Glenn Morris <rgm@gnu.org>
12769
12770 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12771
7254299e
CY
127722011-08-26 Chong Yidong <cyd@stupidchicken.com>
12773
12774 * emacs-lisp/package.el (package-install): Call package-initialize
12775 if called interactively.
12776
f8ccf167
LL
127772011-08-26 Leo Liu <sdl.web@gmail.com>
12778
12779 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12780
3e8cd5ce
JL
127812011-08-25 Juri Linkov <juri@jurta.org>
12782
12783 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12784 `search-whitespace-regexp' (bug#9364).
12785
93eb7113
JL
127862011-08-25 Juri Linkov <juri@jurta.org>
12787
12788 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12789 `regexp-search-ring' to their global values to protect from
12790 updating by `read-from-minibuffer' (bug#9185).
12791
f65d1611
JL
127922011-08-25 Juri Linkov <juri@jurta.org>
12793
12794 * textmodes/ispell.el (ispell-command-loop): Add newline
12795 at the end of the "Use option `i'..." line.
12796
f1cf7a31
JL
127972011-08-25 Juri Linkov <juri@jurta.org>
12798
12799 * battery.el (display-battery-mode): If `battery-status-function'
12800 or `battery-mode-line-format' is nil, display the message and set
12801 `display-battery-mode' to nil (bug#9363).
12802
0c95fcf7
EZ
128032011-08-25 Eli Zaretskii <eliz@gnu.org>
12804
12805 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12806 bidi-string-mark-left-to-right; they are unnecessary now.
12807
a2ebe600
DD
128082011-08-25 Deniz Dogan <deniz@dogan.se>
12809
12810 * net/quickurl.el: Documentation typo fixes.
12811
e4ed06f1
CY
128122011-08-25 Chong Yidong <cyd@stupidchicken.com>
12813
12814 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12815
e5f1c99e
GM
128162011-08-25 Glenn Morris <rgm@gnu.org>
12817
b2948976
GM
12818 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12819
e5f1c99e
GM
12820 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12821 (smtpmail-via-smtp): Handle nil response from smtp.
12822
f22f4808
JL
128232011-08-24 Juri Linkov <juri@jurta.org>
12824
12825 * proced.el (proced-marked): Inherit from `error' instead of
12826 `font-lock-warning-face'.
12827
12828 * ibuffer.el (ibuffer-marked-face): Change default face from
12829 `font-lock-warning-face' to `warning'.
12830 (ibuffer-deletion-face): Change default face from
12831 `font-lock-type-face' to `error'.
12832
12833 * battery.el (battery-update): Use the face `error' instead of
12834 `font-lock-warning-face' (bug#6117).
12835
6a93965e
JL
128362011-08-24 Juri Linkov <juri@jurta.org>
12837
12838 * faces.el (success): Change face color from "Green3" to
12839 "ForestGreen" on light background (bug#9353).
12840
1ed43b09
CY
128412011-08-24 Chong Yidong <cyd@stupidchicken.com>
12842
5664fa7b
RT
12843 * window.el (quit-window): Rename from quit-restore-window.
12844 Use same arglist as old quit-window.
1ed43b09
CY
12845 (frame-auto-delete): Doc fix.
12846
12847 * view.el (view-mode-exit): Use quit-window.
12848
11dcdbb2
JL
128492011-08-24 Juri Linkov <juri@jurta.org>
12850
12851 * isearch.el (isearch-ring-adjust1): Start visiting previous
12852 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12853 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12854 for empty search string (when the last search string is reused
12855 automatically) to adjust the isearch ring to the last element and
12856 prepare the correct index for further M-p commands (bug#9185).
12857
de62b4df
KH
128582011-08-24 Kenichi Handa <handa@m17n.org>
12859
12860 * international/ucs-normalize.el: If decomposition property of
12861 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12862 nil.
12863 (nfd, nfkd): Likewise.
12864
963b492b
SM
128652011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12868 from process filters aren't reliably transmitted to the surrounding
12869 accept-process-output.
12870 (mpc-proc-check): New function.
12871 (mpc-proc-sync): Use it (bug#8293)
12872
93b6b5e1
SM
128732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12876 Add compatibility functions (bug#9313).
12877
bca633fb
EZ
128782011-08-23 Eli Zaretskii <eliz@gnu.org>
12879
b177498a
EZ
12880 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12881
6df6ae42 12882 * international/uni-bidi.el: Regenerate.
bca633fb 12883
0902a04e
KH
128842011-08-23 Kenichi Handa <handa@m17n.org>
12885
12886 * international/charprop.el:
12887 * international/uni-bidi.el:
12888 * international/uni-category.el:
12889 * international/uni-combining.el:
12890 * international/uni-comment.el:
12891 * international/uni-decimal.el:
12892 * international/uni-decomposition.el:
12893 * international/uni-digit.el:
12894 * international/uni-lowercase.el:
12895 * international/uni-mirrored.el:
12896 * international/uni-name.el:
12897 * international/uni-numeric.el:
12898 * international/uni-old-name.el:
12899 * international/uni-titlecase.el:
12900 * international/uni-uppercase.el: Regenerate.
12901
3bbf23bc
MR
129022011-08-23 Martin Rudalics <rudalics@gmx.at>
12903
12904 * help.el (help-window-setup): Fix message displayed when other
12905 window is reused. (Bug#9341)
12906
b3fd59bd
SM
129072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12908
1802e444
SM
12909 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12910 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12911
b3fd59bd
SM
12912 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12913 Mark obsolete.
12914 * shell.el (shell-parse-pcomplete-arguments): New function.
12915 (shell-completion-vars): Use it instead (bug#9160).
12916
4eb61348
SM
129172011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12918
867cab74
SM
12919 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12920 strings and comments (bug#9333).
12921
4eb61348
SM
12922 * emacs-lisp/debug.el (debug-arglist): New function.
12923 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12924 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12925
262a1439
JL
129262011-08-22 Juri Linkov <juri@jurta.org>
12927
56ee679c
JL
12928 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12929 Revert regexp that highlights output switches to its old
12930 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12931
262a1439
JL
12932 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12933 to check for empty output (bug#9226).
12934
f13f86fb
CY
129352011-08-22 Chong Yidong <cyd@stupidchicken.com>
12936
12937 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12938 symbol-constituent as the default, as that stops font-lock from
12939 working properly (Bug#8843).
12940
c65c9622
LMI
129412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12942
12943 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12944 `coding-system-for-*' around the process open call to avoid
12945 auth-source side effects.
e7f2c178 12946 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12947 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12948 probe hangs.
c65c9622 12949
23a8a5ab
CY
129502011-08-21 Chong Yidong <cyd@stupidchicken.com>
12951
ff98b2dd
CY
12952 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12953
23a8a5ab
CY
12954 * emacs-lisp/find-func.el (find-function-noselect): New arg
12955 lisp-only.
12956
12957 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12958 signal an error for built-in functions (Bug#6664).
12959
f5e3c598
LMI
129602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12961
12962 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12963 (smtpmail-try-auth-methods): Use it.
12964
a3f2468a
CY
129652011-08-21 Chong Yidong <cyd@stupidchicken.com>
12966
2c34e8da
CY
12967 * font-lock.el (font-lock-fontify-region)
12968 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12969 (font-lock-default-unfontify-buffer)
12970 (font-lock-default-fontify-region)
12971 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12972
b3fd59bd
SM
12973 * progmodes/compile.el (compilation-error-properties):
12974 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12975 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12976 `ant' regexp.
ee31aabc 12977
a3f2468a
CY
12978 * net/browse-url.el (browse-url-firefox): Don't call
12979 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12980
8e999f70
GM
129812011-08-20 Glenn Morris <rgm@gnu.org>
12982
c21a496a
GM
12983 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12984
59ee0542
GM
12985 * tutorial.el (tutorial--default-keys): Update some default bindings.
12986
8e999f70
GM
12987 * files.el (hack-local-variables): Fully ignore case for "mode:".
12988
e3715033
AM
129892011-08-20 Alan Mackenzie <acm@muc.de>
12990
12991 Resolve invalid use of a regexp in regexp-opt.
12992
4d61f28d
JB
12993 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12994 detection for a java annotation.
e3715033 12995
4d61f28d 12996 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12997 detection for a java annotation.
12998
4d61f28d
JB
12999 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13000 handling for java.
e3715033
AM
13001 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13002
04ed2e9c
CY
130032011-08-20 Chong Yidong <cyd@stupidchicken.com>
13004
13005 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13006 (Bug#9274).
13007
826cee64
AM
130082011-08-20 Alan Mackenzie <acm@muc.de>
13009
58179cce 13010 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13011 such a construct. Mainly for when jit-lock etc. starts a chunk
13012 here.
13013
58179cce 13014 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13015 variable.
58179cce 13016 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13017 c-make-font-lock-search-function.
13018 (c-make-font-lock-search-function): Use the above function.
13019 (c-make-font-lock-context-search-function): New function.
13020 (c-cpp-matchers): Enhance the preprocessor expression case with
13021 the above function
13022 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13023 which takes an expression.
13024
13025 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13026
13009bd8
MR
130272011-08-20 Martin Rudalics <rudalics@gmx.at>
13028
13029 * window.el (display-buffer-reuse-window)
13030 (display-buffer-pop-up-window): Don't reuse or split a side
13031 window.
13032
9234ff7f
GM
130332011-08-19 Glenn Morris <rgm@gnu.org>
13034
13035 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13036 Downcase "Mode:". (Bug#9331)
9234ff7f 13037
f635daa1
CY
130382011-08-18 Chong Yidong <cyd@stupidchicken.com>
13039
13040 * international/characters.el: Add L and R categories.
13041
13042 * subr.el (bidi-string-mark-left-to-right): Rename from
13043 string-mark-left-to-right. Use category search.
13044
13045 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13046
bc987f8b
JL
130472011-08-18 Juri Linkov <juri@jurta.org>
13048
13049 * faces.el (error, warning, success): New faces with definitions
13050 copied from old default values of `font-lock-warning-face',
13051 `compilation-warning', `compilation-info' (bug#6117).
13052
13053 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13054
13055 * progmodes/compile.el (compilation-error): Inherit from `error'.
13056 (compilation-warning): Inherit from `warning'.
13057 (compilation-info): Inherit from `success'.
13058
13059 * dired.el (dired-marked): Inherit from `warning'.
13060 (dired-flagged): Inherit from `error'.
13061
57173b96
LMI
130622011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13063
3e79eb87
LMI
13064 * mail/smtpmail.el (auth-source): Require to avoid problems with
13065 binding variables (bug#9298). Also clean up some unused
13066 autoloads.
13067
b3fd59bd
SM
13068 * net/network-stream.el (network-stream-open-starttls):
13069 Support using starttls.el without using gnutls-cli.
57173b96 13070
02b404de
JL
130712011-08-17 Juri Linkov <juri@jurta.org>
13072
13073 * progmodes/grep.el (rgrep): Handle the case when
13074 `grep-find-command' is a cons cell (bug#9278).
13075
8c9177f2
MR
130762011-08-17 Martin Rudalics <rudalics@gmx.at>
13077
13078 * window.el (display-buffer-pop-up-frame): Run frame creation
13079 function with BUFFER current (as special-display-popup-frame
13080 does). Reported by Drew Adams.
13081
3644a0ab
DU
130822011-08-17 Daiki Ueno <ueno@unixuser.org>
13083
13084 * epa-mail.el: Simplify GnuPG group expansion using
13085 epg-expand-group.
13086 (epa-mail-group-alist, epa-mail-group-modtime)
13087 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13088 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13089 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13090 Remove.
13091
5e617bc2 130922011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13093
13094 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13095
9c4aeabf
AM
130962011-08-16 Alan Mackenzie <acm@muc.de>
13097
13098 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13099 Correct, to avoid the inside of macros.
13100
3a99bf64
RS
131012011-08-16 Richard Stallman <rms@gnu.org>
13102
04963aa8
RS
13103 * epa-mail.el: Handle GnuPG group definitions.
13104 (epa-mail-group-alist, epa-mail-group-modtime)
13105 (epa-mail-gnupg-conf-file): New variables.
13106 (epa-mail-parse-groups, epa-mail-sync-groups)
13107 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13108 (epa-mail-expand-recipients): New functions.
13109 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13110
177549d0
RS
13111 * mail/rmail.el (rmail-epa-decrypt): New command.
13112
fe38beef
RS
13113 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13114 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13115 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13116 (epa-decrypt-armor-in-region): Make error message clearer.
13117
934eacb9
SM
131182011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13121 and "a2b" to "ab" for `prefix'.
13122
d024fb4e
CY
131232011-08-14 Chong Yidong <cyd@stupidchicken.com>
13124
13125 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13126 filter groups.
de148fee
CY
13127 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13128 Fourquet (Bug#8804).
d024fb4e 13129
62f1ca49
JB
131302011-08-12 Juanma Barranquero <lekktu@gmail.com>
13131
13132 * startup.el (argi): Declare as global variable (bug#9275).
13133
9ccaaa4b
CY
131342011-08-12 Chong Yidong <cyd@stupidchicken.com>
13135
13136 * subr.el (string-mark-left-to-right): Search the entire string
13137 for RTL script, not just the terminating character. Doc fix.
13138
a3dae87a
SM
131392011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13140
6cd18349
SM
13141 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13142 New function.
13143 (js--regexp-literal, js-syntax-propertize-function): Remove.
13144 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13145 (js-mode-map): Don't rebind electric keys.
13146 (js-insert-and-indent): Remove.
13147 (js-mode): Setup electric-layout and electric-indent instead.
13148
a3dae87a
SM
13149 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13150
9d5cb631
DU
131512011-08-12 Daiki Ueno <ueno@unixuser.org>
13152
13153 * epa.el (epa-progress-callback-function): Fix the logic of
13154 displaying progress.
13155 * epa-file.el (epa-file-insert-file-contents): Make progress
13156 display more user-friendly.
13157 (epa-file-write-region): Ditto.
13158
3e26a4a2
CY
131592011-08-10 Chong Yidong <cyd@stupidchicken.com>
13160
13161 * subr.el (string-mark-left-to-right): New function.
13162
13163 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13164 Use string-mark-left-to-right.
13165 (list-buffers-noselect): Caller changed.
13166
a3dae87a
SM
13167 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13168 Use string-mark-left-to-right.
3e26a4a2
CY
13169 (tabulated-list-print): Recenter after moving point.
13170
ac8cf6e6
JL
131712011-08-10 Juri Linkov <juri@jurta.org>
13172
13173 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13174 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13175 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13176
8d96c9a4
CY
131772011-08-09 Chong Yidong <cyd@stupidchicken.com>
13178
13179 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13180 (Bug#7554).
13181
7be1c708 131822011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13183
13184 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13185 character. (Bug#6594)
13186
37e11a63
CY
131872011-08-08 Chong Yidong <cyd@stupidchicken.com>
13188
839dde57
CY
13189 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13190 (image-dired--with-db-file): New macro.
13191 (image-dired-write-tags, image-dired-remove-tag)
13192 (image-dired-create-gallery-lists, image-dired-write-comments)
13193 (image-dired-get-comment, image-dired-mark-tagged-files)
13194 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13195 (image-dired-gallery-generate): Use insert-file-contents.
13196
37e11a63
CY
13197 * time.el (display-time-world-list, display-time-world-display):
13198 * time-stamp.el (time-stamp-string):
13199 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13200 set-time-zone-rule (Bug#7337).
13201
0b4946c4
DU
132022011-08-08 Daiki Ueno <ueno@unixuser.org>
13203
13204 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13205 (epg-error-to-string, epg-errors-to-string): New function.
13206 (epg-wait-for-completion): Reverse errors list.
13207 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13208 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13209 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13210 (epg-sign-keys, epg-generate-key-from-file)
13211 (epg-generate-key-from-string): Format errors by using
13212 epg-errors-to-string (bug#9255).
13213 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13214
75bfc667
JL
132152011-08-07 Juri Linkov <juri@jurta.org>
13216
13217 * faces.el (list-faces-display): Remove extra angle bracket
13218 from `help-mode-map'.
13219
13220 * info.el (Info-history-toc-nodes): Doc fix.
13221
13222 * longlines.el (longlines-mode): Doc fix.
13223
673e08bb
SM
132242011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13225
4640dd88
SM
13226 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13227 of statements and in a few more cases (bug#9183).
13228
673e08bb
SM
13229 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13230 New functions.
13231 (cl-transform-lambda): Use them (bug#9239).
13232
89b3f019
MR
132332011-08-05 Martin Rudalics <rudalics@gmx.at>
13234
13235 * window.el (display-buffer-same-window)
13236 (display-buffer-same-frame, display-buffer-other-window)
13237 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13238 (pop-to-buffer-other-window)
13239 (pop-to-buffer-same-frame-other-window)
13240 (pop-to-buffer-other-frame): Make them defuns.
13241 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13242
640c8776
SM
132432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * subr.el (make-composed-keymap): Move from C. Change calling
13246 convention, and improve docstring to bring attention to a subtle point.
13247 * minibuffer.el (completing-read-default): Adjust accordingly.
13248
63648a95
MA
132492011-08-03 Michael Albinus <michael.albinus@gmx.de>
13250
13251 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13252 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13253
13254 * net/trampver.el: Update release number.
13255
b796c9b7
SM
132562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13259 "in" (bug#9190).
13260
2239d7d5
LMI
132612011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13262
e07dd7c3
LMI
13263 * mail/sendmail.el (sendmail-query-once): Restore the current
13264 buffer after querying (bug#9074).
13265
0e6a2bd7
LMI
13266 * dired.el (dired-flagged): Use different faces for marked and
13267 flagged files (bug#6117).
13268
ce887515
LMI
13269 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13270 (bug#4433).
13271
92f2affc
LMI
13272 * ido.el (ido-mode): Switch off the message if called
13273 non-interactively.
13274
57d5aff0
LMI
13275 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13276 before 587, since it appears that that's more likely to work for
13277 more people.
13278
98cd6c18 13279 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13280 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13281 exist.
13282
b96dec83
LMI
13283 * info.el: Remove the `Info-beginning-of-buffer' function
13284 (bug#8325).
13285
b796c9b7
SM
13286 * net/network-stream.el (network-stream-open-starttls):
13287 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13288
d90e2ea0
MR
132892011-08-01 Martin Rudalics <rudalics@gmx.at>
13290
13291 * window.el (display-buffer-in-window): Don't set dedicated status
13292 of window here (Bug#9215).
13293 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13294 (display-buffer-pop-up-side-window)
b796c9b7 13295 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13296
cca09170
SM
132972011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13300 before binding generated-autoload-file.
13301
027b979c
DD
133022011-08-01 Deniz Dogan <deniz@dogan.se>
13303
13304 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13305
3c7ee4f3
MA
133062011-07-30 Michael Albinus <michael.albinus@gmx.de>
13307
13308 Sync with Tramp 2.2.2.
13309
13310 * net/trampver.el: Update release number.
13311
2cc8e51a
JL
133122011-07-30 Juri Linkov <juri@jurta.org>
13313
13314 * dired-aux.el (dired-touch-initial): Remove function.
13315 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13316 current time, and `default' to the last modification time of the
13317 current marked file (bug#6887).
13318
a514d856
JM
133192011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13320
13321 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13322 numeric argument to read-number (bug#9163).
a514d856 13323
8a7eddd7
MA
133242011-07-27 Michael Albinus <michael.albinus@gmx.de>
13325
13326 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13327 connection process, it could be nil.
13328
1ddd96f5
LL
133292011-07-27 Leo Liu <sdl.web@gmail.com>
13330
13331 Simplify url handling in rcirc-mode.
13332
13333 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13334 (rcirc-browse-url-at-mouse): Remove.
13335 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13336
b248a85d
AM
133372011-07-26 Alan Mackenzie <acm@muc.de>
13338
13339 Fontify bitfield declarations properly.
13340
13341 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13342 (c-symbol-chars): Now exported as a lang variable.
13343 (c-not-primitive-type-keywords): New lang variable.
13344
13345 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13346 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13347 parsed as a bitfield declaration.
b248a85d 13348
b796c9b7
SM
13349 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13350 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13351 (c-punctuation-in): New function.
13352 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13353 declarations properly.
13354
68575ab0
UJ
133552011-07-26 Ulf Jasper <ulf.jasper@web.de>
13356
13357 * calendar/icalendar.el (icalendar--all-events): Take care of
13358 multiple vcalendars in a single file.
b796c9b7 13359 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13360
0f0a88b9
DD
133612011-07-25 Deniz Dogan <deniz@dogan.se>
13362
13363 * image.el (insert-image): Clarifying docstring.
13364
0b3f36df
MA
133652011-07-24 Michael Albinus <michael.albinus@gmx.de>
13366
13367 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13368 `tramp-send-command-and-check' if there is no error.
13369 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13370
a9901f61
AM
133712011-07-22 Alan Mackenzie <acm@muc.de>
13372
13373 Prevent cc-langs.elc being loaded at run time.
13374
13375 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13376 cc-langs.
13377
4d61f28d 13378 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13379 "(require 'cc-langs)". Quote a form so it will evaluate at
13380 (cc-mode's) compilation time.
13381
11d074b2
MA
133822011-07-22 Michael Albinus <michael.albinus@gmx.de>
13383
13384 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13385 loading. (Bug#9114)
13386
938b94c8
MR
133872011-07-21 Martin Rudalics <rudalics@gmx.at>
13388
13389 * window.el (display-buffer-pop-up-window)
13390 (display-buffer-pop-up-side-window)
13391 (display-buffer-in-side-window): Call display-buffer-set-height
13392 and display-buffer-set-width after setting the new window's
b796c9b7 13393 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13394
bfa4f190
SS
133952011-07-20 Sam Steingold <sds@gnu.org>
13396
13397 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13398 (etags-tags-included-tables): Call `convert-standard-filename' on
13399 the file names contained in TAGS so that windows Emacs can handle
13400 TAGS files created by cygwin ctags.
13401
8ca42262
LMI
134022011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13403
13404 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13405 which apparently didn't work.
13406
5db2afd2 134072011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13408
5db2afd2
RW
13409 * proced.el (proced-send-signal): For *Marked Processes* buffer
13410 put point at beginning of buffer.
13411
92e15d10
SB
134122011-07-19 Stephen Berman <stephen.berman@gmx.net>
13413
13414 * proced.el (proced-format): Make header lines align with the text
13415 (bug#1779).
13416
1bfd59e5
LMI
134172011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13418
13419 * view.el (view-buffer): Allow running in `special' modes if we're
13420 visiting a file (bug#8615).
13421
f5aae37c
MR
134222011-07-19 Martin Rudalics <rudalics@gmx.at>
13423
13424 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13425 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13426 New functions.
f5aae37c
MR
13427 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13428 more accurately.
13429
bf2c1571
AM
134302011-07-18 Alan Mackenzie <acm@muc.de>
13431
13432 Fontify declarators properly when, e.g., a jit-lock chunk begins
13433 inside a declaration.
13434
13435 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13436
b796c9b7
SM
13437 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13438 New function.
bf2c1571
AM
13439 (c-complex-decl-matchers): Insert reference to
13440 c-font-lock-enclosing-decls.
13441
13442 * progmodes/cc-engine.el (c-backward-single-comment):
13443 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13444 to nil around calls to (forward-comment -1).
13445
4e190b80
LMI
134462011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13447
12dc863d
LMI
13448 * image.el (put-image): Doc typo fix.
13449
a762e966
LMI
13450 * progmodes/etags.el (tags-search): Doc typo fix.
13451
4e190b80
LMI
13452 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13453 password if we get errors 550 to 554.
13454
f019fb21
LMI
134552011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13456
b796c9b7 13457 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13458
81746738
LMI
13459 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13460 indentation character (bug#6380).
13461
3ee3a1b5
LMI
13462 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13463
c82f64de
LMI
13464 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13465 to clarify what the problem is (bug#4291).
13466
f019fb21
LMI
13467 * simple.el (current-kill): Clarify what
13468 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13469 (auto-fill-mode): Document `auto-fill-function' in relation to
13470 `auto-fill-mode' (bug#2470).
f019fb21 13471
0794775d
LM
134722011-07-16 Lawrence Mitchell <wence@gmx.li>
13473
13474 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13475 method if slot is read-only (bug#9035).
13476
be39b8cc
MR
134772011-07-16 Martin Rudalics <rudalics@gmx.at>
13478
b796c9b7 13479 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13480 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13481 selected before, see discussion of (Bug#8615), (Bug#6954).
13482 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13483
6ccf7859
GM
134842011-07-15 Glenn Morris <rgm@gnu.org>
13485
13486 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13487 Respect help-form.
6ccf7859 13488
87e86684
LM
134892011-07-09 Lawrence Mitchell <wence@gmx.li>
13490
13491 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13492 (gnutls-negotiate): Use it.
13493
d6066239
LMI
134942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13495
b796c9b7
SM
13496 * net/gnutls.el (gnutls-negotiate):
13497 Upcase `gnutls-algorithm-priority'.
d6066239 13498
bd23ebc0
GM
134992011-07-15 Glenn Morris <rgm@gnu.org>
13500
c65bca65
GM
13501 * jka-compr.el (jka-compr-verbose): Move from here...
13502 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13503 Add missing :version tag.
13504 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13505
478615cc
LMI
135062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13507
7b41decb
LMI
13508 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13509 (gnutls-negotiate): Use it.
13510
dbc44fcd
LMI
13511 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13512
06789f97
LMI
13513 * info.el (Info-beginning-of-buffer): New command.
13514 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13515 announcing `b' as the key (bug#8325).
ab896c37 13516 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13517
c39da690
LMI
13518 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13519
3aa5f34b
LMI
13520 * international/mule-cmds.el
13521 (describe-specified-language-support): Make the error message
13522 clearer (bug#8905).
13523
4bf0979f
LMI
13524 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13525
478615cc
LMI
13526 * isearch.el (isearch-barrier): Add a doc string, since it's
13527 mentioned in a function doc string (bug#8678).
13528
75c68aa1
MR
135292011-07-15 Martin Rudalics <rudalics@gmx.at>
13530
13531 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13532 buffer argument (Bug#9083) and self-identifying label argument.
13533
a7c33da2
GM
135342011-07-15 Glenn Morris <rgm@gnu.org>
13535
13536 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13537
2f5c6024
LMI
135382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13539
13540 * man.el (Man-fontify-manpage): Fix message when formatting the
13541 man page (bug#7929).
13542
0bb23927 135432011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13544
13545 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13546 argument LRM; if non-nil, append an invisible LRM character to the
13547 buffer name.
13548 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13549 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13550 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13551 paragraph direction.
cce4b0a7 13552
621ef9ab
LMI
135532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13554
d1583c48
LMI
13555 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13556 the man page name (bug#7929).
13557
6a57fb5f
LMI
13558 * image.el (put-image): Mention the `put-image' overlay property
13559 (bug#7834).
13560
d7956b14
LMI
13561 * scroll-bar.el (set-scroll-bar-mode): Mention that
13562 `scroll-bar-mode' lists the values (bug#7772).
13563
5b2d4a66
LMI
13564 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13565 command (bug#7729).
13566
7509a874
LMI
13567 * rect.el (apply-on-rectangle): Return the point after the last
13568 operation.
13569 (string-rectangle): Go to the point after the last operation
13570 (bug#7522).
13571
4fe74b19
LMI
13572 * printing.el (pr-toggle-region): Clarify the documentation
13573 slightly (bug#7493).
13574
b796c9b7
SM
13575 * time.el (display-time-update):
13576 Allow `display-time-mail-function' to return nil (bug#7158).
13577 Fix suggested by Detlev Zundel.
ab283561 13578
fc233c9d
LMI
13579 * vc/diff.el (diff): Clarify the order the file names are read
13580 (bug#7111).
13581
43f5740b
LMI
13582 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13583 the doc string (bug#7015).
13584
f2182a76
LMI
13585 * font-lock.el (font-lock-maximum-decoration): Mention what
13586 numeric levels mean (bug#6935).
13587
621ef9ab
LMI
13588 * startup.el (initial-buffer-choice): Don't mention the `none'
13589 selection, which is against policy.
13590
adc47434
MR
135912011-07-14 Martin Rudalics <rudalics@gmx.at>
13592
b796c9b7
SM
13593 * window.el (display-buffer-normalize-special):
13594 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13595
7e5bfb8f
EZ
135962011-07-14 Eli Zaretskii <eliz@gnu.org>
13597
13598 * subr.el (version<, version<=, version=): Mention "-CVS" and
13599 "-12345" alpha version numbers.
13600
27fa387a
CY
136012011-07-14 Chong Yidong <cyd@stupidchicken.com>
13602
13603 * bindings.el: Add advertised binding for set-mark-command
13604 (Bug#5772).
13605
8bdfa064
CY
136062011-07-14 Chong Yidong <cyd@stupidchicken.com>
13607
13608 * bindings.el (mode-line-other-buffer):
13609 * bookmark.el (bookmark-bmenu-2-window):
13610 * bs.el (bs-cycle-next, bs-cycle-previous):
13611 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13612 switch-to-buffer.
13613
13614 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13615 Delete.
8bdfa064 13616
5eba16a3
JB
136172011-07-14 Juanma Barranquero <lekktu@gmail.com>
13618
13619 * follow.el (follow-debug-message, follow-redisplay):
13620 * jka-cmpr-hook.el (with-auto-compression-mode):
13621 Fix typos in docstrings.
13622
15853710
LMI
136232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13624
a28e4607
LMI
13625 * subr.el (with-silent-modifications): Clarify somewhat what the
13626 macro inhibits (bug#6525).
13627
15853710
LMI
13628 * simple.el (eval-expression): Note what it does if called
13629 interactively (bug#6495).
13630
bee0fcef
CY
136312011-07-13 Chong Yidong <cyd@stupidchicken.com>
13632
b796c9b7
SM
13633 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13634 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13635
13636 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13637 Remove switch-to-buffer.
13638
58274504
LMI
136392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13640
bd2fcc8d
LMI
13641 * files.el (make-directory): Clarify that an error will be raised
13642 if there's an error (bug#6397).
13643
0f04b32c
LMI
13644 * startup.el (initial-buffer-choice): Add `none' as a choice
13645 (bug#6234).
13646
465c5fc8
LMI
13647 * subr.el (add-hook): Clarify section about buffer-local hooks
13648 (bug#6218).
13649
58274504
LMI
13650 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13651
bead9a43
JB
136522011-07-13 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * tabify.el (untabify): Preserve the current column so that point
13655 doesn't move (bug#6032).
13656
3af98a7b
LMI
136572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13658
b796c9b7
SM
13659 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13660 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13661
6240145a
GM
136622011-07-13 Glenn Morris <rgm@gnu.org>
13663
13664 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13665 (dired-insert-directory): Give a message the first time
13666 if ls is found not to support --dired.
13667
1d8c2ccc
LMI
136682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13669
13670 * simple.el (toggle-truncate-lines): Clarify what is toggled
13671 (bug#5580). Text by Drew Adams.
13672
5fc4038e
CY
136732011-07-13 Chong Yidong <cyd@stupidchicken.com>
13674
13675 * simple.el (blink-matching-open): Make the error message from the
13676 last change less verbose.
13677
bf6012e5
DN
136782011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13679
13680 * font-lock.el (font-lock-comment-face): Use the high contrast
13681 "yellow" color for font-lock-comment-face on low color terminals
13682 using a dark background color (bug#4221).
13683
343c3b5a
LMI
136842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13685
7e9505c5
LMI
13686 * dired.el (dired-insert-set-properties): Make the doc string
13687 reflect what it does now (bug#5325).
13688
c26fdcf5
LMI
13689 * simple.el (blink-matching-open): Say that we were unable to find
13690 the match within the limit, if we're limited (bug#5122).
13691
bb388cc5
LMI
13692 * international/mule-cmds.el (prefer-coding-system): Add an
13693 example (bug#4869).
13694
343c3b5a
LMI
13695 * progmodes/etags.el (tags-search): Document `file-list-form'
13696 (bug#4731).
13697
2a517d45
LM
136982011-07-13 Lawrence Mitchell <wence@gmx.li>
13699
13700 * net/browse-url.el (browse-url-default-browser)
13701 (browse-url-browser-function): Make the default browser choice a
13702 bit more logical (bug#4300). Also clean up the doc string.
13703
b6c78ef2
JB
137042011-07-13 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13707 binary endings (bug#4440).
13708
1c4dd947
LMI
137092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13710
a2014063
LMI
13711 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13712 which can be pretty annoying (bug#8971).
13713
9c9c2d88
LMI
13714 * jka-compr.el (jka-compr-verbose): New variable, and use
13715 throughout (bug#8971).
13716
1c4dd947
LMI
13717 * info.el (Info-find-file): Fall back on the installation
13718 directory if we can't find the info node anywhere else.
13719
a1c9f41b
SO
137202011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13721
13722 * vc/vc.el (vc-revert-file):
13723 Don't set file time-stamp in the past. (Bug#5181)
13724
536f3d36
LMI
137252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13726
7152b011
LMI
13727 * files.el (after-find-file): Give a better error message when
13728 trying to find a symlink that points to a file that doesn't exist
13729 (bug#4398).
13730
536f3d36
LMI
13731 * progmodes/cc-vars.el: Remove (probably) misleading comment
13732 (bug#4396).
13733
460c0fba
JB
137342011-07-12 Johan Bockgård <bojohan@gnu.org>
13735
13736 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13737
7a6bda45
CY
137382011-07-12 Chong Yidong <cyd@stupidchicken.com>
13739
13740 * mouse-sel.el: Hack restoring functionality, while keeping
13741 compatibility with 2010-07-03 changes to mouse selection.
13742 (mouse-sel-primary-overlay): New var.
13743 (mouse-sel-selection-alist): Use it.
13744 (mouse-sel-mode): Doc fix; remove points that are default features
13745 of mouse.el.
13746
c79598ef
JB
137472011-07-12 Johan Bockgård <bojohan@gnu.org>
13748
13749 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13750 Fix previous fix (bug#2490).
13751
ff8be6ef
RW
137522011-07-12 Roland Winkler <winkler@gnu.org>
13753
b796c9b7
SM
13754 * textmodes/bibtex.el (bibtex-initialize):
13755 Use pop-to-buffer-same-window.
ff8be6ef
RW
13756 (bibtex-search-entries): Fix interactive call.
13757
296ba3ee
LMI
137582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13759
f5242a02 13760 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13761 Fontise bytecomp Error lines more correctly (bug#2490).
13762 Fix suggested by Johan Bockgård.
f5242a02 13763
296ba3ee
LMI
13764 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13765
13766 * dired-x.el (dired-guess-default): Use `delete-dups'.
13767
f69fd0d2
CY
137682011-07-12 Chong Yidong <cyd@stupidchicken.com>
13769
13770 * dired.el (dired-mark-prompt):
13771 * dired-aux.el (dired-read-shell-command): Doc fix.
13772
eab5dc07
LMI
137732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
b796c9b7
SM
13775 * mail/sendmail.el (sendmail-query-once):
13776 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13777 emacs -Q.
13778
13779 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13780
eab5dc07
LMI
13781 * cus-edit.el (custom-file): Take an optional no-error variable.
13782 (customize-save-variable): Set the variable, and give a warning if
13783 running under "emacs -q".
13784
a1e65d42
JB
137852011-07-11 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * loadhist.el (unload-feature-special-hooks):
13788 Add `auto-coding-functions', `fill-nobreak-predicate' and
13789 `find-directory-functions' (bug#5327).
13790
1d52da10
LMI
137912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13792
be958f1d
LMI
13793 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13794
5bedb26c
LMI
13795 * cus-edit.el (custom-guess-name-alist): -alist variables should
13796 use the `alist' type (bug#3120). Suggested by Drew Adams.
13797
1d52da10
LMI
13798 * printing.el: Add documentation to all the `pr-toggle-' commands.
13799
cd394be1 138002011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13801
13802 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13803 backends where it makes sense (bug#2623).
13804
dcc88d8a
LMI
138052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13806
c3de9feb
LMI
13807 * dired-x.el (dired-guess-default): Remove duplicate shell command
13808 entries (bug#2028).
8a93078b 13809 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13810 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13811
dcc88d8a
LMI
13812 * subr.el (remove-duplicates): New conveniency function.
13813
505e3645
LMI
138142011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13815
13816 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13817 (bug#1526).
13818
138192011-07-10 Martin Rudalics <rudalics@gmx.at>
13820
13821 * window.el (display-buffer-normalize-default): Don't invert
13822 meaning of even-window-heights. Reported by Eli Zaretskii
13823 <eliz@gnu.org>.
13824
455e4fa1
BR
138252011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13826
13827 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13828
8e0bc3e9
CY
138292011-07-10 Chong Yidong <cyd@stupidchicken.com>
13830
13831 * window.el (display-buffer): Fix arguments to
13832 display-buffer-reuse-window in last change.
13833
fa7c3228
CY
13834 * faces.el (link): Use a less saturated blue on light backgrounds.
13835
13836 * startup.el (fancy-startup-text, fancy-about-text)
13837 (fancy-startup-tail): Use font-lock faces, for background safety.
13838
c0a7f300
BN
138392011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13840
b796c9b7
SM
13841 * emulation/viper-cmd.el (viper-change-state-to-vi):
13842 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13843
4dc2a129
MR
138442011-07-09 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (display-buffer-default-specifiers): Remove.
13847 (display-buffer-macro-specifiers): Remove default specifiers.
13848 (display-buffer-alist): Default to nil.
b796c9b7 13849 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13850 (display-buffer-pop-up-window): Allow splitting internal
13851 windows. Check whether a live window was created.
13852 (display-buffer-other-window-means-other-frame)
13853 (display-buffer-normalize-arguments): Rename to
13854 display-buffer-normalize-argument and rewrite. Set the
13855 other-window specifier.
13856 (display-buffer-normalize-special): New function.
13857 (display-buffer-normalize-options): Rename to
13858 display-buffer-normalize-default and rewrite.
13859 (display-buffer-normalize-options-inhibit): Remove.
13860 (display-buffer-normalize-specifiers): Rewrite.
13861 (display-buffer): Process other-window specifier and call
13862 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13863 more faithfully.
b796c9b7 13864 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13865 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13866 (display-buffer-in-window, display-buffer-alist-set):
13867 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13868 <tassilo@member.fsf.org>.
13869
2d43b8c9
LL
138702011-07-09 Leo Liu <sdl.web@gmail.com>
13871
13872 * register.el (insert-register): Restore accidental change on
13873 2011-06-26. (Bug#9028)
13874
7f9b7c53
GM
138752011-07-09 Glenn Morris <rgm@gnu.org>
13876
13877 * subr.el (remq): Handle the empty list. (Bug#9024)
13878
f042cfd8
AS
138792011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13880
13881 * mail/sendmail.el (send-mail-function): No longer delay custom
13882 initialization.
13883 * custom.el (custom-initialize-delay): Doc fix.
13884
856b2f11
SM
138852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13888
afae1d68
MA
138892011-07-08 Michael Albinus <michael.albinus@gmx.de>
13890
13891 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13892 human-friendly prompt.
13893
0757af94
SM
138942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13895
13896 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13897 provided by a particular plugin.
13898
d760b731
LMI
138992011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13900
13901 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13902 save customizations (with "emacs -Q"), just set the variable
13903 instead of erroring out.
13904
13905 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13906
cd79ce90
JL
139072011-07-08 Juri Linkov <juri@jurta.org>
13908
13909 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13910 (archive-zip-update-case): Use 7z if found by `executable-find'.
13911 The order of searching the available programs is the same as in
13912 `archive-zip-extract' (bug#8968).
13913
14cc04aa
CY
139142011-07-07 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13917 (menu-bar-options-menu): Tweak descriptions.
13918
0a1848ec
LMI
139192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13920
13921 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13922 menu items into verb phrases (bug#1421). Also refill to fit under
13923 80 columns.
13924
f5bd0689
CY
139252011-07-07 Chong Yidong <cyd@stupidchicken.com>
13926
538e85c6
CY
13927 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13928 (Info-read-node-name): Doc fix (Bug#1084).
13929
f5bd0689
CY
13930 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13931 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13932 (end-of-sexp, beginning-of-sexp)
13933 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13934 (forward-symbol, forward-same-syntax, word-at-point)
13935 (sentence-at-point): Doc fix (Bug#1144).
13936
56ec5115
LMI
139372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13938
f3f8e37f
LMI
13939 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13940 should cover it (bug#1281).
13941
0757af94 13942 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13943
e9fce1ac 13944 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13945 negotiation fails, then possibly try again with a non-encrypted
13946 connection (bug#9017).
13947
56ec5115
LMI
13948 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13949 be used.
13950
c2f9aec8
RS
139512011-07-07 Richard Stallman <rms@gnu.org>
13952
13953 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13954 property, and handle its changed format.
13955 Look for the correct line number.
13956 Use file's line contents (but not past first =) to find
13957 correct line in message.
13958
ef7b981d 139592011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13960
13961 * international/characters.el (build-unicode-category-table):
13962 Delete it.
0757af94 13963 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13964
0757af94 13965 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13966 to src/chartab.c.
13967 (get-char-code-property): Call unicode-property-table-internal to
13968 load a file. Call get-unicode-property-internal where necessary.
13969 (put-char-code-property): Call unicode-property-table-internal to
13970 load a file. Call put-unicode-property-internal where necessary.
13971 put-unicode-property-internal where necessary.
0757af94
SM
13972 (char-code-property-description):
13973 Call unicode-property-table-internal to load a file.
c805dec0
KH
13974
13975 * international/charprop.el:
13976 * international/uni-bidi.el:
13977 * international/uni-category.el:
13978 * international/uni-combining.el:
13979 * international/uni-comment.el:
13980 * international/uni-decimal.el:
13981 * international/uni-decomposition.el:
13982 * international/uni-digit.el:
13983 * international/uni-lowercase.el:
13984 * international/uni-mirrored.el:
13985 * international/uni-name.el:
13986 * international/uni-numeric.el:
13987 * international/uni-old-name.el:
13988 * international/uni-titlecase.el:
13989 * international/uni-uppercase.el: Regenerate.
13990
13991 * loadup.el: Load international/charprop.el before
13992 international/characters.
13993
e14b388a
CY
139942011-07-07 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * window.el (next-buffer, previous-buffer): Signal an error if
13997 called from a minibuffer window.
13998
13999 * bindings.el: Revert 2011-07-04 change.
14000
354cf0ba
RS
140012011-07-06 Richard Stallman <rms@gnu.org>
14002
14003 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14004 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14005 Treat markers like ints.
14006 (rmail-mime-entity): Doc fix.
14007
a48868a7
LMI
140082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14009
4906cd3d
LMI
14010 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14011 defcustom again for backwards compatibility.
14012
e0457abe
LMI
14013 * simple.el (shell-command-on-region): Fill.
14014
d67f7e1f
LMI
14015 * dired-aux.el (dired-kill-line): Add a doc string.
14016
fe204702
LMI
14017 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14018 to "\\sw\\|\\s_" (bug#358).
14019
a48868a7
LMI
14020 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14021 (dired-unmark-backward): Ditto.
14022 (dired-flag-backup-files): Ditto.
14023
14024 * dired-x.el (dired-mark-sexp): Ditto.
14025
aa8a705c
RS
140262011-07-06 Richard Stallman <rms@gnu.org>
14027
14028 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14029 (rmail-mime-entity): New arg TRUNCATED.
14030 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14031 New functions.
14032 (rmail-mime-save): Warn if entity is truncated.
14033 (rmail-mime-toggle-hidden): Likewise, for showing.
14034 (rmail-mime-process-multipart): Record when an entity is truncated.
14035
a9a936b9
RS
14036 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14037 if ENTITY is a string.
14038
1f2b92cb
LMI
140392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14040
f4f73198 14041 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14042 of faces when `M-C-x'-ing their definitions (bug#8378).
14043 Also clean up the code slightly.
f4f73198 14044
12b16734 14045 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14046 because that makes the colors go away.
12b16734 14047
f0691d22
LMI
14048 * mail/sendmail.el (send-mail-function): Change the default to
14049 `sendmail-query-once'.
9e87df06 14050 (sendmail-query-once): Add an autoload cookie.
f0691d22 14051
1f2b92cb
LMI
14052 * net/network-stream.el (network-stream-open-starttls): Try using
14053 a plain connection even if the server offered STARTTLS, and we
14054 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14055 capability. This should make smtpmail.el work in slightly more
14056 configurations.
14057
1cdd2a1b
MA
140582011-07-06 Michael Albinus <michael.albinus@gmx.de>
14059
14060 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14061 New defun.
14062 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14063
fbcc67e2
MM
140642011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14065
14066 * progmodes/sql.el: Version 3.0
0757af94 14067 (sql-product-alist): Add product :completion-object,
fbcc67e2 14068 :completion-column, and :statement attributes.
0757af94 14069 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14070 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14071 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14072 ansi keywords.
14073 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14074 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14075 (sql-oracle-show-reserved-words): New function for development.
14076 (sql-product-font-lock): Simplify for source code buffers.
14077 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14078 New functions.
14079 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14080 (sql-mode-map): Add statement movement functions.
14081 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14082 New variable.
fbcc67e2
MM
14083 (sql-statement-regexp, sql-beginning-of-statement)
14084 (sql-end-of-statement, sql-signum): New functions.
0757af94 14085 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14086 (sql-show-sqli-buffer): Bug fix.
14087 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14088 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14089 with sql-interactive-mode.
14090 (sql-save-connection): Save buffer local settings.
0757af94 14091 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14092 (sql-product-interactive): Bug fix.
14093 (sql-preoutput-hold): New variable.
14094 (sql-interactive-remove-continuation-prompt): Bug fixes.
14095 (sql-debug-redirect): New variable.
14096 (sql-str-literal): New function.
14097 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14098 Redesign.
fbcc67e2
MM
14099 (sql-oracle-save-settings, sql-oracle-restore-settings)
14100 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14101 (sql-completion-object, sql-completion-column)
14102 (sql-completion-sqlbuf): New variables.
14103 (sql-build-completions-1, sql-build-completions)
14104 (sql-try-completion): New functions.
14105 (sql-read-table-name): Use them.
14106 (sql-contains-names): New buffer local variable.
14107 (sql-list-all, sql-list-table): Use it.
14108 (sql-oracle-completion-types): New variable.
14109 (sql-oracle-completion-object, sql-sqlite-completion-object)
14110 (sql-postgres-completion-object): New functions.
14111
d4eaeab1
GM
141122011-07-06 Glenn Morris <rgm@gnu.org>
14113
14114 * window.el (pop-to-buffer): Doc fix.
14115
322b7dab 141162011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14117
14118 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14119
322b7dab 141202011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14121
322b7dab 14122 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14123
322b7dab 14124 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14125
605dd5bf
CY
141262011-07-05 Chong Yidong <cyd@stupidchicken.com>
14127
14128 * button.el (button): Inherit from link face. Suggested by Dan
14129 Nicolaescu.
14130
7dbfa719
SM
141312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14132
3db614b0
SM
14133 * progmodes/gdb-mi.el: Fit in 80 columns.
14134 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14135 switch-to-buffer.
14136
7dbfa719
SM
14137 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14138 if imenu is simply not configured (bug#8941).
14139
919d884a
KM
141402011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14141
14142 * allout.el (allout-post-undo-hook): New allout outline-change
14143 event hook to signal undo activity.
14144 (allout-post-command-business): Run allout-post-undo-hook if an
14145 undo just occurred.
7dbfa719
SM
14146 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14147 * allout-widgets.el (allout-widgets-after-undo-function):
14148 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14149 in the vicinity of an undo.
14150 (allout-widgets-mode): Include allout-widgets-after-undo-function
14151 on the new allout-post-undo-hook.
14152
450a0f09
SM
141532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14156 Let define-derived-mode define it.
14157 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14158 cycles of abbrev-table inheritance (bug#8998).
14159
2de69e00
RW
141602011-07-05 Roland Winkler <winkler@gnu.org>
14161
14162 * textmodes/bibtex.el: Add support for biblatex.
14163 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14164 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14165 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14166 (bibtex-entry-alist, bibtex-field-alist): New variables.
14167 (bibtex-entry-field-alist): Obsolete alias for
14168 bibtex-BibTeX-entry-alist.
14169 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14170 (bibtex-set-dialect): New command.
14171 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14172 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14173 Bind via bibtex-set-dialect.
2de69e00
RW
14174 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14175 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14176 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14177 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14178 Define via bibtex-set-dialect.
450a0f09
SM
14179 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14180 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14181 (bibtex-vec-push, bibtex-vec-incr): New functions.
14182 (bibtex-format-entry, bibtex-field-list)
14183 (bibtex-print-help-message, bibtex-validate)
14184 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14185
2dcdbdd9
SM
141862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * progmodes/compile.el (compilation-goto-locus):
14189 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14190 * bs.el (bs-cycle-next, bs-cycle-previous):
14191 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14192 * bindings.el (mode-line-other-buffer):
14193 * autoinsert.el (auto-insert):
14194 * arc-mode.el (archive-extract):
14195 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14196
b27640fe
JB
141972011-07-05 Juanma Barranquero <lekktu@gmail.com>
14198
14199 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14200 Fix check of `emacs-lock-unlockable-modes'.
14201 Coerce true values of `emacs-lock--try-unlocking' to t.
14202
53bbe3ad
JB
142032011-07-05 Juanma Barranquero <lekktu@gmail.com>
14204
14205 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14206 * emacs-lock.el: New file.
14207
1d3cdbc7
JD
142082011-07-05 Julien Danjou <julien@danjou.info>
14209
14210 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14211 than `boundp' to check if face is set.
14212
9173deec
JB
142132011-07-05 Juanma Barranquero <lekktu@gmail.com>
14214
14215 * register.el (registerv-make):
14216 * window.el (window-min-height): Fix typos in docstrings.
14217
869795d6
JD
142182011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14219
9173deec 14220 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14221 Update doc string.
14222
b768cdcd
JB
142232011-07-04 Juanma Barranquero <lekktu@gmail.com>
14224
14225 * server.el (server-execute): Catch quit and call
14226 `server-return-error' to pass the error back to emacsclient and
14227 close the connection (bug#8942).
14228
13aa217b
KM
142292011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14230
14231 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14232 insecure exception for current topic. Also note that auto-saves
14233 are handled differently.
14234
5d3385a0 14235 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14236 State variables for tracking auto-save inhibition situation.
14237
14238 (allout-write-contents-hook-handler): Rename from
14239 'allout-write-file-hook-handler', and describe how it depends on
14240 write-contents-functions sensitivity to non-nil value to prevent
14241 file write.
14242
14243 (allout-auto-save-hook-handler): Remove. auto-save does not check
14244 this in individual buffers, only in the starting buffer, so this
14245 is not the right way for us to inhibit auto-save in a buffer
14246 according to its condition.
14247
14248 (allout-mode): Use new allout-write-contents-hook-handler, and
14249 only with write-contents-functions. Remove auto-save provisions -
14250 they're implemented elsewhere.
14251
14252 (allout-before-change-handler): If undo is in progress, note that
14253 for attention of allout-post-command-business.
14254
14255 (allout-post-command-business): If the command we're following was
14256 an undo, check for change in the status of encrypted items and
14257 adjust auto-save inhibitions accordingly.
14258
14259 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14260 according to whether there are or aren't any plain-text topics
14261 pending encryption.
14262
2dcdbdd9 14263 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14264 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14265 if there are plain-text topics pending encryption.
13aa217b
KM
14266
14267 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14268 buffer-saved-size and some allout state to not inhibit auto-saves
14269 if there are no longer any plain-text topics pending encryption.
14270
0757af94
SM
14271 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14272 No longer provide for exemption of the current topic.
13aa217b 14273
ac89b32c
JL
142742011-07-04 Juri Linkov <juri@jurta.org>
14275
14276 Add 7z operations to delete and save changed members (bug#8968).
14277 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14278 New defcustoms.
14279 (archive-7z-write-file-member): New function.
14280 (archive-7z-summarize): Fix the number of dashes in the
14281 listing output.
14282
8fa39615
SM
142832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14286 (bug#8958).
14287
2f11b3f1
CY
142882011-07-04 Chong Yidong <cyd@stupidchicken.com>
14289
d66fef2b
CY
14290 * bindings.el: Ignore next-buffer and previous-buffer in
14291 minibuffer-local-map.
14292
2f11b3f1
CY
14293 * font-lock.el (font-lock-builtin-face): Change light background
14294 color to dark slate blue (Bug#6693).
14295
f932a347
WD
142962011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14297
14298 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14299
c8af70e1
SM
143002011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14303 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14304 Add switch-to-buffer.
14305
f158badc
LMI
143062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14307
14308 * isearch.el (isearch-search-fun-function): Clarify further the
14309 meaning of the function returned.
14310
6d95bd46
MA
143112011-07-04 Michael Albinus <michael.albinus@gmx.de>
14312
14313 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14314
14315 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14316 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14317 Use it.
14318 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14319 `tramp-default-remote-path' does not exist.
14320 (tramp-send-command-and-read): New optional argument NOERROR.
14321 (tramp-open-connection-setup-interactive-shell)
14322 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14323 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14324 (tramp-process-sentinel): Flush also process' connection property.
14325 (tramp-sh-handle-start-file-process): Do not set process
14326 sentinel. It is done now ...
14327 (tramp-maybe-open-connection): ... here. (Bug#8929)
14328
909e6b67
MK
143292011-07-04 MON KEY <monkey@sandpframing.com>
14330
14331 * play/animate.el (animate-string): Doc fixes and allow changing
14332 the buffer name (bug#5417).
14333
143342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14335
c8af70e1 14336 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14337
f34755dc
PE
143382011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14339
396cec72
PE
14340 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14341 This is simpler and helps future-proof the code.
14342 (timer-until): Use time-subtract and float-time.
08235028 14343 (timer--time-less-p): Use time-less-p.
f34755dc 14344
56e6cc31
JB
143452011-07-04 Juanma Barranquero <lekktu@gmail.com>
14346
3abb79e5
JB
14347 * type-break.el (timep): Use the value of `float-time' to avoid a
14348 byte-compiler warning.
14349
56e6cc31
JB
14350 * server.el (server-eval-and-print): Return any result, even nil.
14351
7b9430b4
PE
143522011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14353
14354 * type-break.el: Accept time formats that the builtins accept.
14355 (timep, type-break-time-difference): Accept any format that
14356 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14357 This is simpler and helps future-proof the code.
14358 (type-break-time-difference): Round rather than ignoring
14359 subseconds components.
14360
3034e9e7
LMI
143612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14362
14363 * info.el (Info-apropos-matches): Make non-interactive, since it
14364 doesn't seem to do anything useful as a command (bug#8829).
14365
1485f4c0
CY
143662011-07-03 Chong Yidong <cyd@stupidchicken.com>
14367
14368 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14369 Move from faces.el.
1485f4c0
CY
14370 (frame-default-terminal-background): New function.
14371
14372 * custom.el (custom-push-theme): Don't record faces in `changed'
14373 theme; this doesn't work correctly for per-frame face settings.
14374 (disable-theme): Use face-set-after-frame-default to reset faces.
14375 (custom--frame-color-default): New function.
14376
9fa3dd45
LMI
143772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14378
c8af70e1 14379 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14380 (bug#8769).
14381
6cbbc20c
KR
143822011-03-29 Kevin Ryde <user42@zip.com.au>
14383
14384 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14385 `perl-Test2' extend to match possible "fail #N" rep count
14386 (bug#8377).
14387
c7f98048
LMI
143882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14389
65676592
LMI
14390 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14391 `smtpmail-via-smtp' now returns the error instead of nil.
14392
c7f98048
LMI
14393 * isearch.el (isearch-search-fun-function): Clarify the doc string
14394 (bug#8101).
14395
56e6cc31 143962011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14397
14398 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14399 unnecessary spaces (bug#8987).
14400
2b216704
LMI
144012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14402
14403 * net/network-stream.el (open-network-stream): Use the
14404 :end-of-capability command thoughout.
14405
144062011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14407
14408 * net/network-stream.el (open-network-stream): Add the
14409 :end-of-capability command parameter, used by pop3.el.
14410
36adf6ce
LMI
144112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14412
1ca0da0e
LMI
14413 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14414
fc00f69c
LMI
14415 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14416 for list)" (bug#6475).
14417
28fd8759 14418 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14419 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14420 an error (bug#6297).
14421
0dd8b6da
LMI
14422 * man.el (Man-reference-regexp): Allow matching possible
14423 word-wrapped references (bug#6289).
14424
ce1438d6
LMI
14425 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14426 for consistency with the other vc buffers (bug#6197).
14427 (vc-checkin): Ditto.
14428
14429 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14430
36adf6ce
LMI
14431 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14432
e83cc1f7
LMI
144332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14434
8a20ca4c
LMI
14435 * custom.el (defcustom): Clarify that :set is only used in the
14436 Customize user interface (bug#6089).
14437
83319045
LMI
14438 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14439 associated with a file, refuse to run instead of erroring out
14440 (bug#6084).
14441
a8392169
LMI
14442 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14443 the doc string, since it appears that using `fill-column' always
14444 controls the width (bug#7845).
14445
e83cc1f7
LMI
14446 * simple.el (shell-command-on-region): Say where the error output
14447 went if `shell-command-default-error-buffer' is set (bug#6857).
14448
e47ca23b
KM
144492011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14450
14451 * allout.el (allout-yank-processing): Adjust cursor position for
14452 backwards-deleted space.
14453
14454 (allout-rebullet-heading): Register changes with
14455 allout-exposure-changed-hook, so the modified topic is properly
14456 decorated.
14457
5cf56143
LMI
144582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14459
08549772
LMI
14460 * minibuffer.el (completion-in-region): Document PREDICATE
14461 (bug#7136).
14462
48e96771
LMI
14463 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14464 of keyword/argument pairs (bug#6904).
14465
c8af70e1
SM
14466 * replace.el (multi-occur):
14467 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14468
e17d05e2
LMI
144692011-07-02 Drew Adams <drew.adams@oracle.com>
14470
14471 * dired.el (dired-mark-if): Make the message about whether it's
14472 marking or unmarking clearer (bug#8523).
14473
063b0e45
LMI
144742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14475
14476 * disp-table.el (display-table-print-array): New function.
14477 (describe-display-table): Use it to print the vectors more pretty
14478 (Bug#8859).
14479
28545e04
MR
144802011-07-02 Martin Rudalics <rudalics@gmx.at>
14481
14482 * window.el (window-state-get-1): Don't assign clone numbers.
14483 Add clone-of item to list of window parameters.
14484 (window-state-put-2): Don't process clone numbers.
14485 (display-buffer-alist): Fix doc-string.
14486
3349e122
SM
144872011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14488
14489 * subr.el (remq): Don't allocate if it's not needed.
14490 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14491 (keymap--merge-bindings): New functions.
14492 (keymap-canonicalize): Use them to refine the canonicalization.
14493 * minibuffer.el (minibuffer-local-completion-map)
14494 (minibuffer-local-must-match-map): Move initialization from C.
14495 (minibuffer-local-filename-completion-map): Move initialization from C;
14496 don't inherit from anything here.
14497 (minibuffer-local-filename-must-match-map): Make obsolete.
14498 (completing-read-default): Use make-composed-keymap to combine
14499 minibuffer-local-filename-completion-map with either
14500 minibuffer-local-must-match-map or
14501 minibuffer-local-filename-completion-map.
14502
d224ac83
GM
145032011-07-01 Glenn Morris <rgm@gnu.org>
14504
3de63bf8
GM
14505 * type-break.el (type-break-time-sum): Use dolist.
14506
d224ac83
GM
14507 * textmodes/flyspell.el (flyspell-word-search-backward):
14508 Replace CL function.
14509
1a1e3f32
SM
145102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14511
fe3f64d5
SM
14512 * mouse.el (mouse--strip-first-event): New function.
14513 (function-key-map): Use it to map fringe clicks to normal clicks
14514 by default.
14515
eb604e34
SM
14516 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14517 (vc-bzr-revision-completion-table): Add support for annotate and date.
14518
1a1e3f32
SM
14519 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14520 inherit from parent.
14521
5bd35902
LMI
145222011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14523
ace6c69c 14524 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14525 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14526
191e2bed
LMI
14527 * dired.el (dired-mode): Fix up the doc string as suggested by
14528 Drew Adams (bug#8817).
14529
5bd35902
LMI
14530 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14531 cookie, since the manual says that it should be possible to add
14532 this function to `find-file-hook' (bug#8709).
14533
eee8207a
TZ
145342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14535
14536 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14537 here. Noted Ted Zlatanov as the maintainer.
14538 (cfengine-common-settings, cfengine-common-syntax): New functions
14539 to set up common things between `cfengine-mode' and
14540 `cfengine3-mode'.
14541 (cfengine3-mode): New mode.
14542 (cfengine3-defuns cfengine3-defuns-regex
14543 (cfengine3-class-selector-regex cfengine3-category-regex)
14544 (cfengine3-vartypes cfengine3-font-lock-keywords)
14545 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14546 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14547
36b148cf
MA
145482011-07-01 Michael Albinus <michael.albinus@gmx.de>
14549
14550 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14551
14552 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14553
0bf4ba9a
MR
145542011-07-01 Martin Rudalics <rudalics@gmx.at>
14555
14556 * window.el (same-window-buffer-names, same-window-regexps)
14557 (same-window-p, special-display-frame-alist)
14558 (special-display-popup-frame, special-display-function)
14559 (special-display-buffer-names, special-display-regexps)
14560 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14561 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14562 (split-window-preferred-function, split-height-threshold)
14563 (split-width-threshold, even-window-heights)
14564 (display-buffer-mark-dedicated, window-splittable-p)
14565 (split-window-sensibly, window-safely-shrinkable-p):
14566 Un-obsolete.
14567 (display-buffer): Don't spread args with function specifier
14568 because special-display-popup-frame won't like it.
14569
35837f51
PE
145702011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14571
d0672f86
PE
14572 Time-stamp simplifications and fixes.
14573 These improve accuracy slightly, and future-proof the code
14574 against some potential changes to current-time format.
14575
b9444d97
PE
14576 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14577 by using time-since and float-time.
14578
0ef923dc
PE
14579 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14580 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14581 + NNN microseconds".
14582
2f81380d
PE
14583 * type-break.el (type-break-time-sum): Rewrite using time-add.
14584
845b5c3e
PE
14585 * play/hanoi.el (hanoi-current-time-float): Remove.
14586 All uses replaced by float-time.
14587
ee6f1be0
PE
14588 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14589 This yields a more-accurate answer.
14590 (rng-time-to-float): Remove; no longer needed.
14591
fe955043
PE
14592 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14593
5777162a
PE
14594 * calendar/timeclock.el (timeclock-seconds-to-time):
14595 Defalias to seconds-to-time, since they're the same thing.
14596
3103f8b6 14597 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14598 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14599 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14600
0e61a35f
SM
146012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * window.el (bury-buffer): Don't iconify the only frame.
14604 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14605 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14606
ddd63a1e
CY
146072011-07-01 Chong Yidong <cyd@stupidchicken.com>
14608
0e61a35f
SM
14609 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14610 Add mouse-yank-primary.
ddd63a1e 14611
055f4923
TZ
146122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14613
14614 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14615
6a2fb145
SM
146162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14619 (find-library-name): Use it to find relative load names when provided
14620 absolute file name (bug#8803).
14621
fd4983f2
LMI
146222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14623
887d14ad
LMI
14624 * textmodes/flyspell.el (flyspell-word): Consider words that
14625 differ only in case as potential doublons (bug#5687).
14626
c53dc7fc
LMI
14627 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14628 Remove two rather uninteresting debugging-like messages to make
14629 debbugs.el more silent.
14630
fd4983f2
LMI
14631 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14632 a password-like phrase.
14633
7a71b18d 146342011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14635
14636 * progmodes/cc-guess.el: New file.
14637
6a2fb145 14638 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14639
14640 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14641 derived from `c-basic-common-init'.
14642
14643 * progmodes/cc-mode.el (top-level): Require cc-guess.
14644 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14645
1fa280a3
LM
146462011-06-30 Lawrence Mitchell <wence@gmx.li>
14647
14648 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14649
e6597158
AM
146502011-06-30 Alan Mackenzie <acm@muc.de>
14651
1fa280a3
LM
14652 * progmodes/cc-engine.el (c-guess-continued-construct):
14653 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14654 lock is disabled. Name this case as "CASE G".
14655
68ba37fb
KM
146562011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14657
14658 * allout.el (allout-yank-processing): Fix injection of extra space
14659 between bullet and non-whitespace character in first topic when
14660 pasting, ensuring that the actual spacing in the pasted topic
14661 following the bullet char is preserved. This extra space was
14662 causing pasted encrypted topics to get a decrypted status even
14663 when the content was actually still encrypted. Now the decryption
14664 status from before the paste is preserved.
14665
14666 (allout-flag-region): Set all allout overlays so they evaporate
14667 when reduced to zero length (evanescent), to prevent overlay
14668 leakage.
14669
887a0b34
GM
146702011-06-30 Glenn Morris <rgm@gnu.org>
14671
94b9acce
GM
14672 * w32-fns.el (w32-charset-info-alist): Declare.
14673
1d9b46d4
GM
14674 * find-dired.el (find-grep-options): Simplify.
14675
cc232200
GM
14676 * term/ns-win.el (ns-set-resource): Declare.
14677
28e77c46
GM
14678 * ses.el (row, col): Declare dynamic variables honestly.
14679
887a0b34
GM
14680 * textmodes/reftex-parse.el (index-tags): Declare.
14681
658d8eb8
CY
146822011-06-30 Chong Yidong <cyd@stupidchicken.com>
14683
14684 * cus-edit.el (customize-push-and-save): New function.
14685
14686 * files.el (hack-local-variables-confirm): Use it.
14687
1fa280a3
LM
14688 * custom.el (load-theme): New arg NO-CONFIRM.
14689 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14690 (custom-enabled-themes): Doc fix.
14691
14692 * cus-theme.el (customize-create-theme)
14693 (custom-theme-merge-theme): Callers to load-theme changed.
14694
bb617717
LMI
146952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14696
d61bdd5d
LMI
14697 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14698 short URLs have at least one dot in them (bug #7614).
14699
bb617717
LMI
14700 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14701 nil, because using a pty is apparently too slow (bug #895).
14702
2f31f37a
LMI
147032011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14704
14705 * mail/sendmail.el (sendmail-query-once): New function.
14706 (sendmail-query-once-function): New variable.
14707
3076b24e
GM
147082011-06-29 Glenn Morris <rgm@gnu.org>
14709
faf2a174
GM
14710 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14711
3076b24e
GM
14712 * ses.el (top-level): Require cl when compiling.
14713 (ses-set-localvars): Fix error statement.
14714 Call it at compile time to silence a storm of warnings.
14715
5386012d
MR
147162011-06-29 Martin Rudalics <rudalics@gmx.at>
14717
14718 * window.el (normalize-live-buffer): Rename to
14719 window-normalize-buffer.
14720 (normalize-live-frame): Rename to window-normalize-frame.
14721 (normalize-any-window): Rename to window-normalize-any-window.
14722 (normalize-live-window): Rename to window-normalize-live-window.
14723 (make-window-atom): Rename to window-make-atom.
14724 (window-resize-reset): Rename to window--resize-reset.
14725 (window-resize-reset-1): Rename to window--resize-reset-1.
14726 (resize-mini-window): Rename to window--resize-mini-window.
14727 (resize-subwindows-skip-p): Rename to
14728 window--resize-subwindows-skip-p.
14729 (resize-subwindows-normal): Rename to
14730 window--resize-subwindows-normal.
14731 (resize-subwindows): Rename to window--resize-subwindows.
14732 (resize-other-windows): Rename to window--resize-siblings.
14733 (resize-this-window): Rename to window--resize-this-window.
14734 (resize-root-window): Rename to window--resize-root-window.
14735 (resize-root-window-vertically): Rename to
14736 window--resize-root-window-vertically.
14737 (normalize-buffer-to-display): Rename to
14738 window-normalize-buffer-to-display.
14739 (normalize-buffer-to-switch-to): Rename to
14740 window-normalize-buffer-to-switch-to.
14741 Correspondingly update all callers of the functions listed
14742 above.
14743 (display-buffer-alist, display-buffer-normalize-arguments)
14744 (display-buffer-normalize-options, display-buffer)
14745 (display-buffer-alist-set): Use "function" instead of
14746 "fun-with-args".
14747
1176868d
CY
147482011-06-28 Chong Yidong <cyd@stupidchicken.com>
14749
14750 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14751 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14752 debbugs.gnu.org. Mention acknowledgment email.
14753
20a7a65f
LMI
147542011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14755
14756 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14757 buffer multibyteness, since it shouldn't matter.
14758
5f45cca5
MR
147592011-06-28 Martin Rudalics <rudalics@gmx.at>
14760
14761 * window.el (display-buffer-in-side-window): Handle dedicated
14762 windows as in display-buffer-reuse-window.
14763 (display-buffer-normalize-alist): Use value of override
14764 specifier.
14765 (display-buffer-normalize-specifiers): Use value of
14766 other-window-means-other-frame specifier.
14767 (display-buffer-alist): Rewrite some texts in widgets.
14768 (display-buffer): Spread arguments when calling function
14769 specified by fun-with-args.
14770
ad85fe1f
DD
147712011-06-28 Deniz Dogan <deniz@dogan.se>
14772
1fa280a3
LM
14773 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14774 Unnest `let'.
da68c4c8 14775
ad85fe1f
DD
14776 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14777 selectors (Bug#5732).
ec49bd31 14778 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14779
a08cc025
JA
147802011-06-27 Jari Aalto <jari.aalto@cante.net>
14781
14782 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14783 (eshell-ls-date-format): New defcustom.
14784 (eshell-ls-file): Use it.
14785
e2b551c5
SM
147862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14789
8982b231
KY
147902011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14791
14792 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14793 (ange-ftp-make-tmp-name): New arg.
14794 (ange-ftp-file-local-copy): Use it.
14795
36c9fa27
J
147962011-06-27 Jambunathan K <kjambunathan@gmail.com>
14797
14798 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14799 no-conversion (Bug#8870).
14800
d68443dc
MR
148012011-06-27 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (window-right, window-left, window-child)
14804 (window-child-count, window-last-child)
14805 (window-iso-combination-p, walk-window-tree-1)
14806 (window-atom-check-1, window-tree-1, delete-window)
14807 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14808 new naming conventions - window-vchild, window-hchild,
14809 window-next and window-prev are now called window-top-child,
14810 window-left-child, window-next-sibling and window-prev-sibling
14811 respectively.
d615d6d2
MR
14812 (resize-window-reset): Rename to window-resize-reset.
14813 (resize-window-reset-1): Rename to window-resize-reset-1.
14814 (resize-window): Rename to window-resize.
14815 (window-min-height, window-min-width)
14816 (resize-mini-window, resize-this-window, resize-root-window)
14817 (resize-root-window-vertically, adjust-window-trailing-edge)
14818 (enlarge-window, shrink-window, maximize-window)
14819 (minimize-window, delete-window, quit-restore-window)
14820 (split-window, balance-windows, balance-windows-area-adjust)
14821 (balance-windows-area, window-state-put-2)
14822 (display-buffer-even-window-sizes, display-buffer-set-height)
14823 (display-buffer-set-width, set-window-text-height)
14824 (fit-window-to-buffer): Rename all "resize-window" prefixed
14825 calls to use the "window-resize" prefix convention.
14826 (display-buffer-alist): Fix symbol for label specifier.
14827 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14828 corresponding specifier.
14829 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14830
b6458526
VB
148312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14832
14833 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14834 convention.
14835 (ses-call-printer): Does not pass an empty string to formatter when the
14836 cell is empty to keep from barking printer Calc math-format-value.
14837
d31fd9ac
RS
148382011-06-27 Richard Stallman <rms@gnu.org>
14839
43d5bf84
RS
14840 * battery.el (battery-mode-line-limit): New variable.
14841 (battery-update): Handle it.
14842
d31fd9ac
RS
14843 * mail/rmailmm.el (rmail-mime-process-multipart):
14844 Handle truncated messages.
14845
819a6054
GM
148462011-06-27 Glenn Morris <rgm@gnu.org>
14847
14848 * progmodes/flymake.el (flymake-err-line-patterns):
14849 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14850
cedc73f2
VB
148512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14852
819a6054 14853 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14854 (ses--clean-!, ses--clean-_): New functions.
14855 (ses-range): Add configurability of readout order, and conversion
14856 to Calc vector.
14857
5e5d49b6
VB
14858 * ses.el (ses-repair-cell-reference-all): New function.
14859 (ses-cell-symbol): Set macro as safe, so that it can be used in
14860 formulas.
14861
56e6cc31 14862 * ses.el: Update cycle detection algorithm.
90ca8b49 14863 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14864 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14865 (ses-set-localvars): New function.
14866 (ses-make-cell): Add property-list as a cell element.
14867 (ses-cell-property-get-fun, ses-cell-property-get)
14868 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14869 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14870 New functions.
90ca8b49
VB
14871 (ses-cell-property-set, ses-cell-property-pop)
14872 (ses-cell-property-get-handle): New macro.
14873 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14874 New aliases, used for code readability.
14875 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14876 cycle detection.
14877 (ses-self-reference-early-detection): New defcustom.
fac916bf 14878 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14879 (ses-mode): Use ses-set-localvars.
14880 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14881 before lauching the update processing.
14882 (ses-initialize-Dijkstra-attempt): New function.
14883 (ses-recalculate-cell): Update for cycle detection based on
14884 Dijkstra algorithm.
14885
2bb63e81
VB
14886 * ses.el: Fix commenting and indenting convention.
14887
c9d29fb8
SM
148882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14889
14890 * bs.el (bs-cycle-next): Complete last change.
14891
d8e4b68b
JB
148922011-06-27 Drew Adams <drew.adams@oracle.com>
14893
14894 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14895
40098786
LMI
148962011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14897
c9d29fb8
SM
14898 * net/network-stream.el (network-stream-open-starttls):
14899 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14900 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14901
40098786
LMI
14902 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14903 to binary to possibly avoid line encoding issues on Windows (among
14904 other things).
14905
468d09d4
LMI
149062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14907
14908 * net/network-stream.el (open-network-stream): Return an :error
14909 saying what the problem was, if possible.
14910
14911 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14912 server.
14913
14914 * net/network-stream.el (network-stream-open-starttls): If we
14915 wanted to use STARTTLS, and the server offered it, but we weren't
14916 able to because we had no STARTTLS support, then close the connection.
14917 (open-network-stream): Return an :error element, if present.
14918
16f07dd7
CY
149192011-06-26 Chong Yidong <cyd@stupidchicken.com>
14920
88821ca0
CY
14921 * hl-line.el (hl-line-sticky-flag): Doc fix.
14922 (global-hl-line-sticky-flag): New option (Bug#8323).
14923 (global-hl-line-highlight): Obey it.
14924
16f07dd7
CY
14925 * vc/vc.el (vc-revert-show-diff): Default to t.
14926
6b5ccddf
KM
149272011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14928
c9d29fb8
SM
14929 * allout-widgets.el (allout-widgets-post-command-business):
14930 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14931 undecorated when an isearch is continued past, and isearch
14932 automatically collapses them. This leads to "widget leaks", where
14933 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14934 hidden widgets can slow down cursor travel, substantially.
14935 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14936 so we're doing without this nicety.
14937
14938 (allout-widgets-tally-string): Don't try to do a hash-table-count
14939 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14940 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14941 *Messages* when allout-widgets-maintain-tally is t.
14942
355f2e07
MR
149432011-06-26 Martin Rudalics <rudalics@gmx.at>
14944
14945 * window.el (display-buffer-normalize-argument): Rename to
14946 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14947 LABEL argument. Respect special-display-function when popping up
14948 a new frame. Fix code searching for a window showing the buffer
14949 on another frame.
c9d29fb8
SM
14950 (display-buffer-normalize-specifiers):
14951 Call display-buffer-normalize-arguments.
355f2e07
MR
14952 (display-buffer-in-window): Don't undedicate the window if its
14953 buffer remains the same.
14954 Reported by Drew Adams <drew.adams@oracle.com>.
14955 (display-buffer-alist): Add choice for same-window macro
14956 specfier.
14957 (display-buffer): Mention special meaning of LABEL argument in
14958 doc-string. Fix quoting. Don't pop up a new frame even as
14959 fallback.
14960
7ca8fc42
JB
149612011-06-26 Juanma Barranquero <lekktu@gmail.com>
14962
14963 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14964 avoid deleting the current window in some cases (bug#8911).
14965
bc312254
AS
149662011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14967
14968 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14969 (Bug#8934)
14970
2db18f3f
LMI
149712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14972
c9d29fb8
SM
14973 * net/network-stream.el (network-stream-open-starttls):
14974 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14975 (network-stream-open-tls): Ditto.
14976
6302e0d3
LL
149772011-06-26 Leo Liu <sdl.web@gmail.com>
14978
14979 * register.el (registerv): New struct.
14980 (registerv-make): New function.
c9d29fb8
SM
14981 (jump-to-register, describe-register-1, insert-register):
14982 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14983 struct. (Bug#8415)
14984
5fdd4046
CY
149852011-06-26 Chong Yidong <cyd@stupidchicken.com>
14986
2afef60a
CY
14987 * vc/vc.el (vc-revert-show-diff): New defcustom.
14988 (vc-diff-internal): New arg specifying diff buffer.
14989 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14990 reuse an existing *vc-diff* buffer (Bug#8927).
14991
5fdd4046
CY
14992 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14993
e93db24a
GM
149942011-06-26 Glenn Morris <rgm@gnu.org>
14995
14996 * progmodes/f90.el (f90-critical-indent): New option.
14997 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14998 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14999 (f90-mode): Doc fix.
15000 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15001 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15002 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15003 (f90-match-end): Handle block, critical.
15004
eefff499
GM
150052011-06-25 Glenn Morris <rgm@gnu.org>
15006
f6ba4cc9
GM
15007 * calendar/diary-lib.el (diary-included-files): Doc fix.
15008 (diary-include-files): New function, extracted from
15009 diary-include-other-diary-files and diary-mark-included-diary-files.
15010 (diary-include-other-diary-files, diary-mark-included-diary-files):
15011 Just call diary-include-files.
15012 (diary-mark-entries): Reset diary-included-files on first call.
15013
16712304
GM
15014 * calendar/diary-lib.el (diary-mark-entries)
15015 (diary-mark-included-diary-files):
15016 Visit included diary-files in temp buffers.
15017
5d8e0d43
GM
15018 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15019 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15020 (f90-start-block-re, f90-imenu-generic-expression)
15021 (f90-looking-at-program-block-start, f90-no-block-limit):
15022 Add support for submodules.
15023
ccf7a5d5
GM
15024 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15025 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15026
11fdef7d 150272011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15028
15029 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15030 buffer-file-type before setting its value, to avoid disastrous
eefff499 15031 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15032
74f53697
JB
150332011-06-25 Juanma Barranquero <lekktu@gmail.com>
15034
15035 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15036
15037 * ses.el (ses-unload-function):
15038 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15039
15040 * proced.el (proced-unload-function):
15041 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15042
18a4ce5e
AR
150432011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15044
15045 * server.el (server-create-window-system-frame): Add parameters arg.
15046 (server-process-filter): Doc fix. Handle frame-parameters.
15047
519d22cc
JB
150482011-06-25 Juanma Barranquero <lekktu@gmail.com>
15049
15050 Fix bug#8730, bug#8781.
15051
15052 * loadhist.el (unload--set-major-mode): New function.
15053 (unload-feature): Use it.
15054
15055 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15056 (python-unload-function): New function.
15057
c206f5b0
SM
150582011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15061
f9ad64f3
GS
150622011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15063
15064 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15065 the candidates list.
15066
7d0da90e
JB
150672011-06-24 Juanma Barranquero <lekktu@gmail.com>
15068
15069 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15070
14b4e83d
RS
150712011-06-23 Richard Stallman <rms@gnu.org>
15072
15073 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15074 (rmail-variables): Set next-error-move-function.
15075 (rmail-what-message): Take argument POS.
15076 (rmail-next-error-move): New function.
15077
273d2baf
SM
150782011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15079
15080 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15081 messages for adjacent non-terminals.
15082
56c2cc9a
RS
150832011-06-23 Richard Stallman <rms@gnu.org>
15084
15085 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15086 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15087 (rmail-start-mail): Don't specify use of rmail-mail-return;
15088 that's done by mail-bury now.
15089 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15090
d59eb518
MA
150912011-06-23 Michael Albinus <michael.albinus@gmx.de>
15092
15093 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15094 SIZE is a number.
15095
02cfc6d6
MR
150962011-06-23 Martin Rudalics <rudalics@gmx.at>
15097
15098 * window.el (get-lru-window, get-mru-window)
15099 (get-largest-window): Never return a minibuffer window.
15100 (display-buffer-pop-up-window): Fix a bug that could lead to
15101 reusing the minibuffer window.
15102 (display-buffer): Pass original specifier argument to
15103 display-buffer-function instead of the normalized one.
15104 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15105
4e323265
LL
151062011-06-22 Leo Liu <sdl.web@gmail.com>
15107
15108 * minibuffer.el (completing-read-function)
15109 (completing-read-default): Move from minibuf.c
15110
7a70468f
RS
151112011-06-22 Richard Stallman <rms@gnu.org>
15112
50718fc2
RS
15113 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15114 to Rmail even if not started by a special Rmail command.
15115
7a70468f
RS
15116 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15117 Copy the buffer currently showing just one message.
15118
297dde5a
RW
151192011-06-22 Roland Winkler <winkler@gnu.org>
15120
15121 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15122 (bibtex-clean-entry): First delete the old key so that a
15123 customized algorithm for generating the new key does not get
15124 confused by the old key.
15125 (bibtex-url): Obey regexp of first step.
15126 (bibtex-search-entries): Do not use add-to-list with local
15127 list-var.
15128
97bb1093
LMI
151292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15130
15131 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15132 stored a user name, then query for the password first, instead of
15133 waiting for SMTP to give an error message and the trying again.
15134
1c0f1a19
JD
151352011-06-22 Lawrence Mitchell <wence@gmx.li>
15136
15137 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15138 BUFFER in call-process.
15139
396f7c9d
LMI
151402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15141
15142 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15143 QUIT twice.
ddb7ffee
LMI
15144 (smtpmail-try-auth-methods): Require user name and password from
15145 auth-source.
396f7c9d 15146
8998d1b3
MR
151472011-06-22 Martin Rudalics <rudalics@gmx.at>
15148
15149 * window.el (display-buffer-default-specifiers)
15150 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15151 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15152 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15153
15154 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15155 (special-display-frame-alist, special-display-popup-frame):
15156 Remove duplicate declarations. These are now in window.el.
15157
4ea31e07
LMI
151582011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15159
c9d29fb8
SM
15160 * mail/smtpmail.el (smtpmail-via-smtp):
15161 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15162 server supports it. SMTP servers that support STARTTLS commonly
15163 require it.
15164
15165 * net/network-stream.el (network-stream-open-starttls): Support
15166 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15167 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15168
95f41d9a
LMI
15169 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15170 upgrades with `open-network-stream', and rely solely on
15171 auth-source for all credentials. Big changes throughout the file,
15172 but in particular:
c9d29fb8
SM
15173 (smtpmail-auth-credentials): Remove.
15174 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15175 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15176 MAIL FROM, too.
95f41d9a 15177
c9d29fb8
SM
15178 * net/network-stream.el (network-stream-open-starttls):
15179 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15180 STARTTLS.
15181 (auth-source): Require.
15182 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15183 (network-stream-certificate): Change cert-cert to cert and
15184 cert-key to key.
4ea31e07 15185
065ec2c7
MA
151862011-06-21 Michael Albinus <michael.albinus@gmx.de>
15187
15188 * net/tramp-cache.el (top): Don't load the persistency file when
15189 "emacs -Q" has been called.
15190
cd93b359
DR
151912011-06-21 Tim Harper <timcharper@gmail.com>
15192
d8e4b68b
JB
15193 * term/ns-win.el (ns-initialize-window-system):
15194 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15195 resource to NO as it is not yet supported by the NS port.
15196
ae9c0411
JB
151972011-06-21 Juanma Barranquero <lekktu@gmail.com>
15198
15199 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15200 (list-dynamic-libraries): ...not here.
15201
7f3f739f
LL
152022011-06-21 Leo Liu <sdl.web@gmail.com>
15203
15204 * subr.el (sha1): Implement sha1 using secure-hash.
15205
327c8fb1
MR
152062011-06-21 Martin Rudalics <rudalics@gmx.at>
15207
15208 * window.el (display-buffer-alist): In default value do not
15209 enforce searching a window on any but the selected frame.
15210 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15211 (display-buffer-select-window): Remove function.
15212 (display-buffer-in-window): When a window on another frame gets
15213 reused, do not select it any more but just raise its frame if
15214 necessary (Bug#8851) and (Bug#8856).
15215 (display-buffer-normalize-options): Handle pop-up-frames related
15216 options more faithfully.
15217 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15218 window if it is on another frame.
c9d29fb8
SM
15219 (display-buffer-alist, display-buffer-default-specifiers):
15220 Don't make new frame unsplittable by default.
9e9de014
MR
15221 (display-buffer-normalize-argument): Fix doc-string typo and use
15222 'same-frame-other-window instead of 'other-window when associating
15223 with display-buffer-macro-specifiers.
327c8fb1 15224
7cf3f556
VB
152252011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15226
15227 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15228 New functions.
15229 (5x5-mode-map, 5x5-mode-menu): Bind them.
15230 (5x5-draw-grid): Tweak the solver's rendering.
15231
60a406cf
SM
152322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15235 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15236
d8e4b68b 152372011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15238
15239 * menu-bar.el: Use function variable instead of switch-to-buffer.
15240 (menu-bar-select-buffer-function): New variable.
60a406cf 15241 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15242
478d6f95
SM
152432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15244
15245 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15246 variable's status.
15247
ca530739
JD
152482011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15249
15250 * x-dnd.el (x-dnd-version-from-flags)
15251 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15252 and long as number (Bug#8899).
15253 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15254
bcd70d97
SM
152552011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15256
60a406cf 15257 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15258 (completion-try-completion, completion-all-completions): Compute the
15259 metadata argument if it's missing; make it optional (bug#8795).
15260
60a406cf 15261 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15262 (widget-complete): Use new :completion-function property.
15263 (widget-completions-at-point): New function.
15264 (default): Use :completion-function instead of :complete.
60a406cf
SM
15265 (widget-default-completions): Rename from widget-default-complete;
15266 Rewrite.
bcd70d97
SM
15267 (widget-string-complete, widget-file-complete, widget-color-complete):
15268 Remove functions.
15269 (file, symbol, function, variable, coding-system, color):
15270 * international/mule-cmds.el (default-input-method, charset)
15271 (language-info-custom-alist):
15272 * cus-edit.el (face): Use new property :completions.
15273
15274 * progmodes/pascal.el (pascal-completions-at-point): New function.
15275 (pascal-mode): Use it.
15276 (pascal-mode-map): Use completion-at-point.
15277 (pascal-toggle-completions): Make obsolete.
15278 (pascal-complete-word, pascal-show-completions):
15279 * progmodes/octave-mod.el (octave-complete-symbol):
15280 Redefine as obsolete alias.
15281 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15282 Signal absence of completion info for old Octave,
15283 (inferior-octave-complete): Redefine as obsolete alias.
15284 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15285 (meta-completions-at-point): Rename from meta-complete-symbol and
15286 adapt it for use on completion-at-point-functions.
15287 (meta-common-mode): Use it.
15288 (meta-looking-at-backward, meta-match-buffer): Remove.
15289 (meta-complete-symbol): Redefine as obsolete alias.
15290 (meta-common-mode-map): Use completion-at-point.
15291 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15292 (makefile-mode-map): Use completion-at-point.
15293 (makefile-completions-at-point): Rename from makefile-complete and
15294 adapt it for use on completion-at-point-functions.
15295 (makefile-mode): Use it.
15296 (makefile-complete): Redefine as obsolete alias.
15297
aebf69c8
DD
152982011-06-20 Deniz Dogan <deniz@dogan.se>
15299
15300 * net/rcirc.el: Delete trailing whitespaces once and for all.
15301
bfbbb27d
DC
153022011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15303
15304 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15305
d264a46b
CY
153062011-06-19 Chong Yidong <cyd@stupidchicken.com>
15307
4ca009e5
CY
15308 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15309
d264a46b
CY
15310 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15311
fbf5b3ce
MR
153122011-06-19 Martin Rudalics <rudalics@gmx.at>
15313
15314 * window.el (display-buffer-other-window-means-other-frame):
15315 Call display-buffer-normalize-alist.
15316 (display-buffer-normalize-specifiers-1): Rename to
15317 display-buffer-normalize-argument. New argument other-frame.
15318 Rewrite.
15319 (display-buffer-normalize-specifiers-2): Rename to
15320 display-buffer-normalize-options.
15321 (display-buffer-normalize-alist-1): New function.
15322 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15323 display-buffer-normalize-alist.
15324 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15325 (display-buffer-normalize-options-inhibit): New variable.
15326 (display-buffer-normalize-specifiers): Rewrite calling
15327 display-buffer-normalize-alist,
15328 display-buffer-normalize-argument, and
15329 display-buffer-normalize-options. Don't call the latter if
15330 display-buffer-normalize-options-inhibit is non-nil.
15331 (frame-auto-delete): New option.
15332 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15333 (window-list-no-nils, window-state-ignored-parameters)
15334 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15335 (window-state-put-1, window-state-put-2, window-state-put):
15336 New functions.
9a028c23
MR
15337 (display-buffer-normalize-options): Move special-display-p group
15338 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15339
6d10d800
CY
153402011-06-18 Chong Yidong <cyd@stupidchicken.com>
15341
6420d28b
CY
15342 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15343 groups (Bug#8776).
15344 (rx-submatch-n): New function.
15345 (rx): Document it.
15346
ddb8b596
CY
15347 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15348 (Bug#8768).
15349
15350 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15351
77080289
CY
15352 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15353
61dfb316
CY
15354 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15355 anytime existing face settings are present (Bug#8889).
15356
6d10d800
CY
15357 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15358 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15359 Remove unused argument.
15360
be3fb2b8
MR
153612011-06-18 Martin Rudalics <rudalics@gmx.at>
15362
bcd70d97
SM
15363 * window.el (display-buffer-default-specifiers):
15364 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15365 pop-up-window-min-width, and another reuse-window specifier
15366 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15367 (display-buffer-normalize-specifiers-2):
15368 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15369 pop-up-windows is unset. Add a reuse-window specifier for the
15370 case popping up a new window fails.
15371 (special-display-popup-frame): Remove double quoting.
28dec25a 15372 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15373
1c6d8c76
SM
153742011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15375
15376 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15377 according to comint-completion-addsuffix.
15378
15379 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15380 (pcomplete-suffix-list): Mark as obsolete.
15381 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15382 pcomplete-seen in the closure.
15383 (pcomplete-comint-setup): Setup completion-at-point as well.
15384 (pcomplete--entries): New function.
15385 (pcomplete--env-regexp): New var.
15386 (pcomplete-entries): Rewrite to work with partial-completion and
15387 without relying on pcomplete-suffix-list.
15388 (pcomplete-pare-list): Remove, unused.
15389
25aef8b8
MR
153902011-06-17 Martin Rudalics <rudalics@gmx.at>
15391
15392 * window.el (display-buffer-alist): Set pop-up-window-min-height
15393 and pop-up-window-min-width in default value. Reported by
15394 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15395 other-window-means-other-frame.
15396 (display-buffer-macro-specifiers): Comment out entry for
15397 other-window specifier.
15398 (display-buffer-other-window-means-other-frame): New function.
15399 (display-buffer-normalize-specifiers-1): New arguments
15400 buffer-name and label. Treat other-window case specially.
15401 (display-buffer-normalize-specifiers-2): Treat other-window case
15402 specially.
15403 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15404 (display-buffer-normalize-specifiers):
15405 Call display-buffer-normalize-specifiers-3.
25aef8b8 15406
dbad4f69
MR
154072011-06-17 Martin Rudalics <rudalics@gmx.at>
15408
15409 * window.el (same-window-p): Fix two typos introduced when
15410 adding with-no-warnings.
d1067961
MR
15411 (display-buffer-normalize-specifiers-1): Don't check
15412 pop-up-frames for 'unset initialization.
15413 (display-buffer-normalize-specifiers-2): Major rewrite using
15414 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15415 (pop-up-frames, display-buffer-reuse-frames)
15416 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15417 Suggested by David Engster <deng@randomsample.de>.
15418 (even-window-heights): Initialize to 'unset.
15419 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15420 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15421 other window case.
dbad4f69 15422
9b9c9e3a
MR
154232011-06-16 Martin Rudalics <rudalics@gmx.at>
15424
bcd70d97
SM
15425 * window.el (display-buffer-normalize-specifiers-1):
15426 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15427 second argument of display-buffer (Bug#8865).
981d5c09
MR
15428 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15429 (switch-to-buffer-other-window-same-frame)
15430 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15431 Adams (Bug#8875).
9c2755e9
MR
15432 (display-buffer): Don't check noninteractive when calling
15433 display-buffer-pop-up-frame.
15434 (display-buffer-pop-up-frame): Never pop up a frame in
15435 noninteractive mode (Bug#8857).
67222e1d
MR
15436 (enlarge-window, shrink-window): Don't report an error when the
15437 window can't be resized as requested (Bug#8862).
9b9c9e3a 15438
2b75be67
SM
154392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15440
9ffdd3ba
SM
15441 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15442
cb581a67
SM
15443 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15444
2b75be67
SM
15445 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15446
8c0e3589
AM
154472011-06-15 Alan Mackenzie <acm@muc.de>
15448
cb581a67
SM
15449 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15450 for declarators, disable knr checking to speed up for normal files.
15451 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15452
b96e6cde
LMI
154532011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15454
4bba86e6
LMI
15455 * net/network-stream.el (open-network-stream): Add the keyword
15456 :always-query-capabilities for the case where you want to force a
15457 `plain' network connection, but the protocol still requires the
15458 capabilitiy command (i.e., SMTP and EHLO).
15459
2b75be67 15460 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15461 consistency with other `-live-p' functions.
15462
efdcdbf8
SM
154632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * window.el (same-window-buffer-names, same-window-regexps)
15466 (special-display-frame-alist, special-display-popup-frame)
15467 (special-display-function, special-display-buffer-names)
15468 (special-display-regexps, pop-up-frame-alist)
15469 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15470 (pop-up-windows, split-window-preferred-function)
15471 (split-height-threshold, split-width-threshold, even-window-heights)
15472 (display-buffer-mark-dedicated): Don't encourage the use of
15473 display-buffer-alist from Elisp code.
15474
c5cde042
DN
154752011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15476
15477 * progmodes/python.el (python-mode): Derive from prog-mode.
15478 * progmodes/ps-mode.el (ps-mode):
15479 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15480 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15481 * progmodes/ld-script.el (ld-script-mode): Likewise.
15482
baa1c9ab
MR
154832011-06-15 Martin Rudalics <rudalics@gmx.at>
15484
15485 * window.el (display-buffer-alist): Trim default value to avoid
15486 popping up a new frame (Bug#8857) or reusing an arbitrary window
15487 on another frame.
15488 (display-buffer): Do not fall back on popping up a new frame in
15489 batch mode (Bug#8857).
15490
c5dd5a51
CY
154912011-06-14 Chong Yidong <cyd@stupidchicken.com>
15492
15493 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15494 (custom-theme-summary): New function.
15495 (customize-themes): Use it.
15496
d647b7c4
GM
154972011-06-13 Glenn Morris <rgm@gnu.org>
15498
15499 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15500
9481c002
MR
155012011-06-13 Martin Rudalics <rudalics@gmx.at>
15502
357f93d2
MR
15503 * help.el (help-window): Remove variable.
15504 (help-window-point-marker, temp-buffer-max-height)
15505 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15506 (help-print-return-message): Don't set help-window.
15507 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15508 (help-window-setup-finish): Remove.
15509 (help-window-display-message, help-window-setup)
15510 (with-help-window): Major rewrite based on new
15511 display-buffer-window variable.
15512
15513 * help-mode.el (help-mode-finish): Remove help-window related
15514 code.
15515
15516 * view.el (view-exits-all-viewing-windows): Remove reference to
15517 view-return-to-alist in doc-string.
15518 (view-return-to-alist): Make obsolete.
15519 (view-buffer): Call pop-to-buffer-same-window and remove
15520 undo-window code.
15521 (view-buffer-other-window): Call pop-to-buffer-other-window and
15522 simplify code. Ignore second argument.
15523 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15524 simplify code. Ignore second argument.
15525 (view-return-to-alist-update): Make obsolete.
15526 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15527 Rewrite using quit-restore window parameters.
2b75be67
SM
15528 (view-mode-exit): Rename second argument to EXIT-ONLY.
15529 Rewrite using quit-restore-window.
357f93d2
MR
15530 (View-exit, View-exit-and-edit, View-leave, View-quit)
15531 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15532 appropriate arguments.
15533 (view-end-message): Use quit-restore window parameter.
15534
9481c002
MR
15535 * window.el (display-buffer-function): Rewrite doc-string.
15536 (display-buffer-window, display-buffer-alist): New variables.
15537 (display-buffer-split-specifiers)
15538 (display-buffer-side-specifiers)
15539 (display-buffer-macro-specifiers): New constants.
15540 (display-buffer-even-window-sizes, display-buffer-set-height)
15541 (display-buffer-set-width, display-buffer-select-window)
15542 (display-buffer-in-window, display-buffer-reuse-window)
15543 (display-buffer-split-window-1, display-buffer-split-window)
15544 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15545 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15546 (display-buffer-in-side-window, normalize-buffer-to-display)
15547 (display-buffer-normalize-specifiers-1)
15548 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15549 (display-buffer-normalize-specifiers, display-buffer-frame):
15550 New functions.
9481c002
MR
15551 (display-buffer): Major rewrite.
15552 (display-buffer-other-window, display-buffer-other-frame)
15553 (pop-to-buffer, switch-to-buffer-other-window)
15554 (switch-to-buffer-other-frame): Rewrite.
15555 (display-buffer-same-window, display-buffer-same-frame)
15556 (display-buffer-same-frame-other-window)
15557 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15558 (pop-to-buffer-other-window)
15559 (pop-to-buffer-same-frame-other-window)
15560 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15561 (switch-to-buffer-other-window-same-frame): New functions.
15562 (same-window-p, special-display-p): Rewrite disabling warnings.
15563 Make obsolete.
15564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15565 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15566 Make obsolete
15567 (same-window-buffer-names, same-window-regexps)
15568 (special-display-frame-alist, special-display-popup-frame)
15569 (special-display-function, special-display-buffer-names)
15570 (special-display-regexps, pop-up-frame-alist)
15571 (pop-up-frame-function, split-window-preferred-function)
15572 (split-height-threshold, split-width-threshold)
15573 (even-window-heights): Make obsolete.
15574
9db51aca
GM
155752011-06-12 Glenn Morris <rgm@gnu.org>
15576
15577 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15578 Misc simplifications.
9db51aca 15579
39cffb44
MR
155802011-06-12 Martin Rudalics <rudalics@gmx.at>
15581
15582 * window.el (window-safely-shrinkable-p): Restore function which
15583 was inadvertently removed in change from 2011-06-11. Declare as
15584 obsolete.
15585
2b75be67
SM
15586 * calendar/calendar.el (calendar-generate-window):
15587 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15588 window-safely-shrinkable-p.
15589
a8955be7
GM
155902011-06-12 Glenn Morris <rgm@gnu.org>
15591
15592 * progmodes/fortran.el (fortran-mode-syntax-table):
15593 * progmodes/f90.el (f90-mode-syntax-table):
15594 Set % to punctuation. (Bug#8820)
15595 (f90-find-tag-default): Remove, no longer needed.
15596
f0d4059d
DC
155972011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15598
15599 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15600
1100a63c
CY
156012011-06-11 Chong Yidong <cyd@stupidchicken.com>
15602
15603 * image.el (image-animated-p): Return animation delay in seconds.
15604 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15605 (image-animate-timeout): Remove DELAY argument. Don't assume
15606 every subimage has the same delay; get it from image-animated-p.
15607 (image-animate): Caller changed.
15608
def722bf
MA
156092011-06-11 Michael Albinus <michael.albinus@gmx.de>
15610
15611 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15612 to ignored backtrace functions.
15613
0a2bb1a9
GM
156142011-06-11 Glenn Morris <rgm@gnu.org>
15615
15616 * calendar/appt.el (appt-disp-window-function): Doc fix.
15617 (appt-check): Handle overlapping appointments. (Bug#8337)
15618
6198ccd0
MR
156192011-06-11 Martin Rudalics <rudalics@gmx.at>
15620
15621 * window.el (window-tree-1, window-tree): New functions, moving
15622 the latter to window.el.
15623 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15624 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15625 (bw-refresh-edges): Remove.
15626 (balance-windows-1, balance-windows-2): New functions.
15627 (balance-windows): Rewrite in terms of window tree functions,
15628 balance-windows-1 and balance-windows-2.
15629 (bw-adjust-window): Remove.
15630 (balance-windows-area-adjust): New function with functionality of
15631 bw-adjust-window but using resize-window.
2b75be67
SM
15632 (set-window-text-height): Rewrite doc-string.
15633 Use normalize-live-window and resize-window.
15634 (enlarge-window-horizontally, shrink-window-horizontally):
15635 Rename argument to DELTA.
6198ccd0
MR
15636 (window-buffer-height): New function.
15637 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15638 Rewrite using new window resize routines.
2b75be67
SM
15639 (kill-buffer-and-window, mouse-autoselect-window-select):
15640 Use ignore-errors instead of condition-case.
6198ccd0
MR
15641 (quit-window): Call delete-frame instead of delete-windows-on
15642 for the only buffer on frame.
15643
9397e56f
MR
156442011-06-10 Martin Rudalics <rudalics@gmx.at>
15645
15646 * loadup.el (top-level): Load window before files for the sake
15647 of replace-buffer-in-windows.
15648
15649 * files.el (read-buffer-to-switch)
15650 (switch-to-buffer-other-window)
2b75be67
SM
15651 (switch-to-buffer-other-frame, display-buffer-other-frame):
15652 Move to window.el.
9397e56f
MR
15653
15654 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15655 (previous-buffer): Move to window.el.
15656
15657 * bindings.el (unbury-buffer): Move to window.el.
15658
15659 * window.el (delete-other-windows-vertically): Move after
15660 definition of delete-other-windows.
15661 (other-window, delete-windows-on, replace-buffer-in-windows):
15662 Move here from window.c.
15663 (record-window-buffer, unrecord-window-buffer)
15664 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15665 (switch-to-next-buffer): New functions.
15666 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15667 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15668 (previous-buffer): Move here from simple.el.
15669 Call switch-to-prev-buffer.
9397e56f
MR
15670 (bury-buffer): Move here from buffer.c. Switch to previous
15671 buffer when window cannot be deleted.
15672 (unbury-buffer): Move here from bindings.el.
15673 (ctl-x-map): Move binding for other-window from window.c to
15674 here.
15675 (read-buffer-to-switch, switch-to-buffer-other-window)
15676 (switch-to-buffer-other-frame): Move here from files.el.
15677 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15678 (switch-to-buffer): Move here from buffer.c.
15679 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15680
562dd5e9
MR
156812011-06-10 Martin Rudalics <rudalics@gmx.at>
15682
15683 * window.el (window-min-height, window-min-width): Move here
15684 from window.c. Add defcustoms and rewrite doc-strings.
15685 (resize-mini-window, resize-window): New functions.
15686 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15687 Move here from window.c.
15688 (maximize-window, minimize-window): New functions.
15689 (delete-window, delete-other-windows, split-window): Move here
15690 from window.c.
15691 (window-split-min-size): New function.
15692 (split-window-keep-point): Mention split-window-above-each-other
15693 instead of split-window-vertically.
2b75be67 15694 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15695 Rename split-window-vertically to split-window-above-each-other
15696 and provide defalias for old definition.
15697 (split-window-side-by-side, split-window-horizontally):
15698 Rename split-window-horizontally to split-window-side-by-side
15699 and provide defalias for the old definition.
562dd5e9
MR
15700 (ctl-x-map): Move bindings for delete-window,
15701 delete-other-windows and enlarge-window here from window.c.
15702 Replace bindings for split-window-vertically and
15703 split-window-horizontally by bindings for
15704 split-window-above-each-other and split-window-side-by-side.
15705
15706 * cus-start.el (all): Remove entries for window-min-height and
15707 window-min-width. Add entries for window-splits and
15708 window-nest.
15709
f0da764a
GM
157102011-06-09 Glenn Morris <rgm@gnu.org>
15711
80675c21
GM
15712 * calendar/appt.el (appt-mode-line): New function.
15713 (appt-check, appt-disp-window): Use it.
15714
f0da764a
GM
15715 * files.el (hack-one-local-variable-eval-safep):
15716 Allow minor-modes with explicit +/-1 arguments.
15717
59f623b7
TZ
157182011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15719
15720 * term/xterm.el (xterm): Add defgroup.
15721 (xterm-extra-capabilities): Add defcustom to supply known xterm
15722 capabilities, skip querying them, or query them (default).
15723 (terminal-init-xterm): Use it.
15724 (terminal-init-xterm-modify-other-keys): New function to set up
15725 modifyOtherKeys support to simplify `terminal-init-xterm'.
15726
9aab8e0d
MR
157272011-06-09 Martin Rudalics <rudalics@gmx.at>
15728
15729 * window.el (resize-window-reset, resize-window-reset-1)
15730 (resize-subwindows-skip-p, resize-subwindows-normal)
15731 (resize-subwindows, resize-other-windows, resize-this-window)
15732 (resize-root-window, resize-root-window-vertically)
15733 (window-deletable-p, window-or-subwindow-p)
15734 (frame-root-window-p): New functions.
15735
e8b08aee
GM
157362011-06-09 Glenn Morris <rgm@gnu.org>
15737
15738 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15739 (ange-ftp-get-files): Use it.
15740
254c37a5
AK
157412011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15742
15743 * mail/sendmail.el (mail-recover-1, mail-recover):
15744 * files.el (recover-file, recover-session):
15745 Handle dired-listing-switches not being just a single short option.
15746
35d7dbd3
GM
157472011-06-09 Glenn Morris <rgm@gnu.org>
15748
15749 * calendar/appt.el (appt-display-message, appt-disp-window):
15750 Handle lists of appointments.
15751
387522b2
MR
157522011-06-08 Martin Rudalics <rudalics@gmx.at>
15753
2b75be67
SM
15754 * window.el (one-window-p): Move down in code.
15755 Rewrite doc-string.
15756 (window-current-scroll-bars): Rewrite doc-string.
15757 Normalize live window argument.
387522b2
MR
15758 (walk-windows, get-window-with-predicate, count-windows):
15759 Rewrite doc-string. Use window-list-1.
15760 (window-in-direction-2, window-in-direction, get-mru-window):
15761 New functions.
15762
d8e4b68b 157632011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15764
15765 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15766 Doc fix (Bug#8713).
15767
157682011-06-08 Chong Yidong <cyd@stupidchicken.com>
15769
15770 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15771
157722011-06-08 Juanma Barranquero <lekktu@gmail.com>
15773
15774 * loadhist.el (unload-feature-special-hooks):
15775 Add `comint-output-filter-functions'.
15776
0de12c52
IK
157772011-06-08 Ivan Kanis <gnu@kanis.fr>
15778
15779 * calendar/appt.el (appt-check): Move some initializations into the let.
15780
f3d1777e
MR
157812011-06-08 Martin Rudalics <rudalics@gmx.at>
15782
15783 * window.el (window-height): Defalias to window-total-height.
15784 (window-width): Defalias to window-body-width.
15785
18af70d0
CY
157862011-06-07 Chong Yidong <cyd@stupidchicken.com>
15787
15788 * image-mode.el (image-toggle-animation): New command.
15789 (image-mode-map): Bind it to RET.
15790 (image-mode): Update message.
15791 (image-toggle-display-image): Avoid a spurious cache flush.
15792 (image-transform-rotation): Doc fix.
15793 (image-transform-properties): Return quickly in the normal case.
15794 (image-animate-loop): Rename from image-animate-max-time.
15795
2b75be67 15796 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15797 (create-animated-image): Remove unnecessary function.
15798 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15799 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15800 (image-animate-timer): Use car-safe.
15801 (image-animate-timeout): Rename argument.
15802
190b47e6
MR
158032011-06-07 Martin Rudalics <rudalics@gmx.at>
15804
15805 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15806 window.c. Rename first argument to ALL-FRAMES.
15807 Rephrase doc-strings.
15808 (get-buffer-window-list): Rewrite using window-list-1.
15809 Rephrase doc-string.
a1511caf
MR
15810 (window-safe-min-height, window-safe-min-width): New constants.
15811 (window-size-ignore, window-min-size, window-min-size-1)
15812 (window-sizable, window-sizable-p, window-size-fixed-1)
15813 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15814 (window-max-delta-1, window-max-delta, window-resizable)
15815 (window-resizable-p, window-total-height, window-total-width)
15816 (window-body-width): New functions.
15817 (window-full-height-p, window-full-width-p): Rewrite using
15818 window-total-size.
15819 (window-body-height): Rewrite using window-body-size.
190b47e6 15820
85cc1f11
MR
158212011-06-06 Martin Rudalics <rudalics@gmx.at>
15822
15823 * window.el (window-right, window-left, window-child)
15824 (window-child-count, window-last-child, window-any-p)
15825 (normalize-live-buffer, normalize-live-frame)
15826 (normalize-any-window, normalize-live-window)
15827 (window-iso-combination-p, window-iso-combined-p)
15828 (window-iso-combinations)
15829 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15830 (windows-with-parameter, window-with-parameter)
15831 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15832 (window-atom-check, window-side-check, window-check):
15833 New functions.
85cc1f11
MR
15834 (ignore-window-parameters, window-sides, window-sides-vertical)
15835 (window-sides-slots): New variables.
15836 (window-size-fixed): Move down in code. Minor doc-string fix.
15837
e7156492
AS
158382011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15839
15840 * comint.el (comint-dynamic-complete-as-filename)
15841 (comint-dynamic-complete-filename): Correctly call
15842 completion-in-region.
15843
7e821d0d
DD
158442011-06-05 Deniz Dogan <deniz@dogan.se>
15845
15846 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15847 in last change.
15848
ac09b8a1
DD
158492011-06-05 Deniz Dogan <deniz@dogan.se>
15850
15851 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15852 (rcirc): Use it to prompt for encryption.
15853
34699b85
RW
158542011-06-05 Roland Winkler <winkler@gnu.org>
15855
15856 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15857 (bibtex-search-entries): New command bound to C-c C-a.
15858 (bibtex-display-entries): New function.
15859
004dedd3
RW
158602011-06-05 Roland Winkler <winkler@gnu.org>
15861
15862 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15863 (bibtex-insert-kill): After yanking insert newline if necessary.
15864 (bibtex-initialize): Call bibtex-string-files-init only once.
15865 (bibtex-mode): Do not call easy-menu-add.
15866 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15867 (bibtex-yank): Set arg properly if nil.
15868
022fe7ce
RW
158692011-06-05 Roland Winkler <winkler@gnu.org>
15870
2b75be67
SM
15871 * textmodes/bibtex.el (bibtex-search-entry-globally):
15872 New variable.
022fe7ce
RW
15873 (bibtex-search-entry): Use it.
15874
b7c3692a
RW
158752011-06-05 Roland Winkler <winkler@gnu.org>
15876
15877 * textmodes/bibtex.el (bibtex-entry-format): New option
15878 sort-fields.
15879 (bibtex-format-entry, bibtex-reformat): Honor this option.
15880 (bibtex-parse-entry): Return fields in proper order.
15881
8eda563d
JB
158822011-06-05 Juanma Barranquero <lekktu@gmail.com>
15883
15884 * doc-view.el (doc-view-remove-if): Move computation of result out
15885 of `dolist' to silence misleading lexical-binding warning.
15886
7dbe3dbc
CY
158872011-06-04 Chong Yidong <cyd@stupidchicken.com>
15888
15889 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15890 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15891
0c33dd17
MA
158922011-06-04 Michael Albinus <michael.albinus@gmx.de>
15893
15894 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15895 "SunOS 5.10".
15896
f8f91c2b
MA
158972011-06-04 Michael Albinus <michael.albinus@gmx.de>
15898
15899 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15900 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15901 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15902 (tramp-parse-putty):
15903 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15904 (tramp-completion-function-alist-ssh)
15905 (tramp-completion-function-alist-telnet)
15906 (tramp-completion-function-alist-su)
15907 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15908 cookie.
15909
15910 * net/tramp-ftp.el:
15911 * net/tramp-sh.el:
15912 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15913 load "tramp.el" `tramp-set-completion-function'.
15914
e17d9003
SM
159152011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * shell.el: Require and use pcomplete.
15918 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15919 (shell-completion-vars): Set pcomplete-default-completion-function.
15920
6c4cab03
DD
159212011-06-04 Deniz Dogan <deniz@dogan.se>
15922
15923 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15924 `memq' (Bug#8799).
15925
ea9fafe0
SM
159262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15929
b3e945d3
JB
159302011-06-02 Juanma Barranquero <lekktu@gmail.com>
15931
15932 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15933 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15934 * vc/log-view.el (log-view-beginning-of-defun):
15935 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15936 (smerge-refine-forward, smerge-refine-chopup-region):
15937 Silence warning for unused `dotimes' counter variables.
15938
7d520089
SM
159392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15940
15941 * net/tramp.el (tramp-with-progress-reporter): Rename from
15942 with-progress-reporter. Use `declare'.
15943 * net/tramp-smb.el:
15944 * net/tramp-sh.el:
15945 * net/tramp-gvfs.el: Update all uses.
15946
a1c2400f
JB
159472011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15948
15949 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15950 buffer isn't killed before making it current.
15951
2403c841
SM
159522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 Silence various byte-compiler warnings.
15955 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15956 `access-type' and new obsolescence format.
15957 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15958 new format.
15959 (byte-compile-check-variable): New `access-type' argument.
15960 Only warn if the access-type is obsolete.
15961 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15962 (byte-compile-variable-set): Adjust callers.
15963 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15964 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15965 setting it as obsolete.
15966 * simple.el (minibuffer-completing-symbol):
15967 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15968 access as obsolete.
15969 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15970 obsolete yet.
15971 * international/quail.el (quail-mouse-choose-completion): Remove unused
15972 code referring to obsolete var.
15973 (quail-choose-completion-string): Remove.
15974 * server.el (server-clients-with, server-kill-buffer-query-function)
15975 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15976 * proced.el (proced-send-signal):
15977 * emacs-lisp/lisp.el (lisp-complete-symbol):
15978 Replace completion-annotate-function with completion-extra-properties.
15979
2462470b
SM
159802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15981
fb5b2591
SM
15982 * simple.el (goto-line): Use read-number.
15983 (overriding-map-is-bound): Remove.
15984 (saved-overriding-map): Change default.
15985 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15986 Take the map as argument.
15987 (universal-argument, negative-argument, digit-argument): Use it.
15988 (restore-overriding-map): Adjust.
15989 (do-auto-fill): Use fill-forward-paragraph.
15990 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15991
fd6fa53f
SM
15992 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15993 (minibuffer-inactive-mode): New major mode.
15994 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15995 the *Messages* buffer" hack.
15996 (mouse-popup-menubar): Don't burp if the event is a normal key.
15997
2462470b
SM
15998 Miscellaneous tweaks.
15999 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16000 lexical scoping as in subr.el's dolist and dotimes.
16001 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16002 Silence compiler warning.
16003 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16004 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16005 * international/ccl.el (ccl-compile): Trivial simplification.
16006 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16007 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16008 `printflag' argument.
16009 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16010 Purecopy the whole obsolescence data.
16011
108bf785
LL
160122011-06-01 Leo Liu <sdl.web@gmail.com>
16013
16014 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16015 improve doc-string as suggested by Marco Pessotto
16016 <melmothx@gmail.com>.
16017 (rcirc-print): Fix last change.
16018
30a23501
SM
160192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * minibuffer.el (complete-with-action): Return nil for the metadata and
16022 boundaries of non-functional tables.
16023 (completion-table-dynamic): Return nil for the metadata.
16024 (completion-table-with-terminator): Add default case, using
16025 complete-with-action.
16026 (completion--metadata): New function.
16027 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16028 to try and avoid pathological performance problems.
16029 (completion--embedded-envvar-table): Return `category' metadata.
16030
bcd54f83
LMI
160312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16032
16033 * subr.el (process-alive-p): New tiny convenience function.
16034
e227544d
SM
160352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16038 content but also its previous major mode.
16039
e8296fdc
HE
160402011-05-31 Helmut Eller <eller.helmut@gmail.com>
16041
4d61f28d 16042 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16043 *Backtrace* buffer when we exit with C-M-c.
16044
620c53a6
SM
160452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16046
16047 * minibuffer.el: Add metadata method to completion tables.
16048 (completion-category-overrides): New defcustom.
16049 (completion-metadata, completion--field-metadata)
16050 (completion-metadata-get, completion--styles)
16051 (completion--cycle-threshold): New functions.
16052 (completion-try-completion, completion-all-completions):
16053 Add `metadata' argument to choose completion-styles.
16054 (completion--do-completion): Use metadata to choose cycling.
16055 (completion-all-sorted-completions): Use metadata for sorting.
16056 Remove :completion-cycle-penalty which is not needed any more.
16057 (completion--try-word-completion): Add `metadata' argument.
16058 (minibuffer-completion-help): Check metadata for annotation function
16059 and sorting.
16060 (completion-file-name-table): Return `category' metadata.
16061 (minibuffer-completing-file-name): Make obsolete.
16062 * simple.el (minibuffer-completing-symbol): Make obsolete.
16063 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16064 completion-try-completion.
16065
1257e755
SM
160662011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16067
16068 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16069
3767e706
LL
160702011-05-30 Leo Liu <sdl.web@gmail.com>
16071
16072 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16073 (rcirc-print): Decode all incoming messages (bug#8744).
16074 (rcirc-decode-coding-system): Allow value nil for automatic coding
16075 system detection.
3767e706 16076
d1a5d56a
GM
160772011-06-01 Glenn Morris <rgm@gnu.org>
16078
16079 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16080
e8cbec34
CY
160812011-05-29 Chong Yidong <cyd@stupidchicken.com>
16082
16083 * image.el (image-animate-max-time): Allow nil and t values.
16084 Default to nil.
16085 (create-animated-image): Doc fix.
16086 (image-animate-start): Remove second arg; just use
16087 image-animate-max-time.
16088 (image-animate-timeout): Doc fix. Args changed.
16089
16090 * image-mode.el (image-toggle-display-image): Ensure that the
16091 image spec passed to the animate timer is the same object as in
58179cce 16092 the buffer's display property (Bug#6981).
e8cbec34
CY
16093 (image-transform-properties): Doc fix.
16094
16095 * image.el (image-animate-max-time): Default to nil.
16096
159daf87
MR
160972011-05-29 Martin Rudalics <rudalics@gmx.at>
16098
16099 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16100 entire buffer list (Bug#8184).
16101
d66c4c7c
CY
161022011-05-29 Chong Yidong <cyd@stupidchicken.com>
16103
16104 * image.el (imagemagick-types-inhibit)
16105 (imagemagick-register-types): Doc fix.
16106
80aec780
DD
161072011-05-29 Deniz Dogan <deniz@dogan.se>
16108
16109 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16110 default.
16111
1dd3c2d9
CY
161122011-05-29 Chong Yidong <cyd@stupidchicken.com>
16113
16114 * select.el: Don't perform clipboard-manager saving in hooks;
16115 leave the hooks empty.
16116
60e56523
LL
161172011-05-28 Leo Liu <sdl.web@gmail.com>
16118
16119 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16120 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16121 (occur-edit-mode): New major mode (Bug#8463).
16122 (occur-after-change-function): New function.
16123 (occur-engine): Give Occur tags a read-only property.
16124
2b1e1a22
KR
161252011-05-28 Kevin Ryde <user42@zip.com.au>
16126
16127 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16128
5d344e88
CY
161292011-05-28 Chong Yidong <cyd@stupidchicken.com>
16130
8e6ca83d
CY
16131 * bindings.el (help-echo): Make the initial non-indicator dash
16132 empty on graphical terminals (Bug#7295).
16133
5d344e88
CY
16134 * files.el (auto-mode-alist): Move config rule after the
16135 in-stripping one (Bug#8547).
16136
bfbbace7
CY
16137 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16138
fbeba6e2
CY
16139 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16140 setting (Bug#8740).
16141
60ed8c72
AA
161422011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16143
4ac619f0
AA
16144 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16145 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16146 (Bug#8539).
60ed8c72 16147
23db196e
CY
161482011-05-28 Chong Yidong <cyd@stupidchicken.com>
16149
16150 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16151
5012f24c
DK
161522011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16153
16154 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16155 (hs-hide-block-at-point, hs-find-block-beginning)
16156 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16157 (Bug#8279).
16158
6a639b16
GM
161592011-05-28 Glenn Morris <rgm@gnu.org>
16160
16161 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16162
d43eaf2c
CY
161632011-05-28 Chong Yidong <cyd@stupidchicken.com>
16164
5199bde1
CY
16165 * help-fns.el (describe-function-1): If the function is a derived
16166 major mode, print the parent mode.
16167
d43eaf2c
CY
16168 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16169 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16170
423428a8
SM
161712011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16172
0ff8e1ba 16173 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16174 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16175 * progmodes/etags.el (tags-completion-at-point-function):
16176 * info-look.el (info-lookup-completions-at-point): Mark as
16177 non-exclusive.
16178 (info-complete): Adjust accordingly.
16179
423428a8
SM
16180 * info-look.el: Convert to lexical-binding and completion-at-point.
16181 (info-lookup-completions-at-point): New function.
16182 (info-complete): Use it and completion-in-region.
16183
b74aa22b
DA
161842011-05-28 Drew Adams <drew.adams@oracle.com>
16185
16186 * isearch.el: Let M-e start with point at the first mismatched char.
16187 (isearch-fail-pos): New function.
16188 (isearch-edit-string): Use it.
16189
66e2e71d
DK
161902011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16191
16192 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16193
b1890b0f 161942011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16195
16196 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16197 traversal functions for avl-trees.
16198 (avl-tree--stack): New struct.
16199 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16200 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16201 (avl-tree--do-enter): Add optional `updatefun' arg.
16202 Change return value.
eb95d01d 16203 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16204 (avl-tree--do-delete): Add `test' and `nilflag' args.
16205 Change return value.
eb95d01d
TC
16206 (avl-tree-member): Add optional `nilflag'
16207 (avl-tree-member-p): New function.
16208 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16209 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16210 (avl-tree-stack-empty-p): New functions.
16211
3769ddcf
TC
16212 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16213 avl-tree--del-balance1 and make it work both ways.
16214 (avl-tree--del-balance2): Remove.
16215 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16216 make it work both ways.
16217 (avl-tree--enter-balance2): Remove.
16218 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16219 New macros.
16220 (avl-tree--mapc, avl-tree-map): Add direction argument.
16221
eb95d01d 162222011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16223
16224 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16225
a9f737ee
CY
162262011-05-27 Chong Yidong <cyd@stupidchicken.com>
16227
16228 * select.el: Support clipboard managers with built-in function
16229 x-clipboard-manager-save, via delete-frame-functions and
16230 kill-emacs-hook.
16231 (xselect-convert-to-targets): Add MULTIPLE target to list.
16232 (xselect-convert-to-save-targets): New function.
16233
c92a1e54
KH
162342011-05-27 Kenichi Handa <handa@m17n.org>
16235
16236 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16237 let-binding rfc2047-encode-encoded-words to nil.
16238
e145f188
GM
162392011-05-27 Glenn Morris <rgm@gnu.org>
16240
5ec8a862
GM
16241 * mail/emacsbug.el: Don't require url-util.
16242
4b29d9fb
GM
16243 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16244
e145f188
GM
16245 * files.el (set-auto-mode):
16246 Also respect mode: entries at the end of the file. (Bug#8586)
16247
7d15102b
GM
162482011-05-26 Glenn Morris <rgm@gnu.org>
16249
98f593b8
GM
16250 * files.el (hack-local-variables-prop-line, hack-local-variables):
16251 Downcase mode names, as seems to be traditional.
27b48e63 16252 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16253
7d15102b
GM
16254 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16255 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16256
51d5b4ec
JD
162572011-05-25 Julien Danjou <julien@danjou.info>
16258
16259 * textmodes/rst.el (rst-define-level-faces): Do not define face
16260 symbol if it is already defined.
16261
91513f63
VB
162622011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16263
16264 * play/5x5.el (5x5-new-game, 5x5-randomize):
16265 Reset 5x5-solver-output to nil when a new grid is cast.
16266 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16267 these debugging traces, as defmacro breaks the compiled code.
16268
4d90d6d0
DK
162692011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16270
16271 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16272
e1b90ef6
LL
162732011-05-24 Leo Liu <sdl.web@gmail.com>
16274
16275 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16276 (vc-bzr-sha1): Adapt.
16277
d8e4b68b 16278 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16279
16280 * bindings.el: Provide sha1 feature.
16281
db0406bb 162822011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16283
16284 * mail/sendmail.el: Require `rfc2047'.
16285 (mail-insert-from-field): Do not perform RFC2047 encoding.
16286 (mail-encode-header): New function.
16287 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16288 buffer to the return value of select-message-coding-system.
16289 Call mail-encode-header.
b8d747b9
KH
16290
16291 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16292
db0406bb 162932011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16294
4d90d6d0
DK
16295 * mail/supercite.el (sc-default-cite-frame):
16296 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16297
eb8a5e9b
GM
162982011-05-24 Glenn Morris <rgm@gnu.org>
16299
f8630703
GM
16300 * progmodes/python.el (brm-menu): Declare.
16301
8831bbed
GM
16302 * emulation/viper.el (viper-set-hooks): Declare.
16303
eb8a5e9b
GM
16304 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16305 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16306 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16307 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16308 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16309 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16310
a2a25d24
SM
163112011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 Add an :exit-function for completion-at-point.
16314
16315 * minibuffer.el (completion--done): New fun.
16316 (completion--do-completion): Use it. New arg `expect-exact'.
16317 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16318 since completion--do-completion does it for us now.
16319 (minibuffer-force-complete): Use completion--done and
16320 completion--replace. Handle sole-completion case with more care.
16321 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16322 (completion-extra-properties): New var.
16323 (completion-annotate-function): Make obsolete.
16324 (minibuffer-completion-help): Adjust accordingly.
16325 Use completion-list-insert-choice-function.
16326 (completion-at-point, completion-help-at-point):
16327 Bind completion-extra-properties.
16328 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16329 * simple.el (completion-list-insert-choice-function): New var.
16330 (completion-setup-function): Preserve it.
16331 (choose-completion): Pay attention to it, shuffle the code a bit.
16332 (choose-completion-string): New arg `insert-function'.
16333
16334 * textmodes/bibtex.el: Convert to lexical binding.
16335 (bibtex-mode-map): Use completion-at-point.
16336 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16337 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16338 (bibtex-complete): Define as obsolete alias.
16339 (bibtex-complete-internal): Remove.
16340 (bibtex-format-entry): Remove unused sub-group in regexp.
16341 * shell.el (shell--command-completion-data)
16342 (shell-environment-variable-completion):
16343 * pcomplete.el (pcomplete-completions-at-point):
16344 * comint.el (comint--complete-file-name-data): Use :exit-function
16345 instead of completion-table-with-terminator so it also works for
16346 choose-completion.
16347
e44e373d
SM
163482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16349
4f91a816
SM
16350 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16351
782fc819
SM
16352 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16353 (bug#8710).
16354
e44e373d
SM
16355 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16356
381987c3
KM
163572011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16358
16359 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16360 customization variable and implement: If non-nil, auto-fill will
16361 be inhibited while on topic's header line.
16362
b776bc70
VB
163632011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16364
16365 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16366 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16367 always have a solution in grid size = 5 cases.
16368 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16369 (5x5-solver-output, 5x5-log-buffer): New vars.
16370 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16371 Make these variables buffer local to achieve 5x5 multi-session-ness.
16372 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16373 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16374 (5x5-solve-suggest): New funs.
16375 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16376 randomize a grid so that we ensure that there is always a solution.
16377 (5x5-make-random-grid): Allow other movement than flipping.
16378
7de88b6e
KR
163792011-05-23 Kevin Ryde <user42@zip.com.au>
16380
16381 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16382 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16383 advice and passes PREDICATE.
16384
b1ef1257
SM
163852011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16386
bbca48fe
SM
16387 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16388 byte-compile-lambda if it's actually a lambda.
16389
b1ef1257
SM
16390 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16391 Fix function quoting. Use backquote better.
16392
92a9cc65
YS
163932011-05-22 Yuanle Song <sylecn@gmail.com>
16394
16395 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16396 matching (Bug#8516).
16397
f0fb8059
JA
163982011-01-22 Jari Aalto <jari.aalto@cante.net>
16399
16400 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16401 different face (Bug#8178).
16402
d5b44c93
CY
164032011-05-22 Chong Yidong <cyd@stupidchicken.com>
16404
16405 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16406 defface (Bug#8144).
16407
79106a44
SM
164082011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16409
9c848d8a
SM
16410 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16411 funcall as well (bug#8712). Warn when performing those conversions.
16412 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16413
79106a44
SM
16414 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16415
88dfa756
GM
164162011-05-22 Glenn Morris <rgm@gnu.org>
16417
16418 * files.el (hack-local-variables-prop-line): Small simplifications.
16419 (hack-local-variables, hack-local-variables-prop-line):
16420 If MODE-ONLY, return the mode, rather than just `t'.
16421
b7cf2c79
SM
164222011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16425
3f1a8558
GM
164262011-05-21 Glenn Morris <rgm@gnu.org>
16427
7e4ccca3
GM
16428 * files.el (hack-local-variables-prop-line, hack-local-variables):
16429 If only interested in the mode, don't bother doing the other stuff.
16430
637d46ca
GM
16431 * image-mode.el (image-after-revert-hook):
16432 Redraw all frames on which the image is visible. (Bug#8567)
16433
973d955b
GM
16434 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16435
3f1a8558
GM
16436 * wid-edit.el (widget-checklist-match-inline):
16437 Fix 2011-04-19 change. (Bug#8649)
16438
96479927
SM
164392011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16440
1dcf791f
SM
16441 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16442 Also allow singlespace after single-letter capitals followed by a dot.
16443
96479927
SM
16444 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16445 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16446
35fd0881
N
164472011-05-20 Nix <nix@esperi.org.uk>
16448
16449 * files.el (basic-save-buffer-2):
16450 Fix handling of break-hardlink-on-save with non-existent files.
16451
82745640
DD
164522011-05-19 Deniz Dogan <deniz@dogan.se>
16453
16454 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16455 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16456
4a720484
GM
164572011-05-19 Glenn Morris <rgm@gnu.org>
16458
d1f21341
GM
16459 * progmodes/f90.el (f90-type-def-re):
16460 Handle "type, bind(c)". (Bug#8691)
16461
4a720484
GM
16462 * emacs-lisp/autoload.el (batch-update-autoloads):
16463 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16464
2fb0a219
MA
164652011-05-18 Michael Albinus <michael.albinus@gmx.de>
16466
16467 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16468 property for the correct connection in case of multihops.
16469
e565dd37
GM
164702011-05-18 Glenn Morris <rgm@gnu.org>
16471
c2571358 16472 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16473 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16474
e565dd37
GM
16475 Rationalize calendar handling of day and month abbrev-arrays.
16476 * calendar/calendar.el (calendar-customized-p): New function.
16477 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16478 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16479 Add :set function.
16480 (calendar-abbrev-length, calendar-day-abbrev-array)
16481 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16482 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16483 Elements may no longer be nil.
16484 (calendar-day-name, calendar-month-name):
16485 Update for changed nature of abbrev arrays.
16486 * calendar/diary-lib.el (diary-name-pattern):
16487 Update for changed nature of abbrev arrays.
16488 (diary-mark-entries-1): Update calendar-make-alist calls.
16489 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16490 * calendar/cal-html.el (cal-html-day-abbrev-array):
16491 Simply inherit from calendar-day-abbrev-array.
16492
1d99a745
SM
164932011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16494
16495 * progmodes/grep.el (grep-mode): Disable default
16496 compilation-directory-matcher setting (bug#8684).
16497
7c1d9aa0
MA
164982011-05-17 Michael Albinus <michael.albinus@gmx.de>
16499
16500 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16501 instead of "head" and "tail". There were problems with SunOS 5.9,
16502 and it performs better.
16503
3952e9d8
GM
165042011-05-17 Glenn Morris <rgm@gnu.org>
16505
2dd12e7f
GM
16506 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16507
e4157b9c
GM
16508 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16509 Replace obsolete function.
16510
8e249bbd
GM
16511 * shell.el (pcomplete-parse-arguments-function): Declare.
16512
3952e9d8
GM
16513 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16514 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16515 (appt-check): Doc fixes.
16516 (appt-disp-window-function, appt-delete-window-function):
16517 Remove needless special case in custom :type.
16518 (appt-display-count): Default to 0, not nil.
16519 (appt-check): Reset appt-display-count to 0, not nil.
16520
c71a0d48 165212011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16522
c71a0d48
GM
16523 * progmodes/python.el (python-font-lock-keywords):
16524 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16525
31d55be9
SM
165262011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16529
3bfacb2f
KR
165302011-05-16 Kevin Ryde <user42@zip.com.au>
16531
16532 * info-look.el (makefile-automake-mode): New setups, looking in
16533 automake manual, then makefile-mode.
16534 (makefile-mode): Remove automake manual, have it just in
16535 makefile-automake-mode since there's various things different or
16536 not relevant to plain make.
16537 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16538 believe a hypothetical automake-mode would go to makefile-mode,
16539 not the other way around.
16540
c8e83751
CY
165412011-05-15 Chong Yidong <cyd@stupidchicken.com>
16542
5e9e35cd
CY
16543 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16544 hunk-end tags (Bug#8672).
16545
c8e83751
CY
16546 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16547 vc-annotate-show-diff-revision-at-line (Bug#8671).
16548
50b23e5a
GM
165492011-05-14 Glenn Morris <rgm@gnu.org>
16550
7210a739
GM
16551 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16552 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16553 (change-log-font-lock-keywords): Also handle multiple author lines
16554 with leading tabs. (Bug#8644)
7210a739 16555
4691905a
GM
16556 * calendar/appt.el (appt-check): Rename some local variables.
16557 Some simplification/reordering.
16558
50b23e5a
GM
16559 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16560 (feedmail-sendmail-f-doesnt-sell-me-out)
16561 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16562 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16563 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16564 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16565 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16566 (feedmail-binmail-gnulinuxish-template):
16567 Rename from feedmail-binmail-linuxish-template.
16568 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16569 Use insert-buffer-substring.
16570
215cda7c
BC
165712011-05-14 Bill Carpenter <bill@carpenter.org>
16572
16573 * mail/feedmail.el (feedmail-patch-level): Increase.
16574 (feedmail-debug): New custom group.
16575 (feedmail-confirm-outgoing-timeout)
16576 (feedmail-sendmail-f-doesnt-sell-me-out)
16577 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16578 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16579 (feedmail-sender-line, feedmail-from-line)
16580 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16581 (feedmail-spray-this-address)
215cda7c
BC
16582 (feedmail-spray-address-fiddle-plex-list)
16583 (feedmail-queue-use-send-time-for-date)
16584 (feedmail-queue-use-send-time-for-message-id)
16585 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16586 (feedmail-buffer-eating-function):
16587 Doc fixes.
16588 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16589 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16590 (feedmail-message-action-scroll-down): New functions.
16591 (feedmail-queue-directory, feedmail-queue-draft-directory):
16592 Use expand-file-name.
16593 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16594 Remove C-v help entry.
16595 (feedmail-queue-buffer-file-name): New variable.
16596 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16597 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16598 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16599 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16600 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16601 (feedmail-message-action-toggle-spray)
16602 (feedmail-run-the-queue-no-prompts)
16603 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16604 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16605 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16606 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16607 (feedmail-envelope-deducer, feedmail-fiddle-from)
16608 (feedmail-fiddle-sender, feedmail-default-date-generator)
16609 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16610 (feedmail-fiddle-spray-address)
16611 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16612 (feedmail-fiddle-list-of-fiddle-plexes)
16613 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16614 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16615 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16616 Change default. Doc fix.
16617 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16618 (feedmail-binmail-linuxish-template): New constant.
16619 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16620 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16621 (feedmail-send-it): Add debug call.
16622 Use feedmail-queue-buffer-file-name, and
16623 feedmail-send-it-immediately-wrapper.
16624 (feedmail-message-action-send): Add debug call.
16625 Use feedmail-send-it-immediately-wrapper.
16626 (feedmail-queue-express-to-queue): Add debug call.
16627 Run feedmail-queue-express-hook.
16628 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16629 (feedmail-message-action-help-blat):
16630 Rename from feedmail-queue-send-edit-prompt-help-first.
16631 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16632 Check line-endings. Handle errors better.
16633 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16634 Doc fix. Add debug call.
16635 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16636 Use feedmail-queue-send-edit-prompt-inner.
16637 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16638 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16639 from feedmail-queue-send-edit-prompt.
16640 (feedmail-queue-send-edit-prompt-help)
16641 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16642 (feedmail-tidy-up-slug): Add debug call.
16643 Respect feedmail-queue-slug-suspect-regexp.
16644 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16645 (feedmail-dump-message-to-queue): Add debug call.
16646 Expand queue-directory.
16647 (feedmail-dump-message-to-queue): Change message slightly.
16648 Use feedmail-say-chatter.
16649 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16650 (feedmail-send-it-immediately-wrapper): New function.
16651 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16652 Insert empty string rather than newline. Handle full-frame case.
16653 Use catch/throw. Use feedmail-say-chatter.
16654 (feedmail-fiddle-from): Try mail-host-address.
16655 (feedmail-default-message-id-generator): Doc fix.
16656 Bind system-time-locale. Handle missing end.
16657 (feedmail-fiddle-x-mailer): Add debug call.
16658 Handle feedmail-x-mailer-line being nil.
16659 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16660 Add debug call. Use buffer-substring-no-properties.
16661 (feedmail-say-debug, feedmail-say-chatter): New functions.
16662 (feedmail-find-eoh): Give an explicit error.
16663
42c7e61e
UJ
166642011-05-13 Ulf Jasper <ulf.jasper@web.de>
16665
c2571358 16666 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16667 family from helvetica to sans.
c2571358 16668 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16669 etc/images/newsticker.
16670
c2571358 16671 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16672 family from helvetica to sans.
16673
16674 * net/newst-plainview.el (newsticker-new-item-face)
16675 (newsticker-old-item-face, newsticker-immortal-item-face)
16676 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16677 (newsticker-statistics-face): Change default family from
42c7e61e 16678 helvetica to sans.
c2571358 16679 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16680 etc/images/newsticker.
16681
5d3385a0
JB
16682 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16683 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16684 auto-marking.
16685
8497a297
DV
166862011-05-13 Didier Verna <didier@xemacs.org>
16687
16688 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16689 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16690 TODO entries.
8497a297
DV
16691 (lisp-lambda-list-keyword-parameter-indentation)
16692 (lisp-lambda-list-keyword-parameter-alignment)
16693 (lisp-lambda-list-keyword-alignment): New customizable user options.
16694 (lisp-indent-defun-method): Improve docstring.
16695 (extended-loop-p): Fix comment.
16696 (lisp-indent-lambda-list-keywords-regexp): New variable.
16697 (lisp-indent-lambda-list): New function.
16698 (lisp-indent-259): Use it.
16699 (lisp-indent-defmethod): Support for more than one
16700 method qualifier and properly indent methods lambda-lists.
16701 (defgeneric): Provide a missing common-lisp-indent-function property.
16702
f278f87f
SM
167032011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16704
16705 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16706 bounds for the empty string (bug#8667).
16707
5233edd7
GM
167082011-05-13 Glenn Morris <rgm@gnu.org>
16709
5237a44f
GM
16710 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16711
8340026c 16712 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16713 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16714
5233edd7 16715 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16716 (appt-time-msg-list): Doc fix.
a5464014 16717 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16718
92d10796
AS
167192011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16720
16721 * progmodes/ld-script.el (ld-script-keywords)
16722 (ld-script-builtins): Update keywords list.
16723
914a0ae1
SM
167242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16725
c89be45f
SM
16726 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16727
914a0ae1
SM
16728 * shell.el (shell-completion-vars): New function.
16729 (shell-mode):
16730 * simple.el (read-shell-command): Use it.
16731 (blink-matching-open): No need for " [...]" in minibuffer-message.
16732
98dc3df3
GM
167332011-05-12 Glenn Morris <rgm@gnu.org>
16734
16735 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16736 (appt-check): Simplify.
16737
d2fc7e3d 167382011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16739
4d61f28d 16740 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16741 literal "/dev/null".
16742
d2fc7e3d 167432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16744
16745 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16746 Fix typo.
16747
d2fc7e3d 167482011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16749
3f254caa
SM
16750 * progmodes/which-func.el (which-function):
16751 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16752 which might not be defined (Bug#8260).
16753
d45885f7
GM
167542011-05-12 Glenn Morris <rgm@gnu.org>
16755
16756 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16757 Let byte-compile-initial-macro-environment always take precedence.
16758
488086f4
SM
167592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * net/rcirc.el: Add support for SSL/TLS connections.
16762 (rcirc-server-alist): New field `encryption'.
16763 (rcirc): Check `encryption' settings.
16764 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16765 Merge make-local-variable into `set'.
16766 (rcirc--connection-open-p): New function.
16767 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16768 the process is not a network process (e.g. running gnutls-cli).
16769 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16770 Make rcirc-(en|de)code-coding-system local here.
16771 (rcirc-mode): Merge make-local-variable into `set'.
16772 (rcirc-parent-buffer): Make permanent buffer-local.
16773 (rcirc-multiline-minor-mode): Don't do it here.
16774 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16775 there's no server buffer.
16776
7d3b9d44
GM
167772011-05-11 Glenn Morris <rgm@gnu.org>
16778
f64049c6
GM
16779 * newcomment.el (comment-kill): Prefix "unused" local.
16780
93c9df73
GM
16781 * term/w32console.el (get-screen-color): Declare.
16782
7d3b9d44
GM
16783 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16784 Handle symbol elements of byte-compile-initial-macro-environment.
16785
9e2dd53f
LL
167862011-05-10 Leo Liu <sdl.web@gmail.com>
16787
488086f4
SM
16788 * bookmark.el (bookmark-bmenu-mode-map):
16789 Bind bookmark-bmenu-search to `/'.
8b340240 16790
9e2dd53f 16791 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16792 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16793 (Footnote-unicode): New function.
16794 (footnote-style-alist): Add unicode style to the list.
16795 (footnote-style): Doc fix.
9e2dd53f 16796
79b70037
GM
167972011-05-10 Jim Meyering <meyering@redhat.com>
16798
16799 Fix doubled-word typos.
16800 * international/quail.el (quail-insert-kbd-layout): and and -> and
16801 * kermit.el: and and -> and
16802 * net/ldap.el (ldap-search-internal): to to -> to
16803 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16804 * progmodes/js.el (js-mode): and and -> and
16805 * textmodes/artist.el (artist-move-to-xy): at at -> at
16806 (artist-draw-region-trim-line-endings): if if -> if
16807 And Safetyc -> Safety.
16808 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16809
b8f82dc1 168102011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16811 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16812
16813 * files.el (hack-one-local-variable-eval-safep):
16814 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16815
4f99f44b
GM
168162011-05-10 Glenn Morris <rgm@gnu.org>
16817
16818 * calendar/diary-lib.el (diary-list-entries-hook)
16819 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16820 (diary-nongregorian-marking-hook, diary-list-entries)
16821 (diary-include-other-diary-files, diary-mark-entries)
16822 (diary-mark-included-diary-files): Doc fixes.
16823
84f29e6b
JB
168242011-05-09 Juanma Barranquero <lekktu@gmail.com>
16825
16826 * misc.el: Require tabulated-list.el during compilation.
16827
9bedd73a
CY
168282011-05-09 Chong Yidong <cyd@stupidchicken.com>
16829
488086f4
SM
16830 * progmodes/compile.el (compilation-start):
16831 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16832 (compilation-filter-hook): Doc fix.
16833
797c735c
DD
168342011-05-09 Deniz Dogan <deniz@dogan.se>
16835
16836 * wdired.el: Remove outdated installation comment. Fix usage
16837 comment.
16838
5f4b1dfe
JB
168392011-05-09 Juanma Barranquero <lekktu@gmail.com>
16840
16841 * misc.el: Implement new command `list-dynamic-libraries'.
16842 (list-dynamic-libraries--loaded-only-p): New variable.
16843 (list-dynamic-libraries--refresh): New function.
16844 (list-dynamic-libraries): New command.
16845
4c44026c
CY
168462011-05-09 Chong Yidong <cyd@stupidchicken.com>
16847
488086f4
SM
16848 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16849 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16850 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16851 higher priority to avoid clobbering by gnu.
16852
027f966d
CY
168532011-05-08 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16856 if the face has existing theme settings (Bug#8454).
16857
085f5d7d
CY
168582011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16859
488086f4
SM
16860 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16861 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16862
2a86a00c
RS
16863 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16864 special file names `.' and `..' (Bug#8259).
16865
d9c54a06
CY
168662011-05-08 Chong Yidong <cyd@stupidchicken.com>
16867
488086f4
SM
16868 * progmodes/grep.el (grep-mode-font-lock-keywords):
16869 Remove buffer-changing entries.
d9c54a06
CY
16870 (grep-filter): New function.
16871 (grep-mode): Add it to compilation-filter-hook.
16872
16873 * progmodes/compile.el (compilation-filter-hook)
16874 (compilation-filter-start): New defvars.
16875 (compilation-filter): Call compilation-filter-hook prior to
16876 updating the process mark.
16877
c4662635
SM
168782011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16879
16880 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16881
b0512a1d
EZ
168822011-05-07 Eli Zaretskii <eliz@gnu.org>
16883
605c9376
EZ
16884 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16885 mailclient-send-it even if window-system is nil. (Bug#8595)
16886
c4662635
SM
16887 * term/w32console.el (terminal-init-w32console):
16888 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16889 background-mode. (Bug#8597)
16890
d1dc2cc2
SM
168912011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16894 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16895 New functions.
16896 (defgeneric, eieio--defmethod): Use them.
16897 (eieio-defgeneric): Remove.
16898 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16899
915d1300
GM
169002011-05-07 Glenn Morris <rgm@gnu.org>
16901
a3961c3e
GM
16902 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16903 Use let rather than let*.
16904 (timeclock-find-discrep): Remove unused local.
16905
314347b9
GM
16906 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16907
915d1300
GM
16908 * calendar/appt.el (appt-time-msg-list): Doc fix.
16909
275b59b0
NF
169102011-05-06 Noah Friedman <friedman@splode.com>
16911
16912 * apropos.el (apropos-print-doc): Only use
16913 emacs-lisp-docstring-fill-column when it is bound to an integer,
16914 per that variable's documentation.
16915
6c19f744
SM
169162011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16917
16918 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16919 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16920
60f884b2
GM
169212011-05-06 Glenn Morris <rgm@gnu.org>
16922
5006e634
GM
16923 * calendar/appt.el (appt-message-warning-time): Doc fix.
16924 (appt-warning-time-regexp): New option.
16925 (appt-make-list): Respect appt-message-warning-time.
16926
548d0a63
GM
16927 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16928 New options.
16929 (diary-add-to-list): Strip comments from the displayed string.
16930 (diary-mode): Set comment-start and comment-end.
16931
60f884b2
GM
16932 * vc/diff-mode.el (smerge-refine-subst): Declare.
16933 (diff-refine-hunk): Don't require smerge-mode when compiling.
16934
989681bb
JB
169352011-05-06 Juanma Barranquero <lekktu@gmail.com>
16936
16937 * simple.el (list-processes): Return nil as the docstring says.
16938
a6bc05e1
MA
169392011-05-05 Michael Albinus <michael.albinus@gmx.de>
16940
16941 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16942 to "".
16943 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16944 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16945 determining of binary transfer. (Bug#7383)
16946
23c22e9a
MA
169472011-05-05 Michael Albinus <michael.albinus@gmx.de>
16948
c4662635
SM
16949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16950 Fix port computation bug. (Bug#8618)
23c22e9a 16951
0bff894f
GM
169522011-05-05 Glenn Morris <rgm@gnu.org>
16953
b8296902
GM
16954 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16955
1f522ce8
GM
16956 * simple.el (shell-dynamic-complete-functions)
16957 (comint-dynamic-complete-functions): Declare.
16958
cf5bee67
GM
16959 * net/network-stream.el (gnutls-negotiate):
16960 * simple.el (tabulated-list-print): Fix declarations.
16961
16962 * progmodes/gud.el (syntax-symbol, syntax-point):
16963 Remove unnecessary and incorrect declarations.
16964
0bff894f
GM
16965 * emacs-lisp/check-declare.el (check-declare-scan):
16966 Handle byte-compile-initial-macro-environment in bytecomp.el
16967
9869b3ae
SM
169682011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 Fix earlier half-done eieio-defmethod change (bug#8338).
16971 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16972 Streamline and change calling convention.
16973 (defmethod): Adjust accordingly and simplify.
16974 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16975 new eieio--defmethod.
16976 (slot-boundp): Minor CSE simplification.
16977
9c1d5ac5
MZ
169782011-05-05 Milan Zamazal <pdm@zamazal.org>
16979
16980 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16981 (glasses-make-readable): Use glasses-separate-capital-groups.
16982
455c834e
JB
169832011-05-05 Juanma Barranquero <lekktu@gmail.com>
16984
16985 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16986 (warning-series): Doc fix.
16987 (display-warning): Don't try to create the buffer if we just found it.
16988
9ed7c8cb
CY
169892011-05-04 Chong Yidong <cyd@stupidchicken.com>
16990
16991 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16992 (autoload-find-generated-file): New function.
16993 (generate-file-autoloads): Bind generated-autoload-file to
16994 buffer-file-name.
9869b3ae
SM
16995 (update-file-autoloads, update-directory-autoloads):
16996 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16997 output file (Bug#7989).
16998 (batch-update-autoloads): Doc fix.
16999
0898ca10
JB
170002011-05-04 Juanma Barranquero <lekktu@gmail.com>
17001
17002 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17003
31dfb76c
GM
170042011-05-04 Glenn Morris <rgm@gnu.org>
17005
f330b642
GM
17006 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17007 function, so it follows changes in calendar-date-style.
17008 (diary-fancy-date-matcher): New function.
17009 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17010 (diary-fancy-font-lock-fontify-region-function):
17011 Use diary-fancy-date-pattern as a function.
17012
31dfb76c
GM
17013 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17014 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17015
48e79d6a
TZ
170162011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17017
17018 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17019 instead of positional arguments. Allow :keylist and :crlfiles
17020 arguments.
17021 (open-gnutls-stream): Call it.
17022
17023 * net/network-stream.el (network-stream-open-starttls): Adjust to
17024 call `gnutls-negotiate' with :process and :hostname arguments.
17025
dd5a5ee0
SM
170262011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17027
ef80fc09
SM
17028 * minibuffer.el (completion--message): New function.
17029 (completion--do-completion, minibuffer-complete)
17030 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17031 (completion--do-completion): Don't ignore completion-auto-help when in
17032 icomplete-mode.
17033
dd5a5ee0
SM
17034 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17035 internal encoding (e.g. tibetan zero is not whitespace).
17036 (global-whitespace-mode): Prefer save-current-buffer.
17037 (whitespace-trailing-regexp): Remove useless save-match-data.
17038 (whitespace-empty-at-bob-regexp): Minor simplification.
17039
b7d22a83
CY
170402011-05-03 Chong Yidong <cyd@stupidchicken.com>
17041
17042 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17043
5192af46
AM
170442011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17045
17046 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17047 Use `concat' to create string for insertion.
5192af46 17048
5767d190
SM
170492011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17050
17051 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17052 Avoid open-line which runs post-self-insert-hook.
17053 (bibtex-fill-entry): Remove unused `end' var.
17054
bf242939
AM
170552011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17056
5767d190
SM
17057 * textmodes/ispell.el (ispell-add-per-file-word-list):
17058 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17059
25666126
LL
170602011-05-03 Leo Liu <sdl.web@gmail.com>
17061
17062 * isearch.el (isearch-yank-pop): New command.
5767d190 17063 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17064 (isearch-forward): Mention it.
17065
52d3c2d0
SM
170662011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17067
1bcace58
SM
17068 * simple.el (minibuffer-complete-shell-command): Remove.
17069 (minibuffer-local-shell-command-map): Use completion-at-point.
17070 (read-shell-command): Setup completion vars here instead.
17071 (read-expression-map): Bind TAB to symbol completion.
17072
52d3c2d0
SM
17073 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17074 error directly rather via storing it into `results'.
17075
35813471
LL
170762011-05-02 Leo Liu <sdl.web@gmail.com>
17077
17078 * vc/diff.el: Fix description.
17079
e793a940
LMI
170802011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17081
17082 * server.el (server-eval-at): New function.
17083
8de66e05
LMI
170842011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17085
17086 * net/network-stream.el (open-network-stream): Take a :nowait
17087 parameter and pass it on to `make-network-process'.
17088 (network-stream-open-plain): Ditto.
17089
dcb79f20
AS
170902011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17091
17092 * faces.el (face-spec-set-match-display): Don't match toolkit
17093 options on terminal frames.
17094
14a7fbd8
SM
170952011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17096
7eabc1be
SM
17097 * progmodes/pascal.el: Use lexical binding.
17098 (pascal-mode-map): Remove author preferences.
17099
14a7fbd8
SM
17100 * pcomplete.el (pcomplete-std-complete): Don't abuse
17101 completion-at-point.
17102
50f84510
JB
171032011-04-28 Juanma Barranquero <lekktu@gmail.com>
17104
6e087a44
JB
17105 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17106 removing code that has been dead since 1991 or so.
17107
50f84510
JB
17108 * startup.el (command-line): When warning about "_emacs", use a
17109 delayed warning to allow the user to filter it out.
17110
0ba690bd
DD
171112011-04-28 Deniz Dogan <deniz@dogan.se>
17112
17113 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17114 user has not joined.
17115
08abfaad
SM
171162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17117
17118 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17119 aren't any completions at point.
17120
638f053a
JB
171212011-04-28 Juanma Barranquero <lekktu@gmail.com>
17122
17123 * subr.el (display-delayed-warnings): New function.
17124 (delayed-warnings-hook): New variable.
17125
8fff8daa
SM
171262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17127
08abfaad
SM
17128 * minibuffer.el (completion-at-point, completion-help-at-point):
17129 Don't presume that a given completion-at-point-function will always
17130 use the same calling convention.
17131
8fff8daa
SM
17132 * pcomplete.el (pcomplete-completions-at-point):
17133 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17134 pcomplete-seen is non-nil.
17135 (pcomplete-comint-setup): Also recognize the new comint/shell
17136 completion functions.
17137 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17138 pcomplete-seen is non-nil.
17139
841a1577 171402011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17141
841a1577 17142 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17143 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17144 the first character in the entry. This allows for code to add its
211ec907
UJ
17145 own uid to the entry.
17146 (icalendar--convert-float-to-ical): Add export of
17147 `diary-float'-entries save for those with the optional DAY
17148 argument.
17149
2a782793
DC
171502011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17151
17152 * subr.el (shell-quote-argument): Use alternate escaping strategy
17153 when we spot a variable reference in a string.
17154
0438ce91
DC
171552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17156
17157 * cus-start.el (all): Define customization for debug-on-event.
17158
841a1577 171592011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17160
17161 * subr.el (shell-quote-argument): Escape correctly under Windows.
17162
d090ed6c
SM
171632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17164
17165 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17166
bfd31217
MA
171672011-04-25 Michael Albinus <michael.albinus@gmx.de>
17168
d090ed6c
SM
17169 * net/tramp.el (tramp-process-actions): Add POS argument.
17170 Delete region between POS and (pos).
bfd31217 17171
d090ed6c
SM
17172 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17173 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17174 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17175
17176 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17177 position in `tramp-process-actions' call.
17178
17179 * net/trampver.el: Update release number.
17180
e92f3bd3
SM
171812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17182
850256b5
SM
17183 * custom.el (defcustom): Obey lexical-binding.
17184
e92f3bd3
SM
17185 Fix octave-inf completion problems reported by Alexander Klimov.
17186 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17187 Inherit from octave-mode-syntax-table.
17188 (inferior-octave-mode): Set info-lookup-mode.
17189 (inferior-octave-completion-at-point): New function.
17190 (inferior-octave-complete): Use it and completion-in-region.
17191 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17192 comint-filename-completion.
17193 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17194 symbol elements which shouldn't be word elements.
17195 (octave-font-lock-keywords, octave-beginning-of-defun)
17196 (octave-function-header-regexp): Adjust regexps accordingly.
17197 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17198
cd22b309
JB
171992011-04-25 Juanma Barranquero <lekktu@gmail.com>
17200
17201 * net/gnutls.el (gnutls-errorp): Declare before first use.
17202
8b492194
TZ
172032011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17204
17205 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17206 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17207 default trustfile exists before going to use it. Add missing
5a5fa834 17208 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17209 Reported by Claudio Bley <claudio.bley@gmail.com>.
17210 (open-gnutls-stream): Add usage example.
17211
17212 * net/network-stream.el (network-stream-open-starttls): Give host
17213 parameter to `gnutls-negotiate'.
17214 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17215 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17216
841a1577 172172011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17218
cd22b309
JB
17219 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17220 Use correct match group (bug#8438).
05842630 17221
3ba7869c
CY
172222011-04-24 Chong Yidong <cyd@stupidchicken.com>
17223
512e3ae1
CY
17224 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17225 (package-menu--generate): New arg specifying packages to show.
17226 (package-menu-refresh, package-menu-execute, list-packages):
17227 Callers changed.
17228 (package-show-package-list): New function, replacing deleted
17229 package--list-packages (renamed because it is non-internal).
17230
17231 * finder.el (finder-list-matches): Use package-show-package-list
17232 instead of deleted package--list-packages.
17233
e92f3bd3
SM
17234 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17235 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17236 (vc-annotate-mode-map): Bind it to RET.
17237
7031be6d
UR
172382011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17239
17240 * progmodes/etags.el (next-file): Don't use set-buffer to change
17241 buffers (Bug#8478).
17242
4ef177aa
CY
172432011-04-24 Chong Yidong <cyd@stupidchicken.com>
17244
c8d173eb
CY
17245 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17246
4ef177aa
CY
17247 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17248 (apropos-accumulator): Doc fix.
17249 (apropos-function, apropos-macro, apropos-command)
17250 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17251 (apropos-plist): Add face property.
17252 (apropos-symbols-internal): Fix indentation.
17253 (apropos-print): Simplify help, and recognize apropos-multi-type.
17254 (apropos-print-doc): Use button-type-get to extract the button's
17255 face property. Fill docstring (Bug#8352).
17256
4ffd0d6b 172572011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17258
17259 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17260
c6c32125 17261 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17262 (mpuz-mode-map): Use mapc.
c6c32125
JB
17263 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17264 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17265 Fix typos in docstrings.
17266
58d468b4
JB
17267 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17268 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17269
6470c3c6
JB
17270 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17271
4ffd0d6b 172722011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17273
17274 * minibuffer.el (completion--do-completion): Avoid the "Next char
17275 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17276
3ad8bad0
CY
17277 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17278 mouse-2 into unread-command-events, it is interpreted correctly.
17279
71d73c9c 17280 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17281 (image-toggle-display): Doc fix.
71d73c9c 17282
841a1577 172832011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17284
4ffd0d6b
GM
17285 * textmodes/page.el (what-page): Use line-number-at-pos to
17286 calculate line number (Bug#6825).
6e1dbaa9 17287
c2fb1b60
JB
172882011-04-22 Juanma Barranquero <lekktu@gmail.com>
17289
17290 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17291 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17292 Pass argument NO-DEFAULT to `find-tag-interactive'.
17293
e02f48d7
JB
172942011-04-22 Juanma Barranquero <lekktu@gmail.com>
17295
17296 Lexical-binding cleanup.
17297
17298 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17299 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17300 * progmodes/ada-prj.el (ada-prj-initialize-values)
17301 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17302 (ada-prj-show-value):
17303 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17304 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17305 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17306 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17307 * progmodes/bug-reference.el (bug-reference-push-button):
17308 * progmodes/fortran.el (fortran-line-length):
17309 * progmodes/glasses.el (glasses-change):
17310 * progmodes/octave-mod.el (octave-fill-paragraph):
17311 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17312 (python-pdbtrack-grub-for-buffer, python-sentinel):
17313 * progmodes/sql.el (sql-save-connection):
17314 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17315 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17316 Mark unused parameters.
17317
17318 * progmodes/compile.el (compilation--flush-directory-cache)
17319 (compilation--flush-parse, compile-internal): Mark unused parameters.
17320 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17321 (compilation-next-error-function): Remove unused variable `timestamp'.
17322
17323 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17324 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17325
17326 * progmodes/dcl-mode.el (dcl-end-of-command):
17327 Remove unused variable `start'.
17328 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17329 (dcl-option-value-basic, dcl-option-value-offset)
17330 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17331 Mark unused parameters.
17332 (dcl-save-local-variable): Remove unused variable `val'.
17333 (mode): Declare.
17334
17335 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17336 Mark unused parameters.
17337 (delphi-ignore-changes): Move before first use.
17338 (delphi-charset-token-at): Remove unused variable `start'.
17339 (delphi-else-start): Remove unused variable `if-count'.
17340 (delphi-comment-block-start, delphi-comment-block-end):
17341 Remove unused variable `kind'.
17342 (delphi-indent-line): Remove unused variable `new-point'.
17343
17344 * progmodes/ebrowse.el (ebrowse-files-list)
17345 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17346 Mark unused parameters. Don't quote `lambda'.
17347 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17348 Don't quote `lambda'.
17349 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17350 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17351 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17352 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17353 Use `ignore-errors'.
17354 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17355 (ebrowse-view/find-file-and-search-pattern)
17356 (ebrowse-view/find-member-declaration/definition):
17357 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17358 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17359 Rename parameter PREFIX-ARG to PREFIX.
17360 (ebrowse-tags-read-name): Remove unused variables `start' and
17361 `member-info'.
17362 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17363 to `tags-file'.
17364
17365 * progmodes/etags.el (local-find-tag-hook): Declare.
17366 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17367 Mark unused parameters.
17368
17369 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17370 (executable-interpret): Mark unused parameter.
17371
17372 * progmodes/flymake.el (flymake-process-sentinel)
17373 (flymake-after-change-function)
17374 (flymake-create-temp-with-folder-structure)
17375 (flymake-get-include-dirs-dot): Mark unused parameters.
17376 (flymake-safe-delete-directory): Remove unused variable `err'.
17377
17378 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17379 (speedbar-timer-fn, speedbar-line-text)
17380 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17381 (speedbar-center-buffer-smartly): Declare functions.
17382 (gdb-find-watch-expression): Remove unused variable `array'.
17383 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17384 (gdb-starting): Mark unused parameters.
17385 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17386 (gdb-table-string): Remove unused variable `res'.
17387 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17388 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17389 (gdb-display-buffer): Remove unused variable `cur-size'.
17390
17391 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17392 allow lexical-binding compilation.
17393 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17394 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17395 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17396 Mark unused parameters.
17397 (gud-gdb-marker-filter): Remove unused variable `match'.
17398 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17399 lambda expressions and funcall them, instead of using `fset'.
17400
17401 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17402 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17403
17404 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17405 variable `header-beg'; use `let'.
17406
17407 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17408 `restart', `last-sexp' and `at-do'.
17409
17410 * progmodes/js.el (js--debug): Mark unused parameter.
17411 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17412 (js--splice-into-items): Remove unused variable `item'.
17413 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17414
17415 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17416 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17417 (makefile-complete): Remove unused variable `try'.
17418 (makefile-fill-paragraph, makefile-match-function-end):
17419 Mark unused parameters.
17420
17421 * progmodes/octave-inf.el (inferior-octave-complete):
17422 Remove unused variable `proc'.
17423 (inferior-octave-output-digest): Mark unused parameter.
17424
17425 * progmodes/perl-mode.el (perl-calculate-indent):
17426 Remove unused variable `err'.
17427
17428 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17429 (prolog-indent-line): Mark unused parameters.
17430 (prolog-indent-line): Remove unused variable `beg'.
17431
17432 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17433 (reporter-dont-compact-list): Declare.
17434
17435 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17436 Remove unused variable `char'.
17437 (sh-debug): Mark unused parameter.
17438 (sh-get-indent-info): Remove unused variable `start'.
17439 (sh-calculate-indent): Remove unused variable `var'.
17440
17441 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17442 (simula-electric-keyword): Remove unused variable `null'.
17443 (simula-search-backward, simula-search-forward): Remove unused
17444 variables `begin' and `end'.
17445
17446 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17447 Remove unused variable `pos'.
17448 (vera-electric-tab, vera-comment-uncomment-region):
17449 Mark unused parameters.
17450 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17451
7ede3b65
CY
174522011-04-22 Chong Yidong <cyd@stupidchicken.com>
17453
17454 * emacs-lisp/package.el (package--builtins, package-alist)
17455 (package-load-descriptor, package-built-in-p, package-activate)
17456 (define-package, package-installed-p)
17457 (package-compute-transaction, package-buffer-info)
17458 (package--push): Doc fix. Distinguish more clearly between
17459 version strings and version lists.
17460
121656e9
JB
174612011-04-21 Juanma Barranquero <lekktu@gmail.com>
17462
17463 Lexical-binding cleanup.
17464
17465 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17466 (5x5-make-mutate-best):
17467 * play/fortune.el (fortune-in-buffer):
17468 * play/gomoku.el (gomoku-init-display):
17469 * play/solitaire.el (solitaire, solitaire-do-check):
17470 * play/tetris.el (tetris-default-update-speed-function):
17471 Mark unused parameters.
17472
17473 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17474 (bubbles--shift): Remove unused variable `char-org'.
17475 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17476 (bubbles--show-images): Remove unused variable `char'.
17477
17478 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17479 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17480 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17481 (decipher-analyze-buffer): Use ?\s.
17482 (decipher-make-checkpoint): Remove unused variable `mapping'.
17483
17484 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17485
17486 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17487 Remove unused variable `result'; use `let'.
17488
17489 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17490 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17491 (gametree-children-shown-p, gametree-compute-reduced-score):
17492 Use `ignore-errors'.
17493
17494 * play/handwrite.el (ps-lpr-switches): Declare.
17495 (handwrite): Remove unused variables `pmin' and `lastp'.
17496
17497 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17498
17499 * play/landmark.el (landmark-init-display)
17500 (landmark-update-naught-weights): Mark unused parameters.
17501 (landmark-y): Remove unused variable `noise'. Simplify.
17502 (landmark-human-plays): Remove unused variable `score'.
17503
17504 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17505 (mpuz-try-proposal): Remove unused variable `game'.
17506
17507 * play/zone.el (life-patterns): Declare.
17508
80f499c7
JB
175092011-04-20 Juanma Barranquero <lekktu@gmail.com>
17510
17511 * vc/vc.el (ediff-vc-internal): Declare function.
17512
024ff170
SM
175132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17514
c0a193ea
SM
17515 * shell.el: Use lexical-binding and std completion UI.
17516 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17517 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17518 comint-preoutput-filter-functions rather than on
17519 comint-output-filter-functions.
17520 (shell-command-completion, shell--command-completion-data)
17521 (shell-filename-completion, shell-environment-variable-completion)
17522 (shell-c-a-p-replace-by-expanded-directory): New functions.
17523 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17524 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17525 (shell-dynamic-complete-environment-variable): Use them.
17526 (shell-dynamic-complete-as-environment-variable)
17527 (shell-dynamic-complete-as-command): Remove.
17528 (shell-match-partial-variable): Match past point.
17529 * comint.el: Clean up use of completion-at-point-functions.
17530 (comint-completion-at-point): New function.
17531 (comint-mode): Use it completion-at-point-functions.
17532 (comint-dynamic-complete): Make it obsolete.
17533 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17534 (comint-c-a-p-replace-by-expanded-history): New function.
17535 (comint-dynamic-complete-functions)
17536 (comint-replace-by-expanded-history): Use it.
17537 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17538 termination strings. Try harder to avoid second try-completion.
17539 (completion-in-region-mode-map): Disable bindings that don't work yet.
17540
2dbaa080
SM
17541 * comint.el: Use lexical-binding. Require CL.
17542 (comint-dynamic-complete-functions): Use comint-filename-completion.
17543 (comint-completion-addsuffix): Tweak custom type.
17544 (comint-filename-completion, comint--common-suffix)
17545 (comint--common-quoted-suffix, comint--table-subvert)
17546 (comint--complete-file-name-data): New functions.
17547 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17548 (comint-dynamic-list-filename-completions): Use them.
17549 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17550
2dbaa080
SM
17551 * minibuffer.el (completion-in-region-mode):
17552 Keep completion-in-region-mode--predicate global.
17553 (completion-in-region--postch):
17554 Assume completion-in-region-mode--predicate is not null.
17555
c79a6f38
SM
17556 * progmodes/flymake.el (flymake-start-syntax-check-process):
17557 Obey `dir'. Simplify.
17558
024ff170
SM
17559 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17560 we're in VC after all.
17561
1c6c854e
CS
175622011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17563
17564 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17565 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17566 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17567
bed7f140
SM
175682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17569
332e62ab
SM
17570 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17571 add sanity check.
17572
bed7f140
SM
17573 * obsolete/erc-hecomplete.el: Make obsolete.
17574 * obsolete/: Standardize obsolescence info in the header.
17575
f195c582
GM
175762011-04-20 Glenn Morris <rgm@gnu.org>
17577
17578 * calendar/solar.el (solar-horizontal-coordinates):
17579 Use the longitude argument rather than `calendar-longitude'.
17580 (solar-date-next-longitude): Remove unused locals.
17581
cb79b8c0
VJL
175822011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17583
17584 * whitespace.el: New version 13.2.1.
17585
175862011-04-20 felix <EmacsWiki> (tiny change)
17587
d8e4b68b 17588 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17589 switching between major modes on a file.
17590
602ea69d
SM
175912011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17592
17593 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17594 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17595 multi-line comments as well.
17596
06b60517
JB
175972011-04-19 Juanma Barranquero <lekktu@gmail.com>
17598
17599 Lexical-binding cleanup.
17600
17601 * arc-mode.el (archive-mode-revert):
17602 * cmuscheme.el (scheme-interactively-start-process):
17603 * custom.el (custom-initialize-delay):
17604 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17605 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17606 * emacs-lock.el (emacs-lock-clear-sentinel):
17607 * ezimage.el (defezimage):
17608 * follow.el (follow-avoid-tail-recenter):
17609 * fringe.el (set-fringe-mode-1):
17610 * generic-x.el (bat-generic-mode-compile):
17611 * help-mode.el (help-info-variable, help-do-xref)
17612 (help-mode-revert-buffer):
17613 * help.el (view-emacs-todo):
17614 * iswitchb.el (iswitchb-completion-help):
17615 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17616 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17617 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17618 * locate.el (locate-update):
17619 * longlines.el (longlines-encode-region)
17620 (longlines-after-change-function):
17621 * outline.el (outline-isearch-open-invisible):
17622 * ps-def.el (declare-function, charset-dimension, char-width)
17623 (encode-char):
17624 * ps-mule.el (ps-mule-plot-string):
17625 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17626 (recentf-edit-list-select, recentf-edit-list-validate)
17627 (recentf-open-files-action):
17628 * rect.el (delete-whitespace-rectangle-line)
17629 (rectangle-number-line-callback):
17630 * register.el (window-configuration-to-register)
17631 (frame-configuration-to-register):
17632 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17633 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17634 (xselect-convert-to-targets, xselect-convert-to-delete)
17635 (xselect-convert-to-filename, xselect-convert-to-charpos)
17636 (xselect-convert-to-lineno, xselect-convert-to-colno)
17637 (xselect-convert-to-os, xselect-convert-to-host)
17638 (xselect-convert-to-user, xselect-convert-to-class)
17639 (xselect-convert-to-name, xselect-convert-to-integer)
17640 (xselect-convert-to-atom, xselect-convert-to-identity):
17641 * subr.el (declare, ignore, process-kill-without-query)
17642 (text-clone-maintain):
17643 * terminal.el (te-get-char, te-tic-sentinel):
17644 * tool-bar.el (tool-bar-make-keymap):
17645 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17646 * type-break.el (type-break-mode, type-break-noninteractive-query):
17647 * view.el (View-back-to-mark):
17648 * wid-browse.el (widget-browse-action, widget-browse-widget)
17649 (widget-browse-widgets, widget-browse-sexp):
17650 * widget.el (define-widget-keywords):
17651 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17652 Mark unused parameters.
17653
17654 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17655 (align-areas): Remove unused variable `look'.
17656 (align-region): Remove unused variables `real-end' and `pos-list'.
17657
17658 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17659
17660 * bindings.el (mode-line-modified, mode-line-remote):
17661 Mark unused parameters.
17662 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17663
17664 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17665 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17666
17667 * comint.el (comint-history-isearch-pop-state)
17668 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17669 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17670 (comint-substitute-in-file-name): Doc fix.
17671
17672 * completion.el (cmpl-statistics-block): Mark unused parameter.
17673 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17674 (save-completions-to-file, load-completions-from-file):
17675 Remove unused local variable `e'.
17676
17677 * composite.el (compose-chars): Remove unused variable `len'.
17678 (lgstring-insert-glyph): Remove unused variable `g'.
17679 (compose-glyph-string): Remove unused variables `ascent',
17680 `descent', `lbearing' and `rbearing'.
17681 (compose-glyph-string-relative): Remove unused variables
17682 `lbearing', `rbearing' and `wadjust'.
17683 (compose-gstring-for-graphic): Remove unused variables `header',
17684 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17685 (compose-gstring-for-terminal): Remove unused variables `header'
17686 and `nchars'. Use `let', not `let*'.
17687
17688 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17689 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17690 (Custom-buffer-done, custom-buffer-create-internal)
17691 (custom-browse-visibility-action, custom-browse-group-tag-action)
17692 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17693 (widget-magic-mouse-down-action, custom-toggle-parent)
17694 (custom-add-parent-links, custom-toggle-hide-variable)
17695 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17696 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17697 (custom-face-menu-create, custom-variable-menu-create, get)
17698 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17699 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17700 (customize-apropos): Remove unused variable `tests'.
17701 (custom-group-value-create): Remove unused variable `hidden-p'.
17702 (sort-fold-case): Declare.
17703
17704 * cus-theme.el (custom-reset-standard-faces-list)
17705 (custom-reset-standard-variables-list): Declare.
17706 (customize-create-theme, custom-theme-revert, custom-theme-write)
17707 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17708 Mark unused parameters.
17709
17710 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17711
17712 * delim-col.el (delimit-columns-max): Move defvar before first use.
17713
17714 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17715 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17716
17717 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17718 (auto-insert): Declare.
17719 (desktop-restore-file-buffer): Rename desktop-* parameters;
17720 mark unused ones.
17721 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17722 (desktop-buffer): Rename desktop-* parameters.
17723
17724 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17725 (dframe-reposition-frame-xemacs, dframe-help-echo)
17726 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17727 Mark unused parameters.
17728
17729 * dired-aux.el (backup-extract-version-start, overwrite-query)
17730 (overwrite-backup-query, rename-regexp-query)
17731 (rename-non-directory-query): Declare.
17732 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17733 (dired-add-entry): Remove unused variable `orig-file-name'.
17734 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17735 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17736 `dired-copy-preserve-time' directly.
17737 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17738 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17739
17740 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17741 (dired-virtual-revert, dired-make-relative-symlink):
17742 Mark unused parameters.
17743 (manual-program): Declare.
17744 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17745 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17746 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17747
17748 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17749
17750 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17751
17752 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17753 Declare.
17754
17755 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17756
17757 * electric.el (Electric-command-loop): Rename parameter
17758 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17759
17760 * expand.el (expand-in-literal): Remove unused variable `here'.
17761
17762 * facemenu.el (facemenu-add-new-color):
17763 Remove unused variable `docstring'.
17764
17765 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17766 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17767 (face-attr-construct): Mark unused parameter. Doc fix.
17768 (read-color): Remove unused variable `hex-string'.
17769
17770 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17771 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17772 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17773 (display-buffer-other-frame): Remove unused variable `old-window'.
17774 (kill-buffer-hook): Declare.
17775 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17776 Mark unused parameters.
17777 (after-find-file): Pass 1 to `auto-save-mode', not t.
17778
17779 * files-x.el (auto-insert): Declare.
17780 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17781
17782 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17783 variable `buf'. Mark unused parameter.
06b60517
JB
17784 (find-lisp-insert-directory): Mark unused parameter.
17785
17786 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17787 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17788 (format-common-tail): Remove, unused.
17789 (format-deannotate-region): Remove unused variable `loc'.
17790 (format-annotate-region): Remove unused variable `p'.
17791 (format-annotate-single-property-change): Remove unused variables
17792 `default' and `tail'.
17793
17794 * forms.el (read-file-filter): Declare.
17795 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17796
17797 * frame.el (frame-creation-function-alist): Mark unused parameter.
17798 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17799
17800 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17801 Remove unused parameters.
17802 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17803 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17804
17805 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17806 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17807 (hfy-prepare-tag-map): Mark unused parameters.
17808 (htmlfontify-buffer): Use `called-interactively-p'.
17809
17810 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17811 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17812 (ibuffer-do-occur): Mark unused parameters.
17813 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17814 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17815
17816 * ibuffer.el: Don't quote `lambda'.
17817 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17818 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17819 Mark unused parameters.
17820
17821 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17822 (ido-completing-read): Mark unused parameters.
17823 (ido-copy-current-word): Mark unused parameters;
17824 remove unused variable `name'.
17825 (ido-sort-merged-list): Remove unused parameter `dirs'.
17826
17827 * ielm.el (ielm-input-sender): Mark unused parameter.
17828 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17829 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17830 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17831 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17832 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17833
17834 * image-dired.el (image-dired-display-thumbs): Remove unused
17835 variables `curr-file' and `count'.
17836 (image-dired-remove-tag): Remove unused variable `start'.
17837 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17838 variable `curr-file'
17839 (image-dired-rotate-original): Remove unused variable `temp-file'.
17840 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17841 Remove unused variable `file'.
17842 (image-dired-gallery-generate): Remove unused variable `curr'.
17843 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17844
17845 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17846
17847 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17848
17849 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17850
17851 * isearch.el (minibuffer-history-symbol): Declare.
17852 (isearch-edit-string): Remove unused variable `err'.
17853 (isearch-message-prefix, isearch-message-suffix):
17854 Mark unused parameters.
17855
17856 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17857
17858 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17859
17860 * makesum.el (double-column): Remove unused variable `cnt'.
17861
17862 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17863 (ido-ignore-item-temp-list): Declare.
17864
17865 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17866 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17867 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17868 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17869 `mouse-col-delta'.
17870
17871 * mouse-sel.el (mouse-extend-internal):
17872 Remove unused variable `orig-window-frame'.
17873
17874 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17875 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17876 Move declarations before first use.
17877 (pcomplete-opt): Mark unused parameters; doc fix.
17878
17879 * proced.el (proced-revert): Mark unused parameter.
17880 (proced-send-signal): Remove unused variable `err'.
17881
17882 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17883 Rename parameter PREFIX-ARG to ARG.
17884 (ps-basic-plot-string, ps-basic-plot-whitespace):
17885 Mark unused parameters.
17886
17887 * replace.el (replace-count): Define.
17888 (occur-revert-function): Mark unused parameters.
17889 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17890 (isearch-case-fold-search, isearch-string): Declare.
17891 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17892 bind `case-fold-search'. Remove unused variables `beg' and `end',
17893 and simplify.
17894 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17895 COUNT and bind `replace-count'.
17896 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17897 to COUNT.
17898
17899 * savehist.el (print-readably, print-string-length): Declare.
17900
17901 * shadowfile.el (shadow-expand-cluster-in-file-name):
17902 Remove unused variable `cluster'.
17903 (shadow-copy-file): Remove unused variable `i'.
17904 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17905 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17906 (shadow-define-literal-group, shadow-define-regexp-group)
17907 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17908
17909 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17910 (shell): Use `called-interactively-p'.
17911 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17912
17913 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17914 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17915 (delete-backward-char): Remove unused variable `ocol'.
17916 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17917 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17918 (event-apply-hyper-modifier, event-apply-shift-modifier)
17919 (event-apply-control-modifier, event-apply-meta-modifier):
17920 Mark unused parameters.
17921 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17922 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17923
17924 * speedbar.el (speedbar-ignored-directory-expressions)
17925 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17926 (speedbar-find-file, speedbar-dir-follow)
17927 (speedbar-directory-buttons-follow, speedbar-tag-find)
17928 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17929 (speedbar-buffers-line-directory, speedbar-buffer-click):
17930 Mark unused parameters.
17931 (speedbar-tag-file): Remove unused variable `mode'.
17932 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17933
17934 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17935
17936 * talk.el (talk): Remove unused variable `display'.
17937
17938 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17939 (tar-write-region-annotate): Mark unused parameter.
17940
17941 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17942 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17943 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17944 warning by another.
17945
17946 * time-stamp.el (time-stamp-string-preprocess):
17947 Remove unused variable `require-padding'.
17948
17949 * tree-widget.el (widget-glyph-enable): Declare.
17950 (tree-widget-action): Mark unused parameter.
17951
17952 * w32-fns.el (x-get-selection): Mark unused parameter.
17953 (autoload-make-program, generated-autoload-file): Declare.
17954
17955 * wdired.el (wdired-revert): Mark unused parameters.
17956 (wdired-xcase-word): Remove unused variable `err'.
17957
17958 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17959 (whitespace-help-scroll): Remove unused variable `data-help'.
17960
17961 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17962 (widget-image-insert, widget-after-change, default)
17963 (widget-default-format-handler, widget-default-notify)
17964 (widget-default-prompt-value, widget-info-link-action)
17965 (widget-url-link-action, widget-function-link-action)
17966 (widget-variable-link-action, widget-file-link-action)
17967 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17968 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17969 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17970 (widget-insert-button-action, widget-delete-button-action, visibility)
17971 (widget-documentation-link-action, widget-documentation-string-action)
17972 (widget-const-prompt-value, widget-regexp-match, symbol)
17973 (widget-coding-system-prompt-value)
17974 (widget-key-sequence-value-to-external, sexp)
17975 (widget-sexp-value-to-internal, character, vector, cons)
17976 (widget-choice-prompt-value, widget-boolean-prompt-value)
17977 (widget-color--choose-action): Mark unused parameters.
17978 (widget-item-match-inline, widget-choice-match-inline)
17979 (widget-checklist-match, widget-checklist-match-inline)
17980 (widget-group-match): Rename parameter VALUES to VALS.
17981 (widget-field-value-set): Remove unused variable `size'.
17982 (widget-color-action): Remove unused variables `value' and `start'.
17983
17984 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17985 variable `dir'. Doc fix.
06b60517
JB
17986 (windmove-find-other-window): Don't pass it.
17987
17988 * window.el (count-windows): Mark unused parameter.
17989 (bw-adjust-window): Remove unused variable `err'.
17990
17991 * woman.el (woman-file-name): Remove unused variable `default'.
17992 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17993 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17994 (global-font-lock-mode): Declare.
17995 (woman-decode-region): Mark unused parameter.
17996 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17997
17998 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17999 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18000 (x-dnd-handle-moz-url): Remove unused variable `title'.
18001 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18002
18003 * xml.el (xml-parse-tag, xml-parse-attlist):
18004 Remove unused variable `pos'.
18005
bc4f7f3d
GM
180062011-04-19 Glenn Morris <rgm@gnu.org>
18007
18008 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18009 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18010 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18011 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18012 * calendar/cal-html.el (cal-html-insert-minical):
18013 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18014 (calendar-mark-date-pattern):
18015 Prefix "unused" locals.
18016
18017 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18018 optional argument `style'.
18019
18020 * calendar/appt.el (appt-make-list):
18021 * calendar/cal-china.el (calendar-chinese-date-string):
18022 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18023 (diary-hebrew-yahrzeit):
18024 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18025 * calendar/calendar.el (calendar-generate-window):
18026 * calendar/time-date.el (time-to-days):
18027 Remove unused local variables.
18028
16a43933
CY
180292011-04-18 Chong Yidong <cyd@stupidchicken.com>
18030
18031 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18032 glyphless-char-display table.
18033 (tabulated-list-glyphless-char-display): New var.
18034
7eed1860
SS
180352011-04-18 Sam Steingold <sds@gnu.org>
18036
18037 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18038 to acknowledgments.
18039
4d2d1ccd
GM
180402011-04-17 Glenn Morris <rgm@gnu.org>
18041
18042 * calendar/diary-lib.el (diary-sexp-entry):
18043 * calendar/holidays.el (holiday-sexp):
18044 Set debug-on-error rather than the removed stack-trace-on-error.
18045
239da61d
GM
180462011-04-16 Glenn Morris <rgm@gnu.org>
18047
18048 * progmodes/f90.el: Use lexical-binding.
18049 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18050
8b05752a
SM
180512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18052
daca8ba5
SM
18053 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18054 (mail-mode): Setup mailalias completion here instead.
18055 * mail/mailalias.el: Use lexical-binding.
18056 (pattern, mailalias-done): Declare dynamic.
18057 (mail-completion-at-point-function): New function, from mail-complete.
18058 (mail-complete): Use it.
18059 (mail-completion-expand): New function.
18060 (mail-get-names): Use it.
18061 (mail-directory, mail-directory-process, mail-directory-stream):
18062 Don't use `pattern' for lexically bound arg.
18063
6f542485
SM
18064 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18065
037e7c3f
SM
18066 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18067 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18068 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18069
8b05752a
SM
18070 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18071 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18072 (byte-interactive-p): Define them again, for use when inlining
18073 old code.
18074
49093f60
JB
180752011-04-15 Juanma Barranquero <lekktu@gmail.com>
18076
18077 * loadup.el: Use `string-to-number', not `string-to-int'.
18078
b5b8e7de
SM
180792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18080
18081 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18082 gud-gdb-complete-command.
18083 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18084 (gud-gdb-completion-at-point): New function.
18085 (gud-gdb-completions): Remove.
18086
f42efeb5
MA
180872011-04-14 Michael Albinus <michael.albinus@gmx.de>
18088
49093f60
JB
18089 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18090 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18091 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18092 whether `executable-find' is bound.
f42efeb5
MA
18093
18094 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18095
e240cc21
SM
180962011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18097
18098 * minibuffer.el (completion-in-region-mode-predicate)
18099 (completion-in-region-mode--predicate): New vars.
18100 (completion-in-region, completion-in-region--postch)
18101 (completion-in-region-mode): Use them.
18102 (completion--capf-wrapper): Also return the hook function.
18103 (completion-at-point, completion-help-at-point):
18104 Adjust and provide a predicate.
c2bd2ab0
SM
18105
18106 Preserve arg names for advice of subr and lexical functions (bug#8457).
18107 * help-fns.el (help-function-arglist): Consolidate the subr and
18108 new-byte-code cases. Add argument `preserve-names' to extract names
18109 from the docstring when needed.
18110 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18111 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18112 (ad-arglist): Use help-function-arglist's new arg.
18113 (ad-definition-type): Use cond.
18114
c183f693
JB
181152011-04-13 Juanma Barranquero <lekktu@gmail.com>
18116
06641a47
JB
18117 * autorevert.el (auto-revert-handler):
18118 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18119 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18120 Don't quote lambda.
18121
c183f693
JB
18122 * image-mode.el (image-transform-set-scale):
18123 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18124
1e3b6001
G
181252011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18126
18127 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18128 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18129 Upgrades via gnutls-cli are too slow to be done opportunistically.
18130
2d6af8dd
JB
181312011-04-12 Juanma Barranquero <lekktu@gmail.com>
18132
18133 * dframe.el (dframe-current-frame): Remove spurious quote.
18134
c0749a51
GM
181352011-04-12 Glenn Morris <rgm@gnu.org>
18136
088d0d61
GM
18137 * calendar/cal-tex.el (cal-tex-end-document):
18138 Try to automatically use latin1 input if needed.
18139
c0749a51
GM
18140 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18141 Don't try to cons a mark onto an empty element.
18142
5c90fde0
LL
181432011-04-11 Leo Liu <sdl.web@gmail.com>
18144
18145 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18146 buffers.
18147 (ido-kill-buffer-at-head): Support killing virtual buffers.
18148
369e974d
CY
181492011-04-10 Chong Yidong <cyd@stupidchicken.com>
18150
18151 * minibuffer.el (completion-show-inline-help): New var.
18152 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18153 (minibuffer-force-complete, minibuffer-complete-word):
18154 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18155
18156 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18157 to avoid interference from inline help (Bug#5849).
18158
37f1c930
LL
181592011-04-10 Leo Liu <sdl.web@gmail.com>
18160
099c39a4
JB
18161 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18162 Fix typo.
37f1c930 18163
a32d4040
CY
181642011-04-09 Chong Yidong <cyd@stupidchicken.com>
18165
18166 * image-mode.el (image-toggle-display-image): Signal an error if
18167 not in Image mode.
18168 (image-transform-mode, image-transform-resize)
18169 (image-transform-set-rotation): Doc fix.
daca8ba5 18170 (image-transform-set-resize): Delete.
a32d4040
CY
18171 (image-transform-set-scale, image-transform-fit-to-height)
18172 (image-transform-fit-to-width): Handle image-toggle-display-image
18173 and image-transform-resize directly.
18174
099c39a4 181752011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18176
18177 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18178 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18179 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18180 (doc-view-mode-map): Add bindings for the new functions.
18181
099c39a4 181822011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18183
4d61f28d 18184 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18185 Fix typo in docstring.
18186
3726838a
EZ
181872011-04-08 Eli Zaretskii <eliz@gnu.org>
18188
04f33f1e
EZ
18189 * files.el (file-size-human-readable): Produce one digit after
18190 decimal, like "ls -lh" does.
18191
18192 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18193 the file size representation.
18194
3726838a
EZ
18195 * simple.el (list-processes): If async subprocesses are not
18196 available, error out with a clear error message.
18197
cbb59342
CY
181982011-04-08 Chong Yidong <cyd@stupidchicken.com>
18199
18200 * help.el (help-form-show): New function, to be called from C.
18201 Put help-form output in a buffer named differently than *Help*.
18202
e3971c44
EZ
182032011-04-08 Eli Zaretskii <eliz@gnu.org>
18204
18205 * files.el (file-size-human-readable): New function.
18206
18207 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18208 computing the representation inline. Don't require `cl'.
18209
12544bbe
GM
182102011-04-08 Glenn Morris <rgm@gnu.org>
18211
a1de6c6a
GM
18212 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18213
3c4671f4
GM
18214 * net/browse-url.el (browse-url-firefox):
18215 Test system-type, not system-configuration.
18216
b605679c
GM
18217 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18218 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18219 Use log-edit-empty-buffer-p. (Bug#7598)
18220
56442f0c
GM
18221 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18222 (rlogin-mode-map): Initialize in the defvar.
18223 (rlogin): Use ignore-errors.
18224
12544bbe
GM
18225 * replace.el (occur-mode-map): Some fixes for menu items.
18226
eb237b0f
AH
182272011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18228
18229 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18230
7d668f2c
CY
182312011-04-06 Chong Yidong <cyd@stupidchicken.com>
18232
e67a13ab
CY
18233 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18234 issuing unused warnings.
18235
18236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18237 macro directly.
18238
7d668f2c
CY
18239 * simple.el: Lisp reimplement of list-processes. Based on an
18240 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18241 (process-menu-mode): New major mode.
18242 (list-processes--refresh, list-processes):
18243 (process-menu-visit-buffer): New functions.
18244
18245 * files.el (save-buffers-kill-emacs): Don't assume any return
18246 value of list-processes, which is undocumented anyway.
18247
a83ec3c9
CY
182482011-04-06 Chong Yidong <cyd@stupidchicken.com>
18249
18250 * emacs-lisp/tabulated-list.el: New file.
18251
e91a96fe
CY
18252 * emacs-lisp/package.el: Use Tabulated List mode.
18253 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18254 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18255 table format using Tabulated List mode variables.
18256 (package--push): New macro, replacing package-list-maybe-add.
18257 (package-menu--generate): Use package--push. Renamed from
18258 package--generate-package-list.
18259 (package-menu-refresh, list-packages): Use it.
daca8ba5 18260 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18261 Return insertion data instead of inserting it directly.
099c39a4
JB
18262 (package-menu-describe-package, package-menu-execute):
18263 Use tabulated-list-get-id.
e91a96fe
CY
18264 (package-menu-mark-delete, package-menu-mark-install)
18265 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18266 (package-menu-mark-obsolete-for-deletion):
18267 Use tabulated-list-put-tag.
e91a96fe
CY
18268 (package--list-packages, package-menu-revert)
18269 (package-menu-get-package, package-menu-get-version)
18270 (package-menu-sort-by-column): Functions deleted.
18271 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18272 (package-menu--status-predicate, package-menu--version-predicate)
18273 (package-menu--name-predicate)
18274 (package-menu--description-predicate): Handle arguments in the
18275 Tabulated List format.
18276 (package-list-packages-no-fetch): Call list-packages.
18277
3e214b50
JB
182782011-04-06 Juanma Barranquero <lekktu@gmail.com>
18279
18280 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18281 (after-find-file): Don't bind it.
3e214b50
JB
18282 (revert-buffer-in-progress-p): New variable.
18283 (revert-buffer): Bind it.
18284 Pass nil for `after-find-file-from-revert-buffer'.
18285
18286 * saveplace.el (save-place-find-file-hook): Use new variable
18287 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18288
3f0f1700
GM
182892011-04-06 Glenn Morris <rgm@gnu.org>
18290
c0274801
GM
18291 * Makefile.in (AUTOGEN_VCS): New variable.
18292 (autoloads): Use $AUTOGEN_VCS.
18293
3f0f1700
GM
18294 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18295 * calendar/calendar.el (calendar-mode-map):
18296 Check for toolkit scroll bars. (Bug#8305)
18297
41ea9e48
CY
182982011-04-05 Chong Yidong <cyd@stupidchicken.com>
18299
18300 * minibuffer.el (completion-in-region--postch)
18301 (completion-in-region-mode): Remove unnecessary messages.
18302
6194c800
JB
183032011-04-05 Juanma Barranquero <lekktu@gmail.com>
18304
33256f14
JB
18305 * font-lock.el (font-lock-refresh-defaults):
18306 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18307 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18308
6194c800
JB
18309 * info.el (Info-directory-list, Info-read-node-name-2)
18310 (Info-split-parameter-string): Doc fixes.
18311 (Info-virtual-nodes): Reflow docstring.
18312 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18313 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18314 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18315 Fix typos in docstrings.
18316 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18317 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18318 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18319 (Info-restore-desktop-buffer): Mark unused parameters.
18320 (Info-directory-find-file, Info-directory-find-node)
18321 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18322 (Info-virtual-index-find-node, Info-apropos-find-file)
18323 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18324 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18325 (Info-virtual-index): Remove unused local variable `nodename'.
18326
b87a8200 183272011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18328
b87a8200
DD
18329 * net/rcirc.el: Update my e-mail address.
18330 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18331
3b2ff876
CY
183322011-04-05 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * startup.el (command-line): Save the cursor's theme-face
18335 directly, instead of using face-override-spec.
18336
18337 * custom.el (load-theme): Minor optimization in assigning faces.
18338
8d17e7ca
JB
183392011-04-04 Juanma Barranquero <lekktu@gmail.com>
18340
18341 * help-fns.el (describe-variable): Complete all variables having
18342 documentation, including keywords.
18343 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18344
2fbc1934
JB
183452011-04-04 Juanma Barranquero <lekktu@gmail.com>
18346
18347 Convert to lexical-binding.
18348
18349 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18350 (bs--get-marked-string, bs--get-modified-string)
18351 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18352 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18353 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18354
18355 * ehelp.el (electric-help-execute-extended)
18356 (electric-help-ctrl-x-prefix):
18357 * hexl.el (hexl-revert-buffer-function):
18358 * linum.el (linum-after-change, linum-after-scroll):
18359 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18360
18361 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18362
74f50695
DU
183632011-04-04 Daiki Ueno <ueno@unixuser.org>
18364
18365 * epa-dired.el:
18366 * epa-mail.el:
18367 * epa-hook.el:
18368 * epa-file.el:
18369 * epa.el:
18370 * epg.el: Use lexical binding.
18371
c11325f7
CY
183722011-04-03 Chong Yidong <cyd@stupidchicken.com>
18373
0d9e9a12
CY
18374 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18375
c11325f7 18376 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18377 dictionary case for flyspell-mark-duplications-exceptions.
18378 Use regexp matching for languages.
c11325f7
CY
18379 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18380 default dictionary (Bug#7926).
18381
da91b5f2
CY
183822011-04-02 Chong Yidong <cyd@stupidchicken.com>
18383
099c39a4
JB
18384 * emacs-lisp/package.el (package--with-work-buffer):
18385 Recognize https URLs.
da91b5f2 18386
099c39a4
JB
18387 * net/network-stream.el: Move from gnus/proto-stream.el.
18388 Change prefix to network-stream throughout.
da91b5f2
CY
18389 (open-protocol-stream): Merge into open-network-stream, leaving
18390 open-protocol-stream as an alias. Handle nil BUFFER args.
18391
18392 * subr.el (open-network-stream): Move to net/network-stream.el.
18393
afa8e9f6
GM
183942011-04-02 Glenn Morris <rgm@gnu.org>
18395
1d2e369d
GM
18396 * find-dired.el (find-exec-terminator): New option.
18397 (find-ls-option): Test for -ls support.
18398 (find-ls-subdir-switches): Test for -b in find-ls-option.
18399 (find-dired, find-grep-dired): Doc fixes.
18400 (find-dired): Use find-exec-terminator.
18401
8abb7da8 18402 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18403 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18404 (find-name-arg): Remove purecopy.
8abb7da8 18405
f3ca7378
GM
18406 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18407 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18408 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18409 accordingly. Don't add the null-device if not needed.
18410
afa8e9f6
GM
18411 * files.el (save-some-buffers): Doc fix.
18412
35eae264
EZ
184132011-04-02 Eli Zaretskii <eliz@gnu.org>
18414
18415 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18416
26b51db5
JB
184172011-04-01 Juanma Barranquero <lekktu@gmail.com>
18418
18419 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18420 Use `dolist' rather than `mapcar'.
18421
7200d79c
SM
184222011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18423
03408648 18424 Add lexical binding.
7200d79c 18425
03408648
SM
18426 * subr.el (apply-partially): Use new closures rather than CL.
18427 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18428 (dolist, dotimes): Use slightly different expansion for lexical code.
18429 (functionp): Move to C.
18430 (letrec): New macro.
18431 (with-wrapper-hook): Use it and apply-partially instead of CL.
18432 (eval-after-load): Preserve lexical-binding.
18433 (save-window-excursion, with-output-to-temp-buffer): Turn them
18434 into macros.
7200d79c 18435
03408648
SM
18436 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18437
18438 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18439 than the arglist.
18440 (help-add-fundoc-usage): Don't add `Not documented'.
18441 (help-function-arglist): Handle closures, subroutines, and new
18442 byte-code-functions.
18443 (help-make-usage): Remove leading underscores.
18444 (describe-function-1): Handle closures.
18445 (describe-variable): Use special-variable-p for completion.
18446
18447 * files.el (lexical-binding): Declare safe.
f488fb65 18448
03408648
SM
18449 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18450 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18451 (pcase): Add `let' pattern.
18452 Change memoization so it actually works.
18453 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18454 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18455 <let>: New case.
f488fb65 18456
03408648
SM
18457 * emacs-lisp/macroexp.el: Use lexical binding.
18458 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18459 Don't convert ' to #' without checking that it's indeed quoting
18460 a lambda.
18461
18462 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18463 Use eval-sexp-add-defvars.
03408648
SM
18464 (eval-sexp-add-defvars): New fun.
18465
18466 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18467
18468 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18469 Don't autoload.
18470 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18471 than the internal `byte-compile-lambda'.
18472 (defmethod): Don't hide code under quotes.
18473 (eieio-defmethod): New `code' argument.
18474
18475 * emacs-lisp/eieio-comp.el: Remove.
18476
18477 * emacs-lisp/edebug.el (edebug-eval-defun)
18478 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18479 (edebug-toggle): Avoid `eval'.
18480
18481 * emacs-lisp/disass.el (disassemble-internal): Handle new
18482 `closure' objects.
18483 (disassemble-1): Handle new byte codes.
18484
18485 * emacs-lisp/cl.el (pushnew): Silence warning.
18486
18487 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18488 (cl-byte-compile-throw): Remove.
18489 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18490
18491 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18492 closures.
18493
18494 * emacs-lisp/cconv.el: New file.
18495
18496 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18497 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18498 (byte-compile-initial-macro-environment):
18499 Handle declare-function here.
18500 (byte-compile--lexical-environment): New var.
18501 (byte-stack-ref, byte-stack-set, byte-discardN)
18502 (byte-discardN-preserve-tos): New lap codes.
18503 (byte-interactive-p): Don't use any more.
18504 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18505 New macros.
18506 (byte-compile-lapcode): Use them and handle new lap codes.
18507 (byte-compile-obsolete): Remove.
18508 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18509 (byte-compile-arglist-warn): Check late def of inlinable funs.
18510 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18511 since they should have been expanded by now.
18512 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18513 (byte-compile-from-buffer): Remove unused second arg.
18514 (byte-compile-preprocess): New function.
18515 (byte-compile-toplevel-file-form): New function to distinguish
18516 file-form calls from outside from file-form calls from hunk-handlers.
18517 (byte-compile-file-form): Simplify.
18518 (byte-compile-file-form-defsubst): Remove.
18519 (byte-compile-file-form-defmumble): Simplify now that
18520 byte-compile-lambda always returns a byte-code-function.
18521 (byte-compile): Preprocess.
18522 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18523 Remove, not used any more.
18524 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18525 (byte-compile-make-args-desc): New funs.
18526 (byte-compile-lambda): Handle lexical functions. Always return
18527 a byte-code-function.
18528 (byte-compile-reserved-constants): New var, to make up room for
18529 closed-over variables.
18530 (byte-compile-constants-vector): Obey it.
18531 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18532 (byte-compile-macroexpand-declare-function): New function.
18533 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18534 byte-code-functions.
18535 (byte-compile-form): Check obsolescence here.
18536 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18537 (byte-compile-variable-ref): Remove.
18538 (byte-compile-dynamic-variable-op): New fun.
18539 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18540 (byte-compile-variable-set): New funs.
18541 (byte-compile-discard): Add 2 args.
18542 (byte-compile-stack-ref, byte-compile-stack-set)
18543 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18544 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18545 macroexpand-all instead.
18546 (byte-compile-quote-form): Remove.
18547 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18548 (byte-compile-bind, byte-compile-unbind): New funs.
18549 (byte-compile-let): Handle let* and lexical binding.
18550 (byte-compile-let*): Remove.
18551 (byte-compile-catch, byte-compile-unwind-protect)
18552 (byte-compile-track-mouse, byte-compile-condition-case):
18553 Handle a new :fun-body form, used for lexical scoping.
18554 (byte-compile-save-window-excursion)
18555 (byte-compile-with-output-to-temp-buffer): Remove.
18556 (byte-compile-defun): Simplify.
18557 (byte-compile-stack-adjustment): New fun.
18558 (byte-compile-out): Use it.
18559 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18560
18561 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18562 handler any more.
18563
18564 * emacs-lisp/byte-opt.el: Use lexical binding.
18565 (byte-inline-lapcode): Remove (to bytecomp).
18566 (byte-compile-inline-expand): Pay attention to inlining to/from
18567 lexically bound code.
18568 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18569 any more.
18570 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18571 any more and don't call compiler-macros.
18572 (byte-compile-splice-in-already-compiled-code): Remove.
18573 (byte-code): Don't inline any more.
18574 (disassemble-offset): Receive `bytes' as argument rather than via
18575 dynamic scoping.
18576 (byte-compile-tag-number): Declare before first use.
18577 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18578 `return' even if make-spliceable.
18579 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18580 obsolete interactive-p.
18581 (byte-optimize-lapcode): Optimize new lap-codes.
18582 Don't trip up on new form of `byte-constant' lap code.
18583
18584 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18585
18586 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18587
18588 * custom.el (custom-initialize-default, custom-declare-variable):
18589 Use `defvar'.
18590
18591 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18592 New variables.
18593 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18594 (COMPILE_FIRST): Add macroexp and cconv.
18595 * makefile.w32-in: Mirror changes in Makefile.in.
18596
18597 * vc/cvs-status.el:
18598 * vc/diff-mode.el:
18599 * vc/log-edit.el:
18600 * vc/log-view.el:
18601 * vc/smerge-mode.el:
18602 * textmodes/bibtex-style.el:
090bd7cb 18603 * textmodes/css-mode.el:
03408648
SM
18604 * startup.el:
18605 * uniquify.el:
da91b5f2
CY
18606 * minibuffer.el:
18607 * newcomment.el:
18608 * reveal.el:
18609 * server.el:
18610 * mpc.el:
18611 * emacs-lisp/smie.el:
18612 * doc-view.el:
18613 * dired.el:
03408648
SM
18614 * abbrev.el: Use lexical binding.
18615
0f0c1f27
EZ
186162011-04-01 Eli Zaretskii <eliz@gnu.org>
18617
18618 * info.el (info-display-manual): New function.
18619
c82b2579
SM
186202011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18621
18622 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18623
221ddf68
TH
186242011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18625
18626 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18627 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18628
cba6e77e
GM
186292011-03-31 Glenn Morris <rgm@gnu.org>
18630
e040639f
GM
18631 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18632
cba6e77e
GM
18633 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18634
6d0f1c9e
CS
186352011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18636
18637 * progmodes/python.el (python-default-interpreter)
18638 (python-python-command-args, python-jython-command-args)
18639 (python-which-shell, python-which-args, python-which-bufname)
18640 (python-file-queue, python-comint-output-filter-function)
18641 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18642 variables and functions.
18643
3e2d70fd
SM
186442011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18645
18646 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18647 (completion-in-region-mode): New minor mode.
18648 (completion-in-region): Use it.
18649 (completion-in-region--data, completion-in-region-mode-map): New vars.
18650 (completion-in-region--postch): New function.
18651 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18652 New vars.
18653 (completion--capf-wrapper): New function.
18654 (completion-at-point): Use it to track well-behavedness of
18655 hook functions.
18656 (completion-help-at-point): New command.
18657
f3e4086c
JM
186582011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18659
18660 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18661 syntax class to search for whitespace on a single line
18662 (Message-ID: <4D938140.4030905@redhat.com>).
18663
eb7ffc14
LL
186642011-03-30 Leo Liu <sdl.web@gmail.com>
18665
18666 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18667 New commands.
18668 (edit-abbrevs-map): Bind them here.
18669 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18670
d806ab68
KM
186712011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18672
18673 * allout.el (allout-hide-by-annotation, allout-flag-region):
18674 Reduce possibility of overlay leakage by making them volatile.
18675
18676 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18677 hash is not shared between buffers. Mode initialization is
18678 responsible for giving it a useful starting value.
18679 (allout-item-span): Reduce possibility of overlay leakage by
18680 making them volatile.
18681 (allout-widgets-count-buttons-in-region): Add diagnostic function
18682 for tracking down button overlay leaks.
18683
ea622834
LL
186842011-03-29 Leo Liu <sdl.web@gmail.com>
18685
18686 * ido.el (ido-read-internal): Use the default history var
18687 minibuffer-history if no HISTORY is specified.
18688
b62f8267
G
186892011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18690
03408648
SM
18691 * net/imap.el (imap-shell-open, imap-process-connection-type):
18692 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18693 Kerberos, SSL, other subprocesses.
18694
947b6566
LL
186952011-03-28 Leo Liu <sdl.web@gmail.com>
18696
18697 * abbrev.el (abbrev-table-empty-p): New function.
18698 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18699 nonempty ones. (Bug#5937)
18700
5ffb62aa
JD
187012011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18702
18703 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18704
7a097943
LL
187052011-03-27 Leo Liu <sdl.web@gmail.com>
18706
18707 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18708 for foreground and background colors.
18709 (ansi-color-make-color-map): Adapt.
18710
c5b40130
LL
187112011-03-25 Leo Liu <sdl.web@gmail.com>
18712
1f48f7d2
LL
18713 * midnight.el (midnight-time-float): Remove. Note it calculates
18714 the microsecond component incorrectly and seconds-to-time does the
18715 same job.
625897ec 18716 Remove redundant (require 'timer).
1f48f7d2 18717
c5b40130
LL
18718 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18719 (ido-completions): Remove unused arguments. (Bug#8329)
18720
d86d2721
SM
187212011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18722
18723 * minibuffer.el (completion--flush-all-sorted-completions):
18724 Remove itself from hook.
18725 (completion-at-point): Let the functions perform the completion
18726 immediately and return nil or t.
18727 * comint.el (comint-dynamic-complete-functions): Now identical to
18728 completion-at-point-functions.
18729 (comint-dynamic-list-input-ring): Remove unused var `index'.
18730 (comint--match-partial-filename, comint--unquote&expand-filename):
18731 New funs, split from comint-match-partial-filename.
18732 (comint-dynamic-complete): Use completion-at-point.
18733 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18734
e8974c48
DA
187352011-03-24 Drew Adams <drew.adams@oracle.com>
18736
18737 * thingatpt.el: Support `defun'.
18738
def71b5e
LL
187392011-03-23 Leo Liu <sdl.web@gmail.com>
18740
cb5af48e
LL
18741 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18742
def71b5e
LL
18743 * help-mode.el (help-mode-finish): Tweak regexp.
18744
927c53e7
GM
187452011-03-23 Glenn Morris <rgm@gnu.org>
18746
18d05bed
GM
18747 * eshell/esh-opt.el (eshell-eval-using-options):
18748 Do not bind unused local variable `eshell-option-stub'.
18749
927c53e7
GM
18750 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18751
9d0da923
JB
187522011-03-22 Juanma Barranquero <lekktu@gmail.com>
18753
18754 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18755 keymap variable in `with-no-warnings' to avoid a warning when the
18756 keymap has been already `defconst'ed.
18757
4b978a67
LL
187582011-03-22 Leo Liu <sdl.web@gmail.com>
18759
18760 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18761 encode all chars in abbrevs; otherwise use emacs-mule or
18762 utf-8-emacs. (Bug#8308)
18763
5fd62452
JB
187642011-03-22 Juanma Barranquero <lekktu@gmail.com>
18765
0b1596c6
JB
18766 * simple.el (backward-delete-char-untabify):
18767 Avoid warning about using `delete-backward-char'.
18768
5fd62452
JB
18769 * image.el (image-type-file-name-regexps): Make it variable.
18770 `imagemagick-register-types' modifies it, and the user may want
18771 to add new extensions for known image types.
18772 (imagemagick-register-types): Throw error if not using ImageMagick.
18773
0b4e93f1
LL
187742011-03-22 Leo Liu <sdl.web@gmail.com>
18775
18776 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18777 located before rcirc-prompt-end-marker.
18778 (rcirc-complete): Error if point is not after rcirc prompt.
18779 Handle the case when table is nil.
9882e214 18780 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18781
fccee4ab
CY
187822011-03-22 Chong Yidong <cyd@stupidchicken.com>
18783
18784 * custom.el (custom--inhibit-theme-enable): Make it affect only
18785 custom-theme-set-variables and custom-theme-set-faces.
18786 (provide-theme): Ignore custom--inhibit-theme-enable.
18787 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18788 (custom-enabling-themes): Delete variable.
d86d2721
SM
18789 (enable-theme): Accept only loaded themes as arguments.
18790 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18791 (custom-enabled-themes): Forbid themes from setting this.
18792 Eliminate use of custom-enabling-themes.
18793 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18794
af896da6
LL
187952011-03-21 Leo Liu <sdl.web@gmail.com>
18796
18797 * ido.el (ido-read-internal): Add ido-selected to history instead
18798 of user input.
18799
78f64af0
SM
188002011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18801
18802 * subr.el (deferred-action-list, deferred-action-function):
18803 Mark obsolete.
18804
b16ac1ec
LL
188052011-03-21 Leo Liu <sdl.web@gmail.com>
18806
810f7698
LL
18807 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18808 change on 2011-02-13 (bug#8309).
18809
b16ac1ec
LL
18810 * minibuffer.el (read-file-name-function): Change default value.
18811 (read-file-name--defaults): Rename from read-file-name-defaults.
18812 (read-file-name-default): Rename from read-file-name.
18813 (read-file-name): Call read-file-name-function.
18814
4e05e67e
GM
188152011-03-21 Glenn Morris <rgm@gnu.org>
18816
18817 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18818 Doc fixes.
18819
4359915b
CY
188202011-03-21 Chong Yidong <cyd@stupidchicken.com>
18821
18822 * cus-theme.el: Add missing provide statement.
18823 (customize-create-theme): Extract theme value correctly.
18824 (custom-theme-visit-theme): Autoload.
18825 (customize-create-theme): Prompt before inserting default faces.
18826
1fe275ee
JB
188272011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18828
18829 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18830 units and musical notes.
18831
cd394be1 188322011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18833
18834 * ido.el (ido-read-internal): Use completing-read-default.
18835 (ido-completing-read): Fix compatibility with completing-read.
18836
7d476bde
CO
188372011-03-20 Christian Ohler <ohler@gnu.org>
18838
18839 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18840 (ert-delete-all-tests): Use `called-interactively-p' rather than
18841 `interactive-p'.
18842 (ert--make-xrefs-region): Respect END.
18843
fe0fb33e
CY
188442011-03-19 Chong Yidong <cyd@stupidchicken.com>
18845
ff854b0b
CY
18846 * dired-aux.el (dired-create-directory): Signal an error if the
18847 directory already exists (Bug#8246).
18848
fe0fb33e
CY
18849 * facemenu.el (list-colors-display): Call list-faces-display
18850 inside with-help-window.
18851 (list-colors-print): Use display property to align the final
18852 column, instead of checking window-width.
18853
576bce32
EZ
188542011-03-19 Eli Zaretskii <eliz@gnu.org>
18855
4d61f28d 18856 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18857 windows-nt systems.
18858 (emerge-protect-metachars): Quote correctly for ms-dos and
18859 windows-nt systems.
18860
89c41d68 188612011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18862
18863 * info.el (info-initialize): Replace all uses of `:' with
18864 path-separator for compatibility with non-Unix systems.
18865 Cache quoting of path-separator. (Bug#8258)
18866
b14e3e21 188672011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18868
18869 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18870 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18871 (mouse-avoidance-mode): Fix typos in docstrings.
18872
4525ce3e
CY
188732011-03-19 Chong Yidong <cyd@stupidchicken.com>
18874
18875 * startup.el (package-subdirectory-regexp): Move from package.el.
18876 Omit \\` and \\', and let callers add them.
18877
18878 * emacs-lisp/package.el (package-strip-version)
18879 (package-load-all-descriptors): Add \\` and \\' to
18880 package-subdirectory-regexp before using it.
18881 (package-untar-buffer): New arg DIR; ensure that file untars only
18882 into this expected directory. Remove superfluous delete-region.
18883 (package-unpack): Caller changed.
18884 (package-tar-file-info): Use package-subdirectory-regexp.
18885
a904a09a 188862011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18887
a904a09a
SM
18888 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18889 diff-mode-shared-map (bug#8284).
18890 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18891
188922011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18893
18894 * calendar/time-date.el (format-seconds): Use assoc instead of
18895 assoc-string, since assoc-string doesn't exist in XEmacs.
18896
171fc304
JB
188972011-03-17 Juanma Barranquero <lekktu@gmail.com>
18898
18899 * custom.el (custom-known-themes): Reflow docstring.
18900 (custom-theme-load-path): Fix typo in docstring.
18901 (load-theme): Fix typo in error message.
18902 (custom-available-themes, custom-variable-theme-value):
18903 Use `let', not `let*'.
18904
d71990a1
JB
189052011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18906
18907 * calc/README: Mention inclusion of musical notes.
18908
18909 * calc/calc-units.el (calc-lu-quant): Rename from
18910 `calc-logunits-quantity'.
18911 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18912 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18913 (calc-db): Rename from `calc-dblevel'.
18914 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18915 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18916 (calc-np): Rename from `calc-nplevel'.
18917 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18918 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18919 (calc-lu-plus): Rename from `calc-logunits-add'.
18920 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18921 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18922 (calc-lu-minus): Rename from `calc-logunits-sub'.
18923 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18924 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18925 (calc-lu-times): Rename from `calc-logunits-mul'.
18926 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18927 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18928 (calc-lu-divide): Rename from `calc-logunits-div'.
18929 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18930 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18931
18932 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18933 functions being autoloaded.
18934
18935 * calc/calc.el (calc-lu-power-reference): Rename from
18936 `calc-logunits-power-reference'.
18937 (calc-lu-field-reference): Rename from
18938 `calc-logunits-field-reference'.
18939
7a71b18d
GM
18940 * calc/calc-help.el (calc-l-prefix-help):
18941 Mention musical note functions.
d71990a1 18942
40c2934b
SM
189432011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18944
18945 * minibuffer.el (completion-all-sorted-completions):
18946 Use :completion-cycle-penalty text property if present.
18947
b0911414
KM
189482011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18949
18950 * allout.el (allout-yank-processing): Adjust for new rebulleting
18951 regime so bullet being yanked is used without prompting the user
18952 for a choice.
18953
8a05b668
JB
189542011-03-16 Juanma Barranquero <lekktu@gmail.com>
18955
18956 * startup.el (command-line): Warn the user that _emacs is deprecated.
18957
5ba5fb81
JB
189582011-03-16 Juanma Barranquero <lekktu@gmail.com>
18959
18960 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18961 (delphi-verbose, delphi-comment-face, delphi-string-face)
18962 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18963 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18964 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18965 (delphi-new-comment-line, delphi-font-lock-defaults)
18966 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18967 Fix typos in docstrings.
18968
2dab465b
KM
189692011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18970
5ba5fb81 18971 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18972 Invert the roles of character and string values for INSTEAD, so a
18973 string is used for the more common case of a defaulting prompt.
18974
0adf5618
SM
189752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18976
18977 * progmodes/ruby-mode.el (ruby-backward-sexp):
18978 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18979 * play/gamegrid.el (gamegrid-make-face):
18980 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18981 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18982 * notifications.el (notifications-notify):
18983 * net/xesam.el (xesam-search-engines):
18984 * net/quickurl.el (quickurl-list-insert):
18985 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18986
d72700e5
CY
189872011-03-15 Chong Yidong <cyd@stupidchicken.com>
18988
18989 * startup.el (command-line): Update package subdirectory regexp.
18990
49c5410a
SM
189912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18992
c6eee9aa
SM
18993 * allout.el (allout-abbreviate-flattened-numbering)
18994 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18995
49c5410a
SM
18996 * subr.el (read-char-choice): Only show the cursor after the prompt,
18997 not after the answer.
18998
047b2bb9
KR
189992011-03-15 Kevin Ryde <user42@zip.com.au>
19000
19001 * help-fns.el (variable-at-point): Skip leading quotes, if any
19002 (bug#8253).
19003
0a57d256
SM
190042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19005
19006 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19007 warning message.
19008
77c992bc
MA
190092011-03-14 Michael Albinus <michael.albinus@gmx.de>
19010
19011 * shell.el (shell): When called interactively, offer to change the
19012 shell file name on remote hosts.
19013
eebc475d
TZ
190142011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19015
19016 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19017 integration for LDAP parameters. The host, base, user or binddn,
19018 and secret tokens can be specified in a netrc file, for instance.
19019 This is optional because an `auth-source' parameter must be
19020 specified in the search attributes.
19021
9d05d1ba
JB
190222011-03-13 Juanma Barranquero <lekktu@gmail.com>
19023
19024 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19025
09d9db2c
GM
190262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19029 into declaration. Remove redundant and harmful binding.
19030
190312011-03-12 Eli Zaretskii <eliz@gnu.org>
19032
19033 * files.el (file-ownership-preserved-p): Pass `integer' as an
19034 explicit 2nd argument to `file-attributes'. If the file's owner
19035 is the Administrators group on Windows, and the current user is
19036 Administrator, consider that a match.
19037
19038 * server.el (server-ensure-safe-dir): Consider server directory
19039 safe on MS-Windows if its owner is the Administrators group while
19040 the current Emacs user is Administrator. Use `=' to compare
19041 numerical UIDs, since they could be integers or floats.
19042
219bd536
JB
190432011-03-12 Juanma Barranquero <lekktu@gmail.com>
19044
19045 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19046
f3afd36b
MA
190472011-03-12 Michael Albinus <michael.albinus@gmx.de>
19048
19049 Sync with Tramp 2.2.1.
19050
19051 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19052
19053 * net/trampver.el: Update release number.
19054
3aaaa6f1
SM
190552011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19056
94642599
SM
19057 * progmodes/compile.el (compilation--previous-directory): Fix up
19058 various nil/dead-marker mismatches (bug#8014).
19059 (compilation-directory-properties, compilation-error-properties):
19060 Don't call it at a position past the one we're about to change.
19061
3aaaa6f1
SM
19062 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19063 Disable obsolescence warnings in the file that declares it.
19064
14239447
KM
190652011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19066
099c39a4
JB
19067 * allout-widgets.el (allout-widgets-tally):
19068 Initialize allout-widgets-tally as a hash table rather than nil to
19069 prevent mode-line redisplay warnings. Also, clarify the module
19070 description and fix a comment typo.
14239447 19071
135e287c
JB
190722011-03-11 Juanma Barranquero <lekktu@gmail.com>
19073
19074 * help-fns.el (describe-variable): Don't complete keywords.
19075 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19076
ffbf300e
CY
190772011-03-10 Chong Yidong <cyd@stupidchicken.com>
19078
ba08b241
CY
19079 * emacs-lisp/package.el (package-version-join): Impose a standard
19080 string representation for pre/alpha/beta version lists.
19081 (package-unpack-single): Standardize the directory name by passing
19082 it through package-version-join.
19083 (package-strip-rcs-id): Accept any version string that does not
19084 signal an error in version-to-list.
ffbf300e 19085
f346fd6b
MA
190862011-03-10 Michael Albinus <michael.albinus@gmx.de>
19087
19088 * simple.el (delete-trailing-whitespace): Return nil for the
19089 benefit of `write-file-functions'.
19090
ccb55d27
GM
190912011-03-10 Glenn Morris <rgm@gnu.org>
19092
5ceaac0c
GM
19093 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19094
02da65ff
GM
19095 * vc/vc-git.el (vc-git-program): New option.
19096 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19097 (vc-git--call): Use it.
19098
b2f603cc
GM
19099 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19100
5772caab
GM
19101 * cus-edit.el (Custom-newline): If no button at point, look
19102 for a subgroup button at start-of-line. (Bug#2298)
19103
ccb55d27
GM
19104 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19105
ec6ecaed
JD
191062011-03-10 Julien Danjou <julien@danjou.info>
19107
19108 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19109 `cursor-type' is nil.
19110
9d5aa01d
JB
191112011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19112
19113 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19114
b6a5875b
KM
191152011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19116
7a71b18d 19117 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19118 preserves the existing header prefix, rebulleting it if necessary,
19119 rather than replacing it. This is necessary for proper operation
19120 of cooperative addons like allout-widgets.
1154d12e
JB
19121 (allout-make-topic-prefix, allout-rebullet-heading):
19122 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19123 value as alternate bullet to be used, instead of prompting the user
19124 for a bullet character.
b6a5875b 19125
ee545c35
MA
191262011-03-09 Michael Albinus <michael.albinus@gmx.de>
19127
d86d2721
SM
19128 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19129 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19130 `tramp-default-port'.
19131
c47971d7
DD
191322011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19133
19134 * net/rcirc.el (rcirc-handler-001): Remove useless
19135 with-rcirc-process-buffer.
19136 (rcirc-check-auth-status): Swap arguments to string-match.
19137
13522cb4
GM
191382011-03-09 Glenn Morris <rgm@gnu.org>
19139
0be6f4f1
GM
19140 * shell.el (shell-mode):
19141 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19142
13522cb4
GM
19143 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19144 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19145
515de2e3
CY
191462011-03-08 Chong Yidong <cyd@stupidchicken.com>
19147
19148 * emacs-lisp/package.el (package-refresh-contents)
19149 (package-menu-execute): Use condition-case-no-debug.
19150
b511b994
MA
191512011-03-08 Michael Albinus <michael.albinus@gmx.de>
19152
19153 * simple.el (shell-command-to-string): Use `process-file'.
19154
19155 * emacs-lisp/package.el (package-tar-file-info): Handle also
19156 remote files.
19157
d86d2721
SM
19158 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19159 Use `equal' for upload base check.
b511b994 19160
25bbfb31
AM
191612011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19162
19163 * textmodes/texinfo.el (texinfo-environments):
19164 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19165
be996521
GM
191662011-03-08 Glenn Morris <rgm@gnu.org>
19167
e9c8529f
GM
19168 * cus-start.el (cursor-in-non-selected-windows):
19169 Fix :set quoting oddness. (Bug#8192)
19170
be996521
GM
19171 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19172 in some setf expressions. (Bug#2159)
19173
2bb5649e
CY
191742011-03-08 Chong Yidong <cyd@stupidchicken.com>
19175
19176 * custom.el (custom-available-themes): Return themes in
19177 alphabetical order.
19178
33383987 19179See ChangeLog.15 for earlier changes.
e3d51b27
MR
19180
19181;; Local Variables:
19182;; coding: utf-8
e3d51b27
MR
19183;; End:
19184
acaf905b 19185 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19186
19187 This file is part of GNU Emacs.
19188
19189 GNU Emacs is free software: you can redistribute it and/or modify
19190 it under the terms of the GNU General Public License as published by
19191 the Free Software Foundation, either version 3 of the License, or
19192 (at your option) any later version.
19193
19194 GNU Emacs is distributed in the hope that it will be useful,
19195 but WITHOUT ANY WARRANTY; without even the implied warranty of
19196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19197 GNU General Public License for more details.
19198
19199 You should have received a copy of the GNU General Public License
19200 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.