Use C-h r in BUGS
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ff0c3cfb
GM
12012-05-21 Glenn Morris <rgm@gnu.org>
2
3 * makefile.w32-in (update-subdirs-SH):
4 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5
5814f126
SM
62012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7
a52c0aa0
SM
8 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9
5814f126
SM
10 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11 Simplify Maven regexp, and make sure the file can't start with a space
12 (bug#11517).
13
b847032c
GM
142012-05-21 Glenn Morris <rgm@gnu.org>
15
16 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17 Scrap superfluous subshells.
18
3858bfe7
SM
192012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
22 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
23
d14b0029
JB
242012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
25
26 * calc/calc.el (calc-ensure-consistent-units): New variable.
27
a52c0aa0
SM
28 * calc/calc-units.el (math-consistent-units-p)
29 (math-check-unit-consistency): New functions.
30 (calc-quick-units, calc-convert-units):
31 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
32 is non-nil.
d14b0029
JB
33 (calc-extract-units): Fix typo.
34
60c4db3a
SM
352012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
36
77f3b62e
SM
37 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
38
60c4db3a
SM
39 * textmodes/flyspell.el: Commenting style, plus code simplifications.
40 (flyspell-default-deplacement-commands): Don't spell check after
41 repeated window/frame switches (e.g. triggered by mouse-movement).
42 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
43 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
44 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
45 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
46 Remove unused vars.
47 (flyspell-get-casechars, flyspell-get-not-casechars):
48 Simplify; Don't bother removing a ] just to add it back.
49 * textmodes/ispell.el (ispell-program-name): Use executable-find.
50
b1a10716
RS
512012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
52
53 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
54 New functions.
55 (math-function-table): Add support for more C functions.
56
3f1b25b5
AM
572012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
58
59 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
60 (flyspell-debug-signal-word-checked): Protect delay handling for
61 otherchars against empty otherchars.
62
b581bb5c
SM
632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
66 their respective macro declarations.
67 * skeleton.el (define-skeleton):
68 * progmodes/compile.el (define-compilation-mode):
69 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
70 (define-ibuffer-filter):
71 * emacs-lisp/generic.el (define-generic-mode):
72 * emacs-lisp/easy-mmode.el (define-minor-mode)
73 (define-globalized-minor-mode):
74 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
75 * emacs-lisp/byte-run.el (defsubst):
76 * custom.el (deftheme): Add doc-string metadata.
77
70b8ef8f
SM
782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
81
b1198e17
SM
822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
83
9abdc45d
SM
84 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
85
b1198e17
SM
86 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
87 * emacs-lisp/cl-macs.el: Idem.
88 * emacs-lisp/cl-specs.el: Remove.
89
4735906a
SM
902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 Minor renaming of internal CL functions and variables.
93 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
94 (cl--position): Rename from cl-position.
95 (cl--delete-duplicates): Rename from cl-delete-duplicates.
96 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
97 (cl--random-state): Rename from *random-state*.
98
ac348012
SM
992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
102 parens around the arg list (bug#11499).
103
a0a79cde
JL
1042012-05-17 Juri Linkov <juri@jurta.org>
105
106 * isearch.el (word-search-regexp, word-search-backward)
107 (word-search-forward, word-search-backward-lax)
108 (word-search-forward-lax): Move functions from search.c
109 (bug#10145, bug#11381).
110
65034a51
AM
1112012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
112
113 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
114 (flyspell-debug-signal-word-checked): Delay for otherchars as for
115 normal word components.
116
1a72a195
SM
1172012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * minibuffer.el (completion--sifn-requote): Fix last change.
120 (minibuffer-local-must-match-filename-map):
121 Move define-obsolete-variable-alias before its var.
122
fdb058c2
SM
1232012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
124
c41045e6
SM
125 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
126
036dfb8b
SM
127 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
128 behavior.
129 (completion--string-equal-p): New function.
130 (completion--twq-all): Use it to get better assertion failure data.
131
2473256d
SM
132 Only handle ".." and '..' quoting in shell-mode (bug#11466).
133 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
134 (shell--requote-argument): New functions.
135 (shell-completion-vars): Use them.
136 (shell--parse-pcomplete-arguments): Rename from
137 shell-parse-pcomplete-arguments.
138 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
139 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
140 Obey comint-file-name-quote-list.
141
fdb058c2
SM
142 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
143 (smie-indent-keyword): Use it.
144
51fa99f1
SM
1452012-05-14 Stefan Merten <smerten@oekonux.de>
146
147 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
148
e18afed7 1492012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
150
151 * net/rlogin.el (rlogin-mode-map): Fix last change.
152
e18afed7 1532012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
154
155 * mail/smtpmail.el (smtpmail-send-command): Send the command and
156 the following \r\n using a single `process-send-string', since the
157 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 158 with two `process-send-string's (Bug#11444).
8633b1f4 159
e18afed7 1602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 161
fdb058c2
SM
162 * shell.el (shell-parse-pcomplete-arguments):
163 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 164
2d21d7f6
WJ
1652012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
166
e18afed7 167 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
168 (image-transform-scale, image-transform-right-angle-fudge): New vars.
169 (image-transform-width, image-transform-fit-width): New functions.
170 (image-transform-properties): Use them.
171 (image-transform-check-size): New function.
172 (image-toggle-display-image): Use it (for testing).
173 (image-transform-set-rotation): Reduce angle mod 360.
174 Delete obsolete comment.
175
7102e6d0
WJ
1762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
177
178 * image-mode.el: Fix scaling (bug#11399).
179 (image-transform-resize): Doc fix.
180 (image-transform-properties): Default scale is 1 and height should
181 be an integer.
182
06bc5e6e
SM
1832012-05-13 Johan Bockgård <bojohan@gnu.org>
184
185 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
186 than hard-coding `car', to fix misbehavior when moving forward.
187
0ae03b6a
CY
1882012-05-13 Chong Yidong <cyd@gnu.org>
189
190 * emacs-lisp/tabulated-list.el (tabulated-list-format)
191 (tabulated-list-entries, tabulated-list-padding)
192 (tabulated-list-sort-key): Make permanent-local.
193
194 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
195 (electric-buffer-list): Put electric buffer menu
196 command descriptions in this docstring, instead of the docstring
197 of electric-buffer-menu-mode. Code cleanups.
198 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
199 Electric-buffer-menu-mode.
200 (electric-buffer-update-highlight): Minor code cleanup.
201
205a7391
MA
2022012-05-13 Michael Albinus <michael.albinus@gmx.de>
203
204 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
205 (Bug#11447)
206
e5bd0a28
SM
2072012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 Move define-obsolete-variable-alias before the var's definition.
210 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
211 * tooltip.el (tooltip-hook):
212 * textmodes/reftex-toc.el (reftex-toc-map):
213 * textmodes/reftex-sel.el (reftex-select-label-map)
214 (reftex-select-bib-map):
215 * textmodes/reftex-index.el (reftex-index-map)
216 (reftex-index-phrases-map):
217 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
218 * progmodes/meta-mode.el (meta-mode-map):
219 * novice.el (disabled-command-hook):
220 * loadhist.el (unload-hook-features-list):
221 * frame.el (blink-cursor):
222 * files.el (find-file-not-found-hooks, write-file-hooks)
223 (write-contents-hooks):
224 * emulation/tpu-edt.el (GOLD-map):
225 * emacs-lock.el (emacs-lock-from-exiting):
226 * emacs-lisp/generic.el (generic-font-lock-defaults):
227 * emacs-lisp/chart.el (chart-map):
228 * dos-fns.el (register-name-alist):
229 * dired-x.el (dired-omit-files-p):
230 * desktop.el (desktop-enable):
231 * cus-edit.el (custom-mode-hook):
232 * buff-menu.el (buffer-menu-mode-hook):
233 * bookmark.el (bookmark-read-annotation-text-func)
234 (bookmark-exit-hooks):
235 * allout.el (allout-mode-deactivate-hook)
236 (allout-exposure-change-hook, allout-structure-added-hook)
237 (allout-structure-deleted-hook, allout-structure-shifted-hook):
238 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
239 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
240 comes before the corresponding variable's definition.
241
ac59c2f6
CY
2422012-05-12 Chong Yidong <cyd@gnu.org>
243
244 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
245 (Buffer-menu-mouse-select): Restore function (Bug#11459).
246 (Buffer-menu-mode-map): Bind it.
247 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 248
dee6c9a3
SM
2492012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
250
2171cea5
SM
251 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
252 (prolog-upper-case-string, prolog-lower-case-string)
253 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
254 (prolog-use-smie, prolog-smie-grammar): New vars.
255 (prolog-smie-forward-token, prolog-smie-backward-token)
256 (prolog-smie-rules): New funs.
257 (prolog-comment-indent): Remove.
258 (prolog-mode-variables): Use default comment indentation instead.
259 Setup SMIE.
260 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
261 (prolog-mode): Don't call them any more.
262 (prolog-electric-colon, prolog-electric-dash)
263 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
264
aa0382bd
SM
265 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
266
dbacb4bd
SM
267 * minibuffer.el (completion--twq-all): Again, allow case differences.
268
13bdd94c
SM
269 * term.el: Move keymap initialization code to be more idiomatic.
270 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
271 (term-terminal-menu): Move initialization into declaration.
272 (term-escape-char): Let the user set it in her .emacs.
273
ff46c759
SM
274 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
275 Provide SMIE-based indentation (not enabled by default yet).
276 (sh-mode-map): Don't bind electric keys.
277 Use electric-pair-mode instead of skeleton-pair.
278 (sh-assignment-regexp): Fit within 80 columns.
279 (sh-indent-supported): Specify actual shell name instead of boolean.
280 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
281 (sh-maybe-here-document): Use it. Make obsolete.
282 (sh-electric-here-document-mode) New minor mode.
283 (sh-mode): Use it. Don't set sh-indent-supported-here here.
284 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
285 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
286 (sh-smie-rc-grammar, sh-use-smie): New vars.
287 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
288 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
289 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
290 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
291 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
292 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
293 (sh-set-shell): Use smie-setup if requested.
294
dee6c9a3
SM
295 * term.el (term-set-escape-char): Properly set term-escape-char.
296 See http://stackoverflow.com/questions/10524656.
297
9f9aa044
CY
2982012-05-10 Chong Yidong <cyd@gnu.org>
299
300 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
301 Use url-generic-parse-url, and handle host names and Windows
302 filenames properly.
303 (ffap-url-unwrap-remote): Use url-generic-parse-url.
304 (ffap-url-unwrap-remote): Accept list values, specifying a list of
305 URL schemes to work on.
306 (ffap--toggle-read-only): New function.
307 (ffap-read-only, ffap-read-only-other-window)
308 (ffap-read-only-other-frame): Use it.
309 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
310 necessary for ffap-url-unwrap-remote.
311
836d29b3
DA
3122012-05-10 Dave Abrahams <dave@boostpro.com>
313
314 * cus-start.el (create-lockfiles): Add it.
315
00fd78ed
CY
3162012-05-09 Chong Yidong <cyd@gnu.org>
317
318 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
319 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
320
666b903b 3212012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
322
323 * shell.el (shell-completion-vars): Fix last change (bug#11348).
324
666b903b 3252012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
326
327 * ansi-color.el (ansi-color-process-output): Check for validity of
328 comint-last-output-start before using it. This avoids a bad
329 interaction with gdb-mi's input/output buffer.
330
666b903b 3312012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
332
333 * files.el (dir-locals-read-from-file):
334 Mention dir-locals in any error message.
335
666b903b 3362012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
337
338 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
339 package (Bug#11410).
340
f677562b
CY
341 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
342 variables into description.
343
666b903b 3442012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
345
346 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
347 shell-delimiter-argument-list (bug#11348).
348 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
349
b499d8d0
JB
3502012-05-09 Juanma Barranquero <lekktu@gmail.com>
351
8f6b6da8
JB
352 * textmodes/rst.el: Silence byte-compiler warnings.
353 (rst-re-alist, rst-reset-section-caches): Move around.
354 (rst-re): Use `characterp', not `char-valid-p'.
355 (font-lock-beg, font-lock-end): Declare.
356
4824146a
JB
357 * progmodes/idlw-shell.el (specs): Remove reference to deleted
358 variable `idlwave-shell-activate-alt-keybindings' and simplify.
359
b499d8d0
JB
360 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
361
ad89bb83
GM
3622012-05-08 Glenn Morris <rgm@gnu.org>
363
364 * files.el (auto-mode-alist): Treat ".make" like ".mk".
365
8bba5a75
SM
3662012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
367
49ed9c8e
SM
368 * vc/log-edit.el: Add GNU coding standards highlighting.
369 (log-edit-font-lock-gnu-style)
370 (log-edit-font-lock-gnu-keywords): New vars.
371 (log-edit-font-lock-keywords): New fun.
372 (log-edit-mode): Don't fold case in font-lock.
373 (log-edit-font-lock-keywords): Do not assume case-folding.
374
07d00b56
SM
375 * imenu.el: Misc cleanup. Make docstrings out of comments.
376 Use lexical-binding.
377 (imenu--index-alist, imenu--last-menubar-index-alist)
378 (imenu-menubar-modified-tick): Use defvar-local.
379 (imenu--split-menu): Remove unused var.
380 (imenu--cleanup-seen): Declare as global.
381 (imenu--cleanup): Use dolist.
382
8bba5a75
SM
383 * subr.el (defvar-local): Add debug spec and doc-string position.
384
5075bdb5
GM
3852012-05-08 Glenn Morris <rgm@gnu.org>
386
c052c904
GM
387 * lisp/language/burmese.el, language/cham.el, language/czech.el:
388 * language/english.el, language/georgian.el, language/greek.el:
389 * language/japanese.el, language/khmer.el, language/korean.el:
390 * language/lao.el, language/misc-lang.el, language/romanian.el:
391 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
392 * language/thai.el, language/utf-8-lang.el:
393 Remove no-byte-compile setting.
394
5075bdb5
GM
395 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
396
06f679a7
AH
3972012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
398
399 * progmodes/make-mode.el (makefile-browse):
400 Remove unnecessary interactive. (Bug#11324)
401
03794570
GM
4022012-05-07 Glenn Morris <rgm@gnu.org>
403
af8630f4
GM
404 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
405
03794570
GM
406 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
407
f0809a9d
SM
4082012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
409
28be5ce7
SM
410 * loadup.el: Preload newcomment.el.
411 * newcomment.el: Move autoload-only code to toplevel.
412
f0809a9d
SM
413 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
414 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
415 Handle new :right-align column property.
416 (tabulated-list-print-col): Idem, plus use `display' text-property to
417 try and preserve alignment for variable pitch fonts.
418
1241b724
CY
4192012-05-07 Chong Yidong <cyd@gnu.org>
420
421 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
422 (tabulated-list-use-header-line): New var.
423 (tabulated-list-init-header): Use it.
424 (tabulated-list-print-fake-header): New function.
425 (tabulated-list-print): Use it.
426 (tabulated-list-sort-button-map): Add non-header-line commands.
427 (tabulated-list-init-header): Add column name property to basic
428 labels as well.
429 (tabulated-list-col-sort): Handle non-header-line button case.
430 (tabulated-list--sort-by-column-name): Fix a corner case.
431
f0809a9d
SM
432 * buff-menu.el (list-buffers--refresh):
433 Handle Buffer-menu-use-header-line.
1241b724 434
e5f9458f
CY
4352012-05-06 Chong Yidong <cyd@gnu.org>
436
437 * buff-menu.el: Convert to Tabulated List mode.
438 (Buffer-menu-buffer+size-width): Make obsolete.
439 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
440 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
441 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
442 documentation into docstring of buffer-menu.
443 (Buffer-menu-toggle-files-only): Add an informative message.
444 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
445 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
446 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
447 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
448 (Buffer-menu-execute, Buffer-menu-select)
449 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
450 (Buffer-menu-bury): Use Tabulated List machinery.
451 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
452 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 453 Delete.
e5f9458f
CY
454 (list-buffers--refresh): New function.
455 (list-buffers-noselect): Use it.
456 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
457 (Buffer-menu--pretty-file-name): New helper functions.
458
459 * loadup.el: Preload tabulated-list.
460
461 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
462 tabulated-list-sort-column.
463 (tabulated-list-init-header): Add the initial aligning space even
464 if tabulated-list-padding is zero.
465
e129292c
CS
4662012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
467
468 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
469 whose cdr is not a cons cell correctly (bug#11038).
470
6632d361
CY
4712012-05-06 Chong Yidong <cyd@gnu.org>
472
e129292c
CS
473 * emacs-lisp/tabulated-list.el (tabulated-list-format):
474 Accept additional plist in column descriptors.
6632d361
CY
475 (tabulated-list-init-header): Obey it.
476 (tabulated-list-get-entry): New function.
477 (tabulated-list-put-tag): Use it. Use string-width instead of
478 length.
479 (tabulated-list--column-number): New function.
480 (tabulated-list-print): Use it.
e129292c
CS
481 (tabulated-list-print-col): New function.
482 Set `tabulated-list-column-name' property on each column's text.
6632d361 483 (tabulated-list-print-entry): Use it.
e129292c
CS
484 (tabulated-list-delete-entry, tabulated-list-set-col):
485 New functions.
6632d361
CY
486 (tabulated-list-sort-column): New command (Bug#11337).
487
3cc99f68
CY
488 * buff-menu.el (list-buffers): Move C-x C-b binding from
489 buff-menu.el to bindings.el.
490
491 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
492 :advertised-binding feature.
493
52b61776
TN
4942012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
495
496 * progmodes/compile.el (compilation-internal-error-properties):
497 Calculate start position correctly when end-col is set but
498 end-line is not (Bug#11382).
499
ebfe2597
WJ
5002012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
501
502 * man.el (Man-unindent): Use text-property-default-nonsticky to
503 prevent untabify from inheriting face properties (Bug#11408).
504
a43f98b3
GM
5052012-05-05 Glenn Morris <rgm@gnu.org>
506
48176e8b
GM
507 * calendar/cal-html.el: Optionally include holidays in the output.
508 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
509 (cal-html-holidays): New option.
510 (cal-html-css-default): Add holiday entry.
511 (holiday-in-range): Autoload it.
512 (cal-html-htmlify-entry): Add optional class argument.
513 (cal-html-htmlify-list): Add optional holidays argument.
514 (cal-html-insert-agenda-days): Include holidays in the output.
515 (cal-html-one-month): Maybe include holidays.
516
a43f98b3
GM
517 * calendar/holidays.el (holiday-in-range):
518 Move here from cal-tex-list-holidays.
519 * calendar/cal-tex.el (cal-tex-list-holidays):
520 Make it an obsolete alias for holiday-in-range. Update all callers.
521
fef9d149 5222012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
523
524 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
525 Nextstep.
526
248da2f4
RW
5272012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
528
529 * files.el (file-auto-mode-skip): New var.
530 (set-auto-mode-1): Use it.
531
f95e9344
SM
5322012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
533
df96ab1e
SM
534 * repeat.el: Use lexical-binding.
535 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
536 (repeat-undo-count): Remove.
537 (repeat):
538 * progmodes/octave-mod.el (octave-abbrev-start):
539 * progmodes/f90.el (f90-abbrev-start):
540 * face-remap.el (text-scale-adjust):
541 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
542
5342bb06
SM
543 * emacs-lisp/pcase.el (pcase--let*): New function.
544 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
545 a bit more.
546 (pcase--split-pred): Be more clever about ruling out overlap between
547 a predicate and some constant pattern.
548 (pcase--q1): Use `null' instead of (eq foo nil).
549
f95e9344
SM
550 * subr.el (setq-local, defvar-local): New macros.
551 (kbd): Redefine as an alias.
552 (with-selected-window): Leave unrelated frames alone.
553 (set-temporary-overlay-map): New function.
554
71873e2b
SM
5552012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * subr.el (user-error): New function.
558 * window.el (switch-to-buffer):
559 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
560 (smerge-match-conflict):
561 * simple.el (previous-matching-history-element)
562 (next-matching-history-element, goto-history-element, undo-more)
563 (undo-start):
564 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
565 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
566 (next-file, tags-loop-scan, list-tags, complete-tag):
567 * progmodes/compile.el (compilation-loop):
568 * mouse.el (mouse-minibuffer-check):
569 * man.el (Man-bgproc-sentinel, Man-goto-page):
570 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
571 (Info-history-forward, Info-follow-reference, Info-menu)
572 (Info-extract-menu-item, Info-extract-menu-counting)
573 (Info-forward-node, Info-backward-node, Info-next-menu-item)
574 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
575 (Info-next-reference, Info-prev-reference, Info-index)
576 (Info-index-next, Info-follow-nearest-node)
577 (Info-copy-current-node-name):
578 * imenu.el (imenu--make-index-alist)
579 (imenu-default-create-index-function, imenu-add-to-menubar):
580 * files.el (basic-save-buffer, recover-file):
581 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
582 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
583 (checkdoc-message-text, checkdoc-defun):
584 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
585 * cus-edit.el (customize-changed-options, customize-rogue)
586 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
587 (custom-variable-mark-to-reset-standard)
588 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
589 (custom-file):
590 * completion.el (check-completion-length):
591 * comint.el (comint-search-arg)
592 (comint-previous-matching-input-string-position)
593 (comint-previous-matching-input)
594 (comint-replace-by-expanded-history-before-point, comint-send-input)
595 (comint-copy-old-input, comint-backward-matching-input)
596 (comint-goto-process-mark, comint-set-process-mark):
597 * calendar/calendar.el (calendar-cursor-to-date): Use it.
598 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
599
8a61ee22
SM
6002012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
601
66408d1e
SM
602 * dabbrev.el (dabbrev--ignore-case-p): New function.
603 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
604 Use it.
605
8a61ee22
SM
606 * files.el (automount-dir-prefix): Mark as obsolete.
607
3c74813a
GM
6082012-05-04 Glenn Morris <rgm@gnu.org>
609
610 * patcomp.el, play/bruce.el: Move to obsolete/.
611
0bfcf5c5
PE
6122012-05-04 Paul Eggert <eggert@cs.ucla.edu>
613
614 Fix minor Y10k bugs.
615 * arc-mode.el (archive-unixdate):
616 * autoinsert.el (auto-insert-alist):
617 * calc/calc-forms.el (math-this-year):
618 * emacs-lisp/copyright.el (copyright-current-year)
619 (copyright-update-year, copyright):
620 * tar-mode.el (tar-clip-time-string):
621 * time.el (display-time-update):
622 Don't assume years have 4 digits.
623
78f3273a
CY
6242012-05-04 Chong Yidong <cyd@gnu.org>
625
626 * dos-w32.el (file-name-buffer-file-type-alist)
627 (direct-print-region-use-command-dot-com):
628 * ffap.el (ffap-menu-regexp):
629 * find-file.el (ff-special-constructs):
630 * follow.el (follow-debug):
631 * forms.el (forms--debug):
632 * iswitchb.el (iswitchb-all-frames):
633 * ido.el (ido-all-frames):
634 * emacs-lisp/timer.el (timer-max-repeats):
635 * mail/feedmail.el (feedmail-mail-send-hook)
636 (feedmail-mail-send-hook-queued):
637 * mail/footnote.el (footnote-signature-separator):
638 * mail/mailabbrev.el (mail-alias-separator-string)
639 (mail-abbrev-mode-regexp):
640 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
641 * progmodes/idlwave.el (idlwave-libinfo-file)
642 (idlwave-default-completion-case-is-down)
643 (idlwave-library-routines): Convert defvars to defcustoms.
644
645 * mail/rmail.el (rmail-decode-mime-charset):
646 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
647 (idlwave-shell-fix-inserted-breaks)
648 (idlwave-shell-activate-alt-keybindings)
649 (idlwave-shell-use-breakpoint-glyph):
650 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
651
f7ae6719
SM
6522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
655
47086495
WS
6562012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
657
658 * progmodes/verilog-mode.el (font-lock-keywords):
659 Fix mis-highligting auto. Reported by Craig Barner.
660 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
661 defines from global name space. Reported by Dan Dever.
662 (verilog-auto-reset, verilog-auto-reset-widths)
663 (verilog-auto-tieoff): Support using unbased numbers for
664 AUTORESET and AUTOTIEOFF.
665 (verilog-submit-bug-report): Update variable list.
666 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
667 parenthesis from not matching. Reported by Michael Rytting.
668 (verilog-auto-template-lint): Fix hash error when linting modules
669 with no used templates.
670 (verilog-warn, verilog-warn-error)
671 (verilog-warn-fatal): When non-interactive report multiple
672 warnings before exiting. Suggested by Brad Dobbie.
673 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
674 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
675 to report unused template errors. Reported by Brad Dobbie.
676 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
677 nets, bug438. Reported by Vns Blore.
678 (verilog-auto-inout-module, verilog-auto-reg)
679 (verilog-read-decls, verilog-read-sub-decls-sig)
680 (verilog-signals-edit-wire-reg, verilog-signals-with):
681 Fix passing of Verilog data types in ANSI input/output ports
682 such as "output logic" into the AUTOs. Special case "wire" and
683 "reg" for backwards compatibility presuming Verilog 2001.
684 (verilog-auto-ascii-enum): Add "auto enum" as alias.
685 (verilog-preprocess): Fix replication of preprocess output.
686 Reported by Brad Dobbie.
687 (verilog-auto-inst-interfaced-ports):
688 Create verilog-auto-inst-interfaced-ports, bug429.
689 Reported by Julian Gorfajn.
690 (verilog-after-save-font-hook)
691 (verilog-before-save-font-hook): New variable.
692 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
693 (verilog-save-font-mods): Wrap disabling fontification, reported
694 by David Rogoff.
695 (verilog-do-indent, verilog-pretty-declarations-auto)
696 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
697 Reported by Pierre-David Pfister.
698 (verilog-set-auto-endcomments): Fix endtask auto comments outside
699 of class declarations, bug292. Reported by Kevin Heilman.
700 (verilog-read-decls): Fix 'parameter type' not appearing in
701 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
702 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
703 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
704 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
705 Reported by David Kravitz.
706
7072012-05-03 Michael McNamara <mac@mail.brushroad.com>
708
709 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
710 assignment with tests in ifs and for loops.
711 (verilog-extended-complete-re, verilog-complete-reg): Change so
712 that DPI inport functions don't look like fuction declarations.
713 (verilog-pretty-expr): Don't line up assignment
714 operations to the test and increment in if and for loops
715 (verilog-extended-complete-re, verilog-complete-reg): Change so
716 that DPI inport functions don't look like fuction declarations
717
2e51d4b5
KH
7182012-05-03 Kenichi Handa <handa@m17n.org>
719
720 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
721 decoding, and show a warning message without signalling an error
722 (Bug#11282).
723
2bd785a2
SM
7242012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * emacs-lisp/bytecomp.el
727 (byte-compile-file-form-custom-declare-variable): Compile all elements,
728 since cconv.el might have introduced :fun-body, internal-make-closure,
729 and friends for bytecomp to handle (bug#11391).
730 * custom.el (defcustom): Avoid ((λ ..) ..).
731
99d27583
SM
7322012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
735
55a71479
JB
7362012-05-02 Juanma Barranquero <lekktu@gmail.com>
737
738 * notifications.el (dbus-debug):
739 * term/linux.el (gpm-mouse-enable):
740 * term/screen.el (xterm-register-default-colors): Declare.
741
7b97c764
CY
7422012-05-02 Chong Yidong <cyd@gnu.org>
743
2bc356d7
CY
744 * cus-start.el (gc-cons-percentage, exec-suffixes)
745 (dos-display-scancodes, dos-hyper-key, dos-super-key)
746 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
747 (make-cursor-line-fully-visible, void-text-area-pointer)
748 (font-list-limit): Add customization data.
749
7b97c764
CY
750 * allout.el (allout-exposure-change-functions)
751 (allout-structure-added-functions)
752 (allout-structure-deleted-functions)
753 (allout-structure-shifted-functions): Rename abnormal hooks from
754 *-hook, and convert to defcustoms.
5d3385a0
JB
755 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
756 Convert to defcustoms.
7b97c764
CY
757 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
758
759 * allout-widgets.el: Hook callers changed.
760
90207a15 7612012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
762
763 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
764 the yanked message in preference to the default value of
765 buffer-file-coding-system.
766
90207a15 7672012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 768
5d3385a0
JB
769 * window.el (display-buffer--action-function-custom-type):
770 Fix entry.
d9558cad 771
90207a15 7722012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
773
774 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
775
d80ac57b
GM
7762012-05-01 Glenn Morris <rgm@gnu.org>
777
976f7668
GM
778 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
779
beb83b5a
GM
780 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
781
d80ac57b
GM
782 * cus-edit.el (custom-variable-documentation): Simplify with format.
783
b593d6a9
AH
7842012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
785 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * simple.el (suggest-key-bindings, execute-extended-command):
788 Move from keyboard.c.
789
782fbf2a
CY
7902012-05-01 Chong Yidong <cyd@gnu.org>
791
792 * follow.el: Eliminate advice.
793 (set-process-filter, process-filter, sit-for): Advice deleted.
794 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
795 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
796 Vars deleted.
782fbf2a
CY
797 (follow-auto): Use a :set function.
798 (follow-mode): Rewritten. Don't advise process filters.
799 (follow-switch-to-current-buffer-all, follow-scroll-up)
800 (follow-scroll-down): Assume follow-mode is bound.
801 (follow-comint-scroll-to-bottom)
802 (follow-align-compilation-windows): New functions.
803 (follow--window-sorter): New function.
804 (follow-all-followers): Use it to explicitly sort windows by their
805 positions; don't make assumptions about next-window order.
806 (follow-windows-start-end, follow-delete-other-windows-and-split)
807 (follow-calc-win-start): Doc fix.
808 (follow-windows-aligned-p, follow-select-if-visible): Don't call
809 vertical-motion unnecessarily.
810 (follow-adjust-window): New function.
811 (follow-post-command-hook): Use it.
812 (follow-call-set-process-filter, follow-call-process-filter)
813 (follow-intercept-process-output, follow-tidy-process-filter-alist)
814 (follow-stop-intercept-process-output, follow-generic-filter):
815 Functions deleted.
816 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
817 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
818 New functions, replacing advice on scroll-bar-* commands.
87233a14 819 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
820
821 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
822 (comint-postoutput-scroll-to-bottom): Use it.
823 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 824
290af740
GM
8252012-05-01 Glenn Morris <rgm@gnu.org>
826
827 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
828 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
829 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
830 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
831 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
832 Remove no-byte-compile setting.
833
6eac8dc9
SM
8342012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * minibuffer.el (completion-table-with-quoting): Fix compatibility
837 all-completions code to not return a number in the last cdr.
838
9cc7819c
LL
8392012-04-30 Leo Liu <sdl.web@gmail.com>
840
841 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
842 read-only error.
843
c93b886f
CY
8442012-04-29 Chong Yidong <cyd@gnu.org>
845
846 * follow.el (follow-calc-win-end): Rewrite to handle partial
847 screen lines correctly (Bug#8390).
848 (follow-avoid-tail-recenter): Minor cleanup.
849
8b6c19f4
SM
8502012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 Avoid the obsolete `assoc' package.
853 * speedbar.el (speedbar-refresh): Avoid adelete.
854 (speedbar-file-lists): Simplify and avoid aput.
855 * man.el (Man--sections, Man--refpages): New vars, replacing
856 Man-sections-alist and Man-refpages-alist.
857 (Man-build-section-alist, Man-build-references-alist):
858 Use them; avoid aput.
859 (Man--last-section, Man--last-refpage): New vars.
860 (Man-follow-manual-reference): Use them.
861 Use the `default' arg of completing-read.
862 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
863
c5bb7569
CY
8642012-04-27 Chong Yidong <cyd@gnu.org>
865
d1d2e2e8
CY
866 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
867
15cd8efd
CY
868 * startup.el (x-apply-session-resources): New function.
869
870 * term/ns-win.el (ns-initialize-window-system):
871 * term/w32-win.el (w32-initialize-window-system):
872 * term/x-win.el (x-initialize-window-system): Use it to properly
873 set menu-bar-mode and other vars from X resources, even if the
874 initial frame is not a window-system frame (Bug#2299).
875
c5bb7569
CY
876 * subr.el (read-key): Avoid running filter function when setting
877 up temporary tool bar entries (Bug#9922).
878
a8e7d6d7 8792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
880
881 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
882 (Bug#11344)
883
a8e7d6d7 8842012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
885
886 * select.el (xselect--encode-string): New function, split from
887 xselect-convert-to-string.
888 (xselect-convert-to-string): Use it.
889 (xselect-convert-to-filename, xselect-convert-to-os)
890 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
891 returned strings are properly encoded (Bug#11315).
892
a8e7d6d7 8932012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
894
895 * simple.el (delete-active-region): Move to killing custom group.
896
a8e7d6d7 8972012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
898
899 * progmodes/which-func.el (which-func-current): Quote %
900 characters for mode-line processing.
901
578c1d4b 9022012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
903
904 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
905 reaching eob (Bug#11286).
906
a8e7d6d7 9072012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
908
909 * progmodes/gdb-mi.el (gdb-control-level): New variable.
910 (gdb): Make it buffer-local and init to zero.
911 (gdb-control-commands-regexp): New variable.
912 (gdb-send): Don't wrap in "-interpreter-exec console" if
913 gdb-control-level is positive. Increment gdb-control-level
914 whenever the command matches gdb-control-commands-regexp, and
915 decrement it each time the command is "end". (Bug#11279)
916
a8e7d6d7 9172012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
918
919 * window.el (adjust-window-trailing-edge, enlarge-window)
920 (shrink-window, window-resize):
921 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
922 windows (Bug#11276).
923
b3608390
CY
9242012-04-27 Chong Yidong <cyd@gnu.org>
925
926 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 927 fix "missing prefix" warning. All callers changed.
b3608390 928
797e6e88
SM
9292012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/assoc.el: Move to obsolete/.
932
e95a67dc
SM
9332012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
934
657c21e4 935 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
936
937 * term/ns-win.el (ns-define-service):
938 * progmodes/pascal.el (pascal-goto-defun):
939 * progmodes/js.el (js--read-tab):
940 * progmodes/etags.el (tags-lazy-completion-table):
941 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
942 * emacs-lisp/ewoc.el (ewoc--wrap):
943 * emacs-lisp/assoc.el (aput, adelete, amake):
944 * doc-view.el (doc-view-convert-current-doc):
945 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
946
cb3e7ae0
CY
9472012-04-26 Chong Yidong <cyd@gnu.org>
948
dce04f7f
CY
949 * image.el (image-type-from-buffer): Only return supported image
950 type (Bug#9045).
951
cb3e7ae0
CY
952 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
953 value, for symmetry with diff-end-of-hunk.
954 (diff-split-hunk, diff-find-source-location)
955 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
956 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
957 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
958 compute the relevant hunk or file properly (Bug#6005).
959 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
960
0d42eb3e
SM
9612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * vc/vc-mtn.el:
964 * vc/vc-hg.el:
965 * vc/vc-git.el:
966 * vc/vc-dir.el:
967 * vc/vc-cvs.el:
968 * vc/vc-bzr.el:
969 * vc/vc-arch.el:
970 * vc/vc.el: Replace lexical-let by lexical-binding.
971 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
972 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
973 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
974
f08ae1c9
CY
9752012-04-26 Chong Yidong <cyd@gnu.org>
976
8b71081d
CY
977 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
978 (diff-mode-shared-map): Bind it to / and [remap undo].
979
f08ae1c9
CY
980 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
981 (ediff-window-setup-function): Use it as the default, to set up
982 windows based on whether the current frame is graphical (Bug#2138).
983 (ediff-choose-window-setup-function-automatically): Make obsolete.
984
985 * vc/ediff-init.el: Always define ediff-pixel-width/height.
986
ef24141c
SM
9872012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
988
cc356a5d
SM
989 * ffap.el: Remove old code for obsolete package.
990 (ffap-complete-as-file-p): Remove.
991
b4ff4f1f
SM
992 Use completion-table-with-quoting for comint and pcomplete.
993 * comint.el (comint--unquote&requote-argument)
994 (comint--unquote-argument, comint--requote-argument): New functions.
995 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
996 (comint-quote-filename): Use regexp-opt-charset.
997 (comint--common-suffix, comint--common-quoted-suffix)
998 (comint--table-subvert): Remove.
999 (comint-unquote-function, comint-requote-function): New vars.
1000 (comint--complete-file-name-data): Use them with
1001 completion-table-with-quoting.
1002 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1003 * pcomplete.el (pcomplete-arg-quote-list)
1004 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1005 (pcomplete-unquote-argument-function): Default to non-nil.
1006 (pcomplete-unquote-argument): Simplify.
1007 (pcomplete--common-quoted-suffix): Remove.
1008 (pcomplete-requote-argument-function): New var.
1009 (pcomplete--common-suffix): New function.
1010 (pcomplete-completions-at-point): Use completion-table-with-quoting
1011 and completion-table-subvert.
1012
79c4eeb4
SM
1013 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1014 (minibuffer--double-dollars): Preserve properties.
1015 (completion--sifn-requote): New function.
1016 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1017
ef24141c
SM
1018 * minibuffer.el: Add support for completion of quoted/escaped data.
1019 (completion-table-with-quoting, completion-table-subvert): New funs.
1020 (completion--twq-try, completion--twq-all): New functions.
1021 (completion--nth-completion): New function.
1022 (completion-try-completion, completion-all-completions): Use it.
1023
784e7d6e
LL
10242012-04-25 Leo Liu <sdl.web@gmail.com>
1025
dd2ac746
SM
1026 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1027 Use compilation-message if available to find real filename.
784e7d6e 1028
07875ee7
CY
10292012-04-25 Chong Yidong <cyd@gnu.org>
1030
1031 * vc/diff-mode.el (diff-setup-whitespace): New function.
1032 (diff-mode): Use it.
1033
1034 * vc/diff.el (diff-sentinel):
1035 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1036 Whitespace mode variables based on diff style (Bug#8612).
1037
5055880d
LL
10382012-04-25 Leo Liu <sdl.web@gmail.com>
1039
daf75653
LL
1040 * progmodes/python.el (python-send-region): Add suffix .py to the
1041 temp file.
1042
5055880d
LL
1043 * files.el (auto-mode-alist): Use javascript-mode instead.
1044
db9b177b
AH
10452012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1046
ef24141c 1047 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1048
1049 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1050 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1051 references, see Bug#9.
ef24141c 1052 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1053 when receiving a fault reply.
ef24141c 1054 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1055
1056 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1057 (soap-inspect-simple-type): New function.
db9b177b 1058
ef24141c 1059 * soap-client.el (soap-simple-type): New struct.
db9b177b 1060 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1061 (soap-decode-basic-type, soap-encode-basic-type):
1062 support unsignedInt and double basic types.
db9b177b 1063 (soap-resolve-references-for-simple-type)
ef24141c
SM
1064 (soap-parse-simple-type, soap-encode-simple-type): New function.
1065 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1066
1067 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1068 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1069 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1070 the local name of "soapenc:Array".
1071 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1072 decoding integer, byte and anyURI xsd types.
1073
1fc6097b
CY
10742012-04-25 Chong Yidong <cyd@gnu.org>
1075
1076 * cus-edit.el (custom-buffer-create-internal): Update header text.
1077
afc6df87
EZ
10782012-04-25 Eli Zaretskii <eliz@gnu.org>
1079
1080 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1081 settings on 'system-type', not on 'window-system'. On MS-Windows,
1082 set interactive-mode on in GDB.
1083
dfbd787f
SM
10842012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1087 (ruby-syntax-propertize-regexp): Remove.
1088 (ruby-syntax-propertize-function): Split regexp into chunks.
1089 Match following code directly.
1090
85222d44
DG
10912012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1092
51a8ea2a
DG
1093 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1094 (ruby-syntax-propertize-regexp): New function.
1095 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1096 by a special keyword.
1097
85222d44
DG
1098 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1099 (ruby-syntax-general-delimiters-goto-beg)
1100 (ruby-syntax-propertize-general-delimiters): New functions.
1101 (ruby-syntax-propertize-function): Use them to handle GDL.
1102 (ruby-font-lock-keywords): Move old handling of GDL...
1103 (ruby-font-lock-syntactic-keywords): .. to here.
1104 (ruby-calculate-indent): Adjust indentation for GDL.
1105
b613912b
MA
11062012-04-24 Michael Albinus <michael.albinus@gmx.de>
1107
b5380639
MA
1108 * notifications.el (top): Remove unneeded declarations.
1109 (notifications-specification-version): Change to "1.2".
e43042fe 1110 (notifications-interface, notifications-notify-method)
b613912b
MA
1111 (notifications-close-notification-method): Fix docstring.
1112 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1113 (notifications-notify): Add :action-items, :resident and
1114 :transient hints. Change "image_data" to "image-data" and
1115 "image_path" to "image-path".
b613912b
MA
1116 (notifications-get-capabilities): New defun.
1117
257440aa
LL
11182012-04-24 Leo Liu <sdl.web@gmail.com>
1119
1120 * progmodes/python.el: Move hideshow setup to the end.
1121
b1bac16e
MR
11222012-04-24 Martin Rudalics <rudalics@gmx.at>
1123
1124 * window.el (handle-select-window): Clear echo area since this is
1125 no more done by read_char (Bug#11304).
1126
d81bd059
SM
11272012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1130 and `/ M' to filter-derived-mode.
1131 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1132 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1133 (ibuffer-mark-by-mode): Use default rather than initial-input.
1134 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1135
c4cf6d91
IA
11362012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1137
1138 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1139 (ibuffer-filter-by-derived-mode): New filter.
1140 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1141
7511ded8
CY
11422012-04-23 Andreas Politz <politza@fh-trier.de>
1143
1144 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1145
775c916b
CY
11462012-04-23 Chong Yidong <cyd@gnu.org>
1147
1148 * cus-edit.el (customize-apropos, customize-apropos-options):
1149 Disable matching of non-option variables (Bug#11176).
1150 (customize-option, customize-option-other-window)
1151 (customize-changed-options): Doc fix.
1152 (customize-apropos-options, customize-apropos-faces)
1153 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1154
1155 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1156 Fix word list splitting (Bug#11132).
46c71e23
CY
1157 (apropos-symbol, apropos-keybinding, apropos-label)
1158 (apropos-property, apropos-function-button)
1159 (apropos-variable-button, apropos-misc-button): New faces.
1160 (apropos-symbol-face, apropos-keybinding-face)
1161 (apropos-label-face, apropos-property-face, apropos-match-face):
1162 Variables removed (Bug#8396).
1163 (apropos-library-button, apropos-format-plist, apropos-print)
1164 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1165
2df41f9c
MA
11662012-04-23 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/xesam.el (xesam-mode-map): Use let-bound map in
1169 initialization. (Bug#11292)
1170
da00640a
AM
11712012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1172
1173 Preserve ispell session localwords when switching back to
1174 original buffer.
1175
1176 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1177 variable to hold buffer session localwords.
1178 (ispell-kill-ispell): add option 'clear to delete session
1179 localwords.
1180 (ispell-command-loop, ispell-change-dictionary)
1181 (ispell-buffer-local-words): Preserve session localwords when
1182 needed.
1183
1184 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1185 Preserve session localwords when needed.
1186
f621ccf5
AM
11872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1188
1189 * ispell.el (ispell-insert-word) Remove unneeded function using
1190 obsolete `translation-table-for-input'.
ef24141c
SM
1191 (ispell-word, ispell-process-line, ispell-complete-word):
1192 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1193
c2d1019e
CY
11942012-04-22 Chong Yidong <cyd@gnu.org>
1195
1196 * cus-edit.el (custom-variable-menu)
1197 (custom-variable-reset-saved, custom-face-menu)
1198 (custom-face-reset-saved): If there is no saved value, make the
1199 "reset-saved" operation bring back the default (Bug#9509).
1200 (custom-face-state): Properly detect themed faces.
1201
eeddc531
CY
1202 * faces.el (face-spec-set): Stop supporting deprecated form of
1203 third arg.
1204
dcbf5805
MA
12052012-04-22 Michael Albinus <michael.albinus@gmx.de>
1206
1207 Move functions from C to Lisp. Make non-blocking method calls
1208 the default. Implement further D-Bus standard interfaces.
1209
ef24141c
SM
1210 * net/dbus.el (dbus-message-internal): Declare function.
1211 Remove unneeded function declarations.
dcbf5805
MA
1212 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1213 (dbus-message-type-method-return, dbus-message-type-error)
1214 (dbus-message-type-signal): Declare variables. Remove local
1215 definitions.
1216 (dbus-interface-dbus, dbus-interface-peer)
1217 (dbus-interface-introspectable, dbus-interface-properties)
1218 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1219 Adapt docstring.
1220 (dbus-interface-objectmanager): New defconst.
1221 (dbus-call-method, dbus-call-method-asynchronously)
1222 (dbus-send-signal, dbus-method-return-internal)
1223 (dbus-method-error-internal, dbus-register-service)
1224 (dbus-register-signal, dbus-register-method): New defuns, moved
1225 from dbusbind.c
1226 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1227 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1228 New defuns.
dcbf5805
MA
1229 (dbus-call-method-non-blocking): Make it an obsolete function.
1230 (dbus-unregister-object, dbus-unregister-service)
1231 (dbus-handle-event, dbus-register-property)
1232 (dbus-property-handler): Obey the new structure of
1233 `bus-registered-objects'.
1234 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1235 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1236 Use `dbus-call-method'.
1237
cf20dee0
CY
12382012-04-22 Chong Yidong <cyd@gnu.org>
1239
1240 * cus-edit.el (custom-commands, custom-reset-menu)
1241 (Custom-reset-standard): Tweak labels.
1242 (custom-reset-button-menu): Change default to t.
1243 (custom-buffer-create-internal): For the custom-reset-button-menu
1244 case, put the revert button first.
1245 (custom-group-subtitle): New face.
1246 (custom-group-value-create): Align docstring to a specific column.
1247
1248 * wid-edit.el (widget-documentation-link-add): Don't handle
1249 indentation in this function.
1250 (widget-documentation-string-indent-to): New function.
1251 (widget-documentation-string-value-create): Use it.
1252
1253 * autorevert.el (auto-revert):
1254 * epg-config.el (epg):
1255 * ibuffer.el (ibuffer):
1256 * mpc.el (mpc):
1257 * ses.el (ses):
1258 * eshell/eshell.el (eshell):
1259 * net/ange-ftp.el (ange-ftp):
1260 * progmodes/ebnf2ps.el (postscript):
1261 * progmodes/flymake.el (flymake):
1262 * progmodes/prolog.el (prolog):
1263 * progmodes/verilog-mode.el (verilog-mode):
1264 * progmodes/which-func.el (which-func):
1265 * term/xterm.el (xterm):
1266 * textmodes/picture.el (picture):
1267 * textmodes/tildify.el (tildify):
1268 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1269 customization buffers.
1270
583e23bd
AM
12712012-04-22 Alan Mackenzie <acm@muc.de>
1272
1273 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1274 Adding a ) can hide the resulting (..) from searches. Fix it.
1275 Bound the backward search to the position of the existing (.
1276
7dd51bf1
JB
12772012-04-21 Juanma Barranquero <lekktu@gmail.com>
1278
1279 * progmodes/verilog-mode.el (verilog-mode): Check whether
1280 which-func-modes is t before adding verilog-mode.
1281 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1282
d64a438f
LL
12832012-04-21 Leo Liu <sdl.web@gmail.com>
1284
7dd51bf1 1285 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1286
081e8d65
MV
12872012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1288
1289 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1290 filling of the last column of a table (Bug#5635).
1291 (woman-find-next-control-line): New arg, specifying an additional
1292 regexp component for the control line.
1293 (woman2-roff-buffer): Use it.
1294 (woman-break-table): New function.
1295 (woman2-TS): Use it.
1296
12972012-04-21 Chong Yidong <cyd@gnu.org>
1298
1299 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1300 (woman-horizontal-escapes, woman-negative-vertical-space)
1301 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1302 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1303
ed571ccb
SM
13042012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * minibuffer.el (completion-file-name-table): Complete user names.
1307
39773899
LL
13082012-04-20 Leo Liu <sdl.web@gmail.com>
1309
1310 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1311 and pcase-let*.
1312
de6ff46d
CY
13132012-04-20 Chong Yidong <cyd@gnu.org>
1314
1315 * server.el (server-execute): Respect initial-buffer-choice if it
1316 is a string and there are no files to open (Bug#2825).
1317 (server-create-window-system-frame, server-create-tty-frame):
1318 Don't switch buffers here.
2d0e8e61
CY
1319 (server-process-filter): Only try to open a window system frame if
1320 compiled with graphical support (Bug#8314).
de6ff46d 1321
54071013
DN
13222012-04-20 Dan Nicolaescu <dann@gnu.org>
1323
1324 * battery.el (battery-echo-area-format): Display remaining time
1325 for sysfs backend too (Bug#11269).
1326 (battery-linux-sysfs): Fix conditional for the charge.
1327
f30d612a
CY
13282012-04-20 Chong Yidong <cyd@gnu.org>
1329
c07a4c0b 1330 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1331 (gdb-inferior-io--init-proc): New function.
1332 (gdb-init-1): Use it.
1333 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1334 responsible for allocating a new pty and hooking it to gdb when
1335 the old pty gets an EIO due to process exit.
1336 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1337 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1338 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1339
2116e93c
EZ
13402012-04-20 Eli Zaretskii <eliz@gnu.org>
1341
1342 * window.el (window-min-size, window-sizable, window-min-delta)
1343 (window-max-delta, window--resizable, window-resizable)
1344 (window-total-size, window-full-height-p, window-full-width-p)
1345 (window-in-direction, window--resize-mini-window, window-resize)
1346 (window--resize-child-windows-normal)
1347 (window--resize-child-windows, window--resize-siblings)
1348 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1349 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1350
c07a4c0b 13512012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1352
ef24141c
SM
1353 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1354 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1355 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1356 pty process (Bug#11273).
1357 (gdb-update): New arg to suppress talking to the gdb process.
1358 (gdb-done-or-error): Use it.
1359 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1360 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1361 sentinel not being called.
1362
1363 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1364
d02766ab
CY
1365 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1366
c07a4c0b 13672012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1368
1369 * net/network-stream.el (open-network-stream): Doc fix.
1370
c07a4c0b 13712012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1372
1373 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1374
c07a4c0b 13752012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1376
1377 Ensure searching for keywords is case sensitive.
1378
1379 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1380 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1381 (c-defun-name, c-mark-function, c-cpp-define-name)
1382 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1383 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1384
ef24141c
SM
1385 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1386 Bind case-fold-search to nil.
f0f6bc35 1387
c07a4c0b 13882012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1389
1390 * mail/sendmail.el (mail-bury): Call return action with the right
1391 Rmail buffer (Bug#11242).
1392
9a864fa2
CY
1393 * server.el (server-process-filter): Handle corner case where both
1394 tty and nowait options are present (Bug#11102).
1395
539aa513
EZ
13962012-04-20 Eli Zaretskii <eliz@gnu.org>
1397
1398 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1399 (top level): Put into the executable the ident-style '$Id:' tag on
1400 windows-nt as well.
539aa513 1401
cfc7d5da
SM
14022012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * electric.el (electric-indent-post-self-insert-function): Check that
1405 electric-indent-mode is enabled in current buffer.
1406
5b01685c
JB
14072012-04-19 Juanma Barranquero <lekktu@gmail.com>
1408
1409 * imenu.el (imenu-progress-message): Restore; it is "used" in
1410 erc/erc-imenu.el and net/snmp-mode.el.
1411
4d6769e1
JB
14122012-04-19 Juanma Barranquero <lekktu@gmail.com>
1413
1414 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1415 (mouse-avoidance-nudge-mouse): Remove unused binding.
1416
1417 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1418
1419 * descr-text.el (describe-char):
1420 * progmodes/python.el (python-describe-symbol):
1421 Don't call `toggle-read-only', set `buffer-read-only'.
1422
1423 * imenu.el (imenu-default-goto-function): Mark unused args.
1424 (imenu-progress-message): Remove obsolete macro; all callers changed.
1425
1426 * subr.el (keymap-canonicalize): Remove unused binding.
1427 (read-passwd): Mark unused arg.
1428
1429 * tutorial.el (tutorial--display-changes): Remove unused binding.
1430 (tutorial--save-tutorial-to): Remove unused variable.
1431
1432 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1433 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1434 (package-generate-autoloads, package-menu--generate)
1435 (package-menu--find-upgrades): Remove unused bindings.
1436
1437 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1438 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1439 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1440 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1441 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1442 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1443 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1444 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1445 (cua-delete-char-rectangle): Mark unused args.
1446 (cua-align-rectangle): Remove unused binding.
1447
1448 * mail/rmail.el (compilation--message->loc)
1449 (epa--find-coding-system-for-mime-charset): Declare.
1450
1451 * net/dbus.el (dbus-register-service): Declare.
1452 (dbus-name-owner-changed-handler): Remove unused binding.
1453
1454 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1455 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1456 (nxml-scan-backward-within): Mark unused arg.
1457 (nxml-dynamic-markup-word): Remove unused binding.
1458
1459 * mouse.el (mouse-menu-major-mode-map):
1460 * emacs-lisp/authors.el (authors-scan-change-log)
1461 (authors-add-to-author-list):
1462 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1463 * emacs-lisp/smie.el (smie-auto-fill):
1464 * mail/sendmail.el (mail-bury):
1465 * mail/unrmail.el (unrmail):
1466 * net/tls.el (open-tls-stream):
1467 * textmodes/picture.el (picture-mouse-set-point):
1468 Remove unused bindings.
1469
8c8fc5df
MA
14702012-04-19 Michael Albinus <michael.albinus@gmx.de>
1471
1472 * net/tramp.el (tramp-action-password): Let-bind
1473 `enable-recursive-minibuffers' to t.
1474
a77b0ac9
SS
14752012-04-18 Sam Steingold <sds@gnu.org>
1476
1477 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1478 instead of 'string to accommodate values like [f11].
1479 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1480 * progmodes/gdb-mi.el: Likewise.
1481
12a106a9
LL
14822012-04-18 Leo Liu <sdl.web@gmail.com>
1483
1484 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1485 current buffer.
1486 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1487 LOCAL is nil.
1488
bc6494ef
CY
14892012-04-18 Chong Yidong <cyd@gnu.org>
1490
1491 * simple.el (line-move): Use forward-line if in batch mode
1492 (Bug#11053).
1493
c09c46b2
CS
14942012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1495
1496 * files.el (after-find-file): Do not try to add a final newline if
1497 the buffer is read-only (Bug#11156).
1498
5f6530ea
RS
14992012-04-17 Richard Stallman <rms@gnu.org>
1500
1501 * mail/rmail.el (rmail-start-mail):
1502 Pass (rmail-mail-return...) for the return-action.
1503 Pass (rmail-yank-current-message...) for the yank-action.
1504 (rmail-yank-current-message): New function.
1505 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1506 (rmail-reply): Likewise.
1507 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1508
1509 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1510 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1511 buffer, not newbuf.
1512
197b6f3c
JB
15132012-04-17 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * server.el (server-ensure-safe-dir): Simplify.
1516
2311d8e5 15172012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1518
2311d8e5
GM
1519 * emacs-lisp/smie.el: Provide smarter auto-filling.
1520 (smie-auto-fill): New function.
1521 (smie-setup): Use it.
98fb480e 1522
2311d8e5
GM
1523 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1524
15252012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1526
1527 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1528 (comment-indent): Use it.
1529
2311d8e5 15302012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1531
1532 * ses.el: The overall change is to add cell renaming, that is
1533 setting fancy names for cell symbols other than name matching
1534 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1535 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1536 (ses-create-cell-variable): New defun.
2311d8e5 1537 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1538 (ses-relocate-formula): Relocate formulas only for cells the
1539 symbols of which are not renamed, i.e. symbols whose names do not
1540 match regexp "\\`[A-Z]+[0-9]+\\'".
1541 (ses-relocate-all): Relocate values only for cells the symbols of
1542 which are not renamed.
1543 (ses-load): Create cells variables as the (ses-cell ...) are read,
1544 in order to check row col consistency with cell symbol name only
1545 for cells that are not renamed.
1546 (ses-replace-name-in-formula): New defun.
1547 (ses-rename-cell): New defun.
4bdf2ad2 1548
fc72b15c
PO
15492012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1550
1551 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1552 New option (bug#11118).
1553 (perl-calculate-indent): Respect it.
1554
12e10e61
GM
15552012-04-17 Glenn Morris <rgm@gnu.org>
1556
1557 * dired-aux.el (dired-mark-read-string): Doc fix.
1558
30009afd
DA
15592012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1560
1561 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1562 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1563
41f03f4d
GM
15642012-04-17 Glenn Morris <rgm@gnu.org>
1565
1566 * mouse.el (mouse-drag-track):
1567 * speedbar.el (speedbar-frame-mode):
1568 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1569
f45f90f3
LL
15702012-04-16 Leo Liu <sdl.web@gmail.com>
1571
1572 * progmodes/python.el: Trivial cleanup.
1573
94ee8db5
GM
15742012-04-16 Glenn Morris <rgm@gnu.org>
1575
121b8917
GM
1576 * vc/vc.el (vc-string-prefix-p):
1577 * vc/pcvs-util.el (cvs-string-prefix-p):
1578 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1579 * mpc.el (mpc-string-prefix-p):
1580 Make all of these into obsolete aliases for string-prefix-p.
1581 Update callers.
1582 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1583
1197ecfa
GM
1584 * textmodes/two-column.el: Move custom options to the start.
1585 (frame-width): Remove compat definition.
1586 (2C-associate-buffer, 2C-dissociate):
1587 Use with-current-buffer rather than save-excursion.
1588 (2C-dissociate): Force a mode-line update.
1589 (2C-autoscroll): Use ignore-errors.
1590
099e7202
GM
1591 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1592 Autoload trivia.
1593
bf350d6a
GM
1594 * emacs-lisp/cl-extra.el (*random-state*):
1595 Remove unnecessary declaration.
1596
0e829eab
GM
1597 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1598
e3ad7552
GM
1599 * play/cookie1.el (cookie-snarf):
1600 Give an explicit error if input file cannot be read.
1601
68892d27
GM
1602 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1603
20f0c46d
GM
1604 * progmodes/perl-mode.el (c-macro-expand):
1605 Remove unnecessary autoload (it is in loaddefs.el).
1606
5a0978ce
GM
1607 * textmodes/picture.el (picture-desired-column)
1608 (picture-update-desired-column): Convert comments to doc-strings.
1609 (picture-substitute): Remove function.
1610 (picture-mode-map): Initialize in the defvar.
1611
6b955486
GM
1612 * woman.el: Remove eval-after-load for tar-mode.
1613 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1614 (woman-tar-extract-file): Autoload it.
1615
94ee8db5
GM
1616 * frame.el (automatic-hscrolling): Make this alias obsolete.
1617
177eca34
AM
16182012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1619
1620 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1621 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1622 (ispell-dictionary-base-alist): Revert to original XEmacs
1623 friendly version for default. [:alpha:] will be added in
1624 `ispell-set-spellchecker-params' if needed
177eca34 1625
c505aaeb
CY
16262012-04-16 Chong Yidong <cyd@gnu.org>
1627
1628 * image.el (imagemagick--extension-regexp): New variable.
1629 (imagemagick-register-types): Use it.
1630 (imagemagick-types-inhibit): Add :set function. Allow new value
1631 of t to inhibit all types.
1632
1633 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1634 so we can preload it.
1635
1636 * loadup.el (fboundp): Preload regexp-opt, needed by
1637 imagemagick-register-types.
1638
60efac0f
CY
16392012-04-15 Chong Yidong <cyd@gnu.org>
1640
1641 * frame.el (scrolling): Remove nearly unused customization group.
1642
1643 * scroll-all.el (scroll-all-mode): Move to windows group.
1644
5dd1713e
CY
16452012-04-15 Chong Yidong <cyd@gnu.org>
1646
1647 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1648
e6fd457e
CY
16492012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1652 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1653
e153c136
GM
16542012-04-15 Glenn Morris <rgm@gnu.org>
1655
1656 * simple.el (process-file-side-effects): Doc fix.
1657
e6fd457e 16582012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1659
1660 * international/mule-cmds.el (set-language-environment): Doc fix.
1661
3603c3b1
JB
16622012-04-14 Juanma Barranquero <lekktu@gmail.com>
1663
1664 * server.el (server-auth-key, server-generate-key): Doc fixes.
1665 (server-get-auth-key): Doc fix. Use `string-match-p'.
1666 (server-start): Reflow docstring.
1667
e6de100c
LI
16682012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1669
1670 * server.el (server-generate-key): `called-interactively-p'
1671 requires a parameter.
1672
29734c21
MN
16732012-04-14 Michal Nazarewicz <mina86@mina86.com>
1674
1675 * server.el (server-auth-key): New variable.
75f1671a 1676 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1677 (server-start): Use the new variable and functions to allow
1678 setting a permanent server key (bug#9423).
1679
d65c9521
LL
16802012-04-14 Leo Liu <sdl.web@gmail.com>
1681
1682 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1683
5ae255c7
PE
16842012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1685
1686 Spelling fixes.
1687 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1688 Emacs uses American spelling.
1689
d5e6342e
JB
16902012-04-14 Juanma Barranquero <lekktu@gmail.com>
1691
1692 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1693 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1694 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1695 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1696
ab036cd7
SM
16972012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * progmodes/which-func.el (which-func-modes): Change default.
1700
35dc09a1 17012012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1702
1703 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1704 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1705
35dc09a1 17062012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1707
1708 * custom.el (custom-theme-set-variables): Doc fix.
1709
35dc09a1 17102012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1711
1712 * international/mule.el (set-auto-coding-for-load): Doc fix.
1713
35dc09a1 17142012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1715
35dc09a1
GM
1716 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1717 imenu work again for Objective C Mode. Correct the *-index values,
1718 these having been disturbed by a previous change in 2011-08.
57f845ee 1719
0de3da9f
AM
1720 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1721 Correct two search limits.
1722
35dc09a1 17232012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1724
1725 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1726
35dc09a1 17272012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1728
1729 * international/characters.el: Fix sorting.
1730
35dc09a1 17312012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1732
1733 * international/characters.el: Add more missing Latin case pairs.
1734
35dc09a1 17352012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1736
1737 * files.el (dir-locals-set-class-variables): Doc fix.
1738
35dc09a1 17392012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1740
3f1b5bf8
EZ
1741 * international/characters.el: Add set-case-syntax-pair call for
1742 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1743 counterpart. (Bug#11209)
1744
9f847f41
EZ
1745 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1746
35dc09a1 17472012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1748
1749 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1750
35dc09a1 17512012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1752
35dc09a1
GM
1753 * textmodes/ispell.el (ispell-dictionary-base-alist):
1754 Add data for Hebrew.
e2627d21 1755
35dc09a1 17562012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1757
35dc09a1
GM
1758 * net/rcirc.el (rcirc-cmd-quit):
1759 Revert 2012-03-18 change (Bug#11192).
5c14e333 1760
35dc09a1 17612012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1762
1763 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1764
35dc09a1 17652012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1766
4517fe3a
SM
1767 * minibuffer.el (completion-in-region-mode-map):
1768 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1769
b472a594
VD
17702012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1771
1772 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1773
09b95ce3
MY
17742012-04-13 Masatake YAMATO <yamato@redhat.com>
1775
1776 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1777 to allow `C-M-f' and `C-M-b' to move to the nearest path
1778 separator (bug#9511).
1779
4b63a9ca
LI
17802012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1781
1782 * avoid.el: Require cl when compiling. And also move the
1783 `provide' to the end.
1784
7b55b8bf
TV
17852012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1786
1787 * avoid.el (mouse-avoidance-banish-position): New variable.
1788 (mouse-avoidance-banish-destination): Use it (bug#10165).
1789
adedaa1f
LL
17902012-04-13 Leo Liu <sdl.web@gmail.com>
1791
1792 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1793
70e74021
KB
17942012-04-13 Ken Brown <kbrown@cornell.edu>
1795
1796 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1797 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1798 (browse-url-filename-alist): For the same reason, don't modify
1799 file:// URLs on Cygwin.
1800
e75e89ba
SM
18012012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1804 the region on shift if the binding is already shifted (bug#11221).
1805
82f289a4
GM
18062012-04-12 Glenn Morris <rgm@gnu.org>
1807
1808 * mail/mailpost.el: Move to obsolete/.
1809
d333dc4c
DA
18102012-04-12 Drew Adams <drew.adams@oracle.com>
1811
1812 * imenu.el (imenu--generic-function): Ignore invisible definitions
1813 (bug#10123).
1814
0d15b5ba
VD
18152012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1816
1817 * hexl.el (hexl-bits): New variable.
1818 (hexl-options): Mention the variable in the doc string.
75f1671a 1819 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1820 (hexl-mode): Mention the new variable.
75f1671a
JB
1821 (hexl-mode, hexl-current-address, hexl-current-address):
1822 Use the displen.
0d15b5ba
VD
1823 (hexl-ascii-start-column): New function.
1824 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1825 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1826
64a440db
AM
18272012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1828
1829 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1830 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1831 the encoding, as expected by hunspell.
1832
6decb6c2
SM
18332012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * battery.el (battery--linux-sysfs-regexp): New const.
1836 (battery-status-function): Use it. Remove yeeloong special case.
1837 (battery-yeeloong-sysfs): Remove.
1838 (battery-echo-area-format): Remove yeeloong special case.
1839
088be6fb
SM
18402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1841
6622e416
SM
1842 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1843 Reported by Noah Friedman.
1844
088be6fb
SM
1845 * subr.el (read-passwd): Use read-string.
1846
b49f886e
LMI
18472012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1848
1849 * vcursor.el (vcursor-move): Increase the priority of the overlay
1850 (bug#9663).
1851
a63067fc
DD
18522012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1853
1854 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1855 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1856
ac3cf14a
WS
18572012-04-11 William Stevenson <yhvh2000@gmail.com>
1858
1859 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1860 define-minor-mode (bug#10760).
1861
c4fc691b 18622012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1863
4d6769e1 1864 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1865 that directories matching `grep-find-ignored-files' won't be
1866 pruned (bug#10351).
1867
af23e2e5
CY
18682012-04-11 Chong Yidong <cyd@gnu.org>
1869
1870 * startup.el (command-line): Remove support for long-obsolete
1871 variable font-lock-face-attributes.
1872
ab7ce8c1
GM
18732012-04-11 Glenn Morris <rgm@gnu.org>
1874
1875 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1876
de8c03dc
SM
18772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * window.el (window--state-get-1): Obey window-point-insertion-type.
1880
050cc68b
LB
18812012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1882
1883 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1884 to previous function when point is on the first character of a
75f1671a 1885 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1886
a38c310c
GM
18872012-04-11 Glenn Morris <rgm@gnu.org>
1888
effed0c2
GM
1889 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1890 not just file-errors.
1891
a38c310c
GM
1892 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1893 (vc-bzr-sha1): Use internal sha1.
1894
0221e323
SM
18952012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1898
43956923
SG
18992012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1900
1901 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1902 that start in the middle of the line (bug#10496).
1903
6a8c9eaf
DN
19042012-04-10 Dan Nicolaescu <dann@gnu.org>
1905
1906 * battery.el (battery-linux-proc-acpi): Only one battery is
1907 discharged at a time, but that seems to confuse battery.el when
1908 computing `rate-type' for the battery not being discharged
1909 (bug#10332).
1910
1930bf5d
SM
19112012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1912
2a718f6f
SM
1913 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1914
599430d0
SM
1915 * international/quail.el: Use dolist and simplify.
1916 (quail-define-package, quail-update-keyboard-layout)
1917 (quail-define-rules): Use dolist.
1918 (quail-insert-kbd-layout, quail-get-translation): CSE.
1919
a2754b6c
SM
1920 * tmm.el: Use dolist, remove left over hook.
1921 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1922 Use dolist.
1923 (calendar-load-hook): Don't mess with it.
1924
1930bf5d
SM
1925 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1926 Use derived-mode-p. Run the diff asynchronously.
1927
9f67961c
LMI
19282012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1929
1930 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1931
2a8ce227
JB
19322012-04-10 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1935 (list-dynamic-libraries--loaded): New function.
1936 (list-dynamic-libraries--refresh): Use it.
1937
8f33b5f8
NW
19382012-04-10 Nathan Weizenbaum <nweiz@google.com>
1939
1930bf5d
SM
1940 * progmodes/python.el (python-fill-paragraph):
1941 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1942 disabled (bug#7018).
1943
b12f0439
L
19442012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1945
1930bf5d 1946 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1947 DOS/MS Windows for the Baltic languages. There are still plenty
1948 of texts written in this encoding/codepage (bug#6519).
b12f0439 1949
57c3bd01
GM
19502012-04-10 Glenn Morris <rgm@gnu.org>
1951
1952 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1953 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1954
6c3eab30
FA
19552012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1956
1930bf5d 1957 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1958 next-line "n" and previous-line "p" in order to make recentf more
1959 consistent with ibuffer, dired or org-mode (bug#9387).
1960
24d78a88
LMI
19612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1962
bc72b5d9
LMI
1963 * image.el (put-image): Return the overlay created instead of the
1964 optional input string (bug#7834). Note that this may break code
1965 that is (for some reason or other) depending on `put-image'
1966 returning the string.
1967
bd2dba5a
LMI
1968 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1969
74beb59f
LMI
1970 * simple.el (zap-to-char): Allow zapping using input methods
1971 (bug#1580).
1972
24d78a88
LMI
1973 * textmodes/fill.el (fill-region): Leave point and mark where they
1974 were before filling (bug#5399).
1975
263f20cd
GM
19762012-04-09 Glenn Morris <rgm@gnu.org>
1977
1978 * version.el (emacs-bzr-get-version):
1979 Handle lightweight checkouts of local branches.
1980
58d1f797
AS
19812012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1982
263f20cd 1983 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1984
b4d3bc10
CY
19852012-04-09 Chong Yidong <cyd@gnu.org>
1986
1987 * custom.el (custom-variable-p): Return nil for non-symbol
1988 arguments instead of signaling an error.
1989 (user-variable-p): Obsolete alias for custom-variable-p.
1990
1991 * apropos.el (apropos-variable):
1992 * files-x.el (read-file-local-variable):
1993 * simple.el (set-variable):
1994 * woman.el (woman-mini-help):
1995 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1996
fd06db5d
GM
19972012-04-09 Glenn Morris <rgm@gnu.org>
1998
e5fcdb5e
GM
1999 * startup.el (normal-top-level): Don't look for leim-list.el
2000 in places where it will not be found. (Bug#910)
2001
fd06db5d
GM
2002 * international/mule-cmds.el (set-default-coding-systems):
2003 * files.el (normal-mode):
2004 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2005 This function was removed with ucs-tables.el in 2008.
2006
b39bb7e1
EZ
20072012-04-08 Eli Zaretskii <eliz@gnu.org>
2008
2009 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2010 ispell-encoding8-command to "-i", without a trailing space.
2011 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2012 separate command-line arguments, to specify the encoding, since
2013 that's how hunspell expects it.
2014
5c5b8e23
GM
20152012-04-08 Glenn Morris <rgm@gnu.org>
2016
2017 * loadup.el: Load bindings before cus-start.
2018 This reduces somewhat the number of "rogue" settings in emacs -Q.
2019
a1ed8b05
GM
20202012-04-07 Glenn Morris <rgm@gnu.org>
2021
2022 * version.el (emacs-bzr-get-version): New function.
dfae128a 2023 (emacs-bzr-version): New variable.
a1ed8b05
GM
2024 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2025 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2026
b142f158
EZ
20272012-04-07 Eli Zaretskii <eliz@gnu.org>
2028
dfae128a
GM
2029 * international/uni-bidi.el, international/uni-category.el:
2030 * international/uni-combining.el, international/uni-decimal.el:
2031 * international/uni-decomposition.el, international/uni-digit.el:
2032 * international/uni-lowercase.el, international/uni-mirrored.el:
2033 * international/uni-name.el, international/uni-numeric.el:
2034 * international/uni-titlecase.el, international/uni-uppercase.el:
2035 Update for Unicode 6.1.
b142f158 2036
9078ead6
EZ
20372012-04-07 Eli Zaretskii <eliz@gnu.org>
2038
2039 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2040
f23d2c7d
LMI
20412012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2042
2043 * window.el (shrink-window): Mention the `window-min-height'
2044 variable in the doc string.
2045
0a0a3573
BG
20462012-04-05 Bastien Guerry <bzg@altern.org>
2047
2048 * color.el (color-lighten-name): Fix typo.
2049
e5248ac9
SM
20502012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * server.el (server--on-display-p): New function.
2053 (server--on-display-p): Use it.
2054
b4243e22
GV
20552012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2056
2057 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2058 (bug#11145).
2059
305d9f44
SM
20602012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2061
2062 * comint.el (comint--common-quoted-suffix): Check string boundary
2063 before comparing (bug#11158).
2064 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2065
3d439cd1
CY
20662012-04-04 Chong Yidong <cyd@gnu.org>
2067
321cc491
CY
2068 * minibuffer.el (completion-extra-properties): Doc fix.
2069
3d439cd1
CY
2070 * subr.el (delayed-warnings-hook): Doc fix.
2071
2d562c0f
DU
20722012-04-04 Daiki Ueno <ueno@unixuser.org>
2073
2074 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2075 selection (Bug#11159).
2076 (epa-insert-keys): Inform that the default public key will be
2077 exported if no key is selected.
2078
4443f204
RS
20792012-04-04 Richard Stallman <rms@gnu.org>
2080
2081 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2082
529c06b6
CY
20832012-04-03 Chong Yidong <cyd@gnu.org>
2084
2085 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2086 mail-insert-file, not its obsolete alias mail-attach-file.
2087
66b907dc
MA
20882012-04-03 Michael Albinus <michael.albinus@gmx.de>
2089
2090 * notifications.el (notifications-notify): Fix docstring.
2091
c0ea195d
GM
20922012-04-02 Glenn Morris <rgm@gnu.org>
2093
2094 * emacs-lisp/authors.el (authors-aliases): Another addition.
2095
5ca64e00
MA
20962012-04-02 Michael Albinus <michael.albinus@gmx.de>
2097
2098 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2099 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2100 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2101
42ee526b
CY
21022012-04-01 Chong Yidong <cyd@gnu.org>
2103
2104 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2105 Handle root directory properly.
2106 (copy-directory): Caller changed.
2107
2108 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2109 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2110
0b021094
GM
21112012-03-31 Glenn Morris <rgm@gnu.org>
2112
40f86458
GM
2113 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2114
7019c177
GM
2115 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2116
a1daddd6
GM
2117 * calendar/calendar.el (calendar-window-list)
2118 (calendar-hide-window): Restore. (Bug#11140)
2119 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2120
0b021094
GM
2121 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2122
40311efc
TV
21232012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2124
2125 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2126 Check if file is a symlink (Bug#10489).
2127
2128 * files.el (copy-directory): Likewise.
2129
5319014e
CY
21302012-03-30 Chong Yidong <cyd@gnu.org>
2131
2132 * image.el (imagemagick-types-inhibit)
2133 (imagemagick-register-types): Doc fix.
2134
935d1290
AM
21352012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2136
ef24141c
SM
2137 * ispell.el (ispell-get-extended-character-mode):
2138 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2139 and treats ~word as ordinary words in pipe mode.
935d1290 2140
61c6e8fd
GM
21412012-03-30 Glenn Morris <rgm@gnu.org>
2142
2143 * tutorial.el (help-with-tutorial): Ensure local variables don't
2144 happen to make the buffer read-only. (Bug#11127)
2145
81fdff00
SM
21462012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2149 (perl-calculate-indent): Return `noindent' in strings.
2150
6e7a6ec0
SS
21512012-03-28 Sam Steingold <sds@gnu.org>
2152
2153 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2154 instead of the broken adhockery which does not prevent calendar
2155 buffers from being displayed at random after exit.
2156 (calendar-window-list, calendar-hide-window): Remove the broken
2157 adhockery.
2158
fee88ca0
GM
21592012-03-28 Glenn Morris <rgm@gnu.org>
2160
2161 * replace.el (query-replace-map): Doc fix.
2162
38de3354
AS
21632012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2164
2165 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2166 contents. (Bug#11109)
2167
b973155e
SM
21682012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2171 (bug#11077).
2172 (avl-tree--check, avl-tree--check-node): New funs.
2173
dcb6e7b3
MR
21742012-03-27 Martin Rudalics <rudalics@gmx.at>
2175
2176 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2177 (switch-to-prev-buffer, switch-to-next-buffer):
2178 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2179 showing a buffer already is done on the same frame.
2180
b4fa35fa
GM
21812012-03-27 Glenn Morris <rgm@gnu.org>
2182
2183 * startup.el (mail-host-address): Doc fix.
2184
f9210e18
SM
21852012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2188 than 197 variables.
2189
c0bf7753
AF
21902012-03-26 Ami Fischman <ami@fischman.org>
2191
2192 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2193
33da7b16
GM
21942012-03-26 Glenn Morris <rgm@gnu.org>
2195
02243d9d
GM
2196 * files.el (save-buffers-kill-emacs): Doc fix.
2197
33da7b16
GM
2198 * startup.el (normal-top-level, command-line, command-line-1):
2199 Give them doc strings.
2200
e5a69fd0
EZ
22012012-03-25 Eli Zaretskii <eliz@gnu.org>
2202
2203 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2204 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2205
9a69676a
CY
22062012-03-25 Chong Yidong <cyd@gnu.org>
2207
4125cb8b
CY
2208 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2209 theme if it was previously enabled before (Bug#11031).
2210
dd470960
CY
2211 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2212 spec with custom-face-get-current-spec if its :shown-value is not
2213 determined yet (Bug#9337).
4125cb8b 2214 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2215
9a69676a
CY
2216 * button.el (button-at): Minor addition to docstring.
2217
6e7e90fa
SL
22182012-03-24 Simon Leinen <simon.leinen@gmail.com>
2219
2220 * vc/vc.el (vc-merge): Fix a prompt.
2221
f06e2758
CY
22222012-03-24 Chong Yidong <cyd@gnu.org>
2223
2224 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2225 point (Bug#9623).
2226
6e7e90fa
SL
2227 * button.el (button-at): Minor addition to docstring.
2228
b9d0879b
SM
22292012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * newcomment.el (comment-choose-indent): No space after BOL.
2232
e71cebb3
SS
22332012-03-22 Sam Steingold <sds@gnu.org>
2234
2235 * window.el (switch-to-prev-buffer): Revert last patch because the
2236 bug turned out to be an advertised feature (Elisp manual 28.14).
2237
335aff35
GM
22382012-03-22 Glenn Morris <rgm@gnu.org>
2239
2240 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2241 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2242
c676576a
LMI
22432012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244
2245 * net/network-stream.el (network-stream-open-starttls): Make error
2246 message under Windows be less misleading.
2247
126f3d39
LW
22482012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2249
2250 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2251 understands (bug#9942).
2252
64fee311
CY
22532012-03-22 Chong Yidong <cyd@gnu.org>
2254
2255 * simple.el (end-of-visible-line): Handle return value of
2256 next-single-property-change properly (Bug#9371).
2257
a640d29a
KH
22582012-03-22 Kenichi Handa <handa@m17n.org>
2259
2260 * international/quail.el (quail-insert-kbd-layout): Fix previous
2261 change. To avoid unwanted bidi reordering, use
2262 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2263
39675016
DG
22642012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2265
2266 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2267 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2268 (ruby-beginning-of-indent): Be more careful with the difference
2269 between word-boundary and symbol boundary.
2270 (ruby-mode-syntax-table): Make : a symbol constituent.
2271
0a6934fc 22722012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2273
3d008e4f
SM
2274 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2275
0a6934fc
SM
22762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2277
af67c9d7
SM
2278 * progmodes/etags.el (tags-completion-at-point-function):
2279 Improve last fix.
2280
1acad97c
SM
2281 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2282
e298b5da
SS
22832012-03-21 Sam Steingold <sds@gnu.org>
2284
2285 * progmodes/etags.el (tags-completion-at-point-function):
2286 Avoid the error when point is inside the pattern.
2287
91d82a70
JY
22882012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2289
2290 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2291 line (Bug#10855).
2292
69188b79
CY
22932012-03-21 Drew Adams <drew.adams@oracle.com>
2294
2295 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2296
99fc91fe
AK
22972012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2298
2299 * ido.el (ido-set-current-directory, ido-read-internal)
2300 (ido-choose-completion-string, ido-completion-help): Handle nil
2301 value of ido-completion-buffer (Bug#11008).
2302
087bbb4c
SS
23032012-03-21 Sam Steingold <sds@gnu.org>
2304
2305 * window.el (switch-to-prev-buffer): Do not switch to a visible
2306 window previous buffer, just like with the frame previous buffers.
2307
fb5b8aca
CY
23082012-03-21 Chong Yidong <cyd@gnu.org>
2309
2310 * faces.el (make-face, make-empty-face, copy-face):
2311 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2312 Doc fixes.
2313
dc9924b8
SM
23142012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2317 (widget-complete): Remove broken use of it.
2318
f0bcceb9
CY
23192012-03-20 Chong Yidong <cyd@gnu.org>
2320
dc9924b8
SM
2321 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2322 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2323 characters.
2324
ee52ebf3
TH
23252012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2326
2327 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2328 to draw rectangles, not squares. (Regression introduced by revno
2329 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2330
4c5779ab
CY
23312012-03-18 Chong Yidong <cyd@gnu.org>
2332
2333 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2334 it is not yet defined (for temacs).
2335
15360934
LL
23362012-03-18 Leo Liu <sdl.web@gmail.com>
2337
dc9924b8 2338 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2339
d9a8eb66
EZ
23402012-03-17 Eli Zaretskii <eliz@gnu.org>
2341
2342 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2343 (ispell-choices-win-default-height, ispell-silently-savep)
2344 (ispell-dictionary-alist, ispell-encoding8-command)
2345 (ispell-check-version, ispell-aspell-find-dictionary)
2346 (ispell-valid-dictionary-list, ispell-words-keyword)
2347 (ispell-get-word, ispell-internal-change-dictionary)
2348 (ispell-region, ispell-skip-region-list)
2349 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2350 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2351 (ispell-message-text-end, ispell-message)
2352 (ispell-buffer-local-parsing): Doc fix.
2353
f02ff80d
J
23542012-03-13 Jambunathan K <kjambunathan@gmail.com>
2355
2356 * htmlfontify.el: Add support for code block fontification for ODT
2357 export (Bug #9914).
2358 (hfy-optimisations): Define new option
2359 `body-text-only'
2360 (hfy-fontify-buffer): Honor above setting.
2361 (hfy-begin-span, hfy-end-span): New routines factored out form
2362 `hfy-fontify-buffer'.
2363 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2364 that permit insertion of custom tags.
2365 (hfy-fontify-buffer): Use above handlers.
2366 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2367 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2368 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2369 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2370 bind a special variable `hfy-user-sheet-assoc'.
2371 (htmlfontify-string): New defun.
2372 (hfy-compile-face-map): Make sure that the last char in the
2373 buffer is correctly fontified.
2374 (hfy-face-resolve-face): Whitespace only change.
2375
9ac7a13f
EZ
23762012-03-17 Eli Zaretskii <eliz@gnu.org>
2377
2378 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2379 message more clear.
2380
e2b5bdd7
LL
23812012-03-16 Leo Liu <sdl.web@gmail.com>
2382
2383 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2384
2e492df3
AM
23852012-03-16 Alan Mackenzie <acm@muc.de>
2386
2387 Further optimise the handling of large macros.
2388
2389 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2390 limit to a call of `c-literal-limits'.
2391 (c-determine-+ve-limit): New function.
dc9924b8
SM
2392 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2393 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2394 In CASE 5B, restrict a search limit to 500.
2395 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2396
2397 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2398 Restrict macro bounds to +-500 from after-change's BEG END.
2399
50e94f0c
LL
24002012-03-16 Leo Liu <sdl.web@gmail.com>
2401
2402 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2403
6f09f6ed
AH
24042012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2405
2406 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2407 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2408
c7e73d51
GM
24092012-03-16 Glenn Morris <rgm@gnu.org>
2410
da986230
GM
2411 * view.el (view-buffer, view-buffer-other-window)
2412 (view-buffer-other-frame): Doc fixes re special mode-class.
2413
0835f01e
GM
2414 * subr.el (eval-after-load): If named feature is provided not from
2415 a file, run after-load forms. (Bug#10946)
2416
c7e73d51
GM
2417 * calendar/calendar.el (calendar-insert-at-column):
2418 Handle non-unit-width characters a bit better. (Bug#10978)
2419
3f2eafd1
CY
24202012-03-15 Chong Yidong <cyd@gnu.org>
2421
2422 * emacs-lisp/ring.el (ring-extend): New function.
2423 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2424
2425 * comint.el (comint-read-input-ring)
2426 (comint-add-to-input-history): Grow comint-input-ring lazily.
2427
103af3fe
SM
24282012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2429
663b1677
SM
2430 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2431 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2432
103af3fe
SM
2433 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2434 (imenu-add-to-menubar): Don't add a redundant index.
2435 (imenu-update-menubar): Handle a dynamically composed keymap.
2436
899cb7cb
KY
24372012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2438
2439 * mail/sendmail.el (mail-encode-header):
2440 Bind rfc2047-encode-encoded-words to nil.
2441
3809f91d
GM
24422012-03-13 Glenn Morris <rgm@gnu.org>
2443
2444 * calendar/calendar.el (calendar-string-spread):
2445 Handle non-unit-width characters a bit better. (Bug#10978)
2446
9e345a01
LL
24472012-03-13 Leo Liu <sdl.web@gmail.com>
2448
2449 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2450 directory and file as argument (Bug#10822).
2451
4a07df36
KS
24522012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2453
2454 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2455 For dynamically generated code, follow $PC.
2456 (gdb-disassembly-handler-custom): Handle no function name case.
2457
4aaa9356
TL
24582012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2459
2460 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2461 * emulation/ws-mode.el (ws-query-replace):
2462 * sort.el (sort-regexp-fields):
2463 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2464
225979da
SM
24652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * dabbrev.el: Fix cycle completion order (bug#10963).
2468 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2469 (dabbrev-completion): Don't use an obarray; provide
2470 a cycle-sort-function.
2471
e2f1fdab
LL
24722012-03-12 Leo Liu <sdl.web@gmail.com>
2473
dc9924b8 2474 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2475 (kill-do-not-save-duplicates): Doc fix.
2476
b19490ed
SM
24772012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * dabbrev.el: Fix cycle completion (bug#10963).
2480 Use lexical binding and wrap to 80 columns.
2481 (dabbrev-completion): Delay computing the list of completions.
2482
4b05d722
KH
24832012-03-12 Kenichi Handa <handa@m17n.org>
2484
2485 * international/quail.el (quail-insert-kbd-layout): Surround each
2486 row by LRO and PDF instead of inserting many LRMs. Pad the left
2487 and right of each non-spacing marks. Insert invisible space
2488 between lower and upper characters to prevent composition.
2489
dbbc2e69
SM
24902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * minibuffer.el (minibuffer-complete): Don't get confused when the
2493 function is run twice via different commands (bug#10958).
2494 (complete-with-action): Fix docstring.
2495
292112ed
CY
24962012-03-12 Chong Yidong <cyd@gnu.org>
2497
5d1ac394
CY
2498 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2499 (nxml-completion-at-point-function): New function.
2500 (nxml-mode): Use it.
2501 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2502
292112ed
CY
2503 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2504 Load generated autoloads file before byte compiling (Bug#10970).
2505 (package--make-autoloads-and-compile): New helper fun.
2506
4098f8f7
CS
25072012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2508
2509 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2510
8f754691
MA
25112012-03-11 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * autorevert.el (auto-revert-handler): Ensure, that
2514 file-readable-p is applied only for local files or in
2515 auto-revert-tail-mode.
2516
e29ab36b
AS
25172012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2518
dbbc2e69
SM
2519 * server.el (server-eval-at): Handle non-tcp connections.
2520 Decode result string.
ad0bf5b6 2521
e29ab36b
AS
2522 * server.el (server-msg-size): New constant.
2523 (server-reply-print): New function.
2524 (server-eval-and-print): Use it.
2525 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2526 Handle -print-nonl.
2527
de5939ba
CS
25282012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2529
2530 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2531 (Bug#10987).
2532
0c93eabf
CY
25332012-03-11 Chong Yidong <cyd@gnu.org>
2534
397a688f
CY
2535 * simple.el (goto-line): Doc fix (Bug#9938).
2536
2cc775f9
CY
2537 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2538
0c93eabf
CY
2539 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2540 when finished (Bug#10963).
2541
c491fa41
MR
25422012-03-11 Martin Rudalics <rudalics@gmx.at>
2543
2544 * window.el (split-window-below): Fix bug in case where
2545 split-window-keep-point is nil (Bug#10971).
2546
300e8fa5
JL
25472012-03-11 Juri Linkov <juri@jurta.org>
2548
2549 * replace.el (replace-highlight): Set isearch-word to nil
2550 unconditionally. (Bug#10887)
2551
dbf6c5a1
EZ
25522012-03-10 Eli Zaretskii <eliz@gnu.org>
2553
2554 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2555 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2556 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2557 (mairix-widget-create-query): Add usage information about mairix
2558 search forms: negating words, searching for substrings, etc.
2559
b9e501de
JP
25602012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2561
2562 * international/fontset.el (font-encoding-alist): Add an entry for
2563 ksx1001 (Bug#5667).
2564
92795c91
RS
25652012-03-10 Richard Stallman <rms@gnu.org>
2566
1694e6c1
RS
2567 * mail/sendmail.el (mail-encode-header):
2568 Set rfc2047-encode-encoded-words.
2569
607e8555
RS
2570 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2571
de3bc99a
RS
2572 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2573 view buffer means not swapped.
2574 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2575 (rmail-write-region-annotate): Error if real text has disappeared.
2576
92795c91
RS
2577 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2578
699bd04e
CY
25792012-03-10 Chong Yidong <cyd@gnu.org>
2580
2581 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2582 * emulation/cua-base.el (cua--init-keymaps):
2583 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2584
570a1714
MR
25852012-03-10 Martin Rudalics <rudalics@gmx.at>
2586
dbbc2e69
SM
2587 * speedbar.el (speedbar-unhighlight-one-tag-line):
2588 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2589
82dcf4e4
CY
25902012-03-10 Chong Yidong <cyd@gnu.org>
2591
7a2c7ca7
CY
2592 * minibuffer.el (completion-in-region, completion-help-at-point):
2593 Give the completion field overlay a high priority (Bug#6830).
2594
82dcf4e4
CY
2595 * dired.el (dired-goto-file): Recognize absolute file name
2596 listings (Bug#7126).
2597 (dired-goto-file-1): New helper function.
2598 (dired-toggle-read-only): Inhibit warnings.
2599
052e28ac
MA
26002012-03-09 Michael Albinus <michael.albinus@gmx.de>
2601
75f1671a 2602 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2603 there are no properties.
2604
95d5e396
LL
26052012-03-09 Leo Liu <sdl.web@gmail.com>
2606
2607 * savehist.el (savehist-printable): Stricter check for string
2608 value (Bug#10937).
2609
3f018d6d
EZ
26102012-03-09 Eli Zaretskii <eliz@gnu.org>
2611
dbbc2e69
SM
2612 * mail/smtpmail.el (smtpmail-send-it):
2613 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2614 valid mbox format.
2615
f7fd3d79
GM
26162012-03-09 Glenn Morris <rgm@gnu.org>
2617
2618 * files.el (dir-locals-find-file):
2619 Don't check result is regular, readable.
2620 (dir-locals-read-from-file): Demote errors.
2621
6ff6e72f
EZ
26222012-03-08 Eli Zaretskii <eliz@gnu.org>
2623
dbbc2e69
SM
2624 * international/quail.el (quail-insert-kbd-layout):
2625 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2626 layout cell, to prevent their reordering by bidi display engine.
2627 For details, see the discussion in
2628 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2629
9cec7834
AM
26302012-03-08 Alan Mackenzie <acm@muc.de>
2631
2632 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2633 the starting position; make it extend the marked region when
2634 invoked repeatedly - all under appropriate circumstances.
2635 Fixes bugs #5525, #10906.
2636
9a40b8d4
GM
26372012-03-08 Glenn Morris <rgm@gnu.org>
2638
2639 * files.el (locate-dominating-file, dir-locals-find-file):
2640 Undo 2012-03-06 change.
2641
7a08ed35
EZ
26422012-03-07 Eli Zaretskii <eliz@gnu.org>
2643
dbbc2e69
SM
2644 * international/quail.el (quail-help):
2645 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2646 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2647 for the reason.
2648
5aca4f71 26492012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2650
2651 Avoid superfluous registering of signals. (Bug#10807)
2652
2653 * notifications.el (notifications-on-action-object)
2654 (notifications-on-close-object): New defvars.
2655 (notifications-on-action-signal, notifications-on-closed-signal):
2656 Unregister the signal if not needed any longer.
2657 (notifications-notify): Register `notifications-action-signal' or
2658 `notifications-closed-signal', if :on-action or :on-close has been
2659 passed as argument.
2660
78e8b10a
CY
26612012-03-07 Chong Yidong <cyd@gnu.org>
2662
2663 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2664 non-X platforms.
2665
69481eb8
GM
26662012-03-06 Glenn Morris <rgm@gnu.org>
2667
2668 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2669 (x-disown-selection-internal, x-get-selection-internal):
2670 Doc fix (add arglist signatures). (Bug#10783)
2671
133b8e11
KS
26722012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2673
2674 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2675 Handle breakpoints with no "type".
2676
99a83064
GM
26772012-03-06 Glenn Morris <rgm@gnu.org>
2678
2679 * files.el (locate-dominating-file): Add optional predicate argument.
2680 (dir-locals-find-file): Make use of above change.
2681
17798e78
TTN
26822012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2683
2684 * info.el (Info-insert-dir): Also try "dir.gz".
2685
eb182446
GM
26862012-03-06 Glenn Morris <rgm@gnu.org>
2687
8f2114ee
GM
2688 * files.el (dir-locals-find-file):
2689 Ignore non-readable or non-regular files. (Bug#10928)
2690
eb182446
GM
2691 * files.el (locate-dominating-file): Doc fix.
2692
24679323
AS
26932012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2694
2695 * calendar/calendar.el (calendar-set-mode-line):
2696 `getenv' returns a string. (Bug#10951)
2697
01d972a9
LL
26982012-03-05 Leo Liu <sdl.web@gmail.com>
2699
109aa8a9
LL
2700 * simple.el (backward-delete-char-untabify): Constrain point to
2701 field (Bug#10939).
2702
01d972a9
LL
2703 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2704
10607bea
CY
27052012-03-05 Chong Yidong <cyd@gnu.org>
2706
2707 * simple.el (count-words): If called from Lisp, return the word
2708 count, for symmetry with `count-lines'. Arglist changed.
2709 (count-words--message): Args changed. Consolidate counting code
2710 from count-words and count-words-region.
2711 (count-words-region): Caller changed.
2712 (count-lines-region): Make it an obsolete alias.
2713
5dd11cfe
TH
27142012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2715
2716 * saveplace.el (save-place-to-alist)
2717 (save-place-ignore-files-regexp): Allow value nil to disable this
2718 feature.
2719
c349f4e6
CY
27202012-03-04 Chong Yidong <cyd@gnu.org>
2721
2722 * faces.el (face-spec-reset-face): For the default face, reset the
2723 attributes to default values (Bug#10748).
2724
e627be4c
LMI
27252012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2726
2727 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2728 previous patch: Check `message-send-mail-function', and not the
2729 default function (bug#10897).
2730
ebeabff4
MA
27312012-03-04 Michael Albinus <michael.albinus@gmx.de>
2732
a41a6cf4
MA
2733 * notifications.el (notifications-on-action-signal)
2734 (notifications-on-closed-signal): Check for unique service name of
2735 incoming event. Fix error in removing entry.
ebeabff4 2736 (top): Register for signals with wildcard service name.
a41a6cf4 2737 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2738
c1ca42b4
CY
27392012-03-04 Chong Yidong <cyd@gnu.org>
2740
dc9924b8 2741 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2742
ea16568d
GM
27432012-03-04 Glenn Morris <rgm@gnu.org>
2744
2745 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2746 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2747 (expand-abbrev, define-abbrev-table): Doc fixes.
2748
fbae4637
LMI
27492012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750
2751 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2752 `message-default-send-mail-function' and not `send-mail-function'
2753 when doing the prompting for `sendmail-query-once' before sending
2754 in Message buffers (bug#10897).
2755
a1e7225c
LMI
2756 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2757 This is inconsistent with all the other stream functions, which leave
2758 the setting up to the higher levels (if so wanted) (bug#10931).
2759
56d093a9
AM
27602012-03-02 Alan Mackenzie <acm@muc.de>
2761
2762 Depessimize the handling of very large macros.
2763
2764 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2765 (c-macro-cache-syntactic): New variables to implement a one
2766 element macro cache.
2767 (c-invalidate-macro-cache): New function.
2768 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2769 Adapt to use the new cache.
2770 (c-state-safe-place): Use better the cache of safe positions.
2771 (c-state-semi-nonlit-pos-cache)
2772 (c-state-semi-nonlit-pos-cache-limit):
2773 New variables for...
2774 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2775 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2776 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2777 Use c-state-semi-safe-place.
56d093a9 2778
dbbc2e69
SM
2779 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2780 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2781
817e5c3d
MA
27822012-03-02 Michael Albinus <michael.albinus@gmx.de>
2783
dbbc2e69
SM
2784 * jka-compr.el (jka-compr-call-process):
2785 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2786 not remote.
2787
a032a702
MA
27882012-03-01 Michael Albinus <michael.albinus@gmx.de>
2789
2790 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2791 access of FILE2, if FILE1 does not exist.
2792
99a54f21
MA
2793 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2794 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2795
2796 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2797 Add "PAGER=" to `process-environment'.
2798
f6561e1f
MM
27992012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2800
2801 * progmodes/sql.el: Bug fix
2802 (sql-get-login-ext): Save login values in globals.
2803 (sql-get-login): Use new version of `sql-get-login-ext'.
2804 (sql-interactive-mode): Set global `sql-connection' to nil.
2805 (sql-connect): Set global values for connection.
2806 (sql-product-interactive): Save global values as buffer local.
2807
2d44d9cc
LL
28082012-02-29 Leo Liu <sdl.web@gmail.com>
2809
2810 * abbrev.el (define-abbrevs): Reset sys to nil.
2811
96b49301 28122012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2813
bf7f9bc5
JB
2814 * files.el (file-equal-p): Rename from `files-equal-p'.
2815 Return nil when one or both files don't exist.
96b49301 2816 (file-subdir-of-p): Now only top directory must exists,
2817 return nil if it doesn't.
bf7f9bc5
JB
2818 (copy-directory): No need to test with `file-subdir-of-p' after
2819 creating dir.
2820 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2821 to `file-equal-p'.
96b49301 2822
44e97401
GM
28232012-02-28 Glenn Morris <rgm@gnu.org>
2824
2825 * shell.el (shell-mode):
2826 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2827 * play/landmark.el (landmark-font-lock-face-O):
2828 * play/handwrite.el (handwrite):
2829 * play/gomoku.el (gomoku-O):
2830 * net/browse-url.el (browse-url-browser-display):
2831 * international/mule.el (define-charset):
2832 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2833 * filesets.el (filesets-find-file-delay):
2834 * eshell/em-xtra.el (eshell-xtra):
2835 * eshell/em-unix.el (eshell-grep):
2836 * emulation/viper.el (viper-mode):
2837 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2838 * emacs-lisp/easymenu.el (easy-menu-define):
2839 * calendar/timeclock.el (timeclock-use-display-time):
2840 * bs.el (bs-mode):
2841 * bookmark.el (bookmark-save-flag):
2842 Doc fix (standardize possessive apostrophe usage).
2843
c98c6276
CY
28442012-02-27 Chong Yidong <cyd@gnu.org>
2845
bf7f9bc5
JB
2846 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2847 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2848
c98c6276
CY
2849 * font-lock.el (font-lock-specified-p): Rename from
2850 font-lock-spec-present. Callers changed.
2851
9c62cd04 28522012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2853
bf7f9bc5
JB
2854 * emacs-lisp/package.el (package-compute-transaction):
2855 Handle holding a package version to t in package-load-list.
8ac9e529 2856
530739c9
MA
28572012-02-26 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2860 (tramp-get-inode, tramp-get-device): Use cached values.
2861
487915d7
AM
28622012-02-26 Alan Mackenzie <acm@muc.de>
2863
2864 Check there is a font-lock specification before doing initial
2865 fontification.
2866
2867 * font-core.el (font-lock-mode): Move the conditional from
2868 :after-hook to font-lock-initial-fontify.
2869 (font-lock-default-function): Move the check for a specification
2870 to font-lock-spec-present.
2871
dc9924b8 2872 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2873 (font-lock-spec-present): New function.
2874
4fd96557
JB
28752012-02-26 Jim Blandy <jimb@red-bean.com>
2876
2877 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2878 (gdb-send): Apply it to the operand of the '-interpreter-exec
2879 console' command, so that we can pass arguments with (say) quotes
2880 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2881
9a4888c0
CY
28822012-02-26 Chong Yidong <cyd@gnu.org>
2883
07498861
CY
2884 * help-fns.el (describe-function-1): Clarify description of
2885 remapping (Bug#10844).
2886
9a4888c0
CY
2887 * files.el (files-equal-p): Doc fix.
2888 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2889 and quit the loop once a mismatch is found.
2890
ea8fb88d
JB
28912012-02-25 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * bs.el (bs--show-with-configuration): Don't throw an error
2894 if the window cannot be split; otherwise, subsequent calls to
2895 bs-show fail, restoring a stale window config. (Bug#10882)
2896
525795c1
JD
28972012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2898
2899 * term/ns-win.el (global-map): Bind ns-drag-file to
2900 ns-find-file (Bug#5855, Bug#10050).
2901
f008086f
AS
29022012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2903
2904 * calendar/parse-time.el (parse-time-string): Allow extractor to
2905 return nil.
2906
a3fcfa99
MA
29072012-02-25 Michael Albinus <michael.albinus@gmx.de>
2908
91027d08
JB
2909 * net/tramp.el (tramp-file-name-for-operation):
2910 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2911
2912 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2913 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2914 Add COPY-CONTENTS argument.
a3fcfa99 2915
67b0de11
CY
29162012-02-25 Chong Yidong <cyd@gnu.org>
2917
2918 Add custom groups for VC backends, for consistency with vc-bzr.
2919
2920 * vc/vc-arch.el (vc-arch):
2921 * vc/vc-cvs.el (vc-cvs):
2922 * vc/vc-git.el (vc-git):
2923 * vc/vc-hg.el (vc-hg):
2924 * vc/vc-mtn.el (vc-mtn):
2925 * vc/vc-rcs.el (vc-rcs):
2926 * vc/vc-sccs.el (vc-sccs):
2927 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2928 All relevant defcustoms reassigned.
2929
3c9dfce6
CY
29302012-02-25 Chong Yidong <cyd@gnu.org>
2931
1339bf43
CY
2932 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2933
3c9dfce6
CY
2934 * term/x-win.el (x-initialize-window-system): Reduce default for
2935 x-selection-timeout to 5 seconds (Bug#8869).
2936
25b2e303 29372012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2938
ec70a47d
GM
2939 * files.el (files-equal-p, file-subdir-of-p): New functions.
2940 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2941 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2942 * dired-aux.el (dired-copy-file-recursive): Same.
2943 (dired-create-files): Modify destination when source is equal to
2944 dest when copying files.
53a46cd0 2945 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2946
914260cd
MA
29472012-02-24 Michael Albinus <michael.albinus@gmx.de>
2948
2949 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2950 (Bug#10874)
2951
2cb228f7
AM
29522012-02-23 Alan Mackenzie <acm@muc.de>
2953
2954 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2955 parameter "after-hook:" to allow the expansion to run code after
2956 the execution of the mode hooks.
2957
2958 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2959 from font-lock-mode-internal.
2cb228f7 2960
91027d08 2961 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2962 :after-hook.
2963
8f0fde21
SM
29642012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2965
3e88618b
SM
2966 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2967 (completion--cache-all-sorted-completions): New function.
2968 (completion-all-sorted-completions): Use it.
2969 (completion--do-completion, minibuffer-force-complete):
2970 Use it to re-instate the flush hook.
2971
8f0fde21
SM
2972 * icomplete.el (icomplete-completions): Replace last fix with a better
2973 one (bug#10850).
2974
8e911f6f
DG
29752012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2976
2977 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2978 when it might call us back infinitely (bug#10797).
2979
49fe4321
GM
29802012-02-23 Glenn Morris <rgm@gnu.org>
2981
2982 * minibuffer.el (completion-category-overrides): Doc fix.
2983
b291b572
SM
29842012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2987 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2988
31a9ef2e
GM
29892012-02-23 Glenn Morris <rgm@gnu.org>
2990
5e6e6794 2991 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2992 (authors-obsolete-files-regexps, authors-ignored-files)
2993 (authors-ambiguous-files, authors-renamed-files-alist):
2994 Add more entries.
2995
0bd1e074
JL
29962012-02-23 Juri Linkov <juri@jurta.org>
2997
2998 * isearch.el (isearch-occur): Sync interactive spec with occur's
2999 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3000
b617673c
JL
3001 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3002
19e9789e
JL
30032012-02-22 Juri Linkov <juri@jurta.org>
3004
3005 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3006 (ucs-insert): Doc fix. Check for hex digits in the string.
3007 Don't display `nil' in the error message. (Bug#10857)
3008
f41ce09d
AM
30092012-02-22 Alan Mackenzie <acm@muc.de>
3010
7a71b18d 3011 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3012
ac2eceee
GM
30132012-02-22 Glenn Morris <rgm@gnu.org>
3014
3015 * ffap.el (ffap-c-path):
3016 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3017
abd1f678
CY
30182012-02-22 Chong Yidong <cyd@gnu.org>
3019
3020 * custom.el (load-theme): Doc fix.
3021
f25aef2e
GM
30222012-02-22 Glenn Morris <rgm@gnu.org>
3023
3024 * dired-x.el (dired-guess-shell-alist-default):
3025 Remove escape sequences from nroff output. (Bug#172)
3026
5f8dc2ca
GM
30272012-02-21 Glenn Morris <rgm@gnu.org>
3028
6ff86ec4
GM
3029 * vc/emerge.el (emerge-defvar-local):
3030 Set `permanent-local' property rather than unused `preserved'.
3031
be3223a3 3032 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3033 (picture-mode-map): Use it. (Bug#10860)
3034 (picture-mode): Doc fix.
3035
3fe58f4f
JB
30362012-02-21 Juanma Barranquero <lekktu@gmail.com>
3037
3038 * newcomment.el (uncomment-region-default): Remove unused binding.
3039
f9a998c3
GM
30402012-02-21 Glenn Morris <rgm@gnu.org>
3041
3042 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3043 (picture-self-insert, picture-tab-chars): Doc fix.
3044 (picture-mode-map): Fix C-a, C-e.
3045
c6029348
GM
30462012-02-20 Glenn Morris <rgm@gnu.org>
3047
3048 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3049
ab1ce9d7
LL
30502012-02-20 Leo Liu <sdl.web@gmail.com>
3051
3052 * icomplete.el (icomplete-completions): Check FROM arg before
3053 passing to substring (Bug#10850).
3054
0fd40f89
CY
30552012-02-19 Chong Yidong <cyd@gnu.org>
3056
3057 * comint.el: Require ansi-color.
3058 (comint-output-filter-functions): Add ansi-color-process-output.
3059
3060 * ansi-color.el: Don't set comint-output-filter-functions; it is
3061 now in the initial value defined in comint.el.
3062 (ansi-color-apply-face-function): New variable.
3063 (ansi-color-apply-on-region): Use it.
3064 (ansi-color-apply-overlay-face): New function.
3065
3066 * shell.el (shell): No need to require ansi-color.
3067 (shell-mode): Use ansi-color-apply-face-function to highlight
3068 color escapes using font-lock-face property (Bug#10835).
3069
20af2394
CY
30702012-02-19 Chong Yidong <cyd@gnu.org>
3071
3072 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3073 mode-line formats (Bug#10839).
3074
e23a3fbe
GM
30752012-02-18 Glenn Morris <rgm@gnu.org>
3076
b474519e
GM
3077 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3078
3079 * mail/undigest.el (unforward-rmail-message): Doc fix.
3080
e23a3fbe
GM
3081 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3082
57939ff4
EZ
30832012-02-18 Eli Zaretskii <eliz@gnu.org>
3084
3085 * international/characters.el (script-list): Sync with the latest
3086 Unicode Character Database.
3087
0c23686e
AS
30882012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3089
3090 * international/titdic-cnv.el: Remove duplicate coding tag.
3091 * language/cham.el: Likewise.
3092 * language/tai-viet.el: Likewise.
3093
6818b449
GM
30942012-02-18 Glenn Morris <rgm@gnu.org>
3095
3096 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3097 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3098 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3099 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3100 * calendar/holidays.el (holiday-bahai-holidays)
3101 (calendar-holidays, list-holidays):
3102 Use utf-8 Bahá'í in doc-strings, menus, etc.
3103
0311a3fc
TH
31042012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3105
3106 * saveplace.el (save-place-ignore-files-regexp): New variable
3107 allowing for excluding files from saving their location of point.
3108 The default value matches the temporary commit message editing
3109 files from Git, SVN, Bazaar, and Mercurial.
3110 (save-place-to-alist): Use it.
3111
eb864a71
LM
31122012-02-17 Lawrence Mitchell <wence@gmx.li>
3113 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * newcomment.el (uncomment-region-default): Don't leave extra space
3116 when an arg is provided (bug#8150).
3117
ee0ce425
TZ
31182012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3119
eb864a71 3120 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3121
95ddf442
GM
31222012-02-17 Glenn Morris <rgm@gnu.org>
3123
3124 * net/socks.el: Require network-stream. (Bug#10599)
3125
48dd1e39 31262012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3127
3128 * international/charprop.el:
3129 * international/uni-name.el:
3130 * international/uni-old-name.el:
3131 * international/uni-comment.el: Regenerate.
3132
d68cd087
GM
31332012-02-16 Glenn Morris <rgm@gnu.org>
3134
3135 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3136 Interactively in calendar buffer, give an error if not on a date.
3137
13932042
GM
31382012-02-15 Glenn Morris <rgm@gnu.org>
3139
3140 * shell.el (shell-delimiter-argument-list):
3141 Revert 2011-02-17 change. (Bug#8027)
3142
c3a70e2b
CY
31432012-02-15 Chong Yidong <cyd@gnu.org>
3144
60236b0d
CY
3145 * minibuffer.el (completion-at-point-functions): Doc fix.
3146
c3a70e2b
CY
3147 * custom.el (defcustom): Doc fix; note use of defvar.
3148
9f26dc24
GM
31492012-02-15 Glenn Morris <rgm@gnu.org>
3150
3151 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3152 Doc fixes.
3153
6546b134
GM
31542012-02-14 Glenn Morris <rgm@gnu.org>
3155
3156 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3157
d29b2b4c
LI
31582012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3159
3160 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3161 way the ports list is computed.
835bdcba
LI
3162 (smtpmail-query-smtp-server): Prompt the user for a port number if
3163 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3164
08dcdbc9
TZ
31652012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3166
3167 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3168
2605051a
GM
31692012-02-13 Glenn Morris <rgm@gnu.org>
3170
3171 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3172
7ee99f32
TZ
31732012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3174
3175 * net/gnutls.el (gnutls-trustfiles): New variable.
3176 (gnutls-negotiate): Use it.
3177
5f0af64f
LI
31782012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3179
3180 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3181 does its stuff if Gnus is running.
3182
c14fcc95
AM
31832012-02-13 Alan Mackenzie <acm@muc.de>
3184
3185 Fix a loop in c-set-fl-decl-start.
3186
7a71b18d 3187 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3188 c-backward-syntactic-ws actually moves backwards.
3189
142b4d90
LL
31902012-02-13 Leo Liu <sdl.web@gmail.com>
3191
3192 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3193 beginning so that all \C-o chars are removed.
3194
fa9958a6
TZ
31952012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3196
dc9924b8 3197 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3198
0bc5886a
AM
31992012-02-12 Alan Mackenzie <acm@muc.de>
3200
3201 Fix infinite loop with long macros.
4d6769e1 3202 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3203
d4bd55e7
CY
32042012-02-12 Chong Yidong <cyd@gnu.org>
3205
3206 * window.el (display-buffer): Doc fix (Bug#10785).
3207
66f3fe22
GM
32082012-02-12 Glenn Morris <rgm@gnu.org>
3209
bd7da63e
GM
3210 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3211 (x-disown-selection-internal, x-get-selection-internal):
3212 Sync docs with the xselect.c versions.
3213
66f3fe22
GM
3214 * allout-widgets.el: Add missing license notice.
3215
3e0d2fa7
GM
32162012-02-11 Glenn Morris <rgm@gnu.org>
3217
cfecdf09
GM
3218 * select.el (x-get-selection-internal, x-own-selection-internal)
3219 (x-disown-selection-internal):
3220 * x-dnd.el (x-get-selection-internal): Update declarations.
3221
6d216d7f
GM
3222 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3223
2bed3f04
GM
3224 * window.el (window-sides-slots):
3225 * tool-bar.el (tool-bar-position):
3226 * term/xterm.el (xterm-extra-capabilities):
3227 * ses.el (ses-self-reference-early-detection):
3228 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3229 (verilog-auto-wire-type)
3230 (verilog-auto-delete-trailing-whitespace)
3231 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3232 (verilog-auto-tieoff-declaration):
3233 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3234 (sql-oracle-statement-starters, sql-oracle-scan-on):
3235 * progmodes/prolog.el (prolog-align-comments-flag)
3236 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3237 (prolog-left-indent-regexp, prolog-paren-indent-p)
3238 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3239 (prolog-types, prolog-mode-specificators)
3240 (prolog-determinism-specificators, prolog-directives)
3241 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3242 (prolog-electric-dot-flag)
3243 (prolog-electric-dot-full-predicate-template)
3244 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3245 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3246 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3247 (prolog-program-switches, prolog-prompt-regexp)
3248 (prolog-debug-on-string, prolog-debug-off-string)
3249 (prolog-trace-on-string, prolog-trace-off-string)
3250 (prolog-zip-on-string, prolog-zip-off-string)
3251 (prolog-use-standard-consult-compile-method-flag)
3252 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3253 (prolog-imenu-max-lines, prolog-info-predicate-index)
3254 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3255 (prolog-char-quote-workaround):
3256 * progmodes/cc-vars.el (c-defun-tactic):
3257 * net/tramp.el (tramp-encoding-command-interactive)
3258 (tramp-local-end-of-line):
3259 * net/soap-client.el (soap-client):
3260 * net/netrc.el (netrc-file):
3261 * net/gnutls.el (gnutls):
3262 * minibuffer.el (completion-category-overrides)
3263 (completion-cycle-threshold)
3264 (completion-pcm-complete-word-inserts-delimiters):
3265 * man.el (Man-name-local-regexp):
3266 * mail/feedmail.el (feedmail-display-full-frame):
3267 * international/characters.el (glyphless-char-display-control):
3268 * eshell/em-ls.el (eshell-ls-date-format):
3269 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3270 (lisp-lambda-list-keyword-parameter-indentation)
3271 (lisp-lambda-list-keyword-parameter-alignment):
3272 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3273 * dired-x.el (dired-omit-verbose):
3274 * cus-theme.el (custom-theme-allow-multiple-selections):
3275 * calc/calc.el (calc-highlight-selections-with-faces)
3276 (calc-lu-field-reference, calc-lu-power-reference)
3277 (calc-note-threshold):
3278 * battery.el (battery-mode-line-limit):
3279 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3280 (archive-7z-update):
3281 * allout.el (allout-prefixed-keybindings)
3282 (allout-unprefixed-keybindings)
3283 (allout-inhibit-auto-fill-on-headline)
3284 (allout-flattened-numbering-abbreviation):
3285 * allout-widgets.el (allout-widgets-auto-activation)
3286 (allout-widgets-icons-dark-subdir)
3287 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3288 (allout-widgets-theme-dark-background)
3289 (allout-widgets-theme-light-background)
3290 (allout-widgets-item-image-properties-emacs)
3291 (allout-widgets-item-image-properties-xemacs)
3292 (allout-widgets-run-unit-tests-on-load)
3293 (allout-widgets-time-decoration-activity)
3294 (allout-widgets-hook-error-post-time)
3295 (allout-widgets-track-decoration):
3296 Add missing :version tags to new defcustoms and defgroups.
3297
5fec1b8e
GM
3298 * progmodes/sql.el (sql-ansi-statement-starters)
3299 (sql-oracle-statement-starters): Add custom type.
3300
3e0d2fa7
GM
3301 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3302 (prolog-system-version): Give it a type.
3303
90b671e2
EZ
33042012-02-11 Eli Zaretskii <eliz@gnu.org>
3305
3306 * term/pc-win.el (x-select-text, x-selection-owner-p)
3307 (x-own-selection-internal, x-disown-selection-internal)
3308 (x-get-selection-internal): Sync doc strings and argument lists
3309 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3310
5eac0c02
LL
33112012-02-11 Leo Liu <sdl.web@gmail.com>
3312
3313 * progmodes/python.el (python-end-of-statement): Fix infinite
3314 loop. (Bug#10788)
3315
f82cb659
GM
33162012-02-10 Glenn Morris <rgm@gnu.org>
3317
3318 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3319 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3320
cc26d239
LI
33212012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3322
3323 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3324 about SMTP before checking the From header.
3325
91027d08 3326 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3327 into own function for reuse by emacsbug.el.
3328
1be3ca5a
LL
33292012-02-10 Leo Liu <sdl.web@gmail.com>
3330
3331 * subr.el (condition-case-unless-debug): Rename from
3332 condition-case-no-debug. All callers changed.
3333 (with-demoted-errors): Fix caller.
3334
3335 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3336 * nxml/rng-valid.el (rng-do-some-validation):
3337 * emacs-lisp/package.el (package-refresh-contents)
3338 (package-menu-execute):
3339 * desktop.el (desktop-create-buffer):
91027d08 3340 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3341
b011fbfe
GM
33422012-02-10 Glenn Morris <rgm@gnu.org>
3343
b2096d72
GM
3344 * textmodes/bibtex.el:
3345 Add missing :version tags for new/changed defcustoms.
3346
b011fbfe
GM
3347 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3348
4c7e65bf
LI
33492012-02-09 Lars Ingebrigtsen <larsi@rusty>
3350
3351 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3352 (smtpmail-via-smtp): Use it, or fall back on the From address.
3353 (smtpmail-send-it): Ditto.
3354
f3934f6f
SM
33552012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3358 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3359 (byte-compile-tmp-var): New const.
3360 (byte-compile-defvar): Use it to minimize .elc size.
3361 Just use `defvar' rather than simulate it (bug#10761).
3362
a075a2c5
GM
33632012-02-09 Glenn Morris <rgm@gnu.org>
3364
cf3aa21b
GM
3365 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3366
354998cd
GM
3367 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3368 Add :version tags.
3369
dc9924b8
SM
3370 * progmodes/compile.el (compilation-error-screen-columns)
3371 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3372
dab3703d
GM
3373 * vc/log-view.el (log-view-toggle-entry-display):
3374 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3375
3f88cd72
GM
3376 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3377 (report-emacs-bug-can-use-xdg-email):
3378 (report-emacs-bug-insert-to-mailer): Doc fixes.
3379 (report-emacs-bug): Message fix.
3380
d95b247d
GM
3381 * net/browse-url.el (browse-url-can-use-xdg-open)
3382 (browse-url-xdg-open): Doc fixes.
3383
a075a2c5
GM
3384 * electric.el (electric-indent-mode, electric-pair-mode)
3385 (electric-layout-rules, electric-layout-mode): Doc fixes.
3386 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3387
ffb6157e
MR
33882012-02-08 Martin Rudalics <rudalics@gmx.at>
3389
3390 * server.el (server-unselect-display): Don't inadvertently kill
3391 the current buffer. (Bug#10729)
3392
e1ac4066
GM
33932012-02-08 Glenn Morris <rgm@gnu.org>
3394
34e8a2da
GM
3395 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3396 (sql-list-table): Doc fixes.
3397
b4ac6e8c
GM
3398 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3399 Comment out (does nothing).
3400
e1ac4066
GM
3401 * completion.el (dynamic-completion-mode):
3402 * dirtrack.el (dirtrack-debug-mode):
3403 * electric.el (electric-layout-mode):
3404 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3405 * face-remap.el (text-scale-mode, buffer-face-mode):
3406 * iimage.el (iimage-mode):
3407 * image-mode.el (image-transform-mode):
3408 * minibuffer.el (completion-in-region-mode):
3409 * scroll-lock.el (scroll-lock-mode):
3410 * simple.el (next-error-follow-minor-mode):
3411 * tar-mode.el (tar-subfile-mode):
3412 * tooltip.el (tooltip-mode):
3413 * vcursor.el (vcursor-use-vcursor-map):
3414 * wid-browse.el (widget-minor-mode):
3415 * emulation/tpu-edt.el (tpu-edt-mode):
3416 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3417 * international/iso-ascii.el (iso-ascii-mode):
3418 * language/thai-util.el (thai-word-mode):
3419 * mail/supercite.el (sc-minor-mode):
3420 * net/goto-addr.el (goto-address-mode):
3421 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3422 * progmodes/cwarn.el (cwarn-mode):
3423 * progmodes/flymake.el (flymake-mode):
3424 * progmodes/glasses.el (glasses-mode):
3425 * progmodes/hideshow.el (hs-minor-mode):
3426 * progmodes/pascal.el (pascal-outline-mode):
3427 * textmodes/enriched.el (enriched-mode):
3428 * vc/smerge-mode.el (smerge-mode):
3429 Doc fixes (minor mode argument).
3430
5e0d957f
EZ
34312012-02-07 Eli Zaretskii <eliz@gnu.org>
3432
3433 * ls-lisp.el (ls-lisp-sanitize): New function.
3434 (ls-lisp-insert-directory): Use it to fix or remove any elements
3435 in file-alist with missing attributes. (Bug#4673)
3436
98d7371e
AM
34372012-02-07 Alan Mackenzie <acm@muc.de>
3438
3439 Fix spurious recognition of c-in-knr-argdecl.
3440
3441 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3442 putative K&R region.
3443
667ced3a
AM
34442012-02-07 Alan Mackenzie <acm@muc.de>
3445
eb864a71
LM
3446 * progmodes/cc-engine.el (c-forward-objc-directive):
3447 Prevent looping in "#pragma mark @implementation".
667ced3a 3448
5b77774d
MA
34492012-02-07 Michael Albinus <michael.albinus@gmx.de>
3450
3451 * notifications.el (notifications-on-closed-signal): Make `reason'
3452 optional. (Bug#10744)
3453
af008560
GM
34542012-02-07 Glenn Morris <rgm@gnu.org>
3455
60d47423
GM
3456 * emacs-lisp/easy-mmode.el (define-minor-mode):
3457 Doc fixes for the macro and the mode it defines.
3458
dd605cc4
GM
3459 * image.el (imagemagick-types-inhibit): Doc fix.
3460
af008560
GM
3461 * cus-start.el (imagemagick-render-type): Add it.
3462
5cc59a37
LI
34632012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3464
4d6769e1
JB
3465 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3466 Set the default at load time, too, so that `font-lock-fontify-buffer'
3467 can be called without setting up the entire mode first. This fixes
3468 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3469
9a6dd747
CY
34702012-02-06 Chong Yidong <cyd@gnu.org>
3471
2d16b285
CY
3472 * simple.el (list-processes--refresh): Delete exited processes
3473 (Bug#8094).
3474
171e9b6e
CY
3475 * comint.el (comint-next-prompt): next-single-char-property-change
3476 and prev-single-char-property-change never return nil (Bug#8657).
3477
9a6dd747
CY
3478 * custom.el (defcustom): Doc fix (Bug#9711).
3479
aa4589a7
CY
34802012-02-05 Chong Yidong <cyd@gnu.org>
3481
5c2a252f
CY
3482 * cus-edit.el (custom-variable-reset-backup): Quote the value
3483 before storing it in the customized-value property (Bug#6712).
4aab9006 3484 (custom-display): Add a customization type tag.
983b9602 3485 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3486
aa4589a7
CY
3487 * wid-edit.el (widget-field-value-get): New optional arg to
3488 suppress trailing whitespace truncation.
3489 (character): Use it (Bug#2689).
3490
1ff980ae
AS
34912012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3492
3493 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3494 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3495
03988c98
CY
34962012-02-05 Chong Yidong <cyd@gnu.org>
3497
eeb6cc88
CY
3498 * cus-edit.el (custom-variable-value-create): For mismatched
3499 types, show the current value (Bug#7600).
3500
03988c98
CY
3501 * custom.el (defcustom): Doc fix.
3502
f8cdeef0
GM
35032012-02-05 Glenn Morris <rgm@gnu.org>
3504
3505 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3506
0696d255
JB
35072012-02-05 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3510 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3511 (pp-last-sexp): Use `looking-at-p'.
3512
34c99998
GM
35132012-02-04 Glenn Morris <rgm@gnu.org>
3514
8f05da42
GM
3515 * files.el (revert-buffer):
3516 Doc fix (mention revert-buffer-in-progress-p).
3517
f160676e
GM
3518 * emacs-lisp/ert-x.el (ert-simulate-command):
3519 Check deferred-action-list (which is obsolete) is bound.
3520
c7291ad9
GM
3521 * subr.el (with-wrapper-hook): Doc fixes.
3522
34c99998
GM
3523 * simple.el (filter-buffer-substring-functions)
3524 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3525
6283a7d3
LL
35262012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3527
3528 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3529 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3530
e96e3013
LL
35312012-02-04 Leo Liu <sdl.web@gmail.com>
3532
3533 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3534
8ded50f2
GM
35352012-02-04 Glenn Morris <rgm@gnu.org>
3536
82ff1d13
GM
3537 * image.el (image-extension-data): Add obsolete alias.
3538
987a0a16
GM
3539 * isearch.el (isearch-update): Doc fix.
3540
ea32ef46
GM
3541 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3542
8ded50f2
GM
3543 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3544
eea14f31
GM
35452012-02-03 Glenn Morris <rgm@gnu.org>
3546
3547 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3548 (image-animate-timeout): Doc fix.
3549
3550 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3551
12f381b7
GM
35522012-02-02 Glenn Morris <rgm@gnu.org>
3553
953cebf5
GM
3554 * server.el (server-auth-dir): Doc fix.
3555 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3556
12f381b7
GM
3557 * subr.el (run-mode-hooks): Doc fix.
3558
953a8c3b
JL
35592012-02-02 Juri Linkov <juri@jurta.org>
3560
3561 * image-mode.el (image-toggle-display-image): Remove tautological
3562 `major-mode' from the `derived-mode-p' test.
3563
c5d3843c
KH
35642012-02-02 Kenichi Handa <handa@m17n.org>
3565
9f6e692e 3566 * composite.el (compose-region): Cancel previous change.
c5d3843c 3567
159462d4 35682012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3569
3570 * composite.el (compose-region, compose-string): Signal error for
3571 a null string component (Bug#6988).
3572
9f562668
CY
35732012-02-01 Chong Yidong <cyd@gnu.org>
3574
e2cef717
CY
3575 * view.el (view-buffer-other-window, view-buffer-other-frame):
3576 Handle special modes like view-buffer (Bug#10650).
3577 (view-buffer): Simplify.
3578
9f562668
CY
3579 * frame.el (set-frame-font): Tweak meaning of third argument.
3580
9f6e692e
JB
3581 * dynamic-setting.el (font-setting-change-default-font):
3582 Use set-frame-font (Bug#9982).
9f562668 3583
781acb9f
GM
35842012-02-01 Glenn Morris <rgm@gnu.org>
3585
6035be52
GM
3586 * progmodes/compile.el (compilation-internal-error-properties):
3587 Respect compilation-first-column in the "*compilation*" buffer.
3588
781acb9f
GM
3589 * emacs-lisp/easy-mmode.el (define-minor-mode):
3590 Relax :variable's test for a named function.
3591
abbceb00
AM
35922012-01-31 Alan Mackenzie <acm@muc.de>
3593
3594 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3595 off by one error.
3596
fce3fdeb
CY
35972012-01-31 Chong Yidong <cyd@gnu.org>
3598
3599 * frame.el (set-frame-font): New arg ALL-FRAMES.
3600
3601 * menu-bar.el (menu-set-font): Use set-frame-font.
3602
3603 * faces.el (face-spec-reset-face): Don't apply unspecified
3604 attribute values to the default face.
3605
47893581
JB
36062012-01-31 Juanma Barranquero <lekktu@gmail.com>
3607
3608 * progmodes/cwarn.el (cwarn): Remove dead link.
3609 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3610 Remove * from defcustom docstrings.
3611 (turn-on-cwarn-mode): Make obsolete.
3612 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3613 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3614
e58e988a
GM
36152012-01-31 Glenn Morris <rgm@gnu.org>
3616
60dc2671 3617 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3618 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3619 Allow named functions to be used as the cdr of :variable.
e58e988a 3620
7a3f511d
GM
36212012-01-30 Glenn Morris <rgm@gnu.org>
3622
3623 * emacs-lisp/authors.el (authors-fixed-entries):
3624 Remove reference to deleted file rnewspost.el.
3625
cb882333
JB
36262012-01-29 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * window.el (window-with-parameter): Remove unused variable `windows'.
3629 (window--side-check): Remove unused variable `code'.
3630 (window--resize-siblings): Remove unused variable `first'.
3631 (adjust-window-trailing-edge): Remove unused variable `failed'.
3632 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3633 Use `let', not `let*'.
3634 (balance-windows-2): Remove unused variable `found'.
3635 (window--state-put-2): Remove unused variable `splits'.
3636 (window-state-put): Remove unused variable `selected'.
3637 (same-window-p): Use `string-match-p'.
3638 (display-buffer-assq-regexp): Remove unused variable `value'.
3639 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3640 Mark argument ALIST as ignored.
3641 (pop-to-buffer): Remove unused variable `old-window'.
3642
907201af
EZ
36432012-01-29 Eli Zaretskii <eliz@gnu.org>
3644
3645 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3646 and .lzma compressed files.
3647
ea162670
CY
36482012-01-29 Chong Yidong <cyd@gnu.org>
3649
5b95ee8a
CY
3650 * frame.el (window-system-default-frame-alist): Doc fix.
3651
ea162670
CY
3652 * dynamic-setting.el (font-setting-change-default-font): Don't
3653 change the default face if SET-FONT argument is non-nil (Bug#9982).
3654
d6e6f4b1
SB
36552012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3656
3657 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3658
0f29fa41 36592012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3660
3661 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3662 breakpoints in files outside current directory (Bug#6098).
3663
db174434
CY
36642012-01-29 Chong Yidong <cyd@gnu.org>
3665
6b25e4e2
SE
3666 * progmodes/python.el: Require ansi-color at top-level.
3667
6df6ae42
JB
3668 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3669 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3670 (lisp-mode-abbrev-table): Add doc.
3671 (lisp-mode-variables): Don't set local-abbrev-table.
3672 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3673
e70ee681
RW
36742012-01-28 Roland Winkler <winkler@gnu.org>
3675
3676 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3677
ace88aa2
RW
36782012-01-28 Roland Winkler <winkler@gnu.org>
3679
3680 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3681 (bibtex-set-dialect): Use it. Either set global values of
3682 dialect-dependent variables or bind these variables buffer-locally
3683 (Bug#10254).
3684 (bibtex-mode): Call bibtex-set-dialect via
3685 hack-local-variables-hook.
eb864a71
LM
3686 (bibtex-dialect): Update docstring.
3687 Add safe-local-variable predicate.
ace88aa2
RW
3688 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3689 bibtex-set-dialect.
3690 (bibtex-mode-map): Define menu for each dialect.
3691 (bibtex-entry): Fix docstring.
3692
93376c5b
CY
36932012-01-28 Chong Yidong <cyd@gnu.org>
3694
3695 * eshell/esh-arg.el (eshell-quote-argument): New function.
3696
3697 * eshell/esh-ext.el (eshell-invoke-batch-file):
3698 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3699 first arg to eshell-parse-command (Bug#10523).
3700
4372494f
DA
37012012-01-28 Drew Adams <drew.adams@oracle.com>
3702
3703 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3704 `default-directory' is non-nil.
3705
4d4ec1f8
EZ
37062012-01-28 Eli Zaretskii <eliz@gnu.org>
3707
3708 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3709 line that displays system-configuration-options. (Bug#9924)
3710
7c188927
DA
37112012-01-28 Drew Adams <drew.adams@oracle.com>
3712
3713 * descr-text.el (describe-char): Show information about POS, in
3714 addition to information about the character at POS. Improve and
3715 update the doc string. Change "code point" to "code point in
3716 charset", to avoid confusion with the character's Unicode code
3717 point shown above that. (Bug#10129)
3718
e0da685a
EZ
37192012-01-28 Eli Zaretskii <eliz@gnu.org>
3720
3721 * descr-text.el (describe-char): Show the raw character, not only
3722 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3723 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3724 for the reasons.
3725
70550acf
PH
37262012-01-28 Phil Hagelberg <phil@hagelb.org>
3727
eb864a71
LM
3728 * emacs-lisp/package.el (package-install):
3729 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3730
0ce8e868
CY
37312012-01-28 Chong Yidong <cyd@gnu.org>
3732
cb882333
JB
3733 * emacs-lisp/package.el (package-maybe-load-descriptor):
3734 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3735 (package-maybe-load-descriptor): Use it.
3736 (package-download-transaction): Fully load required packages
3737 inside the loop, so that `require' calls work (Bug#10593).
3738 (package-install): No need to call package-initialize now.
3739
2e7f3bea
CY
37402012-01-28 Chong Yidong <cyd@gnu.org>
3741
6e9bad14
CY
3742 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3743
f823b8ca
CY
3744 * tooltip.el (tooltip-mode): Doc fix.
3745 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3746
2680c309
CY
3747 * frame.el (set-cursor-color): Doc fix (Bug#352).
3748
d7a9e63b
CY
3749 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3750 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3751
2e7f3bea
CY
3752 * cus-edit.el (custom-buffer-create-internal): Fix search button
3753 action (Bug#10542).
2ae01800 3754 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3755
fc4f7a23
EW
37562012-01-27 Eduard Wiebe <usenet@pusto.de>
3757
3758 * dired.el (dired-mark-files-regexp):
3759 Include any subdirectory components. (Bug#10445)
3760
7dd37071
ML
37612012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3762
3763 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3764 Handle [host]:port syntax. (Bug#10533)
3765
a268160b
AH
37662012-01-27 Alex Harsanyi <harsanyi@mac.com>
3767
3768 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3769
e43273ef
GM
37702012-01-26 Glenn Morris <rgm@gnu.org>
3771
3772 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3773 * term.el (term-raw-escape-map): Use Control-X-prefix.
3774 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3775
1edf595d
MR
37762012-01-25 Martin Rudalics <rudalics@gmx.at>
3777
3778 * window.el (window-state-get, window--state-get-1): Don't deal
3779 with fixed-sizeness of windows. Simplify code.
3780
fa8eafef
JC
37812012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3782
6df6ae42
JB
3783 * window.el (window--state-get-1, window--state-put-2):
3784 Don't save and restore the mark.
fa8eafef 3785
0b21c100
CY
37862012-01-25 Chong Yidong <cyd@gnu.org>
3787
3788 * custom.el (custom-variable-p): Doc fix.
3789
5ae1a6c8
GM
37902012-01-25 Glenn Morris <rgm@gnu.org>
3791
40047858
GM
3792 * dired.el (dired-goto-file): Handle some of the more common
3793 characters that `ls -b' escapes. (Bug#10596)
3794
5ddce96c
GM
3795 * progmodes/compile.el (compilation-next-error-function):
3796 Respect compilation-first-column in the "*compilation*" buffer.
3797 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3798
5ae1a6c8
GM
3799 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3800
b559f1a9
GM
38012012-01-24 Glenn Morris <rgm@gnu.org>
3802
3803 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3804
6725d21a
JD
38052012-01-24 Julien Danjou <julien@danjou.info>
3806
3807 * color.el (color-rgb-to-hsl): Fix value computing.
3808 (color-hue-to-rgb): New function.
3809 (color-hsl-to-rgb): New function.
3810 (color-clamp, color-saturate-hsl, color-saturate-name)
3811 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3812 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3813
70df4bbe
GM
38142012-01-24 Glenn Morris <rgm@gnu.org>
3815
3816 * vc/vc-rcs.el (vc-rcs-create-tag):
3817 * vc/vc-sccs.el (vc-sccs-create-tag):
3818 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3819
802a2ae2
ML
38202012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3821
3822 * eshell/esh-util.el (eshell-read-hosts-file):
3823 Skip comment lines. (Bug#10549)
3824
d7128bb1
ML
3825 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3826
d1a5c3b4
JB
38272012-01-23 Juanma Barranquero <lekktu@gmail.com>
3828
2724d9c7
JB
3829 * subr.el (display-delayed-warnings): Doc fix.
3830 (collapse-delayed-warnings): New function to collapse identical
3831 adjacent warnings.
3832 (delayed-warnings-hook): Add it.
d1a5c3b4 3833
a5509865
MA
38342012-01-22 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3837
3838 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3839 properties, when "login-as" is set.
3840
3841 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3842 (tramp-default-user-alist): Don't add "pscp".
3843 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3844 property "login-as", if set. (Bug#10530)
3845
cc6d5805
MA
38462012-01-21 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3849 "plink1" and "psftp". (Bug#10530)
3850
38512012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3852
3853 * international/mule-cmds.el (prefer-coding-system): Show a
3854 warning message if the default value of file-name-coding-system
3855 was not changed.
3856
f0960428
JC
38572012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3858
cb882333
JB
3859 * windmove.el (windmove-reference-loc):
3860 Fix windmove-reference-loc miscalculation.
f0960428 3861
dd6f2a63
JB
38622012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3863
3864 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3865 default unit.
3866
7b447e9b
GM
38672012-01-21 Glenn Morris <rgm@gnu.org>
3868
117a9ea1
GM
3869 * international/mule.el (auto-coding-alist): Add .tbz.
3870
7b447e9b
GM
3871 * files.el (local-enable-local-variables): Doc fix.
3872 (inhibit-local-variables-regexps): Rename from
3873 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3874 Doc fix. Add some extensions from auto-coding-alist.
3875 (inhibit-local-variables-suffixes):
3876 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3877 (inhibit-local-variables-p):
3878 New function, extracted from set-auto-mode-1.
3879 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3880 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3881 (hack-local-variables): Doc fix. Make the mode-only case
3882 respect enable-local-variables and friends.
3883 Respect inhibit-local-variables-regexps for file-locals, but
3884 not for directory-locals.
3885 (set-visited-file-name):
3886 Take account of inhibit-local-variables-regexps.
3887 Whether it applies may change as the file name is changed.
3888 * jka-cmpr-hook.el (jka-compr-install):
3889 * jka-compr.el (jka-compr-uninstall):
3890 Update for inhibit-first-line-modes-suffixes name change.
3891
dd6e3cdd
MR
38922012-01-20 Martin Rudalics <rudalics@gmx.at>
3893
3894 * help-macro.el (make-help-screen): Temporarily restore original
3895 binding for minor-mode-map-alist (Bug#10454).
3896
0d0deb38
JD
38972012-01-19 Julien Danjou <julien@danjou.info>
3898
3899 * color.el (color-name-to-rgb): Use the white color to find the max
3900 color component value and return correctly computed values.
3901 (color-name-to-rgb): Add missing float conversion for max value.
3902
34a02f46
MR
39032012-01-19 Martin Rudalics <rudalics@gmx.at>
3904
3905 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3906 special state value for window-persistent-parameters.
3907 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3908 (window--state-put-2): Reset all window parameters to nil before
3909 assigning values of persistent parameters.
3910
606c44c4
AM
39112012-01-18 Alan Mackenzie <acm@muc.de>
3912
3913 Eliminate sluggishness and hangs in fontification of "semicolon
3914 deserts".
3915
cb882333
JB
3916 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3917 Change value 10000 -> 3000.
606c44c4
AM
3918 (c-state-safe-place): Reformulate so it doesn't stack up an
3919 infinite number of wrong entries in c-state-nonlit-pos-cache.
3920 (c-determine-limit-get-base, c-determine-limit): New functions to
3921 determine backward search limits disregarding literals.
3922 (c-find-decl-spots): Amend commenting.
3923 (c-cheap-inside-bracelist-p): New function which detects "={".
3924
3925 * progmodes/cc-fonts.el
3926 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3927 backward search.
3928 (c-font-lock-declarations): Fix an occurrence of point being
3929 undefined. Check additionally for point being in a bracelist or
3930 near a macro invocation without a semicolon so as to avoid a
3931 fruitless time consuming search for a declarator. Give a more
3932 precise search limit for declarators using the new
3933 c-determine-limit.
3934
f3860cea
GM
39352012-01-18 Glenn Morris <rgm@gnu.org>
3936
3937 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3938 (set-auto-mode): Doc fixes.
3939
1db03b16
GM
39402012-01-17 Glenn Morris <rgm@gnu.org>
3941
0e6038be
GM
3942 * isearch.el (search-nonincremental-instead): Fix doc typo.
3943
1db03b16
GM
3944 * dired.el (dired-insert-directory): Handle newlines in directory name.
3945 (dired-build-subdir-alist): Unescape newlines in directory name.
3946
4cb0aa75
MA
39472012-01-17 Michael Albinus <michael.albinus@gmx.de>
3948
3949 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3950 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3951 (tramp-action-terminal): Use it. (Bug#10530)
3952
1d00653d
SM
39532012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3956
6a6ee00d
MR
39572012-01-16 Martin Rudalics <rudalics@gmx.at>
3958
3959 * window.el (window-state-ignored-parameters): Remove variable.
3960 (window--state-get-1): Rename argument MARKERS to IGNORE.
3961 Handle persistent window parameters. Make copy of clone-of
3962 parameter only if requested. (Bug#10348)
3963 (window--state-put-2): Install a window parameter only if it has
3964 a non-nil value or an existing parameter shall be overwritten.
3965
97912def
MA
39662012-01-15 Michael Albinus <michael.albinus@gmx.de>
3967
3968 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3969
688070a5
EZ
39702012-01-14 Eli Zaretskii <eliz@gnu.org>
3971
3972 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3973 don't pass the (nil) value of `upnode' to string-match.
3974
301afadc
CY
39752012-01-14 Chong Yidong <cyd@gnu.org>
3976
3977 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3978 Fix values recognized by the cursorBlink resource.
301afadc 3979
9e5788aa
PE
39802012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3981
3982 * epg.el (epg--make-temp-file): Avoid permission race condition
3983 when running on old Emacs versions (bug#10403).
3984
3cdb7f5a
GM
39852012-01-14 Glenn Morris <rgm@gnu.org>
3986
3987 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3988
8c82b1b4
AM
39892012-01-13 Alan Mackenzie <acm@muc.de>
3990
3991 Fix filling for when filladapt mode is enabled.
3992
3993 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3994 c-mask-paragraph, pass in `fill-paragraph' rather than
3995 `fill-region-as-paragraph'. (This is a reversion of a previous
3996 change.)
eb864a71
LM
3997 * progmodes/cc-mode.el (c-basic-common-init):
3998 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3999
e517eda4
GM
40002012-01-13 Glenn Morris <rgm@gnu.org>
4001
1498536e
GM
4002 * dired.el (dired-switches-escape-p): New function.
4003 (dired-insert-directory): Use dired-switches-escape-p.
4004 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4005
e517eda4
GM
4006 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4007
328f984d
GM
40082012-01-12 Glenn Morris <rgm@gnu.org>
4009
4010 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4011 changes in adaptive-fill-regexp. (Bug#10276)
4012
2cc769a8
AM
40132012-01-11 Alan Mackenzie <acm@muc.de>
4014
4015 Fix Emacs bug #10463 - put `widen's around the critical spots.
4016
1d00653d 4017 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4018 widen around each invocation of c-state-pp-to-literal. Remove an
4019 unused let variable.
4020
e52c37fa
GM
40212012-01-11 Glenn Morris <rgm@gnu.org>
4022
4023 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4024 Doc fix.
e52c37fa 4025
96f8741e
CY
40262012-01-10 Chong Yidong <cyd@gnu.org>
4027
1d00653d
SM
4028 * net/network-stream.el (network-stream-open-starttls):
4029 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4030 response to the capability command.
4031
b09a806e
GM
40322012-01-10 Glenn Morris <rgm@gnu.org>
4033
4034 * mail/unrmail.el (unrmail): Tweak previous change.
4035
7655cb66
CY
40362012-01-09 Chong Yidong <cyd@gnu.org>
4037
4038 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4039
9d5a8f0b
AM
40402012-01-08 Alan Mackenzie <acm@muc.de>
4041
4042 Optimise font locking in long enum definitions.
4043
4044 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4045 arm to a cond form to handle enums.
4046 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4047 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4048
9a0115ab 40492012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4050
4051 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4052 (Bug#10401)
6bb72cbd 4053
f186bb95
LMI
40542012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4055
29232a68
LMI
4056 * faces.el (set-face-attribute): Clarify the meaning of the nil
4057 frame (bug#10294).
4058
4e5d086d
LMI
4059 * subr.el (with-selected-frame): Mention that the selected frame
4060 is restored (bug#9980).
4061
8e66aebe
LMI
4062 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4063 (bug#9759).
4064
cd394be1 4065 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4066 (password-read): Don't autoload unused function.
4067
adf4e762
JB
40682012-01-07 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * progmodes/which-func.el (which-func-mode): Turn into a
4071 non-interactive function and mark as obsolete (bug#10428).
4072
89bd9ccd
CY
40732012-01-06 Chong Yidong <cyd@gnu.org>
4074
4075 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4076 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4077 functions, along with 1 and -1.
4078
4afee9d5
EZ
40792012-01-06 Eli Zaretskii <eliz@gnu.org>
4080
4081 * time.el (display-time-load-average)
4082 (display-time-default-load-average): Doc fixes. See the thread
4083 starting at
4084 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4085 for the details.
4086
536aea70
GM
40872012-01-06 Glenn Morris <rgm@gnu.org>
4088
665ae865
GM
4089 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4090 has no messages. (Bug#10377)
4091
c869783d
GM
4092 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4093 than Info-edit. (Bug#10385)
4094
2bb4227e
GM
4095 * time.el (display-time-load-average, display-time-next-load-average):
4096 Doc fixes.
4097
7d5944b9
GM
4098 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4099 local setting of buffer-read-only to the input buffer. (Bug#10419)
4100
536aea70
GM
4101 * calendar/calendar.el (calendar-mode):
4102 Locally set scroll-margin to 0. (Bug#10379)
4103
7dccca16
UM
41042012-01-06 Ulrich Mueller <ulm@gentoo.org>
4105
4106 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4107
afbb7930
GM
41082012-01-05 Glenn Morris <rgm@gnu.org>
4109
4110 * eshell/em-unix.el (diff-no-select): Autoload it.
4111 (eshell/diff): Use diff-no-select. (Bug#10420)
4112
04482335
CY
41132012-01-05 Chong Yidong <cyd@gnu.org>
4114
7baca3bc
CY
4115 * shell.el (shell-dynamic-complete-functions): Revert last change.
4116 (shell-command-completion-function): New function.
4117 (shell-completion-vars): Use it to implement
4118 shell-completion-execonly (Bug#10417).
4119
04482335
CY
4120 * custom.el (enable-theme): Don't set custom-safe-themes.
4121
1d00653d
SM
4122 * cus-theme.el (custom-theme-merge-theme):
4123 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4124
bb5aa5d6
MM
41252012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4126
4127 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4128 first prompt in `sql-interacive-mode'.
4129 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4130 keywords.
6df6ae42 4131 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4132 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4133 context of original buffer. Invoke `sql-login-hook'.
4134
a7183d7c
EZ
41352012-01-04 Eli Zaretskii <eliz@gnu.org>
4136
4137 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4138 letters in cite-prefix.
4139
a1eacd1e
LMI
41402012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141
4142 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4143
787cdb34
CY
41442012-01-03 Chong Yidong <cyd@gnu.org>
4145
1d00653d
SM
4146 * shell.el (shell-dynamic-complete-functions):
4147 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4148 comint-filename-completion first (Bug#10417).
4149
30710442
RS
41502012-01-02 Richard Stallman <rms@gnu.org>
4151
4152 * battery.el (battery-status-function):
4153 Detect when to use battery-yeeloong-sysfs.
4154 (battery-echo-area-format): Add string for Yeeloong.
4155 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4156 (battery-yeeloong-sysfs): New function.
4157
f75bfc33
CY
41582012-01-02 Chong Yidong <cyd@gnu.org>
4159
4160 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4161 (dirtrack): Merge code for handling relative filenames in prompt
4162 from shell-dir-cookie-watcher.
4163 (dirtrack-debug-message): New arg to avoid excess format calls.
4164
4165 * shell.el (shell-dir-cookie-re): Variable deleted.
4166 (shell-dir-cookie-watcher): Function deleted.
4167 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4168 with dirtrack-mode.
4169
651e947e
EZ
41702012-01-01 Eli Zaretskii <eliz@gnu.org>
4171
1d00653d
SM
4172 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4173 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4174 libgnutls-26.dll.
4175
94d4c7dc
AS
41762011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4177
4178 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4179
8d43f3cd
EZ
41802011-12-31 Eli Zaretskii <eliz@gnu.org>
4181
4182 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4183 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4184
98c8795a
MA
41852011-12-29 Michael Albinus <michael.albinus@gmx.de>
4186
4187 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4188 also for alternative shells.
4189 (tramp-open-connection-setup-interactive-shell): Check, whether
4190 the shell is a busybox.
4191 (tramp-send-command): Don't suppress multiple prompts for
4192 busyboxes, it hurts.
4193
51281b32
CY
41942011-12-28 Chong Yidong <cyd@gnu.org>
4195
4196 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4197 (gdb-get-source-file): Move mode line update to
4198 gdb-get-source-file (Bug#10087).
4199
2170cb53
CY
42002011-12-25 Chong Yidong <cyd@gnu.org>
4201
4202 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4203 gud-gdb-marker-filter without taking it as an argument.
4204 (gud-gdb-run-command-fetch-lines): Caller changed.
4205 (gud-gdb-completion-function): New variable.
4206 (gud-gdb-completion-at-point): Use it.
4207 (gud-gdb-completions-1): Split from gud-gdb-completions.
4208
4209 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4210 function as separate arguments.
4211 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4212 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4213 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4214 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4215 (gdb-stopped, def-gdb-auto-update-trigger)
4216 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4217 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4218 Callers changed.
2170cb53
CY
4219 (gud-gdbmi-completions): New function.
4220 (gdb): Use it for generating the completion table.
4221
be8b11bb
AM
42222011-12-24 Alan Mackenzie <acm@muc.de>
4223
4224 Introduce a mechanism to widen the region used in context font
1d00653d 4225 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4226
1d00653d
SM
4227 * progmodes/cc-langs.el (c-before-font-lock-functions):
4228 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4229 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4230 functions to be run just before context (etc.) font locking.
4231
4232 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4233 New, functionality extracted from
be8b11bb 4234 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4235 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4236 (c-after-change): Set c-in-after-change-fontification.
4237 (c-set-fl-decl-start): Rejig its interface, so it can be called
4238 from both after-change and context fontifying.
b81d40f0
JB
4239 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4240 New functions.
4241 (c-standard-font-lock-fontify-region-function): New variable.
4242 (c-font-lock-fontify-region): New function.
be8b11bb 4243
341cf6ac
JL
42442011-12-24 Juri Linkov <juri@jurta.org>
4245
4246 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4247 (Bug#10348)
4248
bffcee0a
MA
42492011-12-23 Michael Albinus <michael.albinus@gmx.de>
4250
4251 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4252 existence of source file. (Bug#10325)
4253
cb5e207c
AM
42542011-12-23 Alan Mackenzie <acm@muc.de>
4255
4256 Fix unstable fontification inside templates.
4257
b81d40f0
JB
4258 * progmodes/cc-langs.el (c-before-font-lock-functions):
4259 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4260 additionally has c-set-fl-decl-start. The other languages (apart
4261 from AWK) have that as a single entry.
4262
b81d40f0
JB
4263 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4264 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4265 c-set-fl-decl-start.
4266
b81d40f0
JB
4267 * progmodes/cc-mode.el (c-common-init, c-after-change):
4268 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4269 (c-set-fl-decl-start): New function, extracted from
4270 c-font-lock-enclosing-decls and enhanced.
4271
60ff536c
JB
42722011-12-23 Juanma Barranquero <lekktu@gmail.com>
4273
4274 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4275
1c4757d6
JL
42762011-12-22 Juri Linkov <juri@jurta.org>
4277
4278 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4279
d031f2c7
CY
42802011-12-22 Chong Yidong <cyd@gnu.org>
4281
4282 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4283
bace743a
DA
42842011-12-21 Drew Adams <drew.adams@oracle.com>
4285
4286 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4287
728a1f2b
JC
42882011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4289
4290 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4291
0d373f73
TZ
42922011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4293
fec0aaa4
TZ
4294 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4295 highlighting and support. Fix up comments for capitalization.
4296 (cfengine-mode-debug): New var.
4297 (cfengine3-mode): Change the modeline indicator to "CFE3".
4298 (cfengine3-font-lock-keywords): Improve defun highlighting.
4299 (cfengine2-actions): Rename from `cfengine-actions'.
4300 (cfengine2-font-lock-keywords): Rename from
4301 `cfengine-font-lock-keywords'.
4302 (cfengine2-imenu-expression): Rename from
4303 `cfengine-imenu-expression'.
4304 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4305 (cfengine2-beginning-of-defun): Rename from
4306 `cfengine-beginning-of-defun'.
4307 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4308 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4309 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4310 modeline indicator to "CFE2".
4311 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4312 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4313
bc86f573
CY
43142011-12-21 Chong Yidong <cyd@gnu.org>
4315
4316 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4317 filename argument.
4318
d45ba96b
MR
43192011-12-20 Martin Rudalics <rudalics@gmx.at>
4320
4321 * window.el (window-normalize-buffer-to-display): Remove.
4322 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4323
a6198c90
CY
43242011-12-19 Chong Yidong <cyd@gnu.org>
4325
4326 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4327 Don't signal an error in a predicate function; return non-nil.
4328 (vc-dir-mark-file): Move the error here.
4329 (vc-dir-mark-unmark): If acting on the region, keep going if one
4330 of the entries cannot be marked/unmarked.
4331 (vc-dir-mark-all-files): If current entry is a directory, mark
4332 only child files, as documented.
4333
34c5fb55
VB
43342011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4335
4336 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4337 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4338 addition.
4339
c803b2b7
JD
43402011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4341
4342 * term/ns-win.el (ns-get-selection-internal)
4343 (ns-store-selection-internal): Declare.
1154d12e
JB
4344 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4345 Declare as obsolete.
4346 (ns-get-pasteboard, ns-paste-secondary):
4347 Use ns-get-selection-internal.
4348 (ns-set-pasteboard, ns-copy-including-secondary):
4349 Use ns-store-selection-internal.
c803b2b7 4350
9cff91f8 43512011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4352
4353 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4354 (vc-deduce-fileset): Doc fix.
99a289d9 4355
f16c898a
AS
43562011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4359
763237c4
SS
43602011-12-13 Sam Steingold <sds@gnu.org>
4361
4362 * man.el (Man-getpage-in-background): When running under a
4363 window-system, ignore $MANWIDTH and $COLUMNS.
4364
5fc1c122
KH
43652011-12-15 Kenichi Handa <handa@m17n.org>
4366
4367 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4368 (setup-ethiopic-environment-internal): Comment out key-binding for
4369 ethio-toggle-punctuation.
4370
13d49cbb
AM
43712011-12-13 Alan Mackenzie <acm@muc.de>
4372
898169a2
AM
4373 Add the switch statement to AWK Mode.
4374
7a71b18d 4375 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4376 "default" to the keywords regexp.
4377
7a71b18d 4378 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4379 expression as the rest.
1d00653d
SM
4380 (c-nonlabel-token-key): Allow string literals for AWK.
4381 Refactor for the other modes.
898169a2 4382
13d49cbb 4383 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4384 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4385 routines. Limit backward searching in c-font-lock-enclosing.decl.
4386
4387 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4388 pp-state and literal type in addition to the limits.
1d00653d 4389 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4390 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4391 (c-slow-in-literal, c-fast-in-literal): Remove.
4392 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4393
4394 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4395 being in a literal. Add a limit for backward searching.
4396
4397 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4398 c-slow-in-literal.
4399
15e0efc7
SM
44002011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4403
454592a6
MR
44042011-12-13 Martin Rudalics <rudalics@gmx.at>
4405
4406 * window.el (delete-other-windows): Use correct frame in call to
4407 window-with-parameter.
4408
87393f26
DP
44092011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4410
4411 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4412 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4413 (makefile-gmake-statements, makefile-makepp-statements):
4414 Use it and add new makepp keywords.
4415 (makefile-makepp-font-lock-keywords): Add new patterns.
4416 (makefile-match-function-end): Match new [...] and [[...]].
4417
11636b22
JB
44182011-12-11 Juanma Barranquero <lekktu@gmail.com>
4419
4420 * ses.el (ses-call-printer-return, ses-cell-property-get)
4421 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4422 (ses-create-cell-variable, ses-reset-header-string)
4423 (ses-cell-set-formula, ses-repair-cell-reference-all)
4424 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4425 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4426 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4427 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4428 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4429 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4430 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4431 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4432 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4433 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4434 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4435 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4436
cf018193
VB
44372011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4438
4439 * ses.el: The overall change is to add cell renaming, that is
4440 setting fancy names for cell symbols other than name matching
4441 "\\`[A-Z]+[0-9]+\\'" regexp .
4442 (ses-create-cell-variable): New defun.
4443 (ses-relocate-formula): Relocate formulas only for cells the
4444 symbols of which are not renamed, i.e. symbols whose names do not
4445 match regexp "\\`[A-Z]+[0-9]+\\'".
4446 (ses-relocate-all): Relocate values only for cells the symbols of
4447 which are not renamed.
4448 (ses-load): Create cells variables as the (ses-cell ...) are read,
4449 in order to check row col consistency with cell symbol name only
4450 for cells that are not renamed.
4451 (ses-replace-name-in-formula): New defun.
4452 (ses-rename-cell): New defun.
4453
ee957461
CY
44542011-12-11 Chong Yidong <cyd@gnu.org>
4455
4456 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4457 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4458
9a9e9ef0
MR
44592011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4460
4461 * window.el (other-window): Fix docstring.
4462
92a8eba5
EZ
44632011-12-10 Eli Zaretskii <eliz@gnu.org>
4464
4465 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4466 `from' or `to' address before taking its substring.
4467 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4468 encoded name is chopped in the middle of the encoded string, and
4469 thus displayed encoded.
4470
e152e577
JB
44712011-12-10 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4474
e5d84bfe
EZ
44752011-12-10 Eli Zaretskii <eliz@gnu.org>
4476
4477 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4478 to use texinfo-update-node and commands that call it if the
4479 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4480 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4481 (texinfo-all-menus-update, texinfo-master-menu)
4482 (texinfo-update-node, texinfo-every-node-update)
4483 (texinfo-multiple-files-update): Doc fix. Warn against updating
4484 all the @node lines.
4485 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4486 argument is numeric. Explain better in the doc string what the
4487 function really does.
4488 (texinfo-insert-master-menu-list): Improve the error message
4489 displayed if there's no menu in the Top node.
4490 (Bug#2975) See also this thread:
e5d84bfe
EZ
4491 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4492
1d84e9bb
MG
44932011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4494
4495 * speedbar.el (speedbar-supported-extension-expressions):
4496 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4497
382c953b
JB
44982011-12-09 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * printing.el (pr-mode-alist):
4501 * simple.el (filter-buffer-substring-functions)
4502 (completion-list-insert-choice-function):
4503 * window.el (window-with-parameter, window-atom-root)
4504 (window-sides-slots, window-size-fixed, window-min-delta)
4505 (window-max-delta, window--resize-mini-window)
4506 (window--resize-child-windows-normal, window-tree)
4507 (delete-other-windows, quit-window, split-window)
4508 (display-buffer-record-window, special-display-buffer-names)
4509 (special-display-regexps, special-display-popup-frame)
4510 (same-window-p, split-window-sensibly)
4511 (display-buffer-overriding-action, display-buffer-alist)
4512 (display-buffer-base-action, display-buffer, switch-to-buffer)
4513 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4514 (fit-window-to-buffer, recenter-positions)
4515 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4516 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4517 and remove unneeded backslashes in docstrings.
4518
39c9faef
SM
45192011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4520
98449af8
SM
4521 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4522
39c9faef
SM
4523 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4524 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4525 end in ".mk".
4526 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4527 when reading the makefile (bug#10116).
4528
86ed9fdc
SM
45292011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4532 (bug#10116).
4533
5580f89d
GM
45342011-12-06 Glenn Morris <rgm@gnu.org>
4535
4536 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4537
28d3917c
CY
45382011-12-06 Chong Yidong <cyd@gnu.org>
4539
4540 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4541
a98edce9
JB
45422011-12-06 Juanma Barranquero <lekktu@gmail.com>
4543
4544 * textmodes/table.el (table-shorten-cell): Fix typo.
4545
e65adfac
CG
45462011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4547
4548 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4549
71cc0b74
EZ
45502011-12-05 Eli Zaretskii <eliz@gnu.org>
4551
4552 * descr-text.el (describe-char): Fix display of strong
4553 right-to-left characters and directional embeddings and overrides.
4554
4555 * simple.el (what-cursor-position): Fix display of codepoints of
4556 strong right-to-left characters.
4557
315bc30d
CY
45582011-12-05 Chong Yidong <cyd@gnu.org>
4559
4560 * faces.el (read-color): Doc fix.
4561
58a70b94
GM
45622011-12-05 Glenn Morris <rgm@gnu.org>
4563
4564 * align.el (align--set-marker): Add doc-string.
4565 Don't try to move something that is not a marker. (Bug#10216)
4566
5158face
GM
45672011-12-04 Glenn Morris <rgm@gnu.org>
4568
4569 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4570 overly zealous deletion of trailing whitespace.
4571
520fca41
JB
45722011-12-04 Juanma Barranquero <lekktu@gmail.com>
4573
4574 * server.el (server-delete-client): On Windows, do not try to delete
4575 the only terminal.
4576 (server-process-filter): On Windows, treat requests for a tty frame as
4577 if they were for a GUI frame if the running server is in GUI mode.
4578
5e605a2e
GM
45792011-12-03 Glenn Morris <rgm@gnu.org>
4580
4581 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4582
5c3fe83f
SM
45832011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4584
6f5e57e7
SM
4585 * electric.el: Streamline electric-indent's hook.
4586 (electric-indent-chars): Revert to simple list.
4587 (electric-indent-functions): New var.
4588 (electric-indent-post-self-insert-function): Use it.
4589
5c3fe83f
SM
4590 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4591 there's no inferior buffer (bug#10196).
4592 (prolog-consult-compile): Don't use toggle-read-only.
4593
6bdac736
MA
45942011-12-02 Michael Albinus <michael.albinus@gmx.de>
4595
4596 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4597 interrupt. (Bug#10187)
4598
6131ba7f
SM
45992011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4600
99c79fee
SM
4601 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4602 (bug#9160).
4603
6131ba7f
SM
4604 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4605 (bug#10191).
4606
cb0a02ea
JL
46072011-12-02 Juri Linkov <juri@jurta.org>
4608
4609 * info.el (Info-search): Display "end of manual" when Isearch
4610 reaches the end of single-file Info manual. (Bug#9918)
4611
66e0570c
EZ
46122011-12-02 Eli Zaretskii <eliz@gnu.org>
4613
4614 * isearch.el (isearch-message-prefix): Run the input method part
4615 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4616
02b16839
JL
46172011-12-02 Juri Linkov <juri@jurta.org>
4618
4619 * isearch.el (isearch-occur): Use `word-search-regexp' for
4620 `isearch-word'.
4621 (isearch-search-and-update): Add condition for `isearch-word' and
4622 call `word-search-regexp'. (Bug#10145)
4623
0b950688
GM
46242011-12-01 Glenn Morris <rgm@gnu.org>
4625
4626 * eshell/em-hist.el (eshell-hist-initialize):
4627 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4628 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4629
9505c3c7
SM
46302011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4633
1bbe96b2 46342011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4635
a1beca85
SM
4636 * progmodes/verilog-mode.el (verilog-pretty-expr):
4637 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4638 verilog, such as += *= and the like.
4639 (verilog-assignment-operator-re): Regular expression to find the
4640 assigment operator in a verilog assignment.
4641 (verilog-assignment-operation-re): Regular expression to find an
4642 assignment statement for pretty-expr.
4643 (verilog-in-attribute-p): Query returns true if point is in an
4644 attribute context; used to skip these for expression line up from
4645 pretty-expr.
4646 (verilog-in-parameter-p): Query returns true if point is in an
4647 parameter definition context; used to skip these for expression
4648 line up from pretty-expr.
4649 (verilog-in-parenthesis-p): Query returns true if point is in a
4650 parenthetical expression, specifically ( ) but not [ ] or { };
4651 used by pretty-expr.
4652 (verilog-just-one-space): If there is no space, don't add one.
4653 (verilog-get-lineup-indent-2): Specifically skip just attribute
4654 contexts for expression lineup, rather than skipping all
4655 parenthetical expressions.
4656 (verilog-calculate-indent): Fix comment, and fix indent.
4657 (verilog-do-indent): Indent declarations in lists (suggested by
4658 Joachim Lechner).
4659 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4660 skeleton items.
4661 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4662 by Alain Mellan).
4663
1bbe96b2 46642011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4665
4666 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4667 parameters with embedded comments. Reported by Ray Stevens.
4668 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4669 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4670 Reported by Tim Holt.
4671 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4672 instantiated by upper module causing wrong expansion until AUTOed a
4673 second time. Reported by K C Buckenmaier.
4674 (verilog-diff-auto): Fix showing .* as a difference when
4675 `verilog-auto-star-save' off. Reported by Dan Dever.
4676 (verilog-auto-reset, verilog-read-always-signals)
4677 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4678 temporary signals in reset list if
4679 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4680 style to each signal's assignment type, bug381.
4681 Reported by Thomas Esposito.
6288f0ca
WS
4682 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4683 (verilog-uvm-statement-re): Support UVM indentation and
4684 highlighting, with old OVM keywords only.
a1beca85 4685 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4686 Support AUTOTIEOFF creating non-wire data types.
4687 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4688 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4689 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4690 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4691 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4692 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4693 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4694 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4695 non-numeric vector width. Reported by Alex Reed.
4696 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4697 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4698 (verilog-auto-delete-trailing-whitespace):
4699 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4700 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4701 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4702 Fix verilog-scan-cache corruption when running user AUTO expansion
4703 hooks that call indentation routines.
4704 (verilog-simplify-range-expression): Fix typo ignoring lower case
4705 identifiers.
4706 (verilog-delete-auto): Fix delete-autos to also remove user created
4707 automatics, as long as they start with AUTO.
4708 (verilog-batch-diff-auto, verilog-diff-auto)
4709 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4710 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4711 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4712 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4713 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4714 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4715 is disabled and its cache will get corrupt, causing AUTOS not to
4716 expand. Instead use only -quick functions.
4717 (verilog-scan-region): Fix scanning over escaped quotes.
4718 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4719 (verilog-re-search-backward-quick)
4720 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4721 related functions now ignore strings, to fix misparsing of strings
4722 with magic comments embedded in them.
a1beca85
SM
4723 (verilog-read-auto-template):
4724 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4725 Reported by Brad Dobbie.
4726 (verilog-read-auto-template):
4727 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4728 Reported by Brad Dobbie.
6288f0ca
WS
4729 (verilog-auto-inst, verilog-auto-inst-param)
4730 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4731 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4732 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4733 debugging templates without merge conflicts, bug357.
4734 Reported by Brad Dobbie.
4735 (verilog-read-auto-template):
4736 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4737 Reported by Brad Dobbie.
4738 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4739 abbrevs so user won't be asked to save.
4740 (verilog-read-auto-lisp-present): Fix to start at beginning of
4741 buffer in case called outside of verilog-auto.
4742 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4743 to "X-2". Reported by Matthew Myers.
4744 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4745 all inputs from module templates. Reported by Leith Johnson.
4746 (verilog-module-inside-filename-p): Fix locating programs as with
4747 modules.
4748 (verilog-auto-inst-port): Fix vl-width expressions when using
4749 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4750 (verilog-decls-get-regs, verilog-decls-get-signals,
4751 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4752 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4753 verilog-read-decls): Combine reg and wire structures into one var
4754 structure to represent SystemVerilog concepts.
4755 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4756 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4757 (verilog-auto-wire-type, verilog-insert-definition):
4758 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4759 SystemVerilog "logic" keyword instead of "wire"/"reg".
4760 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4761 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4762 ifdef or generate if so there's not a driver conflict).
4763 Reported by Matthew Myers.
4764 (verilog-auto-declare-nettype, verilog-insert-definition):
4765 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4766 `default_nettype none. Reported by Julian Gorfajn.
4767 (verilog-read-always-signals-recurse, verilog-read-decls)
4768 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4769 malformed end statement, bug325. Reported by Joshua Wise and
4770 Andrew Drake.
4771 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4772 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4773 when expanding .* in interfaces, bug320.
4774 Reported by Pierre-David Pfister.
6288f0ca 4775 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4776 name and open parenthesis, bug317.
4777 Reported by Pierre-David Pfister.
6288f0ca
WS
4778 (verilog-simplify-range-expression): Fix simplification of
4779 multiplications inside AUTOWIRE connections, bug303.
4780 (verilog-auto-inst-port): Support parameter expansion in
4781 multidimensional arrays.
4782 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4783 after "assert property". Reported by Julian Gorfajn.
4784 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4785 with multiplication, bug303.
4786 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4787 Reported by Jan Frode Lonnum.
4788
1bbe96b2
GM
47892011-11-30 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4792 (hfy-shell-file-name, hfy-shell):
4793 * international/fontset.el (x-decompose-font-name): Fix typos.
4794
47952011-11-29 Ken Brown <kbrown@cornell.edu>
4796
4797 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4798 (gdb-version): Remove defvar.
4799 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4800 (gdb-gud-context-command, gdb-non-stop-handler)
4801 (gdb-current-context-command, gdb-stopped): Use it.
4802 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4803 (gdb-non-stop-handler): Don't enable pretty-printing here.
4804 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4805 non-stop mode. Use the following.
4806 (gdb-check-target-async): New defun.
4807 (gud-watch, gdb-stopped): Fix whitespace.
4808 (gdb-get-source-file): Don't try to display the source file if
4809 `gdb-main-file' is nil.
4810
48112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * align.el: Try to generate fewer markers (bug#10047).
4814 (align--set-marker): New macro.
4815 (align-region): Use it.
4816
c935221f
SM
48172011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4820
e70b5064
CY
48212011-11-29 Chong Yidong <cyd@gnu.org>
4822
4823 * indent.el (indent-for-tab-command, indent-according-to-mode):
4824 Doc fix.
4825 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4826
f3af92b7
MA
48272011-11-29 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4830 aware of remote file names. (Bug#10124)
4831
ed472be9
CY
48322011-11-29 Chong Yidong <cyd@gnu.org>
4833
4834 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4835
24510c22
SM
48362011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * files.el (find-file): Don't use force-same-window (bug#10144).
4839 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4840 use pop-to-buffer if the selected window can't be used.
4841 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4842
c60c3703
EZ
48432011-11-28 Eli Zaretskii <eliz@gnu.org>
4844
4845 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4846 special-mode-map.
4847
e95def75
CY
48482011-11-28 Chong Yidong <cyd@gnu.org>
4849
4850 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4851
c3f1c606
NR
48522011-11-27 Nick Roberts <nickrob@snap.net.nz>
4853
4854 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4855 gdb-get-source-file-list on gdb-create-source-file-list.
4856
00db469c
EZ
48572011-11-26 Eli Zaretskii <eliz@gnu.org>
4858
4859 * whitespace.el (whitespace-newline): Use a different foreground
4860 color for 16-color light-background displays.
4861
4ad3bc2a
CY
48622011-11-24 Chong Yidong <cyd@gnu.org>
4863
4864 * window.el (display-buffer--special-action): Doc fix.
4865
e9fce1ac
JB
48662011-11-25 Juanma Barranquero <lekktu@gmail.com>
4867
4868 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4869 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4870 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4871 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4872 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4873 (avl-tree-stack-first):
4874 * emacs-lisp/cconv.el (cconv--analyse-use):
4875 * net/gnutls.el (gnutls-negotiate): Fix typos.
4876
cb825e5d
GM
48772011-11-24 Glenn Morris <rgm@gnu.org>
4878
3adbe224
GM
4879 * lpr.el (lpr-windows-system, lpr-lp-system):
4880 * mail/binhex.el (binhex-begin-line):
4881 * progmodes/grep.el (grep-history, grep-find-history):
4882 * textmodes/flyspell.el:
4883 * vc/pcvs-defs.el (cvs-global-menu):
4884 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4885 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4886 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4887
321decc8
GM
4888 * net/tls.el: Fix case of "GnuTLS".
4889
420b63ad
GM
4890 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4891
cb825e5d
GM
4892 * version.el (emacs-build-system): Give it a doc-string.
4893
a0649f08
JL
48942011-11-24 Juri Linkov <juri@jurta.org>
4895
4896 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4897
c0bc0fd4
GM
48982011-11-24 Glenn Morris <rgm@gnu.org>
4899
4900 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4901 if called on a non-mime message just toggle the headers. (Bug#8006)
4902
20db1522
JB
49032011-11-24 Juanma Barranquero <lekktu@gmail.com>
4904
4905 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4906 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4907 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4908 (allout-rebullet-heading, allout-open-sibtopic)
4909 (allout-toggle-current-subtree-encryption)
4910 (allout-toggle-subtree-encryption, allout-encrypt-string)
4911 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4912 (allout-distinctive-bullets-string, allout-auto-activation):
4913 * window.el (window-normalize-buffer-to-display):
4914 * progmodes/verilog-mode.el (verilog-batch-indent):
4915 * textmodes/bibtex.el (bibtex-field-braces-opt)
4916 (bibtex-field-strings-opt):
4917 * vc/cvs-status.el (cvs-tree-merge):
4918 Fix typos.
4919
7262a87c
MA
49202011-11-23 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4923 `non-essential' to t, in order to avoid remote connections.
4924
283430a1
EZ
49252011-11-23 Eli Zaretskii <eliz@gnu.org>
4926
a1beca85
SM
4927 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4928 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4929 case-insensitively.
4930
d2992a38
ML
49312011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4932
4933 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4934
50419064
GM
49352011-11-23 Glenn Morris <rgm@gnu.org>
4936
da94eca1
GM
4937 * paths.el (rmail-file-name): Reformat the doc-string so that it
4938 is picked up.
4939
9aac4de2
GM
4940 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4941 (rmail-auto-file): Ignore case in the "special" field names,
4942 as mail-fetch-field does for all others.
4943
8038d2d2
GM
4944 * mail/rmail.el (rmail-forward):
4945 * mail/rmailkwd.el (rmail-set-label):
4946 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4947 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4948
f3fe222a
GM
4949 * mail/rmail.el (rmail-current-message): Doc fix.
4950
50419064
GM
4951 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4952
28109f49
SM
49532011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4956
394c65f1
GM
49572011-11-22 Glenn Morris <rgm@gnu.org>
4958
4959 * mail/rmailmm.el (test-rmail-mime-handler)
4960 (test-rmail-mime-bulk-handler)
4961 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4962
f2a0aa3a
JL
49632011-11-21 Juri Linkov <juri@jurta.org>
4964
1154d12e
JB
4965 * calc/calc.el (calc-read-key-sequence):
4966 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4967
9c34a344
LMI
49682011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4969
4970 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4971 Tell the caller that the next line needs recomputation, even
4972 though it doesn't start a sexp (bug#10094).
4973
f04a3be9
SM
49742011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4977
7978747f
SM
49782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4979
f04a3be9
SM
4980 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4981 Use force-same-window.
7978747f 4982
fe7a3057
JB
49832011-11-20 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * descr-text.el (describe-char-unicode-data):
4986 * json.el (json-string-escape):
4987 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4988 (Footnote-unicode, Footnote-style-p):
4989 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4990
24901d61
CY
49912011-11-20 Chong Yidong <cyd@gnu.org>
4992
4993 * window.el (replace-buffer-in-windows): Restore interactive spec.
4994
bac7ff22
SM
49952011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4996
24f3d7b9
SM
4997 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4998
bac7ff22
SM
4999 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5000 (byte-compile-global-not-obsolete-vars): New var.
5001 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5002 Use it.
5003 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5004
cd1181db
JB
50052011-11-20 Juanma Barranquero <lekktu@gmail.com>
5006
5007 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5008 * progmodes/pascal.el (electric-pascal-equal):
5009 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5010 * xml.el (xml-substitute-special): Fix typos.
5011
7fb18e9e
GM
50122011-11-20 Glenn Morris <rgm@gnu.org>
5013
5014 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5015 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5016 Doc fixes.
5017 (rmail-decode-mime-charset): Mark as obsolete.
5018
5019 * mail/rmailsum.el (rmail-message-regexp-p-1):
5020 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5021 Before using mime functions, check they are set. (Bug#10077)
5022
d5a6b3ba
JL
50232011-11-19 Juri Linkov <juri@jurta.org>
5024
5025 * info.el (Info-finder-find-node): Use `package--builtins' instead
5026 of `package-alist'. Use node names formed by the pattern "Keyword "
5027 and the keyword name.
5028
e981b61f
AS
50292011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5030
1d00653d 5031 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5032
3ffbc301
JL
50332011-11-19 Juri Linkov <juri@jurta.org>
5034
5035 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5036 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5037 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5038 `old-history', `old-history-forward'. Add let-binding
5039 `window-selected'. Remove calls to `kill-buffer',
5040 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5041 before calling `Info-find-node', so `Info-find-node-2' will reread
5042 the Info file. Restore window positions only when `window-selected'
5043 is non-nil.
5044
30c62133
JL
50452011-11-19 Juri Linkov <juri@jurta.org>
5046
5047 * isearch.el (isearch-lazy-highlight-new-loop):
5048 Remove condition `(not isearch-error)'. (Bug#9918)
5049
5050 * misearch.el (multi-isearch-search-fun): Add condition
5051 `(not bound)' to ignore lazy-highlighting search.
5052 Add the search-failed message "end of multi" when the end of
5053 multi-sequence is reached. Uncapitalize the search-failed
5054 message "Repeat for next buffer".
5055
5056 * info.el (Info-search): Add the search-failed message
5057 "end of the manual" when the end of the manual is reached
5058 in Isearch mode.
5059
645ca9cf
JL
50602011-11-19 Juri Linkov <juri@jurta.org>
5061
5062 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5063 Use non-destructive `remove' instead of `delete' because
5064 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5065 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5066
df754f66
JL
50672011-11-19 Juri Linkov <juri@jurta.org>
5068
5069 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5070 to nil instead of binding `search-ring' and `regexp-search-ring'.
5071 (Bug#9185)
5072
0e23d96a
EZ
50732011-11-19 Eli Zaretskii <eliz@gnu.org>
5074
5075 * simple.el (line-move): Force movement by logical lines for any
5076 hscrolled window, not only when auto-hscroll-mode is on.
5077 (line-move-visual): Update doc string to that effect. (Bug#10076)
5078
8a6ccb66
AS
50792011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 * language/european.el (macintosh): Define as alias for mac-roman.
5082
49ae5b39
EZ
50832011-11-19 Eli Zaretskii <eliz@gnu.org>
5084
5085 * mail/rmailmm.el (rmail-mime-display-header)
5086 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5087 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5088 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5089 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5090 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5091 of a raw aref.
5092 (rmail-mime-entity-segment): To get past the tagline, move forward
5093 2 more lines, to account for the 2 empty lines that precede and
5094 follow the line with the buttons.
5095 (rmail-mime-update-tagline): Move one more line, to get past the
5096 empty line that follows the buttons in the tagline. (Bug#9520)
5097
c56cad4a
MR
50982011-11-19 Martin Rudalics <rudalics@gmx.at>
5099
5100 * window.el (window-max-delta-1, window-min-delta-1)
5101 (window-min-size-1, window-state-get-1, window-state-put-1)
5102 (window-state-put-2): Use "window--" prefix.
5103
cbe71af3
SM
51042011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5105
2ad52c60
SM
5106 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5107 (smie-warning-count): New var.
5108 (smie-set-prec2tab): Use it.
5109 (smie-bnf->prec2): Improve warnings. Add docstring.
5110 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5111 (smie-bnf--set-class): New function.
5112 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5113 corner case.
5114
6944dbc1
SM
5115 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5116 (compilation-error-properties, compilation-move-to-column):
5117 Handle compilation-first-column while in the target buffer.
5118
c400c4d7
SM
5119 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5120 Don't hardcode point-min==1.
5121
6dbe3e96
SM
5122 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5123 (eshell-rewrite-for-command): Remove workaround.
5124 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5125 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5126 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5127
cbe71af3
SM
5128 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5129
a8e1496d
GM
51302011-11-17 Glenn Morris <rgm@gnu.org>
5131
5132 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5133 Ignore buffer-local generated-autoload-file if it is the same
5134 as the global value. (Bug#10049)
5135
df85d315
JB
51362011-11-17 Juanma Barranquero <lekktu@gmail.com>
5137
5138 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5139 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5140 (reftex-toc-previous-heading, reftex-toc-max-level)
5141 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5142 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5143 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5144 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5145 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5146 (reftex-toc-rename-label, reftex-toc-visit-location)
5147 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5148 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5149 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5150 leaving "*toc*" only for references to the buffer.
5151
a0c2d0ae
MR
51522011-11-17 Martin Rudalics <rudalics@gmx.at>
5153
5154 * window.el (window-resize, delete-window, split-window):
5155 Replace window-splits by window-combination-resize.
1d00653d 5156 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5157
35c0bac8
GM
51582011-11-17 Glenn Morris <rgm@gnu.org>
5159
5160 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5161 Make bash entry derive from sh entry, not shell entry.
5162
d0c8fc8a
MA
51632011-11-16 Michael Albinus <michael.albinus@gmx.de>
5164
d0c8fc8a
MA
5165 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5166 properties of linked files. (Bug#9879)
5167
7262a87c
MA
5168 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5169 local file name.
5170
7877f373
JB
51712011-11-16 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * menu-bar.el (menu-bar-file-menu):
5174 * printing.el (pr-ps-utility):
5175 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5176 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5177 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5178 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5179 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5180 (icalendar--convert-cyclic-to-ical)
5181 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5182 (icalendar--convert-ical-to-diary)
5183 (icalendar--convert-recurring-to-diary)
5184 (icalendar--convert-non-recurring-all-day-to-diary)
5185 (icalendar-import-format-sample):
5186 * progmodes/idlw-shell.el (idlwave-shell-mode):
5187 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5188 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5189 (vhdl-ps-print-init): Fix typos.
5190
10649b82
KM
51912011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5192
9d0cfcd6
GM
5193 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5194 FSF and collapse date sequence, obscure author/maintainer email address
5195 better, remove extra version line, track relocation of author's webpage.
10649b82 5196
9d0cfcd6
GM
5197 * progmodes/python.el (python-pdbtrack-input-prompt)
5198 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5199 regular python pdb prompts. Adjustments shamelessly taken exactly as
5200 suggested in EmacsWiki page (tiny change):
5201 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5202
58179cce
JB
52032011-11-16 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * expand.el (expand-pos, expand-index, expand-point):
5206 Remove redundant info from docstring.
5207 (expand-add-abbrevs): Doc fix.
5208 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5209 (expand-sample-perl-mode-expand-list): Fix typos.
5210
5211 * net/dbus.el (dbus-event-member-name):
5212 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5213 * term/pc-win.el (msdos-create-frame-with-faces):
5214 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5215
b6f67890
MR
52162011-11-16 Martin Rudalics <rudalics@gmx.at>
5217
5218 * window.el (split-window, window-state-get-1)
5219 (window-state-put-1, window-state-put-2): Rename occurrences of
5220 window-nest to window-combination-limit.
1d00653d 5221 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5222
ce7ddba0
CY
52232011-11-16 Chong Yidong <cyd@gnu.org>
5224
5225 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5226 regexp (Bug#10033).
5227
3ae704f4
SM
52282011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5229
5230 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5231 `completing-read' will remove *Completions* and will preserve
5232 current-buffer for us.
5233 (tmm-add-prompt): Users of *Completions* will always (re)set its
5234 major mode.
5235 (tmm-old-comp-map): Remove.
5236
6ad1cdde
GM
52372011-11-16 Glenn Morris <rgm@gnu.org>
5238
5239 * mail/rmailedit.el: Require rmailmm when compiling.
5240 (rmail-old-mime-state): New declaration.
5241 (rmail-edit-current-message): If editing a mime message,
5242 edit the "raw" message from the mbox buffer.
5243 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5244
d20faa20
GM
52452011-11-15 Glenn Morris <rgm@gnu.org>
5246
5247 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5248 which wasn't being used. Add optional arg to force given state.
5249 (rmail-mime): Add optional arg to force given state.
5250
c7015153
JB
52512011-11-15 Juanma Barranquero <lekktu@gmail.com>
5252
5253 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5254 * frame.el (display-mm-dimensions-alist):
5255 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5256 (outline-move-subtree-down):
5257 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5258 (newsticker--treeview-do-get-node):
5259 * net/quickurl.el (quickurl-list-buffer-name):
5260 * progmodes/dcl-mode.el (dcl-mode):
5261 * progmodes/gdb-mi.el (gdb-mapcar*):
5262 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5263
45261b50
GM
52642011-11-15 Glenn Morris <rgm@gnu.org>
5265
5266 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5267 in a boolean sense, so just make it a boolean, and fix the doc.
5268 (rmail-show-mime-function, rmail-mime-feature)
5269 (rmail-require-mime-maybe): Doc fixes.
5270 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5271
5272 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5273
0d26e0b6
JB
52742011-11-15 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5277 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5278 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5279 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5280
447f30f6
GM
52812011-11-15 Glenn Morris <rgm@gnu.org>
5282
672b871d
GM
5283 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5284 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5285 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5286 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5287 (rmail-mime, rmail-show-mime): Doc fixes.
5288
f6aa5bb1
GM
5289 * term/ns-win.el (mode-line-frame-identification):
5290 Leave it alone. (Bug#10051)
5291
947cd66b
GM
5292 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5293
447f30f6
GM
5294 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5295 Handle empty buffers. (Bug#9978)
5296
0b381c7e
JB
52972011-11-14 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * international/mule.el (define-charset):
5300 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5301 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5302 * progmodes/verilog-mode.el (verilog-backward-token):
5303 * textmodes/ispell.el (lookup-words):
5304 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5305
71e027ac
GM
53062011-11-14 Glenn Morris <rgm@gnu.org>
5307
56632ce4
GM
5308 * progmodes/executable.el
5309 (executable-make-buffer-file-executable-if-script-p):
5310 Handle file-modes returning nil.
5311
40500957
GM
5312 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5313 message - not necessary, and causes problems. (Bug#9831)
5314
071c2340
GM
5315 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5316
d3cfca60
GM
5317 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5318
71e027ac
GM
5319 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5320 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5321 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5322
89d61221
MR
53232011-11-12 Martin Rudalics <rudalics@gmx.at>
5324
5325 * window.el (window-resize, delete-window): Use window-splits
5326 variable instead of function.
5327 (window-state-get-1, window-state-put-2, window-state-put):
5328 Don't deal with windows' splits status.
5329
98282f6f
GM
53302011-11-12 Glenn Morris <rgm@gnu.org>
5331
5332 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5333 (apropos-documentation): Doc fixes.
5334
40a8bdf6
JB
53352011-11-11 Juanma Barranquero <lekktu@gmail.com>
5336
5337 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5338 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5339
65bd19ff
SM
53402011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * electric.el (electric-indent-post-self-insert-function): Make it
5343 possible for a char to only indent in some circumstances.
5344 (electric-indent-mode): Simplify.
5345
54f9154c
MR
53462011-11-11 Martin Rudalics <rudalics@gmx.at>
5347
5348 * window.el (windows-with-parameter): Remove unused function.
5349 (windows-at-side): Rename to window-at-side-list.
5350 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5351 (window-side-check, window-size-ignore, window-size-fixed-1)
5352 (window-in-direction-2): Prefix with "window--".
5353 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5354
68cbc58b
GM
53552011-11-11 Glenn Morris <rgm@gnu.org>
5356
5357 * subr.el (eval-after-load): If FILE is already loaded,
5358 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5359
b2621720
GM
53602011-11-10 Glenn Morris <rgm@gnu.org>
5361
9a4de110
GM
5362 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5363 Call svn via vc-svn-command rather than vc-do-command.
5364 (vc-svn-command): Add --non-interactive. (Bug#9993)
5365 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5366
b2621720
GM
5367 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5368 Add toggle-read-only. (Bug#7292)
5369 * files.el (toggle-read-only): Mention that it should only
5370 be used interactively. (Bug#10006)
5371
1dce7193
SM
53722011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5373
d9ac1a1e
SM
5374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5375 Adjust regexp for OCaml warnings.
5376
0c325082
SM
5377 * electric.el (electric-pair-post-self-insert-function): Let user
5378 turn it off buffer-locally (bug#9932).
5379
90132c14
SM
5380 * progmodes/python.el (python-beginning-of-statement):
5381 Rewrite (bug#2703).
5382
1dce7193
SM
5383 * progmodes/compile.el: Better handle TABs (bug#9749).
5384 (compilation-internal-error-properties)
5385 (compilation-next-error-function): Obey the target buffer's
5386 compilation-error-screen-columns.
5387
c4e7c63a
JB
53882011-11-09 Juanma Barranquero <lekktu@gmail.com>
5389
5390 * progmodes/meta-mode.el: Remove obsolete comments.
5391 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5392 Fix typos in docstrings.
5393
2cffd681
MR
53942011-11-09 Martin Rudalics <rudalics@gmx.at>
5395
5396 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5397 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5398 (window--resizable): New function. Make all callers of
5399 window-resizable call window--resizable instead.
5400 (window-resizable): Rewrite in terms of window--resizable.
5401
0edcba87
GM
54022011-11-08 Glenn Morris <rgm@gnu.org>
5403
5404 * progmodes/delphi.el (delphi-mode-syntax-table):
5405 Let define-derived-mode define a proper syntax table. (Bug#9994)
5406
4b0d61e3
SM
54072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * window.el: Stay away from defsubst.
5410 (window-list-no-nils): Remove.
5411 (window-state-get-1, window-state-get): Use backquote instead.
5412
cd394be1 54132011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5414
4b0d61e3 5415 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5416 Fix incorrect use of default argument in `completing-read'.
5417
e1c2c6f2
MR
54182011-11-08 Martin Rudalics <rudalics@gmx.at>
5419
5420 * window.el (display-buffer-function, special-display-function):
5421 Mention display-buffer-record-window but do not mention
5422 help-setup parameter in doc-strings.
b3f4a882 5423 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5424
105216ed
CY
54252011-11-08 Chong Yidong <cyd@gnu.org>
5426
5427 * window.el (window-total-height, window-total-width): Doc fix.
5428 (window-body-size): Move from C.
5429 (window-body-height, window-body-width): Move to C.
5430
0a9f9ab5
SM
54312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * window.el: Make special-display like display-buffer-alist (bug#9532).
5434 (display-buffer--special-action): New function, morphed
5435 from display-buffer--special.
5436 (display-buffer): Use it to handle special-display-buffers at higher
5437 priority (just after display-buffer-alist).
5438 (display-buffer-fallback-action, display-buffer--other-frame-action)
5439 (pop-to-buffer-same-window): Remove display-buffer--special.
5440
a769dd15
GM
54412011-11-07 Glenn Morris <rgm@gnu.org>
5442
5443 * calendar/cal-menu.el (cal-menu-set-date-title):
5444 Do nothing if not in a calendar. (Bug#9976)
5445
05a61ee3
SM
54462011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * files.el (find-file): Always use selected-window.
5449
be7f5545
MR
54502011-11-07 Martin Rudalics <rudalics@gmx.at>
5451
5452 * window.el (window-combinations): Make WINDOW argument
5453 mandatory. Rewrite doc-string.
5454 (walk-window-subtree, window-atom-check, window-min-delta)
5455 (window-max-delta, window--resize-this-window)
5456 (window--resize-root-window-vertically, window-tree)
5457 (balance-windows, window-state-put): Rewrite doc-strings as to
5458 not mention the term "subwindow".
5459 (window--resize-subwindows-skip-p): Rename to
5460 window--resize-child-windows-skip-p.
5461 (window--resize-subwindows-normal): Rename to
5462 window--resize-child-windows-normal.
5463 (window--resize-subwindows): Rename to
5464 window--resize-child-windows.
5465 (window-or-subwindow-p): Rename to window--in-subtree-p.
5466
3c6702ef
ML
54672011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5468
5469 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5470 Ensure that mbox format messages end in two newlines (Bug#9974).
5471
49745b39
CY
54722011-11-06 Chong Yidong <cyd@gnu.org>
5473
5474 * window.el (window-combination-p): Function deleted; its
5475 side-effect is not used in any existing code.
5476 (window-combinations, window-combined-p): Call window-*-child
5477 directly.
5478
24300f5f
CY
54792011-11-05 Chong Yidong <cyd@gnu.org>
5480
5481 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5482 (window-size-ignore, window-state-get): Callers changed.
5483 (window-normalize-window): Rename from window-normalize-any-window.
5484 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5485 (window-normalize-live-window): Delete.
447f16b8
CY
5486 (window-combination-p, window-combined-p, window-combinations)
5487 (walk-window-subtree, window-atom-root, window-min-size)
5488 (window-sizable, window-sizable-p, window-size-fixed-p)
5489 (window-min-delta, window-max-delta, window-resizable)
5490 (window-resizable-p, window-full-height-p, window-full-width-p)
5491 (window-current-scroll-bars, window-point-1, set-window-point-1)
5492 (window-at-side-p, window-in-direction, window-resize)
5493 (adjust-window-trailing-edge, maximize-window, minimize-window)
5494 (window-deletable-p, delete-window, delete-other-windows)
5495 (record-window-buffer, unrecord-window-buffer)
5496 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5497 (quit-window, split-window, window-state-put)
5498 (set-window-text-height, fit-window-to-buffer)
5499 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5500
89bd5ee1
EZ
55012011-11-04 Eli Zaretskii <eliz@gnu.org>
5502
53479029
EZ
5503 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5504 rfc2047-decode-string.
5505 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5506 warnings.
5507
89bd5ee1
EZ
5508 * window.el (window-body-height, window-body-width): Mention in
5509 the doc string that the return values are in frame's canonical
5510 units. (Bug#9949)
5511
bd17fdee
AM
55122011-11-03 Alan Mackenzie <acm@muc.de>
5513
5514 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5515 change in cc-engine.el.
5516
acc825c5
SM
55172011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5520
1885e5b8
MR
55212011-11-02 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (quit-window): Call unrecord-window-buffer after
5524 showing another buffer in the window. (Bug#9937)
acc825c5 5525 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5526
ebe06da9
JB
55272011-11-02 Juanma Barranquero <lekktu@gmail.com>
5528
5529 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5530 Accept status with more than 9 shelves. (Bug#9935)
5531 Reported by Colin D Bennett <colin@gibibit.com>.
5532
4ee88440
MR
55332011-11-01 Martin Rudalics <rudalics@gmx.at>
5534
5535 * help.el (with-help-window): Don't reference
5536 temp-buffer-show-specifiers in doc-string.
5537
08e1d82c
AS
55382011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5539
5540 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5541 menu-item.
5542
84bd6e9e
VJL
55432011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5544
5545 * whitespace.el: New version 13.2.2.
5546 (whitespace-newline-mode): Disable properly. Reported by Sarah
5547 <EmacsWiki>.
5548
dba0634a
UJ
55492011-10-30 Ulf Jasper <ulf.jasper@web.de>
5550
5551 * net/newst-treeview.el: Remove "Time-stamp".
5552 (newsticker--group-manage-orphan-feeds): Do not call
5553 newsticker--treeview-tree-update.
db22a3c2
JB
5554 (newsticker-treeview-update, newsticker-treeview):
5555 Call newsticker--treeview-tree-update if necessary.
dba0634a 5556
3d8daefe
MR
55572011-10-30 Martin Rudalics <rudalics@gmx.at>
5558
5559 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5560 (window-iso-combinations): Remove "iso-" infix.
5561 Suggested by Chong Yidong.
3d8daefe
MR
5562 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5563 (window-max-delta-1, window-resize, window--resize-siblings)
5564 (window--resize-this-window, adjust-window-trailing-edge)
5565 (split-window, balance-windows-1)
5566 (shrink-window-if-larger-than-buffer):
5567 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5568 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5569
1bc4c3ae
SM
55702011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5573 in place (bug#9907).
5574 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5575 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5576 (eshell-structure-basic-command, eshell-rewrite-while-command)
5577 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5578 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5579 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5580 (eshell-do-pipelines-synchronously, eshell-eval-command):
5581 Use backquotes and prefer setq to set.
5582 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5583 (eshell-macrop): Use functionp.
c1e2f5fa 5584 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5585
30b65d9c
CY
55862011-10-30 Chong Yidong <cyd@gnu.org>
5587
5588 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5589 instead of set-mark (Bug#9810).
5590
2d197ffb
CY
55912011-10-30 Chong Yidong <cyd@gnu.org>
5592
5593 * window.el (split-window-below, split-window-right): Rename from
5594 split-window-above-each-other and split-window-side-by-side
5595 respectively. All callers changed.
5596 (split-window-sensibly, split-window-sensibly): Use them.
5597 (split-window-keep-point): Doc fix.
5598
5599 * isearch.el: Add isearch-scroll property to split-window-below
5600 and split-window-right.
5601
5602 * follow.el (follow-mode):
5603 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5604 * progmodes/ada-xref.el (ada-gdb-application):
5605 * emulation/vip.el (vip-buffer-in-two-windows):
5606 * image-dired.el (image-dired-dired-with-window-configuration):
5607 * dired-x.el (dired-do-find-marked-files):
5608 * dired.el (dired-pop-to-buffer):
5609 * bs.el (bs--show-with-configuration):
5610 * vc/emerge.el (emerge-setup-windows):
5611 * textmodes/two-column.el (2C-two-columns):
5612 * textmodes/reftex-toc.el (reftex-toc):
5613 * progmodes/gdb-mi.el (gdb-setup-windows):
5614 * progmodes/fortran.el (fortran-window-create):
5615 * net/newst-treeview.el (newsticker--treeview-window-init):
5616 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5617 * emulation/tpu-edt.el (tpu-gold-map):
5618 * emulation/crisp.el (crisp-mode-map):
5619 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5620
38bb2ca8
CY
56212011-10-29 Chong Yidong <cyd@gnu.org>
5622
aa4de341
CY
5623 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5624
e1eb5385
CY
5625 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5626
5d2ece3c
CY
5627 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5628 forged Ispell output (Bug#7904).
5629
38bb2ca8
CY
5630 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5631
d0af9f77
SM
56322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * doc-view.el: Avoid ugly errors about not finding nil.
5635 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5636 (doc-view-dvipdf-program, doc-view-unoconv-program)
5637 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5638 Avoid nil or absolute file name as default value.
5639 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5640
52bedd34
AM
56412011-10-28 Alan Mackenzie <acm@muc.de>
5642
db22a3c2 5643 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5644
7e43cfa5
AM
56452011-10-28 Alan Mackenzie <acm@muc.de>
5646
5647 Amend the handling of c-beginning/end-of-defun in nested declaration
5648 scopes.
5649
52bedd34
AM
5650 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5651 cc-langs.el. Change it to a defcustom.
7e43cfa5 5652
52bedd34
AM
5653 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5654 cc-vars.el.
7e43cfa5 5655
d0af9f77
SM
5656 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5657 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5658
52bedd34 5659 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5660 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5661 (c-widen-to-enclosing-decl-scope): New function.
5662 (c-while-widening-to-decl-block): New macro.
5663 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5664 outward for defun boundaries, and correspondingly change symbol
5665 `respect-enclosure' to `go-outward'.
5666 (c-declaration-limits): Change algorithm to report only the "innermost"
5667 defun's boundaries.
5668
1a2ce9ee
DD
56692011-10-28 Deniz Dogan <deniz@dogan.se>
5670
5671 * net/rcirc.el (rcirc-mode): Use hard newlines.
5672
bc97a826
AM
56732011-10-28 Alan Mackenzie <acm@muc.de>
5674
5675 Amend to indent and fontify macros "which include their own semicolon"
5676 correctly, using the "virtual semicolon" mechanism.
5677
52bedd34 5678 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5679
d0af9f77 5680 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5681 Recode to scan one line at a time rather than having \n and \r
58179cce 5682 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5683 (c-forward-label): Amend for virtual semicolons.
58179cce 5684 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5685
52bedd34
AM
5686 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5687 of the new C macros.
bc97a826 5688
52bedd34 5689 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5690 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5691 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5692 (c-opt-cpp-macro-define): Make into a full language variable.
5693 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5694 AWK Mode (including \n, \r) removed, no longer needed.
5695
d0af9f77
SM
5696 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5697 Invoke c-make-macro-with-semi-re.
bc97a826 5698
52bedd34
AM
5699 * progmodes/cc-vars.el (c-macro-with-semi-re):
5700 (c-macro-names-with-semicolon): New variables.
58179cce 5701 (c-make-macro-with-semi-re): New function.
bc97a826 5702
7a6c0941
SM
57032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * vc/log-edit.el: Fill empty field rather than adding new one.
5706 (log-edit-add-field): New function.
5707 (log-edit-insert-changelog): Use it.
5708
b0c4cdcf
ML
57092011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5710
5711 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5712
ee1f1da9
SM
57132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5716 (gdb--check-interpreter): New function.
5717 (gdb): Use it.
5718
51bc5f8b
GM
57192011-10-27 Glenn Morris <rgm@gnu.org>
5720
416a2c45
GM
5721 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5722 (least-positive-float, least-negative-float)
5723 (least-positive-normalized-float, least-negative-normalized-float)
5724 (float-epsilon, float-negative-epsilon):
5725 Remove unnecessary declarations.
5726
5727 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5728 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5729 (least-positive-float, least-negative-float)
5730 (least-positive-normalized-float, least-negative-normalized-float)
5731 (float-epsilon, float-negative-epsilon): Add doc-strings,
5732 based on those in cl.texi.
5733
51bc5f8b
GM
5734 * files.el (set-visited-file-name): If the major-mode changed,
5735 reload the local variables. (Bug#9796)
5736
15de15c6
CY
57372011-10-27 Chong Yidong <cyd@gnu.org>
5738
5739 * subr.el (change-major-mode-after-body-hook): New hook.
5740 (run-mode-hooks): Run it.
5741
ee1f1da9
SM
5742 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5743 Use change-major-mode-before-body-hook.
15de15c6
CY
5744
5745 * simple.el (fundamental-mode):
5746 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5747 change introducing fundamental-mode-hook.
5748
5430d399
JB
57492011-10-26 Juanma Barranquero <lekktu@gmail.com>
5750
acc825c5 5751 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5752
ad74a69e
MA
57532011-10-26 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5756 tramp.el explicitly. (Bug#7583)
ad74a69e 5757
71d4c2a5
SM
57582011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * progmodes/octave-mod.el:
5761 * progmodes/octave-inf.el: Update maintainer.
5762
b1f6fa26
CY
57632011-10-26 Chong Yidong <cyd@gnu.org>
5764
5765 * subr.el (with-wrapper-hook): Rewrite doc.
5766
3f04efd6
MA
57672011-10-25 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5770 filenames "/method:foo:". (Bug#9793)
3f04efd6 5771
410488d3
SM
57722011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5775 (bug#9865).
5776
c1ebb47e
GM
57772011-10-24 Glenn Morris <rgm@gnu.org>
5778
5779 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5780
7f5c46c7
MA
57812011-10-24 Michael Albinus <michael.albinus@gmx.de>
5782
5783 * notifications.el: Add the requirement of a running D-Bus session
5784 bus to the Commentary.
5785
db2440b6
JL
57862011-10-24 Juri Linkov <juri@jurta.org>
5787
5788 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5789 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5790 (Bug#9364)
5791
feecf435
JL
57922011-10-24 Juri Linkov <juri@jurta.org>
5793
5794 * info.el (Info-following-node-name-re): Add newline to the list
5795 of allowed characters for leading space. (Bug#9824)
5796
a3839de2
SM
57972011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5798
acc825c5
SM
5799 * progmodes/octave-inf.el (inferior-octave-mode-map):
5800 Fix C-c C-h binding.
a3839de2
SM
5801 * progmodes/octave-mod.el (octave-help): Remove.
5802
09388e76
MA
58032011-10-23 Michael Albinus <michael.albinus@gmx.de>
5804
5805 Sync with Tramp 2.2.3.
5806
5807 * net/tramp-cache.el (top): Pacify byte-compiler using
5808 `init-file-user' and `site-run-file'.
5809
5810 * net/trampver.el: Update release number.
5811
86c60681
CY
58122011-10-23 Chong Yidong <cyd@gnu.org>
5813
5814 * files.el (toggle-read-only): Remove obsolete comment about
5815 version control.
5816
5817 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5818 for toggle-read-only. Note that this hasn't called vc-next-action
5819 since 2008-05-02, though it wasn't documented at the time.
5820
a3839de2
SM
5821 * vc/ediff-init.el (ediff-toggle-read-only-function):
5822 Use toggle-read-only.
86c60681 5823
cd5495ff
AM
58242011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5825
5826 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5827 of c-parse-state.
5828
00b77525 5829 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5830 correct faulty logical expression.
cd5495ff
AM
5831 (c-parse-state-state, c-record-parse-state-state):
5832 (c-replay-parse-state-state): New defvar/defuns.
5833 (c-debug-parse-state): Use new functions.
5834
42ee24ed
MR
58352011-10-22 Martin Rudalics <rudalics@gmx.at>
5836
5837 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5838 last fix. Use window-in-direction correctly.
42ee24ed 5839
a7dee7e7
CY
58402011-10-21 Chong Yidong <cyd@gnu.org>
5841
5842 * progmodes/idlwave.el (idlwave-mode):
5843 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5844 require-final-newline; that's done in prog-mode.
5845 Suggested by Stefan Monnier.
a7dee7e7 5846
e07b9a6d
MR
58472011-10-21 Martin Rudalics <rudalics@gmx.at>
5848
5849 * mouse.el (mouse-drag-window-above)
5850 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5851 (mouse-drag-mode-line-1, mouse-drag-header-line)
5852 (mouse-drag-vertical-line-rightward-window): Remove.
5853 (mouse-drag-line): New function.
5854 (mouse-drag-mode-line, mouse-drag-header-line)
5855 (mouse-drag-vertical-line): Call mouse-drag-line.
5856 * window.el (window-at-side-p, windows-at-side): New functions.
5857
7e1361d9
UM
58582011-10-21 Ulrich Mueller <ulm@gentoo.org>
5859
5860 * tar-mode.el (tar-grind-file-mode):
5861 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5862
30fcaf3a
CY
58632011-10-21 Chong Yidong <cyd@gnu.org>
5864
5865 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5866 * progmodes/vera-mode.el (vera-mode):
5867 Use mode-require-final-newline.
30fcaf3a 5868
516eddb0
GM
58692011-10-20 Glenn Morris <rgm@gnu.org>
5870
db22a3c2 5871 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5872
10d5f513
CS
58732011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5874
5875 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5876
ac6c8639
CY
58772011-10-20 Chong Yidong <cyd@gnu.org>
5878
5879 * emulation/cua-base.el (cua-mode):
5880 * mail/footnote.el (footnote-mode):
5881 * mail/mailabbrev.el (mail-abbrevs-mode):
5882 * net/xesam.el (xesam-minor-mode):
5883 * progmodes/bug-reference.el (bug-reference-mode):
5884 * progmodes/cap-words.el (capitalized-words-mode):
5885 * progmodes/compile.el (compilation-minor-mode)
5886 (compilation-shell-minor-mode):
5887 * progmodes/gud.el (gud-tooltip-mode):
5888 * progmodes/hideif.el (hide-ifdef-mode):
5889 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5890 * progmodes/subword.el (subword-mode):
5891 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5892 * progmodes/which-func.el (which-function-mode):
5893 * term/tvi970.el (tvi970-set-keypad-mode):
5894 * term/vt100.el (vt100-wide-mode):
5895 * textmodes/flyspell.el (flyspell-mode):
5896 * textmodes/ispell.el (ispell-minor-mode):
5897 * textmodes/nroff-mode.el (nroff-electric-mode):
5898 * textmodes/paragraphs.el (use-hard-newlines):
5899 * textmodes/refill.el (refill-mode):
5900 * textmodes/reftex.el (reftex-mode):
5901 * textmodes/rst.el (rst-minor-mode):
5902 * textmodes/sgml-mode.el (html-autoview-mode)
5903 (sgml-electric-tag-pair-mode):
5904 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5905 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5906 * emulation/crisp.el (crisp-mode):
5907 * emacs-lisp/eldoc.el (eldoc-mode):
5908 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5909 minor mode behavior.
5910
aa42ab43
JL
59112011-10-19 Juri Linkov <juri@jurta.org>
5912
5913 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5914 the list of hard-coded chars with escape-glyph face.
5915
89400f1d
SM
59162011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5919
305c07f6
MA
59202011-10-19 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5923 running process.
5924
13754b54
GM
59252011-10-19 Glenn Morris <rgm@gnu.org>
5926
5927 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5928 Ignore ignored files. (Bug#9726)
5929
06e21633
CY
59302011-10-19 Chong Yidong <cyd@gnu.org>
5931
5932 Doc fix for minor modes, stating that an omitted argument enables
5933 the mode unconditionally when called from Lisp.
5934
5935 * abbrev.el (abbrev-mode):
5936 * allout.el (allout-mode):
5937 * autoinsert.el (auto-insert-mode):
5938 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5939 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5940 (global-auto-revert-mode):
5941 * battery.el (display-battery-mode):
5942 * composite.el (global-auto-composition-mode)
5943 (auto-composition-mode):
5944 * delsel.el (delete-selection-mode):
5945 * desktop.el (desktop-save-mode):
5946 * dired-x.el (dired-omit-mode):
5947 * dirtrack.el (dirtrack-mode):
5948 * doc-view.el (doc-view-minor-mode):
5949 * double.el (double-mode):
5950 * electric.el (electric-indent-mode, electric-pair-mode):
5951 * emacs-lock.el (emacs-lock-mode):
5952 * epa-hook.el (auto-encryption-mode):
5953 * follow.el (follow-mode):
5954 * font-core.el (font-lock-mode):
5955 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5956 * help.el (temp-buffer-resize-mode):
5957 * hilit-chg.el (highlight-changes-mode)
5958 (highlight-changes-visible-mode):
5959 * hi-lock.el (hi-lock-mode):
5960 * hl-line.el (hl-line-mode, global-hl-line-mode):
5961 * icomplete.el (icomplete-mode):
5962 * ido.el (ido-everywhere):
5963 * image-file.el (auto-image-file-mode):
5964 * image-mode.el (image-minor-mode):
5965 * iswitchb.el (iswitchb-mode):
5966 * jka-cmpr-hook.el (auto-compression-mode):
5967 * linum.el (linum-mode):
5968 * longlines.el (longlines-mode):
5969 * master.el (master-mode):
5970 * mb-depth.el (minibuffer-depth-indicate-mode):
5971 * menu-bar.el (menu-bar-mode):
5972 * minibuf-eldef.el (minibuffer-electric-default-mode):
5973 * mouse-sel.el (mouse-sel-mode):
5974 * msb.el (msb-mode):
5975 * mwheel.el (mouse-wheel-mode):
5976 * outline.el (outline-minor-mode):
5977 * paren.el (show-paren-mode):
5978 * recentf.el (recentf-mode):
5979 * reveal.el (reveal-mode, global-reveal-mode):
5980 * rfn-eshadow.el (file-name-shadow-mode):
5981 * ruler-mode.el (ruler-mode):
5982 * savehist.el (savehist-mode):
5983 * scroll-all.el (scroll-all-mode):
5984 * scroll-bar.el (scroll-bar-mode):
5985 * server.el (server-mode):
5986 * shell.el (shell-dirtrack-mode):
5987 * simple.el (auto-fill-mode, transient-mark-mode)
5988 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5989 (line-number-mode, column-number-mode, size-indication-mode)
5990 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5991 * strokes.el (strokes-mode):
5992 * time.el (display-time-mode):
5993 * t-mouse.el (gpm-mouse-mode):
5994 * tool-bar.el (tool-bar-mode):
5995 * tooltip.el (tooltip-mode):
5996 * type-break.el (type-break-mode-line-message-mode)
5997 (type-break-query-mode):
5998 * view.el (view-mode):
5999 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6000 (global-whitespace-mode, global-whitespace-newline-mode):
6001 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6002
a3839de2
SM
6003 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6004 Fix autogenerated docstring.
06e21633 6005
5214e501
JL
60062011-10-19 Juri Linkov <juri@jurta.org>
6007
6008 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6009 by checking environment variables "DESKTOP_SESSION" and
6010 "XDG_CURRENT_DESKTOP". (Bug#9779)
6011
195f8db9
JL
60122011-10-19 Juri Linkov <juri@jurta.org>
6013
6014 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6015 (browse-url-chromium-program, browse-url-chromium-arguments):
6016 New defcustoms.
6017 (browse-url-default-browser): Check for `browse-url-chromium' and
6018 call `browse-url-chromium-program'.
6019 (browse-url-chromium): New command. (Bug#9779)
6020
343a34ff
JB
60212011-10-18 Juanma Barranquero <lekktu@gmail.com>
6022
6023 * facemenu.el (list-colors-duplicates): On Windows, detect more
6024 duplicates by assuming that only colors matching "^System" are
6025 special "system colors". (Bug#9722)
6026
6978a151
SM
60272011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6030 to distinguish the author from the committer.
6031
6a80b297
MA
60322011-10-18 Michael Albinus <michael.albinus@gmx.de>
6033
6034 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6035
b31a5677
JK
60362011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6037
6038 * international/mule.el (sgml-html-meta-auto-coding-function):
6039 Add support for detecting encoding in HTML5 specified only as
6040 <meta charset="UTF-8">. Implementation just makes http-equiv and
6041 content-type parts from HTML4 encoding string optional. (Bug#9716)
6042
80c6d77f
GM
60432011-10-18 Glenn Morris <rgm@gnu.org>
6044
6045 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6046
08b0fee8
CY
60472011-10-18 Chong Yidong <cyd@gnu.org>
6048
6049 * faces.el (cursor): Doc fix.
6050
67e729a5
CY
60512011-10-17 Chong Yidong <cyd@gnu.org>
6052
6053 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6054
343a34ff 60552011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6056
6057 * dirtrack.el (dirtrack): Support shell buffers with path
6058 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6059
0bc06380
TZ
60602011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6061
6062 * json.el: Bump version to 1.3 and note change in History.
6063 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6064
8b79f3e0
SM
60652011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6066
5a7c536b
SM
6067 * comint.el (comint-insert-input, comint-send-input)
6068 (comint-get-old-input-default, comint-backward-matching-input)
6069 (comint-next-prompt): Use nil instead of `input' for field property of
6070 past user input (bug#114).
6071
96a8a0df
SM
6072 * minibuffer.el (completion--replace): Inherit surrounding properties
6073 (bug#114).
6074 (minibuffer-complete-and-exit): Use it.
6075
8b79f3e0
SM
6076 * comint.el (comint--table-subvert): Quote the all-completions output
6077 (bug#9160).
6078
b8f7ff0d
MR
60792011-10-17 Martin Rudalics <rudalics@gmx.at>
6080
8b79f3e0 6081 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6082
b8f7ff0d 6083 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6084 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6085 entries and separate them from frame entries.
6086
c235b555
GM
60872011-10-15 Glenn Morris <rgm@gnu.org>
6088
6089 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6090 Doc fixes.
6091
6bbfa6e1
CY
60922011-10-15 Chong Yidong <cyd@stupidchicken.com>
6093
8b79f3e0
SM
6094 * net/network-stream.el (network-stream-open-starttls):
6095 Improve detection of failure due to lack of TLS support.
ec5c990d 6096
6bbfa6e1
CY
6097 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6098 putting the input text in front and in bold.
6099
98488977
SM
61002011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6101
3d1337be
SM
6102 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6103
ee0b45e4
SM
6104 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6105 empty buffer.
6106
98488977
SM
6107 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6108 unread-command-events rather than pushing yet-another event.
6109
186f4720
EZ
61102011-10-14 Eli Zaretskii <eliz@gnu.org>
6111
6112 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6113 the explanation of the possible choices. Make the options passed
6114 to completing-read shorter.
6115
8b7a997c
AM
61162011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6117
6118 * textmodes/flyspell.el (flyspell-large-region): Make sure
6119 extended character mode is used if defined (Bug#1339).
6120
12587bbb
EZ
61212011-10-13 Eli Zaretskii <eliz@gnu.org>
6122
6123 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6124 character info for LRE, LRO, RLE, and RLO characters by appending
6125 an invisible PDF.
12587bbb 6126
bad41229
SM
61272011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6130 even in case of error; add debug spec; simplify data flow.
6131 (with-timeout-handler): Remove.
6132
28dbc92f
MA
61332011-10-12 Michael Albinus <michael.albinus@gmx.de>
6134
6135 Fix Bug#6019, Bug#9315.
6136
6137 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6138 complete `buffer-file-name', the local file name part could look
6139 remotely (for example on VMS).
6140
6141 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6142 `tramp-run-real-handler'.
6143 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6144 already quoted by '"'.
6145
6146 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6147 Let `file-name-handler-alist' be nil, the local file name part
6148 could look remotely (for example on VMS).
6149
e1b0b23a
SM
61502011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6153 from here...
6154 (flyspell-post-command-hook): ...to here.
6155
a120bde9
SM
61562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6159 if not needed.
6160 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6161 using completion. Protect against "slow" callers.
6162 Remove the "message hack".
6163
7ce7717b
JL
61642011-10-11 Juri Linkov <juri@jurta.org>
6165
6166 * isearch.el (isearch-lazy-highlight-word): New variable.
6167 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6168 Use it. (Bug#9727)
6169
c02ee9d6
GM
61702011-10-11 Glenn Morris <rgm@gnu.org>
6171
6172 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6173 like f90-previous-statement does.
6174
93e616fd 61752011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6176
1f190e73 6177 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6178 only in interactive use, to avoid error.
6179
af7b6078
SM
61802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * minibuffer.el (completion-file-name-table): Fix last change,
6183 i.e. ignore normal errors but not the other ones.
6184
0563dae9
MR
61852011-10-10 Martin Rudalics <rudalics@gmx.at>
6186
6187 * window.el (special-display-buffer-names)
6188 (special-display-regexps): Remove some remnants of earlier
6189 changes from doc-strings.
366ca7f3
MR
6190 (quit-windows-on): New function.
6191
6192 * vc/vc.el (vc-revert, vc-rollback):
6193 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6194 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6195 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6196
49677495
MR
61972011-10-09 Martin Rudalics <rudalics@gmx.at>
6198
6199 * window.el (frame-auto-hide-function): Add version tag.
6200 (Bug#9699)
6201
56f2d1e1
MA
62022011-10-09 Michael Albinus <michael.albinus@gmx.de>
6203
6204 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6205 condition.
6206
112a6592
LL
62072011-10-09 Leo Liu <sdl.web@gmail.com>
6208
6209 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6210 (Bug#9701)
6211
0812589b
GM
62122011-10-08 Glenn Morris <rgm@gnu.org>
6213
6214 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6215 before the first code statement zero indent. (Bug#9690)
6216
b2b0776e
CY
62172011-10-08 Chong Yidong <cyd@stupidchicken.com>
6218
6219 * simple.el (count-words-region): Always count in the region.
6220 Report the number of lines and characters too.
6221 (count-words): New command, which counts in the buffer if the
6222 region is inactive, as count-words-region used to.
6223 (count-words--message): New function. Handle plurals.
6224 (count-lines-region): Make it an alias for count-words-region.
6225
6226 * bindings.el (esc-map): Replace count-lines-region with
6227 count-words-region.
6228
c557cd6b
MR
62292011-10-08 Martin Rudalics <rudalics@gmx.at>
6230
6231 * window.el (window--delete): Delete dedicated frame
6232 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6233 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6234
61a57ef4 62352011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6236
3a7d293b 6237 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6238
c3833279
CY
62392011-10-07 Chong Yidong <cyd@stupidchicken.com>
6240
6241 * bindings.el ([M-left],[M-right]): Bind to left-word and
6242 right-word respectively.
6243
21ce8245
GM
62442011-10-07 Glenn Morris <rgm@gnu.org>
6245
6246 * cus-start.el (debug-on-quit): Fix custom type.
6247
6d823bb2
LMI
62482011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
0181e193
LMI
6250 * subr.el (define-key-after): Clarify that the function is not
6251 useful for non-menu keymaps.
6252
6d823bb2
LMI
6253 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6254
8e3459ce 62552011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6256
21ce8245 6257 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6258 in current minibuffer (Fix bug with recursive minibuffers).
6259
a1c2d21e
CY
62602011-10-06 Chong Yidong <cyd@stupidchicken.com>
6261
6262 * progmodes/gdb-mi.el (gdb): Doc fix.
6263
5a4cf282
MR
62642011-10-05 Martin Rudalics <rudalics@gmx.at>
6265
6266 * window.el (frame-auto-hide-function): New option replacing
6267 frame-auto-delete. Suggested by Stefan Monnier.
6268 (window--delete): Call frame-auto-hide-function instead of
6269 investigating frame-auto-delete.
c96111ea
MR
6270 (window-point-1, set-window-point-1): New functions.
6271 (window-in-direction, record-window-buffer, window-state-get-1)
6272 (display-buffer-record-window): Use window-point-1 instead of
6273 window-point.
6274 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6275
9854542e
SM
62762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6279
8943cfb0
GM
62802011-10-05 Glenn Morris <rgm@gnu.org>
6281
6282 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6283 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6284
647ab967
LL
62852011-10-05 Leo Liu <sdl.web@gmail.com>
6286
6287 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6288 works with buffer object.
6289
3ddfbced
SM
62902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * mpc.el (mpc-tool-bar-map): Add labels.
6293
bdfa5dd2
GM
62942011-10-04 Glenn Morris <rgm@gnu.org>
6295
6296 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6297
0e2070b5
MR
62982011-10-04 Martin Rudalics <rudalics@gmx.at>
6299
6300 * window.el (window--delete): New function.
6301 (frame-auto-delete): Resuscitate option.
6302 (bury-buffer, replace-buffer-in-windows)
6303 (quit-window): Rewrite using window--delete.
6304 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6305 Pass display-buffer-mark-dedicated to window--display-buffer-2
6306 (Bug#9639).
6307
3dc61a09
SM
63082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6309
915a9b64
SM
6310 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6311 returns a list (bug#9554). Add remote file name completion.
6312 * comint.el (comint--table-subvert): Curry and get quote&unquote
6313 functions as arguments.
6314 (comint--complete-file-name-data): Adjust call accordingly.
6315 * pcomplete.el (pcomplete--table-subvert): Remove.
6316 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6317
3dc61a09
SM
6318 * minibuffer.el (completion-table-case-fold): Use currying.
6319 (completion--styles-type, completion--cycling-threshold-type):
6320 New constants.
6321 (completion-styles, completion-category-overrides)
6322 (completion-cycle-threshold): Use them.
6323 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6324 completion-table-case-fold.
6325
8ea0a993
SB
63262011-10-03 Stephen Berman <stephen.berman@gmx.net>
6327
6328 * minibuffer.el (completion-category-overrides): Fix type of styles
6329 and add more user friendly tags (bug#9660).
6330
8c24b7f6
SM
63312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6334 (mule-input-method-string): New widget.
6335 (default-input-method, language-info-custom-alist): Use it.
6336
428fe61a
SM
63372011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6338
32c1fffd
SM
6339 * pcomplete.el: Require comint.
6340 (pcomplete--common-suffix): Remove.
6341 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6342 (pcomplete--table-subvert): Sync with comint--table-subvert.
6343 (pcomplete--entries): Use comint-completion-file-name-table.
6344 * comint.el (comint-unquote-filename): Simplify.
6345 (comint-completion-file-name-table): New function (bug#9616).
6346 (comint--complete-file-name-data): Use it.
6347
428fe61a
SM
6348 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6349 (pcmpl-gnu-tar-buffer): Remove.
6350 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6351 around. Make sure pcomplete-suffix-list is only changed temporarily.
6352 Don't look inside the tar's file if it's too large.
428fe61a 6353
04c52e2f
CY
63542011-10-01 Chong Yidong <cyd@stupidchicken.com>
6355
ce3cefcc
CY
6356 * cus-edit.el (custom-mode-map):
6357 * epa.el (epa-key-list-mode-map):
6358 * man.el (Man-mode-map):
6359 * startup.el (splash-screen-keymap):
6360 * simple.el (special-mode-map): Use scroll-up-command and
6361 scroll-down-command.
6362
6363 * progmodes/idlw-help.el (idlwave-help-mode-map):
6364 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6365 * net/newst-plainview.el (newsticker-mode-map):
6366 * emulation/ws-mode.el (wordstar-mode-map):
6367 * emulation/vi.el (vi-com-map):
6368 * calc/calc-graph.el (calc-graph-show-dumb):
6369 * term/sun.el (terminal-init-sun):
6370 * term/ns-win.el (global-map):
6371 * progmodes/grep.el (grep-mode-map):
6372 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6373 * mail/rmail.el (rmail-mode-map):
6374 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6375
04c52e2f
CY
6376 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6377 custom-safe-themes as special.
6378
79adf8c8
JD
63792011-10-01 Julien Danjou <julien@danjou.info>
6380
6381 * notifications.el (notifications-notify): Fix docstring.
6382
63bd50d3
PS
63832011-10-01 Per Starbäck <per@starback.se>
6384
6385 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6386
199e4c7e
MR
63872011-09-30 Martin Rudalics <rudalics@gmx.at>
6388
6389 * startup.el (command-line-1): Fix last fix by inserting
6390 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6391 (Bug#9605) and (Bug#9636)
199e4c7e 6392
fe5f08dd
EZ
63932011-09-29 Eli Zaretskii <eliz@gnu.org>
6394
6395 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6396 window is hscrolled, move by logical lines. (Bug#9607)
6397 (line-move-visual): Update the doc string to the above effect.
6398
b5516bbd
MR
63992011-09-29 Martin Rudalics <rudalics@gmx.at>
6400
ccee00c0
MR
6401 * window.el (display-buffer-record-window): When WINDOW is the
6402 selected window use `point' instead of `window-point'. (Bug#9626)
6403
b5516bbd
MR
6404 * startup.el (command-line-1): Use insert-before-markers when
6405 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6406
b5516bbd
MR
6407 * help.el (help-window): Remove variable.
6408
52aa0014
GM
64092011-09-29 Glenn Morris <rgm@gnu.org>
6410
6411 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6412
df9a7357
JB
64132011-09-29 Juanma Barranquero <lekktu@gmail.com>
6414
6415 * descr-text.el (describe-char-categories): Accept category
6416 descriptions more than one line long.
6417
a8406c20
SM
64182011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6419
88d9610c
SM
6420 * simple.el (delete-trailing-whitespace): Fix last change.
6421
a5daf810
SM
6422 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6423 Don't confuse "y => 3" as the beginning of a `y' operation.
6424
a8406c20
SM
6425 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6426 object has more than 4 slots (bug#9613).
6427
a239d4e9
JB
64282011-09-28 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * subr.el (with-output-to-temp-buffer):
6431 * net/quickurl.el (quickurl, quickurl-browse-url):
6432 Fix typos in docstrings.
6433
693fbdb6
EZ
64342011-09-27 Eli Zaretskii <eliz@gnu.org>
6435
6436 * minibuffer.el (completion-styles)
6437 (completion-category-overrides): Cross reference each other in doc
6438 strings.
6439
8b457e28
GM
64402011-09-27 Glenn Morris <rgm@gnu.org>
6441
6442 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6443 to split-string. (Bug#9606)
6444
85a16208
LMI
64452011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446
6447 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6448 (bug#9615).
6449
502f9ebd
CY
64502011-09-27 Chong Yidong <cyd@stupidchicken.com>
6451
6452 * emacs-lisp/package.el (list-packages): Fix echo area message.
6453
7690bdea
LL
64542011-09-27 Leo Liu <sdl.web@gmail.com>
6455
6456 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6457
e2ee6f30
MA
64582011-09-25 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * net/dbus.el (dbus-unregister-object): Don't release services for
6461 registered signals. (Bug#9581)
6462
f3f98342
TZ
64632011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6464
6465 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6466 function that picks between cfengine 2 and 3 support
6467 automatically. Update docs accordingly.
6468
dd7aa8dd
KH
64692011-09-22 Kenichi Handa <handa@m17n.org>
6470
6471 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6472 ZERO.
6473 (indian-itrans-v5-table-for-tamil): New variable.
6474 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6475
3f2b07f8
KM
64762011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6477
6478 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6479 that's true if the current command involved collapsing of text.
6480 It's reset to false at the beginning of the next command.
6481 (allout-post-command-business): Move the cursor to the beginning
6482 of entry if the cursor is hidden and collapsing activity just
6483 happened.
6484
371d6a61
CY
64852011-09-24 Chong Yidong <cyd@stupidchicken.com>
6486
6487 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6488 tracking (Bug#9541).
6489
2ac2721a
UJ
64902011-09-24 Ulf Jasper <ulf.jasper@web.de>
6491
6492 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6493 (newsticker-show-news): Automatically load html rendering package
6494 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6495 because w3m-fill-column is let-bound" and the error "Symbol's value
6496 as variable is void: w3m-fill-column".
2ac2721a 6497
fac7ae53
MA
64982011-09-24 Michael Albinus <michael.albinus@gmx.de>
6499
6500 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6501 Release services only if they are defined. (Bug#9581)
6502
e08b633b
RS
65032011-09-23 Richard Stallman <rms@gnu.org>
6504
e488d29c
RS
6505 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6506 distinguish start of paragraph from start of its text.
6507
19c38752
RS
6508 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6509
e08b633b
RS
6510 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6511 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6512 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6513
0a39f27e
AS
65142011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6515
6516 * international/mule-diag.el (mule-diag): Insert a newline after
6517 each fontset description.
6518
db4e950d
SM
65192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * simple.el (delete-trailing-whitespace):
6522 Document last change; simplify.
6523
eca3f3ea
PW
65242011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6525
d68e189a
PW
6526 * simple.el (delete-trailing-whitespace): Also delete
6527 extra newlines at the end of the buffer.
6528
eca3f3ea
PW
6529 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6530 (picture-newline): Use forward-line so as to ignore fields.
6531
01c157cc
SM
65322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * subr.el (with-wrapper-hook): Fix edebug spec.
6535
022de23e
LMI
65362011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
6538 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6539 (bug#4538).
6540
91683089
MA
65412011-09-23 Michael Albinus <michael.albinus@gmx.de>
6542
eca3f3ea
PW
6543 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6544 Fix nasty bug using wrong cached values.
91683089 6545
5bdd6fa4
AM
65462011-09-23 Alan Mackenzie <acm@muc.de>
6547
6548 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6549
97adfb97
CY
65502011-09-23 Chong Yidong <cyd@stupidchicken.com>
6551
6552 * window.el (pop-to-buffer): Ensure right window is selected if we
6553 chose another frame.
6554
d4ef2b50
EZ
65552011-09-22 Eli Zaretskii <eliz@gnu.org>
6556
6557 * simple.el (what-cursor-position): Use get-char-property-change
6558 and next-single-char-property-change, to be able to show display
6559 properties that come from overlays as well as text properties.
6560
72258fe5
CY
65612011-09-22 Chong Yidong <cyd@stupidchicken.com>
6562
6563 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6564
6565 * cmuscheme.el (run-scheme, switch-to-scheme):
6566 * cus-edit.el (customize-group, custom-buffer-create)
6567 (customize-browse):
6568 * info.el (info):
6569 * shell.el (shell):
6570 * mail/sendmail.el (mail):
6571 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6572
8f098516
RS
65732011-09-22 Richard Stallman <rms@gnu.org>
6574
6575 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6576 move back only to line beg, don't move back over blank lines.
6577
e74f1bb6
MA
65782011-09-22 Michael Albinus <michael.albinus@gmx.de>
6579
6580 * files.el (copy-directory): Set directory attributes only in case
6581 they could be retrieved from the source directory. (Bug#9565)
6582
bfeef8b6
DK
65832011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6584
6585 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6586 (hs-find-block-beginning, hs-hide-level-recursive):
6587 Ignore strings as well as comments. (Bug#9502)
6588
7e423bb8
AS
65892011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6590
6591 * progmodes/sql.el (sql-comint-postgres):
6592 Convert port number to a string. (Bug#9566)
6593
b4d72fcf
MR
65942011-09-22 Martin Rudalics <rudalics@gmx.at>
6595
6596 * window.el (quit-window): Undedicate window when switching to
6597 previous buffer. Reported by Thierry Volpiatto
6598 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6599 (special-display-popup-frame): When popping up a new frame reset
6600 its previous buffers to nil. Simplify code.
b4d72fcf 6601
a7b88dc6
MA
66022011-09-21 Michael Albinus <michael.albinus@gmx.de>
6603
6604 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6605 and process filter, as done also in `shell-command'.
6606
cf4eacfd
MR
66072011-09-21 Martin Rudalics <rudalics@gmx.at>
6608
eca3f3ea 6609 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6610 Call set-window-start with NOFORCE argument t.
6611 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6612 (quit-window): Reword doc-string. Handle new format of
6613 quit-restore parameter. Don't delete window if it has a
6614 previous buffer we can show instead of the present one.
6615 (display-buffer-record-window): Rewrite using a new format for
6616 the quit-restore window parameter
6617 (special-display-popup-frame, display-buffer-same-window)
6618 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6619 (display-buffer-pop-up-window, display-buffer-use-some-window):
6620 Adapt symbol passed to display-buffer-record-window.
6621 * help.el (help-window-setup): Handle new format of quit-restore
6622 parameter.
6623
8d28cb95
SM
66242011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6625
94ab793f
SM
6626 * faces.el (face-list): Fix docstring (bug#9564).
6627
8d28cb95
SM
6628 * window.el (display-buffer--action-function-custom-type):
6629 Don't include internal functions in the Custom interface.
6630
3820edeb
JL
66312011-09-20 Juri Linkov <juri@jurta.org>
6632
6633 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6634 (Info-forward-node, Info-backward-node, Info-next-preorder)
6635 (Info-last-preorder): Use it. (Bug#9528)
6636
5147931d
JL
66372011-09-20 Juri Linkov <juri@jurta.org>
6638
6639 * info.el (Info-last-preorder): Visit last menu item only when
6640 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6641
cf499a1a
JD
66422011-09-20 Julien Danjou <julien@danjou.info>
6643
6644 * password-cache.el (password-cache-remove): Remove entries even if the
6645 value is nil, so that password with a nil value (negative caching) is
6646 possible to invalidate.
6647
f84e2fe2
LM
66482011-09-20 Lawrence Mitchell <wence@gmx.li>
6649
6650 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6651 all whitespace around breakpoint. (Bug#9553)
6652 (f90-find-breakpoint): Only break at whitespace inside a comment.
6653
78054a46
SM
66542011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * minibuffer.el (completion-file-name-table): Keep track of errors.
6657 (completion-table-with-predicate): Handle the case where pred1 is nil.
6658 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6659
345083b2
SM
66602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6661
e24e27be
SM
6662 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6663 (debugger-return-value): Signal an error if the debugging context does
6664 not await any return value.
6665
345083b2
SM
6666 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6667 * image-mode.el (image-toggle-display-text)
6668 (image-toggle-display-image): Stay away from evil `intangible'.
6669
08d355e3
LL
66702011-09-19 Leo Liu <sdl.web@gmail.com>
6671
6672 * replace.el (occur-revert-arguments): Make it permanent-local.
6673 (occur-mode): Don't call font-lock-defontify.
6674
f01da43f
CY
66752011-09-19 Chong Yidong <cyd@stupidchicken.com>
6676
6677 * net/ldap.el (ldap-search-internal): Don't push empty search
6678 result (Bug#9508).
6679
b6072fa6
SM
66802011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6683
443d6696
MA
66842011-09-19 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6687 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6688
7cc6e154
JL
66892011-09-18 Juri Linkov <juri@jurta.org>
6690
6691 * buff-menu.el (Buffer-menu-mode-map):
6692 * dired.el (dired-mode-map):
6693 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6694 (lisp-interaction-mode-map):
6695 * emacs-lisp/package.el (package-menu-mode-map):
6696 * epa.el (epa-key-list-mode-map):
6697 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6698 (menu-bar-options-menu):
6699 * outline.el (outline-mode-menu-bar-map):
6700 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6701 * vc/vc-dir.el (vc-dir-menu-map):
6702 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6703 Capitalize non-function content words in menu item strings.
6704
6705 * dired.el (dired-mode-map): Add menu item for
6706 `image-dired-dired-toggle-marked-thumbs'.
6707
80302a81
JL
67082011-09-18 Juri Linkov <juri@jurta.org>
6709
6710 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6711 to `isearch-case-fold-search' and restore its original value
6712 after the `isearch-mode' call.
6713
46c5cf66
JL
67142011-09-18 Juri Linkov <juri@jurta.org>
6715
6716 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6717 because `zgrep' returns 1 for successful matches (bug#9226).
6718
d18b513b
JL
67192011-09-18 Juri Linkov <juri@jurta.org>
6720
6721 * info.el (Info-extract-menu-node-name): Check the second match
6722 for empty string (second test-case of bug#9528).
6723 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6724 intermediate nodes to the history (first test-case of bug#9528).
6725
72753f87
JL
67262011-09-18 Juri Linkov <juri@jurta.org>
6727
6728 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6729 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6730
c9384295
JL
67312011-09-18 Juri Linkov <juri@jurta.org>
6732
1154d12e
JB
6733 * info.el (Info-file-supports-index-cookies):
6734 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6735 outputs one more line for long file names (bug#4142).
c9384295 6736
d473dce8
CY
67372011-09-18 Chong Yidong <cyd@stupidchicken.com>
6738
6739 * newcomment.el (comment-normalize-vars): If prompting for
6740 comment-start, set comment-start-skip too (Bug#8424).
6741
2176854d
JB
67422011-09-18 Johan Bockgård <bojohan@gnu.org>
6743
6744 * icomplete.el: Fix previous fix of Bug#5849.
6745 (icomplete-mode): Don't set completion-show-inline-help.
6746 (icomplete-minibuffer-setup): Set completion-show-inline-help
6747 locally during icompletion.
6748
3aace4e4
CY
67492011-09-18 Chong Yidong <cyd@stupidchicken.com>
6750
c940224f
CY
6751 * woman.el (woman2-process-escapes): Don't delete unrecognized
6752 escapes (Bug#7843).
6753
3aace4e4
CY
6754 * files.el (inhibit-first-line-modes-regexps): Add image files.
6755 (hack-local-variables-prop-line): Return nil for malformed
6756 prop-lines (Bug#9044).
6757
710dec63
MA
67582011-09-18 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/tramp.el (top): Don't require 'shell.
6761 (tramp-methods): Fix docstring.
6762 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6763 Return complete remote file name. Handle "smb" case.
6764 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6765 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6766
6767 * net/tramp-compat.el (top): Require 'shell.
6768
6769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6770 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6771 `tramp-current-host'.
6772 (tramp-get-remote-tmpdir): Remove.
6773
6774 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6775 `tramp-tmpdir' entries.
6776 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6777 (tramp-smb-handle-file-attributes): Ignore errors.
6778 (tramp-smb-wait-for-output): Check also for process end.
6779
5d5ac8ec
LMI
67802011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781
6782 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6783 when sending QUIT (bug#9312).
6784
8c0f49f0
CY
67852011-09-17 Chong Yidong <cyd@stupidchicken.com>
6786
6787 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6788 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6789 occur-mode-display-occurrence.
6790 (occur-edit-mode): Add usage message.
6791 (occur-cease-edit): New command.
6792 (occur-after-change-function): Use text properties to find the
6793 position of the prefix text.
6794 (occur-engine): Set stickiness of prefix text properties.
6795
8f1383f7
GM
67962011-09-17 Glenn Morris <rgm@gnu.org>
6797
6798 * progmodes/etags.el (complete-tag):
6799 Fix call to completion-in-region. (Bug#9526)
6800
744ba0e3
JL
68012011-09-17 Juri Linkov <juri@jurta.org>
6802
6803 * textmodes/ispell.el (ispell-word): Add to the error message
6804 the word, ispell program name and current dictionary (bug#9121).
6805 (ispell-tex-arg-end): Capitalize "error" in the error message.
6806
d9bbf400
AS
68072011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6808
6809 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6810 check. (Bug#4251)
6811
8da11505
JL
68122011-09-17 Juri Linkov <juri@jurta.org>
6813
6814 * window.el (window-safe-min-height, window-safe-min-width):
6815 Fix typos (followup to bug#9522).
6816
a91adc7e
SJ
68172011-09-17 Sven Joachim <svenjoac@gmx.de>
6818
6819 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6820
064f328a
EZ
68212011-09-16 Eli Zaretskii <eliz@gnu.org>
6822
6823 * simple.el (line-move): If goal-column is set, move by logical
6824 lines, not by display lines. (Bug#971)
6825 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6826 to reflect the above change.
6827
e69df516
SM
68282011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * image.el (imagemagick-register-types): Use regexp-opt.
6831
cbb0f9ab
CY
68322011-09-15 Chong Yidong <cyd@stupidchicken.com>
6833
6834 * window.el (display-buffer-base-action): Rename from
6835 display-buffer-default-action. Make default value empty.
6836 (display-buffer-overriding-action): Convert to defvar.
6837 (display-buffer-fallback-action): New var.
6838
25322144
CY
68392011-09-15 Chong Yidong <cyd@stupidchicken.com>
6840
6841 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6842 declaration.
6843 (package--add-to-archive-contents): If there is a duplicate entry
6844 with an older version, remove it.
6845 (package-menu-mark-delete, package-menu-mark-install)
6846 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6847 (package-menu-mark-obsolete-for-deletion):
6848 Use package-menu-get-status instead of a regexp search.
25322144
CY
6849 (package-menu-get-status): Use tabulated-list-entry.
6850 (package-menu-mark-upgrades): New command.
d770725a 6851 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6852 (package-menu-execute): Do installation before deletion.
6853 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6854 instead of checking major-mode.
6855 (package-menu--find-upgrades): New function.
6856
7520339c
LMI
68572011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6858
6859 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6860 passwords in the log buffer.
65a046c4
LMI
6861 (smtpmail-process-filter): Update the process marker so that the
6862 "broken by peer" status message is inserted in the right place.
7520339c 6863
d3c30954
SM
68642011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6865
3fe48822
SM
6866 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6867 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6868 bibtex-completion-at-point-function.
6869 (bibtex-completion-at-point-function): Use them.
6870
1b8b3954
SM
6871 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6872
d3c30954
SM
6873 * mpc.el (mpc-constraints-tag-lookup): New function.
6874 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6875 also to browser "album|playlist".
6876
72779976
JL
68772011-09-14 Juri Linkov <juri@jurta.org>
6878
6879 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6880 (isearch-edit-string): Use length of `isearch-string' when
6881 `isearch-fail-pos' returns nil.
6882 (isearch-message): Remove duplicate code and call
6883 `isearch-fail-pos' with arg `t'.
6884
a0bf2bcd
CY
68852011-09-14 Chong Yidong <cyd@stupidchicken.com>
6886
17bb0a2d
CY
6887 * replace.el (occur-mode-goto-occurrence): Don't force using other
6888 window (Bug#9499).
6889
a0bf2bcd
CY
6890 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6891
f678e0b6
MR
68922011-09-14 Martin Rudalics <rudalics@gmx.at>
6893
6894 * window.el (display-buffer-window): Remove.
6895 (display-buffer-record-window): Use help-setup window parameter
6896 instead of variable display-buffer-window.
6897 (display-buffer-function, special-display-buffer-names)
6898 (special-display-function): Mention help-setup parameter instead
6899 of display-buffer-window in doc-string.
d3c30954
SM
6900 * help.el (help-window-setup): New argument help-window.
6901 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6902 Reword some messages.
6903 (with-help-window): Pass window used for displaying the buffer
6904 to help-window-setup. Don't set display-buffer-window.
6905
8e39b2e8
GM
69062011-09-13 Glenn Morris <rgm@gnu.org>
6907
6908 * emacs-lisp/debug.el (debugger-make-xrefs):
6909 Preserve point. (Bug#9462)
6910
85e9c04b
CY
69112011-09-13 Chong Yidong <cyd@stupidchicken.com>
6912
6913 * window.el (window-deletable-p): Use next-frame.
6914
1b36ed6a
MR
69152011-09-13 Martin Rudalics <rudalics@gmx.at>
6916
6917 * window.el (window-auto-delete): Remove.
6918 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6919 dedication and previous buffers.
1b36ed6a
MR
6920 (switch-to-prev-buffer): Don't delete window.
6921 (delete-windows-on): Delete a window's frame if and only if the
6922 window is dedicated.
6923 (replace-buffer-in-windows): Delete buffer's window or frame if
6924 and only if window is dedicated.
6925 (quit-window): Handle quit-restore as before last change.
4d61f28d 6926 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6927
ef8ef9fb
CY
69282011-09-13 Chong Yidong <cyd@stupidchicken.com>
6929
6930 * window.el (window-deletable-p): Never delete the last frame on a
6931 given terminal.
6932
b2cba41e
GM
69332011-09-13 Glenn Morris <rgm@gnu.org>
6934
6935 * help.el (describe-key-briefly): Copy previous standard-output change.
6936
51553db6 69372011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6938
6939 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6940
b7556719
GM
69412011-09-13 Glenn Morris <rgm@gnu.org>
6942
6943 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6944 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6945
64b51947
CY
69462011-09-12 Chong Yidong <cyd@stupidchicken.com>
6947
6948 * dired-aux.el (dired-mark-read-string): Don't return default
6949 value on empty input (Bug#9361).
6950 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6951 Omit initial minibuffer contents.
6952 (dired-do-chmod): Signal an error on empty input.
6953 (dired-mark-read-string): Don't return default on empty input.
6954
6955 * files.el (file-modes-symbolic-to-number): Doc fix.
6956
393a301e
SM
69572011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * international/mule-cmds.el (ucs-completions): Remove.
6960 (read-char-by-name): Use complete-with-action instead; add metadata.
6961
fa5660f9
CY
69622011-09-11 Chong Yidong <cyd@stupidchicken.com>
6963
6964 * window.el (display-buffer--action-function-custom-type)
6965 (display-buffer--action-custom-type): New vars.
6966 (display-buffer-alist, display-buffer-default-action)
6967 (display-buffer-overriding-action): Add defcustom types.
6968
4a592f66
CY
6969 * frame.el (delete-other-frames): Doc fix (Bug#276).
6970
73d56dbd
LMI
69712011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6972
6973 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6974
37ac18a3
CY
69752011-09-11 Chong Yidong <cyd@stupidchicken.com>
6976
6977 Change modes that used same-window-* vars to use switch-to-buffer.
6978
6979 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6980 Use switch-to-buffer.
6981
6982 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6983 (customize-browse, custom-buffer-create-other-window):
6984 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6985
6986 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6987 (Info-prev, Info-up, Info-speedbar-goto-node)
6988 (info-display-manual): Use switch-to-buffer.
6989 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6990
6991 * mail/sendmail.el (mail): Use switch-to-buffer.
6992 (mail-recover): Use switch-to-buffer-other-window.
6993
6994 * cmuscheme.el (run-scheme, switch-to-scheme):
6995 * ielm.el (ielm):
6996 * shell.el (shell):
6997 * net/rlogin.el (rlogin):
6998 * net/telnet.el (telnet, rsh):
6999 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7000
10195bd6
AS
70012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7002
7003 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7004
b322f63a
LMI
70052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7006
39d7fed6
LMI
7007 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7008 so don't mention it (bug#9301).
ba5a81f1 7009 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7010
ee0e9f11
LMI
7011 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7012 match `x', `w32' and `ns', like the manual says (bug#9029).
7013
0b1c89c1 7014 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7015 (process-kill-buffer-query-function): Mention the buffer name in
7016 the query.
0b1c89c1 7017
77549ea8
LMI
7018 * image-mode.el (image-next-line): The line parameter is mandatory
7019 (bug#9258).
7020
803ef892
LMI
7021 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7022 which can be useful (bug#9301).
7023
12980837
LMI
7024 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7025
91054f8f
LMI
7026 * subr.el (match-string): Mention that the current buffer should
7027 be the same as the search was done in (bug#9282).
7028
b322f63a
LMI
7029 * facemenu.el: Disable the remove-* commands if the mark isn't
7030 active (bug#9162).
7031
3199b96f
CY
70322011-09-10 Chong Yidong <cyd@stupidchicken.com>
7033
7034 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7035 of display-buffer.
7036 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7037
7038 * replace.el (occur-mode-goto-occurrence)
7039 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7040 and display-buffer.
7041
7042 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7043 display-buffer.
7044
7045 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7046 special-display and same-window variables.
7047 (mail-other-window): Use switch-to-buffer-other-window.
7048 (mail-other-frame): USe switch-to-buffer-other-frame.
7049
393a301e
SM
7050 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7051 Use display-buffer-other-frame.
3199b96f
CY
7052 (gdb-display-gdb-buffer): Use pop-to-buffer.
7053
7054 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7055
7056 * progmodes/python.el: Don't set same-window-buffer-names.
7057
7058 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7059
7060 * window.el (display-buffer-alist): Add *Python*.
7061
8319e0bf
CY
70622011-09-10 Chong Yidong <cyd@stupidchicken.com>
7063
7064 * window.el (display-buffer-alist): Add entry for buffers
7065 previously handled same-window-*.
7066 (display-buffer-alist, display-buffer-default-action)
7067 (display-buffer-overriding-action): Mark as risky.
7068 (display-buffer-alist): Document action function changes.
7069 (display-buffer--same-window-action)
7070 (display-buffer--other-frame-action): New variables.
7071 (switch-to-buffer, display-buffer-other-frame): Use them.
7072 (display-buffer): Rename reuse-frame entry to reusable-frames.
7073 (display-buffer-reuse-selected-window): Function deleted.
7074 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7075 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7076 (display-buffer-special): New function.
7077 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7078 display-buffer-reuse-or-pop-window. Split off special-display
7079 part into display-buffer-special.
7080 (display-buffer-use-some-window): Don't perform any special
7081 pop-up-frames handling.
7082 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7083 (display-buffer--maybe-same-window): Rename from
0d3ff375 7084 display-buffer-maybe-same-window.
8319e0bf 7085
919a69aa
CY
7086 * info.el: Don't set same-window-regexps.
7087 (info-setup): New function.
7088 (info-other-window, info): Call it.
7089
7090 * cus-edit.el: Don't set same-window-regexps.
7091 (customize-group): New argument.
7092 (customize-group-other-window): Use it.
7093 (customize-face, customize-face-other-window): Likewise.
7094 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7095
8319e0bf
CY
7096 * net/rlogin.el:
7097 * net/telnet.el:
7098 * progmodes/gud.el: Don't set same-window-regexps.
7099
7100 * cmuscheme.el:
7101 * ielm.el:
7102 * shell.el:
7103 * mail/sendmail.el:
7104 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7105
25173000
JL
71062011-09-10 Juri Linkov <juri@jurta.org>
7107
7108 * isearch.el (isearch-edit-string): Remove obsolete mention of
7109 `C-w' (`isearch-yank-word-or-char') from docstring.
7110 (isearch-query-replace): Fix typo in docstring (bug#9466).
7111
056e44ef
JL
71122011-09-10 Juri Linkov <juri@jurta.org>
7113
7114 * paren.el (show-paren-function): Don't show escaped parens.
7115 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7116
c3760c17
EZ
71172011-09-10 Eli Zaretskii <eliz@gnu.org>
7118
7119 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7120 (mm-default-file-encoding): Remove autoload forms, they are
7121 replaced with autoload cookies in mml.el and mm-encode.el.
7122 (mail-add-attachment): New command.
7123 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7124 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7125 the doc string.
7126 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7127
fece895e
RT
71282011-09-10 Reuben Thomas <rrt@sc3d.org>
7129
e69df516
SM
7130 * simple.el (count-words-region): Use buffer if there's no region
7131 (bug#9429).
fece895e 7132
5e68ce4a
JL
71332011-09-09 Juri Linkov <juri@jurta.org>
7134
7135 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7136 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7137 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7138
0a6b9622
AM
71392011-09-09 Alan Mackenzie <acm@muc.de>
7140
7141 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7142 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7143
14a29deb
EZ
71442011-09-09 Eli Zaretskii <eliz@gnu.org>
7145
7146 Fix for Savannah bug#9392.
7147 * simple.el (mail-encode-mml): New defvar.
7148
7149 * mail/rmail.el (mail-encode-mml): Add a defvar.
7150 (rmail-enable-mime-composing): Default to t.
7151 (rmail-forward): Use MIME method of forwarding only if both
7152 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7153 Set mail-encode-mml non-nil if the MIME method was used.
7154
7155 * mail/sendmail.el (mml-to-mime): Add autoload form.
7156 (mail-encode-mml): Add a defvar.
7157 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7158 to nil.
7159 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7160 message through mml-to-mime, and reset mail-encode-mml to nil.
7161
28c45130
GM
71622011-09-09 Glenn Morris <rgm@gnu.org>
7163
7164 * woman.el (woman-if-body): When processing an .el block,
7165 do not delete the next .el block as well. (Bug#9447)
69f4b618 7166 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7167
9b1c252e
MR
71682011-09-08 Martin Rudalics <rudalics@gmx.at>
7169
7170 * window.el (window-deletable-p): Make sure window is live before
7171 invoking window-prev-buffers.
7172
567457e3
LL
71732011-09-08 Leo Liu <sdl.web@gmail.com>
7174
7175 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7176
97f05794
JL
71772011-09-08 Juri Linkov <juri@jurta.org>
7178
7179 * progmodes/compile.el (compilation-environment): Make it
7180 a defcustom (bug#8340).
7181
8b0874b5
MR
71822011-09-08 Martin Rudalics <rudalics@gmx.at>
7183
7184 * window.el (frame-auto-delete): Rename to window-auto-delete.
7185 Make it control auto-deletion of windows and/or frames.
7186 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7187 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7188 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7189 Rewrite handling of case when window/frame can be deleted.
7190 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7191 argument t. (Bug#9456)
8b0874b5 7192
4feb6e73
CY
71932011-09-07 Chong Yidong <cyd@stupidchicken.com>
7194
7195 * help-mode.el (help-mode): Restore autoload.
7196
91ab9c13
JL
71972011-09-07 Juri Linkov <juri@jurta.org>
7198
7199 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7200 `compilation-environment'. Set buffer-local
7201 `compilation-environment' to `thisenv' later after (funcall mode).
7202 (Bug#8340)
7203
7204 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7205 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7206 instead of replacing its value. (Bug#8340)
7207
0527e251
JL
72082011-09-07 Juri Linkov <juri@jurta.org>
7209
7210 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7211 based on text properties put by `grep-filter' instead of matching
7212 escape sequences.
7213 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7214 to the value of `grep-error-screen-columns' (bug#9438).
7215
249f792c
JL
72162011-09-07 Juri Linkov <juri@jurta.org>
7217
7218 * simple.el (next-error-highlight, next-error-highlight-no-select):
7219 Doc fix (bug#9432).
7220
ff7271b9
OT
72212011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7222
7223 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7224 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7225
183fc730
LL
72262011-09-07 Leo Liu <sdl.web@gmail.com>
7227
7228 * net/rcirc.el (rcirc-mode): Conditionally initialize
7229 rcirc-input-ring.
7230
77694924
SM
72312011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * emacs-lisp/find-func.el (find-function-C-source): Only set
7234 find-function-C-source-directory after checking that we found a source
7235 file there (bug#9440).
7236
d809b8eb
AM
72372011-09-06 Alan Mackenzie <acm@muc.de>
7238
7239 * isearch.el (isearch-other-meta-char): Wherever a key list is
7240 unread, "unread" the prefix arg, too. This fixes bug #8901.
7241
453de99f
OG
72422011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7243
7244 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7245
90439906
JL
72462011-09-05 Juri Linkov <juri@jurta.org>
7247
7248 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7249
f62bd846
JL
72502011-09-05 Juri Linkov <juri@jurta.org>
7251
7252 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7253 keeping point where processing of grep matches begins, and
7254 continue to delete remaining escape sequences from the same point.
7255 (grep-filter): Make leading zero optional in "0?1;31m" because
7256 git-grep emits "\033[1;31m" escape sequences unlike expected
7257 "\033[01;31m" as GNU Grep does (bug#9408).
7258 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7259
045820ec
JL
72602011-09-05 Juri Linkov <juri@jurta.org>
7261
7262 * subr.el (y-or-n-p): Capitalize "yes".
7263
f5e29b9b
MA
72642011-09-04 Michael Albinus <michael.albinus@gmx.de>
7265
7266 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7267 `tramp-cache-unload-hook' where appropriate.
7268 (tramp-methods): Rename `tramp-remote-sh' to
7269 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7270 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7271
7272 * net/tramp-sh.el (top): Don't require 'shell.
7273 (tramp-methods): Add `tramp-remote-shell' and
7274 `tramp-remote-shell-args' entries.
7275 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7276 (tramp-sh-handle-shell-command): Remove.
7277 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7278 Use `tramp-remote-shell'.
7279
2784c434
CY
72802011-09-03 Chong Yidong <cyd@stupidchicken.com>
7281
393a301e 7282 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7283 (sendmail-query-once): Save directly to send-mail-function.
7284 Update message-send-mail-function too.
7285
7286 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7287
464cdf56
CS
72882011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7289
7290 * progmodes/python.el (python-mode-map): Use correct function to
7291 start python interpreter from menu-bar (as reported by Geert
7292 Kloosterman).
7293 (inferior-python-mode-map): Fix typo.
393a301e 7294 (python-shell-map): Remove.
464cdf56 7295
d37e5c87
DD
72962011-09-03 Deniz Dogan <deniz@dogan.se>
7297
7298 * net/rcirc.el (rcirc-print): Simplify code for
7299 rcirc-scroll-show-maximum-output. There is no need to walk
7300 through all windows to find the right one.
7301
f3ada0ee
CS
73022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7303
7304 * help.el (help-return-method): Doc fix.
7305
1f3c99ca
MR
73062011-09-03 Martin Rudalics <rudalics@gmx.at>
7307
7308 * window.el (window-deletable-p): Don't return a non-nil value
7309 when there's a buffer that was shown in the window before.
7310 (Bug#9419)
393a301e
SM
7311 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7312 Set window's previous buffers to nil.
1f3c99ca 7313
a3cf097f
EZ
73142011-09-03 Eli Zaretskii <eliz@gnu.org>
7315
7316 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7317 newline before and after the tag line, so it doesn't interfere
7318 with determining the paragraph direction of bidirectional text.
7319
3d03de90
LL
73202011-09-03 Leo Liu <sdl.web@gmail.com>
7321
7322 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7323
c3313451
CY
73242011-09-02 Chong Yidong <cyd@stupidchicken.com>
7325
393a301e 7326 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7327 (pop-to-buffer): Change interactive spec. Pass second argument
7328 directly to display-buffer.
7329 (display-buffer): Fix interactive spec. Use functionp to
7330 distinguish between a function and a list of functions.
7331
7332 * abbrev.el (edit-abbrevs):
7333 * arc-mode.el (archive-extract):
7334 * autoinsert.el (auto-insert):
7335 * bookmark.el (bookmark-bmenu-list):
7336 * files.el (find-file):
7337 * view.el (view-buffer):
7338 * progmodes/compile.el (compilation-goto-locus):
7339 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7340
89894cd8
CY
73412011-09-02 Chong Yidong <cyd@stupidchicken.com>
7342
7343 * window.el (display-buffer-alist): Doc fix.
7344 (display-buffer): Add docstring. Don't treat
7345 display-buffer-default specially.
7346 (display-buffer-reuse-selected-window)
7347 (display-buffer-same-window, display-buffer-maybe-same-window)
7348 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7349 (display-buffer-pop-up-window)
7350 (display-buffer-reuse-or-pop-window)
7351 (display-buffer-use-some-window): New functions.
7352 (display-buffer-default-action): Use them.
393a301e 7353 (display-buffer-default): Delete.
89894cd8
CY
7354 (pop-to-buffer-1): Fix choice of actions.
7355
ae0bc9fb
SM
73562011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * minibuffer.el (completion--insert-strings): Don't get confused by
7359 completion entries that end with an LF char.
7360
e9d90883
EZ
73612011-09-01 Eli Zaretskii <eliz@gnu.org>
7362
7363 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7364
437014c8
CY
73652011-09-01 Chong Yidong <cyd@stupidchicken.com>
7366
7367 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7368 (display-buffer-same-window, display-buffer-other-window):
7369 New functions.
437014c8
CY
7370 (pop-to-buffer-1): New function. Use the above.
7371 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7372 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7373
7374 * view.el (view-buffer-other-window, view-buffer-other-frame):
7375 Just use pop-to-buffer.
7376
a5e063d5
TV
73772011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7378
7379 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7380
793d32bb
WH
73812011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7382
7383 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7384
d65e4c15
RS
73852011-08-31 Richard Stallman <rms@gnu.org>
7386
7387 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7388 of the separation of rmail-view-buffer from rmail-buffer.
7389 If you say no to "replace original", the decrypt is in the
7390 view buffer. If you say yes, the decrypt goes into the
7391 rmail buffer also.
7392
f818cd2a
MR
73932011-08-31 Martin Rudalics <rudalics@gmx.at>
7394
7395 * window.el (display-buffer-window): Rewrite doc-string.
7396 (display-buffer-record-window): New function.
7397 (display-buffer-macro-specifiers)
7398 (display-buffer-even-window-sizes, display-buffer-set-height)
7399 (display-buffer-set-width, display-buffer-in-window)
7400 (display-buffer-reuse-window, display-buffer-split-specifiers)
7401 (display-buffer-side-specifiers, display-buffer-split-window-1)
7402 (display-buffer-split-window, display-buffer-split-atom-window)
7403 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7404 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7405 (display-buffer-other-window-means-other-frame)
7406 (display-buffer-normalize-special)
7407 (display-buffer-normalize-default)
7408 (display-buffer-normalize-argument)
7409 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7410 (display-buffer-normalize-specifiers, display-buffer-frame)
7411 (display-buffer-same-window, display-buffer-same-frame)
7412 (display-buffer-other-window)
7413 (display-buffer-same-frame-other-window)
7414 (display-buffer-other-frame, pop-to-buffer-same-window)
7415 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7416 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7417 (switch-to-buffer-same-frame)
7418 (switch-to-buffer-other-window-same-frame)
7419 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7420 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7421 (display-buffer-alist-set): Remove.
7422 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7423 (special-display-regexps, special-display-function):
7424 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7425 parameter.
7426 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7427 (special-display-frame-alist, special-display-popup-frame)
7428 (same-window-buffer-names, same-window-regexps, same-window-p)
7429 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7430 (split-window-preferred-function, split-height-threshold)
7431 (split-width-threshold, window-splittable-p)
7432 (split-window-sensibly, window--try-to-split-window)
7433 (window--frame-usable-p, even-window-heights)
7434 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7435 (window--display-buffer-2, display-buffer-other-frame):
7436 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7437 (display-buffer-default, display-buffer-assq-regexp): New functions.
7438 (display-buffer-alist): Rewrite doc-string.
7439 (display-buffer-default-action)
7440 (display-buffer-overriding-action): New variables.
7441 (display-buffer, switch-to-buffer): Rewrite.
7442 (pop-to-buffer): Restore Emacs 23 behavior but use
7443 window-normalize-buffer-to-display.
7444 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7445 Restore Emacs 23 behavior but use
7446 window-normalize-buffer-to-switch-to.
7447 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7448 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7449 Rewrite using Emacs 23 options.
f818cd2a 7450
5bc3b51d
MA
74512011-08-31 Michael Albinus <michael.albinus@gmx.de>
7452
7453 * net/tramp.el (tramp-root-regexp): Remove.
7454 (tramp-completion-file-name-regexp-unified)
7455 (tramp-completion-file-name-regexp-separate)
7456 (tramp-completion-file-name-regexp-url): Don't use leading volume
7457 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7458 (tramp-drop-volume-letter): Simplify definition.
7459 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7460
b1a4f8e1
SM
74612011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7464 (bug#9356).
7465
5664fa7b
RT
74662011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7467
b1a4f8e1 7468 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7469
9a45d6c3
JL
74702011-08-29 Juri Linkov <juri@jurta.org>
7471
7472 * isearch.el (isearch-done): Don't display message "Mark saved"
7473 when arg `edit' is non-nil to prevent its flicker in the echo area.
7474
fb87e0fb
CY
74752011-08-28 Chong Yidong <cyd@stupidchicken.com>
7476
7477 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7478 obsolete packages for deletion.
7479
09ac1c2a
CS
74802011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7481
7482 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7483 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7484 view-mode from help-mode.
7485 (help-xref-override-view-map): Remove.
7486 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7487 view-mode is not used anymore.
7488
7a1ff57f
CY
74892011-08-28 Chong Yidong <cyd@stupidchicken.com>
7490
7491 * server.el (server-port): Doc fix.
7492
b9696605
CY
7493 * cus-theme.el (custom-theme-choose-mode): Inherit from
7494 special-mode (Bug#9124).
7495 (custom-theme-choose-mode-map): Add special-mode to parent.
7496
ef8cdf8c
AM
74972011-08-28 Alan Mackenzie <acm@muc.de>
7498
7499 * progmodes/cc-fonts.el
7500 (c-make-font-lock-BO-decl-search-function): New function.
7501 (c-basic-matchers-after - "Fontify the clauses after various
7502 keywords"): Extract the three keyword lists for the 3 erroneous
7503 constructs from the list of four, and use the new function above
7504 in place of an old one.
7505
27de4e20
DD
75062011-08-28 Deniz Dogan <deniz@dogan.se>
7507
7508 * net/rcirc.el (rcirc-insert-prev-input)
7509 (rcirc-insert-next-input): Remove unused argument.
7510
356a3681
SM
75112011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7514
3fc9b218
AM
75152011-08-27 Alan Mackenzie <acm@muc.de>
7516
7517 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7518 handle function pointer parameters properly.
7519
538a061c
MR
75202011-08-27 Martin Rudalics <rudalics@gmx.at>
7521
7522 * window.el (display-buffer-reuse-window): Fix case where
7523 selected window was reused with non-nil OTHER-WINDOW argument.
7524 (Bug#9381)
7525
35b1c40c
DD
75262011-08-27 Deniz Dogan <deniz@dogan.se>
7527
7528 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7529 oftc's NickServ messages.
7530
2f6a3e79
GM
75312011-08-27 Glenn Morris <rgm@gnu.org>
7532
7533 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7534
7254299e
CY
75352011-08-26 Chong Yidong <cyd@stupidchicken.com>
7536
7537 * emacs-lisp/package.el (package-install): Call package-initialize
7538 if called interactively.
7539
f8ccf167
LL
75402011-08-26 Leo Liu <sdl.web@gmail.com>
7541
7542 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7543
3e8cd5ce
JL
75442011-08-25 Juri Linkov <juri@jurta.org>
7545
7546 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7547 `search-whitespace-regexp' (bug#9364).
7548
93eb7113
JL
75492011-08-25 Juri Linkov <juri@jurta.org>
7550
7551 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7552 `regexp-search-ring' to their global values to protect from
7553 updating by `read-from-minibuffer' (bug#9185).
7554
f65d1611
JL
75552011-08-25 Juri Linkov <juri@jurta.org>
7556
7557 * textmodes/ispell.el (ispell-command-loop): Add newline
7558 at the end of the "Use option `i'..." line.
7559
f1cf7a31
JL
75602011-08-25 Juri Linkov <juri@jurta.org>
7561
7562 * battery.el (display-battery-mode): If `battery-status-function'
7563 or `battery-mode-line-format' is nil, display the message and set
7564 `display-battery-mode' to nil (bug#9363).
7565
0c95fcf7
EZ
75662011-08-25 Eli Zaretskii <eliz@gnu.org>
7567
7568 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7569 bidi-string-mark-left-to-right; they are unnecessary now.
7570
a2ebe600
DD
75712011-08-25 Deniz Dogan <deniz@dogan.se>
7572
7573 * net/quickurl.el: Documentation typo fixes.
7574
e4ed06f1
CY
75752011-08-25 Chong Yidong <cyd@stupidchicken.com>
7576
7577 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7578
e5f1c99e
GM
75792011-08-25 Glenn Morris <rgm@gnu.org>
7580
b2948976
GM
7581 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7582
e5f1c99e
GM
7583 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7584 (smtpmail-via-smtp): Handle nil response from smtp.
7585
f22f4808
JL
75862011-08-24 Juri Linkov <juri@jurta.org>
7587
7588 * proced.el (proced-marked): Inherit from `error' instead of
7589 `font-lock-warning-face'.
7590
7591 * ibuffer.el (ibuffer-marked-face): Change default face from
7592 `font-lock-warning-face' to `warning'.
7593 (ibuffer-deletion-face): Change default face from
7594 `font-lock-type-face' to `error'.
7595
7596 * battery.el (battery-update): Use the face `error' instead of
7597 `font-lock-warning-face' (bug#6117).
7598
6a93965e
JL
75992011-08-24 Juri Linkov <juri@jurta.org>
7600
7601 * faces.el (success): Change face color from "Green3" to
7602 "ForestGreen" on light background (bug#9353).
7603
1ed43b09
CY
76042011-08-24 Chong Yidong <cyd@stupidchicken.com>
7605
5664fa7b
RT
7606 * window.el (quit-window): Rename from quit-restore-window.
7607 Use same arglist as old quit-window.
1ed43b09
CY
7608 (frame-auto-delete): Doc fix.
7609
7610 * view.el (view-mode-exit): Use quit-window.
7611
11dcdbb2
JL
76122011-08-24 Juri Linkov <juri@jurta.org>
7613
7614 * isearch.el (isearch-ring-adjust1): Start visiting previous
7615 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7616 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7617 for empty search string (when the last search string is reused
7618 automatically) to adjust the isearch ring to the last element and
7619 prepare the correct index for further M-p commands (bug#9185).
7620
de62b4df
KH
76212011-08-24 Kenichi Handa <handa@m17n.org>
7622
7623 * international/ucs-normalize.el: If decomposition property of
7624 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7625 nil.
7626 (nfd, nfkd): Likewise.
7627
963b492b
SM
76282011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7631 from process filters aren't reliably transmitted to the surrounding
7632 accept-process-output.
7633 (mpc-proc-check): New function.
7634 (mpc-proc-sync): Use it (bug#8293)
7635
93b6b5e1
SM
76362011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7639 Add compatibility functions (bug#9313).
7640
bca633fb
EZ
76412011-08-23 Eli Zaretskii <eliz@gnu.org>
7642
b177498a
EZ
7643 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7644
6df6ae42 7645 * international/uni-bidi.el: Regenerate.
bca633fb 7646
0902a04e
KH
76472011-08-23 Kenichi Handa <handa@m17n.org>
7648
7649 * international/charprop.el:
7650 * international/uni-bidi.el:
7651 * international/uni-category.el:
7652 * international/uni-combining.el:
7653 * international/uni-comment.el:
7654 * international/uni-decimal.el:
7655 * international/uni-decomposition.el:
7656 * international/uni-digit.el:
7657 * international/uni-lowercase.el:
7658 * international/uni-mirrored.el:
7659 * international/uni-name.el:
7660 * international/uni-numeric.el:
7661 * international/uni-old-name.el:
7662 * international/uni-titlecase.el:
7663 * international/uni-uppercase.el: Regenerate.
7664
3bbf23bc
MR
76652011-08-23 Martin Rudalics <rudalics@gmx.at>
7666
7667 * help.el (help-window-setup): Fix message displayed when other
7668 window is reused. (Bug#9341)
7669
b3fd59bd
SM
76702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7671
1802e444
SM
7672 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7673 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7674
b3fd59bd
SM
7675 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7676 Mark obsolete.
7677 * shell.el (shell-parse-pcomplete-arguments): New function.
7678 (shell-completion-vars): Use it instead (bug#9160).
7679
4eb61348
SM
76802011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7681
867cab74
SM
7682 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7683 strings and comments (bug#9333).
7684
4eb61348
SM
7685 * emacs-lisp/debug.el (debug-arglist): New function.
7686 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7687 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7688
262a1439
JL
76892011-08-22 Juri Linkov <juri@jurta.org>
7690
56ee679c
JL
7691 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7692 Revert regexp that highlights output switches to its old
7693 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7694
262a1439
JL
7695 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7696 to check for empty output (bug#9226).
7697
f13f86fb
CY
76982011-08-22 Chong Yidong <cyd@stupidchicken.com>
7699
7700 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7701 symbol-constituent as the default, as that stops font-lock from
7702 working properly (Bug#8843).
7703
c65c9622
LMI
77042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
7706 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7707 `coding-system-for-*' around the process open call to avoid
7708 auth-source side effects.
e7f2c178 7709 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7710 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7711 probe hangs.
c65c9622 7712
23a8a5ab
CY
77132011-08-21 Chong Yidong <cyd@stupidchicken.com>
7714
ff98b2dd
CY
7715 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7716
23a8a5ab
CY
7717 * emacs-lisp/find-func.el (find-function-noselect): New arg
7718 lisp-only.
7719
7720 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7721 signal an error for built-in functions (Bug#6664).
7722
f5e3c598
LMI
77232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7724
7725 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7726 (smtpmail-try-auth-methods): Use it.
7727
a3f2468a
CY
77282011-08-21 Chong Yidong <cyd@stupidchicken.com>
7729
2c34e8da
CY
7730 * font-lock.el (font-lock-fontify-region)
7731 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7732 (font-lock-default-unfontify-buffer)
7733 (font-lock-default-fontify-region)
7734 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7735
b3fd59bd
SM
7736 * progmodes/compile.el (compilation-error-properties):
7737 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7738 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7739 `ant' regexp.
ee31aabc 7740
a3f2468a
CY
7741 * net/browse-url.el (browse-url-firefox): Don't call
7742 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7743
8e999f70
GM
77442011-08-20 Glenn Morris <rgm@gnu.org>
7745
c21a496a
GM
7746 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7747
59ee0542
GM
7748 * tutorial.el (tutorial--default-keys): Update some default bindings.
7749
8e999f70
GM
7750 * files.el (hack-local-variables): Fully ignore case for "mode:".
7751
e3715033
AM
77522011-08-20 Alan Mackenzie <acm@muc.de>
7753
7754 Resolve invalid use of a regexp in regexp-opt.
7755
4d61f28d
JB
7756 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7757 detection for a java annotation.
e3715033 7758
4d61f28d 7759 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7760 detection for a java annotation.
7761
4d61f28d
JB
7762 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7763 handling for java.
e3715033
AM
7764 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7765
04ed2e9c
CY
77662011-08-20 Chong Yidong <cyd@stupidchicken.com>
7767
7768 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7769 (Bug#9274).
7770
826cee64
AM
77712011-08-20 Alan Mackenzie <acm@muc.de>
7772
58179cce 7773 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7774 such a construct. Mainly for when jit-lock etc. starts a chunk
7775 here.
7776
58179cce 7777 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7778 variable.
58179cce 7779 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7780 c-make-font-lock-search-function.
7781 (c-make-font-lock-search-function): Use the above function.
7782 (c-make-font-lock-context-search-function): New function.
7783 (c-cpp-matchers): Enhance the preprocessor expression case with
7784 the above function
7785 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7786 which takes an expression.
7787
7788 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7789
13009bd8
MR
77902011-08-20 Martin Rudalics <rudalics@gmx.at>
7791
7792 * window.el (display-buffer-reuse-window)
7793 (display-buffer-pop-up-window): Don't reuse or split a side
7794 window.
7795
9234ff7f
GM
77962011-08-19 Glenn Morris <rgm@gnu.org>
7797
7798 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7799 Downcase "Mode:". (Bug#9331)
9234ff7f 7800
f635daa1
CY
78012011-08-18 Chong Yidong <cyd@stupidchicken.com>
7802
7803 * international/characters.el: Add L and R categories.
7804
7805 * subr.el (bidi-string-mark-left-to-right): Rename from
7806 string-mark-left-to-right. Use category search.
7807
7808 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7809
bc987f8b
JL
78102011-08-18 Juri Linkov <juri@jurta.org>
7811
7812 * faces.el (error, warning, success): New faces with definitions
7813 copied from old default values of `font-lock-warning-face',
7814 `compilation-warning', `compilation-info' (bug#6117).
7815
7816 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7817
7818 * progmodes/compile.el (compilation-error): Inherit from `error'.
7819 (compilation-warning): Inherit from `warning'.
7820 (compilation-info): Inherit from `success'.
7821
7822 * dired.el (dired-marked): Inherit from `warning'.
7823 (dired-flagged): Inherit from `error'.
7824
57173b96
LMI
78252011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826
3e79eb87
LMI
7827 * mail/smtpmail.el (auth-source): Require to avoid problems with
7828 binding variables (bug#9298). Also clean up some unused
7829 autoloads.
7830
b3fd59bd
SM
7831 * net/network-stream.el (network-stream-open-starttls):
7832 Support using starttls.el without using gnutls-cli.
57173b96 7833
02b404de
JL
78342011-08-17 Juri Linkov <juri@jurta.org>
7835
7836 * progmodes/grep.el (rgrep): Handle the case when
7837 `grep-find-command' is a cons cell (bug#9278).
7838
8c9177f2
MR
78392011-08-17 Martin Rudalics <rudalics@gmx.at>
7840
7841 * window.el (display-buffer-pop-up-frame): Run frame creation
7842 function with BUFFER current (as special-display-popup-frame
7843 does). Reported by Drew Adams.
7844
3644a0ab
DU
78452011-08-17 Daiki Ueno <ueno@unixuser.org>
7846
7847 * epa-mail.el: Simplify GnuPG group expansion using
7848 epg-expand-group.
7849 (epa-mail-group-alist, epa-mail-group-modtime)
7850 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7851 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7852 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7853 Remove.
7854
5e617bc2 78552011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7856
7857 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7858
9c4aeabf
AM
78592011-08-16 Alan Mackenzie <acm@muc.de>
7860
7861 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7862 Correct, to avoid the inside of macros.
7863
3a99bf64
RS
78642011-08-16 Richard Stallman <rms@gnu.org>
7865
04963aa8
RS
7866 * epa-mail.el: Handle GnuPG group definitions.
7867 (epa-mail-group-alist, epa-mail-group-modtime)
7868 (epa-mail-gnupg-conf-file): New variables.
7869 (epa-mail-parse-groups, epa-mail-sync-groups)
7870 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7871 (epa-mail-expand-recipients): New functions.
7872 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7873
177549d0
RS
7874 * mail/rmail.el (rmail-epa-decrypt): New command.
7875
fe38beef
RS
7876 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7877 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7878 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7879 (epa-decrypt-armor-in-region): Make error message clearer.
7880
934eacb9
SM
78812011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7884 and "a2b" to "ab" for `prefix'.
7885
d024fb4e
CY
78862011-08-14 Chong Yidong <cyd@stupidchicken.com>
7887
7888 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7889 filter groups.
de148fee
CY
7890 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7891 Fourquet (Bug#8804).
d024fb4e 7892
62f1ca49
JB
78932011-08-12 Juanma Barranquero <lekktu@gmail.com>
7894
7895 * startup.el (argi): Declare as global variable (bug#9275).
7896
9ccaaa4b
CY
78972011-08-12 Chong Yidong <cyd@stupidchicken.com>
7898
7899 * subr.el (string-mark-left-to-right): Search the entire string
7900 for RTL script, not just the terminating character. Doc fix.
7901
a3dae87a
SM
79022011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7903
6cd18349
SM
7904 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7905 New function.
7906 (js--regexp-literal, js-syntax-propertize-function): Remove.
7907 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7908 (js-mode-map): Don't rebind electric keys.
7909 (js-insert-and-indent): Remove.
7910 (js-mode): Setup electric-layout and electric-indent instead.
7911
a3dae87a
SM
7912 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7913
9d5cb631
DU
79142011-08-12 Daiki Ueno <ueno@unixuser.org>
7915
7916 * epa.el (epa-progress-callback-function): Fix the logic of
7917 displaying progress.
7918 * epa-file.el (epa-file-insert-file-contents): Make progress
7919 display more user-friendly.
7920 (epa-file-write-region): Ditto.
7921
3e26a4a2
CY
79222011-08-10 Chong Yidong <cyd@stupidchicken.com>
7923
7924 * subr.el (string-mark-left-to-right): New function.
7925
7926 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7927 Use string-mark-left-to-right.
7928 (list-buffers-noselect): Caller changed.
7929
a3dae87a
SM
7930 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7931 Use string-mark-left-to-right.
3e26a4a2
CY
7932 (tabulated-list-print): Recenter after moving point.
7933
ac8cf6e6
JL
79342011-08-10 Juri Linkov <juri@jurta.org>
7935
7936 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7937 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7938 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7939
8d96c9a4
CY
79402011-08-09 Chong Yidong <cyd@stupidchicken.com>
7941
7942 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7943 (Bug#7554).
7944
7be1c708 79452011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7946
7947 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7948 character. (Bug#6594)
7949
37e11a63
CY
79502011-08-08 Chong Yidong <cyd@stupidchicken.com>
7951
839dde57
CY
7952 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7953 (image-dired--with-db-file): New macro.
7954 (image-dired-write-tags, image-dired-remove-tag)
7955 (image-dired-create-gallery-lists, image-dired-write-comments)
7956 (image-dired-get-comment, image-dired-mark-tagged-files)
7957 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7958 (image-dired-gallery-generate): Use insert-file-contents.
7959
37e11a63
CY
7960 * time.el (display-time-world-list, display-time-world-display):
7961 * time-stamp.el (time-stamp-string):
7962 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7963 set-time-zone-rule (Bug#7337).
7964
0b4946c4
DU
79652011-08-08 Daiki Ueno <ueno@unixuser.org>
7966
7967 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7968 (epg-error-to-string, epg-errors-to-string): New function.
7969 (epg-wait-for-completion): Reverse errors list.
7970 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7971 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7972 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7973 (epg-sign-keys, epg-generate-key-from-file)
7974 (epg-generate-key-from-string): Format errors by using
7975 epg-errors-to-string (bug#9255).
7976 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7977
75bfc667
JL
79782011-08-07 Juri Linkov <juri@jurta.org>
7979
7980 * faces.el (list-faces-display): Remove extra angle bracket
7981 from `help-mode-map'.
7982
7983 * info.el (Info-history-toc-nodes): Doc fix.
7984
7985 * longlines.el (longlines-mode): Doc fix.
7986
673e08bb
SM
79872011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7988
4640dd88
SM
7989 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7990 of statements and in a few more cases (bug#9183).
7991
673e08bb
SM
7992 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7993 New functions.
7994 (cl-transform-lambda): Use them (bug#9239).
7995
89b3f019
MR
79962011-08-05 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (display-buffer-same-window)
7999 (display-buffer-same-frame, display-buffer-other-window)
8000 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8001 (pop-to-buffer-other-window)
8002 (pop-to-buffer-same-frame-other-window)
8003 (pop-to-buffer-other-frame): Make them defuns.
8004 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8005
640c8776
SM
80062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * subr.el (make-composed-keymap): Move from C. Change calling
8009 convention, and improve docstring to bring attention to a subtle point.
8010 * minibuffer.el (completing-read-default): Adjust accordingly.
8011
63648a95
MA
80122011-08-03 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8015 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8016
8017 * net/trampver.el: Update release number.
8018
b796c9b7
SM
80192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8022 "in" (bug#9190).
8023
2239d7d5
LMI
80242011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8025
e07dd7c3
LMI
8026 * mail/sendmail.el (sendmail-query-once): Restore the current
8027 buffer after querying (bug#9074).
8028
0e6a2bd7
LMI
8029 * dired.el (dired-flagged): Use different faces for marked and
8030 flagged files (bug#6117).
8031
ce887515
LMI
8032 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8033 (bug#4433).
8034
92f2affc
LMI
8035 * ido.el (ido-mode): Switch off the message if called
8036 non-interactively.
8037
57d5aff0
LMI
8038 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8039 before 587, since it appears that that's more likely to work for
8040 more people.
8041
98cd6c18 8042 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8043 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8044 exist.
8045
b96dec83
LMI
8046 * info.el: Remove the `Info-beginning-of-buffer' function
8047 (bug#8325).
8048
b796c9b7
SM
8049 * net/network-stream.el (network-stream-open-starttls):
8050 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8051
d90e2ea0
MR
80522011-08-01 Martin Rudalics <rudalics@gmx.at>
8053
8054 * window.el (display-buffer-in-window): Don't set dedicated status
8055 of window here (Bug#9215).
8056 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8057 (display-buffer-pop-up-side-window)
b796c9b7 8058 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8059
cca09170
SM
80602011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8063 before binding generated-autoload-file.
8064
027b979c
DD
80652011-08-01 Deniz Dogan <deniz@dogan.se>
8066
8067 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8068
3c7ee4f3
MA
80692011-07-30 Michael Albinus <michael.albinus@gmx.de>
8070
8071 Sync with Tramp 2.2.2.
8072
8073 * net/trampver.el: Update release number.
8074
2cc8e51a
JL
80752011-07-30 Juri Linkov <juri@jurta.org>
8076
8077 * dired-aux.el (dired-touch-initial): Remove function.
8078 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8079 current time, and `default' to the last modification time of the
8080 current marked file (bug#6887).
8081
a514d856
JM
80822011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8083
8084 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8085 numeric argument to read-number (bug#9163).
a514d856 8086
8a7eddd7
MA
80872011-07-27 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8090 connection process, it could be nil.
8091
1ddd96f5
LL
80922011-07-27 Leo Liu <sdl.web@gmail.com>
8093
8094 Simplify url handling in rcirc-mode.
8095
8096 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8097 (rcirc-browse-url-at-mouse): Remove.
8098 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8099
b248a85d
AM
81002011-07-26 Alan Mackenzie <acm@muc.de>
8101
8102 Fontify bitfield declarations properly.
8103
8104 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8105 (c-symbol-chars): Now exported as a lang variable.
8106 (c-not-primitive-type-keywords): New lang variable.
8107
8108 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8109 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8110 parsed as a bitfield declaration.
b248a85d 8111
b796c9b7
SM
8112 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8113 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8114 (c-punctuation-in): New function.
8115 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8116 declarations properly.
8117
68575ab0
UJ
81182011-07-26 Ulf Jasper <ulf.jasper@web.de>
8119
8120 * calendar/icalendar.el (icalendar--all-events): Take care of
8121 multiple vcalendars in a single file.
b796c9b7 8122 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8123
0f0a88b9
DD
81242011-07-25 Deniz Dogan <deniz@dogan.se>
8125
8126 * image.el (insert-image): Clarifying docstring.
8127
0b3f36df
MA
81282011-07-24 Michael Albinus <michael.albinus@gmx.de>
8129
8130 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8131 `tramp-send-command-and-check' if there is no error.
8132 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8133
a9901f61
AM
81342011-07-22 Alan Mackenzie <acm@muc.de>
8135
8136 Prevent cc-langs.elc being loaded at run time.
8137
8138 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8139 cc-langs.
8140
4d61f28d 8141 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8142 "(require 'cc-langs)". Quote a form so it will evaluate at
8143 (cc-mode's) compilation time.
8144
11d074b2
MA
81452011-07-22 Michael Albinus <michael.albinus@gmx.de>
8146
8147 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8148 loading. (Bug#9114)
8149
938b94c8
MR
81502011-07-21 Martin Rudalics <rudalics@gmx.at>
8151
8152 * window.el (display-buffer-pop-up-window)
8153 (display-buffer-pop-up-side-window)
8154 (display-buffer-in-side-window): Call display-buffer-set-height
8155 and display-buffer-set-width after setting the new window's
b796c9b7 8156 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8157
bfa4f190
SS
81582011-07-20 Sam Steingold <sds@gnu.org>
8159
8160 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8161 (etags-tags-included-tables): Call `convert-standard-filename' on
8162 the file names contained in TAGS so that windows Emacs can handle
8163 TAGS files created by cygwin ctags.
8164
8ca42262
LMI
81652011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8166
8167 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8168 which apparently didn't work.
8169
5db2afd2 81702011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8171
5db2afd2
RW
8172 * proced.el (proced-send-signal): For *Marked Processes* buffer
8173 put point at beginning of buffer.
8174
92e15d10
SB
81752011-07-19 Stephen Berman <stephen.berman@gmx.net>
8176
8177 * proced.el (proced-format): Make header lines align with the text
8178 (bug#1779).
8179
1bfd59e5
LMI
81802011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8181
8182 * view.el (view-buffer): Allow running in `special' modes if we're
8183 visiting a file (bug#8615).
8184
f5aae37c
MR
81852011-07-19 Martin Rudalics <rudalics@gmx.at>
8186
8187 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8188 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8189 New functions.
f5aae37c
MR
8190 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8191 more accurately.
8192
bf2c1571
AM
81932011-07-18 Alan Mackenzie <acm@muc.de>
8194
8195 Fontify declarators properly when, e.g., a jit-lock chunk begins
8196 inside a declaration.
8197
8198 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8199
b796c9b7
SM
8200 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8201 New function.
bf2c1571
AM
8202 (c-complex-decl-matchers): Insert reference to
8203 c-font-lock-enclosing-decls.
8204
8205 * progmodes/cc-engine.el (c-backward-single-comment):
8206 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8207 to nil around calls to (forward-comment -1).
8208
4e190b80
LMI
82092011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8210
12dc863d
LMI
8211 * image.el (put-image): Doc typo fix.
8212
a762e966
LMI
8213 * progmodes/etags.el (tags-search): Doc typo fix.
8214
4e190b80
LMI
8215 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8216 password if we get errors 550 to 554.
8217
f019fb21
LMI
82182011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8219
b796c9b7 8220 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8221
81746738
LMI
8222 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8223 indentation character (bug#6380).
8224
3ee3a1b5
LMI
8225 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8226
c82f64de
LMI
8227 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8228 to clarify what the problem is (bug#4291).
8229
f019fb21
LMI
8230 * simple.el (current-kill): Clarify what
8231 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8232 (auto-fill-mode): Document `auto-fill-function' in relation to
8233 `auto-fill-mode' (bug#2470).
f019fb21 8234
0794775d
LM
82352011-07-16 Lawrence Mitchell <wence@gmx.li>
8236
8237 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8238 method if slot is read-only (bug#9035).
8239
be39b8cc
MR
82402011-07-16 Martin Rudalics <rudalics@gmx.at>
8241
b796c9b7 8242 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8243 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8244 selected before, see discussion of (Bug#8615), (Bug#6954).
8245 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8246
6ccf7859
GM
82472011-07-15 Glenn Morris <rgm@gnu.org>
8248
8249 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8250 Respect help-form.
6ccf7859 8251
87e86684
LM
82522011-07-09 Lawrence Mitchell <wence@gmx.li>
8253
8254 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8255 (gnutls-negotiate): Use it.
8256
d6066239
LMI
82572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8258
b796c9b7
SM
8259 * net/gnutls.el (gnutls-negotiate):
8260 Upcase `gnutls-algorithm-priority'.
d6066239 8261
bd23ebc0
GM
82622011-07-15 Glenn Morris <rgm@gnu.org>
8263
c65bca65
GM
8264 * jka-compr.el (jka-compr-verbose): Move from here...
8265 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8266 Add missing :version tag.
8267 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8268
478615cc
LMI
82692011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8270
7b41decb
LMI
8271 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8272 (gnutls-negotiate): Use it.
8273
dbc44fcd
LMI
8274 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8275
06789f97
LMI
8276 * info.el (Info-beginning-of-buffer): New command.
8277 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8278 announcing `b' as the key (bug#8325).
ab896c37 8279 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8280
c39da690
LMI
8281 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8282
3aa5f34b
LMI
8283 * international/mule-cmds.el
8284 (describe-specified-language-support): Make the error message
8285 clearer (bug#8905).
8286
4bf0979f
LMI
8287 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8288
478615cc
LMI
8289 * isearch.el (isearch-barrier): Add a doc string, since it's
8290 mentioned in a function doc string (bug#8678).
8291
75c68aa1
MR
82922011-07-15 Martin Rudalics <rudalics@gmx.at>
8293
8294 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8295 buffer argument (Bug#9083) and self-identifying label argument.
8296
a7c33da2
GM
82972011-07-15 Glenn Morris <rgm@gnu.org>
8298
8299 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8300
2f5c6024
LMI
83012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8302
8303 * man.el (Man-fontify-manpage): Fix message when formatting the
8304 man page (bug#7929).
8305
0bb23927 83062011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8307
8308 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8309 argument LRM; if non-nil, append an invisible LRM character to the
8310 buffer name.
8311 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8312 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8313 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8314 paragraph direction.
cce4b0a7 8315
621ef9ab
LMI
83162011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317
d1583c48
LMI
8318 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8319 the man page name (bug#7929).
8320
6a57fb5f
LMI
8321 * image.el (put-image): Mention the `put-image' overlay property
8322 (bug#7834).
8323
d7956b14
LMI
8324 * scroll-bar.el (set-scroll-bar-mode): Mention that
8325 `scroll-bar-mode' lists the values (bug#7772).
8326
5b2d4a66
LMI
8327 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8328 command (bug#7729).
8329
7509a874
LMI
8330 * rect.el (apply-on-rectangle): Return the point after the last
8331 operation.
8332 (string-rectangle): Go to the point after the last operation
8333 (bug#7522).
8334
4fe74b19
LMI
8335 * printing.el (pr-toggle-region): Clarify the documentation
8336 slightly (bug#7493).
8337
b796c9b7
SM
8338 * time.el (display-time-update):
8339 Allow `display-time-mail-function' to return nil (bug#7158).
8340 Fix suggested by Detlev Zundel.
ab283561 8341
fc233c9d
LMI
8342 * vc/diff.el (diff): Clarify the order the file names are read
8343 (bug#7111).
8344
43f5740b
LMI
8345 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8346 the doc string (bug#7015).
8347
f2182a76
LMI
8348 * font-lock.el (font-lock-maximum-decoration): Mention what
8349 numeric levels mean (bug#6935).
8350
621ef9ab
LMI
8351 * startup.el (initial-buffer-choice): Don't mention the `none'
8352 selection, which is against policy.
8353
adc47434
MR
83542011-07-14 Martin Rudalics <rudalics@gmx.at>
8355
b796c9b7
SM
8356 * window.el (display-buffer-normalize-special):
8357 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8358
7e5bfb8f
EZ
83592011-07-14 Eli Zaretskii <eliz@gnu.org>
8360
8361 * subr.el (version<, version<=, version=): Mention "-CVS" and
8362 "-12345" alpha version numbers.
8363
27fa387a
CY
83642011-07-14 Chong Yidong <cyd@stupidchicken.com>
8365
8366 * bindings.el: Add advertised binding for set-mark-command
8367 (Bug#5772).
8368
8bdfa064
CY
83692011-07-14 Chong Yidong <cyd@stupidchicken.com>
8370
8371 * bindings.el (mode-line-other-buffer):
8372 * bookmark.el (bookmark-bmenu-2-window):
8373 * bs.el (bs-cycle-next, bs-cycle-previous):
8374 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8375 switch-to-buffer.
8376
8377 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8378 Delete.
8bdfa064 8379
5eba16a3
JB
83802011-07-14 Juanma Barranquero <lekktu@gmail.com>
8381
8382 * follow.el (follow-debug-message, follow-redisplay):
8383 * jka-cmpr-hook.el (with-auto-compression-mode):
8384 Fix typos in docstrings.
8385
15853710
LMI
83862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8387
a28e4607
LMI
8388 * subr.el (with-silent-modifications): Clarify somewhat what the
8389 macro inhibits (bug#6525).
8390
15853710
LMI
8391 * simple.el (eval-expression): Note what it does if called
8392 interactively (bug#6495).
8393
bee0fcef
CY
83942011-07-13 Chong Yidong <cyd@stupidchicken.com>
8395
b796c9b7
SM
8396 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8397 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8398
8399 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8400 Remove switch-to-buffer.
8401
58274504
LMI
84022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403
bd2fcc8d
LMI
8404 * files.el (make-directory): Clarify that an error will be raised
8405 if there's an error (bug#6397).
8406
0f04b32c
LMI
8407 * startup.el (initial-buffer-choice): Add `none' as a choice
8408 (bug#6234).
8409
465c5fc8
LMI
8410 * subr.el (add-hook): Clarify section about buffer-local hooks
8411 (bug#6218).
8412
58274504
LMI
8413 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8414
bead9a43
JB
84152011-07-13 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * tabify.el (untabify): Preserve the current column so that point
8418 doesn't move (bug#6032).
8419
3af98a7b
LMI
84202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8421
b796c9b7
SM
8422 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8423 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8424
6240145a
GM
84252011-07-13 Glenn Morris <rgm@gnu.org>
8426
8427 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8428 (dired-insert-directory): Give a message the first time
8429 if ls is found not to support --dired.
8430
1d8c2ccc
LMI
84312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8432
8433 * simple.el (toggle-truncate-lines): Clarify what is toggled
8434 (bug#5580). Text by Drew Adams.
8435
5fc4038e
CY
84362011-07-13 Chong Yidong <cyd@stupidchicken.com>
8437
8438 * simple.el (blink-matching-open): Make the error message from the
8439 last change less verbose.
8440
bf6012e5
DN
84412011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8442
8443 * font-lock.el (font-lock-comment-face): Use the high contrast
8444 "yellow" color for font-lock-comment-face on low color terminals
8445 using a dark background color (bug#4221).
8446
343c3b5a
LMI
84472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
7e9505c5
LMI
8449 * dired.el (dired-insert-set-properties): Make the doc string
8450 reflect what it does now (bug#5325).
8451
c26fdcf5
LMI
8452 * simple.el (blink-matching-open): Say that we were unable to find
8453 the match within the limit, if we're limited (bug#5122).
8454
bb388cc5
LMI
8455 * international/mule-cmds.el (prefer-coding-system): Add an
8456 example (bug#4869).
8457
343c3b5a
LMI
8458 * progmodes/etags.el (tags-search): Document `file-list-form'
8459 (bug#4731).
8460
2a517d45
LM
84612011-07-13 Lawrence Mitchell <wence@gmx.li>
8462
8463 * net/browse-url.el (browse-url-default-browser)
8464 (browse-url-browser-function): Make the default browser choice a
8465 bit more logical (bug#4300). Also clean up the doc string.
8466
b6c78ef2
JB
84672011-07-13 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8470 binary endings (bug#4440).
8471
1c4dd947
LMI
84722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8473
a2014063
LMI
8474 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8475 which can be pretty annoying (bug#8971).
8476
9c9c2d88
LMI
8477 * jka-compr.el (jka-compr-verbose): New variable, and use
8478 throughout (bug#8971).
8479
1c4dd947
LMI
8480 * info.el (Info-find-file): Fall back on the installation
8481 directory if we can't find the info node anywhere else.
8482
a1c9f41b
SO
84832011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8484
8485 * vc/vc.el (vc-revert-file):
8486 Don't set file time-stamp in the past. (Bug#5181)
8487
536f3d36
LMI
84882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8489
7152b011
LMI
8490 * files.el (after-find-file): Give a better error message when
8491 trying to find a symlink that points to a file that doesn't exist
8492 (bug#4398).
8493
536f3d36
LMI
8494 * progmodes/cc-vars.el: Remove (probably) misleading comment
8495 (bug#4396).
8496
460c0fba
JB
84972011-07-12 Johan Bockgård <bojohan@gnu.org>
8498
8499 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8500
7a6bda45
CY
85012011-07-12 Chong Yidong <cyd@stupidchicken.com>
8502
8503 * mouse-sel.el: Hack restoring functionality, while keeping
8504 compatibility with 2010-07-03 changes to mouse selection.
8505 (mouse-sel-primary-overlay): New var.
8506 (mouse-sel-selection-alist): Use it.
8507 (mouse-sel-mode): Doc fix; remove points that are default features
8508 of mouse.el.
8509
c79598ef
JB
85102011-07-12 Johan Bockgård <bojohan@gnu.org>
8511
8512 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8513 Fix previous fix (bug#2490).
8514
ff8be6ef
RW
85152011-07-12 Roland Winkler <winkler@gnu.org>
8516
b796c9b7
SM
8517 * textmodes/bibtex.el (bibtex-initialize):
8518 Use pop-to-buffer-same-window.
ff8be6ef
RW
8519 (bibtex-search-entries): Fix interactive call.
8520
296ba3ee
LMI
85212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522
f5242a02 8523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8524 Fontise bytecomp Error lines more correctly (bug#2490).
8525 Fix suggested by Johan Bockgård.
f5242a02 8526
296ba3ee
LMI
8527 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8528
8529 * dired-x.el (dired-guess-default): Use `delete-dups'.
8530
f69fd0d2
CY
85312011-07-12 Chong Yidong <cyd@stupidchicken.com>
8532
8533 * dired.el (dired-mark-prompt):
8534 * dired-aux.el (dired-read-shell-command): Doc fix.
8535
eab5dc07
LMI
85362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
b796c9b7
SM
8538 * mail/sendmail.el (sendmail-query-once):
8539 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8540 emacs -Q.
8541
8542 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8543
eab5dc07
LMI
8544 * cus-edit.el (custom-file): Take an optional no-error variable.
8545 (customize-save-variable): Set the variable, and give a warning if
8546 running under "emacs -q".
8547
a1e65d42
JB
85482011-07-11 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * loadhist.el (unload-feature-special-hooks):
8551 Add `auto-coding-functions', `fill-nobreak-predicate' and
8552 `find-directory-functions' (bug#5327).
8553
1d52da10
LMI
85542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8555
be958f1d
LMI
8556 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8557
5bedb26c
LMI
8558 * cus-edit.el (custom-guess-name-alist): -alist variables should
8559 use the `alist' type (bug#3120). Suggested by Drew Adams.
8560
1d52da10
LMI
8561 * printing.el: Add documentation to all the `pr-toggle-' commands.
8562
cd394be1 85632011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8564
8565 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8566 backends where it makes sense (bug#2623).
8567
dcc88d8a
LMI
85682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8569
c3de9feb
LMI
8570 * dired-x.el (dired-guess-default): Remove duplicate shell command
8571 entries (bug#2028).
8a93078b 8572 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8573 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8574
dcc88d8a
LMI
8575 * subr.el (remove-duplicates): New conveniency function.
8576
505e3645
LMI
85772011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8578
8579 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8580 (bug#1526).
8581
85822011-07-10 Martin Rudalics <rudalics@gmx.at>
8583
8584 * window.el (display-buffer-normalize-default): Don't invert
8585 meaning of even-window-heights. Reported by Eli Zaretskii
8586 <eliz@gnu.org>.
8587
455e4fa1
BR
85882011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8589
8590 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8591
8e0bc3e9
CY
85922011-07-10 Chong Yidong <cyd@stupidchicken.com>
8593
8594 * window.el (display-buffer): Fix arguments to
8595 display-buffer-reuse-window in last change.
8596
fa7c3228
CY
8597 * faces.el (link): Use a less saturated blue on light backgrounds.
8598
8599 * startup.el (fancy-startup-text, fancy-about-text)
8600 (fancy-startup-tail): Use font-lock faces, for background safety.
8601
c0a7f300
BN
86022011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8603
b796c9b7
SM
8604 * emulation/viper-cmd.el (viper-change-state-to-vi):
8605 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8606
4dc2a129
MR
86072011-07-09 Martin Rudalics <rudalics@gmx.at>
8608
8609 * window.el (display-buffer-default-specifiers): Remove.
8610 (display-buffer-macro-specifiers): Remove default specifiers.
8611 (display-buffer-alist): Default to nil.
b796c9b7 8612 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8613 (display-buffer-pop-up-window): Allow splitting internal
8614 windows. Check whether a live window was created.
8615 (display-buffer-other-window-means-other-frame)
8616 (display-buffer-normalize-arguments): Rename to
8617 display-buffer-normalize-argument and rewrite. Set the
8618 other-window specifier.
8619 (display-buffer-normalize-special): New function.
8620 (display-buffer-normalize-options): Rename to
8621 display-buffer-normalize-default and rewrite.
8622 (display-buffer-normalize-options-inhibit): Remove.
8623 (display-buffer-normalize-specifiers): Rewrite.
8624 (display-buffer): Process other-window specifier and call
8625 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8626 more faithfully.
b796c9b7 8627 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8628 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8629 (display-buffer-in-window, display-buffer-alist-set):
8630 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8631 <tassilo@member.fsf.org>.
8632
2d43b8c9
LL
86332011-07-09 Leo Liu <sdl.web@gmail.com>
8634
8635 * register.el (insert-register): Restore accidental change on
8636 2011-06-26. (Bug#9028)
8637
7f9b7c53
GM
86382011-07-09 Glenn Morris <rgm@gnu.org>
8639
8640 * subr.el (remq): Handle the empty list. (Bug#9024)
8641
f042cfd8
AS
86422011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8643
8644 * mail/sendmail.el (send-mail-function): No longer delay custom
8645 initialization.
8646 * custom.el (custom-initialize-delay): Doc fix.
8647
856b2f11
SM
86482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8651
afae1d68
MA
86522011-07-08 Michael Albinus <michael.albinus@gmx.de>
8653
8654 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8655 human-friendly prompt.
8656
0757af94
SM
86572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8660 provided by a particular plugin.
8661
d760b731
LMI
86622011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8663
8664 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8665 save customizations (with "emacs -Q"), just set the variable
8666 instead of erroring out.
8667
8668 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8669
cd79ce90
JL
86702011-07-08 Juri Linkov <juri@jurta.org>
8671
8672 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8673 (archive-zip-update-case): Use 7z if found by `executable-find'.
8674 The order of searching the available programs is the same as in
8675 `archive-zip-extract' (bug#8968).
8676
14cc04aa
CY
86772011-07-07 Chong Yidong <cyd@stupidchicken.com>
8678
8679 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8680 (menu-bar-options-menu): Tweak descriptions.
8681
0a1848ec
LMI
86822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
8684 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8685 menu items into verb phrases (bug#1421). Also refill to fit under
8686 80 columns.
8687
f5bd0689
CY
86882011-07-07 Chong Yidong <cyd@stupidchicken.com>
8689
538e85c6
CY
8690 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8691 (Info-read-node-name): Doc fix (Bug#1084).
8692
f5bd0689
CY
8693 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8694 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8695 (end-of-sexp, beginning-of-sexp)
8696 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8697 (forward-symbol, forward-same-syntax, word-at-point)
8698 (sentence-at-point): Doc fix (Bug#1144).
8699
56ec5115
LMI
87002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8701
f3f8e37f
LMI
8702 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8703 should cover it (bug#1281).
8704
0757af94 8705 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8706
e9fce1ac 8707 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8708 negotiation fails, then possibly try again with a non-encrypted
8709 connection (bug#9017).
8710
56ec5115
LMI
8711 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8712 be used.
8713
c2f9aec8
RS
87142011-07-07 Richard Stallman <rms@gnu.org>
8715
8716 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8717 property, and handle its changed format.
8718 Look for the correct line number.
8719 Use file's line contents (but not past first =) to find
8720 correct line in message.
8721
ef7b981d 87222011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8723
8724 * international/characters.el (build-unicode-category-table):
8725 Delete it.
0757af94 8726 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8727
0757af94 8728 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8729 to src/chartab.c.
8730 (get-char-code-property): Call unicode-property-table-internal to
8731 load a file. Call get-unicode-property-internal where necessary.
8732 (put-char-code-property): Call unicode-property-table-internal to
8733 load a file. Call put-unicode-property-internal where necessary.
8734 put-unicode-property-internal where necessary.
0757af94
SM
8735 (char-code-property-description):
8736 Call unicode-property-table-internal to load a file.
c805dec0
KH
8737
8738 * international/charprop.el:
8739 * international/uni-bidi.el:
8740 * international/uni-category.el:
8741 * international/uni-combining.el:
8742 * international/uni-comment.el:
8743 * international/uni-decimal.el:
8744 * international/uni-decomposition.el:
8745 * international/uni-digit.el:
8746 * international/uni-lowercase.el:
8747 * international/uni-mirrored.el:
8748 * international/uni-name.el:
8749 * international/uni-numeric.el:
8750 * international/uni-old-name.el:
8751 * international/uni-titlecase.el:
8752 * international/uni-uppercase.el: Regenerate.
8753
8754 * loadup.el: Load international/charprop.el before
8755 international/characters.
8756
e14b388a
CY
87572011-07-07 Chong Yidong <cyd@stupidchicken.com>
8758
8759 * window.el (next-buffer, previous-buffer): Signal an error if
8760 called from a minibuffer window.
8761
8762 * bindings.el: Revert 2011-07-04 change.
8763
354cf0ba
RS
87642011-07-06 Richard Stallman <rms@gnu.org>
8765
8766 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8767 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8768 Treat markers like ints.
8769 (rmail-mime-entity): Doc fix.
8770
a48868a7
LMI
87712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8772
4906cd3d
LMI
8773 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8774 defcustom again for backwards compatibility.
8775
e0457abe
LMI
8776 * simple.el (shell-command-on-region): Fill.
8777
d67f7e1f
LMI
8778 * dired-aux.el (dired-kill-line): Add a doc string.
8779
fe204702
LMI
8780 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8781 to "\\sw\\|\\s_" (bug#358).
8782
a48868a7
LMI
8783 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8784 (dired-unmark-backward): Ditto.
8785 (dired-flag-backup-files): Ditto.
8786
8787 * dired-x.el (dired-mark-sexp): Ditto.
8788
aa8a705c
RS
87892011-07-06 Richard Stallman <rms@gnu.org>
8790
8791 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8792 (rmail-mime-entity): New arg TRUNCATED.
8793 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8794 New functions.
8795 (rmail-mime-save): Warn if entity is truncated.
8796 (rmail-mime-toggle-hidden): Likewise, for showing.
8797 (rmail-mime-process-multipart): Record when an entity is truncated.
8798
a9a936b9
RS
8799 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8800 if ENTITY is a string.
8801
1f2b92cb
LMI
88022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8803
f4f73198 8804 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8805 of faces when `M-C-x'-ing their definitions (bug#8378).
8806 Also clean up the code slightly.
f4f73198 8807
12b16734 8808 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8809 because that makes the colors go away.
12b16734 8810
f0691d22
LMI
8811 * mail/sendmail.el (send-mail-function): Change the default to
8812 `sendmail-query-once'.
9e87df06 8813 (sendmail-query-once): Add an autoload cookie.
f0691d22 8814
1f2b92cb
LMI
8815 * net/network-stream.el (network-stream-open-starttls): Try using
8816 a plain connection even if the server offered STARTTLS, and we
8817 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8818 capability. This should make smtpmail.el work in slightly more
8819 configurations.
8820
1cdd2a1b
MA
88212011-07-06 Michael Albinus <michael.albinus@gmx.de>
8822
8823 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8824 New defun.
8825 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8826
fbcc67e2
MM
88272011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8828
8829 * progmodes/sql.el: Version 3.0
0757af94 8830 (sql-product-alist): Add product :completion-object,
fbcc67e2 8831 :completion-column, and :statement attributes.
0757af94 8832 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8833 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8834 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8835 ansi keywords.
8836 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8837 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8838 (sql-oracle-show-reserved-words): New function for development.
8839 (sql-product-font-lock): Simplify for source code buffers.
8840 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8841 New functions.
8842 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8843 (sql-mode-map): Add statement movement functions.
8844 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8845 New variable.
fbcc67e2
MM
8846 (sql-statement-regexp, sql-beginning-of-statement)
8847 (sql-end-of-statement, sql-signum): New functions.
0757af94 8848 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8849 (sql-show-sqli-buffer): Bug fix.
8850 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8851 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8852 with sql-interactive-mode.
8853 (sql-save-connection): Save buffer local settings.
0757af94 8854 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8855 (sql-product-interactive): Bug fix.
8856 (sql-preoutput-hold): New variable.
8857 (sql-interactive-remove-continuation-prompt): Bug fixes.
8858 (sql-debug-redirect): New variable.
8859 (sql-str-literal): New function.
8860 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8861 Redesign.
fbcc67e2
MM
8862 (sql-oracle-save-settings, sql-oracle-restore-settings)
8863 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8864 (sql-completion-object, sql-completion-column)
8865 (sql-completion-sqlbuf): New variables.
8866 (sql-build-completions-1, sql-build-completions)
8867 (sql-try-completion): New functions.
8868 (sql-read-table-name): Use them.
8869 (sql-contains-names): New buffer local variable.
8870 (sql-list-all, sql-list-table): Use it.
8871 (sql-oracle-completion-types): New variable.
8872 (sql-oracle-completion-object, sql-sqlite-completion-object)
8873 (sql-postgres-completion-object): New functions.
8874
d4eaeab1
GM
88752011-07-06 Glenn Morris <rgm@gnu.org>
8876
8877 * window.el (pop-to-buffer): Doc fix.
8878
322b7dab 88792011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8880
8881 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8882
322b7dab 88832011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8884
322b7dab 8885 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8886
322b7dab 8887 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8888
605dd5bf
CY
88892011-07-05 Chong Yidong <cyd@stupidchicken.com>
8890
8891 * button.el (button): Inherit from link face. Suggested by Dan
8892 Nicolaescu.
8893
7dbfa719
SM
88942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8895
3db614b0
SM
8896 * progmodes/gdb-mi.el: Fit in 80 columns.
8897 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8898 switch-to-buffer.
8899
7dbfa719
SM
8900 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8901 if imenu is simply not configured (bug#8941).
8902
919d884a
KM
89032011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8904
8905 * allout.el (allout-post-undo-hook): New allout outline-change
8906 event hook to signal undo activity.
8907 (allout-post-command-business): Run allout-post-undo-hook if an
8908 undo just occurred.
7dbfa719
SM
8909 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8910 * allout-widgets.el (allout-widgets-after-undo-function):
8911 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8912 in the vicinity of an undo.
8913 (allout-widgets-mode): Include allout-widgets-after-undo-function
8914 on the new allout-post-undo-hook.
8915
450a0f09
SM
89162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8919 Let define-derived-mode define it.
8920 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8921 cycles of abbrev-table inheritance (bug#8998).
8922
2de69e00
RW
89232011-07-05 Roland Winkler <winkler@gnu.org>
8924
8925 * textmodes/bibtex.el: Add support for biblatex.
8926 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8927 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8928 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8929 (bibtex-entry-alist, bibtex-field-alist): New variables.
8930 (bibtex-entry-field-alist): Obsolete alias for
8931 bibtex-BibTeX-entry-alist.
8932 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8933 (bibtex-set-dialect): New command.
8934 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8935 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8936 Bind via bibtex-set-dialect.
2de69e00
RW
8937 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8938 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8939 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8940 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8941 Define via bibtex-set-dialect.
450a0f09
SM
8942 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8943 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8944 (bibtex-vec-push, bibtex-vec-incr): New functions.
8945 (bibtex-format-entry, bibtex-field-list)
8946 (bibtex-print-help-message, bibtex-validate)
8947 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8948
2dcdbdd9
SM
89492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * progmodes/compile.el (compilation-goto-locus):
8952 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8953 * bs.el (bs-cycle-next, bs-cycle-previous):
8954 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8955 * bindings.el (mode-line-other-buffer):
8956 * autoinsert.el (auto-insert):
8957 * arc-mode.el (archive-extract):
8958 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8959
b27640fe
JB
89602011-07-05 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8963 Fix check of `emacs-lock-unlockable-modes'.
8964 Coerce true values of `emacs-lock--try-unlocking' to t.
8965
53bbe3ad
JB
89662011-07-05 Juanma Barranquero <lekktu@gmail.com>
8967
8968 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8969 * emacs-lock.el: New file.
8970
1d3cdbc7
JD
89712011-07-05 Julien Danjou <julien@danjou.info>
8972
8973 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8974 than `boundp' to check if face is set.
8975
9173deec
JB
89762011-07-05 Juanma Barranquero <lekktu@gmail.com>
8977
8978 * register.el (registerv-make):
8979 * window.el (window-min-height): Fix typos in docstrings.
8980
869795d6
JD
89812011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8982
9173deec 8983 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8984 Update doc string.
8985
b768cdcd
JB
89862011-07-04 Juanma Barranquero <lekktu@gmail.com>
8987
8988 * server.el (server-execute): Catch quit and call
8989 `server-return-error' to pass the error back to emacsclient and
8990 close the connection (bug#8942).
8991
13aa217b
KM
89922011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8993
8994 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8995 insecure exception for current topic. Also note that auto-saves
8996 are handled differently.
8997
5d3385a0 8998 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8999 State variables for tracking auto-save inhibition situation.
9000
9001 (allout-write-contents-hook-handler): Rename from
9002 'allout-write-file-hook-handler', and describe how it depends on
9003 write-contents-functions sensitivity to non-nil value to prevent
9004 file write.
9005
9006 (allout-auto-save-hook-handler): Remove. auto-save does not check
9007 this in individual buffers, only in the starting buffer, so this
9008 is not the right way for us to inhibit auto-save in a buffer
9009 according to its condition.
9010
9011 (allout-mode): Use new allout-write-contents-hook-handler, and
9012 only with write-contents-functions. Remove auto-save provisions -
9013 they're implemented elsewhere.
9014
9015 (allout-before-change-handler): If undo is in progress, note that
9016 for attention of allout-post-command-business.
9017
9018 (allout-post-command-business): If the command we're following was
9019 an undo, check for change in the status of encrypted items and
9020 adjust auto-save inhibitions accordingly.
9021
9022 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9023 according to whether there are or aren't any plain-text topics
9024 pending encryption.
9025
2dcdbdd9 9026 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9027 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9028 if there are plain-text topics pending encryption.
13aa217b
KM
9029
9030 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9031 buffer-saved-size and some allout state to not inhibit auto-saves
9032 if there are no longer any plain-text topics pending encryption.
9033
0757af94
SM
9034 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9035 No longer provide for exemption of the current topic.
13aa217b 9036
ac89b32c
JL
90372011-07-04 Juri Linkov <juri@jurta.org>
9038
9039 Add 7z operations to delete and save changed members (bug#8968).
9040 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9041 New defcustoms.
9042 (archive-7z-write-file-member): New function.
9043 (archive-7z-summarize): Fix the number of dashes in the
9044 listing output.
9045
8fa39615
SM
90462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9049 (bug#8958).
9050
2f11b3f1
CY
90512011-07-04 Chong Yidong <cyd@stupidchicken.com>
9052
d66fef2b
CY
9053 * bindings.el: Ignore next-buffer and previous-buffer in
9054 minibuffer-local-map.
9055
2f11b3f1
CY
9056 * font-lock.el (font-lock-builtin-face): Change light background
9057 color to dark slate blue (Bug#6693).
9058
f932a347
WD
90592011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9060
9061 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9062
c8af70e1
SM
90632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9066 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9067 Add switch-to-buffer.
9068
f158badc
LMI
90692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9070
9071 * isearch.el (isearch-search-fun-function): Clarify further the
9072 meaning of the function returned.
9073
6d95bd46
MA
90742011-07-04 Michael Albinus <michael.albinus@gmx.de>
9075
9076 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9077
9078 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9079 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9080 Use it.
9081 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9082 `tramp-default-remote-path' does not exist.
9083 (tramp-send-command-and-read): New optional argument NOERROR.
9084 (tramp-open-connection-setup-interactive-shell)
9085 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9086 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9087 (tramp-process-sentinel): Flush also process' connection property.
9088 (tramp-sh-handle-start-file-process): Do not set process
9089 sentinel. It is done now ...
9090 (tramp-maybe-open-connection): ... here. (Bug#8929)
9091
909e6b67
MK
90922011-07-04 MON KEY <monkey@sandpframing.com>
9093
9094 * play/animate.el (animate-string): Doc fixes and allow changing
9095 the buffer name (bug#5417).
9096
90972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9098
c8af70e1 9099 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9100
f34755dc
PE
91012011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9102
396cec72
PE
9103 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9104 This is simpler and helps future-proof the code.
9105 (timer-until): Use time-subtract and float-time.
08235028 9106 (timer--time-less-p): Use time-less-p.
f34755dc 9107
56e6cc31
JB
91082011-07-04 Juanma Barranquero <lekktu@gmail.com>
9109
3abb79e5
JB
9110 * type-break.el (timep): Use the value of `float-time' to avoid a
9111 byte-compiler warning.
9112
56e6cc31
JB
9113 * server.el (server-eval-and-print): Return any result, even nil.
9114
7b9430b4
PE
91152011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9116
9117 * type-break.el: Accept time formats that the builtins accept.
9118 (timep, type-break-time-difference): Accept any format that
9119 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9120 This is simpler and helps future-proof the code.
9121 (type-break-time-difference): Round rather than ignoring
9122 subseconds components.
9123
3034e9e7
LMI
91242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125
9126 * info.el (Info-apropos-matches): Make non-interactive, since it
9127 doesn't seem to do anything useful as a command (bug#8829).
9128
1485f4c0
CY
91292011-07-03 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9132 Move from faces.el.
1485f4c0
CY
9133 (frame-default-terminal-background): New function.
9134
9135 * custom.el (custom-push-theme): Don't record faces in `changed'
9136 theme; this doesn't work correctly for per-frame face settings.
9137 (disable-theme): Use face-set-after-frame-default to reset faces.
9138 (custom--frame-color-default): New function.
9139
9fa3dd45
LMI
91402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
c8af70e1 9142 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9143 (bug#8769).
9144
6cbbc20c
KR
91452011-03-29 Kevin Ryde <user42@zip.com.au>
9146
9147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9148 `perl-Test2' extend to match possible "fail #N" rep count
9149 (bug#8377).
9150
c7f98048
LMI
91512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9152
65676592
LMI
9153 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9154 `smtpmail-via-smtp' now returns the error instead of nil.
9155
c7f98048
LMI
9156 * isearch.el (isearch-search-fun-function): Clarify the doc string
9157 (bug#8101).
9158
56e6cc31 91592011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9160
9161 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9162 unnecessary spaces (bug#8987).
9163
2b216704
LMI
91642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9165
9166 * net/network-stream.el (open-network-stream): Use the
9167 :end-of-capability command thoughout.
9168
91692011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9170
9171 * net/network-stream.el (open-network-stream): Add the
9172 :end-of-capability command parameter, used by pop3.el.
9173
36adf6ce
LMI
91742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9175
1ca0da0e
LMI
9176 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9177
fc00f69c
LMI
9178 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9179 for list)" (bug#6475).
9180
28fd8759 9181 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9182 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9183 an error (bug#6297).
9184
0dd8b6da
LMI
9185 * man.el (Man-reference-regexp): Allow matching possible
9186 word-wrapped references (bug#6289).
9187
ce1438d6
LMI
9188 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9189 for consistency with the other vc buffers (bug#6197).
9190 (vc-checkin): Ditto.
9191
9192 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9193
36adf6ce
LMI
9194 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9195
e83cc1f7
LMI
91962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
8a20ca4c
LMI
9198 * custom.el (defcustom): Clarify that :set is only used in the
9199 Customize user interface (bug#6089).
9200
83319045
LMI
9201 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9202 associated with a file, refuse to run instead of erroring out
9203 (bug#6084).
9204
a8392169
LMI
9205 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9206 the doc string, since it appears that using `fill-column' always
9207 controls the width (bug#7845).
9208
e83cc1f7
LMI
9209 * simple.el (shell-command-on-region): Say where the error output
9210 went if `shell-command-default-error-buffer' is set (bug#6857).
9211
e47ca23b
KM
92122011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9213
9214 * allout.el (allout-yank-processing): Adjust cursor position for
9215 backwards-deleted space.
9216
9217 (allout-rebullet-heading): Register changes with
9218 allout-exposure-changed-hook, so the modified topic is properly
9219 decorated.
9220
5cf56143
LMI
92212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9222
08549772
LMI
9223 * minibuffer.el (completion-in-region): Document PREDICATE
9224 (bug#7136).
9225
48e96771
LMI
9226 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9227 of keyword/argument pairs (bug#6904).
9228
c8af70e1
SM
9229 * replace.el (multi-occur):
9230 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9231
e17d05e2
LMI
92322011-07-02 Drew Adams <drew.adams@oracle.com>
9233
9234 * dired.el (dired-mark-if): Make the message about whether it's
9235 marking or unmarking clearer (bug#8523).
9236
063b0e45
LMI
92372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238
9239 * disp-table.el (display-table-print-array): New function.
9240 (describe-display-table): Use it to print the vectors more pretty
9241 (Bug#8859).
9242
28545e04
MR
92432011-07-02 Martin Rudalics <rudalics@gmx.at>
9244
9245 * window.el (window-state-get-1): Don't assign clone numbers.
9246 Add clone-of item to list of window parameters.
9247 (window-state-put-2): Don't process clone numbers.
9248 (display-buffer-alist): Fix doc-string.
9249
3349e122
SM
92502011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (remq): Don't allocate if it's not needed.
9253 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9254 (keymap--merge-bindings): New functions.
9255 (keymap-canonicalize): Use them to refine the canonicalization.
9256 * minibuffer.el (minibuffer-local-completion-map)
9257 (minibuffer-local-must-match-map): Move initialization from C.
9258 (minibuffer-local-filename-completion-map): Move initialization from C;
9259 don't inherit from anything here.
9260 (minibuffer-local-filename-must-match-map): Make obsolete.
9261 (completing-read-default): Use make-composed-keymap to combine
9262 minibuffer-local-filename-completion-map with either
9263 minibuffer-local-must-match-map or
9264 minibuffer-local-filename-completion-map.
9265
d224ac83
GM
92662011-07-01 Glenn Morris <rgm@gnu.org>
9267
3de63bf8
GM
9268 * type-break.el (type-break-time-sum): Use dolist.
9269
d224ac83
GM
9270 * textmodes/flyspell.el (flyspell-word-search-backward):
9271 Replace CL function.
9272
1a1e3f32
SM
92732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9274
fe3f64d5
SM
9275 * mouse.el (mouse--strip-first-event): New function.
9276 (function-key-map): Use it to map fringe clicks to normal clicks
9277 by default.
9278
eb604e34
SM
9279 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9280 (vc-bzr-revision-completion-table): Add support for annotate and date.
9281
1a1e3f32
SM
9282 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9283 inherit from parent.
9284
5bd35902
LMI
92852011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286
ace6c69c 9287 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9288 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9289
191e2bed
LMI
9290 * dired.el (dired-mode): Fix up the doc string as suggested by
9291 Drew Adams (bug#8817).
9292
5bd35902
LMI
9293 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9294 cookie, since the manual says that it should be possible to add
9295 this function to `find-file-hook' (bug#8709).
9296
eee8207a
TZ
92972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9298
9299 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9300 here. Noted Ted Zlatanov as the maintainer.
9301 (cfengine-common-settings, cfengine-common-syntax): New functions
9302 to set up common things between `cfengine-mode' and
9303 `cfengine3-mode'.
9304 (cfengine3-mode): New mode.
9305 (cfengine3-defuns cfengine3-defuns-regex
9306 (cfengine3-class-selector-regex cfengine3-category-regex)
9307 (cfengine3-vartypes cfengine3-font-lock-keywords)
9308 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9309 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9310
36b148cf
MA
93112011-07-01 Michael Albinus <michael.albinus@gmx.de>
9312
9313 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9314
9315 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9316
0bf4ba9a
MR
93172011-07-01 Martin Rudalics <rudalics@gmx.at>
9318
9319 * window.el (same-window-buffer-names, same-window-regexps)
9320 (same-window-p, special-display-frame-alist)
9321 (special-display-popup-frame, special-display-function)
9322 (special-display-buffer-names, special-display-regexps)
9323 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9324 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9325 (split-window-preferred-function, split-height-threshold)
9326 (split-width-threshold, even-window-heights)
9327 (display-buffer-mark-dedicated, window-splittable-p)
9328 (split-window-sensibly, window-safely-shrinkable-p):
9329 Un-obsolete.
9330 (display-buffer): Don't spread args with function specifier
9331 because special-display-popup-frame won't like it.
9332
35837f51
PE
93332011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9334
d0672f86
PE
9335 Time-stamp simplifications and fixes.
9336 These improve accuracy slightly, and future-proof the code
9337 against some potential changes to current-time format.
9338
b9444d97
PE
9339 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9340 by using time-since and float-time.
9341
0ef923dc
PE
9342 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9343 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9344 + NNN microseconds".
9345
2f81380d
PE
9346 * type-break.el (type-break-time-sum): Rewrite using time-add.
9347
845b5c3e
PE
9348 * play/hanoi.el (hanoi-current-time-float): Remove.
9349 All uses replaced by float-time.
9350
ee6f1be0
PE
9351 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9352 This yields a more-accurate answer.
9353 (rng-time-to-float): Remove; no longer needed.
9354
fe955043
PE
9355 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9356
5777162a
PE
9357 * calendar/timeclock.el (timeclock-seconds-to-time):
9358 Defalias to seconds-to-time, since they're the same thing.
9359
3103f8b6 9360 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9361 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9362 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9363
0e61a35f
SM
93642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * window.el (bury-buffer): Don't iconify the only frame.
9367 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9368 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9369
ddd63a1e
CY
93702011-07-01 Chong Yidong <cyd@stupidchicken.com>
9371
0e61a35f
SM
9372 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9373 Add mouse-yank-primary.
ddd63a1e 9374
055f4923
TZ
93752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9376
9377 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9378
6a2fb145
SM
93792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9382 (find-library-name): Use it to find relative load names when provided
9383 absolute file name (bug#8803).
9384
fd4983f2
LMI
93852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386
887d14ad
LMI
9387 * textmodes/flyspell.el (flyspell-word): Consider words that
9388 differ only in case as potential doublons (bug#5687).
9389
c53dc7fc
LMI
9390 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9391 Remove two rather uninteresting debugging-like messages to make
9392 debbugs.el more silent.
9393
fd4983f2
LMI
9394 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9395 a password-like phrase.
9396
7a71b18d 93972011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9398
9399 * progmodes/cc-guess.el: New file.
9400
6a2fb145 9401 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9402
9403 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9404 derived from `c-basic-common-init'.
9405
9406 * progmodes/cc-mode.el (top-level): Require cc-guess.
9407 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9408
1fa280a3
LM
94092011-06-30 Lawrence Mitchell <wence@gmx.li>
9410
9411 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9412
e6597158
AM
94132011-06-30 Alan Mackenzie <acm@muc.de>
9414
1fa280a3
LM
9415 * progmodes/cc-engine.el (c-guess-continued-construct):
9416 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9417 lock is disabled. Name this case as "CASE G".
9418
68ba37fb
KM
94192011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9420
9421 * allout.el (allout-yank-processing): Fix injection of extra space
9422 between bullet and non-whitespace character in first topic when
9423 pasting, ensuring that the actual spacing in the pasted topic
9424 following the bullet char is preserved. This extra space was
9425 causing pasted encrypted topics to get a decrypted status even
9426 when the content was actually still encrypted. Now the decryption
9427 status from before the paste is preserved.
9428
9429 (allout-flag-region): Set all allout overlays so they evaporate
9430 when reduced to zero length (evanescent), to prevent overlay
9431 leakage.
9432
887a0b34
GM
94332011-06-30 Glenn Morris <rgm@gnu.org>
9434
94b9acce
GM
9435 * w32-fns.el (w32-charset-info-alist): Declare.
9436
1d9b46d4
GM
9437 * find-dired.el (find-grep-options): Simplify.
9438
cc232200
GM
9439 * term/ns-win.el (ns-set-resource): Declare.
9440
28e77c46
GM
9441 * ses.el (row, col): Declare dynamic variables honestly.
9442
887a0b34
GM
9443 * textmodes/reftex-parse.el (index-tags): Declare.
9444
658d8eb8
CY
94452011-06-30 Chong Yidong <cyd@stupidchicken.com>
9446
9447 * cus-edit.el (customize-push-and-save): New function.
9448
9449 * files.el (hack-local-variables-confirm): Use it.
9450
1fa280a3
LM
9451 * custom.el (load-theme): New arg NO-CONFIRM.
9452 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9453 (custom-enabled-themes): Doc fix.
9454
9455 * cus-theme.el (customize-create-theme)
9456 (custom-theme-merge-theme): Callers to load-theme changed.
9457
bb617717
LMI
94582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9459
d61bdd5d
LMI
9460 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9461 short URLs have at least one dot in them (bug #7614).
9462
bb617717
LMI
9463 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9464 nil, because using a pty is apparently too slow (bug #895).
9465
2f31f37a
LMI
94662011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9467
9468 * mail/sendmail.el (sendmail-query-once): New function.
9469 (sendmail-query-once-function): New variable.
9470
3076b24e
GM
94712011-06-29 Glenn Morris <rgm@gnu.org>
9472
faf2a174
GM
9473 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9474
3076b24e
GM
9475 * ses.el (top-level): Require cl when compiling.
9476 (ses-set-localvars): Fix error statement.
9477 Call it at compile time to silence a storm of warnings.
9478
5386012d
MR
94792011-06-29 Martin Rudalics <rudalics@gmx.at>
9480
9481 * window.el (normalize-live-buffer): Rename to
9482 window-normalize-buffer.
9483 (normalize-live-frame): Rename to window-normalize-frame.
9484 (normalize-any-window): Rename to window-normalize-any-window.
9485 (normalize-live-window): Rename to window-normalize-live-window.
9486 (make-window-atom): Rename to window-make-atom.
9487 (window-resize-reset): Rename to window--resize-reset.
9488 (window-resize-reset-1): Rename to window--resize-reset-1.
9489 (resize-mini-window): Rename to window--resize-mini-window.
9490 (resize-subwindows-skip-p): Rename to
9491 window--resize-subwindows-skip-p.
9492 (resize-subwindows-normal): Rename to
9493 window--resize-subwindows-normal.
9494 (resize-subwindows): Rename to window--resize-subwindows.
9495 (resize-other-windows): Rename to window--resize-siblings.
9496 (resize-this-window): Rename to window--resize-this-window.
9497 (resize-root-window): Rename to window--resize-root-window.
9498 (resize-root-window-vertically): Rename to
9499 window--resize-root-window-vertically.
9500 (normalize-buffer-to-display): Rename to
9501 window-normalize-buffer-to-display.
9502 (normalize-buffer-to-switch-to): Rename to
9503 window-normalize-buffer-to-switch-to.
9504 Correspondingly update all callers of the functions listed
9505 above.
9506 (display-buffer-alist, display-buffer-normalize-arguments)
9507 (display-buffer-normalize-options, display-buffer)
9508 (display-buffer-alist-set): Use "function" instead of
9509 "fun-with-args".
9510
1176868d
CY
95112011-06-28 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9514 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9515 debbugs.gnu.org. Mention acknowledgment email.
9516
20a7a65f
LMI
95172011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9518
9519 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9520 buffer multibyteness, since it shouldn't matter.
9521
5f45cca5
MR
95222011-06-28 Martin Rudalics <rudalics@gmx.at>
9523
9524 * window.el (display-buffer-in-side-window): Handle dedicated
9525 windows as in display-buffer-reuse-window.
9526 (display-buffer-normalize-alist): Use value of override
9527 specifier.
9528 (display-buffer-normalize-specifiers): Use value of
9529 other-window-means-other-frame specifier.
9530 (display-buffer-alist): Rewrite some texts in widgets.
9531 (display-buffer): Spread arguments when calling function
9532 specified by fun-with-args.
9533
ad85fe1f
DD
95342011-06-28 Deniz Dogan <deniz@dogan.se>
9535
1fa280a3
LM
9536 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9537 Unnest `let'.
da68c4c8 9538
ad85fe1f
DD
9539 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9540 selectors (Bug#5732).
ec49bd31 9541 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9542
a08cc025
JA
95432011-06-27 Jari Aalto <jari.aalto@cante.net>
9544
9545 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9546 (eshell-ls-date-format): New defcustom.
9547 (eshell-ls-file): Use it.
9548
e2b551c5
SM
95492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9552
8982b231
KY
95532011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9554
9555 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9556 (ange-ftp-make-tmp-name): New arg.
9557 (ange-ftp-file-local-copy): Use it.
9558
36c9fa27
J
95592011-06-27 Jambunathan K <kjambunathan@gmail.com>
9560
9561 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9562 no-conversion (Bug#8870).
9563
d68443dc
MR
95642011-06-27 Martin Rudalics <rudalics@gmx.at>
9565
9566 * window.el (window-right, window-left, window-child)
9567 (window-child-count, window-last-child)
9568 (window-iso-combination-p, walk-window-tree-1)
9569 (window-atom-check-1, window-tree-1, delete-window)
9570 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9571 new naming conventions - window-vchild, window-hchild,
9572 window-next and window-prev are now called window-top-child,
9573 window-left-child, window-next-sibling and window-prev-sibling
9574 respectively.
d615d6d2
MR
9575 (resize-window-reset): Rename to window-resize-reset.
9576 (resize-window-reset-1): Rename to window-resize-reset-1.
9577 (resize-window): Rename to window-resize.
9578 (window-min-height, window-min-width)
9579 (resize-mini-window, resize-this-window, resize-root-window)
9580 (resize-root-window-vertically, adjust-window-trailing-edge)
9581 (enlarge-window, shrink-window, maximize-window)
9582 (minimize-window, delete-window, quit-restore-window)
9583 (split-window, balance-windows, balance-windows-area-adjust)
9584 (balance-windows-area, window-state-put-2)
9585 (display-buffer-even-window-sizes, display-buffer-set-height)
9586 (display-buffer-set-width, set-window-text-height)
9587 (fit-window-to-buffer): Rename all "resize-window" prefixed
9588 calls to use the "window-resize" prefix convention.
9589 (display-buffer-alist): Fix symbol for label specifier.
9590 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9591 corresponding specifier.
9592 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9593
b6458526
VB
95942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9595
9596 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9597 convention.
9598 (ses-call-printer): Does not pass an empty string to formatter when the
9599 cell is empty to keep from barking printer Calc math-format-value.
9600
d31fd9ac
RS
96012011-06-27 Richard Stallman <rms@gnu.org>
9602
43d5bf84
RS
9603 * battery.el (battery-mode-line-limit): New variable.
9604 (battery-update): Handle it.
9605
d31fd9ac
RS
9606 * mail/rmailmm.el (rmail-mime-process-multipart):
9607 Handle truncated messages.
9608
819a6054
GM
96092011-06-27 Glenn Morris <rgm@gnu.org>
9610
9611 * progmodes/flymake.el (flymake-err-line-patterns):
9612 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9613
cedc73f2
VB
96142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9615
819a6054 9616 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9617 (ses--clean-!, ses--clean-_): New functions.
9618 (ses-range): Add configurability of readout order, and conversion
9619 to Calc vector.
9620
5e5d49b6
VB
9621 * ses.el (ses-repair-cell-reference-all): New function.
9622 (ses-cell-symbol): Set macro as safe, so that it can be used in
9623 formulas.
9624
56e6cc31 9625 * ses.el: Update cycle detection algorithm.
90ca8b49 9626 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9627 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9628 (ses-set-localvars): New function.
9629 (ses-make-cell): Add property-list as a cell element.
9630 (ses-cell-property-get-fun, ses-cell-property-get)
9631 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9632 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9633 New functions.
90ca8b49
VB
9634 (ses-cell-property-set, ses-cell-property-pop)
9635 (ses-cell-property-get-handle): New macro.
9636 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9637 New aliases, used for code readability.
9638 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9639 cycle detection.
9640 (ses-self-reference-early-detection): New defcustom.
fac916bf 9641 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9642 (ses-mode): Use ses-set-localvars.
9643 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9644 before lauching the update processing.
9645 (ses-initialize-Dijkstra-attempt): New function.
9646 (ses-recalculate-cell): Update for cycle detection based on
9647 Dijkstra algorithm.
9648
2bb63e81
VB
9649 * ses.el: Fix commenting and indenting convention.
9650
c9d29fb8
SM
96512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * bs.el (bs-cycle-next): Complete last change.
9654
d8e4b68b
JB
96552011-06-27 Drew Adams <drew.adams@oracle.com>
9656
9657 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9658
40098786
LMI
96592011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9660
c9d29fb8
SM
9661 * net/network-stream.el (network-stream-open-starttls):
9662 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9663 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9664
40098786
LMI
9665 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9666 to binary to possibly avoid line encoding issues on Windows (among
9667 other things).
9668
468d09d4
LMI
96692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670
9671 * net/network-stream.el (open-network-stream): Return an :error
9672 saying what the problem was, if possible.
9673
9674 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9675 server.
9676
9677 * net/network-stream.el (network-stream-open-starttls): If we
9678 wanted to use STARTTLS, and the server offered it, but we weren't
9679 able to because we had no STARTTLS support, then close the connection.
9680 (open-network-stream): Return an :error element, if present.
9681
16f07dd7
CY
96822011-06-26 Chong Yidong <cyd@stupidchicken.com>
9683
88821ca0
CY
9684 * hl-line.el (hl-line-sticky-flag): Doc fix.
9685 (global-hl-line-sticky-flag): New option (Bug#8323).
9686 (global-hl-line-highlight): Obey it.
9687
16f07dd7
CY
9688 * vc/vc.el (vc-revert-show-diff): Default to t.
9689
6b5ccddf
KM
96902011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9691
c9d29fb8
SM
9692 * allout-widgets.el (allout-widgets-post-command-business):
9693 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9694 undecorated when an isearch is continued past, and isearch
9695 automatically collapses them. This leads to "widget leaks", where
9696 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9697 hidden widgets can slow down cursor travel, substantially.
9698 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9699 so we're doing without this nicety.
9700
9701 (allout-widgets-tally-string): Don't try to do a hash-table-count
9702 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9703 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9704 *Messages* when allout-widgets-maintain-tally is t.
9705
355f2e07
MR
97062011-06-26 Martin Rudalics <rudalics@gmx.at>
9707
9708 * window.el (display-buffer-normalize-argument): Rename to
9709 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9710 LABEL argument. Respect special-display-function when popping up
9711 a new frame. Fix code searching for a window showing the buffer
9712 on another frame.
c9d29fb8
SM
9713 (display-buffer-normalize-specifiers):
9714 Call display-buffer-normalize-arguments.
355f2e07
MR
9715 (display-buffer-in-window): Don't undedicate the window if its
9716 buffer remains the same.
9717 Reported by Drew Adams <drew.adams@oracle.com>.
9718 (display-buffer-alist): Add choice for same-window macro
9719 specfier.
9720 (display-buffer): Mention special meaning of LABEL argument in
9721 doc-string. Fix quoting. Don't pop up a new frame even as
9722 fallback.
9723
7ca8fc42
JB
97242011-06-26 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9727 avoid deleting the current window in some cases (bug#8911).
9728
bc312254
AS
97292011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9730
9731 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9732 (Bug#8934)
9733
2db18f3f
LMI
97342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735
c9d29fb8
SM
9736 * net/network-stream.el (network-stream-open-starttls):
9737 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9738 (network-stream-open-tls): Ditto.
9739
6302e0d3
LL
97402011-06-26 Leo Liu <sdl.web@gmail.com>
9741
9742 * register.el (registerv): New struct.
9743 (registerv-make): New function.
c9d29fb8
SM
9744 (jump-to-register, describe-register-1, insert-register):
9745 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9746 struct. (Bug#8415)
9747
5fdd4046
CY
97482011-06-26 Chong Yidong <cyd@stupidchicken.com>
9749
2afef60a
CY
9750 * vc/vc.el (vc-revert-show-diff): New defcustom.
9751 (vc-diff-internal): New arg specifying diff buffer.
9752 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9753 reuse an existing *vc-diff* buffer (Bug#8927).
9754
5fdd4046
CY
9755 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9756
e93db24a
GM
97572011-06-26 Glenn Morris <rgm@gnu.org>
9758
9759 * progmodes/f90.el (f90-critical-indent): New option.
9760 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9761 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9762 (f90-mode): Doc fix.
9763 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9764 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9765 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9766 (f90-match-end): Handle block, critical.
9767
eefff499
GM
97682011-06-25 Glenn Morris <rgm@gnu.org>
9769
f6ba4cc9
GM
9770 * calendar/diary-lib.el (diary-included-files): Doc fix.
9771 (diary-include-files): New function, extracted from
9772 diary-include-other-diary-files and diary-mark-included-diary-files.
9773 (diary-include-other-diary-files, diary-mark-included-diary-files):
9774 Just call diary-include-files.
9775 (diary-mark-entries): Reset diary-included-files on first call.
9776
16712304
GM
9777 * calendar/diary-lib.el (diary-mark-entries)
9778 (diary-mark-included-diary-files):
9779 Visit included diary-files in temp buffers.
9780
5d8e0d43
GM
9781 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9782 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9783 (f90-start-block-re, f90-imenu-generic-expression)
9784 (f90-looking-at-program-block-start, f90-no-block-limit):
9785 Add support for submodules.
9786
ccf7a5d5
GM
9787 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9788 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9789
11fdef7d 97902011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9791
9792 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9793 buffer-file-type before setting its value, to avoid disastrous
eefff499 9794 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9795
74f53697
JB
97962011-06-25 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9799
9800 * ses.el (ses-unload-function):
9801 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9802
9803 * proced.el (proced-unload-function):
9804 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9805
18a4ce5e
AR
98062011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9807
9808 * server.el (server-create-window-system-frame): Add parameters arg.
9809 (server-process-filter): Doc fix. Handle frame-parameters.
9810
519d22cc
JB
98112011-06-25 Juanma Barranquero <lekktu@gmail.com>
9812
9813 Fix bug#8730, bug#8781.
9814
9815 * loadhist.el (unload--set-major-mode): New function.
9816 (unload-feature): Use it.
9817
9818 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9819 (python-unload-function): New function.
9820
c206f5b0
SM
98212011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9824
f9ad64f3
GS
98252011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9826
9827 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9828 the candidates list.
9829
7d0da90e
JB
98302011-06-24 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9833
14b4e83d
RS
98342011-06-23 Richard Stallman <rms@gnu.org>
9835
9836 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9837 (rmail-variables): Set next-error-move-function.
9838 (rmail-what-message): Take argument POS.
9839 (rmail-next-error-move): New function.
9840
273d2baf
SM
98412011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9844 messages for adjacent non-terminals.
9845
56c2cc9a
RS
98462011-06-23 Richard Stallman <rms@gnu.org>
9847
9848 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9849 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9850 (rmail-start-mail): Don't specify use of rmail-mail-return;
9851 that's done by mail-bury now.
9852 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9853
d59eb518
MA
98542011-06-23 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9857 SIZE is a number.
9858
02cfc6d6
MR
98592011-06-23 Martin Rudalics <rudalics@gmx.at>
9860
9861 * window.el (get-lru-window, get-mru-window)
9862 (get-largest-window): Never return a minibuffer window.
9863 (display-buffer-pop-up-window): Fix a bug that could lead to
9864 reusing the minibuffer window.
9865 (display-buffer): Pass original specifier argument to
9866 display-buffer-function instead of the normalized one.
9867 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9868
4e323265
LL
98692011-06-22 Leo Liu <sdl.web@gmail.com>
9870
9871 * minibuffer.el (completing-read-function)
9872 (completing-read-default): Move from minibuf.c
9873
7a70468f
RS
98742011-06-22 Richard Stallman <rms@gnu.org>
9875
50718fc2
RS
9876 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9877 to Rmail even if not started by a special Rmail command.
9878
7a70468f
RS
9879 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9880 Copy the buffer currently showing just one message.
9881
297dde5a
RW
98822011-06-22 Roland Winkler <winkler@gnu.org>
9883
9884 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9885 (bibtex-clean-entry): First delete the old key so that a
9886 customized algorithm for generating the new key does not get
9887 confused by the old key.
9888 (bibtex-url): Obey regexp of first step.
9889 (bibtex-search-entries): Do not use add-to-list with local
9890 list-var.
9891
97bb1093
LMI
98922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893
9894 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9895 stored a user name, then query for the password first, instead of
9896 waiting for SMTP to give an error message and the trying again.
9897
1c0f1a19
JD
98982011-06-22 Lawrence Mitchell <wence@gmx.li>
9899
9900 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9901 BUFFER in call-process.
9902
396f7c9d
LMI
99032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9904
9905 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9906 QUIT twice.
ddb7ffee
LMI
9907 (smtpmail-try-auth-methods): Require user name and password from
9908 auth-source.
396f7c9d 9909
8998d1b3
MR
99102011-06-22 Martin Rudalics <rudalics@gmx.at>
9911
9912 * window.el (display-buffer-default-specifiers)
9913 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9914 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9915 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9916
9917 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9918 (special-display-frame-alist, special-display-popup-frame):
9919 Remove duplicate declarations. These are now in window.el.
9920
4ea31e07
LMI
99212011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9922
c9d29fb8
SM
9923 * mail/smtpmail.el (smtpmail-via-smtp):
9924 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9925 server supports it. SMTP servers that support STARTTLS commonly
9926 require it.
9927
9928 * net/network-stream.el (network-stream-open-starttls): Support
9929 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9930 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9931
95f41d9a
LMI
9932 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9933 upgrades with `open-network-stream', and rely solely on
9934 auth-source for all credentials. Big changes throughout the file,
9935 but in particular:
c9d29fb8
SM
9936 (smtpmail-auth-credentials): Remove.
9937 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9938 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9939 MAIL FROM, too.
95f41d9a 9940
c9d29fb8
SM
9941 * net/network-stream.el (network-stream-open-starttls):
9942 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9943 STARTTLS.
9944 (auth-source): Require.
9945 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9946 (network-stream-certificate): Change cert-cert to cert and
9947 cert-key to key.
4ea31e07 9948
065ec2c7
MA
99492011-06-21 Michael Albinus <michael.albinus@gmx.de>
9950
9951 * net/tramp-cache.el (top): Don't load the persistency file when
9952 "emacs -Q" has been called.
9953
cd93b359
DR
99542011-06-21 Tim Harper <timcharper@gmail.com>
9955
d8e4b68b
JB
9956 * term/ns-win.el (ns-initialize-window-system):
9957 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9958 resource to NO as it is not yet supported by the NS port.
9959
ae9c0411
JB
99602011-06-21 Juanma Barranquero <lekktu@gmail.com>
9961
9962 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9963 (list-dynamic-libraries): ...not here.
9964
7f3f739f
LL
99652011-06-21 Leo Liu <sdl.web@gmail.com>
9966
9967 * subr.el (sha1): Implement sha1 using secure-hash.
9968
327c8fb1
MR
99692011-06-21 Martin Rudalics <rudalics@gmx.at>
9970
9971 * window.el (display-buffer-alist): In default value do not
9972 enforce searching a window on any but the selected frame.
9973 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9974 (display-buffer-select-window): Remove function.
9975 (display-buffer-in-window): When a window on another frame gets
9976 reused, do not select it any more but just raise its frame if
9977 necessary (Bug#8851) and (Bug#8856).
9978 (display-buffer-normalize-options): Handle pop-up-frames related
9979 options more faithfully.
9980 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9981 window if it is on another frame.
c9d29fb8
SM
9982 (display-buffer-alist, display-buffer-default-specifiers):
9983 Don't make new frame unsplittable by default.
9e9de014
MR
9984 (display-buffer-normalize-argument): Fix doc-string typo and use
9985 'same-frame-other-window instead of 'other-window when associating
9986 with display-buffer-macro-specifiers.
327c8fb1 9987
7cf3f556
VB
99882011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9989
9990 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9991 New functions.
9992 (5x5-mode-map, 5x5-mode-menu): Bind them.
9993 (5x5-draw-grid): Tweak the solver's rendering.
9994
60a406cf
SM
99952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9998 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9999
d8e4b68b 100002011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10001
10002 * menu-bar.el: Use function variable instead of switch-to-buffer.
10003 (menu-bar-select-buffer-function): New variable.
60a406cf 10004 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10005
478d6f95
SM
100062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10009 variable's status.
10010
ca530739
JD
100112011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10012
10013 * x-dnd.el (x-dnd-version-from-flags)
10014 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10015 and long as number (Bug#8899).
10016 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10017
bcd70d97
SM
100182011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10019
60a406cf 10020 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10021 (completion-try-completion, completion-all-completions): Compute the
10022 metadata argument if it's missing; make it optional (bug#8795).
10023
60a406cf 10024 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10025 (widget-complete): Use new :completion-function property.
10026 (widget-completions-at-point): New function.
10027 (default): Use :completion-function instead of :complete.
60a406cf
SM
10028 (widget-default-completions): Rename from widget-default-complete;
10029 Rewrite.
bcd70d97
SM
10030 (widget-string-complete, widget-file-complete, widget-color-complete):
10031 Remove functions.
10032 (file, symbol, function, variable, coding-system, color):
10033 * international/mule-cmds.el (default-input-method, charset)
10034 (language-info-custom-alist):
10035 * cus-edit.el (face): Use new property :completions.
10036
10037 * progmodes/pascal.el (pascal-completions-at-point): New function.
10038 (pascal-mode): Use it.
10039 (pascal-mode-map): Use completion-at-point.
10040 (pascal-toggle-completions): Make obsolete.
10041 (pascal-complete-word, pascal-show-completions):
10042 * progmodes/octave-mod.el (octave-complete-symbol):
10043 Redefine as obsolete alias.
10044 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10045 Signal absence of completion info for old Octave,
10046 (inferior-octave-complete): Redefine as obsolete alias.
10047 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10048 (meta-completions-at-point): Rename from meta-complete-symbol and
10049 adapt it for use on completion-at-point-functions.
10050 (meta-common-mode): Use it.
10051 (meta-looking-at-backward, meta-match-buffer): Remove.
10052 (meta-complete-symbol): Redefine as obsolete alias.
10053 (meta-common-mode-map): Use completion-at-point.
10054 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10055 (makefile-mode-map): Use completion-at-point.
10056 (makefile-completions-at-point): Rename from makefile-complete and
10057 adapt it for use on completion-at-point-functions.
10058 (makefile-mode): Use it.
10059 (makefile-complete): Redefine as obsolete alias.
10060
aebf69c8
DD
100612011-06-20 Deniz Dogan <deniz@dogan.se>
10062
10063 * net/rcirc.el: Delete trailing whitespaces once and for all.
10064
bfbbb27d
DC
100652011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10066
10067 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10068
d264a46b
CY
100692011-06-19 Chong Yidong <cyd@stupidchicken.com>
10070
4ca009e5
CY
10071 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10072
d264a46b
CY
10073 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10074
fbf5b3ce
MR
100752011-06-19 Martin Rudalics <rudalics@gmx.at>
10076
10077 * window.el (display-buffer-other-window-means-other-frame):
10078 Call display-buffer-normalize-alist.
10079 (display-buffer-normalize-specifiers-1): Rename to
10080 display-buffer-normalize-argument. New argument other-frame.
10081 Rewrite.
10082 (display-buffer-normalize-specifiers-2): Rename to
10083 display-buffer-normalize-options.
10084 (display-buffer-normalize-alist-1): New function.
10085 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10086 display-buffer-normalize-alist.
10087 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10088 (display-buffer-normalize-options-inhibit): New variable.
10089 (display-buffer-normalize-specifiers): Rewrite calling
10090 display-buffer-normalize-alist,
10091 display-buffer-normalize-argument, and
10092 display-buffer-normalize-options. Don't call the latter if
10093 display-buffer-normalize-options-inhibit is non-nil.
10094 (frame-auto-delete): New option.
10095 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10096 (window-list-no-nils, window-state-ignored-parameters)
10097 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10098 (window-state-put-1, window-state-put-2, window-state-put):
10099 New functions.
9a028c23
MR
10100 (display-buffer-normalize-options): Move special-display-p group
10101 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10102
6d10d800
CY
101032011-06-18 Chong Yidong <cyd@stupidchicken.com>
10104
6420d28b
CY
10105 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10106 groups (Bug#8776).
10107 (rx-submatch-n): New function.
10108 (rx): Document it.
10109
ddb8b596
CY
10110 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10111 (Bug#8768).
10112
10113 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10114
77080289
CY
10115 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10116
61dfb316
CY
10117 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10118 anytime existing face settings are present (Bug#8889).
10119
6d10d800
CY
10120 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10121 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10122 Remove unused argument.
10123
be3fb2b8
MR
101242011-06-18 Martin Rudalics <rudalics@gmx.at>
10125
bcd70d97
SM
10126 * window.el (display-buffer-default-specifiers):
10127 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10128 pop-up-window-min-width, and another reuse-window specifier
10129 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10130 (display-buffer-normalize-specifiers-2):
10131 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10132 pop-up-windows is unset. Add a reuse-window specifier for the
10133 case popping up a new window fails.
10134 (special-display-popup-frame): Remove double quoting.
28dec25a 10135 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10136
1c6d8c76
SM
101372011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10140 according to comint-completion-addsuffix.
10141
10142 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10143 (pcomplete-suffix-list): Mark as obsolete.
10144 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10145 pcomplete-seen in the closure.
10146 (pcomplete-comint-setup): Setup completion-at-point as well.
10147 (pcomplete--entries): New function.
10148 (pcomplete--env-regexp): New var.
10149 (pcomplete-entries): Rewrite to work with partial-completion and
10150 without relying on pcomplete-suffix-list.
10151 (pcomplete-pare-list): Remove, unused.
10152
25aef8b8
MR
101532011-06-17 Martin Rudalics <rudalics@gmx.at>
10154
10155 * window.el (display-buffer-alist): Set pop-up-window-min-height
10156 and pop-up-window-min-width in default value. Reported by
10157 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10158 other-window-means-other-frame.
10159 (display-buffer-macro-specifiers): Comment out entry for
10160 other-window specifier.
10161 (display-buffer-other-window-means-other-frame): New function.
10162 (display-buffer-normalize-specifiers-1): New arguments
10163 buffer-name and label. Treat other-window case specially.
10164 (display-buffer-normalize-specifiers-2): Treat other-window case
10165 specially.
10166 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10167 (display-buffer-normalize-specifiers):
10168 Call display-buffer-normalize-specifiers-3.
25aef8b8 10169
dbad4f69
MR
101702011-06-17 Martin Rudalics <rudalics@gmx.at>
10171
10172 * window.el (same-window-p): Fix two typos introduced when
10173 adding with-no-warnings.
d1067961
MR
10174 (display-buffer-normalize-specifiers-1): Don't check
10175 pop-up-frames for 'unset initialization.
10176 (display-buffer-normalize-specifiers-2): Major rewrite using
10177 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10178 (pop-up-frames, display-buffer-reuse-frames)
10179 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10180 Suggested by David Engster <deng@randomsample.de>.
10181 (even-window-heights): Initialize to 'unset.
10182 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10183 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10184 other window case.
dbad4f69 10185
9b9c9e3a
MR
101862011-06-16 Martin Rudalics <rudalics@gmx.at>
10187
bcd70d97
SM
10188 * window.el (display-buffer-normalize-specifiers-1):
10189 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10190 second argument of display-buffer (Bug#8865).
981d5c09
MR
10191 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10192 (switch-to-buffer-other-window-same-frame)
10193 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10194 Adams (Bug#8875).
9c2755e9
MR
10195 (display-buffer): Don't check noninteractive when calling
10196 display-buffer-pop-up-frame.
10197 (display-buffer-pop-up-frame): Never pop up a frame in
10198 noninteractive mode (Bug#8857).
67222e1d
MR
10199 (enlarge-window, shrink-window): Don't report an error when the
10200 window can't be resized as requested (Bug#8862).
9b9c9e3a 10201
2b75be67
SM
102022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10203
9ffdd3ba
SM
10204 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10205
cb581a67
SM
10206 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10207
2b75be67
SM
10208 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10209
8c0e3589
AM
102102011-06-15 Alan Mackenzie <acm@muc.de>
10211
cb581a67
SM
10212 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10213 for declarators, disable knr checking to speed up for normal files.
10214 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10215
b96e6cde
LMI
102162011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10217
4bba86e6
LMI
10218 * net/network-stream.el (open-network-stream): Add the keyword
10219 :always-query-capabilities for the case where you want to force a
10220 `plain' network connection, but the protocol still requires the
10221 capabilitiy command (i.e., SMTP and EHLO).
10222
2b75be67 10223 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10224 consistency with other `-live-p' functions.
10225
efdcdbf8
SM
102262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * window.el (same-window-buffer-names, same-window-regexps)
10229 (special-display-frame-alist, special-display-popup-frame)
10230 (special-display-function, special-display-buffer-names)
10231 (special-display-regexps, pop-up-frame-alist)
10232 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10233 (pop-up-windows, split-window-preferred-function)
10234 (split-height-threshold, split-width-threshold, even-window-heights)
10235 (display-buffer-mark-dedicated): Don't encourage the use of
10236 display-buffer-alist from Elisp code.
10237
c5cde042
DN
102382011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10239
10240 * progmodes/python.el (python-mode): Derive from prog-mode.
10241 * progmodes/ps-mode.el (ps-mode):
10242 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10243 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10244 * progmodes/ld-script.el (ld-script-mode): Likewise.
10245
baa1c9ab
MR
102462011-06-15 Martin Rudalics <rudalics@gmx.at>
10247
10248 * window.el (display-buffer-alist): Trim default value to avoid
10249 popping up a new frame (Bug#8857) or reusing an arbitrary window
10250 on another frame.
10251 (display-buffer): Do not fall back on popping up a new frame in
10252 batch mode (Bug#8857).
10253
c5dd5a51
CY
102542011-06-14 Chong Yidong <cyd@stupidchicken.com>
10255
10256 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10257 (custom-theme-summary): New function.
10258 (customize-themes): Use it.
10259
d647b7c4
GM
102602011-06-13 Glenn Morris <rgm@gnu.org>
10261
10262 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10263
9481c002
MR
102642011-06-13 Martin Rudalics <rudalics@gmx.at>
10265
357f93d2
MR
10266 * help.el (help-window): Remove variable.
10267 (help-window-point-marker, temp-buffer-max-height)
10268 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10269 (help-print-return-message): Don't set help-window.
10270 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10271 (help-window-setup-finish): Remove.
10272 (help-window-display-message, help-window-setup)
10273 (with-help-window): Major rewrite based on new
10274 display-buffer-window variable.
10275
10276 * help-mode.el (help-mode-finish): Remove help-window related
10277 code.
10278
10279 * view.el (view-exits-all-viewing-windows): Remove reference to
10280 view-return-to-alist in doc-string.
10281 (view-return-to-alist): Make obsolete.
10282 (view-buffer): Call pop-to-buffer-same-window and remove
10283 undo-window code.
10284 (view-buffer-other-window): Call pop-to-buffer-other-window and
10285 simplify code. Ignore second argument.
10286 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10287 simplify code. Ignore second argument.
10288 (view-return-to-alist-update): Make obsolete.
10289 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10290 Rewrite using quit-restore window parameters.
2b75be67
SM
10291 (view-mode-exit): Rename second argument to EXIT-ONLY.
10292 Rewrite using quit-restore-window.
357f93d2
MR
10293 (View-exit, View-exit-and-edit, View-leave, View-quit)
10294 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10295 appropriate arguments.
10296 (view-end-message): Use quit-restore window parameter.
10297
9481c002
MR
10298 * window.el (display-buffer-function): Rewrite doc-string.
10299 (display-buffer-window, display-buffer-alist): New variables.
10300 (display-buffer-split-specifiers)
10301 (display-buffer-side-specifiers)
10302 (display-buffer-macro-specifiers): New constants.
10303 (display-buffer-even-window-sizes, display-buffer-set-height)
10304 (display-buffer-set-width, display-buffer-select-window)
10305 (display-buffer-in-window, display-buffer-reuse-window)
10306 (display-buffer-split-window-1, display-buffer-split-window)
10307 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10308 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10309 (display-buffer-in-side-window, normalize-buffer-to-display)
10310 (display-buffer-normalize-specifiers-1)
10311 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10312 (display-buffer-normalize-specifiers, display-buffer-frame):
10313 New functions.
9481c002
MR
10314 (display-buffer): Major rewrite.
10315 (display-buffer-other-window, display-buffer-other-frame)
10316 (pop-to-buffer, switch-to-buffer-other-window)
10317 (switch-to-buffer-other-frame): Rewrite.
10318 (display-buffer-same-window, display-buffer-same-frame)
10319 (display-buffer-same-frame-other-window)
10320 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10321 (pop-to-buffer-other-window)
10322 (pop-to-buffer-same-frame-other-window)
10323 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10324 (switch-to-buffer-other-window-same-frame): New functions.
10325 (same-window-p, special-display-p): Rewrite disabling warnings.
10326 Make obsolete.
10327 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10328 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10329 Make obsolete
10330 (same-window-buffer-names, same-window-regexps)
10331 (special-display-frame-alist, special-display-popup-frame)
10332 (special-display-function, special-display-buffer-names)
10333 (special-display-regexps, pop-up-frame-alist)
10334 (pop-up-frame-function, split-window-preferred-function)
10335 (split-height-threshold, split-width-threshold)
10336 (even-window-heights): Make obsolete.
10337
9db51aca
GM
103382011-06-12 Glenn Morris <rgm@gnu.org>
10339
10340 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10341 Misc simplifications.
9db51aca 10342
39cffb44
MR
103432011-06-12 Martin Rudalics <rudalics@gmx.at>
10344
10345 * window.el (window-safely-shrinkable-p): Restore function which
10346 was inadvertently removed in change from 2011-06-11. Declare as
10347 obsolete.
10348
2b75be67
SM
10349 * calendar/calendar.el (calendar-generate-window):
10350 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10351 window-safely-shrinkable-p.
10352
a8955be7
GM
103532011-06-12 Glenn Morris <rgm@gnu.org>
10354
10355 * progmodes/fortran.el (fortran-mode-syntax-table):
10356 * progmodes/f90.el (f90-mode-syntax-table):
10357 Set % to punctuation. (Bug#8820)
10358 (f90-find-tag-default): Remove, no longer needed.
10359
f0d4059d
DC
103602011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10361
10362 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10363
1100a63c
CY
103642011-06-11 Chong Yidong <cyd@stupidchicken.com>
10365
10366 * image.el (image-animated-p): Return animation delay in seconds.
10367 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10368 (image-animate-timeout): Remove DELAY argument. Don't assume
10369 every subimage has the same delay; get it from image-animated-p.
10370 (image-animate): Caller changed.
10371
def722bf
MA
103722011-06-11 Michael Albinus <michael.albinus@gmx.de>
10373
10374 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10375 to ignored backtrace functions.
10376
0a2bb1a9
GM
103772011-06-11 Glenn Morris <rgm@gnu.org>
10378
10379 * calendar/appt.el (appt-disp-window-function): Doc fix.
10380 (appt-check): Handle overlapping appointments. (Bug#8337)
10381
6198ccd0
MR
103822011-06-11 Martin Rudalics <rudalics@gmx.at>
10383
10384 * window.el (window-tree-1, window-tree): New functions, moving
10385 the latter to window.el.
10386 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10387 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10388 (bw-refresh-edges): Remove.
10389 (balance-windows-1, balance-windows-2): New functions.
10390 (balance-windows): Rewrite in terms of window tree functions,
10391 balance-windows-1 and balance-windows-2.
10392 (bw-adjust-window): Remove.
10393 (balance-windows-area-adjust): New function with functionality of
10394 bw-adjust-window but using resize-window.
2b75be67
SM
10395 (set-window-text-height): Rewrite doc-string.
10396 Use normalize-live-window and resize-window.
10397 (enlarge-window-horizontally, shrink-window-horizontally):
10398 Rename argument to DELTA.
6198ccd0
MR
10399 (window-buffer-height): New function.
10400 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10401 Rewrite using new window resize routines.
2b75be67
SM
10402 (kill-buffer-and-window, mouse-autoselect-window-select):
10403 Use ignore-errors instead of condition-case.
6198ccd0
MR
10404 (quit-window): Call delete-frame instead of delete-windows-on
10405 for the only buffer on frame.
10406
9397e56f
MR
104072011-06-10 Martin Rudalics <rudalics@gmx.at>
10408
10409 * loadup.el (top-level): Load window before files for the sake
10410 of replace-buffer-in-windows.
10411
10412 * files.el (read-buffer-to-switch)
10413 (switch-to-buffer-other-window)
2b75be67
SM
10414 (switch-to-buffer-other-frame, display-buffer-other-frame):
10415 Move to window.el.
9397e56f
MR
10416
10417 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10418 (previous-buffer): Move to window.el.
10419
10420 * bindings.el (unbury-buffer): Move to window.el.
10421
10422 * window.el (delete-other-windows-vertically): Move after
10423 definition of delete-other-windows.
10424 (other-window, delete-windows-on, replace-buffer-in-windows):
10425 Move here from window.c.
10426 (record-window-buffer, unrecord-window-buffer)
10427 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10428 (switch-to-next-buffer): New functions.
10429 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10430 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10431 (previous-buffer): Move here from simple.el.
10432 Call switch-to-prev-buffer.
9397e56f
MR
10433 (bury-buffer): Move here from buffer.c. Switch to previous
10434 buffer when window cannot be deleted.
10435 (unbury-buffer): Move here from bindings.el.
10436 (ctl-x-map): Move binding for other-window from window.c to
10437 here.
10438 (read-buffer-to-switch, switch-to-buffer-other-window)
10439 (switch-to-buffer-other-frame): Move here from files.el.
10440 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10441 (switch-to-buffer): Move here from buffer.c.
10442 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10443
562dd5e9
MR
104442011-06-10 Martin Rudalics <rudalics@gmx.at>
10445
10446 * window.el (window-min-height, window-min-width): Move here
10447 from window.c. Add defcustoms and rewrite doc-strings.
10448 (resize-mini-window, resize-window): New functions.
10449 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10450 Move here from window.c.
10451 (maximize-window, minimize-window): New functions.
10452 (delete-window, delete-other-windows, split-window): Move here
10453 from window.c.
10454 (window-split-min-size): New function.
10455 (split-window-keep-point): Mention split-window-above-each-other
10456 instead of split-window-vertically.
2b75be67 10457 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10458 Rename split-window-vertically to split-window-above-each-other
10459 and provide defalias for old definition.
10460 (split-window-side-by-side, split-window-horizontally):
10461 Rename split-window-horizontally to split-window-side-by-side
10462 and provide defalias for the old definition.
562dd5e9
MR
10463 (ctl-x-map): Move bindings for delete-window,
10464 delete-other-windows and enlarge-window here from window.c.
10465 Replace bindings for split-window-vertically and
10466 split-window-horizontally by bindings for
10467 split-window-above-each-other and split-window-side-by-side.
10468
10469 * cus-start.el (all): Remove entries for window-min-height and
10470 window-min-width. Add entries for window-splits and
10471 window-nest.
10472
f0da764a
GM
104732011-06-09 Glenn Morris <rgm@gnu.org>
10474
80675c21
GM
10475 * calendar/appt.el (appt-mode-line): New function.
10476 (appt-check, appt-disp-window): Use it.
10477
f0da764a
GM
10478 * files.el (hack-one-local-variable-eval-safep):
10479 Allow minor-modes with explicit +/-1 arguments.
10480
59f623b7
TZ
104812011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10482
10483 * term/xterm.el (xterm): Add defgroup.
10484 (xterm-extra-capabilities): Add defcustom to supply known xterm
10485 capabilities, skip querying them, or query them (default).
10486 (terminal-init-xterm): Use it.
10487 (terminal-init-xterm-modify-other-keys): New function to set up
10488 modifyOtherKeys support to simplify `terminal-init-xterm'.
10489
9aab8e0d
MR
104902011-06-09 Martin Rudalics <rudalics@gmx.at>
10491
10492 * window.el (resize-window-reset, resize-window-reset-1)
10493 (resize-subwindows-skip-p, resize-subwindows-normal)
10494 (resize-subwindows, resize-other-windows, resize-this-window)
10495 (resize-root-window, resize-root-window-vertically)
10496 (window-deletable-p, window-or-subwindow-p)
10497 (frame-root-window-p): New functions.
10498
e8b08aee
GM
104992011-06-09 Glenn Morris <rgm@gnu.org>
10500
10501 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10502 (ange-ftp-get-files): Use it.
10503
254c37a5
AK
105042011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10505
10506 * mail/sendmail.el (mail-recover-1, mail-recover):
10507 * files.el (recover-file, recover-session):
10508 Handle dired-listing-switches not being just a single short option.
10509
35d7dbd3
GM
105102011-06-09 Glenn Morris <rgm@gnu.org>
10511
10512 * calendar/appt.el (appt-display-message, appt-disp-window):
10513 Handle lists of appointments.
10514
387522b2
MR
105152011-06-08 Martin Rudalics <rudalics@gmx.at>
10516
2b75be67
SM
10517 * window.el (one-window-p): Move down in code.
10518 Rewrite doc-string.
10519 (window-current-scroll-bars): Rewrite doc-string.
10520 Normalize live window argument.
387522b2
MR
10521 (walk-windows, get-window-with-predicate, count-windows):
10522 Rewrite doc-string. Use window-list-1.
10523 (window-in-direction-2, window-in-direction, get-mru-window):
10524 New functions.
10525
d8e4b68b 105262011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10527
10528 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10529 Doc fix (Bug#8713).
10530
105312011-06-08 Chong Yidong <cyd@stupidchicken.com>
10532
10533 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10534
105352011-06-08 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * loadhist.el (unload-feature-special-hooks):
10538 Add `comint-output-filter-functions'.
10539
0de12c52
IK
105402011-06-08 Ivan Kanis <gnu@kanis.fr>
10541
10542 * calendar/appt.el (appt-check): Move some initializations into the let.
10543
f3d1777e
MR
105442011-06-08 Martin Rudalics <rudalics@gmx.at>
10545
10546 * window.el (window-height): Defalias to window-total-height.
10547 (window-width): Defalias to window-body-width.
10548
18af70d0
CY
105492011-06-07 Chong Yidong <cyd@stupidchicken.com>
10550
10551 * image-mode.el (image-toggle-animation): New command.
10552 (image-mode-map): Bind it to RET.
10553 (image-mode): Update message.
10554 (image-toggle-display-image): Avoid a spurious cache flush.
10555 (image-transform-rotation): Doc fix.
10556 (image-transform-properties): Return quickly in the normal case.
10557 (image-animate-loop): Rename from image-animate-max-time.
10558
2b75be67 10559 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10560 (create-animated-image): Remove unnecessary function.
10561 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10562 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10563 (image-animate-timer): Use car-safe.
10564 (image-animate-timeout): Rename argument.
10565
190b47e6
MR
105662011-06-07 Martin Rudalics <rudalics@gmx.at>
10567
10568 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10569 window.c. Rename first argument to ALL-FRAMES.
10570 Rephrase doc-strings.
10571 (get-buffer-window-list): Rewrite using window-list-1.
10572 Rephrase doc-string.
a1511caf
MR
10573 (window-safe-min-height, window-safe-min-width): New constants.
10574 (window-size-ignore, window-min-size, window-min-size-1)
10575 (window-sizable, window-sizable-p, window-size-fixed-1)
10576 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10577 (window-max-delta-1, window-max-delta, window-resizable)
10578 (window-resizable-p, window-total-height, window-total-width)
10579 (window-body-width): New functions.
10580 (window-full-height-p, window-full-width-p): Rewrite using
10581 window-total-size.
10582 (window-body-height): Rewrite using window-body-size.
190b47e6 10583
85cc1f11
MR
105842011-06-06 Martin Rudalics <rudalics@gmx.at>
10585
10586 * window.el (window-right, window-left, window-child)
10587 (window-child-count, window-last-child, window-any-p)
10588 (normalize-live-buffer, normalize-live-frame)
10589 (normalize-any-window, normalize-live-window)
10590 (window-iso-combination-p, window-iso-combined-p)
10591 (window-iso-combinations)
10592 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10593 (windows-with-parameter, window-with-parameter)
10594 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10595 (window-atom-check, window-side-check, window-check):
10596 New functions.
85cc1f11
MR
10597 (ignore-window-parameters, window-sides, window-sides-vertical)
10598 (window-sides-slots): New variables.
10599 (window-size-fixed): Move down in code. Minor doc-string fix.
10600
e7156492
AS
106012011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10602
10603 * comint.el (comint-dynamic-complete-as-filename)
10604 (comint-dynamic-complete-filename): Correctly call
10605 completion-in-region.
10606
7e821d0d
DD
106072011-06-05 Deniz Dogan <deniz@dogan.se>
10608
10609 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10610 in last change.
10611
ac09b8a1
DD
106122011-06-05 Deniz Dogan <deniz@dogan.se>
10613
10614 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10615 (rcirc): Use it to prompt for encryption.
10616
34699b85
RW
106172011-06-05 Roland Winkler <winkler@gnu.org>
10618
10619 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10620 (bibtex-search-entries): New command bound to C-c C-a.
10621 (bibtex-display-entries): New function.
10622
004dedd3
RW
106232011-06-05 Roland Winkler <winkler@gnu.org>
10624
10625 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10626 (bibtex-insert-kill): After yanking insert newline if necessary.
10627 (bibtex-initialize): Call bibtex-string-files-init only once.
10628 (bibtex-mode): Do not call easy-menu-add.
10629 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10630 (bibtex-yank): Set arg properly if nil.
10631
022fe7ce
RW
106322011-06-05 Roland Winkler <winkler@gnu.org>
10633
2b75be67
SM
10634 * textmodes/bibtex.el (bibtex-search-entry-globally):
10635 New variable.
022fe7ce
RW
10636 (bibtex-search-entry): Use it.
10637
b7c3692a
RW
106382011-06-05 Roland Winkler <winkler@gnu.org>
10639
10640 * textmodes/bibtex.el (bibtex-entry-format): New option
10641 sort-fields.
10642 (bibtex-format-entry, bibtex-reformat): Honor this option.
10643 (bibtex-parse-entry): Return fields in proper order.
10644
8eda563d
JB
106452011-06-05 Juanma Barranquero <lekktu@gmail.com>
10646
10647 * doc-view.el (doc-view-remove-if): Move computation of result out
10648 of `dolist' to silence misleading lexical-binding warning.
10649
7dbe3dbc
CY
106502011-06-04 Chong Yidong <cyd@stupidchicken.com>
10651
10652 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10653 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10654
0c33dd17
MA
106552011-06-04 Michael Albinus <michael.albinus@gmx.de>
10656
10657 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10658 "SunOS 5.10".
10659
f8f91c2b
MA
106602011-06-04 Michael Albinus <michael.albinus@gmx.de>
10661
10662 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10663 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10664 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10665 (tramp-parse-putty):
10666 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10667 (tramp-completion-function-alist-ssh)
10668 (tramp-completion-function-alist-telnet)
10669 (tramp-completion-function-alist-su)
10670 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10671 cookie.
10672
10673 * net/tramp-ftp.el:
10674 * net/tramp-sh.el:
10675 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10676 load "tramp.el" `tramp-set-completion-function'.
10677
e17d9003
SM
106782011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * shell.el: Require and use pcomplete.
10681 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10682 (shell-completion-vars): Set pcomplete-default-completion-function.
10683
6c4cab03
DD
106842011-06-04 Deniz Dogan <deniz@dogan.se>
10685
10686 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10687 `memq' (Bug#8799).
10688
ea9fafe0
SM
106892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10692
b3e945d3
JB
106932011-06-02 Juanma Barranquero <lekktu@gmail.com>
10694
10695 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10696 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10697 * vc/log-view.el (log-view-beginning-of-defun):
10698 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10699 (smerge-refine-forward, smerge-refine-chopup-region):
10700 Silence warning for unused `dotimes' counter variables.
10701
7d520089
SM
107022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * net/tramp.el (tramp-with-progress-reporter): Rename from
10705 with-progress-reporter. Use `declare'.
10706 * net/tramp-smb.el:
10707 * net/tramp-sh.el:
10708 * net/tramp-gvfs.el: Update all uses.
10709
a1c2400f
JB
107102011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10711
10712 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10713 buffer isn't killed before making it current.
10714
2403c841
SM
107152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 Silence various byte-compiler warnings.
10718 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10719 `access-type' and new obsolescence format.
10720 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10721 new format.
10722 (byte-compile-check-variable): New `access-type' argument.
10723 Only warn if the access-type is obsolete.
10724 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10725 (byte-compile-variable-set): Adjust callers.
10726 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10727 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10728 setting it as obsolete.
10729 * simple.el (minibuffer-completing-symbol):
10730 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10731 access as obsolete.
10732 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10733 obsolete yet.
10734 * international/quail.el (quail-mouse-choose-completion): Remove unused
10735 code referring to obsolete var.
10736 (quail-choose-completion-string): Remove.
10737 * server.el (server-clients-with, server-kill-buffer-query-function)
10738 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10739 * proced.el (proced-send-signal):
10740 * emacs-lisp/lisp.el (lisp-complete-symbol):
10741 Replace completion-annotate-function with completion-extra-properties.
10742
2462470b
SM
107432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10744
fb5b2591
SM
10745 * simple.el (goto-line): Use read-number.
10746 (overriding-map-is-bound): Remove.
10747 (saved-overriding-map): Change default.
10748 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10749 Take the map as argument.
10750 (universal-argument, negative-argument, digit-argument): Use it.
10751 (restore-overriding-map): Adjust.
10752 (do-auto-fill): Use fill-forward-paragraph.
10753 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10754
fd6fa53f
SM
10755 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10756 (minibuffer-inactive-mode): New major mode.
10757 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10758 the *Messages* buffer" hack.
10759 (mouse-popup-menubar): Don't burp if the event is a normal key.
10760
2462470b
SM
10761 Miscellaneous tweaks.
10762 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10763 lexical scoping as in subr.el's dolist and dotimes.
10764 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10765 Silence compiler warning.
10766 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10767 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10768 * international/ccl.el (ccl-compile): Trivial simplification.
10769 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10770 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10771 `printflag' argument.
10772 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10773 Purecopy the whole obsolescence data.
10774
108bf785
LL
107752011-06-01 Leo Liu <sdl.web@gmail.com>
10776
10777 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10778 improve doc-string as suggested by Marco Pessotto
10779 <melmothx@gmail.com>.
10780 (rcirc-print): Fix last change.
10781
30a23501
SM
107822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * minibuffer.el (complete-with-action): Return nil for the metadata and
10785 boundaries of non-functional tables.
10786 (completion-table-dynamic): Return nil for the metadata.
10787 (completion-table-with-terminator): Add default case, using
10788 complete-with-action.
10789 (completion--metadata): New function.
10790 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10791 to try and avoid pathological performance problems.
10792 (completion--embedded-envvar-table): Return `category' metadata.
10793
bcd54f83
LMI
107942011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10795
10796 * subr.el (process-alive-p): New tiny convenience function.
10797
e227544d
SM
107982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10801 content but also its previous major mode.
10802
e8296fdc
HE
108032011-05-31 Helmut Eller <eller.helmut@gmail.com>
10804
4d61f28d 10805 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10806 *Backtrace* buffer when we exit with C-M-c.
10807
620c53a6
SM
108082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * minibuffer.el: Add metadata method to completion tables.
10811 (completion-category-overrides): New defcustom.
10812 (completion-metadata, completion--field-metadata)
10813 (completion-metadata-get, completion--styles)
10814 (completion--cycle-threshold): New functions.
10815 (completion-try-completion, completion-all-completions):
10816 Add `metadata' argument to choose completion-styles.
10817 (completion--do-completion): Use metadata to choose cycling.
10818 (completion-all-sorted-completions): Use metadata for sorting.
10819 Remove :completion-cycle-penalty which is not needed any more.
10820 (completion--try-word-completion): Add `metadata' argument.
10821 (minibuffer-completion-help): Check metadata for annotation function
10822 and sorting.
10823 (completion-file-name-table): Return `category' metadata.
10824 (minibuffer-completing-file-name): Make obsolete.
10825 * simple.el (minibuffer-completing-symbol): Make obsolete.
10826 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10827 completion-try-completion.
10828
1257e755
SM
108292011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10832
3767e706
LL
108332011-05-30 Leo Liu <sdl.web@gmail.com>
10834
10835 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10836 (rcirc-print): Decode all incoming messages (bug#8744).
10837 (rcirc-decode-coding-system): Allow value nil for automatic coding
10838 system detection.
3767e706 10839
d1a5d56a
GM
108402011-06-01 Glenn Morris <rgm@gnu.org>
10841
10842 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10843
e8cbec34
CY
108442011-05-29 Chong Yidong <cyd@stupidchicken.com>
10845
10846 * image.el (image-animate-max-time): Allow nil and t values.
10847 Default to nil.
10848 (create-animated-image): Doc fix.
10849 (image-animate-start): Remove second arg; just use
10850 image-animate-max-time.
10851 (image-animate-timeout): Doc fix. Args changed.
10852
10853 * image-mode.el (image-toggle-display-image): Ensure that the
10854 image spec passed to the animate timer is the same object as in
58179cce 10855 the buffer's display property (Bug#6981).
e8cbec34
CY
10856 (image-transform-properties): Doc fix.
10857
10858 * image.el (image-animate-max-time): Default to nil.
10859
159daf87
MR
108602011-05-29 Martin Rudalics <rudalics@gmx.at>
10861
10862 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10863 entire buffer list (Bug#8184).
10864
d66c4c7c
CY
108652011-05-29 Chong Yidong <cyd@stupidchicken.com>
10866
10867 * image.el (imagemagick-types-inhibit)
10868 (imagemagick-register-types): Doc fix.
10869
80aec780
DD
108702011-05-29 Deniz Dogan <deniz@dogan.se>
10871
10872 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10873 default.
10874
1dd3c2d9
CY
108752011-05-29 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * select.el: Don't perform clipboard-manager saving in hooks;
10878 leave the hooks empty.
10879
60e56523
LL
108802011-05-28 Leo Liu <sdl.web@gmail.com>
10881
10882 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10883 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10884 (occur-edit-mode): New major mode (Bug#8463).
10885 (occur-after-change-function): New function.
10886 (occur-engine): Give Occur tags a read-only property.
10887
2b1e1a22
KR
108882011-05-28 Kevin Ryde <user42@zip.com.au>
10889
10890 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10891
5d344e88
CY
108922011-05-28 Chong Yidong <cyd@stupidchicken.com>
10893
8e6ca83d
CY
10894 * bindings.el (help-echo): Make the initial non-indicator dash
10895 empty on graphical terminals (Bug#7295).
10896
5d344e88
CY
10897 * files.el (auto-mode-alist): Move config rule after the
10898 in-stripping one (Bug#8547).
10899
bfbbace7
CY
10900 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10901
fbeba6e2
CY
10902 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10903 setting (Bug#8740).
10904
60ed8c72
AA
109052011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10906
4ac619f0
AA
10907 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10908 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10909 (Bug#8539).
60ed8c72 10910
23db196e
CY
109112011-05-28 Chong Yidong <cyd@stupidchicken.com>
10912
10913 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10914
5012f24c
DK
109152011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10916
10917 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10918 (hs-hide-block-at-point, hs-find-block-beginning)
10919 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10920 (Bug#8279).
10921
6a639b16
GM
109222011-05-28 Glenn Morris <rgm@gnu.org>
10923
10924 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10925
d43eaf2c
CY
109262011-05-28 Chong Yidong <cyd@stupidchicken.com>
10927
5199bde1
CY
10928 * help-fns.el (describe-function-1): If the function is a derived
10929 major mode, print the parent mode.
10930
d43eaf2c
CY
10931 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10932 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10933
423428a8
SM
109342011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10935
0ff8e1ba 10936 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10937 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10938 * progmodes/etags.el (tags-completion-at-point-function):
10939 * info-look.el (info-lookup-completions-at-point): Mark as
10940 non-exclusive.
10941 (info-complete): Adjust accordingly.
10942
423428a8
SM
10943 * info-look.el: Convert to lexical-binding and completion-at-point.
10944 (info-lookup-completions-at-point): New function.
10945 (info-complete): Use it and completion-in-region.
10946
b74aa22b
DA
109472011-05-28 Drew Adams <drew.adams@oracle.com>
10948
10949 * isearch.el: Let M-e start with point at the first mismatched char.
10950 (isearch-fail-pos): New function.
10951 (isearch-edit-string): Use it.
10952
66e2e71d
DK
109532011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10954
10955 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10956
b1890b0f 109572011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10958
10959 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10960 traversal functions for avl-trees.
10961 (avl-tree--stack): New struct.
10962 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10963 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10964 (avl-tree--do-enter): Add optional `updatefun' arg.
10965 Change return value.
eb95d01d 10966 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10967 (avl-tree--do-delete): Add `test' and `nilflag' args.
10968 Change return value.
eb95d01d
TC
10969 (avl-tree-member): Add optional `nilflag'
10970 (avl-tree-member-p): New function.
10971 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10972 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10973 (avl-tree-stack-empty-p): New functions.
10974
3769ddcf
TC
10975 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10976 avl-tree--del-balance1 and make it work both ways.
10977 (avl-tree--del-balance2): Remove.
10978 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10979 make it work both ways.
10980 (avl-tree--enter-balance2): Remove.
10981 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10982 New macros.
10983 (avl-tree--mapc, avl-tree-map): Add direction argument.
10984
eb95d01d 109852011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10986
10987 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10988
a9f737ee
CY
109892011-05-27 Chong Yidong <cyd@stupidchicken.com>
10990
10991 * select.el: Support clipboard managers with built-in function
10992 x-clipboard-manager-save, via delete-frame-functions and
10993 kill-emacs-hook.
10994 (xselect-convert-to-targets): Add MULTIPLE target to list.
10995 (xselect-convert-to-save-targets): New function.
10996
c92a1e54
KH
109972011-05-27 Kenichi Handa <handa@m17n.org>
10998
10999 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11000 let-binding rfc2047-encode-encoded-words to nil.
11001
e145f188
GM
110022011-05-27 Glenn Morris <rgm@gnu.org>
11003
5ec8a862
GM
11004 * mail/emacsbug.el: Don't require url-util.
11005
4b29d9fb
GM
11006 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11007
e145f188
GM
11008 * files.el (set-auto-mode):
11009 Also respect mode: entries at the end of the file. (Bug#8586)
11010
7d15102b
GM
110112011-05-26 Glenn Morris <rgm@gnu.org>
11012
98f593b8
GM
11013 * files.el (hack-local-variables-prop-line, hack-local-variables):
11014 Downcase mode names, as seems to be traditional.
27b48e63 11015 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11016
7d15102b
GM
11017 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11018 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11019
51d5b4ec
JD
110202011-05-25 Julien Danjou <julien@danjou.info>
11021
11022 * textmodes/rst.el (rst-define-level-faces): Do not define face
11023 symbol if it is already defined.
11024
91513f63
VB
110252011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11026
11027 * play/5x5.el (5x5-new-game, 5x5-randomize):
11028 Reset 5x5-solver-output to nil when a new grid is cast.
11029 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11030 these debugging traces, as defmacro breaks the compiled code.
11031
4d90d6d0
DK
110322011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11033
11034 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11035
e1b90ef6
LL
110362011-05-24 Leo Liu <sdl.web@gmail.com>
11037
11038 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11039 (vc-bzr-sha1): Adapt.
11040
d8e4b68b 11041 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11042
11043 * bindings.el: Provide sha1 feature.
11044
db0406bb 110452011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11046
11047 * mail/sendmail.el: Require `rfc2047'.
11048 (mail-insert-from-field): Do not perform RFC2047 encoding.
11049 (mail-encode-header): New function.
11050 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11051 buffer to the return value of select-message-coding-system.
11052 Call mail-encode-header.
b8d747b9
KH
11053
11054 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11055
db0406bb 110562011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11057
4d90d6d0
DK
11058 * mail/supercite.el (sc-default-cite-frame):
11059 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11060
eb8a5e9b
GM
110612011-05-24 Glenn Morris <rgm@gnu.org>
11062
f8630703
GM
11063 * progmodes/python.el (brm-menu): Declare.
11064
8831bbed
GM
11065 * emulation/viper.el (viper-set-hooks): Declare.
11066
eb8a5e9b
GM
11067 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11068 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11069 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11070 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11071 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11072 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11073
a2a25d24
SM
110742011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 Add an :exit-function for completion-at-point.
11077
11078 * minibuffer.el (completion--done): New fun.
11079 (completion--do-completion): Use it. New arg `expect-exact'.
11080 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11081 since completion--do-completion does it for us now.
11082 (minibuffer-force-complete): Use completion--done and
11083 completion--replace. Handle sole-completion case with more care.
11084 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11085 (completion-extra-properties): New var.
11086 (completion-annotate-function): Make obsolete.
11087 (minibuffer-completion-help): Adjust accordingly.
11088 Use completion-list-insert-choice-function.
11089 (completion-at-point, completion-help-at-point):
11090 Bind completion-extra-properties.
11091 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11092 * simple.el (completion-list-insert-choice-function): New var.
11093 (completion-setup-function): Preserve it.
11094 (choose-completion): Pay attention to it, shuffle the code a bit.
11095 (choose-completion-string): New arg `insert-function'.
11096
11097 * textmodes/bibtex.el: Convert to lexical binding.
11098 (bibtex-mode-map): Use completion-at-point.
11099 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11100 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11101 (bibtex-complete): Define as obsolete alias.
11102 (bibtex-complete-internal): Remove.
11103 (bibtex-format-entry): Remove unused sub-group in regexp.
11104 * shell.el (shell--command-completion-data)
11105 (shell-environment-variable-completion):
11106 * pcomplete.el (pcomplete-completions-at-point):
11107 * comint.el (comint--complete-file-name-data): Use :exit-function
11108 instead of completion-table-with-terminator so it also works for
11109 choose-completion.
11110
e44e373d
SM
111112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11112
4f91a816
SM
11113 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11114
782fc819
SM
11115 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11116 (bug#8710).
11117
e44e373d
SM
11118 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11119
381987c3
KM
111202011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11121
11122 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11123 customization variable and implement: If non-nil, auto-fill will
11124 be inhibited while on topic's header line.
11125
b776bc70
VB
111262011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11127
11128 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11129 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11130 always have a solution in grid size = 5 cases.
11131 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11132 (5x5-solver-output, 5x5-log-buffer): New vars.
11133 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11134 Make these variables buffer local to achieve 5x5 multi-session-ness.
11135 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11136 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11137 (5x5-solve-suggest): New funs.
11138 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11139 randomize a grid so that we ensure that there is always a solution.
11140 (5x5-make-random-grid): Allow other movement than flipping.
11141
7de88b6e
KR
111422011-05-23 Kevin Ryde <user42@zip.com.au>
11143
11144 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11145 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11146 advice and passes PREDICATE.
11147
b1ef1257
SM
111482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11149
bbca48fe
SM
11150 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11151 byte-compile-lambda if it's actually a lambda.
11152
b1ef1257
SM
11153 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11154 Fix function quoting. Use backquote better.
11155
92a9cc65
YS
111562011-05-22 Yuanle Song <sylecn@gmail.com>
11157
11158 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11159 matching (Bug#8516).
11160
f0fb8059
JA
111612011-01-22 Jari Aalto <jari.aalto@cante.net>
11162
11163 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11164 different face (Bug#8178).
11165
d5b44c93
CY
111662011-05-22 Chong Yidong <cyd@stupidchicken.com>
11167
11168 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11169 defface (Bug#8144).
11170
79106a44
SM
111712011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11172
9c848d8a
SM
11173 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11174 funcall as well (bug#8712). Warn when performing those conversions.
11175 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11176
79106a44
SM
11177 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11178
88dfa756
GM
111792011-05-22 Glenn Morris <rgm@gnu.org>
11180
11181 * files.el (hack-local-variables-prop-line): Small simplifications.
11182 (hack-local-variables, hack-local-variables-prop-line):
11183 If MODE-ONLY, return the mode, rather than just `t'.
11184
b7cf2c79
SM
111852011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11188
3f1a8558
GM
111892011-05-21 Glenn Morris <rgm@gnu.org>
11190
7e4ccca3
GM
11191 * files.el (hack-local-variables-prop-line, hack-local-variables):
11192 If only interested in the mode, don't bother doing the other stuff.
11193
637d46ca
GM
11194 * image-mode.el (image-after-revert-hook):
11195 Redraw all frames on which the image is visible. (Bug#8567)
11196
973d955b
GM
11197 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11198
3f1a8558
GM
11199 * wid-edit.el (widget-checklist-match-inline):
11200 Fix 2011-04-19 change. (Bug#8649)
11201
96479927
SM
112022011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11203
1dcf791f
SM
11204 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11205 Also allow singlespace after single-letter capitals followed by a dot.
11206
96479927
SM
11207 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11208 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11209
35fd0881
N
112102011-05-20 Nix <nix@esperi.org.uk>
11211
11212 * files.el (basic-save-buffer-2):
11213 Fix handling of break-hardlink-on-save with non-existent files.
11214
82745640
DD
112152011-05-19 Deniz Dogan <deniz@dogan.se>
11216
11217 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11218 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11219
4a720484
GM
112202011-05-19 Glenn Morris <rgm@gnu.org>
11221
d1f21341
GM
11222 * progmodes/f90.el (f90-type-def-re):
11223 Handle "type, bind(c)". (Bug#8691)
11224
4a720484
GM
11225 * emacs-lisp/autoload.el (batch-update-autoloads):
11226 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11227
2fb0a219
MA
112282011-05-18 Michael Albinus <michael.albinus@gmx.de>
11229
11230 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11231 property for the correct connection in case of multihops.
11232
e565dd37
GM
112332011-05-18 Glenn Morris <rgm@gnu.org>
11234
c2571358 11235 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11236 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11237
e565dd37
GM
11238 Rationalize calendar handling of day and month abbrev-arrays.
11239 * calendar/calendar.el (calendar-customized-p): New function.
11240 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11241 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11242 Add :set function.
11243 (calendar-abbrev-length, calendar-day-abbrev-array)
11244 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11245 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11246 Elements may no longer be nil.
11247 (calendar-day-name, calendar-month-name):
11248 Update for changed nature of abbrev arrays.
11249 * calendar/diary-lib.el (diary-name-pattern):
11250 Update for changed nature of abbrev arrays.
11251 (diary-mark-entries-1): Update calendar-make-alist calls.
11252 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11253 * calendar/cal-html.el (cal-html-day-abbrev-array):
11254 Simply inherit from calendar-day-abbrev-array.
11255
1d99a745
SM
112562011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * progmodes/grep.el (grep-mode): Disable default
11259 compilation-directory-matcher setting (bug#8684).
11260
7c1d9aa0
MA
112612011-05-17 Michael Albinus <michael.albinus@gmx.de>
11262
11263 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11264 instead of "head" and "tail". There were problems with SunOS 5.9,
11265 and it performs better.
11266
3952e9d8
GM
112672011-05-17 Glenn Morris <rgm@gnu.org>
11268
2dd12e7f
GM
11269 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11270
e4157b9c
GM
11271 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11272 Replace obsolete function.
11273
8e249bbd
GM
11274 * shell.el (pcomplete-parse-arguments-function): Declare.
11275
3952e9d8
GM
11276 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11277 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11278 (appt-check): Doc fixes.
11279 (appt-disp-window-function, appt-delete-window-function):
11280 Remove needless special case in custom :type.
11281 (appt-display-count): Default to 0, not nil.
11282 (appt-check): Reset appt-display-count to 0, not nil.
11283
c71a0d48 112842011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11285
c71a0d48
GM
11286 * progmodes/python.el (python-font-lock-keywords):
11287 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11288
31d55be9
SM
112892011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11292
3bfacb2f
KR
112932011-05-16 Kevin Ryde <user42@zip.com.au>
11294
11295 * info-look.el (makefile-automake-mode): New setups, looking in
11296 automake manual, then makefile-mode.
11297 (makefile-mode): Remove automake manual, have it just in
11298 makefile-automake-mode since there's various things different or
11299 not relevant to plain make.
11300 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11301 believe a hypothetical automake-mode would go to makefile-mode,
11302 not the other way around.
11303
c8e83751
CY
113042011-05-15 Chong Yidong <cyd@stupidchicken.com>
11305
5e9e35cd
CY
11306 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11307 hunk-end tags (Bug#8672).
11308
c8e83751
CY
11309 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11310 vc-annotate-show-diff-revision-at-line (Bug#8671).
11311
50b23e5a
GM
113122011-05-14 Glenn Morris <rgm@gnu.org>
11313
7210a739
GM
11314 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11315 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11316 (change-log-font-lock-keywords): Also handle multiple author lines
11317 with leading tabs. (Bug#8644)
7210a739 11318
4691905a
GM
11319 * calendar/appt.el (appt-check): Rename some local variables.
11320 Some simplification/reordering.
11321
50b23e5a
GM
11322 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11323 (feedmail-sendmail-f-doesnt-sell-me-out)
11324 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11325 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11326 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11327 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11328 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11329 (feedmail-binmail-gnulinuxish-template):
11330 Rename from feedmail-binmail-linuxish-template.
11331 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11332 Use insert-buffer-substring.
11333
215cda7c
BC
113342011-05-14 Bill Carpenter <bill@carpenter.org>
11335
11336 * mail/feedmail.el (feedmail-patch-level): Increase.
11337 (feedmail-debug): New custom group.
11338 (feedmail-confirm-outgoing-timeout)
11339 (feedmail-sendmail-f-doesnt-sell-me-out)
11340 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11341 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11342 (feedmail-sender-line, feedmail-from-line)
11343 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11344 (feedmail-spray-this-address)
215cda7c
BC
11345 (feedmail-spray-address-fiddle-plex-list)
11346 (feedmail-queue-use-send-time-for-date)
11347 (feedmail-queue-use-send-time-for-message-id)
11348 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11349 (feedmail-buffer-eating-function):
11350 Doc fixes.
11351 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11352 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11353 (feedmail-message-action-scroll-down): New functions.
11354 (feedmail-queue-directory, feedmail-queue-draft-directory):
11355 Use expand-file-name.
11356 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11357 Remove C-v help entry.
11358 (feedmail-queue-buffer-file-name): New variable.
11359 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11360 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11361 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11362 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11363 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11364 (feedmail-message-action-toggle-spray)
11365 (feedmail-run-the-queue-no-prompts)
11366 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11367 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11368 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11369 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11370 (feedmail-envelope-deducer, feedmail-fiddle-from)
11371 (feedmail-fiddle-sender, feedmail-default-date-generator)
11372 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11373 (feedmail-fiddle-spray-address)
11374 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11375 (feedmail-fiddle-list-of-fiddle-plexes)
11376 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11377 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11378 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11379 Change default. Doc fix.
11380 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11381 (feedmail-binmail-linuxish-template): New constant.
11382 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11383 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11384 (feedmail-send-it): Add debug call.
11385 Use feedmail-queue-buffer-file-name, and
11386 feedmail-send-it-immediately-wrapper.
11387 (feedmail-message-action-send): Add debug call.
11388 Use feedmail-send-it-immediately-wrapper.
11389 (feedmail-queue-express-to-queue): Add debug call.
11390 Run feedmail-queue-express-hook.
11391 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11392 (feedmail-message-action-help-blat):
11393 Rename from feedmail-queue-send-edit-prompt-help-first.
11394 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11395 Check line-endings. Handle errors better.
11396 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11397 Doc fix. Add debug call.
11398 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11399 Use feedmail-queue-send-edit-prompt-inner.
11400 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11401 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11402 from feedmail-queue-send-edit-prompt.
11403 (feedmail-queue-send-edit-prompt-help)
11404 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11405 (feedmail-tidy-up-slug): Add debug call.
11406 Respect feedmail-queue-slug-suspect-regexp.
11407 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11408 (feedmail-dump-message-to-queue): Add debug call.
11409 Expand queue-directory.
11410 (feedmail-dump-message-to-queue): Change message slightly.
11411 Use feedmail-say-chatter.
11412 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11413 (feedmail-send-it-immediately-wrapper): New function.
11414 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11415 Insert empty string rather than newline. Handle full-frame case.
11416 Use catch/throw. Use feedmail-say-chatter.
11417 (feedmail-fiddle-from): Try mail-host-address.
11418 (feedmail-default-message-id-generator): Doc fix.
11419 Bind system-time-locale. Handle missing end.
11420 (feedmail-fiddle-x-mailer): Add debug call.
11421 Handle feedmail-x-mailer-line being nil.
11422 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11423 Add debug call. Use buffer-substring-no-properties.
11424 (feedmail-say-debug, feedmail-say-chatter): New functions.
11425 (feedmail-find-eoh): Give an explicit error.
11426
42c7e61e
UJ
114272011-05-13 Ulf Jasper <ulf.jasper@web.de>
11428
c2571358 11429 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11430 family from helvetica to sans.
c2571358 11431 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11432 etc/images/newsticker.
11433
c2571358 11434 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11435 family from helvetica to sans.
11436
11437 * net/newst-plainview.el (newsticker-new-item-face)
11438 (newsticker-old-item-face, newsticker-immortal-item-face)
11439 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11440 (newsticker-statistics-face): Change default family from
42c7e61e 11441 helvetica to sans.
c2571358 11442 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11443 etc/images/newsticker.
11444
5d3385a0
JB
11445 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11446 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11447 auto-marking.
11448
8497a297
DV
114492011-05-13 Didier Verna <didier@xemacs.org>
11450
11451 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11452 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11453 TODO entries.
8497a297
DV
11454 (lisp-lambda-list-keyword-parameter-indentation)
11455 (lisp-lambda-list-keyword-parameter-alignment)
11456 (lisp-lambda-list-keyword-alignment): New customizable user options.
11457 (lisp-indent-defun-method): Improve docstring.
11458 (extended-loop-p): Fix comment.
11459 (lisp-indent-lambda-list-keywords-regexp): New variable.
11460 (lisp-indent-lambda-list): New function.
11461 (lisp-indent-259): Use it.
11462 (lisp-indent-defmethod): Support for more than one
11463 method qualifier and properly indent methods lambda-lists.
11464 (defgeneric): Provide a missing common-lisp-indent-function property.
11465
f278f87f
SM
114662011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11469 bounds for the empty string (bug#8667).
11470
5233edd7
GM
114712011-05-13 Glenn Morris <rgm@gnu.org>
11472
5237a44f
GM
11473 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11474
8340026c 11475 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11476 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11477
5233edd7 11478 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11479 (appt-time-msg-list): Doc fix.
a5464014 11480 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11481
92d10796
AS
114822011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11483
11484 * progmodes/ld-script.el (ld-script-keywords)
11485 (ld-script-builtins): Update keywords list.
11486
914a0ae1
SM
114872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11488
c89be45f
SM
11489 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11490
914a0ae1
SM
11491 * shell.el (shell-completion-vars): New function.
11492 (shell-mode):
11493 * simple.el (read-shell-command): Use it.
11494 (blink-matching-open): No need for " [...]" in minibuffer-message.
11495
98dc3df3
GM
114962011-05-12 Glenn Morris <rgm@gnu.org>
11497
11498 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11499 (appt-check): Simplify.
11500
d2fc7e3d 115012011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11502
4d61f28d 11503 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11504 literal "/dev/null".
11505
d2fc7e3d 115062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11507
11508 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11509 Fix typo.
11510
d2fc7e3d 115112011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11512
3f254caa
SM
11513 * progmodes/which-func.el (which-function):
11514 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11515 which might not be defined (Bug#8260).
11516
d45885f7
GM
115172011-05-12 Glenn Morris <rgm@gnu.org>
11518
11519 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11520 Let byte-compile-initial-macro-environment always take precedence.
11521
488086f4
SM
115222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * net/rcirc.el: Add support for SSL/TLS connections.
11525 (rcirc-server-alist): New field `encryption'.
11526 (rcirc): Check `encryption' settings.
11527 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11528 Merge make-local-variable into `set'.
11529 (rcirc--connection-open-p): New function.
11530 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11531 the process is not a network process (e.g. running gnutls-cli).
11532 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11533 Make rcirc-(en|de)code-coding-system local here.
11534 (rcirc-mode): Merge make-local-variable into `set'.
11535 (rcirc-parent-buffer): Make permanent buffer-local.
11536 (rcirc-multiline-minor-mode): Don't do it here.
11537 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11538 there's no server buffer.
11539
7d3b9d44
GM
115402011-05-11 Glenn Morris <rgm@gnu.org>
11541
f64049c6
GM
11542 * newcomment.el (comment-kill): Prefix "unused" local.
11543
93c9df73
GM
11544 * term/w32console.el (get-screen-color): Declare.
11545
7d3b9d44
GM
11546 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11547 Handle symbol elements of byte-compile-initial-macro-environment.
11548
9e2dd53f
LL
115492011-05-10 Leo Liu <sdl.web@gmail.com>
11550
488086f4
SM
11551 * bookmark.el (bookmark-bmenu-mode-map):
11552 Bind bookmark-bmenu-search to `/'.
8b340240 11553
9e2dd53f 11554 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11555 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11556 (Footnote-unicode): New function.
11557 (footnote-style-alist): Add unicode style to the list.
11558 (footnote-style): Doc fix.
9e2dd53f 11559
79b70037
GM
115602011-05-10 Jim Meyering <meyering@redhat.com>
11561
11562 Fix doubled-word typos.
11563 * international/quail.el (quail-insert-kbd-layout): and and -> and
11564 * kermit.el: and and -> and
11565 * net/ldap.el (ldap-search-internal): to to -> to
11566 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11567 * progmodes/js.el (js-mode): and and -> and
11568 * textmodes/artist.el (artist-move-to-xy): at at -> at
11569 (artist-draw-region-trim-line-endings): if if -> if
11570 And Safetyc -> Safety.
11571 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11572
b8f82dc1 115732011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11574 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11575
11576 * files.el (hack-one-local-variable-eval-safep):
11577 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11578
4f99f44b
GM
115792011-05-10 Glenn Morris <rgm@gnu.org>
11580
11581 * calendar/diary-lib.el (diary-list-entries-hook)
11582 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11583 (diary-nongregorian-marking-hook, diary-list-entries)
11584 (diary-include-other-diary-files, diary-mark-entries)
11585 (diary-mark-included-diary-files): Doc fixes.
11586
84f29e6b
JB
115872011-05-09 Juanma Barranquero <lekktu@gmail.com>
11588
11589 * misc.el: Require tabulated-list.el during compilation.
11590
9bedd73a
CY
115912011-05-09 Chong Yidong <cyd@stupidchicken.com>
11592
488086f4
SM
11593 * progmodes/compile.el (compilation-start):
11594 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11595 (compilation-filter-hook): Doc fix.
11596
797c735c
DD
115972011-05-09 Deniz Dogan <deniz@dogan.se>
11598
11599 * wdired.el: Remove outdated installation comment. Fix usage
11600 comment.
11601
5f4b1dfe
JB
116022011-05-09 Juanma Barranquero <lekktu@gmail.com>
11603
11604 * misc.el: Implement new command `list-dynamic-libraries'.
11605 (list-dynamic-libraries--loaded-only-p): New variable.
11606 (list-dynamic-libraries--refresh): New function.
11607 (list-dynamic-libraries): New command.
11608
4c44026c
CY
116092011-05-09 Chong Yidong <cyd@stupidchicken.com>
11610
488086f4
SM
11611 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11612 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11613 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11614 higher priority to avoid clobbering by gnu.
11615
027f966d
CY
116162011-05-08 Chong Yidong <cyd@stupidchicken.com>
11617
11618 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11619 if the face has existing theme settings (Bug#8454).
11620
085f5d7d
CY
116212011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11622
488086f4
SM
11623 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11624 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11625
2a86a00c
RS
11626 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11627 special file names `.' and `..' (Bug#8259).
11628
d9c54a06
CY
116292011-05-08 Chong Yidong <cyd@stupidchicken.com>
11630
488086f4
SM
11631 * progmodes/grep.el (grep-mode-font-lock-keywords):
11632 Remove buffer-changing entries.
d9c54a06
CY
11633 (grep-filter): New function.
11634 (grep-mode): Add it to compilation-filter-hook.
11635
11636 * progmodes/compile.el (compilation-filter-hook)
11637 (compilation-filter-start): New defvars.
11638 (compilation-filter): Call compilation-filter-hook prior to
11639 updating the process mark.
11640
c4662635
SM
116412011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11644
b0512a1d
EZ
116452011-05-07 Eli Zaretskii <eliz@gnu.org>
11646
605c9376
EZ
11647 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11648 mailclient-send-it even if window-system is nil. (Bug#8595)
11649
c4662635
SM
11650 * term/w32console.el (terminal-init-w32console):
11651 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11652 background-mode. (Bug#8597)
11653
d1dc2cc2
SM
116542011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11657 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11658 New functions.
11659 (defgeneric, eieio--defmethod): Use them.
11660 (eieio-defgeneric): Remove.
11661 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11662
915d1300
GM
116632011-05-07 Glenn Morris <rgm@gnu.org>
11664
a3961c3e
GM
11665 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11666 Use let rather than let*.
11667 (timeclock-find-discrep): Remove unused local.
11668
314347b9
GM
11669 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11670
915d1300
GM
11671 * calendar/appt.el (appt-time-msg-list): Doc fix.
11672
275b59b0
NF
116732011-05-06 Noah Friedman <friedman@splode.com>
11674
11675 * apropos.el (apropos-print-doc): Only use
11676 emacs-lisp-docstring-fill-column when it is bound to an integer,
11677 per that variable's documentation.
11678
6c19f744
SM
116792011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11682 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11683
60f884b2
GM
116842011-05-06 Glenn Morris <rgm@gnu.org>
11685
5006e634
GM
11686 * calendar/appt.el (appt-message-warning-time): Doc fix.
11687 (appt-warning-time-regexp): New option.
11688 (appt-make-list): Respect appt-message-warning-time.
11689
548d0a63
GM
11690 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11691 New options.
11692 (diary-add-to-list): Strip comments from the displayed string.
11693 (diary-mode): Set comment-start and comment-end.
11694
60f884b2
GM
11695 * vc/diff-mode.el (smerge-refine-subst): Declare.
11696 (diff-refine-hunk): Don't require smerge-mode when compiling.
11697
989681bb
JB
116982011-05-06 Juanma Barranquero <lekktu@gmail.com>
11699
11700 * simple.el (list-processes): Return nil as the docstring says.
11701
a6bc05e1
MA
117022011-05-05 Michael Albinus <michael.albinus@gmx.de>
11703
11704 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11705 to "".
11706 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11707 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11708 determining of binary transfer. (Bug#7383)
11709
23c22e9a
MA
117102011-05-05 Michael Albinus <michael.albinus@gmx.de>
11711
c4662635
SM
11712 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11713 Fix port computation bug. (Bug#8618)
23c22e9a 11714
0bff894f
GM
117152011-05-05 Glenn Morris <rgm@gnu.org>
11716
b8296902
GM
11717 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11718
1f522ce8
GM
11719 * simple.el (shell-dynamic-complete-functions)
11720 (comint-dynamic-complete-functions): Declare.
11721
cf5bee67
GM
11722 * net/network-stream.el (gnutls-negotiate):
11723 * simple.el (tabulated-list-print): Fix declarations.
11724
11725 * progmodes/gud.el (syntax-symbol, syntax-point):
11726 Remove unnecessary and incorrect declarations.
11727
0bff894f
GM
11728 * emacs-lisp/check-declare.el (check-declare-scan):
11729 Handle byte-compile-initial-macro-environment in bytecomp.el
11730
9869b3ae
SM
117312011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 Fix earlier half-done eieio-defmethod change (bug#8338).
11734 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11735 Streamline and change calling convention.
11736 (defmethod): Adjust accordingly and simplify.
11737 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11738 new eieio--defmethod.
11739 (slot-boundp): Minor CSE simplification.
11740
9c1d5ac5
MZ
117412011-05-05 Milan Zamazal <pdm@zamazal.org>
11742
11743 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11744 (glasses-make-readable): Use glasses-separate-capital-groups.
11745
455c834e
JB
117462011-05-05 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11749 (warning-series): Doc fix.
11750 (display-warning): Don't try to create the buffer if we just found it.
11751
9ed7c8cb
CY
117522011-05-04 Chong Yidong <cyd@stupidchicken.com>
11753
11754 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11755 (autoload-find-generated-file): New function.
11756 (generate-file-autoloads): Bind generated-autoload-file to
11757 buffer-file-name.
9869b3ae
SM
11758 (update-file-autoloads, update-directory-autoloads):
11759 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11760 output file (Bug#7989).
11761 (batch-update-autoloads): Doc fix.
11762
0898ca10
JB
117632011-05-04 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11766
31dfb76c
GM
117672011-05-04 Glenn Morris <rgm@gnu.org>
11768
f330b642
GM
11769 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11770 function, so it follows changes in calendar-date-style.
11771 (diary-fancy-date-matcher): New function.
11772 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11773 (diary-fancy-font-lock-fontify-region-function):
11774 Use diary-fancy-date-pattern as a function.
11775
31dfb76c
GM
11776 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11777 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11778
48e79d6a
TZ
117792011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11780
11781 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11782 instead of positional arguments. Allow :keylist and :crlfiles
11783 arguments.
11784 (open-gnutls-stream): Call it.
11785
11786 * net/network-stream.el (network-stream-open-starttls): Adjust to
11787 call `gnutls-negotiate' with :process and :hostname arguments.
11788
dd5a5ee0
SM
117892011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11790
ef80fc09
SM
11791 * minibuffer.el (completion--message): New function.
11792 (completion--do-completion, minibuffer-complete)
11793 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11794 (completion--do-completion): Don't ignore completion-auto-help when in
11795 icomplete-mode.
11796
dd5a5ee0
SM
11797 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11798 internal encoding (e.g. tibetan zero is not whitespace).
11799 (global-whitespace-mode): Prefer save-current-buffer.
11800 (whitespace-trailing-regexp): Remove useless save-match-data.
11801 (whitespace-empty-at-bob-regexp): Minor simplification.
11802
b7d22a83
CY
118032011-05-03 Chong Yidong <cyd@stupidchicken.com>
11804
11805 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11806
5192af46
AM
118072011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11808
11809 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11810 Use `concat' to create string for insertion.
5192af46 11811
5767d190
SM
118122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11815 Avoid open-line which runs post-self-insert-hook.
11816 (bibtex-fill-entry): Remove unused `end' var.
11817
bf242939
AM
118182011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11819
5767d190
SM
11820 * textmodes/ispell.el (ispell-add-per-file-word-list):
11821 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11822
25666126
LL
118232011-05-03 Leo Liu <sdl.web@gmail.com>
11824
11825 * isearch.el (isearch-yank-pop): New command.
5767d190 11826 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11827 (isearch-forward): Mention it.
11828
52d3c2d0
SM
118292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11830
1bcace58
SM
11831 * simple.el (minibuffer-complete-shell-command): Remove.
11832 (minibuffer-local-shell-command-map): Use completion-at-point.
11833 (read-shell-command): Setup completion vars here instead.
11834 (read-expression-map): Bind TAB to symbol completion.
11835
52d3c2d0
SM
11836 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11837 error directly rather via storing it into `results'.
11838
35813471
LL
118392011-05-02 Leo Liu <sdl.web@gmail.com>
11840
11841 * vc/diff.el: Fix description.
11842
e793a940
LMI
118432011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * server.el (server-eval-at): New function.
11846
8de66e05
LMI
118472011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * net/network-stream.el (open-network-stream): Take a :nowait
11850 parameter and pass it on to `make-network-process'.
11851 (network-stream-open-plain): Ditto.
11852
dcb79f20
AS
118532011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11854
11855 * faces.el (face-spec-set-match-display): Don't match toolkit
11856 options on terminal frames.
11857
14a7fbd8
SM
118582011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11859
7eabc1be
SM
11860 * progmodes/pascal.el: Use lexical binding.
11861 (pascal-mode-map): Remove author preferences.
11862
14a7fbd8
SM
11863 * pcomplete.el (pcomplete-std-complete): Don't abuse
11864 completion-at-point.
11865
50f84510
JB
118662011-04-28 Juanma Barranquero <lekktu@gmail.com>
11867
6e087a44
JB
11868 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11869 removing code that has been dead since 1991 or so.
11870
50f84510
JB
11871 * startup.el (command-line): When warning about "_emacs", use a
11872 delayed warning to allow the user to filter it out.
11873
0ba690bd
DD
118742011-04-28 Deniz Dogan <deniz@dogan.se>
11875
11876 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11877 user has not joined.
11878
08abfaad
SM
118792011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11882 aren't any completions at point.
11883
638f053a
JB
118842011-04-28 Juanma Barranquero <lekktu@gmail.com>
11885
11886 * subr.el (display-delayed-warnings): New function.
11887 (delayed-warnings-hook): New variable.
11888
8fff8daa
SM
118892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11890
08abfaad
SM
11891 * minibuffer.el (completion-at-point, completion-help-at-point):
11892 Don't presume that a given completion-at-point-function will always
11893 use the same calling convention.
11894
8fff8daa
SM
11895 * pcomplete.el (pcomplete-completions-at-point):
11896 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11897 pcomplete-seen is non-nil.
11898 (pcomplete-comint-setup): Also recognize the new comint/shell
11899 completion functions.
11900 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11901 pcomplete-seen is non-nil.
11902
841a1577 119032011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11904
841a1577 11905 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11906 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11907 the first character in the entry. This allows for code to add its
211ec907
UJ
11908 own uid to the entry.
11909 (icalendar--convert-float-to-ical): Add export of
11910 `diary-float'-entries save for those with the optional DAY
11911 argument.
11912
2a782793
DC
119132011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11914
11915 * subr.el (shell-quote-argument): Use alternate escaping strategy
11916 when we spot a variable reference in a string.
11917
0438ce91
DC
119182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11919
11920 * cus-start.el (all): Define customization for debug-on-event.
11921
841a1577 119222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11923
11924 * subr.el (shell-quote-argument): Escape correctly under Windows.
11925
d090ed6c
SM
119262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11929
bfd31217
MA
119302011-04-25 Michael Albinus <michael.albinus@gmx.de>
11931
d090ed6c
SM
11932 * net/tramp.el (tramp-process-actions): Add POS argument.
11933 Delete region between POS and (pos).
bfd31217 11934
d090ed6c
SM
11935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11936 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11937 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11938
11939 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11940 position in `tramp-process-actions' call.
11941
11942 * net/trampver.el: Update release number.
11943
e92f3bd3
SM
119442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11945
850256b5
SM
11946 * custom.el (defcustom): Obey lexical-binding.
11947
e92f3bd3
SM
11948 Fix octave-inf completion problems reported by Alexander Klimov.
11949 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11950 Inherit from octave-mode-syntax-table.
11951 (inferior-octave-mode): Set info-lookup-mode.
11952 (inferior-octave-completion-at-point): New function.
11953 (inferior-octave-complete): Use it and completion-in-region.
11954 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11955 comint-filename-completion.
11956 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11957 symbol elements which shouldn't be word elements.
11958 (octave-font-lock-keywords, octave-beginning-of-defun)
11959 (octave-function-header-regexp): Adjust regexps accordingly.
11960 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11961
cd22b309
JB
119622011-04-25 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * net/gnutls.el (gnutls-errorp): Declare before first use.
11965
8b492194
TZ
119662011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11967
11968 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11969 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11970 default trustfile exists before going to use it. Add missing
5a5fa834 11971 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11972 Reported by Claudio Bley <claudio.bley@gmail.com>.
11973 (open-gnutls-stream): Add usage example.
11974
11975 * net/network-stream.el (network-stream-open-starttls): Give host
11976 parameter to `gnutls-negotiate'.
11977 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11978 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11979
841a1577 119802011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11981
cd22b309
JB
11982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11983 Use correct match group (bug#8438).
05842630 11984
3ba7869c
CY
119852011-04-24 Chong Yidong <cyd@stupidchicken.com>
11986
512e3ae1
CY
11987 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11988 (package-menu--generate): New arg specifying packages to show.
11989 (package-menu-refresh, package-menu-execute, list-packages):
11990 Callers changed.
11991 (package-show-package-list): New function, replacing deleted
11992 package--list-packages (renamed because it is non-internal).
11993
11994 * finder.el (finder-list-matches): Use package-show-package-list
11995 instead of deleted package--list-packages.
11996
e92f3bd3
SM
11997 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11998 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11999 (vc-annotate-mode-map): Bind it to RET.
12000
7031be6d
UR
120012011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12002
12003 * progmodes/etags.el (next-file): Don't use set-buffer to change
12004 buffers (Bug#8478).
12005
4ef177aa
CY
120062011-04-24 Chong Yidong <cyd@stupidchicken.com>
12007
c8d173eb
CY
12008 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12009
4ef177aa
CY
12010 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12011 (apropos-accumulator): Doc fix.
12012 (apropos-function, apropos-macro, apropos-command)
12013 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12014 (apropos-plist): Add face property.
12015 (apropos-symbols-internal): Fix indentation.
12016 (apropos-print): Simplify help, and recognize apropos-multi-type.
12017 (apropos-print-doc): Use button-type-get to extract the button's
12018 face property. Fill docstring (Bug#8352).
12019
4ffd0d6b 120202011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12021
12022 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12023
c6c32125 12024 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12025 (mpuz-mode-map): Use mapc.
c6c32125
JB
12026 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12027 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12028 Fix typos in docstrings.
12029
58d468b4
JB
12030 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12031 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12032
6470c3c6
JB
12033 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12034
4ffd0d6b 120352011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12036
12037 * minibuffer.el (completion--do-completion): Avoid the "Next char
12038 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12039
3ad8bad0
CY
12040 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12041 mouse-2 into unread-command-events, it is interpreted correctly.
12042
71d73c9c 12043 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12044 (image-toggle-display): Doc fix.
71d73c9c 12045
841a1577 120462011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12047
4ffd0d6b
GM
12048 * textmodes/page.el (what-page): Use line-number-at-pos to
12049 calculate line number (Bug#6825).
6e1dbaa9 12050
c2fb1b60
JB
120512011-04-22 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12054 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12055 Pass argument NO-DEFAULT to `find-tag-interactive'.
12056
e02f48d7
JB
120572011-04-22 Juanma Barranquero <lekktu@gmail.com>
12058
12059 Lexical-binding cleanup.
12060
12061 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12062 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12063 * progmodes/ada-prj.el (ada-prj-initialize-values)
12064 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12065 (ada-prj-show-value):
12066 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12067 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12068 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12069 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12070 * progmodes/bug-reference.el (bug-reference-push-button):
12071 * progmodes/fortran.el (fortran-line-length):
12072 * progmodes/glasses.el (glasses-change):
12073 * progmodes/octave-mod.el (octave-fill-paragraph):
12074 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12075 (python-pdbtrack-grub-for-buffer, python-sentinel):
12076 * progmodes/sql.el (sql-save-connection):
12077 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12078 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12079 Mark unused parameters.
12080
12081 * progmodes/compile.el (compilation--flush-directory-cache)
12082 (compilation--flush-parse, compile-internal): Mark unused parameters.
12083 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12084 (compilation-next-error-function): Remove unused variable `timestamp'.
12085
12086 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12087 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12088
12089 * progmodes/dcl-mode.el (dcl-end-of-command):
12090 Remove unused variable `start'.
12091 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12092 (dcl-option-value-basic, dcl-option-value-offset)
12093 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12094 Mark unused parameters.
12095 (dcl-save-local-variable): Remove unused variable `val'.
12096 (mode): Declare.
12097
12098 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12099 Mark unused parameters.
12100 (delphi-ignore-changes): Move before first use.
12101 (delphi-charset-token-at): Remove unused variable `start'.
12102 (delphi-else-start): Remove unused variable `if-count'.
12103 (delphi-comment-block-start, delphi-comment-block-end):
12104 Remove unused variable `kind'.
12105 (delphi-indent-line): Remove unused variable `new-point'.
12106
12107 * progmodes/ebrowse.el (ebrowse-files-list)
12108 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12109 Mark unused parameters. Don't quote `lambda'.
12110 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12111 Don't quote `lambda'.
12112 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12113 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12114 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12115 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12116 Use `ignore-errors'.
12117 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12118 (ebrowse-view/find-file-and-search-pattern)
12119 (ebrowse-view/find-member-declaration/definition):
12120 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12121 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12122 Rename parameter PREFIX-ARG to PREFIX.
12123 (ebrowse-tags-read-name): Remove unused variables `start' and
12124 `member-info'.
12125 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12126 to `tags-file'.
12127
12128 * progmodes/etags.el (local-find-tag-hook): Declare.
12129 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12130 Mark unused parameters.
12131
12132 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12133 (executable-interpret): Mark unused parameter.
12134
12135 * progmodes/flymake.el (flymake-process-sentinel)
12136 (flymake-after-change-function)
12137 (flymake-create-temp-with-folder-structure)
12138 (flymake-get-include-dirs-dot): Mark unused parameters.
12139 (flymake-safe-delete-directory): Remove unused variable `err'.
12140
12141 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12142 (speedbar-timer-fn, speedbar-line-text)
12143 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12144 (speedbar-center-buffer-smartly): Declare functions.
12145 (gdb-find-watch-expression): Remove unused variable `array'.
12146 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12147 (gdb-starting): Mark unused parameters.
12148 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12149 (gdb-table-string): Remove unused variable `res'.
12150 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12151 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12152 (gdb-display-buffer): Remove unused variable `cur-size'.
12153
12154 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12155 allow lexical-binding compilation.
12156 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12157 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12158 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12159 Mark unused parameters.
12160 (gud-gdb-marker-filter): Remove unused variable `match'.
12161 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12162 lambda expressions and funcall them, instead of using `fset'.
12163
12164 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12165 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12166
12167 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12168 variable `header-beg'; use `let'.
12169
12170 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12171 `restart', `last-sexp' and `at-do'.
12172
12173 * progmodes/js.el (js--debug): Mark unused parameter.
12174 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12175 (js--splice-into-items): Remove unused variable `item'.
12176 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12177
12178 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12179 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12180 (makefile-complete): Remove unused variable `try'.
12181 (makefile-fill-paragraph, makefile-match-function-end):
12182 Mark unused parameters.
12183
12184 * progmodes/octave-inf.el (inferior-octave-complete):
12185 Remove unused variable `proc'.
12186 (inferior-octave-output-digest): Mark unused parameter.
12187
12188 * progmodes/perl-mode.el (perl-calculate-indent):
12189 Remove unused variable `err'.
12190
12191 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12192 (prolog-indent-line): Mark unused parameters.
12193 (prolog-indent-line): Remove unused variable `beg'.
12194
12195 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12196 (reporter-dont-compact-list): Declare.
12197
12198 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12199 Remove unused variable `char'.
12200 (sh-debug): Mark unused parameter.
12201 (sh-get-indent-info): Remove unused variable `start'.
12202 (sh-calculate-indent): Remove unused variable `var'.
12203
12204 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12205 (simula-electric-keyword): Remove unused variable `null'.
12206 (simula-search-backward, simula-search-forward): Remove unused
12207 variables `begin' and `end'.
12208
12209 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12210 Remove unused variable `pos'.
12211 (vera-electric-tab, vera-comment-uncomment-region):
12212 Mark unused parameters.
12213 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12214
7ede3b65
CY
122152011-04-22 Chong Yidong <cyd@stupidchicken.com>
12216
12217 * emacs-lisp/package.el (package--builtins, package-alist)
12218 (package-load-descriptor, package-built-in-p, package-activate)
12219 (define-package, package-installed-p)
12220 (package-compute-transaction, package-buffer-info)
12221 (package--push): Doc fix. Distinguish more clearly between
12222 version strings and version lists.
12223
121656e9
JB
122242011-04-21 Juanma Barranquero <lekktu@gmail.com>
12225
12226 Lexical-binding cleanup.
12227
12228 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12229 (5x5-make-mutate-best):
12230 * play/fortune.el (fortune-in-buffer):
12231 * play/gomoku.el (gomoku-init-display):
12232 * play/solitaire.el (solitaire, solitaire-do-check):
12233 * play/tetris.el (tetris-default-update-speed-function):
12234 Mark unused parameters.
12235
12236 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12237 (bubbles--shift): Remove unused variable `char-org'.
12238 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12239 (bubbles--show-images): Remove unused variable `char'.
12240
12241 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12242 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12243 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12244 (decipher-analyze-buffer): Use ?\s.
12245 (decipher-make-checkpoint): Remove unused variable `mapping'.
12246
12247 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12248
12249 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12250 Remove unused variable `result'; use `let'.
12251
12252 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12253 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12254 (gametree-children-shown-p, gametree-compute-reduced-score):
12255 Use `ignore-errors'.
12256
12257 * play/handwrite.el (ps-lpr-switches): Declare.
12258 (handwrite): Remove unused variables `pmin' and `lastp'.
12259
12260 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12261
12262 * play/landmark.el (landmark-init-display)
12263 (landmark-update-naught-weights): Mark unused parameters.
12264 (landmark-y): Remove unused variable `noise'. Simplify.
12265 (landmark-human-plays): Remove unused variable `score'.
12266
12267 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12268 (mpuz-try-proposal): Remove unused variable `game'.
12269
12270 * play/zone.el (life-patterns): Declare.
12271
80f499c7
JB
122722011-04-20 Juanma Barranquero <lekktu@gmail.com>
12273
12274 * vc/vc.el (ediff-vc-internal): Declare function.
12275
024ff170
SM
122762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12277
c0a193ea
SM
12278 * shell.el: Use lexical-binding and std completion UI.
12279 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12280 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12281 comint-preoutput-filter-functions rather than on
12282 comint-output-filter-functions.
12283 (shell-command-completion, shell--command-completion-data)
12284 (shell-filename-completion, shell-environment-variable-completion)
12285 (shell-c-a-p-replace-by-expanded-directory): New functions.
12286 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12287 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12288 (shell-dynamic-complete-environment-variable): Use them.
12289 (shell-dynamic-complete-as-environment-variable)
12290 (shell-dynamic-complete-as-command): Remove.
12291 (shell-match-partial-variable): Match past point.
12292 * comint.el: Clean up use of completion-at-point-functions.
12293 (comint-completion-at-point): New function.
12294 (comint-mode): Use it completion-at-point-functions.
12295 (comint-dynamic-complete): Make it obsolete.
12296 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12297 (comint-c-a-p-replace-by-expanded-history): New function.
12298 (comint-dynamic-complete-functions)
12299 (comint-replace-by-expanded-history): Use it.
12300 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12301 termination strings. Try harder to avoid second try-completion.
12302 (completion-in-region-mode-map): Disable bindings that don't work yet.
12303
2dbaa080
SM
12304 * comint.el: Use lexical-binding. Require CL.
12305 (comint-dynamic-complete-functions): Use comint-filename-completion.
12306 (comint-completion-addsuffix): Tweak custom type.
12307 (comint-filename-completion, comint--common-suffix)
12308 (comint--common-quoted-suffix, comint--table-subvert)
12309 (comint--complete-file-name-data): New functions.
12310 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12311 (comint-dynamic-list-filename-completions): Use them.
12312 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12313
2dbaa080
SM
12314 * minibuffer.el (completion-in-region-mode):
12315 Keep completion-in-region-mode--predicate global.
12316 (completion-in-region--postch):
12317 Assume completion-in-region-mode--predicate is not null.
12318
c79a6f38
SM
12319 * progmodes/flymake.el (flymake-start-syntax-check-process):
12320 Obey `dir'. Simplify.
12321
024ff170
SM
12322 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12323 we're in VC after all.
12324
1c6c854e
CS
123252011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12326
12327 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12328 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12329 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12330
bed7f140
SM
123312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12332
332e62ab
SM
12333 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12334 add sanity check.
12335
bed7f140
SM
12336 * obsolete/erc-hecomplete.el: Make obsolete.
12337 * obsolete/: Standardize obsolescence info in the header.
12338
f195c582
GM
123392011-04-20 Glenn Morris <rgm@gnu.org>
12340
12341 * calendar/solar.el (solar-horizontal-coordinates):
12342 Use the longitude argument rather than `calendar-longitude'.
12343 (solar-date-next-longitude): Remove unused locals.
12344
cb79b8c0
VJL
123452011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12346
12347 * whitespace.el: New version 13.2.1.
12348
123492011-04-20 felix <EmacsWiki> (tiny change)
12350
d8e4b68b 12351 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12352 switching between major modes on a file.
12353
602ea69d
SM
123542011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12357 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12358 multi-line comments as well.
12359
06b60517
JB
123602011-04-19 Juanma Barranquero <lekktu@gmail.com>
12361
12362 Lexical-binding cleanup.
12363
12364 * arc-mode.el (archive-mode-revert):
12365 * cmuscheme.el (scheme-interactively-start-process):
12366 * custom.el (custom-initialize-delay):
12367 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12368 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12369 * emacs-lock.el (emacs-lock-clear-sentinel):
12370 * ezimage.el (defezimage):
12371 * follow.el (follow-avoid-tail-recenter):
12372 * fringe.el (set-fringe-mode-1):
12373 * generic-x.el (bat-generic-mode-compile):
12374 * help-mode.el (help-info-variable, help-do-xref)
12375 (help-mode-revert-buffer):
12376 * help.el (view-emacs-todo):
12377 * iswitchb.el (iswitchb-completion-help):
12378 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12379 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12380 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12381 * locate.el (locate-update):
12382 * longlines.el (longlines-encode-region)
12383 (longlines-after-change-function):
12384 * outline.el (outline-isearch-open-invisible):
12385 * ps-def.el (declare-function, charset-dimension, char-width)
12386 (encode-char):
12387 * ps-mule.el (ps-mule-plot-string):
12388 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12389 (recentf-edit-list-select, recentf-edit-list-validate)
12390 (recentf-open-files-action):
12391 * rect.el (delete-whitespace-rectangle-line)
12392 (rectangle-number-line-callback):
12393 * register.el (window-configuration-to-register)
12394 (frame-configuration-to-register):
12395 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12396 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12397 (xselect-convert-to-targets, xselect-convert-to-delete)
12398 (xselect-convert-to-filename, xselect-convert-to-charpos)
12399 (xselect-convert-to-lineno, xselect-convert-to-colno)
12400 (xselect-convert-to-os, xselect-convert-to-host)
12401 (xselect-convert-to-user, xselect-convert-to-class)
12402 (xselect-convert-to-name, xselect-convert-to-integer)
12403 (xselect-convert-to-atom, xselect-convert-to-identity):
12404 * subr.el (declare, ignore, process-kill-without-query)
12405 (text-clone-maintain):
12406 * terminal.el (te-get-char, te-tic-sentinel):
12407 * tool-bar.el (tool-bar-make-keymap):
12408 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12409 * type-break.el (type-break-mode, type-break-noninteractive-query):
12410 * view.el (View-back-to-mark):
12411 * wid-browse.el (widget-browse-action, widget-browse-widget)
12412 (widget-browse-widgets, widget-browse-sexp):
12413 * widget.el (define-widget-keywords):
12414 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12415 Mark unused parameters.
12416
12417 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12418 (align-areas): Remove unused variable `look'.
12419 (align-region): Remove unused variables `real-end' and `pos-list'.
12420
12421 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12422
12423 * bindings.el (mode-line-modified, mode-line-remote):
12424 Mark unused parameters.
12425 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12426
12427 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12428 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12429
12430 * comint.el (comint-history-isearch-pop-state)
12431 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12432 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12433 (comint-substitute-in-file-name): Doc fix.
12434
12435 * completion.el (cmpl-statistics-block): Mark unused parameter.
12436 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12437 (save-completions-to-file, load-completions-from-file):
12438 Remove unused local variable `e'.
12439
12440 * composite.el (compose-chars): Remove unused variable `len'.
12441 (lgstring-insert-glyph): Remove unused variable `g'.
12442 (compose-glyph-string): Remove unused variables `ascent',
12443 `descent', `lbearing' and `rbearing'.
12444 (compose-glyph-string-relative): Remove unused variables
12445 `lbearing', `rbearing' and `wadjust'.
12446 (compose-gstring-for-graphic): Remove unused variables `header',
12447 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12448 (compose-gstring-for-terminal): Remove unused variables `header'
12449 and `nchars'. Use `let', not `let*'.
12450
12451 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12452 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12453 (Custom-buffer-done, custom-buffer-create-internal)
12454 (custom-browse-visibility-action, custom-browse-group-tag-action)
12455 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12456 (widget-magic-mouse-down-action, custom-toggle-parent)
12457 (custom-add-parent-links, custom-toggle-hide-variable)
12458 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12459 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12460 (custom-face-menu-create, custom-variable-menu-create, get)
12461 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12462 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12463 (customize-apropos): Remove unused variable `tests'.
12464 (custom-group-value-create): Remove unused variable `hidden-p'.
12465 (sort-fold-case): Declare.
12466
12467 * cus-theme.el (custom-reset-standard-faces-list)
12468 (custom-reset-standard-variables-list): Declare.
12469 (customize-create-theme, custom-theme-revert, custom-theme-write)
12470 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12471 Mark unused parameters.
12472
12473 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12474
12475 * delim-col.el (delimit-columns-max): Move defvar before first use.
12476
12477 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12478 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12479
12480 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12481 (auto-insert): Declare.
12482 (desktop-restore-file-buffer): Rename desktop-* parameters;
12483 mark unused ones.
12484 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12485 (desktop-buffer): Rename desktop-* parameters.
12486
12487 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12488 (dframe-reposition-frame-xemacs, dframe-help-echo)
12489 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12490 Mark unused parameters.
12491
12492 * dired-aux.el (backup-extract-version-start, overwrite-query)
12493 (overwrite-backup-query, rename-regexp-query)
12494 (rename-non-directory-query): Declare.
12495 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12496 (dired-add-entry): Remove unused variable `orig-file-name'.
12497 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12498 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12499 `dired-copy-preserve-time' directly.
12500 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12501 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12502
12503 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12504 (dired-virtual-revert, dired-make-relative-symlink):
12505 Mark unused parameters.
12506 (manual-program): Declare.
12507 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12508 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12509 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12510
12511 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12512
12513 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12514
12515 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12516 Declare.
12517
12518 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12519
12520 * electric.el (Electric-command-loop): Rename parameter
12521 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12522
12523 * expand.el (expand-in-literal): Remove unused variable `here'.
12524
12525 * facemenu.el (facemenu-add-new-color):
12526 Remove unused variable `docstring'.
12527
12528 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12529 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12530 (face-attr-construct): Mark unused parameter. Doc fix.
12531 (read-color): Remove unused variable `hex-string'.
12532
12533 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12534 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12535 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12536 (display-buffer-other-frame): Remove unused variable `old-window'.
12537 (kill-buffer-hook): Declare.
12538 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12539 Mark unused parameters.
12540 (after-find-file): Pass 1 to `auto-save-mode', not t.
12541
12542 * files-x.el (auto-insert): Declare.
12543 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12544
12545 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12546 variable `buf'. Mark unused parameter.
06b60517
JB
12547 (find-lisp-insert-directory): Mark unused parameter.
12548
12549 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12550 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12551 (format-common-tail): Remove, unused.
12552 (format-deannotate-region): Remove unused variable `loc'.
12553 (format-annotate-region): Remove unused variable `p'.
12554 (format-annotate-single-property-change): Remove unused variables
12555 `default' and `tail'.
12556
12557 * forms.el (read-file-filter): Declare.
12558 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12559
12560 * frame.el (frame-creation-function-alist): Mark unused parameter.
12561 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12562
12563 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12564 Remove unused parameters.
12565 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12566 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12567
12568 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12569 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12570 (hfy-prepare-tag-map): Mark unused parameters.
12571 (htmlfontify-buffer): Use `called-interactively-p'.
12572
12573 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12574 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12575 (ibuffer-do-occur): Mark unused parameters.
12576 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12577 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12578
12579 * ibuffer.el: Don't quote `lambda'.
12580 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12581 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12582 Mark unused parameters.
12583
12584 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12585 (ido-completing-read): Mark unused parameters.
12586 (ido-copy-current-word): Mark unused parameters;
12587 remove unused variable `name'.
12588 (ido-sort-merged-list): Remove unused parameter `dirs'.
12589
12590 * ielm.el (ielm-input-sender): Mark unused parameter.
12591 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12592 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12593 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12594 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12595 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12596
12597 * image-dired.el (image-dired-display-thumbs): Remove unused
12598 variables `curr-file' and `count'.
12599 (image-dired-remove-tag): Remove unused variable `start'.
12600 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12601 variable `curr-file'
12602 (image-dired-rotate-original): Remove unused variable `temp-file'.
12603 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12604 Remove unused variable `file'.
12605 (image-dired-gallery-generate): Remove unused variable `curr'.
12606 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12607
12608 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12609
12610 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12611
12612 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12613
12614 * isearch.el (minibuffer-history-symbol): Declare.
12615 (isearch-edit-string): Remove unused variable `err'.
12616 (isearch-message-prefix, isearch-message-suffix):
12617 Mark unused parameters.
12618
12619 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12620
12621 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12622
12623 * makesum.el (double-column): Remove unused variable `cnt'.
12624
12625 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12626 (ido-ignore-item-temp-list): Declare.
12627
12628 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12629 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12630 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12631 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12632 `mouse-col-delta'.
12633
12634 * mouse-sel.el (mouse-extend-internal):
12635 Remove unused variable `orig-window-frame'.
12636
12637 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12638 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12639 Move declarations before first use.
12640 (pcomplete-opt): Mark unused parameters; doc fix.
12641
12642 * proced.el (proced-revert): Mark unused parameter.
12643 (proced-send-signal): Remove unused variable `err'.
12644
12645 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12646 Rename parameter PREFIX-ARG to ARG.
12647 (ps-basic-plot-string, ps-basic-plot-whitespace):
12648 Mark unused parameters.
12649
12650 * replace.el (replace-count): Define.
12651 (occur-revert-function): Mark unused parameters.
12652 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12653 (isearch-case-fold-search, isearch-string): Declare.
12654 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12655 bind `case-fold-search'. Remove unused variables `beg' and `end',
12656 and simplify.
12657 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12658 COUNT and bind `replace-count'.
12659 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12660 to COUNT.
12661
12662 * savehist.el (print-readably, print-string-length): Declare.
12663
12664 * shadowfile.el (shadow-expand-cluster-in-file-name):
12665 Remove unused variable `cluster'.
12666 (shadow-copy-file): Remove unused variable `i'.
12667 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12668 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12669 (shadow-define-literal-group, shadow-define-regexp-group)
12670 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12671
12672 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12673 (shell): Use `called-interactively-p'.
12674 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12675
12676 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12677 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12678 (delete-backward-char): Remove unused variable `ocol'.
12679 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12680 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12681 (event-apply-hyper-modifier, event-apply-shift-modifier)
12682 (event-apply-control-modifier, event-apply-meta-modifier):
12683 Mark unused parameters.
12684 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12685 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12686
12687 * speedbar.el (speedbar-ignored-directory-expressions)
12688 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12689 (speedbar-find-file, speedbar-dir-follow)
12690 (speedbar-directory-buttons-follow, speedbar-tag-find)
12691 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12692 (speedbar-buffers-line-directory, speedbar-buffer-click):
12693 Mark unused parameters.
12694 (speedbar-tag-file): Remove unused variable `mode'.
12695 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12696
12697 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12698
12699 * talk.el (talk): Remove unused variable `display'.
12700
12701 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12702 (tar-write-region-annotate): Mark unused parameter.
12703
12704 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12705 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12706 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12707 warning by another.
12708
12709 * time-stamp.el (time-stamp-string-preprocess):
12710 Remove unused variable `require-padding'.
12711
12712 * tree-widget.el (widget-glyph-enable): Declare.
12713 (tree-widget-action): Mark unused parameter.
12714
12715 * w32-fns.el (x-get-selection): Mark unused parameter.
12716 (autoload-make-program, generated-autoload-file): Declare.
12717
12718 * wdired.el (wdired-revert): Mark unused parameters.
12719 (wdired-xcase-word): Remove unused variable `err'.
12720
12721 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12722 (whitespace-help-scroll): Remove unused variable `data-help'.
12723
12724 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12725 (widget-image-insert, widget-after-change, default)
12726 (widget-default-format-handler, widget-default-notify)
12727 (widget-default-prompt-value, widget-info-link-action)
12728 (widget-url-link-action, widget-function-link-action)
12729 (widget-variable-link-action, widget-file-link-action)
12730 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12731 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12732 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12733 (widget-insert-button-action, widget-delete-button-action, visibility)
12734 (widget-documentation-link-action, widget-documentation-string-action)
12735 (widget-const-prompt-value, widget-regexp-match, symbol)
12736 (widget-coding-system-prompt-value)
12737 (widget-key-sequence-value-to-external, sexp)
12738 (widget-sexp-value-to-internal, character, vector, cons)
12739 (widget-choice-prompt-value, widget-boolean-prompt-value)
12740 (widget-color--choose-action): Mark unused parameters.
12741 (widget-item-match-inline, widget-choice-match-inline)
12742 (widget-checklist-match, widget-checklist-match-inline)
12743 (widget-group-match): Rename parameter VALUES to VALS.
12744 (widget-field-value-set): Remove unused variable `size'.
12745 (widget-color-action): Remove unused variables `value' and `start'.
12746
12747 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12748 variable `dir'. Doc fix.
06b60517
JB
12749 (windmove-find-other-window): Don't pass it.
12750
12751 * window.el (count-windows): Mark unused parameter.
12752 (bw-adjust-window): Remove unused variable `err'.
12753
12754 * woman.el (woman-file-name): Remove unused variable `default'.
12755 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12756 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12757 (global-font-lock-mode): Declare.
12758 (woman-decode-region): Mark unused parameter.
12759 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12760
12761 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12762 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12763 (x-dnd-handle-moz-url): Remove unused variable `title'.
12764 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12765
12766 * xml.el (xml-parse-tag, xml-parse-attlist):
12767 Remove unused variable `pos'.
12768
bc4f7f3d
GM
127692011-04-19 Glenn Morris <rgm@gnu.org>
12770
12771 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12772 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12773 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12774 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12775 * calendar/cal-html.el (cal-html-insert-minical):
12776 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12777 (calendar-mark-date-pattern):
12778 Prefix "unused" locals.
12779
12780 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12781 optional argument `style'.
12782
12783 * calendar/appt.el (appt-make-list):
12784 * calendar/cal-china.el (calendar-chinese-date-string):
12785 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12786 (diary-hebrew-yahrzeit):
12787 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12788 * calendar/calendar.el (calendar-generate-window):
12789 * calendar/time-date.el (time-to-days):
12790 Remove unused local variables.
12791
16a43933
CY
127922011-04-18 Chong Yidong <cyd@stupidchicken.com>
12793
12794 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12795 glyphless-char-display table.
12796 (tabulated-list-glyphless-char-display): New var.
12797
7eed1860
SS
127982011-04-18 Sam Steingold <sds@gnu.org>
12799
12800 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12801 to acknowledgments.
12802
4d2d1ccd
GM
128032011-04-17 Glenn Morris <rgm@gnu.org>
12804
12805 * calendar/diary-lib.el (diary-sexp-entry):
12806 * calendar/holidays.el (holiday-sexp):
12807 Set debug-on-error rather than the removed stack-trace-on-error.
12808
239da61d
GM
128092011-04-16 Glenn Morris <rgm@gnu.org>
12810
12811 * progmodes/f90.el: Use lexical-binding.
12812 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12813
8b05752a
SM
128142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12815
daca8ba5
SM
12816 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12817 (mail-mode): Setup mailalias completion here instead.
12818 * mail/mailalias.el: Use lexical-binding.
12819 (pattern, mailalias-done): Declare dynamic.
12820 (mail-completion-at-point-function): New function, from mail-complete.
12821 (mail-complete): Use it.
12822 (mail-completion-expand): New function.
12823 (mail-get-names): Use it.
12824 (mail-directory, mail-directory-process, mail-directory-stream):
12825 Don't use `pattern' for lexically bound arg.
12826
6f542485
SM
12827 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12828
037e7c3f
SM
12829 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12830 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12831 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12832
8b05752a
SM
12833 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12834 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12835 (byte-interactive-p): Define them again, for use when inlining
12836 old code.
12837
49093f60
JB
128382011-04-15 Juanma Barranquero <lekktu@gmail.com>
12839
12840 * loadup.el: Use `string-to-number', not `string-to-int'.
12841
b5b8e7de
SM
128422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12845 gud-gdb-complete-command.
12846 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12847 (gud-gdb-completion-at-point): New function.
12848 (gud-gdb-completions): Remove.
12849
f42efeb5
MA
128502011-04-14 Michael Albinus <michael.albinus@gmx.de>
12851
49093f60
JB
12852 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12853 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12854 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12855 whether `executable-find' is bound.
f42efeb5
MA
12856
12857 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12858
e240cc21
SM
128592011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * minibuffer.el (completion-in-region-mode-predicate)
12862 (completion-in-region-mode--predicate): New vars.
12863 (completion-in-region, completion-in-region--postch)
12864 (completion-in-region-mode): Use them.
12865 (completion--capf-wrapper): Also return the hook function.
12866 (completion-at-point, completion-help-at-point):
12867 Adjust and provide a predicate.
c2bd2ab0
SM
12868
12869 Preserve arg names for advice of subr and lexical functions (bug#8457).
12870 * help-fns.el (help-function-arglist): Consolidate the subr and
12871 new-byte-code cases. Add argument `preserve-names' to extract names
12872 from the docstring when needed.
12873 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12874 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12875 (ad-arglist): Use help-function-arglist's new arg.
12876 (ad-definition-type): Use cond.
12877
c183f693
JB
128782011-04-13 Juanma Barranquero <lekktu@gmail.com>
12879
06641a47
JB
12880 * autorevert.el (auto-revert-handler):
12881 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12882 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12883 Don't quote lambda.
12884
c183f693
JB
12885 * image-mode.el (image-transform-set-scale):
12886 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12887
1e3b6001
G
128882011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12889
12890 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12891 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12892 Upgrades via gnutls-cli are too slow to be done opportunistically.
12893
2d6af8dd
JB
128942011-04-12 Juanma Barranquero <lekktu@gmail.com>
12895
12896 * dframe.el (dframe-current-frame): Remove spurious quote.
12897
c0749a51
GM
128982011-04-12 Glenn Morris <rgm@gnu.org>
12899
088d0d61
GM
12900 * calendar/cal-tex.el (cal-tex-end-document):
12901 Try to automatically use latin1 input if needed.
12902
c0749a51
GM
12903 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12904 Don't try to cons a mark onto an empty element.
12905
5c90fde0
LL
129062011-04-11 Leo Liu <sdl.web@gmail.com>
12907
12908 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12909 buffers.
12910 (ido-kill-buffer-at-head): Support killing virtual buffers.
12911
369e974d
CY
129122011-04-10 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * minibuffer.el (completion-show-inline-help): New var.
12915 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12916 (minibuffer-force-complete, minibuffer-complete-word):
12917 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12918
12919 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12920 to avoid interference from inline help (Bug#5849).
12921
37f1c930
LL
129222011-04-10 Leo Liu <sdl.web@gmail.com>
12923
099c39a4
JB
12924 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12925 Fix typo.
37f1c930 12926
a32d4040
CY
129272011-04-09 Chong Yidong <cyd@stupidchicken.com>
12928
12929 * image-mode.el (image-toggle-display-image): Signal an error if
12930 not in Image mode.
12931 (image-transform-mode, image-transform-resize)
12932 (image-transform-set-rotation): Doc fix.
daca8ba5 12933 (image-transform-set-resize): Delete.
a32d4040
CY
12934 (image-transform-set-scale, image-transform-fit-to-height)
12935 (image-transform-fit-to-width): Handle image-toggle-display-image
12936 and image-transform-resize directly.
12937
099c39a4 129382011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12939
12940 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12941 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12942 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12943 (doc-view-mode-map): Add bindings for the new functions.
12944
099c39a4 129452011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12946
4d61f28d 12947 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12948 Fix typo in docstring.
12949
3726838a
EZ
129502011-04-08 Eli Zaretskii <eliz@gnu.org>
12951
04f33f1e
EZ
12952 * files.el (file-size-human-readable): Produce one digit after
12953 decimal, like "ls -lh" does.
12954
12955 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12956 the file size representation.
12957
3726838a
EZ
12958 * simple.el (list-processes): If async subprocesses are not
12959 available, error out with a clear error message.
12960
cbb59342
CY
129612011-04-08 Chong Yidong <cyd@stupidchicken.com>
12962
12963 * help.el (help-form-show): New function, to be called from C.
12964 Put help-form output in a buffer named differently than *Help*.
12965
e3971c44
EZ
129662011-04-08 Eli Zaretskii <eliz@gnu.org>
12967
12968 * files.el (file-size-human-readable): New function.
12969
12970 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12971 computing the representation inline. Don't require `cl'.
12972
12544bbe
GM
129732011-04-08 Glenn Morris <rgm@gnu.org>
12974
a1de6c6a
GM
12975 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12976
3c4671f4
GM
12977 * net/browse-url.el (browse-url-firefox):
12978 Test system-type, not system-configuration.
12979
b605679c
GM
12980 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12981 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12982 Use log-edit-empty-buffer-p. (Bug#7598)
12983
56442f0c
GM
12984 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12985 (rlogin-mode-map): Initialize in the defvar.
12986 (rlogin): Use ignore-errors.
12987
12544bbe
GM
12988 * replace.el (occur-mode-map): Some fixes for menu items.
12989
eb237b0f
AH
129902011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12991
12992 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12993
7d668f2c
CY
129942011-04-06 Chong Yidong <cyd@stupidchicken.com>
12995
e67a13ab
CY
12996 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12997 issuing unused warnings.
12998
12999 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13000 macro directly.
13001
7d668f2c
CY
13002 * simple.el: Lisp reimplement of list-processes. Based on an
13003 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13004 (process-menu-mode): New major mode.
13005 (list-processes--refresh, list-processes):
13006 (process-menu-visit-buffer): New functions.
13007
13008 * files.el (save-buffers-kill-emacs): Don't assume any return
13009 value of list-processes, which is undocumented anyway.
13010
a83ec3c9
CY
130112011-04-06 Chong Yidong <cyd@stupidchicken.com>
13012
13013 * emacs-lisp/tabulated-list.el: New file.
13014
e91a96fe
CY
13015 * emacs-lisp/package.el: Use Tabulated List mode.
13016 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13017 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13018 table format using Tabulated List mode variables.
13019 (package--push): New macro, replacing package-list-maybe-add.
13020 (package-menu--generate): Use package--push. Renamed from
13021 package--generate-package-list.
13022 (package-menu-refresh, list-packages): Use it.
daca8ba5 13023 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13024 Return insertion data instead of inserting it directly.
099c39a4
JB
13025 (package-menu-describe-package, package-menu-execute):
13026 Use tabulated-list-get-id.
e91a96fe
CY
13027 (package-menu-mark-delete, package-menu-mark-install)
13028 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13029 (package-menu-mark-obsolete-for-deletion):
13030 Use tabulated-list-put-tag.
e91a96fe
CY
13031 (package--list-packages, package-menu-revert)
13032 (package-menu-get-package, package-menu-get-version)
13033 (package-menu-sort-by-column): Functions deleted.
13034 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13035 (package-menu--status-predicate, package-menu--version-predicate)
13036 (package-menu--name-predicate)
13037 (package-menu--description-predicate): Handle arguments in the
13038 Tabulated List format.
13039 (package-list-packages-no-fetch): Call list-packages.
13040
3e214b50
JB
130412011-04-06 Juanma Barranquero <lekktu@gmail.com>
13042
13043 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13044 (after-find-file): Don't bind it.
3e214b50
JB
13045 (revert-buffer-in-progress-p): New variable.
13046 (revert-buffer): Bind it.
13047 Pass nil for `after-find-file-from-revert-buffer'.
13048
13049 * saveplace.el (save-place-find-file-hook): Use new variable
13050 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13051
3f0f1700
GM
130522011-04-06 Glenn Morris <rgm@gnu.org>
13053
c0274801
GM
13054 * Makefile.in (AUTOGEN_VCS): New variable.
13055 (autoloads): Use $AUTOGEN_VCS.
13056
3f0f1700
GM
13057 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13058 * calendar/calendar.el (calendar-mode-map):
13059 Check for toolkit scroll bars. (Bug#8305)
13060
41ea9e48
CY
130612011-04-05 Chong Yidong <cyd@stupidchicken.com>
13062
13063 * minibuffer.el (completion-in-region--postch)
13064 (completion-in-region-mode): Remove unnecessary messages.
13065
6194c800
JB
130662011-04-05 Juanma Barranquero <lekktu@gmail.com>
13067
33256f14
JB
13068 * font-lock.el (font-lock-refresh-defaults):
13069 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13070 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13071
6194c800
JB
13072 * info.el (Info-directory-list, Info-read-node-name-2)
13073 (Info-split-parameter-string): Doc fixes.
13074 (Info-virtual-nodes): Reflow docstring.
13075 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13076 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13077 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13078 Fix typos in docstrings.
13079 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13080 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13081 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13082 (Info-restore-desktop-buffer): Mark unused parameters.
13083 (Info-directory-find-file, Info-directory-find-node)
13084 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13085 (Info-virtual-index-find-node, Info-apropos-find-file)
13086 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13087 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13088 (Info-virtual-index): Remove unused local variable `nodename'.
13089
b87a8200 130902011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13091
b87a8200
DD
13092 * net/rcirc.el: Update my e-mail address.
13093 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13094
3b2ff876
CY
130952011-04-05 Chong Yidong <cyd@stupidchicken.com>
13096
13097 * startup.el (command-line): Save the cursor's theme-face
13098 directly, instead of using face-override-spec.
13099
13100 * custom.el (load-theme): Minor optimization in assigning faces.
13101
8d17e7ca
JB
131022011-04-04 Juanma Barranquero <lekktu@gmail.com>
13103
13104 * help-fns.el (describe-variable): Complete all variables having
13105 documentation, including keywords.
13106 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13107
2fbc1934
JB
131082011-04-04 Juanma Barranquero <lekktu@gmail.com>
13109
13110 Convert to lexical-binding.
13111
13112 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13113 (bs--get-marked-string, bs--get-modified-string)
13114 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13115 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13116 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13117
13118 * ehelp.el (electric-help-execute-extended)
13119 (electric-help-ctrl-x-prefix):
13120 * hexl.el (hexl-revert-buffer-function):
13121 * linum.el (linum-after-change, linum-after-scroll):
13122 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13123
13124 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13125
74f50695
DU
131262011-04-04 Daiki Ueno <ueno@unixuser.org>
13127
13128 * epa-dired.el:
13129 * epa-mail.el:
13130 * epa-hook.el:
13131 * epa-file.el:
13132 * epa.el:
13133 * epg.el: Use lexical binding.
13134
c11325f7
CY
131352011-04-03 Chong Yidong <cyd@stupidchicken.com>
13136
0d9e9a12
CY
13137 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13138
c11325f7 13139 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13140 dictionary case for flyspell-mark-duplications-exceptions.
13141 Use regexp matching for languages.
c11325f7
CY
13142 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13143 default dictionary (Bug#7926).
13144
da91b5f2
CY
131452011-04-02 Chong Yidong <cyd@stupidchicken.com>
13146
099c39a4
JB
13147 * emacs-lisp/package.el (package--with-work-buffer):
13148 Recognize https URLs.
da91b5f2 13149
099c39a4
JB
13150 * net/network-stream.el: Move from gnus/proto-stream.el.
13151 Change prefix to network-stream throughout.
da91b5f2
CY
13152 (open-protocol-stream): Merge into open-network-stream, leaving
13153 open-protocol-stream as an alias. Handle nil BUFFER args.
13154
13155 * subr.el (open-network-stream): Move to net/network-stream.el.
13156
afa8e9f6
GM
131572011-04-02 Glenn Morris <rgm@gnu.org>
13158
1d2e369d
GM
13159 * find-dired.el (find-exec-terminator): New option.
13160 (find-ls-option): Test for -ls support.
13161 (find-ls-subdir-switches): Test for -b in find-ls-option.
13162 (find-dired, find-grep-dired): Doc fixes.
13163 (find-dired): Use find-exec-terminator.
13164
8abb7da8 13165 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13166 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13167 (find-name-arg): Remove purecopy.
8abb7da8 13168
f3ca7378
GM
13169 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13170 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13171 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13172 accordingly. Don't add the null-device if not needed.
13173
afa8e9f6
GM
13174 * files.el (save-some-buffers): Doc fix.
13175
35eae264
EZ
131762011-04-02 Eli Zaretskii <eliz@gnu.org>
13177
13178 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13179
26b51db5
JB
131802011-04-01 Juanma Barranquero <lekktu@gmail.com>
13181
13182 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13183 Use `dolist' rather than `mapcar'.
13184
7200d79c
SM
131852011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13186
03408648 13187 Add lexical binding.
7200d79c 13188
03408648
SM
13189 * subr.el (apply-partially): Use new closures rather than CL.
13190 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13191 (dolist, dotimes): Use slightly different expansion for lexical code.
13192 (functionp): Move to C.
13193 (letrec): New macro.
13194 (with-wrapper-hook): Use it and apply-partially instead of CL.
13195 (eval-after-load): Preserve lexical-binding.
13196 (save-window-excursion, with-output-to-temp-buffer): Turn them
13197 into macros.
7200d79c 13198
03408648
SM
13199 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13200
13201 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13202 than the arglist.
13203 (help-add-fundoc-usage): Don't add `Not documented'.
13204 (help-function-arglist): Handle closures, subroutines, and new
13205 byte-code-functions.
13206 (help-make-usage): Remove leading underscores.
13207 (describe-function-1): Handle closures.
13208 (describe-variable): Use special-variable-p for completion.
13209
13210 * files.el (lexical-binding): Declare safe.
f488fb65 13211
03408648
SM
13212 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13213 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13214 (pcase): Add `let' pattern.
13215 Change memoization so it actually works.
13216 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13217 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13218 <let>: New case.
f488fb65 13219
03408648
SM
13220 * emacs-lisp/macroexp.el: Use lexical binding.
13221 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13222 Don't convert ' to #' without checking that it's indeed quoting
13223 a lambda.
13224
13225 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13226 Use eval-sexp-add-defvars.
03408648
SM
13227 (eval-sexp-add-defvars): New fun.
13228
13229 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13230
13231 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13232 Don't autoload.
13233 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13234 than the internal `byte-compile-lambda'.
13235 (defmethod): Don't hide code under quotes.
13236 (eieio-defmethod): New `code' argument.
13237
13238 * emacs-lisp/eieio-comp.el: Remove.
13239
13240 * emacs-lisp/edebug.el (edebug-eval-defun)
13241 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13242 (edebug-toggle): Avoid `eval'.
13243
13244 * emacs-lisp/disass.el (disassemble-internal): Handle new
13245 `closure' objects.
13246 (disassemble-1): Handle new byte codes.
13247
13248 * emacs-lisp/cl.el (pushnew): Silence warning.
13249
13250 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13251 (cl-byte-compile-throw): Remove.
13252 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13253
13254 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13255 closures.
13256
13257 * emacs-lisp/cconv.el: New file.
13258
13259 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13260 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13261 (byte-compile-initial-macro-environment):
13262 Handle declare-function here.
13263 (byte-compile--lexical-environment): New var.
13264 (byte-stack-ref, byte-stack-set, byte-discardN)
13265 (byte-discardN-preserve-tos): New lap codes.
13266 (byte-interactive-p): Don't use any more.
13267 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13268 New macros.
13269 (byte-compile-lapcode): Use them and handle new lap codes.
13270 (byte-compile-obsolete): Remove.
13271 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13272 (byte-compile-arglist-warn): Check late def of inlinable funs.
13273 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13274 since they should have been expanded by now.
13275 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13276 (byte-compile-from-buffer): Remove unused second arg.
13277 (byte-compile-preprocess): New function.
13278 (byte-compile-toplevel-file-form): New function to distinguish
13279 file-form calls from outside from file-form calls from hunk-handlers.
13280 (byte-compile-file-form): Simplify.
13281 (byte-compile-file-form-defsubst): Remove.
13282 (byte-compile-file-form-defmumble): Simplify now that
13283 byte-compile-lambda always returns a byte-code-function.
13284 (byte-compile): Preprocess.
13285 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13286 Remove, not used any more.
13287 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13288 (byte-compile-make-args-desc): New funs.
13289 (byte-compile-lambda): Handle lexical functions. Always return
13290 a byte-code-function.
13291 (byte-compile-reserved-constants): New var, to make up room for
13292 closed-over variables.
13293 (byte-compile-constants-vector): Obey it.
13294 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13295 (byte-compile-macroexpand-declare-function): New function.
13296 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13297 byte-code-functions.
13298 (byte-compile-form): Check obsolescence here.
13299 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13300 (byte-compile-variable-ref): Remove.
13301 (byte-compile-dynamic-variable-op): New fun.
13302 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13303 (byte-compile-variable-set): New funs.
13304 (byte-compile-discard): Add 2 args.
13305 (byte-compile-stack-ref, byte-compile-stack-set)
13306 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13307 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13308 macroexpand-all instead.
13309 (byte-compile-quote-form): Remove.
13310 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13311 (byte-compile-bind, byte-compile-unbind): New funs.
13312 (byte-compile-let): Handle let* and lexical binding.
13313 (byte-compile-let*): Remove.
13314 (byte-compile-catch, byte-compile-unwind-protect)
13315 (byte-compile-track-mouse, byte-compile-condition-case):
13316 Handle a new :fun-body form, used for lexical scoping.
13317 (byte-compile-save-window-excursion)
13318 (byte-compile-with-output-to-temp-buffer): Remove.
13319 (byte-compile-defun): Simplify.
13320 (byte-compile-stack-adjustment): New fun.
13321 (byte-compile-out): Use it.
13322 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13323
13324 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13325 handler any more.
13326
13327 * emacs-lisp/byte-opt.el: Use lexical binding.
13328 (byte-inline-lapcode): Remove (to bytecomp).
13329 (byte-compile-inline-expand): Pay attention to inlining to/from
13330 lexically bound code.
13331 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13332 any more.
13333 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13334 any more and don't call compiler-macros.
13335 (byte-compile-splice-in-already-compiled-code): Remove.
13336 (byte-code): Don't inline any more.
13337 (disassemble-offset): Receive `bytes' as argument rather than via
13338 dynamic scoping.
13339 (byte-compile-tag-number): Declare before first use.
13340 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13341 `return' even if make-spliceable.
13342 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13343 obsolete interactive-p.
13344 (byte-optimize-lapcode): Optimize new lap-codes.
13345 Don't trip up on new form of `byte-constant' lap code.
13346
13347 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13348
13349 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13350
13351 * custom.el (custom-initialize-default, custom-declare-variable):
13352 Use `defvar'.
13353
13354 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13355 New variables.
13356 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13357 (COMPILE_FIRST): Add macroexp and cconv.
13358 * makefile.w32-in: Mirror changes in Makefile.in.
13359
13360 * vc/cvs-status.el:
13361 * vc/diff-mode.el:
13362 * vc/log-edit.el:
13363 * vc/log-view.el:
13364 * vc/smerge-mode.el:
13365 * textmodes/bibtex-style.el:
13366 * textmodes/css.el:
13367 * startup.el:
13368 * uniquify.el:
da91b5f2
CY
13369 * minibuffer.el:
13370 * newcomment.el:
13371 * reveal.el:
13372 * server.el:
13373 * mpc.el:
13374 * emacs-lisp/smie.el:
13375 * doc-view.el:
13376 * dired.el:
03408648
SM
13377 * abbrev.el: Use lexical binding.
13378
0f0c1f27
EZ
133792011-04-01 Eli Zaretskii <eliz@gnu.org>
13380
13381 * info.el (info-display-manual): New function.
13382
c82b2579
SM
133832011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13386
221ddf68
TH
133872011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13388
13389 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13390 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13391
cba6e77e
GM
133922011-03-31 Glenn Morris <rgm@gnu.org>
13393
e040639f
GM
13394 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13395
cba6e77e
GM
13396 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13397
6d0f1c9e
CS
133982011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13399
13400 * progmodes/python.el (python-default-interpreter)
13401 (python-python-command-args, python-jython-command-args)
13402 (python-which-shell, python-which-args, python-which-bufname)
13403 (python-file-queue, python-comint-output-filter-function)
13404 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13405 variables and functions.
13406
3e2d70fd
SM
134072011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13408
13409 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13410 (completion-in-region-mode): New minor mode.
13411 (completion-in-region): Use it.
13412 (completion-in-region--data, completion-in-region-mode-map): New vars.
13413 (completion-in-region--postch): New function.
13414 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13415 New vars.
13416 (completion--capf-wrapper): New function.
13417 (completion-at-point): Use it to track well-behavedness of
13418 hook functions.
13419 (completion-help-at-point): New command.
13420
f3e4086c
JM
134212011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13422
13423 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13424 syntax class to search for whitespace on a single line
13425 (Message-ID: <4D938140.4030905@redhat.com>).
13426
eb7ffc14
LL
134272011-03-30 Leo Liu <sdl.web@gmail.com>
13428
13429 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13430 New commands.
13431 (edit-abbrevs-map): Bind them here.
13432 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13433
d806ab68
KM
134342011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13435
13436 * allout.el (allout-hide-by-annotation, allout-flag-region):
13437 Reduce possibility of overlay leakage by making them volatile.
13438
13439 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13440 hash is not shared between buffers. Mode initialization is
13441 responsible for giving it a useful starting value.
13442 (allout-item-span): Reduce possibility of overlay leakage by
13443 making them volatile.
13444 (allout-widgets-count-buttons-in-region): Add diagnostic function
13445 for tracking down button overlay leaks.
13446
ea622834
LL
134472011-03-29 Leo Liu <sdl.web@gmail.com>
13448
13449 * ido.el (ido-read-internal): Use the default history var
13450 minibuffer-history if no HISTORY is specified.
13451
b62f8267
G
134522011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13453
03408648
SM
13454 * net/imap.el (imap-shell-open, imap-process-connection-type):
13455 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13456 Kerberos, SSL, other subprocesses.
13457
947b6566
LL
134582011-03-28 Leo Liu <sdl.web@gmail.com>
13459
13460 * abbrev.el (abbrev-table-empty-p): New function.
13461 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13462 nonempty ones. (Bug#5937)
13463
5ffb62aa
JD
134642011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13465
13466 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13467
7a097943
LL
134682011-03-27 Leo Liu <sdl.web@gmail.com>
13469
13470 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13471 for foreground and background colors.
13472 (ansi-color-make-color-map): Adapt.
13473
c5b40130
LL
134742011-03-25 Leo Liu <sdl.web@gmail.com>
13475
1f48f7d2
LL
13476 * midnight.el (midnight-time-float): Remove. Note it calculates
13477 the microsecond component incorrectly and seconds-to-time does the
13478 same job.
625897ec 13479 Remove redundant (require 'timer).
1f48f7d2 13480
c5b40130
LL
13481 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13482 (ido-completions): Remove unused arguments. (Bug#8329)
13483
d86d2721
SM
134842011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13485
13486 * minibuffer.el (completion--flush-all-sorted-completions):
13487 Remove itself from hook.
13488 (completion-at-point): Let the functions perform the completion
13489 immediately and return nil or t.
13490 * comint.el (comint-dynamic-complete-functions): Now identical to
13491 completion-at-point-functions.
13492 (comint-dynamic-list-input-ring): Remove unused var `index'.
13493 (comint--match-partial-filename, comint--unquote&expand-filename):
13494 New funs, split from comint-match-partial-filename.
13495 (comint-dynamic-complete): Use completion-at-point.
13496 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13497
e8974c48
DA
134982011-03-24 Drew Adams <drew.adams@oracle.com>
13499
13500 * thingatpt.el: Support `defun'.
13501
def71b5e
LL
135022011-03-23 Leo Liu <sdl.web@gmail.com>
13503
cb5af48e
LL
13504 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13505
def71b5e
LL
13506 * help-mode.el (help-mode-finish): Tweak regexp.
13507
927c53e7
GM
135082011-03-23 Glenn Morris <rgm@gnu.org>
13509
18d05bed
GM
13510 * eshell/esh-opt.el (eshell-eval-using-options):
13511 Do not bind unused local variable `eshell-option-stub'.
13512
927c53e7
GM
13513 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13514
9d0da923
JB
135152011-03-22 Juanma Barranquero <lekktu@gmail.com>
13516
13517 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13518 keymap variable in `with-no-warnings' to avoid a warning when the
13519 keymap has been already `defconst'ed.
13520
4b978a67
LL
135212011-03-22 Leo Liu <sdl.web@gmail.com>
13522
13523 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13524 encode all chars in abbrevs; otherwise use emacs-mule or
13525 utf-8-emacs. (Bug#8308)
13526
5fd62452
JB
135272011-03-22 Juanma Barranquero <lekktu@gmail.com>
13528
0b1596c6
JB
13529 * simple.el (backward-delete-char-untabify):
13530 Avoid warning about using `delete-backward-char'.
13531
5fd62452
JB
13532 * image.el (image-type-file-name-regexps): Make it variable.
13533 `imagemagick-register-types' modifies it, and the user may want
13534 to add new extensions for known image types.
13535 (imagemagick-register-types): Throw error if not using ImageMagick.
13536
0b4e93f1
LL
135372011-03-22 Leo Liu <sdl.web@gmail.com>
13538
13539 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13540 located before rcirc-prompt-end-marker.
13541 (rcirc-complete): Error if point is not after rcirc prompt.
13542 Handle the case when table is nil.
9882e214 13543 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13544
fccee4ab
CY
135452011-03-22 Chong Yidong <cyd@stupidchicken.com>
13546
13547 * custom.el (custom--inhibit-theme-enable): Make it affect only
13548 custom-theme-set-variables and custom-theme-set-faces.
13549 (provide-theme): Ignore custom--inhibit-theme-enable.
13550 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13551 (custom-enabling-themes): Delete variable.
d86d2721
SM
13552 (enable-theme): Accept only loaded themes as arguments.
13553 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13554 (custom-enabled-themes): Forbid themes from setting this.
13555 Eliminate use of custom-enabling-themes.
13556 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13557
af896da6
LL
135582011-03-21 Leo Liu <sdl.web@gmail.com>
13559
13560 * ido.el (ido-read-internal): Add ido-selected to history instead
13561 of user input.
13562
78f64af0
SM
135632011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13564
13565 * subr.el (deferred-action-list, deferred-action-function):
13566 Mark obsolete.
13567
b16ac1ec
LL
135682011-03-21 Leo Liu <sdl.web@gmail.com>
13569
810f7698
LL
13570 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13571 change on 2011-02-13 (bug#8309).
13572
b16ac1ec
LL
13573 * minibuffer.el (read-file-name-function): Change default value.
13574 (read-file-name--defaults): Rename from read-file-name-defaults.
13575 (read-file-name-default): Rename from read-file-name.
13576 (read-file-name): Call read-file-name-function.
13577
4e05e67e
GM
135782011-03-21 Glenn Morris <rgm@gnu.org>
13579
13580 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13581 Doc fixes.
13582
4359915b
CY
135832011-03-21 Chong Yidong <cyd@stupidchicken.com>
13584
13585 * cus-theme.el: Add missing provide statement.
13586 (customize-create-theme): Extract theme value correctly.
13587 (custom-theme-visit-theme): Autoload.
13588 (customize-create-theme): Prompt before inserting default faces.
13589
1fe275ee
JB
135902011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13591
13592 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13593 units and musical notes.
13594
cd394be1 135952011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13596
13597 * ido.el (ido-read-internal): Use completing-read-default.
13598 (ido-completing-read): Fix compatibility with completing-read.
13599
7d476bde
CO
136002011-03-20 Christian Ohler <ohler@gnu.org>
13601
13602 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13603 (ert-delete-all-tests): Use `called-interactively-p' rather than
13604 `interactive-p'.
13605 (ert--make-xrefs-region): Respect END.
13606
fe0fb33e
CY
136072011-03-19 Chong Yidong <cyd@stupidchicken.com>
13608
ff854b0b
CY
13609 * dired-aux.el (dired-create-directory): Signal an error if the
13610 directory already exists (Bug#8246).
13611
fe0fb33e
CY
13612 * facemenu.el (list-colors-display): Call list-faces-display
13613 inside with-help-window.
13614 (list-colors-print): Use display property to align the final
13615 column, instead of checking window-width.
13616
576bce32
EZ
136172011-03-19 Eli Zaretskii <eliz@gnu.org>
13618
4d61f28d 13619 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13620 windows-nt systems.
13621 (emerge-protect-metachars): Quote correctly for ms-dos and
13622 windows-nt systems.
13623
89c41d68 136242011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13625
13626 * info.el (info-initialize): Replace all uses of `:' with
13627 path-separator for compatibility with non-Unix systems.
13628 Cache quoting of path-separator. (Bug#8258)
13629
b14e3e21 136302011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13631
13632 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13633 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13634 (mouse-avoidance-mode): Fix typos in docstrings.
13635
4525ce3e
CY
136362011-03-19 Chong Yidong <cyd@stupidchicken.com>
13637
13638 * startup.el (package-subdirectory-regexp): Move from package.el.
13639 Omit \\` and \\', and let callers add them.
13640
13641 * emacs-lisp/package.el (package-strip-version)
13642 (package-load-all-descriptors): Add \\` and \\' to
13643 package-subdirectory-regexp before using it.
13644 (package-untar-buffer): New arg DIR; ensure that file untars only
13645 into this expected directory. Remove superfluous delete-region.
13646 (package-unpack): Caller changed.
13647 (package-tar-file-info): Use package-subdirectory-regexp.
13648
a904a09a 136492011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13650
a904a09a
SM
13651 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13652 diff-mode-shared-map (bug#8284).
13653 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13654
136552011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13656
13657 * calendar/time-date.el (format-seconds): Use assoc instead of
13658 assoc-string, since assoc-string doesn't exist in XEmacs.
13659
171fc304
JB
136602011-03-17 Juanma Barranquero <lekktu@gmail.com>
13661
13662 * custom.el (custom-known-themes): Reflow docstring.
13663 (custom-theme-load-path): Fix typo in docstring.
13664 (load-theme): Fix typo in error message.
13665 (custom-available-themes, custom-variable-theme-value):
13666 Use `let', not `let*'.
13667
d71990a1
JB
136682011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13669
13670 * calc/README: Mention inclusion of musical notes.
13671
13672 * calc/calc-units.el (calc-lu-quant): Rename from
13673 `calc-logunits-quantity'.
13674 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13675 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13676 (calc-db): Rename from `calc-dblevel'.
13677 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13678 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13679 (calc-np): Rename from `calc-nplevel'.
13680 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13681 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13682 (calc-lu-plus): Rename from `calc-logunits-add'.
13683 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13684 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13685 (calc-lu-minus): Rename from `calc-logunits-sub'.
13686 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13687 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13688 (calc-lu-times): Rename from `calc-logunits-mul'.
13689 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13690 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13691 (calc-lu-divide): Rename from `calc-logunits-div'.
13692 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13693 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13694
13695 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13696 functions being autoloaded.
13697
13698 * calc/calc.el (calc-lu-power-reference): Rename from
13699 `calc-logunits-power-reference'.
13700 (calc-lu-field-reference): Rename from
13701 `calc-logunits-field-reference'.
13702
7a71b18d
GM
13703 * calc/calc-help.el (calc-l-prefix-help):
13704 Mention musical note functions.
d71990a1 13705
40c2934b
SM
137062011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * minibuffer.el (completion-all-sorted-completions):
13709 Use :completion-cycle-penalty text property if present.
13710
b0911414
KM
137112011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13712
13713 * allout.el (allout-yank-processing): Adjust for new rebulleting
13714 regime so bullet being yanked is used without prompting the user
13715 for a choice.
13716
8a05b668
JB
137172011-03-16 Juanma Barranquero <lekktu@gmail.com>
13718
13719 * startup.el (command-line): Warn the user that _emacs is deprecated.
13720
5ba5fb81
JB
137212011-03-16 Juanma Barranquero <lekktu@gmail.com>
13722
13723 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13724 (delphi-verbose, delphi-comment-face, delphi-string-face)
13725 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13726 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13727 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13728 (delphi-new-comment-line, delphi-font-lock-defaults)
13729 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13730 Fix typos in docstrings.
13731
2dab465b
KM
137322011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13733
5ba5fb81 13734 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13735 Invert the roles of character and string values for INSTEAD, so a
13736 string is used for the more common case of a defaulting prompt.
13737
0adf5618
SM
137382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * progmodes/ruby-mode.el (ruby-backward-sexp):
13741 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13742 * play/gamegrid.el (gamegrid-make-face):
13743 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13744 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13745 * notifications.el (notifications-notify):
13746 * net/xesam.el (xesam-search-engines):
13747 * net/quickurl.el (quickurl-list-insert):
13748 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13749
d72700e5
CY
137502011-03-15 Chong Yidong <cyd@stupidchicken.com>
13751
13752 * startup.el (command-line): Update package subdirectory regexp.
13753
49c5410a
SM
137542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13755
c6eee9aa
SM
13756 * allout.el (allout-abbreviate-flattened-numbering)
13757 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13758
49c5410a
SM
13759 * subr.el (read-char-choice): Only show the cursor after the prompt,
13760 not after the answer.
13761
047b2bb9
KR
137622011-03-15 Kevin Ryde <user42@zip.com.au>
13763
13764 * help-fns.el (variable-at-point): Skip leading quotes, if any
13765 (bug#8253).
13766
0a57d256
SM
137672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13770 warning message.
13771
77c992bc
MA
137722011-03-14 Michael Albinus <michael.albinus@gmx.de>
13773
13774 * shell.el (shell): When called interactively, offer to change the
13775 shell file name on remote hosts.
13776
eebc475d
TZ
137772011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13778
13779 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13780 integration for LDAP parameters. The host, base, user or binddn,
13781 and secret tokens can be specified in a netrc file, for instance.
13782 This is optional because an `auth-source' parameter must be
13783 specified in the search attributes.
13784
9d05d1ba
JB
137852011-03-13 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13788
09d9db2c
GM
137892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13792 into declaration. Remove redundant and harmful binding.
13793
137942011-03-12 Eli Zaretskii <eliz@gnu.org>
13795
13796 * files.el (file-ownership-preserved-p): Pass `integer' as an
13797 explicit 2nd argument to `file-attributes'. If the file's owner
13798 is the Administrators group on Windows, and the current user is
13799 Administrator, consider that a match.
13800
13801 * server.el (server-ensure-safe-dir): Consider server directory
13802 safe on MS-Windows if its owner is the Administrators group while
13803 the current Emacs user is Administrator. Use `=' to compare
13804 numerical UIDs, since they could be integers or floats.
13805
219bd536
JB
138062011-03-12 Juanma Barranquero <lekktu@gmail.com>
13807
13808 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13809
f3afd36b
MA
138102011-03-12 Michael Albinus <michael.albinus@gmx.de>
13811
13812 Sync with Tramp 2.2.1.
13813
13814 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13815
13816 * net/trampver.el: Update release number.
13817
3aaaa6f1
SM
138182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13819
94642599
SM
13820 * progmodes/compile.el (compilation--previous-directory): Fix up
13821 various nil/dead-marker mismatches (bug#8014).
13822 (compilation-directory-properties, compilation-error-properties):
13823 Don't call it at a position past the one we're about to change.
13824
3aaaa6f1
SM
13825 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13826 Disable obsolescence warnings in the file that declares it.
13827
14239447
KM
138282011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13829
099c39a4
JB
13830 * allout-widgets.el (allout-widgets-tally):
13831 Initialize allout-widgets-tally as a hash table rather than nil to
13832 prevent mode-line redisplay warnings. Also, clarify the module
13833 description and fix a comment typo.
14239447 13834
135e287c
JB
138352011-03-11 Juanma Barranquero <lekktu@gmail.com>
13836
13837 * help-fns.el (describe-variable): Don't complete keywords.
13838 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13839
ffbf300e
CY
138402011-03-10 Chong Yidong <cyd@stupidchicken.com>
13841
ba08b241
CY
13842 * emacs-lisp/package.el (package-version-join): Impose a standard
13843 string representation for pre/alpha/beta version lists.
13844 (package-unpack-single): Standardize the directory name by passing
13845 it through package-version-join.
13846 (package-strip-rcs-id): Accept any version string that does not
13847 signal an error in version-to-list.
ffbf300e 13848
f346fd6b
MA
138492011-03-10 Michael Albinus <michael.albinus@gmx.de>
13850
13851 * simple.el (delete-trailing-whitespace): Return nil for the
13852 benefit of `write-file-functions'.
13853
ccb55d27
GM
138542011-03-10 Glenn Morris <rgm@gnu.org>
13855
5ceaac0c
GM
13856 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13857
02da65ff
GM
13858 * vc/vc-git.el (vc-git-program): New option.
13859 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13860 (vc-git--call): Use it.
13861
b2f603cc
GM
13862 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13863
5772caab
GM
13864 * cus-edit.el (Custom-newline): If no button at point, look
13865 for a subgroup button at start-of-line. (Bug#2298)
13866
ccb55d27
GM
13867 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13868
ec6ecaed
JD
138692011-03-10 Julien Danjou <julien@danjou.info>
13870
13871 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13872 `cursor-type' is nil.
13873
9d5aa01d
JB
138742011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13875
13876 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13877
b6a5875b
KM
138782011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13879
7a71b18d 13880 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13881 preserves the existing header prefix, rebulleting it if necessary,
13882 rather than replacing it. This is necessary for proper operation
13883 of cooperative addons like allout-widgets.
1154d12e
JB
13884 (allout-make-topic-prefix, allout-rebullet-heading):
13885 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13886 value as alternate bullet to be used, instead of prompting the user
13887 for a bullet character.
b6a5875b 13888
ee545c35
MA
138892011-03-09 Michael Albinus <michael.albinus@gmx.de>
13890
d86d2721
SM
13891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13892 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13893 `tramp-default-port'.
13894
c47971d7
DD
138952011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13896
13897 * net/rcirc.el (rcirc-handler-001): Remove useless
13898 with-rcirc-process-buffer.
13899 (rcirc-check-auth-status): Swap arguments to string-match.
13900
13522cb4
GM
139012011-03-09 Glenn Morris <rgm@gnu.org>
13902
0be6f4f1
GM
13903 * shell.el (shell-mode):
13904 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13905
13522cb4
GM
13906 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13907 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13908
515de2e3
CY
139092011-03-08 Chong Yidong <cyd@stupidchicken.com>
13910
13911 * emacs-lisp/package.el (package-refresh-contents)
13912 (package-menu-execute): Use condition-case-no-debug.
13913
b511b994
MA
139142011-03-08 Michael Albinus <michael.albinus@gmx.de>
13915
13916 * simple.el (shell-command-to-string): Use `process-file'.
13917
13918 * emacs-lisp/package.el (package-tar-file-info): Handle also
13919 remote files.
13920
d86d2721
SM
13921 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13922 Use `equal' for upload base check.
b511b994 13923
25bbfb31
AM
139242011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13925
13926 * textmodes/texinfo.el (texinfo-environments):
13927 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13928
be996521
GM
139292011-03-08 Glenn Morris <rgm@gnu.org>
13930
e9c8529f
GM
13931 * cus-start.el (cursor-in-non-selected-windows):
13932 Fix :set quoting oddness. (Bug#8192)
13933
be996521
GM
13934 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13935 in some setf expressions. (Bug#2159)
13936
2bb5649e
CY
139372011-03-08 Chong Yidong <cyd@stupidchicken.com>
13938
13939 * custom.el (custom-available-themes): Return themes in
13940 alphabetical order.
13941
33383987 13942See ChangeLog.15 for earlier changes.
e3d51b27
MR
13943
13944;; Local Variables:
13945;; coding: utf-8
e3d51b27
MR
13946;; End:
13947
acaf905b 13948 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13949
13950 This file is part of GNU Emacs.
13951
13952 GNU Emacs is free software: you can redistribute it and/or modify
13953 it under the terms of the GNU General Public License as published by
13954 the Free Software Foundation, either version 3 of the License, or
13955 (at your option) any later version.
13956
13957 GNU Emacs is distributed in the hope that it will be useful,
13958 but WITHOUT ANY WARRANTY; without even the implied warranty of
13959 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13960 GNU General Public License for more details.
13961
13962 You should have received a copy of the GNU General Public License
13963 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.