Get rid of compiler warnings on Cygwin.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3858bfe7
SM
12012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5
d14b0029
JB
62012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7
8 * calc/calc.el (calc-ensure-consistent-units): New variable.
9
10 * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
11 New functions.
12 (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
13 `calc-ensure-consistent-units' is non-nil.
14 (calc-extract-units): Fix typo.
15
60c4db3a
SM
162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
17
77f3b62e
SM
18 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
19
60c4db3a
SM
20 * textmodes/flyspell.el: Commenting style, plus code simplifications.
21 (flyspell-default-deplacement-commands): Don't spell check after
22 repeated window/frame switches (e.g. triggered by mouse-movement).
23 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
24 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
25 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
26 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
27 Remove unused vars.
28 (flyspell-get-casechars, flyspell-get-not-casechars):
29 Simplify; Don't bother removing a ] just to add it back.
30 * textmodes/ispell.el (ispell-program-name): Use executable-find.
31
b1a10716
RS
322012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
33
34 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
35 New functions.
36 (math-function-table): Add support for more C functions.
37
3f1b25b5
AM
382012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
39
40 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
41 (flyspell-debug-signal-word-checked): Protect delay handling for
42 otherchars against empty otherchars.
43
b581bb5c
SM
442012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
47 their respective macro declarations.
48 * skeleton.el (define-skeleton):
49 * progmodes/compile.el (define-compilation-mode):
50 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
51 (define-ibuffer-filter):
52 * emacs-lisp/generic.el (define-generic-mode):
53 * emacs-lisp/easy-mmode.el (define-minor-mode)
54 (define-globalized-minor-mode):
55 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
56 * emacs-lisp/byte-run.el (defsubst):
57 * custom.el (deftheme): Add doc-string metadata.
58
70b8ef8f
SM
592012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
62
b1198e17
SM
632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
64
9abdc45d
SM
65 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
66
b1198e17
SM
67 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
68 * emacs-lisp/cl-macs.el: Idem.
69 * emacs-lisp/cl-specs.el: Remove.
70
4735906a
SM
712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 Minor renaming of internal CL functions and variables.
74 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
75 (cl--position): Rename from cl-position.
76 (cl--delete-duplicates): Rename from cl-delete-duplicates.
77 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
78 (cl--random-state): Rename from *random-state*.
79
ac348012
SM
802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
83 parens around the arg list (bug#11499).
84
a0a79cde
JL
852012-05-17 Juri Linkov <juri@jurta.org>
86
87 * isearch.el (word-search-regexp, word-search-backward)
88 (word-search-forward, word-search-backward-lax)
89 (word-search-forward-lax): Move functions from search.c
90 (bug#10145, bug#11381).
91
65034a51
AM
922012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
93
94 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
95 (flyspell-debug-signal-word-checked): Delay for otherchars as for
96 normal word components.
97
1a72a195
SM
982012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * minibuffer.el (completion--sifn-requote): Fix last change.
101 (minibuffer-local-must-match-filename-map):
102 Move define-obsolete-variable-alias before its var.
103
fdb058c2
SM
1042012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
105
c41045e6
SM
106 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
107
036dfb8b
SM
108 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
109 behavior.
110 (completion--string-equal-p): New function.
111 (completion--twq-all): Use it to get better assertion failure data.
112
2473256d
SM
113 Only handle ".." and '..' quoting in shell-mode (bug#11466).
114 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
115 (shell--requote-argument): New functions.
116 (shell-completion-vars): Use them.
117 (shell--parse-pcomplete-arguments): Rename from
118 shell-parse-pcomplete-arguments.
119 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
120 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
121 Obey comint-file-name-quote-list.
122
fdb058c2
SM
123 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
124 (smie-indent-keyword): Use it.
125
51fa99f1
SM
1262012-05-14 Stefan Merten <smerten@oekonux.de>
127
128 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
129
e18afed7 1302012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
131
132 * net/rlogin.el (rlogin-mode-map): Fix last change.
133
e18afed7 1342012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
135
136 * mail/smtpmail.el (smtpmail-send-command): Send the command and
137 the following \r\n using a single `process-send-string', since the
138 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 139 with two `process-send-string's (Bug#11444).
8633b1f4 140
e18afed7 1412012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 142
fdb058c2
SM
143 * shell.el (shell-parse-pcomplete-arguments):
144 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 145
2d21d7f6
WJ
1462012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
147
e18afed7 148 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
149 (image-transform-scale, image-transform-right-angle-fudge): New vars.
150 (image-transform-width, image-transform-fit-width): New functions.
151 (image-transform-properties): Use them.
152 (image-transform-check-size): New function.
153 (image-toggle-display-image): Use it (for testing).
154 (image-transform-set-rotation): Reduce angle mod 360.
155 Delete obsolete comment.
156
7102e6d0
WJ
1572012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
158
159 * image-mode.el: Fix scaling (bug#11399).
160 (image-transform-resize): Doc fix.
161 (image-transform-properties): Default scale is 1 and height should
162 be an integer.
163
06bc5e6e
SM
1642012-05-13 Johan Bockgård <bojohan@gnu.org>
165
166 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
167 than hard-coding `car', to fix misbehavior when moving forward.
168
0ae03b6a
CY
1692012-05-13 Chong Yidong <cyd@gnu.org>
170
171 * emacs-lisp/tabulated-list.el (tabulated-list-format)
172 (tabulated-list-entries, tabulated-list-padding)
173 (tabulated-list-sort-key): Make permanent-local.
174
175 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
176 (electric-buffer-list): Put electric buffer menu
177 command descriptions in this docstring, instead of the docstring
178 of electric-buffer-menu-mode. Code cleanups.
179 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
180 Electric-buffer-menu-mode.
181 (electric-buffer-update-highlight): Minor code cleanup.
182
205a7391
MA
1832012-05-13 Michael Albinus <michael.albinus@gmx.de>
184
185 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
186 (Bug#11447)
187
e5bd0a28
SM
1882012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 Move define-obsolete-variable-alias before the var's definition.
191 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
192 * tooltip.el (tooltip-hook):
193 * textmodes/reftex-toc.el (reftex-toc-map):
194 * textmodes/reftex-sel.el (reftex-select-label-map)
195 (reftex-select-bib-map):
196 * textmodes/reftex-index.el (reftex-index-map)
197 (reftex-index-phrases-map):
198 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
199 * progmodes/meta-mode.el (meta-mode-map):
200 * novice.el (disabled-command-hook):
201 * loadhist.el (unload-hook-features-list):
202 * frame.el (blink-cursor):
203 * files.el (find-file-not-found-hooks, write-file-hooks)
204 (write-contents-hooks):
205 * emulation/tpu-edt.el (GOLD-map):
206 * emacs-lock.el (emacs-lock-from-exiting):
207 * emacs-lisp/generic.el (generic-font-lock-defaults):
208 * emacs-lisp/chart.el (chart-map):
209 * dos-fns.el (register-name-alist):
210 * dired-x.el (dired-omit-files-p):
211 * desktop.el (desktop-enable):
212 * cus-edit.el (custom-mode-hook):
213 * buff-menu.el (buffer-menu-mode-hook):
214 * bookmark.el (bookmark-read-annotation-text-func)
215 (bookmark-exit-hooks):
216 * allout.el (allout-mode-deactivate-hook)
217 (allout-exposure-change-hook, allout-structure-added-hook)
218 (allout-structure-deleted-hook, allout-structure-shifted-hook):
219 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
220 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
221 comes before the corresponding variable's definition.
222
ac59c2f6
CY
2232012-05-12 Chong Yidong <cyd@gnu.org>
224
225 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
226 (Buffer-menu-mouse-select): Restore function (Bug#11459).
227 (Buffer-menu-mode-map): Bind it.
228 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 229
dee6c9a3
SM
2302012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
231
2171cea5
SM
232 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
233 (prolog-upper-case-string, prolog-lower-case-string)
234 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
235 (prolog-use-smie, prolog-smie-grammar): New vars.
236 (prolog-smie-forward-token, prolog-smie-backward-token)
237 (prolog-smie-rules): New funs.
238 (prolog-comment-indent): Remove.
239 (prolog-mode-variables): Use default comment indentation instead.
240 Setup SMIE.
241 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
242 (prolog-mode): Don't call them any more.
243 (prolog-electric-colon, prolog-electric-dash)
244 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
245
aa0382bd
SM
246 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
247
dbacb4bd
SM
248 * minibuffer.el (completion--twq-all): Again, allow case differences.
249
13bdd94c
SM
250 * term.el: Move keymap initialization code to be more idiomatic.
251 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
252 (term-terminal-menu): Move initialization into declaration.
253 (term-escape-char): Let the user set it in her .emacs.
254
ff46c759
SM
255 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
256 Provide SMIE-based indentation (not enabled by default yet).
257 (sh-mode-map): Don't bind electric keys.
258 Use electric-pair-mode instead of skeleton-pair.
259 (sh-assignment-regexp): Fit within 80 columns.
260 (sh-indent-supported): Specify actual shell name instead of boolean.
261 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
262 (sh-maybe-here-document): Use it. Make obsolete.
263 (sh-electric-here-document-mode) New minor mode.
264 (sh-mode): Use it. Don't set sh-indent-supported-here here.
265 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
266 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
267 (sh-smie-rc-grammar, sh-use-smie): New vars.
268 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
269 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
270 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
271 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
272 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
273 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
274 (sh-set-shell): Use smie-setup if requested.
275
dee6c9a3
SM
276 * term.el (term-set-escape-char): Properly set term-escape-char.
277 See http://stackoverflow.com/questions/10524656.
278
9f9aa044
CY
2792012-05-10 Chong Yidong <cyd@gnu.org>
280
281 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
282 Use url-generic-parse-url, and handle host names and Windows
283 filenames properly.
284 (ffap-url-unwrap-remote): Use url-generic-parse-url.
285 (ffap-url-unwrap-remote): Accept list values, specifying a list of
286 URL schemes to work on.
287 (ffap--toggle-read-only): New function.
288 (ffap-read-only, ffap-read-only-other-window)
289 (ffap-read-only-other-frame): Use it.
290 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
291 necessary for ffap-url-unwrap-remote.
292
836d29b3
DA
2932012-05-10 Dave Abrahams <dave@boostpro.com>
294
295 * cus-start.el (create-lockfiles): Add it.
296
00fd78ed
CY
2972012-05-09 Chong Yidong <cyd@gnu.org>
298
299 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
300 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
301
666b903b 3022012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
303
304 * shell.el (shell-completion-vars): Fix last change (bug#11348).
305
666b903b 3062012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
307
308 * ansi-color.el (ansi-color-process-output): Check for validity of
309 comint-last-output-start before using it. This avoids a bad
310 interaction with gdb-mi's input/output buffer.
311
666b903b 3122012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
313
314 * files.el (dir-locals-read-from-file):
315 Mention dir-locals in any error message.
316
666b903b 3172012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
318
319 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
320 package (Bug#11410).
321
f677562b
CY
322 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
323 variables into description.
324
666b903b 3252012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
326
327 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
328 shell-delimiter-argument-list (bug#11348).
329 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
330
b499d8d0
JB
3312012-05-09 Juanma Barranquero <lekktu@gmail.com>
332
8f6b6da8
JB
333 * textmodes/rst.el: Silence byte-compiler warnings.
334 (rst-re-alist, rst-reset-section-caches): Move around.
335 (rst-re): Use `characterp', not `char-valid-p'.
336 (font-lock-beg, font-lock-end): Declare.
337
4824146a
JB
338 * progmodes/idlw-shell.el (specs): Remove reference to deleted
339 variable `idlwave-shell-activate-alt-keybindings' and simplify.
340
b499d8d0
JB
341 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
342
ad89bb83
GM
3432012-05-08 Glenn Morris <rgm@gnu.org>
344
345 * files.el (auto-mode-alist): Treat ".make" like ".mk".
346
8bba5a75
SM
3472012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
348
49ed9c8e
SM
349 * vc/log-edit.el: Add GNU coding standards highlighting.
350 (log-edit-font-lock-gnu-style)
351 (log-edit-font-lock-gnu-keywords): New vars.
352 (log-edit-font-lock-keywords): New fun.
353 (log-edit-mode): Don't fold case in font-lock.
354 (log-edit-font-lock-keywords): Do not assume case-folding.
355
07d00b56
SM
356 * imenu.el: Misc cleanup. Make docstrings out of comments.
357 Use lexical-binding.
358 (imenu--index-alist, imenu--last-menubar-index-alist)
359 (imenu-menubar-modified-tick): Use defvar-local.
360 (imenu--split-menu): Remove unused var.
361 (imenu--cleanup-seen): Declare as global.
362 (imenu--cleanup): Use dolist.
363
8bba5a75
SM
364 * subr.el (defvar-local): Add debug spec and doc-string position.
365
5075bdb5
GM
3662012-05-08 Glenn Morris <rgm@gnu.org>
367
c052c904
GM
368 * lisp/language/burmese.el, language/cham.el, language/czech.el:
369 * language/english.el, language/georgian.el, language/greek.el:
370 * language/japanese.el, language/khmer.el, language/korean.el:
371 * language/lao.el, language/misc-lang.el, language/romanian.el:
372 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
373 * language/thai.el, language/utf-8-lang.el:
374 Remove no-byte-compile setting.
375
5075bdb5
GM
376 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
377
06f679a7
AH
3782012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
379
380 * progmodes/make-mode.el (makefile-browse):
381 Remove unnecessary interactive. (Bug#11324)
382
03794570
GM
3832012-05-07 Glenn Morris <rgm@gnu.org>
384
af8630f4
GM
385 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
386
03794570
GM
387 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
388
f0809a9d
SM
3892012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
390
28be5ce7
SM
391 * loadup.el: Preload newcomment.el.
392 * newcomment.el: Move autoload-only code to toplevel.
393
f0809a9d
SM
394 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
395 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
396 Handle new :right-align column property.
397 (tabulated-list-print-col): Idem, plus use `display' text-property to
398 try and preserve alignment for variable pitch fonts.
399
1241b724
CY
4002012-05-07 Chong Yidong <cyd@gnu.org>
401
402 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
403 (tabulated-list-use-header-line): New var.
404 (tabulated-list-init-header): Use it.
405 (tabulated-list-print-fake-header): New function.
406 (tabulated-list-print): Use it.
407 (tabulated-list-sort-button-map): Add non-header-line commands.
408 (tabulated-list-init-header): Add column name property to basic
409 labels as well.
410 (tabulated-list-col-sort): Handle non-header-line button case.
411 (tabulated-list--sort-by-column-name): Fix a corner case.
412
f0809a9d
SM
413 * buff-menu.el (list-buffers--refresh):
414 Handle Buffer-menu-use-header-line.
1241b724 415
e5f9458f
CY
4162012-05-06 Chong Yidong <cyd@gnu.org>
417
418 * buff-menu.el: Convert to Tabulated List mode.
419 (Buffer-menu-buffer+size-width): Make obsolete.
420 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
421 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
422 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
423 documentation into docstring of buffer-menu.
424 (Buffer-menu-toggle-files-only): Add an informative message.
425 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
426 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
427 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
428 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
429 (Buffer-menu-execute, Buffer-menu-select)
430 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
431 (Buffer-menu-bury): Use Tabulated List machinery.
432 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
433 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 434 Delete.
e5f9458f
CY
435 (list-buffers--refresh): New function.
436 (list-buffers-noselect): Use it.
437 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
438 (Buffer-menu--pretty-file-name): New helper functions.
439
440 * loadup.el: Preload tabulated-list.
441
442 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
443 tabulated-list-sort-column.
444 (tabulated-list-init-header): Add the initial aligning space even
445 if tabulated-list-padding is zero.
446
e129292c
CS
4472012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
448
449 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
450 whose cdr is not a cons cell correctly (bug#11038).
451
6632d361
CY
4522012-05-06 Chong Yidong <cyd@gnu.org>
453
e129292c
CS
454 * emacs-lisp/tabulated-list.el (tabulated-list-format):
455 Accept additional plist in column descriptors.
6632d361
CY
456 (tabulated-list-init-header): Obey it.
457 (tabulated-list-get-entry): New function.
458 (tabulated-list-put-tag): Use it. Use string-width instead of
459 length.
460 (tabulated-list--column-number): New function.
461 (tabulated-list-print): Use it.
e129292c
CS
462 (tabulated-list-print-col): New function.
463 Set `tabulated-list-column-name' property on each column's text.
6632d361 464 (tabulated-list-print-entry): Use it.
e129292c
CS
465 (tabulated-list-delete-entry, tabulated-list-set-col):
466 New functions.
6632d361
CY
467 (tabulated-list-sort-column): New command (Bug#11337).
468
3cc99f68
CY
469 * buff-menu.el (list-buffers): Move C-x C-b binding from
470 buff-menu.el to bindings.el.
471
472 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
473 :advertised-binding feature.
474
52b61776
TN
4752012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
476
477 * progmodes/compile.el (compilation-internal-error-properties):
478 Calculate start position correctly when end-col is set but
479 end-line is not (Bug#11382).
480
ebfe2597
WJ
4812012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
482
483 * man.el (Man-unindent): Use text-property-default-nonsticky to
484 prevent untabify from inheriting face properties (Bug#11408).
485
a43f98b3
GM
4862012-05-05 Glenn Morris <rgm@gnu.org>
487
48176e8b
GM
488 * calendar/cal-html.el: Optionally include holidays in the output.
489 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
490 (cal-html-holidays): New option.
491 (cal-html-css-default): Add holiday entry.
492 (holiday-in-range): Autoload it.
493 (cal-html-htmlify-entry): Add optional class argument.
494 (cal-html-htmlify-list): Add optional holidays argument.
495 (cal-html-insert-agenda-days): Include holidays in the output.
496 (cal-html-one-month): Maybe include holidays.
497
a43f98b3
GM
498 * calendar/holidays.el (holiday-in-range):
499 Move here from cal-tex-list-holidays.
500 * calendar/cal-tex.el (cal-tex-list-holidays):
501 Make it an obsolete alias for holiday-in-range. Update all callers.
502
fef9d149 5032012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
504
505 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
506 Nextstep.
507
248da2f4
RW
5082012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
509
510 * files.el (file-auto-mode-skip): New var.
511 (set-auto-mode-1): Use it.
512
f95e9344
SM
5132012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
514
df96ab1e
SM
515 * repeat.el: Use lexical-binding.
516 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
517 (repeat-undo-count): Remove.
518 (repeat):
519 * progmodes/octave-mod.el (octave-abbrev-start):
520 * progmodes/f90.el (f90-abbrev-start):
521 * face-remap.el (text-scale-adjust):
522 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
523
5342bb06
SM
524 * emacs-lisp/pcase.el (pcase--let*): New function.
525 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
526 a bit more.
527 (pcase--split-pred): Be more clever about ruling out overlap between
528 a predicate and some constant pattern.
529 (pcase--q1): Use `null' instead of (eq foo nil).
530
f95e9344
SM
531 * subr.el (setq-local, defvar-local): New macros.
532 (kbd): Redefine as an alias.
533 (with-selected-window): Leave unrelated frames alone.
534 (set-temporary-overlay-map): New function.
535
71873e2b
SM
5362012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * subr.el (user-error): New function.
539 * window.el (switch-to-buffer):
540 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
541 (smerge-match-conflict):
542 * simple.el (previous-matching-history-element)
543 (next-matching-history-element, goto-history-element, undo-more)
544 (undo-start):
545 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
546 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
547 (next-file, tags-loop-scan, list-tags, complete-tag):
548 * progmodes/compile.el (compilation-loop):
549 * mouse.el (mouse-minibuffer-check):
550 * man.el (Man-bgproc-sentinel, Man-goto-page):
551 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
552 (Info-history-forward, Info-follow-reference, Info-menu)
553 (Info-extract-menu-item, Info-extract-menu-counting)
554 (Info-forward-node, Info-backward-node, Info-next-menu-item)
555 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
556 (Info-next-reference, Info-prev-reference, Info-index)
557 (Info-index-next, Info-follow-nearest-node)
558 (Info-copy-current-node-name):
559 * imenu.el (imenu--make-index-alist)
560 (imenu-default-create-index-function, imenu-add-to-menubar):
561 * files.el (basic-save-buffer, recover-file):
562 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
563 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
564 (checkdoc-message-text, checkdoc-defun):
565 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
566 * cus-edit.el (customize-changed-options, customize-rogue)
567 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
568 (custom-variable-mark-to-reset-standard)
569 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
570 (custom-file):
571 * completion.el (check-completion-length):
572 * comint.el (comint-search-arg)
573 (comint-previous-matching-input-string-position)
574 (comint-previous-matching-input)
575 (comint-replace-by-expanded-history-before-point, comint-send-input)
576 (comint-copy-old-input, comint-backward-matching-input)
577 (comint-goto-process-mark, comint-set-process-mark):
578 * calendar/calendar.el (calendar-cursor-to-date): Use it.
579 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
580
8a61ee22
SM
5812012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
582
66408d1e
SM
583 * dabbrev.el (dabbrev--ignore-case-p): New function.
584 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
585 Use it.
586
8a61ee22
SM
587 * files.el (automount-dir-prefix): Mark as obsolete.
588
3c74813a
GM
5892012-05-04 Glenn Morris <rgm@gnu.org>
590
591 * patcomp.el, play/bruce.el: Move to obsolete/.
592
0bfcf5c5
PE
5932012-05-04 Paul Eggert <eggert@cs.ucla.edu>
594
595 Fix minor Y10k bugs.
596 * arc-mode.el (archive-unixdate):
597 * autoinsert.el (auto-insert-alist):
598 * calc/calc-forms.el (math-this-year):
599 * emacs-lisp/copyright.el (copyright-current-year)
600 (copyright-update-year, copyright):
601 * tar-mode.el (tar-clip-time-string):
602 * time.el (display-time-update):
603 Don't assume years have 4 digits.
604
78f3273a
CY
6052012-05-04 Chong Yidong <cyd@gnu.org>
606
607 * dos-w32.el (file-name-buffer-file-type-alist)
608 (direct-print-region-use-command-dot-com):
609 * ffap.el (ffap-menu-regexp):
610 * find-file.el (ff-special-constructs):
611 * follow.el (follow-debug):
612 * forms.el (forms--debug):
613 * iswitchb.el (iswitchb-all-frames):
614 * ido.el (ido-all-frames):
615 * emacs-lisp/timer.el (timer-max-repeats):
616 * mail/feedmail.el (feedmail-mail-send-hook)
617 (feedmail-mail-send-hook-queued):
618 * mail/footnote.el (footnote-signature-separator):
619 * mail/mailabbrev.el (mail-alias-separator-string)
620 (mail-abbrev-mode-regexp):
621 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
622 * progmodes/idlwave.el (idlwave-libinfo-file)
623 (idlwave-default-completion-case-is-down)
624 (idlwave-library-routines): Convert defvars to defcustoms.
625
626 * mail/rmail.el (rmail-decode-mime-charset):
627 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
628 (idlwave-shell-fix-inserted-breaks)
629 (idlwave-shell-activate-alt-keybindings)
630 (idlwave-shell-use-breakpoint-glyph):
631 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
632
f7ae6719
SM
6332012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
636
47086495
WS
6372012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
638
639 * progmodes/verilog-mode.el (font-lock-keywords):
640 Fix mis-highligting auto. Reported by Craig Barner.
641 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
642 defines from global name space. Reported by Dan Dever.
643 (verilog-auto-reset, verilog-auto-reset-widths)
644 (verilog-auto-tieoff): Support using unbased numbers for
645 AUTORESET and AUTOTIEOFF.
646 (verilog-submit-bug-report): Update variable list.
647 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
648 parenthesis from not matching. Reported by Michael Rytting.
649 (verilog-auto-template-lint): Fix hash error when linting modules
650 with no used templates.
651 (verilog-warn, verilog-warn-error)
652 (verilog-warn-fatal): When non-interactive report multiple
653 warnings before exiting. Suggested by Brad Dobbie.
654 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
655 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
656 to report unused template errors. Reported by Brad Dobbie.
657 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
658 nets, bug438. Reported by Vns Blore.
659 (verilog-auto-inout-module, verilog-auto-reg)
660 (verilog-read-decls, verilog-read-sub-decls-sig)
661 (verilog-signals-edit-wire-reg, verilog-signals-with):
662 Fix passing of Verilog data types in ANSI input/output ports
663 such as "output logic" into the AUTOs. Special case "wire" and
664 "reg" for backwards compatibility presuming Verilog 2001.
665 (verilog-auto-ascii-enum): Add "auto enum" as alias.
666 (verilog-preprocess): Fix replication of preprocess output.
667 Reported by Brad Dobbie.
668 (verilog-auto-inst-interfaced-ports):
669 Create verilog-auto-inst-interfaced-ports, bug429.
670 Reported by Julian Gorfajn.
671 (verilog-after-save-font-hook)
672 (verilog-before-save-font-hook): New variable.
673 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
674 (verilog-save-font-mods): Wrap disabling fontification, reported
675 by David Rogoff.
676 (verilog-do-indent, verilog-pretty-declarations-auto)
677 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
678 Reported by Pierre-David Pfister.
679 (verilog-set-auto-endcomments): Fix endtask auto comments outside
680 of class declarations, bug292. Reported by Kevin Heilman.
681 (verilog-read-decls): Fix 'parameter type' not appearing in
682 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
683 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
684 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
685 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
686 Reported by David Kravitz.
687
6882012-05-03 Michael McNamara <mac@mail.brushroad.com>
689
690 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
691 assignment with tests in ifs and for loops.
692 (verilog-extended-complete-re, verilog-complete-reg): Change so
693 that DPI inport functions don't look like fuction declarations.
694 (verilog-pretty-expr): Don't line up assignment
695 operations to the test and increment in if and for loops
696 (verilog-extended-complete-re, verilog-complete-reg): Change so
697 that DPI inport functions don't look like fuction declarations
698
2e51d4b5
KH
6992012-05-03 Kenichi Handa <handa@m17n.org>
700
701 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
702 decoding, and show a warning message without signalling an error
703 (Bug#11282).
704
2bd785a2
SM
7052012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacs-lisp/bytecomp.el
708 (byte-compile-file-form-custom-declare-variable): Compile all elements,
709 since cconv.el might have introduced :fun-body, internal-make-closure,
710 and friends for bytecomp to handle (bug#11391).
711 * custom.el (defcustom): Avoid ((λ ..) ..).
712
99d27583
SM
7132012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
716
55a71479
JB
7172012-05-02 Juanma Barranquero <lekktu@gmail.com>
718
719 * notifications.el (dbus-debug):
720 * term/linux.el (gpm-mouse-enable):
721 * term/screen.el (xterm-register-default-colors): Declare.
722
7b97c764
CY
7232012-05-02 Chong Yidong <cyd@gnu.org>
724
2bc356d7
CY
725 * cus-start.el (gc-cons-percentage, exec-suffixes)
726 (dos-display-scancodes, dos-hyper-key, dos-super-key)
727 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
728 (make-cursor-line-fully-visible, void-text-area-pointer)
729 (font-list-limit): Add customization data.
730
7b97c764
CY
731 * allout.el (allout-exposure-change-functions)
732 (allout-structure-added-functions)
733 (allout-structure-deleted-functions)
734 (allout-structure-shifted-functions): Rename abnormal hooks from
735 *-hook, and convert to defcustoms.
5d3385a0
JB
736 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
737 Convert to defcustoms.
7b97c764
CY
738 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
739
740 * allout-widgets.el: Hook callers changed.
741
90207a15 7422012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
743
744 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
745 the yanked message in preference to the default value of
746 buffer-file-coding-system.
747
90207a15 7482012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 749
5d3385a0
JB
750 * window.el (display-buffer--action-function-custom-type):
751 Fix entry.
d9558cad 752
90207a15 7532012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
754
755 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
756
d80ac57b
GM
7572012-05-01 Glenn Morris <rgm@gnu.org>
758
976f7668
GM
759 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
760
beb83b5a
GM
761 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
762
d80ac57b
GM
763 * cus-edit.el (custom-variable-documentation): Simplify with format.
764
b593d6a9
AH
7652012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
766 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * simple.el (suggest-key-bindings, execute-extended-command):
769 Move from keyboard.c.
770
782fbf2a
CY
7712012-05-01 Chong Yidong <cyd@gnu.org>
772
773 * follow.el: Eliminate advice.
774 (set-process-filter, process-filter, sit-for): Advice deleted.
775 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
776 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
777 Vars deleted.
782fbf2a
CY
778 (follow-auto): Use a :set function.
779 (follow-mode): Rewritten. Don't advise process filters.
780 (follow-switch-to-current-buffer-all, follow-scroll-up)
781 (follow-scroll-down): Assume follow-mode is bound.
782 (follow-comint-scroll-to-bottom)
783 (follow-align-compilation-windows): New functions.
784 (follow--window-sorter): New function.
785 (follow-all-followers): Use it to explicitly sort windows by their
786 positions; don't make assumptions about next-window order.
787 (follow-windows-start-end, follow-delete-other-windows-and-split)
788 (follow-calc-win-start): Doc fix.
789 (follow-windows-aligned-p, follow-select-if-visible): Don't call
790 vertical-motion unnecessarily.
791 (follow-adjust-window): New function.
792 (follow-post-command-hook): Use it.
793 (follow-call-set-process-filter, follow-call-process-filter)
794 (follow-intercept-process-output, follow-tidy-process-filter-alist)
795 (follow-stop-intercept-process-output, follow-generic-filter):
796 Functions deleted.
797 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
798 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
799 New functions, replacing advice on scroll-bar-* commands.
87233a14 800 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
801
802 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
803 (comint-postoutput-scroll-to-bottom): Use it.
804 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 805
290af740
GM
8062012-05-01 Glenn Morris <rgm@gnu.org>
807
808 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
809 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
810 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
811 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
812 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
813 Remove no-byte-compile setting.
814
6eac8dc9
SM
8152012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * minibuffer.el (completion-table-with-quoting): Fix compatibility
818 all-completions code to not return a number in the last cdr.
819
9cc7819c
LL
8202012-04-30 Leo Liu <sdl.web@gmail.com>
821
822 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
823 read-only error.
824
c93b886f
CY
8252012-04-29 Chong Yidong <cyd@gnu.org>
826
827 * follow.el (follow-calc-win-end): Rewrite to handle partial
828 screen lines correctly (Bug#8390).
829 (follow-avoid-tail-recenter): Minor cleanup.
830
8b6c19f4
SM
8312012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 Avoid the obsolete `assoc' package.
834 * speedbar.el (speedbar-refresh): Avoid adelete.
835 (speedbar-file-lists): Simplify and avoid aput.
836 * man.el (Man--sections, Man--refpages): New vars, replacing
837 Man-sections-alist and Man-refpages-alist.
838 (Man-build-section-alist, Man-build-references-alist):
839 Use them; avoid aput.
840 (Man--last-section, Man--last-refpage): New vars.
841 (Man-follow-manual-reference): Use them.
842 Use the `default' arg of completing-read.
843 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
844
c5bb7569
CY
8452012-04-27 Chong Yidong <cyd@gnu.org>
846
d1d2e2e8
CY
847 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
848
15cd8efd
CY
849 * startup.el (x-apply-session-resources): New function.
850
851 * term/ns-win.el (ns-initialize-window-system):
852 * term/w32-win.el (w32-initialize-window-system):
853 * term/x-win.el (x-initialize-window-system): Use it to properly
854 set menu-bar-mode and other vars from X resources, even if the
855 initial frame is not a window-system frame (Bug#2299).
856
c5bb7569
CY
857 * subr.el (read-key): Avoid running filter function when setting
858 up temporary tool bar entries (Bug#9922).
859
a8e7d6d7 8602012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
861
862 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
863 (Bug#11344)
864
a8e7d6d7 8652012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
866
867 * select.el (xselect--encode-string): New function, split from
868 xselect-convert-to-string.
869 (xselect-convert-to-string): Use it.
870 (xselect-convert-to-filename, xselect-convert-to-os)
871 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
872 returned strings are properly encoded (Bug#11315).
873
a8e7d6d7 8742012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
875
876 * simple.el (delete-active-region): Move to killing custom group.
877
a8e7d6d7 8782012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
879
880 * progmodes/which-func.el (which-func-current): Quote %
881 characters for mode-line processing.
882
578c1d4b 8832012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
884
885 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
886 reaching eob (Bug#11286).
887
a8e7d6d7 8882012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
889
890 * progmodes/gdb-mi.el (gdb-control-level): New variable.
891 (gdb): Make it buffer-local and init to zero.
892 (gdb-control-commands-regexp): New variable.
893 (gdb-send): Don't wrap in "-interpreter-exec console" if
894 gdb-control-level is positive. Increment gdb-control-level
895 whenever the command matches gdb-control-commands-regexp, and
896 decrement it each time the command is "end". (Bug#11279)
897
a8e7d6d7 8982012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
899
900 * window.el (adjust-window-trailing-edge, enlarge-window)
901 (shrink-window, window-resize):
902 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
903 windows (Bug#11276).
904
b3608390
CY
9052012-04-27 Chong Yidong <cyd@gnu.org>
906
907 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 908 fix "missing prefix" warning. All callers changed.
b3608390 909
797e6e88
SM
9102012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * emacs-lisp/assoc.el: Move to obsolete/.
913
e95a67dc
SM
9142012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
915
657c21e4 916 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
917
918 * term/ns-win.el (ns-define-service):
919 * progmodes/pascal.el (pascal-goto-defun):
920 * progmodes/js.el (js--read-tab):
921 * progmodes/etags.el (tags-lazy-completion-table):
922 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
923 * emacs-lisp/ewoc.el (ewoc--wrap):
924 * emacs-lisp/assoc.el (aput, adelete, amake):
925 * doc-view.el (doc-view-convert-current-doc):
926 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
927
cb3e7ae0
CY
9282012-04-26 Chong Yidong <cyd@gnu.org>
929
dce04f7f
CY
930 * image.el (image-type-from-buffer): Only return supported image
931 type (Bug#9045).
932
cb3e7ae0
CY
933 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
934 value, for symmetry with diff-end-of-hunk.
935 (diff-split-hunk, diff-find-source-location)
936 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
937 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
938 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
939 compute the relevant hunk or file properly (Bug#6005).
940 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
941
0d42eb3e
SM
9422012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * vc/vc-mtn.el:
945 * vc/vc-hg.el:
946 * vc/vc-git.el:
947 * vc/vc-dir.el:
948 * vc/vc-cvs.el:
949 * vc/vc-bzr.el:
950 * vc/vc-arch.el:
951 * vc/vc.el: Replace lexical-let by lexical-binding.
952 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
953 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
954 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
955
f08ae1c9
CY
9562012-04-26 Chong Yidong <cyd@gnu.org>
957
8b71081d
CY
958 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
959 (diff-mode-shared-map): Bind it to / and [remap undo].
960
f08ae1c9
CY
961 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
962 (ediff-window-setup-function): Use it as the default, to set up
963 windows based on whether the current frame is graphical (Bug#2138).
964 (ediff-choose-window-setup-function-automatically): Make obsolete.
965
966 * vc/ediff-init.el: Always define ediff-pixel-width/height.
967
ef24141c
SM
9682012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
969
cc356a5d
SM
970 * ffap.el: Remove old code for obsolete package.
971 (ffap-complete-as-file-p): Remove.
972
b4ff4f1f
SM
973 Use completion-table-with-quoting for comint and pcomplete.
974 * comint.el (comint--unquote&requote-argument)
975 (comint--unquote-argument, comint--requote-argument): New functions.
976 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
977 (comint-quote-filename): Use regexp-opt-charset.
978 (comint--common-suffix, comint--common-quoted-suffix)
979 (comint--table-subvert): Remove.
980 (comint-unquote-function, comint-requote-function): New vars.
981 (comint--complete-file-name-data): Use them with
982 completion-table-with-quoting.
983 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
984 * pcomplete.el (pcomplete-arg-quote-list)
985 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
986 (pcomplete-unquote-argument-function): Default to non-nil.
987 (pcomplete-unquote-argument): Simplify.
988 (pcomplete--common-quoted-suffix): Remove.
989 (pcomplete-requote-argument-function): New var.
990 (pcomplete--common-suffix): New function.
991 (pcomplete-completions-at-point): Use completion-table-with-quoting
992 and completion-table-subvert.
993
79c4eeb4
SM
994 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
995 (minibuffer--double-dollars): Preserve properties.
996 (completion--sifn-requote): New function.
997 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
998
ef24141c
SM
999 * minibuffer.el: Add support for completion of quoted/escaped data.
1000 (completion-table-with-quoting, completion-table-subvert): New funs.
1001 (completion--twq-try, completion--twq-all): New functions.
1002 (completion--nth-completion): New function.
1003 (completion-try-completion, completion-all-completions): Use it.
1004
784e7d6e
LL
10052012-04-25 Leo Liu <sdl.web@gmail.com>
1006
dd2ac746
SM
1007 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1008 Use compilation-message if available to find real filename.
784e7d6e 1009
07875ee7
CY
10102012-04-25 Chong Yidong <cyd@gnu.org>
1011
1012 * vc/diff-mode.el (diff-setup-whitespace): New function.
1013 (diff-mode): Use it.
1014
1015 * vc/diff.el (diff-sentinel):
1016 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1017 Whitespace mode variables based on diff style (Bug#8612).
1018
5055880d
LL
10192012-04-25 Leo Liu <sdl.web@gmail.com>
1020
daf75653
LL
1021 * progmodes/python.el (python-send-region): Add suffix .py to the
1022 temp file.
1023
5055880d
LL
1024 * files.el (auto-mode-alist): Use javascript-mode instead.
1025
db9b177b
AH
10262012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1027
ef24141c 1028 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1029
1030 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1031 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1032 references, see Bug#9.
ef24141c 1033 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1034 when receiving a fault reply.
ef24141c 1035 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1036
1037 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1038 (soap-inspect-simple-type): New function.
db9b177b 1039
ef24141c 1040 * soap-client.el (soap-simple-type): New struct.
db9b177b 1041 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1042 (soap-decode-basic-type, soap-encode-basic-type):
1043 support unsignedInt and double basic types.
db9b177b 1044 (soap-resolve-references-for-simple-type)
ef24141c
SM
1045 (soap-parse-simple-type, soap-encode-simple-type): New function.
1046 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1047
1048 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1049 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1050 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1051 the local name of "soapenc:Array".
1052 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1053 decoding integer, byte and anyURI xsd types.
1054
1fc6097b
CY
10552012-04-25 Chong Yidong <cyd@gnu.org>
1056
1057 * cus-edit.el (custom-buffer-create-internal): Update header text.
1058
afc6df87
EZ
10592012-04-25 Eli Zaretskii <eliz@gnu.org>
1060
1061 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1062 settings on 'system-type', not on 'window-system'. On MS-Windows,
1063 set interactive-mode on in GDB.
1064
dfbd787f
SM
10652012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1068 (ruby-syntax-propertize-regexp): Remove.
1069 (ruby-syntax-propertize-function): Split regexp into chunks.
1070 Match following code directly.
1071
85222d44
DG
10722012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1073
51a8ea2a
DG
1074 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1075 (ruby-syntax-propertize-regexp): New function.
1076 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1077 by a special keyword.
1078
85222d44
DG
1079 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1080 (ruby-syntax-general-delimiters-goto-beg)
1081 (ruby-syntax-propertize-general-delimiters): New functions.
1082 (ruby-syntax-propertize-function): Use them to handle GDL.
1083 (ruby-font-lock-keywords): Move old handling of GDL...
1084 (ruby-font-lock-syntactic-keywords): .. to here.
1085 (ruby-calculate-indent): Adjust indentation for GDL.
1086
b613912b
MA
10872012-04-24 Michael Albinus <michael.albinus@gmx.de>
1088
b5380639
MA
1089 * notifications.el (top): Remove unneeded declarations.
1090 (notifications-specification-version): Change to "1.2".
e43042fe 1091 (notifications-interface, notifications-notify-method)
b613912b
MA
1092 (notifications-close-notification-method): Fix docstring.
1093 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1094 (notifications-notify): Add :action-items, :resident and
1095 :transient hints. Change "image_data" to "image-data" and
1096 "image_path" to "image-path".
b613912b
MA
1097 (notifications-get-capabilities): New defun.
1098
257440aa
LL
10992012-04-24 Leo Liu <sdl.web@gmail.com>
1100
1101 * progmodes/python.el: Move hideshow setup to the end.
1102
b1bac16e
MR
11032012-04-24 Martin Rudalics <rudalics@gmx.at>
1104
1105 * window.el (handle-select-window): Clear echo area since this is
1106 no more done by read_char (Bug#11304).
1107
d81bd059
SM
11082012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1111 and `/ M' to filter-derived-mode.
1112 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1113 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1114 (ibuffer-mark-by-mode): Use default rather than initial-input.
1115 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1116
c4cf6d91
IA
11172012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1118
1119 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1120 (ibuffer-filter-by-derived-mode): New filter.
1121 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1122
7511ded8
CY
11232012-04-23 Andreas Politz <politza@fh-trier.de>
1124
1125 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1126
775c916b
CY
11272012-04-23 Chong Yidong <cyd@gnu.org>
1128
1129 * cus-edit.el (customize-apropos, customize-apropos-options):
1130 Disable matching of non-option variables (Bug#11176).
1131 (customize-option, customize-option-other-window)
1132 (customize-changed-options): Doc fix.
1133 (customize-apropos-options, customize-apropos-faces)
1134 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1135
1136 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1137 Fix word list splitting (Bug#11132).
46c71e23
CY
1138 (apropos-symbol, apropos-keybinding, apropos-label)
1139 (apropos-property, apropos-function-button)
1140 (apropos-variable-button, apropos-misc-button): New faces.
1141 (apropos-symbol-face, apropos-keybinding-face)
1142 (apropos-label-face, apropos-property-face, apropos-match-face):
1143 Variables removed (Bug#8396).
1144 (apropos-library-button, apropos-format-plist, apropos-print)
1145 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1146
2df41f9c
MA
11472012-04-23 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/xesam.el (xesam-mode-map): Use let-bound map in
1150 initialization. (Bug#11292)
1151
da00640a
AM
11522012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1153
1154 Preserve ispell session localwords when switching back to
1155 original buffer.
1156
1157 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1158 variable to hold buffer session localwords.
1159 (ispell-kill-ispell): add option 'clear to delete session
1160 localwords.
1161 (ispell-command-loop, ispell-change-dictionary)
1162 (ispell-buffer-local-words): Preserve session localwords when
1163 needed.
1164
1165 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1166 Preserve session localwords when needed.
1167
f621ccf5
AM
11682012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1169
1170 * ispell.el (ispell-insert-word) Remove unneeded function using
1171 obsolete `translation-table-for-input'.
ef24141c
SM
1172 (ispell-word, ispell-process-line, ispell-complete-word):
1173 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1174
c2d1019e
CY
11752012-04-22 Chong Yidong <cyd@gnu.org>
1176
1177 * cus-edit.el (custom-variable-menu)
1178 (custom-variable-reset-saved, custom-face-menu)
1179 (custom-face-reset-saved): If there is no saved value, make the
1180 "reset-saved" operation bring back the default (Bug#9509).
1181 (custom-face-state): Properly detect themed faces.
1182
eeddc531
CY
1183 * faces.el (face-spec-set): Stop supporting deprecated form of
1184 third arg.
1185
dcbf5805
MA
11862012-04-22 Michael Albinus <michael.albinus@gmx.de>
1187
1188 Move functions from C to Lisp. Make non-blocking method calls
1189 the default. Implement further D-Bus standard interfaces.
1190
ef24141c
SM
1191 * net/dbus.el (dbus-message-internal): Declare function.
1192 Remove unneeded function declarations.
dcbf5805
MA
1193 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1194 (dbus-message-type-method-return, dbus-message-type-error)
1195 (dbus-message-type-signal): Declare variables. Remove local
1196 definitions.
1197 (dbus-interface-dbus, dbus-interface-peer)
1198 (dbus-interface-introspectable, dbus-interface-properties)
1199 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1200 Adapt docstring.
1201 (dbus-interface-objectmanager): New defconst.
1202 (dbus-call-method, dbus-call-method-asynchronously)
1203 (dbus-send-signal, dbus-method-return-internal)
1204 (dbus-method-error-internal, dbus-register-service)
1205 (dbus-register-signal, dbus-register-method): New defuns, moved
1206 from dbusbind.c
1207 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1208 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1209 New defuns.
dcbf5805
MA
1210 (dbus-call-method-non-blocking): Make it an obsolete function.
1211 (dbus-unregister-object, dbus-unregister-service)
1212 (dbus-handle-event, dbus-register-property)
1213 (dbus-property-handler): Obey the new structure of
1214 `bus-registered-objects'.
1215 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1216 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1217 Use `dbus-call-method'.
1218
cf20dee0
CY
12192012-04-22 Chong Yidong <cyd@gnu.org>
1220
1221 * cus-edit.el (custom-commands, custom-reset-menu)
1222 (Custom-reset-standard): Tweak labels.
1223 (custom-reset-button-menu): Change default to t.
1224 (custom-buffer-create-internal): For the custom-reset-button-menu
1225 case, put the revert button first.
1226 (custom-group-subtitle): New face.
1227 (custom-group-value-create): Align docstring to a specific column.
1228
1229 * wid-edit.el (widget-documentation-link-add): Don't handle
1230 indentation in this function.
1231 (widget-documentation-string-indent-to): New function.
1232 (widget-documentation-string-value-create): Use it.
1233
1234 * autorevert.el (auto-revert):
1235 * epg-config.el (epg):
1236 * ibuffer.el (ibuffer):
1237 * mpc.el (mpc):
1238 * ses.el (ses):
1239 * eshell/eshell.el (eshell):
1240 * net/ange-ftp.el (ange-ftp):
1241 * progmodes/ebnf2ps.el (postscript):
1242 * progmodes/flymake.el (flymake):
1243 * progmodes/prolog.el (prolog):
1244 * progmodes/verilog-mode.el (verilog-mode):
1245 * progmodes/which-func.el (which-func):
1246 * term/xterm.el (xterm):
1247 * textmodes/picture.el (picture):
1248 * textmodes/tildify.el (tildify):
1249 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1250 customization buffers.
1251
583e23bd
AM
12522012-04-22 Alan Mackenzie <acm@muc.de>
1253
1254 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1255 Adding a ) can hide the resulting (..) from searches. Fix it.
1256 Bound the backward search to the position of the existing (.
1257
7dd51bf1
JB
12582012-04-21 Juanma Barranquero <lekktu@gmail.com>
1259
1260 * progmodes/verilog-mode.el (verilog-mode): Check whether
1261 which-func-modes is t before adding verilog-mode.
1262 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1263
d64a438f
LL
12642012-04-21 Leo Liu <sdl.web@gmail.com>
1265
7dd51bf1 1266 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1267
081e8d65
MV
12682012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1269
1270 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1271 filling of the last column of a table (Bug#5635).
1272 (woman-find-next-control-line): New arg, specifying an additional
1273 regexp component for the control line.
1274 (woman2-roff-buffer): Use it.
1275 (woman-break-table): New function.
1276 (woman2-TS): Use it.
1277
12782012-04-21 Chong Yidong <cyd@gnu.org>
1279
1280 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1281 (woman-horizontal-escapes, woman-negative-vertical-space)
1282 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1283 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1284
ed571ccb
SM
12852012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * minibuffer.el (completion-file-name-table): Complete user names.
1288
39773899
LL
12892012-04-20 Leo Liu <sdl.web@gmail.com>
1290
1291 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1292 and pcase-let*.
1293
de6ff46d
CY
12942012-04-20 Chong Yidong <cyd@gnu.org>
1295
1296 * server.el (server-execute): Respect initial-buffer-choice if it
1297 is a string and there are no files to open (Bug#2825).
1298 (server-create-window-system-frame, server-create-tty-frame):
1299 Don't switch buffers here.
2d0e8e61
CY
1300 (server-process-filter): Only try to open a window system frame if
1301 compiled with graphical support (Bug#8314).
de6ff46d 1302
54071013
DN
13032012-04-20 Dan Nicolaescu <dann@gnu.org>
1304
1305 * battery.el (battery-echo-area-format): Display remaining time
1306 for sysfs backend too (Bug#11269).
1307 (battery-linux-sysfs): Fix conditional for the charge.
1308
f30d612a
CY
13092012-04-20 Chong Yidong <cyd@gnu.org>
1310
c07a4c0b 1311 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1312 (gdb-inferior-io--init-proc): New function.
1313 (gdb-init-1): Use it.
1314 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1315 responsible for allocating a new pty and hooking it to gdb when
1316 the old pty gets an EIO due to process exit.
1317 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1318 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1319 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1320
2116e93c
EZ
13212012-04-20 Eli Zaretskii <eliz@gnu.org>
1322
1323 * window.el (window-min-size, window-sizable, window-min-delta)
1324 (window-max-delta, window--resizable, window-resizable)
1325 (window-total-size, window-full-height-p, window-full-width-p)
1326 (window-in-direction, window--resize-mini-window, window-resize)
1327 (window--resize-child-windows-normal)
1328 (window--resize-child-windows, window--resize-siblings)
1329 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1330 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1331
c07a4c0b 13322012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1333
ef24141c
SM
1334 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1335 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1336 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1337 pty process (Bug#11273).
1338 (gdb-update): New arg to suppress talking to the gdb process.
1339 (gdb-done-or-error): Use it.
1340 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1341 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1342 sentinel not being called.
1343
1344 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1345
d02766ab
CY
1346 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1347
c07a4c0b 13482012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1349
1350 * net/network-stream.el (open-network-stream): Doc fix.
1351
c07a4c0b 13522012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1353
1354 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1355
c07a4c0b 13562012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1357
1358 Ensure searching for keywords is case sensitive.
1359
1360 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1361 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1362 (c-defun-name, c-mark-function, c-cpp-define-name)
1363 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1364 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1365
ef24141c
SM
1366 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1367 Bind case-fold-search to nil.
f0f6bc35 1368
c07a4c0b 13692012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1370
1371 * mail/sendmail.el (mail-bury): Call return action with the right
1372 Rmail buffer (Bug#11242).
1373
9a864fa2
CY
1374 * server.el (server-process-filter): Handle corner case where both
1375 tty and nowait options are present (Bug#11102).
1376
539aa513
EZ
13772012-04-20 Eli Zaretskii <eliz@gnu.org>
1378
1379 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1380 (top level): Put into the executable the ident-style '$Id:' tag on
1381 windows-nt as well.
539aa513 1382
cfc7d5da
SM
13832012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * electric.el (electric-indent-post-self-insert-function): Check that
1386 electric-indent-mode is enabled in current buffer.
1387
5b01685c
JB
13882012-04-19 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * imenu.el (imenu-progress-message): Restore; it is "used" in
1391 erc/erc-imenu.el and net/snmp-mode.el.
1392
4d6769e1
JB
13932012-04-19 Juanma Barranquero <lekktu@gmail.com>
1394
1395 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1396 (mouse-avoidance-nudge-mouse): Remove unused binding.
1397
1398 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1399
1400 * descr-text.el (describe-char):
1401 * progmodes/python.el (python-describe-symbol):
1402 Don't call `toggle-read-only', set `buffer-read-only'.
1403
1404 * imenu.el (imenu-default-goto-function): Mark unused args.
1405 (imenu-progress-message): Remove obsolete macro; all callers changed.
1406
1407 * subr.el (keymap-canonicalize): Remove unused binding.
1408 (read-passwd): Mark unused arg.
1409
1410 * tutorial.el (tutorial--display-changes): Remove unused binding.
1411 (tutorial--save-tutorial-to): Remove unused variable.
1412
1413 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1414 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1415 (package-generate-autoloads, package-menu--generate)
1416 (package-menu--find-upgrades): Remove unused bindings.
1417
1418 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1419 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1420 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1421 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1422 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1423 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1424 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1425 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1426 (cua-delete-char-rectangle): Mark unused args.
1427 (cua-align-rectangle): Remove unused binding.
1428
1429 * mail/rmail.el (compilation--message->loc)
1430 (epa--find-coding-system-for-mime-charset): Declare.
1431
1432 * net/dbus.el (dbus-register-service): Declare.
1433 (dbus-name-owner-changed-handler): Remove unused binding.
1434
1435 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1436 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1437 (nxml-scan-backward-within): Mark unused arg.
1438 (nxml-dynamic-markup-word): Remove unused binding.
1439
1440 * mouse.el (mouse-menu-major-mode-map):
1441 * emacs-lisp/authors.el (authors-scan-change-log)
1442 (authors-add-to-author-list):
1443 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1444 * emacs-lisp/smie.el (smie-auto-fill):
1445 * mail/sendmail.el (mail-bury):
1446 * mail/unrmail.el (unrmail):
1447 * net/tls.el (open-tls-stream):
1448 * textmodes/picture.el (picture-mouse-set-point):
1449 Remove unused bindings.
1450
8c8fc5df
MA
14512012-04-19 Michael Albinus <michael.albinus@gmx.de>
1452
1453 * net/tramp.el (tramp-action-password): Let-bind
1454 `enable-recursive-minibuffers' to t.
1455
a77b0ac9
SS
14562012-04-18 Sam Steingold <sds@gnu.org>
1457
1458 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1459 instead of 'string to accommodate values like [f11].
1460 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1461 * progmodes/gdb-mi.el: Likewise.
1462
12a106a9
LL
14632012-04-18 Leo Liu <sdl.web@gmail.com>
1464
1465 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1466 current buffer.
1467 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1468 LOCAL is nil.
1469
bc6494ef
CY
14702012-04-18 Chong Yidong <cyd@gnu.org>
1471
1472 * simple.el (line-move): Use forward-line if in batch mode
1473 (Bug#11053).
1474
c09c46b2
CS
14752012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1476
1477 * files.el (after-find-file): Do not try to add a final newline if
1478 the buffer is read-only (Bug#11156).
1479
5f6530ea
RS
14802012-04-17 Richard Stallman <rms@gnu.org>
1481
1482 * mail/rmail.el (rmail-start-mail):
1483 Pass (rmail-mail-return...) for the return-action.
1484 Pass (rmail-yank-current-message...) for the yank-action.
1485 (rmail-yank-current-message): New function.
1486 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1487 (rmail-reply): Likewise.
1488 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1489
1490 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1491 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1492 buffer, not newbuf.
1493
197b6f3c
JB
14942012-04-17 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * server.el (server-ensure-safe-dir): Simplify.
1497
2311d8e5 14982012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1499
2311d8e5
GM
1500 * emacs-lisp/smie.el: Provide smarter auto-filling.
1501 (smie-auto-fill): New function.
1502 (smie-setup): Use it.
98fb480e 1503
2311d8e5
GM
1504 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1505
15062012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1507
1508 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1509 (comment-indent): Use it.
1510
2311d8e5 15112012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1512
1513 * ses.el: The overall change is to add cell renaming, that is
1514 setting fancy names for cell symbols other than name matching
1515 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1516 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1517 (ses-create-cell-variable): New defun.
2311d8e5 1518 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1519 (ses-relocate-formula): Relocate formulas only for cells the
1520 symbols of which are not renamed, i.e. symbols whose names do not
1521 match regexp "\\`[A-Z]+[0-9]+\\'".
1522 (ses-relocate-all): Relocate values only for cells the symbols of
1523 which are not renamed.
1524 (ses-load): Create cells variables as the (ses-cell ...) are read,
1525 in order to check row col consistency with cell symbol name only
1526 for cells that are not renamed.
1527 (ses-replace-name-in-formula): New defun.
1528 (ses-rename-cell): New defun.
4bdf2ad2 1529
fc72b15c
PO
15302012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1531
1532 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1533 New option (bug#11118).
1534 (perl-calculate-indent): Respect it.
1535
12e10e61
GM
15362012-04-17 Glenn Morris <rgm@gnu.org>
1537
1538 * dired-aux.el (dired-mark-read-string): Doc fix.
1539
30009afd
DA
15402012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1541
1542 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1543 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1544
41f03f4d
GM
15452012-04-17 Glenn Morris <rgm@gnu.org>
1546
1547 * mouse.el (mouse-drag-track):
1548 * speedbar.el (speedbar-frame-mode):
1549 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1550
f45f90f3
LL
15512012-04-16 Leo Liu <sdl.web@gmail.com>
1552
1553 * progmodes/python.el: Trivial cleanup.
1554
94ee8db5
GM
15552012-04-16 Glenn Morris <rgm@gnu.org>
1556
121b8917
GM
1557 * vc/vc.el (vc-string-prefix-p):
1558 * vc/pcvs-util.el (cvs-string-prefix-p):
1559 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1560 * mpc.el (mpc-string-prefix-p):
1561 Make all of these into obsolete aliases for string-prefix-p.
1562 Update callers.
1563 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1564
1197ecfa
GM
1565 * textmodes/two-column.el: Move custom options to the start.
1566 (frame-width): Remove compat definition.
1567 (2C-associate-buffer, 2C-dissociate):
1568 Use with-current-buffer rather than save-excursion.
1569 (2C-dissociate): Force a mode-line update.
1570 (2C-autoscroll): Use ignore-errors.
1571
099e7202
GM
1572 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1573 Autoload trivia.
1574
bf350d6a
GM
1575 * emacs-lisp/cl-extra.el (*random-state*):
1576 Remove unnecessary declaration.
1577
0e829eab
GM
1578 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1579
e3ad7552
GM
1580 * play/cookie1.el (cookie-snarf):
1581 Give an explicit error if input file cannot be read.
1582
68892d27
GM
1583 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1584
20f0c46d
GM
1585 * progmodes/perl-mode.el (c-macro-expand):
1586 Remove unnecessary autoload (it is in loaddefs.el).
1587
5a0978ce
GM
1588 * textmodes/picture.el (picture-desired-column)
1589 (picture-update-desired-column): Convert comments to doc-strings.
1590 (picture-substitute): Remove function.
1591 (picture-mode-map): Initialize in the defvar.
1592
6b955486
GM
1593 * woman.el: Remove eval-after-load for tar-mode.
1594 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1595 (woman-tar-extract-file): Autoload it.
1596
94ee8db5
GM
1597 * frame.el (automatic-hscrolling): Make this alias obsolete.
1598
177eca34
AM
15992012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1600
1601 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1602 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1603 (ispell-dictionary-base-alist): Revert to original XEmacs
1604 friendly version for default. [:alpha:] will be added in
1605 `ispell-set-spellchecker-params' if needed
177eca34 1606
c505aaeb
CY
16072012-04-16 Chong Yidong <cyd@gnu.org>
1608
1609 * image.el (imagemagick--extension-regexp): New variable.
1610 (imagemagick-register-types): Use it.
1611 (imagemagick-types-inhibit): Add :set function. Allow new value
1612 of t to inhibit all types.
1613
1614 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1615 so we can preload it.
1616
1617 * loadup.el (fboundp): Preload regexp-opt, needed by
1618 imagemagick-register-types.
1619
60efac0f
CY
16202012-04-15 Chong Yidong <cyd@gnu.org>
1621
1622 * frame.el (scrolling): Remove nearly unused customization group.
1623
1624 * scroll-all.el (scroll-all-mode): Move to windows group.
1625
5dd1713e
CY
16262012-04-15 Chong Yidong <cyd@gnu.org>
1627
1628 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1629
e6fd457e
CY
16302012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1633 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1634
e153c136
GM
16352012-04-15 Glenn Morris <rgm@gnu.org>
1636
1637 * simple.el (process-file-side-effects): Doc fix.
1638
e6fd457e 16392012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1640
1641 * international/mule-cmds.el (set-language-environment): Doc fix.
1642
3603c3b1
JB
16432012-04-14 Juanma Barranquero <lekktu@gmail.com>
1644
1645 * server.el (server-auth-key, server-generate-key): Doc fixes.
1646 (server-get-auth-key): Doc fix. Use `string-match-p'.
1647 (server-start): Reflow docstring.
1648
e6de100c
LI
16492012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1650
1651 * server.el (server-generate-key): `called-interactively-p'
1652 requires a parameter.
1653
29734c21
MN
16542012-04-14 Michal Nazarewicz <mina86@mina86.com>
1655
1656 * server.el (server-auth-key): New variable.
75f1671a 1657 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1658 (server-start): Use the new variable and functions to allow
1659 setting a permanent server key (bug#9423).
1660
d65c9521
LL
16612012-04-14 Leo Liu <sdl.web@gmail.com>
1662
1663 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1664
5ae255c7
PE
16652012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1666
1667 Spelling fixes.
1668 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1669 Emacs uses American spelling.
1670
d5e6342e
JB
16712012-04-14 Juanma Barranquero <lekktu@gmail.com>
1672
1673 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1674 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1675 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1676 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1677
ab036cd7
SM
16782012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * progmodes/which-func.el (which-func-modes): Change default.
1681
35dc09a1 16822012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1683
1684 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1685 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1686
35dc09a1 16872012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1688
1689 * custom.el (custom-theme-set-variables): Doc fix.
1690
35dc09a1 16912012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1692
1693 * international/mule.el (set-auto-coding-for-load): Doc fix.
1694
35dc09a1 16952012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1696
35dc09a1
GM
1697 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1698 imenu work again for Objective C Mode. Correct the *-index values,
1699 these having been disturbed by a previous change in 2011-08.
57f845ee 1700
0de3da9f
AM
1701 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1702 Correct two search limits.
1703
35dc09a1 17042012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1705
1706 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1707
35dc09a1 17082012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1709
1710 * international/characters.el: Fix sorting.
1711
35dc09a1 17122012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1713
1714 * international/characters.el: Add more missing Latin case pairs.
1715
35dc09a1 17162012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1717
1718 * files.el (dir-locals-set-class-variables): Doc fix.
1719
35dc09a1 17202012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1721
3f1b5bf8
EZ
1722 * international/characters.el: Add set-case-syntax-pair call for
1723 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1724 counterpart. (Bug#11209)
1725
9f847f41
EZ
1726 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1727
35dc09a1 17282012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1729
1730 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1731
35dc09a1 17322012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1733
35dc09a1
GM
1734 * textmodes/ispell.el (ispell-dictionary-base-alist):
1735 Add data for Hebrew.
e2627d21 1736
35dc09a1 17372012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1738
35dc09a1
GM
1739 * net/rcirc.el (rcirc-cmd-quit):
1740 Revert 2012-03-18 change (Bug#11192).
5c14e333 1741
35dc09a1 17422012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1743
1744 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1745
35dc09a1 17462012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1747
4517fe3a
SM
1748 * minibuffer.el (completion-in-region-mode-map):
1749 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1750
b472a594
VD
17512012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1752
1753 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1754
09b95ce3
MY
17552012-04-13 Masatake YAMATO <yamato@redhat.com>
1756
1757 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1758 to allow `C-M-f' and `C-M-b' to move to the nearest path
1759 separator (bug#9511).
1760
4b63a9ca
LI
17612012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1762
1763 * avoid.el: Require cl when compiling. And also move the
1764 `provide' to the end.
1765
7b55b8bf
TV
17662012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1767
1768 * avoid.el (mouse-avoidance-banish-position): New variable.
1769 (mouse-avoidance-banish-destination): Use it (bug#10165).
1770
adedaa1f
LL
17712012-04-13 Leo Liu <sdl.web@gmail.com>
1772
1773 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1774
70e74021
KB
17752012-04-13 Ken Brown <kbrown@cornell.edu>
1776
1777 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1778 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1779 (browse-url-filename-alist): For the same reason, don't modify
1780 file:// URLs on Cygwin.
1781
e75e89ba
SM
17822012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1785 the region on shift if the binding is already shifted (bug#11221).
1786
82f289a4
GM
17872012-04-12 Glenn Morris <rgm@gnu.org>
1788
1789 * mail/mailpost.el: Move to obsolete/.
1790
d333dc4c
DA
17912012-04-12 Drew Adams <drew.adams@oracle.com>
1792
1793 * imenu.el (imenu--generic-function): Ignore invisible definitions
1794 (bug#10123).
1795
0d15b5ba
VD
17962012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1797
1798 * hexl.el (hexl-bits): New variable.
1799 (hexl-options): Mention the variable in the doc string.
75f1671a 1800 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1801 (hexl-mode): Mention the new variable.
75f1671a
JB
1802 (hexl-mode, hexl-current-address, hexl-current-address):
1803 Use the displen.
0d15b5ba
VD
1804 (hexl-ascii-start-column): New function.
1805 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1806 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1807
64a440db
AM
18082012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1809
1810 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1811 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1812 the encoding, as expected by hunspell.
1813
6decb6c2
SM
18142012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * battery.el (battery--linux-sysfs-regexp): New const.
1817 (battery-status-function): Use it. Remove yeeloong special case.
1818 (battery-yeeloong-sysfs): Remove.
1819 (battery-echo-area-format): Remove yeeloong special case.
1820
088be6fb
SM
18212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1822
6622e416
SM
1823 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1824 Reported by Noah Friedman.
1825
088be6fb
SM
1826 * subr.el (read-passwd): Use read-string.
1827
b49f886e
LMI
18282012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1829
1830 * vcursor.el (vcursor-move): Increase the priority of the overlay
1831 (bug#9663).
1832
a63067fc
DD
18332012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1834
1835 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1836 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1837
ac3cf14a
WS
18382012-04-11 William Stevenson <yhvh2000@gmail.com>
1839
1840 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1841 define-minor-mode (bug#10760).
1842
c4fc691b 18432012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1844
4d6769e1 1845 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1846 that directories matching `grep-find-ignored-files' won't be
1847 pruned (bug#10351).
1848
af23e2e5
CY
18492012-04-11 Chong Yidong <cyd@gnu.org>
1850
1851 * startup.el (command-line): Remove support for long-obsolete
1852 variable font-lock-face-attributes.
1853
ab7ce8c1
GM
18542012-04-11 Glenn Morris <rgm@gnu.org>
1855
1856 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1857
de8c03dc
SM
18582012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * window.el (window--state-get-1): Obey window-point-insertion-type.
1861
050cc68b
LB
18622012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1863
1864 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1865 to previous function when point is on the first character of a
75f1671a 1866 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1867
a38c310c
GM
18682012-04-11 Glenn Morris <rgm@gnu.org>
1869
effed0c2
GM
1870 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1871 not just file-errors.
1872
a38c310c
GM
1873 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1874 (vc-bzr-sha1): Use internal sha1.
1875
0221e323
SM
18762012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1879
43956923
SG
18802012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1881
1882 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1883 that start in the middle of the line (bug#10496).
1884
6a8c9eaf
DN
18852012-04-10 Dan Nicolaescu <dann@gnu.org>
1886
1887 * battery.el (battery-linux-proc-acpi): Only one battery is
1888 discharged at a time, but that seems to confuse battery.el when
1889 computing `rate-type' for the battery not being discharged
1890 (bug#10332).
1891
1930bf5d
SM
18922012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1893
2a718f6f
SM
1894 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1895
599430d0
SM
1896 * international/quail.el: Use dolist and simplify.
1897 (quail-define-package, quail-update-keyboard-layout)
1898 (quail-define-rules): Use dolist.
1899 (quail-insert-kbd-layout, quail-get-translation): CSE.
1900
a2754b6c
SM
1901 * tmm.el: Use dolist, remove left over hook.
1902 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1903 Use dolist.
1904 (calendar-load-hook): Don't mess with it.
1905
1930bf5d
SM
1906 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1907 Use derived-mode-p. Run the diff asynchronously.
1908
9f67961c
LMI
19092012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1910
1911 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1912
2a8ce227
JB
19132012-04-10 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1916 (list-dynamic-libraries--loaded): New function.
1917 (list-dynamic-libraries--refresh): Use it.
1918
8f33b5f8
NW
19192012-04-10 Nathan Weizenbaum <nweiz@google.com>
1920
1930bf5d
SM
1921 * progmodes/python.el (python-fill-paragraph):
1922 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1923 disabled (bug#7018).
1924
b12f0439
L
19252012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1926
1930bf5d 1927 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1928 DOS/MS Windows for the Baltic languages. There are still plenty
1929 of texts written in this encoding/codepage (bug#6519).
b12f0439 1930
57c3bd01
GM
19312012-04-10 Glenn Morris <rgm@gnu.org>
1932
1933 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1934 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1935
6c3eab30
FA
19362012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1937
1930bf5d 1938 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1939 next-line "n" and previous-line "p" in order to make recentf more
1940 consistent with ibuffer, dired or org-mode (bug#9387).
1941
24d78a88
LMI
19422012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1943
bc72b5d9
LMI
1944 * image.el (put-image): Return the overlay created instead of the
1945 optional input string (bug#7834). Note that this may break code
1946 that is (for some reason or other) depending on `put-image'
1947 returning the string.
1948
bd2dba5a
LMI
1949 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1950
74beb59f
LMI
1951 * simple.el (zap-to-char): Allow zapping using input methods
1952 (bug#1580).
1953
24d78a88
LMI
1954 * textmodes/fill.el (fill-region): Leave point and mark where they
1955 were before filling (bug#5399).
1956
263f20cd
GM
19572012-04-09 Glenn Morris <rgm@gnu.org>
1958
1959 * version.el (emacs-bzr-get-version):
1960 Handle lightweight checkouts of local branches.
1961
58d1f797
AS
19622012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1963
263f20cd 1964 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1965
b4d3bc10
CY
19662012-04-09 Chong Yidong <cyd@gnu.org>
1967
1968 * custom.el (custom-variable-p): Return nil for non-symbol
1969 arguments instead of signaling an error.
1970 (user-variable-p): Obsolete alias for custom-variable-p.
1971
1972 * apropos.el (apropos-variable):
1973 * files-x.el (read-file-local-variable):
1974 * simple.el (set-variable):
1975 * woman.el (woman-mini-help):
1976 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1977
fd06db5d
GM
19782012-04-09 Glenn Morris <rgm@gnu.org>
1979
e5fcdb5e
GM
1980 * startup.el (normal-top-level): Don't look for leim-list.el
1981 in places where it will not be found. (Bug#910)
1982
fd06db5d
GM
1983 * international/mule-cmds.el (set-default-coding-systems):
1984 * files.el (normal-mode):
1985 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1986 This function was removed with ucs-tables.el in 2008.
1987
b39bb7e1
EZ
19882012-04-08 Eli Zaretskii <eliz@gnu.org>
1989
1990 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1991 ispell-encoding8-command to "-i", without a trailing space.
1992 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1993 separate command-line arguments, to specify the encoding, since
1994 that's how hunspell expects it.
1995
5c5b8e23
GM
19962012-04-08 Glenn Morris <rgm@gnu.org>
1997
1998 * loadup.el: Load bindings before cus-start.
1999 This reduces somewhat the number of "rogue" settings in emacs -Q.
2000
a1ed8b05
GM
20012012-04-07 Glenn Morris <rgm@gnu.org>
2002
2003 * version.el (emacs-bzr-get-version): New function.
dfae128a 2004 (emacs-bzr-version): New variable.
a1ed8b05
GM
2005 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2006 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2007
b142f158
EZ
20082012-04-07 Eli Zaretskii <eliz@gnu.org>
2009
dfae128a
GM
2010 * international/uni-bidi.el, international/uni-category.el:
2011 * international/uni-combining.el, international/uni-decimal.el:
2012 * international/uni-decomposition.el, international/uni-digit.el:
2013 * international/uni-lowercase.el, international/uni-mirrored.el:
2014 * international/uni-name.el, international/uni-numeric.el:
2015 * international/uni-titlecase.el, international/uni-uppercase.el:
2016 Update for Unicode 6.1.
b142f158 2017
9078ead6
EZ
20182012-04-07 Eli Zaretskii <eliz@gnu.org>
2019
2020 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2021
f23d2c7d
LMI
20222012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2023
2024 * window.el (shrink-window): Mention the `window-min-height'
2025 variable in the doc string.
2026
0a0a3573
BG
20272012-04-05 Bastien Guerry <bzg@altern.org>
2028
2029 * color.el (color-lighten-name): Fix typo.
2030
e5248ac9
SM
20312012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * server.el (server--on-display-p): New function.
2034 (server--on-display-p): Use it.
2035
b4243e22
GV
20362012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2037
2038 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2039 (bug#11145).
2040
305d9f44
SM
20412012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * comint.el (comint--common-quoted-suffix): Check string boundary
2044 before comparing (bug#11158).
2045 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2046
3d439cd1
CY
20472012-04-04 Chong Yidong <cyd@gnu.org>
2048
321cc491
CY
2049 * minibuffer.el (completion-extra-properties): Doc fix.
2050
3d439cd1
CY
2051 * subr.el (delayed-warnings-hook): Doc fix.
2052
2d562c0f
DU
20532012-04-04 Daiki Ueno <ueno@unixuser.org>
2054
2055 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2056 selection (Bug#11159).
2057 (epa-insert-keys): Inform that the default public key will be
2058 exported if no key is selected.
2059
4443f204
RS
20602012-04-04 Richard Stallman <rms@gnu.org>
2061
2062 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2063
529c06b6
CY
20642012-04-03 Chong Yidong <cyd@gnu.org>
2065
2066 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2067 mail-insert-file, not its obsolete alias mail-attach-file.
2068
66b907dc
MA
20692012-04-03 Michael Albinus <michael.albinus@gmx.de>
2070
2071 * notifications.el (notifications-notify): Fix docstring.
2072
c0ea195d
GM
20732012-04-02 Glenn Morris <rgm@gnu.org>
2074
2075 * emacs-lisp/authors.el (authors-aliases): Another addition.
2076
5ca64e00
MA
20772012-04-02 Michael Albinus <michael.albinus@gmx.de>
2078
2079 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2080 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2081 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2082
42ee526b
CY
20832012-04-01 Chong Yidong <cyd@gnu.org>
2084
2085 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2086 Handle root directory properly.
2087 (copy-directory): Caller changed.
2088
2089 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2090 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2091
0b021094
GM
20922012-03-31 Glenn Morris <rgm@gnu.org>
2093
40f86458
GM
2094 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2095
7019c177
GM
2096 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2097
a1daddd6
GM
2098 * calendar/calendar.el (calendar-window-list)
2099 (calendar-hide-window): Restore. (Bug#11140)
2100 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2101
0b021094
GM
2102 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2103
40311efc
TV
21042012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2105
2106 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2107 Check if file is a symlink (Bug#10489).
2108
2109 * files.el (copy-directory): Likewise.
2110
5319014e
CY
21112012-03-30 Chong Yidong <cyd@gnu.org>
2112
2113 * image.el (imagemagick-types-inhibit)
2114 (imagemagick-register-types): Doc fix.
2115
935d1290
AM
21162012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2117
ef24141c
SM
2118 * ispell.el (ispell-get-extended-character-mode):
2119 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2120 and treats ~word as ordinary words in pipe mode.
935d1290 2121
61c6e8fd
GM
21222012-03-30 Glenn Morris <rgm@gnu.org>
2123
2124 * tutorial.el (help-with-tutorial): Ensure local variables don't
2125 happen to make the buffer read-only. (Bug#11127)
2126
81fdff00
SM
21272012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2130 (perl-calculate-indent): Return `noindent' in strings.
2131
6e7a6ec0
SS
21322012-03-28 Sam Steingold <sds@gnu.org>
2133
2134 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2135 instead of the broken adhockery which does not prevent calendar
2136 buffers from being displayed at random after exit.
2137 (calendar-window-list, calendar-hide-window): Remove the broken
2138 adhockery.
2139
fee88ca0
GM
21402012-03-28 Glenn Morris <rgm@gnu.org>
2141
2142 * replace.el (query-replace-map): Doc fix.
2143
38de3354
AS
21442012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2145
2146 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2147 contents. (Bug#11109)
2148
b973155e
SM
21492012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2152 (bug#11077).
2153 (avl-tree--check, avl-tree--check-node): New funs.
2154
dcb6e7b3
MR
21552012-03-27 Martin Rudalics <rudalics@gmx.at>
2156
2157 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2158 (switch-to-prev-buffer, switch-to-next-buffer):
2159 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2160 showing a buffer already is done on the same frame.
2161
b4fa35fa
GM
21622012-03-27 Glenn Morris <rgm@gnu.org>
2163
2164 * startup.el (mail-host-address): Doc fix.
2165
f9210e18
SM
21662012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2169 than 197 variables.
2170
c0bf7753
AF
21712012-03-26 Ami Fischman <ami@fischman.org>
2172
2173 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2174
33da7b16
GM
21752012-03-26 Glenn Morris <rgm@gnu.org>
2176
02243d9d
GM
2177 * files.el (save-buffers-kill-emacs): Doc fix.
2178
33da7b16
GM
2179 * startup.el (normal-top-level, command-line, command-line-1):
2180 Give them doc strings.
2181
e5a69fd0
EZ
21822012-03-25 Eli Zaretskii <eliz@gnu.org>
2183
2184 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2185 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2186
9a69676a
CY
21872012-03-25 Chong Yidong <cyd@gnu.org>
2188
4125cb8b
CY
2189 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2190 theme if it was previously enabled before (Bug#11031).
2191
dd470960
CY
2192 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2193 spec with custom-face-get-current-spec if its :shown-value is not
2194 determined yet (Bug#9337).
4125cb8b 2195 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2196
9a69676a
CY
2197 * button.el (button-at): Minor addition to docstring.
2198
6e7e90fa
SL
21992012-03-24 Simon Leinen <simon.leinen@gmail.com>
2200
2201 * vc/vc.el (vc-merge): Fix a prompt.
2202
f06e2758
CY
22032012-03-24 Chong Yidong <cyd@gnu.org>
2204
2205 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2206 point (Bug#9623).
2207
6e7e90fa
SL
2208 * button.el (button-at): Minor addition to docstring.
2209
b9d0879b
SM
22102012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * newcomment.el (comment-choose-indent): No space after BOL.
2213
e71cebb3
SS
22142012-03-22 Sam Steingold <sds@gnu.org>
2215
2216 * window.el (switch-to-prev-buffer): Revert last patch because the
2217 bug turned out to be an advertised feature (Elisp manual 28.14).
2218
335aff35
GM
22192012-03-22 Glenn Morris <rgm@gnu.org>
2220
2221 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2222 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2223
c676576a
LMI
22242012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225
2226 * net/network-stream.el (network-stream-open-starttls): Make error
2227 message under Windows be less misleading.
2228
126f3d39
LW
22292012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2230
2231 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2232 understands (bug#9942).
2233
64fee311
CY
22342012-03-22 Chong Yidong <cyd@gnu.org>
2235
2236 * simple.el (end-of-visible-line): Handle return value of
2237 next-single-property-change properly (Bug#9371).
2238
a640d29a
KH
22392012-03-22 Kenichi Handa <handa@m17n.org>
2240
2241 * international/quail.el (quail-insert-kbd-layout): Fix previous
2242 change. To avoid unwanted bidi reordering, use
2243 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2244
39675016
DG
22452012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2248 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2249 (ruby-beginning-of-indent): Be more careful with the difference
2250 between word-boundary and symbol boundary.
2251 (ruby-mode-syntax-table): Make : a symbol constituent.
2252
0a6934fc 22532012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2254
3d008e4f
SM
2255 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2256
0a6934fc
SM
22572012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2258
af67c9d7
SM
2259 * progmodes/etags.el (tags-completion-at-point-function):
2260 Improve last fix.
2261
1acad97c
SM
2262 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2263
e298b5da
SS
22642012-03-21 Sam Steingold <sds@gnu.org>
2265
2266 * progmodes/etags.el (tags-completion-at-point-function):
2267 Avoid the error when point is inside the pattern.
2268
91d82a70
JY
22692012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2270
2271 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2272 line (Bug#10855).
2273
69188b79
CY
22742012-03-21 Drew Adams <drew.adams@oracle.com>
2275
2276 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2277
99fc91fe
AK
22782012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2279
2280 * ido.el (ido-set-current-directory, ido-read-internal)
2281 (ido-choose-completion-string, ido-completion-help): Handle nil
2282 value of ido-completion-buffer (Bug#11008).
2283
087bbb4c
SS
22842012-03-21 Sam Steingold <sds@gnu.org>
2285
2286 * window.el (switch-to-prev-buffer): Do not switch to a visible
2287 window previous buffer, just like with the frame previous buffers.
2288
fb5b8aca
CY
22892012-03-21 Chong Yidong <cyd@gnu.org>
2290
2291 * faces.el (make-face, make-empty-face, copy-face):
2292 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2293 Doc fixes.
2294
dc9924b8
SM
22952012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2298 (widget-complete): Remove broken use of it.
2299
f0bcceb9
CY
23002012-03-20 Chong Yidong <cyd@gnu.org>
2301
dc9924b8
SM
2302 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2303 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2304 characters.
2305
ee52ebf3
TH
23062012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2307
2308 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2309 to draw rectangles, not squares. (Regression introduced by revno
2310 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2311
4c5779ab
CY
23122012-03-18 Chong Yidong <cyd@gnu.org>
2313
2314 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2315 it is not yet defined (for temacs).
2316
15360934
LL
23172012-03-18 Leo Liu <sdl.web@gmail.com>
2318
dc9924b8 2319 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2320
d9a8eb66
EZ
23212012-03-17 Eli Zaretskii <eliz@gnu.org>
2322
2323 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2324 (ispell-choices-win-default-height, ispell-silently-savep)
2325 (ispell-dictionary-alist, ispell-encoding8-command)
2326 (ispell-check-version, ispell-aspell-find-dictionary)
2327 (ispell-valid-dictionary-list, ispell-words-keyword)
2328 (ispell-get-word, ispell-internal-change-dictionary)
2329 (ispell-region, ispell-skip-region-list)
2330 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2331 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2332 (ispell-message-text-end, ispell-message)
2333 (ispell-buffer-local-parsing): Doc fix.
2334
f02ff80d
J
23352012-03-13 Jambunathan K <kjambunathan@gmail.com>
2336
2337 * htmlfontify.el: Add support for code block fontification for ODT
2338 export (Bug #9914).
2339 (hfy-optimisations): Define new option
2340 `body-text-only'
2341 (hfy-fontify-buffer): Honor above setting.
2342 (hfy-begin-span, hfy-end-span): New routines factored out form
2343 `hfy-fontify-buffer'.
2344 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2345 that permit insertion of custom tags.
2346 (hfy-fontify-buffer): Use above handlers.
2347 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2348 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2349 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2350 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2351 bind a special variable `hfy-user-sheet-assoc'.
2352 (htmlfontify-string): New defun.
2353 (hfy-compile-face-map): Make sure that the last char in the
2354 buffer is correctly fontified.
2355 (hfy-face-resolve-face): Whitespace only change.
2356
9ac7a13f
EZ
23572012-03-17 Eli Zaretskii <eliz@gnu.org>
2358
2359 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2360 message more clear.
2361
e2b5bdd7
LL
23622012-03-16 Leo Liu <sdl.web@gmail.com>
2363
2364 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2365
2e492df3
AM
23662012-03-16 Alan Mackenzie <acm@muc.de>
2367
2368 Further optimise the handling of large macros.
2369
2370 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2371 limit to a call of `c-literal-limits'.
2372 (c-determine-+ve-limit): New function.
dc9924b8
SM
2373 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2374 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2375 In CASE 5B, restrict a search limit to 500.
2376 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2377
2378 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2379 Restrict macro bounds to +-500 from after-change's BEG END.
2380
50e94f0c
LL
23812012-03-16 Leo Liu <sdl.web@gmail.com>
2382
2383 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2384
6f09f6ed
AH
23852012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2386
2387 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2388 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2389
c7e73d51
GM
23902012-03-16 Glenn Morris <rgm@gnu.org>
2391
da986230
GM
2392 * view.el (view-buffer, view-buffer-other-window)
2393 (view-buffer-other-frame): Doc fixes re special mode-class.
2394
0835f01e
GM
2395 * subr.el (eval-after-load): If named feature is provided not from
2396 a file, run after-load forms. (Bug#10946)
2397
c7e73d51
GM
2398 * calendar/calendar.el (calendar-insert-at-column):
2399 Handle non-unit-width characters a bit better. (Bug#10978)
2400
3f2eafd1
CY
24012012-03-15 Chong Yidong <cyd@gnu.org>
2402
2403 * emacs-lisp/ring.el (ring-extend): New function.
2404 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2405
2406 * comint.el (comint-read-input-ring)
2407 (comint-add-to-input-history): Grow comint-input-ring lazily.
2408
103af3fe
SM
24092012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2410
663b1677
SM
2411 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2412 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2413
103af3fe
SM
2414 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2415 (imenu-add-to-menubar): Don't add a redundant index.
2416 (imenu-update-menubar): Handle a dynamically composed keymap.
2417
899cb7cb
KY
24182012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2419
2420 * mail/sendmail.el (mail-encode-header):
2421 Bind rfc2047-encode-encoded-words to nil.
2422
3809f91d
GM
24232012-03-13 Glenn Morris <rgm@gnu.org>
2424
2425 * calendar/calendar.el (calendar-string-spread):
2426 Handle non-unit-width characters a bit better. (Bug#10978)
2427
9e345a01
LL
24282012-03-13 Leo Liu <sdl.web@gmail.com>
2429
2430 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2431 directory and file as argument (Bug#10822).
2432
4a07df36
KS
24332012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2434
2435 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2436 For dynamically generated code, follow $PC.
2437 (gdb-disassembly-handler-custom): Handle no function name case.
2438
4aaa9356
TL
24392012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2440
2441 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2442 * emulation/ws-mode.el (ws-query-replace):
2443 * sort.el (sort-regexp-fields):
2444 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2445
225979da
SM
24462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * dabbrev.el: Fix cycle completion order (bug#10963).
2449 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2450 (dabbrev-completion): Don't use an obarray; provide
2451 a cycle-sort-function.
2452
e2f1fdab
LL
24532012-03-12 Leo Liu <sdl.web@gmail.com>
2454
dc9924b8 2455 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2456 (kill-do-not-save-duplicates): Doc fix.
2457
b19490ed
SM
24582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * dabbrev.el: Fix cycle completion (bug#10963).
2461 Use lexical binding and wrap to 80 columns.
2462 (dabbrev-completion): Delay computing the list of completions.
2463
4b05d722
KH
24642012-03-12 Kenichi Handa <handa@m17n.org>
2465
2466 * international/quail.el (quail-insert-kbd-layout): Surround each
2467 row by LRO and PDF instead of inserting many LRMs. Pad the left
2468 and right of each non-spacing marks. Insert invisible space
2469 between lower and upper characters to prevent composition.
2470
dbbc2e69
SM
24712012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * minibuffer.el (minibuffer-complete): Don't get confused when the
2474 function is run twice via different commands (bug#10958).
2475 (complete-with-action): Fix docstring.
2476
292112ed
CY
24772012-03-12 Chong Yidong <cyd@gnu.org>
2478
5d1ac394
CY
2479 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2480 (nxml-completion-at-point-function): New function.
2481 (nxml-mode): Use it.
2482 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2483
292112ed
CY
2484 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2485 Load generated autoloads file before byte compiling (Bug#10970).
2486 (package--make-autoloads-and-compile): New helper fun.
2487
4098f8f7
CS
24882012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2489
2490 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2491
8f754691
MA
24922012-03-11 Michael Albinus <michael.albinus@gmx.de>
2493
2494 * autorevert.el (auto-revert-handler): Ensure, that
2495 file-readable-p is applied only for local files or in
2496 auto-revert-tail-mode.
2497
e29ab36b
AS
24982012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2499
dbbc2e69
SM
2500 * server.el (server-eval-at): Handle non-tcp connections.
2501 Decode result string.
ad0bf5b6 2502
e29ab36b
AS
2503 * server.el (server-msg-size): New constant.
2504 (server-reply-print): New function.
2505 (server-eval-and-print): Use it.
2506 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2507 Handle -print-nonl.
2508
de5939ba
CS
25092012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2510
2511 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2512 (Bug#10987).
2513
0c93eabf
CY
25142012-03-11 Chong Yidong <cyd@gnu.org>
2515
397a688f
CY
2516 * simple.el (goto-line): Doc fix (Bug#9938).
2517
2cc775f9
CY
2518 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2519
0c93eabf
CY
2520 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2521 when finished (Bug#10963).
2522
c491fa41
MR
25232012-03-11 Martin Rudalics <rudalics@gmx.at>
2524
2525 * window.el (split-window-below): Fix bug in case where
2526 split-window-keep-point is nil (Bug#10971).
2527
300e8fa5
JL
25282012-03-11 Juri Linkov <juri@jurta.org>
2529
2530 * replace.el (replace-highlight): Set isearch-word to nil
2531 unconditionally. (Bug#10887)
2532
dbf6c5a1
EZ
25332012-03-10 Eli Zaretskii <eliz@gnu.org>
2534
2535 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2536 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2537 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2538 (mairix-widget-create-query): Add usage information about mairix
2539 search forms: negating words, searching for substrings, etc.
2540
b9e501de
JP
25412012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2542
2543 * international/fontset.el (font-encoding-alist): Add an entry for
2544 ksx1001 (Bug#5667).
2545
92795c91
RS
25462012-03-10 Richard Stallman <rms@gnu.org>
2547
1694e6c1
RS
2548 * mail/sendmail.el (mail-encode-header):
2549 Set rfc2047-encode-encoded-words.
2550
607e8555
RS
2551 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2552
de3bc99a
RS
2553 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2554 view buffer means not swapped.
2555 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2556 (rmail-write-region-annotate): Error if real text has disappeared.
2557
92795c91
RS
2558 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2559
699bd04e
CY
25602012-03-10 Chong Yidong <cyd@gnu.org>
2561
2562 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2563 * emulation/cua-base.el (cua--init-keymaps):
2564 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2565
570a1714
MR
25662012-03-10 Martin Rudalics <rudalics@gmx.at>
2567
dbbc2e69
SM
2568 * speedbar.el (speedbar-unhighlight-one-tag-line):
2569 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2570
82dcf4e4
CY
25712012-03-10 Chong Yidong <cyd@gnu.org>
2572
7a2c7ca7
CY
2573 * minibuffer.el (completion-in-region, completion-help-at-point):
2574 Give the completion field overlay a high priority (Bug#6830).
2575
82dcf4e4
CY
2576 * dired.el (dired-goto-file): Recognize absolute file name
2577 listings (Bug#7126).
2578 (dired-goto-file-1): New helper function.
2579 (dired-toggle-read-only): Inhibit warnings.
2580
052e28ac
MA
25812012-03-09 Michael Albinus <michael.albinus@gmx.de>
2582
75f1671a 2583 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2584 there are no properties.
2585
95d5e396
LL
25862012-03-09 Leo Liu <sdl.web@gmail.com>
2587
2588 * savehist.el (savehist-printable): Stricter check for string
2589 value (Bug#10937).
2590
3f018d6d
EZ
25912012-03-09 Eli Zaretskii <eliz@gnu.org>
2592
dbbc2e69
SM
2593 * mail/smtpmail.el (smtpmail-send-it):
2594 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2595 valid mbox format.
2596
f7fd3d79
GM
25972012-03-09 Glenn Morris <rgm@gnu.org>
2598
2599 * files.el (dir-locals-find-file):
2600 Don't check result is regular, readable.
2601 (dir-locals-read-from-file): Demote errors.
2602
6ff6e72f
EZ
26032012-03-08 Eli Zaretskii <eliz@gnu.org>
2604
dbbc2e69
SM
2605 * international/quail.el (quail-insert-kbd-layout):
2606 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2607 layout cell, to prevent their reordering by bidi display engine.
2608 For details, see the discussion in
2609 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2610
9cec7834
AM
26112012-03-08 Alan Mackenzie <acm@muc.de>
2612
2613 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2614 the starting position; make it extend the marked region when
2615 invoked repeatedly - all under appropriate circumstances.
2616 Fixes bugs #5525, #10906.
2617
9a40b8d4
GM
26182012-03-08 Glenn Morris <rgm@gnu.org>
2619
2620 * files.el (locate-dominating-file, dir-locals-find-file):
2621 Undo 2012-03-06 change.
2622
7a08ed35
EZ
26232012-03-07 Eli Zaretskii <eliz@gnu.org>
2624
dbbc2e69
SM
2625 * international/quail.el (quail-help):
2626 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2627 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2628 for the reason.
2629
5aca4f71 26302012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2631
2632 Avoid superfluous registering of signals. (Bug#10807)
2633
2634 * notifications.el (notifications-on-action-object)
2635 (notifications-on-close-object): New defvars.
2636 (notifications-on-action-signal, notifications-on-closed-signal):
2637 Unregister the signal if not needed any longer.
2638 (notifications-notify): Register `notifications-action-signal' or
2639 `notifications-closed-signal', if :on-action or :on-close has been
2640 passed as argument.
2641
78e8b10a
CY
26422012-03-07 Chong Yidong <cyd@gnu.org>
2643
2644 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2645 non-X platforms.
2646
69481eb8
GM
26472012-03-06 Glenn Morris <rgm@gnu.org>
2648
2649 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2650 (x-disown-selection-internal, x-get-selection-internal):
2651 Doc fix (add arglist signatures). (Bug#10783)
2652
133b8e11
KS
26532012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2654
2655 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2656 Handle breakpoints with no "type".
2657
99a83064
GM
26582012-03-06 Glenn Morris <rgm@gnu.org>
2659
2660 * files.el (locate-dominating-file): Add optional predicate argument.
2661 (dir-locals-find-file): Make use of above change.
2662
17798e78
TTN
26632012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2664
2665 * info.el (Info-insert-dir): Also try "dir.gz".
2666
eb182446
GM
26672012-03-06 Glenn Morris <rgm@gnu.org>
2668
8f2114ee
GM
2669 * files.el (dir-locals-find-file):
2670 Ignore non-readable or non-regular files. (Bug#10928)
2671
eb182446
GM
2672 * files.el (locate-dominating-file): Doc fix.
2673
24679323
AS
26742012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2675
2676 * calendar/calendar.el (calendar-set-mode-line):
2677 `getenv' returns a string. (Bug#10951)
2678
01d972a9
LL
26792012-03-05 Leo Liu <sdl.web@gmail.com>
2680
109aa8a9
LL
2681 * simple.el (backward-delete-char-untabify): Constrain point to
2682 field (Bug#10939).
2683
01d972a9
LL
2684 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2685
10607bea
CY
26862012-03-05 Chong Yidong <cyd@gnu.org>
2687
2688 * simple.el (count-words): If called from Lisp, return the word
2689 count, for symmetry with `count-lines'. Arglist changed.
2690 (count-words--message): Args changed. Consolidate counting code
2691 from count-words and count-words-region.
2692 (count-words-region): Caller changed.
2693 (count-lines-region): Make it an obsolete alias.
2694
5dd11cfe
TH
26952012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2696
2697 * saveplace.el (save-place-to-alist)
2698 (save-place-ignore-files-regexp): Allow value nil to disable this
2699 feature.
2700
c349f4e6
CY
27012012-03-04 Chong Yidong <cyd@gnu.org>
2702
2703 * faces.el (face-spec-reset-face): For the default face, reset the
2704 attributes to default values (Bug#10748).
2705
e627be4c
LMI
27062012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2707
2708 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2709 previous patch: Check `message-send-mail-function', and not the
2710 default function (bug#10897).
2711
ebeabff4
MA
27122012-03-04 Michael Albinus <michael.albinus@gmx.de>
2713
a41a6cf4
MA
2714 * notifications.el (notifications-on-action-signal)
2715 (notifications-on-closed-signal): Check for unique service name of
2716 incoming event. Fix error in removing entry.
ebeabff4 2717 (top): Register for signals with wildcard service name.
a41a6cf4 2718 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2719
c1ca42b4
CY
27202012-03-04 Chong Yidong <cyd@gnu.org>
2721
dc9924b8 2722 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2723
ea16568d
GM
27242012-03-04 Glenn Morris <rgm@gnu.org>
2725
2726 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2727 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2728 (expand-abbrev, define-abbrev-table): Doc fixes.
2729
fbae4637
LMI
27302012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2731
2732 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2733 `message-default-send-mail-function' and not `send-mail-function'
2734 when doing the prompting for `sendmail-query-once' before sending
2735 in Message buffers (bug#10897).
2736
a1e7225c
LMI
2737 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2738 This is inconsistent with all the other stream functions, which leave
2739 the setting up to the higher levels (if so wanted) (bug#10931).
2740
56d093a9
AM
27412012-03-02 Alan Mackenzie <acm@muc.de>
2742
2743 Depessimize the handling of very large macros.
2744
2745 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2746 (c-macro-cache-syntactic): New variables to implement a one
2747 element macro cache.
2748 (c-invalidate-macro-cache): New function.
2749 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2750 Adapt to use the new cache.
2751 (c-state-safe-place): Use better the cache of safe positions.
2752 (c-state-semi-nonlit-pos-cache)
2753 (c-state-semi-nonlit-pos-cache-limit):
2754 New variables for...
2755 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2756 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2757 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2758 Use c-state-semi-safe-place.
56d093a9 2759
dbbc2e69
SM
2760 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2761 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2762
817e5c3d
MA
27632012-03-02 Michael Albinus <michael.albinus@gmx.de>
2764
dbbc2e69
SM
2765 * jka-compr.el (jka-compr-call-process):
2766 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2767 not remote.
2768
a032a702
MA
27692012-03-01 Michael Albinus <michael.albinus@gmx.de>
2770
2771 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2772 access of FILE2, if FILE1 does not exist.
2773
99a54f21
MA
2774 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2775 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2776
2777 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2778 Add "PAGER=" to `process-environment'.
2779
f6561e1f
MM
27802012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2781
2782 * progmodes/sql.el: Bug fix
2783 (sql-get-login-ext): Save login values in globals.
2784 (sql-get-login): Use new version of `sql-get-login-ext'.
2785 (sql-interactive-mode): Set global `sql-connection' to nil.
2786 (sql-connect): Set global values for connection.
2787 (sql-product-interactive): Save global values as buffer local.
2788
2d44d9cc
LL
27892012-02-29 Leo Liu <sdl.web@gmail.com>
2790
2791 * abbrev.el (define-abbrevs): Reset sys to nil.
2792
96b49301 27932012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2794
bf7f9bc5
JB
2795 * files.el (file-equal-p): Rename from `files-equal-p'.
2796 Return nil when one or both files don't exist.
96b49301 2797 (file-subdir-of-p): Now only top directory must exists,
2798 return nil if it doesn't.
bf7f9bc5
JB
2799 (copy-directory): No need to test with `file-subdir-of-p' after
2800 creating dir.
2801 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2802 to `file-equal-p'.
96b49301 2803
44e97401
GM
28042012-02-28 Glenn Morris <rgm@gnu.org>
2805
2806 * shell.el (shell-mode):
2807 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2808 * play/landmark.el (landmark-font-lock-face-O):
2809 * play/handwrite.el (handwrite):
2810 * play/gomoku.el (gomoku-O):
2811 * net/browse-url.el (browse-url-browser-display):
2812 * international/mule.el (define-charset):
2813 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2814 * filesets.el (filesets-find-file-delay):
2815 * eshell/em-xtra.el (eshell-xtra):
2816 * eshell/em-unix.el (eshell-grep):
2817 * emulation/viper.el (viper-mode):
2818 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2819 * emacs-lisp/easymenu.el (easy-menu-define):
2820 * calendar/timeclock.el (timeclock-use-display-time):
2821 * bs.el (bs-mode):
2822 * bookmark.el (bookmark-save-flag):
2823 Doc fix (standardize possessive apostrophe usage).
2824
c98c6276
CY
28252012-02-27 Chong Yidong <cyd@gnu.org>
2826
bf7f9bc5
JB
2827 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2828 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2829
c98c6276
CY
2830 * font-lock.el (font-lock-specified-p): Rename from
2831 font-lock-spec-present. Callers changed.
2832
9c62cd04 28332012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2834
bf7f9bc5
JB
2835 * emacs-lisp/package.el (package-compute-transaction):
2836 Handle holding a package version to t in package-load-list.
8ac9e529 2837
530739c9
MA
28382012-02-26 Michael Albinus <michael.albinus@gmx.de>
2839
2840 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2841 (tramp-get-inode, tramp-get-device): Use cached values.
2842
487915d7
AM
28432012-02-26 Alan Mackenzie <acm@muc.de>
2844
2845 Check there is a font-lock specification before doing initial
2846 fontification.
2847
2848 * font-core.el (font-lock-mode): Move the conditional from
2849 :after-hook to font-lock-initial-fontify.
2850 (font-lock-default-function): Move the check for a specification
2851 to font-lock-spec-present.
2852
dc9924b8 2853 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2854 (font-lock-spec-present): New function.
2855
4fd96557
JB
28562012-02-26 Jim Blandy <jimb@red-bean.com>
2857
2858 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2859 (gdb-send): Apply it to the operand of the '-interpreter-exec
2860 console' command, so that we can pass arguments with (say) quotes
2861 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2862
9a4888c0
CY
28632012-02-26 Chong Yidong <cyd@gnu.org>
2864
07498861
CY
2865 * help-fns.el (describe-function-1): Clarify description of
2866 remapping (Bug#10844).
2867
9a4888c0
CY
2868 * files.el (files-equal-p): Doc fix.
2869 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2870 and quit the loop once a mismatch is found.
2871
ea8fb88d
JB
28722012-02-25 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * bs.el (bs--show-with-configuration): Don't throw an error
2875 if the window cannot be split; otherwise, subsequent calls to
2876 bs-show fail, restoring a stale window config. (Bug#10882)
2877
525795c1
JD
28782012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2879
2880 * term/ns-win.el (global-map): Bind ns-drag-file to
2881 ns-find-file (Bug#5855, Bug#10050).
2882
f008086f
AS
28832012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2884
2885 * calendar/parse-time.el (parse-time-string): Allow extractor to
2886 return nil.
2887
a3fcfa99
MA
28882012-02-25 Michael Albinus <michael.albinus@gmx.de>
2889
91027d08
JB
2890 * net/tramp.el (tramp-file-name-for-operation):
2891 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2892
2893 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2894 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2895 Add COPY-CONTENTS argument.
a3fcfa99 2896
67b0de11
CY
28972012-02-25 Chong Yidong <cyd@gnu.org>
2898
2899 Add custom groups for VC backends, for consistency with vc-bzr.
2900
2901 * vc/vc-arch.el (vc-arch):
2902 * vc/vc-cvs.el (vc-cvs):
2903 * vc/vc-git.el (vc-git):
2904 * vc/vc-hg.el (vc-hg):
2905 * vc/vc-mtn.el (vc-mtn):
2906 * vc/vc-rcs.el (vc-rcs):
2907 * vc/vc-sccs.el (vc-sccs):
2908 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2909 All relevant defcustoms reassigned.
2910
3c9dfce6
CY
29112012-02-25 Chong Yidong <cyd@gnu.org>
2912
1339bf43
CY
2913 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2914
3c9dfce6
CY
2915 * term/x-win.el (x-initialize-window-system): Reduce default for
2916 x-selection-timeout to 5 seconds (Bug#8869).
2917
25b2e303 29182012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2919
ec70a47d
GM
2920 * files.el (files-equal-p, file-subdir-of-p): New functions.
2921 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2922 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2923 * dired-aux.el (dired-copy-file-recursive): Same.
2924 (dired-create-files): Modify destination when source is equal to
2925 dest when copying files.
53a46cd0 2926 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2927
914260cd
MA
29282012-02-24 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2931 (Bug#10874)
2932
2cb228f7
AM
29332012-02-23 Alan Mackenzie <acm@muc.de>
2934
2935 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2936 parameter "after-hook:" to allow the expansion to run code after
2937 the execution of the mode hooks.
2938
2939 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2940 from font-lock-mode-internal.
2cb228f7 2941
91027d08 2942 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2943 :after-hook.
2944
8f0fde21
SM
29452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2946
3e88618b
SM
2947 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2948 (completion--cache-all-sorted-completions): New function.
2949 (completion-all-sorted-completions): Use it.
2950 (completion--do-completion, minibuffer-force-complete):
2951 Use it to re-instate the flush hook.
2952
8f0fde21
SM
2953 * icomplete.el (icomplete-completions): Replace last fix with a better
2954 one (bug#10850).
2955
8e911f6f
DG
29562012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2957
2958 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2959 when it might call us back infinitely (bug#10797).
2960
49fe4321
GM
29612012-02-23 Glenn Morris <rgm@gnu.org>
2962
2963 * minibuffer.el (completion-category-overrides): Doc fix.
2964
b291b572
SM
29652012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2968 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2969
31a9ef2e
GM
29702012-02-23 Glenn Morris <rgm@gnu.org>
2971
5e6e6794 2972 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2973 (authors-obsolete-files-regexps, authors-ignored-files)
2974 (authors-ambiguous-files, authors-renamed-files-alist):
2975 Add more entries.
2976
0bd1e074
JL
29772012-02-23 Juri Linkov <juri@jurta.org>
2978
2979 * isearch.el (isearch-occur): Sync interactive spec with occur's
2980 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2981
b617673c
JL
2982 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2983
19e9789e
JL
29842012-02-22 Juri Linkov <juri@jurta.org>
2985
2986 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2987 (ucs-insert): Doc fix. Check for hex digits in the string.
2988 Don't display `nil' in the error message. (Bug#10857)
2989
f41ce09d
AM
29902012-02-22 Alan Mackenzie <acm@muc.de>
2991
7a71b18d 2992 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2993
ac2eceee
GM
29942012-02-22 Glenn Morris <rgm@gnu.org>
2995
2996 * ffap.el (ffap-c-path):
2997 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2998
abd1f678
CY
29992012-02-22 Chong Yidong <cyd@gnu.org>
3000
3001 * custom.el (load-theme): Doc fix.
3002
f25aef2e
GM
30032012-02-22 Glenn Morris <rgm@gnu.org>
3004
3005 * dired-x.el (dired-guess-shell-alist-default):
3006 Remove escape sequences from nroff output. (Bug#172)
3007
5f8dc2ca
GM
30082012-02-21 Glenn Morris <rgm@gnu.org>
3009
6ff86ec4
GM
3010 * vc/emerge.el (emerge-defvar-local):
3011 Set `permanent-local' property rather than unused `preserved'.
3012
be3223a3 3013 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3014 (picture-mode-map): Use it. (Bug#10860)
3015 (picture-mode): Doc fix.
3016
3fe58f4f
JB
30172012-02-21 Juanma Barranquero <lekktu@gmail.com>
3018
3019 * newcomment.el (uncomment-region-default): Remove unused binding.
3020
f9a998c3
GM
30212012-02-21 Glenn Morris <rgm@gnu.org>
3022
3023 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3024 (picture-self-insert, picture-tab-chars): Doc fix.
3025 (picture-mode-map): Fix C-a, C-e.
3026
c6029348
GM
30272012-02-20 Glenn Morris <rgm@gnu.org>
3028
3029 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3030
ab1ce9d7
LL
30312012-02-20 Leo Liu <sdl.web@gmail.com>
3032
3033 * icomplete.el (icomplete-completions): Check FROM arg before
3034 passing to substring (Bug#10850).
3035
0fd40f89
CY
30362012-02-19 Chong Yidong <cyd@gnu.org>
3037
3038 * comint.el: Require ansi-color.
3039 (comint-output-filter-functions): Add ansi-color-process-output.
3040
3041 * ansi-color.el: Don't set comint-output-filter-functions; it is
3042 now in the initial value defined in comint.el.
3043 (ansi-color-apply-face-function): New variable.
3044 (ansi-color-apply-on-region): Use it.
3045 (ansi-color-apply-overlay-face): New function.
3046
3047 * shell.el (shell): No need to require ansi-color.
3048 (shell-mode): Use ansi-color-apply-face-function to highlight
3049 color escapes using font-lock-face property (Bug#10835).
3050
20af2394
CY
30512012-02-19 Chong Yidong <cyd@gnu.org>
3052
3053 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3054 mode-line formats (Bug#10839).
3055
e23a3fbe
GM
30562012-02-18 Glenn Morris <rgm@gnu.org>
3057
b474519e
GM
3058 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3059
3060 * mail/undigest.el (unforward-rmail-message): Doc fix.
3061
e23a3fbe
GM
3062 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3063
57939ff4
EZ
30642012-02-18 Eli Zaretskii <eliz@gnu.org>
3065
3066 * international/characters.el (script-list): Sync with the latest
3067 Unicode Character Database.
3068
0c23686e
AS
30692012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3070
3071 * international/titdic-cnv.el: Remove duplicate coding tag.
3072 * language/cham.el: Likewise.
3073 * language/tai-viet.el: Likewise.
3074
6818b449
GM
30752012-02-18 Glenn Morris <rgm@gnu.org>
3076
3077 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3078 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3079 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3080 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3081 * calendar/holidays.el (holiday-bahai-holidays)
3082 (calendar-holidays, list-holidays):
3083 Use utf-8 Bahá'í in doc-strings, menus, etc.
3084
0311a3fc
TH
30852012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3086
3087 * saveplace.el (save-place-ignore-files-regexp): New variable
3088 allowing for excluding files from saving their location of point.
3089 The default value matches the temporary commit message editing
3090 files from Git, SVN, Bazaar, and Mercurial.
3091 (save-place-to-alist): Use it.
3092
eb864a71
LM
30932012-02-17 Lawrence Mitchell <wence@gmx.li>
3094 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * newcomment.el (uncomment-region-default): Don't leave extra space
3097 when an arg is provided (bug#8150).
3098
ee0ce425
TZ
30992012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3100
eb864a71 3101 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3102
95ddf442
GM
31032012-02-17 Glenn Morris <rgm@gnu.org>
3104
3105 * net/socks.el: Require network-stream. (Bug#10599)
3106
48dd1e39 31072012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3108
3109 * international/charprop.el:
3110 * international/uni-name.el:
3111 * international/uni-old-name.el:
3112 * international/uni-comment.el: Regenerate.
3113
d68cd087
GM
31142012-02-16 Glenn Morris <rgm@gnu.org>
3115
3116 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3117 Interactively in calendar buffer, give an error if not on a date.
3118
13932042
GM
31192012-02-15 Glenn Morris <rgm@gnu.org>
3120
3121 * shell.el (shell-delimiter-argument-list):
3122 Revert 2011-02-17 change. (Bug#8027)
3123
c3a70e2b
CY
31242012-02-15 Chong Yidong <cyd@gnu.org>
3125
60236b0d
CY
3126 * minibuffer.el (completion-at-point-functions): Doc fix.
3127
c3a70e2b
CY
3128 * custom.el (defcustom): Doc fix; note use of defvar.
3129
9f26dc24
GM
31302012-02-15 Glenn Morris <rgm@gnu.org>
3131
3132 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3133 Doc fixes.
3134
6546b134
GM
31352012-02-14 Glenn Morris <rgm@gnu.org>
3136
3137 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3138
d29b2b4c
LI
31392012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3140
3141 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3142 way the ports list is computed.
835bdcba
LI
3143 (smtpmail-query-smtp-server): Prompt the user for a port number if
3144 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3145
08dcdbc9
TZ
31462012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3147
3148 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3149
2605051a
GM
31502012-02-13 Glenn Morris <rgm@gnu.org>
3151
3152 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3153
7ee99f32
TZ
31542012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3155
3156 * net/gnutls.el (gnutls-trustfiles): New variable.
3157 (gnutls-negotiate): Use it.
3158
5f0af64f
LI
31592012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3160
3161 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3162 does its stuff if Gnus is running.
3163
c14fcc95
AM
31642012-02-13 Alan Mackenzie <acm@muc.de>
3165
3166 Fix a loop in c-set-fl-decl-start.
3167
7a71b18d 3168 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3169 c-backward-syntactic-ws actually moves backwards.
3170
142b4d90
LL
31712012-02-13 Leo Liu <sdl.web@gmail.com>
3172
3173 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3174 beginning so that all \C-o chars are removed.
3175
fa9958a6
TZ
31762012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3177
dc9924b8 3178 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3179
0bc5886a
AM
31802012-02-12 Alan Mackenzie <acm@muc.de>
3181
3182 Fix infinite loop with long macros.
4d6769e1 3183 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3184
d4bd55e7
CY
31852012-02-12 Chong Yidong <cyd@gnu.org>
3186
3187 * window.el (display-buffer): Doc fix (Bug#10785).
3188
66f3fe22
GM
31892012-02-12 Glenn Morris <rgm@gnu.org>
3190
bd7da63e
GM
3191 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3192 (x-disown-selection-internal, x-get-selection-internal):
3193 Sync docs with the xselect.c versions.
3194
66f3fe22
GM
3195 * allout-widgets.el: Add missing license notice.
3196
3e0d2fa7
GM
31972012-02-11 Glenn Morris <rgm@gnu.org>
3198
cfecdf09
GM
3199 * select.el (x-get-selection-internal, x-own-selection-internal)
3200 (x-disown-selection-internal):
3201 * x-dnd.el (x-get-selection-internal): Update declarations.
3202
6d216d7f
GM
3203 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3204
2bed3f04
GM
3205 * window.el (window-sides-slots):
3206 * tool-bar.el (tool-bar-position):
3207 * term/xterm.el (xterm-extra-capabilities):
3208 * ses.el (ses-self-reference-early-detection):
3209 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3210 (verilog-auto-wire-type)
3211 (verilog-auto-delete-trailing-whitespace)
3212 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3213 (verilog-auto-tieoff-declaration):
3214 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3215 (sql-oracle-statement-starters, sql-oracle-scan-on):
3216 * progmodes/prolog.el (prolog-align-comments-flag)
3217 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3218 (prolog-left-indent-regexp, prolog-paren-indent-p)
3219 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3220 (prolog-types, prolog-mode-specificators)
3221 (prolog-determinism-specificators, prolog-directives)
3222 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3223 (prolog-electric-dot-flag)
3224 (prolog-electric-dot-full-predicate-template)
3225 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3226 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3227 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3228 (prolog-program-switches, prolog-prompt-regexp)
3229 (prolog-debug-on-string, prolog-debug-off-string)
3230 (prolog-trace-on-string, prolog-trace-off-string)
3231 (prolog-zip-on-string, prolog-zip-off-string)
3232 (prolog-use-standard-consult-compile-method-flag)
3233 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3234 (prolog-imenu-max-lines, prolog-info-predicate-index)
3235 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3236 (prolog-char-quote-workaround):
3237 * progmodes/cc-vars.el (c-defun-tactic):
3238 * net/tramp.el (tramp-encoding-command-interactive)
3239 (tramp-local-end-of-line):
3240 * net/soap-client.el (soap-client):
3241 * net/netrc.el (netrc-file):
3242 * net/gnutls.el (gnutls):
3243 * minibuffer.el (completion-category-overrides)
3244 (completion-cycle-threshold)
3245 (completion-pcm-complete-word-inserts-delimiters):
3246 * man.el (Man-name-local-regexp):
3247 * mail/feedmail.el (feedmail-display-full-frame):
3248 * international/characters.el (glyphless-char-display-control):
3249 * eshell/em-ls.el (eshell-ls-date-format):
3250 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3251 (lisp-lambda-list-keyword-parameter-indentation)
3252 (lisp-lambda-list-keyword-parameter-alignment):
3253 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3254 * dired-x.el (dired-omit-verbose):
3255 * cus-theme.el (custom-theme-allow-multiple-selections):
3256 * calc/calc.el (calc-highlight-selections-with-faces)
3257 (calc-lu-field-reference, calc-lu-power-reference)
3258 (calc-note-threshold):
3259 * battery.el (battery-mode-line-limit):
3260 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3261 (archive-7z-update):
3262 * allout.el (allout-prefixed-keybindings)
3263 (allout-unprefixed-keybindings)
3264 (allout-inhibit-auto-fill-on-headline)
3265 (allout-flattened-numbering-abbreviation):
3266 * allout-widgets.el (allout-widgets-auto-activation)
3267 (allout-widgets-icons-dark-subdir)
3268 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3269 (allout-widgets-theme-dark-background)
3270 (allout-widgets-theme-light-background)
3271 (allout-widgets-item-image-properties-emacs)
3272 (allout-widgets-item-image-properties-xemacs)
3273 (allout-widgets-run-unit-tests-on-load)
3274 (allout-widgets-time-decoration-activity)
3275 (allout-widgets-hook-error-post-time)
3276 (allout-widgets-track-decoration):
3277 Add missing :version tags to new defcustoms and defgroups.
3278
5fec1b8e
GM
3279 * progmodes/sql.el (sql-ansi-statement-starters)
3280 (sql-oracle-statement-starters): Add custom type.
3281
3e0d2fa7
GM
3282 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3283 (prolog-system-version): Give it a type.
3284
90b671e2
EZ
32852012-02-11 Eli Zaretskii <eliz@gnu.org>
3286
3287 * term/pc-win.el (x-select-text, x-selection-owner-p)
3288 (x-own-selection-internal, x-disown-selection-internal)
3289 (x-get-selection-internal): Sync doc strings and argument lists
3290 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3291
5eac0c02
LL
32922012-02-11 Leo Liu <sdl.web@gmail.com>
3293
3294 * progmodes/python.el (python-end-of-statement): Fix infinite
3295 loop. (Bug#10788)
3296
f82cb659
GM
32972012-02-10 Glenn Morris <rgm@gnu.org>
3298
3299 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3300 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3301
cc26d239
LI
33022012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3303
3304 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3305 about SMTP before checking the From header.
3306
91027d08 3307 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3308 into own function for reuse by emacsbug.el.
3309
1be3ca5a
LL
33102012-02-10 Leo Liu <sdl.web@gmail.com>
3311
3312 * subr.el (condition-case-unless-debug): Rename from
3313 condition-case-no-debug. All callers changed.
3314 (with-demoted-errors): Fix caller.
3315
3316 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3317 * nxml/rng-valid.el (rng-do-some-validation):
3318 * emacs-lisp/package.el (package-refresh-contents)
3319 (package-menu-execute):
3320 * desktop.el (desktop-create-buffer):
91027d08 3321 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3322
b011fbfe
GM
33232012-02-10 Glenn Morris <rgm@gnu.org>
3324
b2096d72
GM
3325 * textmodes/bibtex.el:
3326 Add missing :version tags for new/changed defcustoms.
3327
b011fbfe
GM
3328 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3329
4c7e65bf
LI
33302012-02-09 Lars Ingebrigtsen <larsi@rusty>
3331
3332 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3333 (smtpmail-via-smtp): Use it, or fall back on the From address.
3334 (smtpmail-send-it): Ditto.
3335
f3934f6f
SM
33362012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3339 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3340 (byte-compile-tmp-var): New const.
3341 (byte-compile-defvar): Use it to minimize .elc size.
3342 Just use `defvar' rather than simulate it (bug#10761).
3343
a075a2c5
GM
33442012-02-09 Glenn Morris <rgm@gnu.org>
3345
cf3aa21b
GM
3346 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3347
354998cd
GM
3348 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3349 Add :version tags.
3350
dc9924b8
SM
3351 * progmodes/compile.el (compilation-error-screen-columns)
3352 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3353
dab3703d
GM
3354 * vc/log-view.el (log-view-toggle-entry-display):
3355 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3356
3f88cd72
GM
3357 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3358 (report-emacs-bug-can-use-xdg-email):
3359 (report-emacs-bug-insert-to-mailer): Doc fixes.
3360 (report-emacs-bug): Message fix.
3361
d95b247d
GM
3362 * net/browse-url.el (browse-url-can-use-xdg-open)
3363 (browse-url-xdg-open): Doc fixes.
3364
a075a2c5
GM
3365 * electric.el (electric-indent-mode, electric-pair-mode)
3366 (electric-layout-rules, electric-layout-mode): Doc fixes.
3367 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3368
ffb6157e
MR
33692012-02-08 Martin Rudalics <rudalics@gmx.at>
3370
3371 * server.el (server-unselect-display): Don't inadvertently kill
3372 the current buffer. (Bug#10729)
3373
e1ac4066
GM
33742012-02-08 Glenn Morris <rgm@gnu.org>
3375
34e8a2da
GM
3376 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3377 (sql-list-table): Doc fixes.
3378
b4ac6e8c
GM
3379 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3380 Comment out (does nothing).
3381
e1ac4066
GM
3382 * completion.el (dynamic-completion-mode):
3383 * dirtrack.el (dirtrack-debug-mode):
3384 * electric.el (electric-layout-mode):
3385 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3386 * face-remap.el (text-scale-mode, buffer-face-mode):
3387 * iimage.el (iimage-mode):
3388 * image-mode.el (image-transform-mode):
3389 * minibuffer.el (completion-in-region-mode):
3390 * scroll-lock.el (scroll-lock-mode):
3391 * simple.el (next-error-follow-minor-mode):
3392 * tar-mode.el (tar-subfile-mode):
3393 * tooltip.el (tooltip-mode):
3394 * vcursor.el (vcursor-use-vcursor-map):
3395 * wid-browse.el (widget-minor-mode):
3396 * emulation/tpu-edt.el (tpu-edt-mode):
3397 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3398 * international/iso-ascii.el (iso-ascii-mode):
3399 * language/thai-util.el (thai-word-mode):
3400 * mail/supercite.el (sc-minor-mode):
3401 * net/goto-addr.el (goto-address-mode):
3402 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3403 * progmodes/cwarn.el (cwarn-mode):
3404 * progmodes/flymake.el (flymake-mode):
3405 * progmodes/glasses.el (glasses-mode):
3406 * progmodes/hideshow.el (hs-minor-mode):
3407 * progmodes/pascal.el (pascal-outline-mode):
3408 * textmodes/enriched.el (enriched-mode):
3409 * vc/smerge-mode.el (smerge-mode):
3410 Doc fixes (minor mode argument).
3411
5e0d957f
EZ
34122012-02-07 Eli Zaretskii <eliz@gnu.org>
3413
3414 * ls-lisp.el (ls-lisp-sanitize): New function.
3415 (ls-lisp-insert-directory): Use it to fix or remove any elements
3416 in file-alist with missing attributes. (Bug#4673)
3417
98d7371e
AM
34182012-02-07 Alan Mackenzie <acm@muc.de>
3419
3420 Fix spurious recognition of c-in-knr-argdecl.
3421
3422 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3423 putative K&R region.
3424
667ced3a
AM
34252012-02-07 Alan Mackenzie <acm@muc.de>
3426
eb864a71
LM
3427 * progmodes/cc-engine.el (c-forward-objc-directive):
3428 Prevent looping in "#pragma mark @implementation".
667ced3a 3429
5b77774d
MA
34302012-02-07 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * notifications.el (notifications-on-closed-signal): Make `reason'
3433 optional. (Bug#10744)
3434
af008560
GM
34352012-02-07 Glenn Morris <rgm@gnu.org>
3436
60d47423
GM
3437 * emacs-lisp/easy-mmode.el (define-minor-mode):
3438 Doc fixes for the macro and the mode it defines.
3439
dd605cc4
GM
3440 * image.el (imagemagick-types-inhibit): Doc fix.
3441
af008560
GM
3442 * cus-start.el (imagemagick-render-type): Add it.
3443
5cc59a37
LI
34442012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3445
4d6769e1
JB
3446 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3447 Set the default at load time, too, so that `font-lock-fontify-buffer'
3448 can be called without setting up the entire mode first. This fixes
3449 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3450
9a6dd747
CY
34512012-02-06 Chong Yidong <cyd@gnu.org>
3452
2d16b285
CY
3453 * simple.el (list-processes--refresh): Delete exited processes
3454 (Bug#8094).
3455
171e9b6e
CY
3456 * comint.el (comint-next-prompt): next-single-char-property-change
3457 and prev-single-char-property-change never return nil (Bug#8657).
3458
9a6dd747
CY
3459 * custom.el (defcustom): Doc fix (Bug#9711).
3460
aa4589a7
CY
34612012-02-05 Chong Yidong <cyd@gnu.org>
3462
5c2a252f
CY
3463 * cus-edit.el (custom-variable-reset-backup): Quote the value
3464 before storing it in the customized-value property (Bug#6712).
4aab9006 3465 (custom-display): Add a customization type tag.
983b9602 3466 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3467
aa4589a7
CY
3468 * wid-edit.el (widget-field-value-get): New optional arg to
3469 suppress trailing whitespace truncation.
3470 (character): Use it (Bug#2689).
3471
1ff980ae
AS
34722012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3473
3474 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3475 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3476
03988c98
CY
34772012-02-05 Chong Yidong <cyd@gnu.org>
3478
eeb6cc88
CY
3479 * cus-edit.el (custom-variable-value-create): For mismatched
3480 types, show the current value (Bug#7600).
3481
03988c98
CY
3482 * custom.el (defcustom): Doc fix.
3483
f8cdeef0
GM
34842012-02-05 Glenn Morris <rgm@gnu.org>
3485
3486 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3487
0696d255
JB
34882012-02-05 Juanma Barranquero <lekktu@gmail.com>
3489
3490 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3491 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3492 (pp-last-sexp): Use `looking-at-p'.
3493
34c99998
GM
34942012-02-04 Glenn Morris <rgm@gnu.org>
3495
8f05da42
GM
3496 * files.el (revert-buffer):
3497 Doc fix (mention revert-buffer-in-progress-p).
3498
f160676e
GM
3499 * emacs-lisp/ert-x.el (ert-simulate-command):
3500 Check deferred-action-list (which is obsolete) is bound.
3501
c7291ad9
GM
3502 * subr.el (with-wrapper-hook): Doc fixes.
3503
34c99998
GM
3504 * simple.el (filter-buffer-substring-functions)
3505 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3506
6283a7d3
LL
35072012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3508
3509 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3510 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3511
e96e3013
LL
35122012-02-04 Leo Liu <sdl.web@gmail.com>
3513
3514 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3515
8ded50f2
GM
35162012-02-04 Glenn Morris <rgm@gnu.org>
3517
82ff1d13
GM
3518 * image.el (image-extension-data): Add obsolete alias.
3519
987a0a16
GM
3520 * isearch.el (isearch-update): Doc fix.
3521
ea32ef46
GM
3522 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3523
8ded50f2
GM
3524 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3525
eea14f31
GM
35262012-02-03 Glenn Morris <rgm@gnu.org>
3527
3528 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3529 (image-animate-timeout): Doc fix.
3530
3531 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3532
12f381b7
GM
35332012-02-02 Glenn Morris <rgm@gnu.org>
3534
953cebf5
GM
3535 * server.el (server-auth-dir): Doc fix.
3536 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3537
12f381b7
GM
3538 * subr.el (run-mode-hooks): Doc fix.
3539
953a8c3b
JL
35402012-02-02 Juri Linkov <juri@jurta.org>
3541
3542 * image-mode.el (image-toggle-display-image): Remove tautological
3543 `major-mode' from the `derived-mode-p' test.
3544
c5d3843c
KH
35452012-02-02 Kenichi Handa <handa@m17n.org>
3546
9f6e692e 3547 * composite.el (compose-region): Cancel previous change.
c5d3843c 3548
159462d4 35492012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3550
3551 * composite.el (compose-region, compose-string): Signal error for
3552 a null string component (Bug#6988).
3553
9f562668
CY
35542012-02-01 Chong Yidong <cyd@gnu.org>
3555
e2cef717
CY
3556 * view.el (view-buffer-other-window, view-buffer-other-frame):
3557 Handle special modes like view-buffer (Bug#10650).
3558 (view-buffer): Simplify.
3559
9f562668
CY
3560 * frame.el (set-frame-font): Tweak meaning of third argument.
3561
9f6e692e
JB
3562 * dynamic-setting.el (font-setting-change-default-font):
3563 Use set-frame-font (Bug#9982).
9f562668 3564
781acb9f
GM
35652012-02-01 Glenn Morris <rgm@gnu.org>
3566
6035be52
GM
3567 * progmodes/compile.el (compilation-internal-error-properties):
3568 Respect compilation-first-column in the "*compilation*" buffer.
3569
781acb9f
GM
3570 * emacs-lisp/easy-mmode.el (define-minor-mode):
3571 Relax :variable's test for a named function.
3572
abbceb00
AM
35732012-01-31 Alan Mackenzie <acm@muc.de>
3574
3575 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3576 off by one error.
3577
fce3fdeb
CY
35782012-01-31 Chong Yidong <cyd@gnu.org>
3579
3580 * frame.el (set-frame-font): New arg ALL-FRAMES.
3581
3582 * menu-bar.el (menu-set-font): Use set-frame-font.
3583
3584 * faces.el (face-spec-reset-face): Don't apply unspecified
3585 attribute values to the default face.
3586
47893581
JB
35872012-01-31 Juanma Barranquero <lekktu@gmail.com>
3588
3589 * progmodes/cwarn.el (cwarn): Remove dead link.
3590 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3591 Remove * from defcustom docstrings.
3592 (turn-on-cwarn-mode): Make obsolete.
3593 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3594 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3595
e58e988a
GM
35962012-01-31 Glenn Morris <rgm@gnu.org>
3597
60dc2671 3598 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3599 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3600 Allow named functions to be used as the cdr of :variable.
e58e988a 3601
7a3f511d
GM
36022012-01-30 Glenn Morris <rgm@gnu.org>
3603
3604 * emacs-lisp/authors.el (authors-fixed-entries):
3605 Remove reference to deleted file rnewspost.el.
3606
cb882333
JB
36072012-01-29 Juanma Barranquero <lekktu@gmail.com>
3608
3609 * window.el (window-with-parameter): Remove unused variable `windows'.
3610 (window--side-check): Remove unused variable `code'.
3611 (window--resize-siblings): Remove unused variable `first'.
3612 (adjust-window-trailing-edge): Remove unused variable `failed'.
3613 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3614 Use `let', not `let*'.
3615 (balance-windows-2): Remove unused variable `found'.
3616 (window--state-put-2): Remove unused variable `splits'.
3617 (window-state-put): Remove unused variable `selected'.
3618 (same-window-p): Use `string-match-p'.
3619 (display-buffer-assq-regexp): Remove unused variable `value'.
3620 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3621 Mark argument ALIST as ignored.
3622 (pop-to-buffer): Remove unused variable `old-window'.
3623
907201af
EZ
36242012-01-29 Eli Zaretskii <eliz@gnu.org>
3625
3626 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3627 and .lzma compressed files.
3628
ea162670
CY
36292012-01-29 Chong Yidong <cyd@gnu.org>
3630
5b95ee8a
CY
3631 * frame.el (window-system-default-frame-alist): Doc fix.
3632
ea162670
CY
3633 * dynamic-setting.el (font-setting-change-default-font): Don't
3634 change the default face if SET-FONT argument is non-nil (Bug#9982).
3635
d6e6f4b1
SB
36362012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3637
3638 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3639
0f29fa41 36402012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3641
3642 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3643 breakpoints in files outside current directory (Bug#6098).
3644
db174434
CY
36452012-01-29 Chong Yidong <cyd@gnu.org>
3646
6b25e4e2
SE
3647 * progmodes/python.el: Require ansi-color at top-level.
3648
6df6ae42
JB
3649 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3650 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3651 (lisp-mode-abbrev-table): Add doc.
3652 (lisp-mode-variables): Don't set local-abbrev-table.
3653 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3654
e70ee681
RW
36552012-01-28 Roland Winkler <winkler@gnu.org>
3656
3657 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3658
ace88aa2
RW
36592012-01-28 Roland Winkler <winkler@gnu.org>
3660
3661 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3662 (bibtex-set-dialect): Use it. Either set global values of
3663 dialect-dependent variables or bind these variables buffer-locally
3664 (Bug#10254).
3665 (bibtex-mode): Call bibtex-set-dialect via
3666 hack-local-variables-hook.
eb864a71
LM
3667 (bibtex-dialect): Update docstring.
3668 Add safe-local-variable predicate.
ace88aa2
RW
3669 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3670 bibtex-set-dialect.
3671 (bibtex-mode-map): Define menu for each dialect.
3672 (bibtex-entry): Fix docstring.
3673
93376c5b
CY
36742012-01-28 Chong Yidong <cyd@gnu.org>
3675
3676 * eshell/esh-arg.el (eshell-quote-argument): New function.
3677
3678 * eshell/esh-ext.el (eshell-invoke-batch-file):
3679 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3680 first arg to eshell-parse-command (Bug#10523).
3681
4372494f
DA
36822012-01-28 Drew Adams <drew.adams@oracle.com>
3683
3684 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3685 `default-directory' is non-nil.
3686
4d4ec1f8
EZ
36872012-01-28 Eli Zaretskii <eliz@gnu.org>
3688
3689 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3690 line that displays system-configuration-options. (Bug#9924)
3691
7c188927
DA
36922012-01-28 Drew Adams <drew.adams@oracle.com>
3693
3694 * descr-text.el (describe-char): Show information about POS, in
3695 addition to information about the character at POS. Improve and
3696 update the doc string. Change "code point" to "code point in
3697 charset", to avoid confusion with the character's Unicode code
3698 point shown above that. (Bug#10129)
3699
e0da685a
EZ
37002012-01-28 Eli Zaretskii <eliz@gnu.org>
3701
3702 * descr-text.el (describe-char): Show the raw character, not only
3703 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3704 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3705 for the reasons.
3706
70550acf
PH
37072012-01-28 Phil Hagelberg <phil@hagelb.org>
3708
eb864a71
LM
3709 * emacs-lisp/package.el (package-install):
3710 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3711
0ce8e868
CY
37122012-01-28 Chong Yidong <cyd@gnu.org>
3713
cb882333
JB
3714 * emacs-lisp/package.el (package-maybe-load-descriptor):
3715 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3716 (package-maybe-load-descriptor): Use it.
3717 (package-download-transaction): Fully load required packages
3718 inside the loop, so that `require' calls work (Bug#10593).
3719 (package-install): No need to call package-initialize now.
3720
2e7f3bea
CY
37212012-01-28 Chong Yidong <cyd@gnu.org>
3722
6e9bad14
CY
3723 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3724
f823b8ca
CY
3725 * tooltip.el (tooltip-mode): Doc fix.
3726 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3727
2680c309
CY
3728 * frame.el (set-cursor-color): Doc fix (Bug#352).
3729
d7a9e63b
CY
3730 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3731 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3732
2e7f3bea
CY
3733 * cus-edit.el (custom-buffer-create-internal): Fix search button
3734 action (Bug#10542).
2ae01800 3735 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3736
fc4f7a23
EW
37372012-01-27 Eduard Wiebe <usenet@pusto.de>
3738
3739 * dired.el (dired-mark-files-regexp):
3740 Include any subdirectory components. (Bug#10445)
3741
7dd37071
ML
37422012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3743
3744 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3745 Handle [host]:port syntax. (Bug#10533)
3746
a268160b
AH
37472012-01-27 Alex Harsanyi <harsanyi@mac.com>
3748
3749 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3750
e43273ef
GM
37512012-01-26 Glenn Morris <rgm@gnu.org>
3752
3753 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3754 * term.el (term-raw-escape-map): Use Control-X-prefix.
3755 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3756
1edf595d
MR
37572012-01-25 Martin Rudalics <rudalics@gmx.at>
3758
3759 * window.el (window-state-get, window--state-get-1): Don't deal
3760 with fixed-sizeness of windows. Simplify code.
3761
fa8eafef
JC
37622012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3763
6df6ae42
JB
3764 * window.el (window--state-get-1, window--state-put-2):
3765 Don't save and restore the mark.
fa8eafef 3766
0b21c100
CY
37672012-01-25 Chong Yidong <cyd@gnu.org>
3768
3769 * custom.el (custom-variable-p): Doc fix.
3770
5ae1a6c8
GM
37712012-01-25 Glenn Morris <rgm@gnu.org>
3772
40047858
GM
3773 * dired.el (dired-goto-file): Handle some of the more common
3774 characters that `ls -b' escapes. (Bug#10596)
3775
5ddce96c
GM
3776 * progmodes/compile.el (compilation-next-error-function):
3777 Respect compilation-first-column in the "*compilation*" buffer.
3778 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3779
5ae1a6c8
GM
3780 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3781
b559f1a9
GM
37822012-01-24 Glenn Morris <rgm@gnu.org>
3783
3784 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3785
6725d21a
JD
37862012-01-24 Julien Danjou <julien@danjou.info>
3787
3788 * color.el (color-rgb-to-hsl): Fix value computing.
3789 (color-hue-to-rgb): New function.
3790 (color-hsl-to-rgb): New function.
3791 (color-clamp, color-saturate-hsl, color-saturate-name)
3792 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3793 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3794
70df4bbe
GM
37952012-01-24 Glenn Morris <rgm@gnu.org>
3796
3797 * vc/vc-rcs.el (vc-rcs-create-tag):
3798 * vc/vc-sccs.el (vc-sccs-create-tag):
3799 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3800
802a2ae2
ML
38012012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3802
3803 * eshell/esh-util.el (eshell-read-hosts-file):
3804 Skip comment lines. (Bug#10549)
3805
d7128bb1
ML
3806 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3807
d1a5c3b4
JB
38082012-01-23 Juanma Barranquero <lekktu@gmail.com>
3809
2724d9c7
JB
3810 * subr.el (display-delayed-warnings): Doc fix.
3811 (collapse-delayed-warnings): New function to collapse identical
3812 adjacent warnings.
3813 (delayed-warnings-hook): Add it.
d1a5c3b4 3814
a5509865
MA
38152012-01-22 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3818
3819 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3820 properties, when "login-as" is set.
3821
3822 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3823 (tramp-default-user-alist): Don't add "pscp".
3824 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3825 property "login-as", if set. (Bug#10530)
3826
cc6d5805
MA
38272012-01-21 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3830 "plink1" and "psftp". (Bug#10530)
3831
38322012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3833
3834 * international/mule-cmds.el (prefer-coding-system): Show a
3835 warning message if the default value of file-name-coding-system
3836 was not changed.
3837
f0960428
JC
38382012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3839
cb882333
JB
3840 * windmove.el (windmove-reference-loc):
3841 Fix windmove-reference-loc miscalculation.
f0960428 3842
dd6f2a63
JB
38432012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3844
3845 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3846 default unit.
3847
7b447e9b
GM
38482012-01-21 Glenn Morris <rgm@gnu.org>
3849
117a9ea1
GM
3850 * international/mule.el (auto-coding-alist): Add .tbz.
3851
7b447e9b
GM
3852 * files.el (local-enable-local-variables): Doc fix.
3853 (inhibit-local-variables-regexps): Rename from
3854 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3855 Doc fix. Add some extensions from auto-coding-alist.
3856 (inhibit-local-variables-suffixes):
3857 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3858 (inhibit-local-variables-p):
3859 New function, extracted from set-auto-mode-1.
3860 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3861 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3862 (hack-local-variables): Doc fix. Make the mode-only case
3863 respect enable-local-variables and friends.
3864 Respect inhibit-local-variables-regexps for file-locals, but
3865 not for directory-locals.
3866 (set-visited-file-name):
3867 Take account of inhibit-local-variables-regexps.
3868 Whether it applies may change as the file name is changed.
3869 * jka-cmpr-hook.el (jka-compr-install):
3870 * jka-compr.el (jka-compr-uninstall):
3871 Update for inhibit-first-line-modes-suffixes name change.
3872
dd6e3cdd
MR
38732012-01-20 Martin Rudalics <rudalics@gmx.at>
3874
3875 * help-macro.el (make-help-screen): Temporarily restore original
3876 binding for minor-mode-map-alist (Bug#10454).
3877
0d0deb38
JD
38782012-01-19 Julien Danjou <julien@danjou.info>
3879
3880 * color.el (color-name-to-rgb): Use the white color to find the max
3881 color component value and return correctly computed values.
3882 (color-name-to-rgb): Add missing float conversion for max value.
3883
34a02f46
MR
38842012-01-19 Martin Rudalics <rudalics@gmx.at>
3885
3886 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3887 special state value for window-persistent-parameters.
3888 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3889 (window--state-put-2): Reset all window parameters to nil before
3890 assigning values of persistent parameters.
3891
606c44c4
AM
38922012-01-18 Alan Mackenzie <acm@muc.de>
3893
3894 Eliminate sluggishness and hangs in fontification of "semicolon
3895 deserts".
3896
cb882333
JB
3897 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3898 Change value 10000 -> 3000.
606c44c4
AM
3899 (c-state-safe-place): Reformulate so it doesn't stack up an
3900 infinite number of wrong entries in c-state-nonlit-pos-cache.
3901 (c-determine-limit-get-base, c-determine-limit): New functions to
3902 determine backward search limits disregarding literals.
3903 (c-find-decl-spots): Amend commenting.
3904 (c-cheap-inside-bracelist-p): New function which detects "={".
3905
3906 * progmodes/cc-fonts.el
3907 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3908 backward search.
3909 (c-font-lock-declarations): Fix an occurrence of point being
3910 undefined. Check additionally for point being in a bracelist or
3911 near a macro invocation without a semicolon so as to avoid a
3912 fruitless time consuming search for a declarator. Give a more
3913 precise search limit for declarators using the new
3914 c-determine-limit.
3915
f3860cea
GM
39162012-01-18 Glenn Morris <rgm@gnu.org>
3917
3918 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3919 (set-auto-mode): Doc fixes.
3920
1db03b16
GM
39212012-01-17 Glenn Morris <rgm@gnu.org>
3922
0e6038be
GM
3923 * isearch.el (search-nonincremental-instead): Fix doc typo.
3924
1db03b16
GM
3925 * dired.el (dired-insert-directory): Handle newlines in directory name.
3926 (dired-build-subdir-alist): Unescape newlines in directory name.
3927
4cb0aa75
MA
39282012-01-17 Michael Albinus <michael.albinus@gmx.de>
3929
3930 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3931 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3932 (tramp-action-terminal): Use it. (Bug#10530)
3933
1d00653d
SM
39342012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3937
6a6ee00d
MR
39382012-01-16 Martin Rudalics <rudalics@gmx.at>
3939
3940 * window.el (window-state-ignored-parameters): Remove variable.
3941 (window--state-get-1): Rename argument MARKERS to IGNORE.
3942 Handle persistent window parameters. Make copy of clone-of
3943 parameter only if requested. (Bug#10348)
3944 (window--state-put-2): Install a window parameter only if it has
3945 a non-nil value or an existing parameter shall be overwritten.
3946
97912def
MA
39472012-01-15 Michael Albinus <michael.albinus@gmx.de>
3948
3949 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3950
688070a5
EZ
39512012-01-14 Eli Zaretskii <eliz@gnu.org>
3952
3953 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3954 don't pass the (nil) value of `upnode' to string-match.
3955
301afadc
CY
39562012-01-14 Chong Yidong <cyd@gnu.org>
3957
3958 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3959 Fix values recognized by the cursorBlink resource.
301afadc 3960
9e5788aa
PE
39612012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3962
3963 * epg.el (epg--make-temp-file): Avoid permission race condition
3964 when running on old Emacs versions (bug#10403).
3965
3cdb7f5a
GM
39662012-01-14 Glenn Morris <rgm@gnu.org>
3967
3968 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3969
8c82b1b4
AM
39702012-01-13 Alan Mackenzie <acm@muc.de>
3971
3972 Fix filling for when filladapt mode is enabled.
3973
3974 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3975 c-mask-paragraph, pass in `fill-paragraph' rather than
3976 `fill-region-as-paragraph'. (This is a reversion of a previous
3977 change.)
eb864a71
LM
3978 * progmodes/cc-mode.el (c-basic-common-init):
3979 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3980
e517eda4
GM
39812012-01-13 Glenn Morris <rgm@gnu.org>
3982
1498536e
GM
3983 * dired.el (dired-switches-escape-p): New function.
3984 (dired-insert-directory): Use dired-switches-escape-p.
3985 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3986
e517eda4
GM
3987 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3988
328f984d
GM
39892012-01-12 Glenn Morris <rgm@gnu.org>
3990
3991 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3992 changes in adaptive-fill-regexp. (Bug#10276)
3993
2cc769a8
AM
39942012-01-11 Alan Mackenzie <acm@muc.de>
3995
3996 Fix Emacs bug #10463 - put `widen's around the critical spots.
3997
1d00653d 3998 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3999 widen around each invocation of c-state-pp-to-literal. Remove an
4000 unused let variable.
4001
e52c37fa
GM
40022012-01-11 Glenn Morris <rgm@gnu.org>
4003
4004 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4005 Doc fix.
e52c37fa 4006
96f8741e
CY
40072012-01-10 Chong Yidong <cyd@gnu.org>
4008
1d00653d
SM
4009 * net/network-stream.el (network-stream-open-starttls):
4010 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4011 response to the capability command.
4012
b09a806e
GM
40132012-01-10 Glenn Morris <rgm@gnu.org>
4014
4015 * mail/unrmail.el (unrmail): Tweak previous change.
4016
7655cb66
CY
40172012-01-09 Chong Yidong <cyd@gnu.org>
4018
4019 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4020
9d5a8f0b
AM
40212012-01-08 Alan Mackenzie <acm@muc.de>
4022
4023 Optimise font locking in long enum definitions.
4024
4025 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4026 arm to a cond form to handle enums.
4027 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4028 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4029
9a0115ab 40302012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4031
4032 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4033 (Bug#10401)
6bb72cbd 4034
f186bb95
LMI
40352012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4036
29232a68
LMI
4037 * faces.el (set-face-attribute): Clarify the meaning of the nil
4038 frame (bug#10294).
4039
4e5d086d
LMI
4040 * subr.el (with-selected-frame): Mention that the selected frame
4041 is restored (bug#9980).
4042
8e66aebe
LMI
4043 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4044 (bug#9759).
4045
cd394be1 4046 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4047 (password-read): Don't autoload unused function.
4048
adf4e762
JB
40492012-01-07 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * progmodes/which-func.el (which-func-mode): Turn into a
4052 non-interactive function and mark as obsolete (bug#10428).
4053
89bd9ccd
CY
40542012-01-06 Chong Yidong <cyd@gnu.org>
4055
4056 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4057 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4058 functions, along with 1 and -1.
4059
4afee9d5
EZ
40602012-01-06 Eli Zaretskii <eliz@gnu.org>
4061
4062 * time.el (display-time-load-average)
4063 (display-time-default-load-average): Doc fixes. See the thread
4064 starting at
4065 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4066 for the details.
4067
536aea70
GM
40682012-01-06 Glenn Morris <rgm@gnu.org>
4069
665ae865
GM
4070 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4071 has no messages. (Bug#10377)
4072
c869783d
GM
4073 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4074 than Info-edit. (Bug#10385)
4075
2bb4227e
GM
4076 * time.el (display-time-load-average, display-time-next-load-average):
4077 Doc fixes.
4078
7d5944b9
GM
4079 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4080 local setting of buffer-read-only to the input buffer. (Bug#10419)
4081
536aea70
GM
4082 * calendar/calendar.el (calendar-mode):
4083 Locally set scroll-margin to 0. (Bug#10379)
4084
7dccca16
UM
40852012-01-06 Ulrich Mueller <ulm@gentoo.org>
4086
4087 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4088
afbb7930
GM
40892012-01-05 Glenn Morris <rgm@gnu.org>
4090
4091 * eshell/em-unix.el (diff-no-select): Autoload it.
4092 (eshell/diff): Use diff-no-select. (Bug#10420)
4093
04482335
CY
40942012-01-05 Chong Yidong <cyd@gnu.org>
4095
7baca3bc
CY
4096 * shell.el (shell-dynamic-complete-functions): Revert last change.
4097 (shell-command-completion-function): New function.
4098 (shell-completion-vars): Use it to implement
4099 shell-completion-execonly (Bug#10417).
4100
04482335
CY
4101 * custom.el (enable-theme): Don't set custom-safe-themes.
4102
1d00653d
SM
4103 * cus-theme.el (custom-theme-merge-theme):
4104 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4105
bb5aa5d6
MM
41062012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4107
4108 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4109 first prompt in `sql-interacive-mode'.
4110 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4111 keywords.
6df6ae42 4112 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4113 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4114 context of original buffer. Invoke `sql-login-hook'.
4115
a7183d7c
EZ
41162012-01-04 Eli Zaretskii <eliz@gnu.org>
4117
4118 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4119 letters in cite-prefix.
4120
a1eacd1e
LMI
41212012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4122
4123 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4124
787cdb34
CY
41252012-01-03 Chong Yidong <cyd@gnu.org>
4126
1d00653d
SM
4127 * shell.el (shell-dynamic-complete-functions):
4128 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4129 comint-filename-completion first (Bug#10417).
4130
30710442
RS
41312012-01-02 Richard Stallman <rms@gnu.org>
4132
4133 * battery.el (battery-status-function):
4134 Detect when to use battery-yeeloong-sysfs.
4135 (battery-echo-area-format): Add string for Yeeloong.
4136 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4137 (battery-yeeloong-sysfs): New function.
4138
f75bfc33
CY
41392012-01-02 Chong Yidong <cyd@gnu.org>
4140
4141 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4142 (dirtrack): Merge code for handling relative filenames in prompt
4143 from shell-dir-cookie-watcher.
4144 (dirtrack-debug-message): New arg to avoid excess format calls.
4145
4146 * shell.el (shell-dir-cookie-re): Variable deleted.
4147 (shell-dir-cookie-watcher): Function deleted.
4148 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4149 with dirtrack-mode.
4150
651e947e
EZ
41512012-01-01 Eli Zaretskii <eliz@gnu.org>
4152
1d00653d
SM
4153 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4154 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4155 libgnutls-26.dll.
4156
94d4c7dc
AS
41572011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4158
4159 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4160
8d43f3cd
EZ
41612011-12-31 Eli Zaretskii <eliz@gnu.org>
4162
4163 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4164 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4165
98c8795a
MA
41662011-12-29 Michael Albinus <michael.albinus@gmx.de>
4167
4168 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4169 also for alternative shells.
4170 (tramp-open-connection-setup-interactive-shell): Check, whether
4171 the shell is a busybox.
4172 (tramp-send-command): Don't suppress multiple prompts for
4173 busyboxes, it hurts.
4174
51281b32
CY
41752011-12-28 Chong Yidong <cyd@gnu.org>
4176
4177 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4178 (gdb-get-source-file): Move mode line update to
4179 gdb-get-source-file (Bug#10087).
4180
2170cb53
CY
41812011-12-25 Chong Yidong <cyd@gnu.org>
4182
4183 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4184 gud-gdb-marker-filter without taking it as an argument.
4185 (gud-gdb-run-command-fetch-lines): Caller changed.
4186 (gud-gdb-completion-function): New variable.
4187 (gud-gdb-completion-at-point): Use it.
4188 (gud-gdb-completions-1): Split from gud-gdb-completions.
4189
4190 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4191 function as separate arguments.
4192 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4193 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4194 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4195 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4196 (gdb-stopped, def-gdb-auto-update-trigger)
4197 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4198 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4199 Callers changed.
2170cb53
CY
4200 (gud-gdbmi-completions): New function.
4201 (gdb): Use it for generating the completion table.
4202
be8b11bb
AM
42032011-12-24 Alan Mackenzie <acm@muc.de>
4204
4205 Introduce a mechanism to widen the region used in context font
1d00653d 4206 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4207
1d00653d
SM
4208 * progmodes/cc-langs.el (c-before-font-lock-functions):
4209 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4210 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4211 functions to be run just before context (etc.) font locking.
4212
4213 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4214 New, functionality extracted from
be8b11bb 4215 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4216 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4217 (c-after-change): Set c-in-after-change-fontification.
4218 (c-set-fl-decl-start): Rejig its interface, so it can be called
4219 from both after-change and context fontifying.
b81d40f0
JB
4220 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4221 New functions.
4222 (c-standard-font-lock-fontify-region-function): New variable.
4223 (c-font-lock-fontify-region): New function.
be8b11bb 4224
341cf6ac
JL
42252011-12-24 Juri Linkov <juri@jurta.org>
4226
4227 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4228 (Bug#10348)
4229
bffcee0a
MA
42302011-12-23 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4233 existence of source file. (Bug#10325)
4234
cb5e207c
AM
42352011-12-23 Alan Mackenzie <acm@muc.de>
4236
4237 Fix unstable fontification inside templates.
4238
b81d40f0
JB
4239 * progmodes/cc-langs.el (c-before-font-lock-functions):
4240 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4241 additionally has c-set-fl-decl-start. The other languages (apart
4242 from AWK) have that as a single entry.
4243
b81d40f0
JB
4244 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4245 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4246 c-set-fl-decl-start.
4247
b81d40f0
JB
4248 * progmodes/cc-mode.el (c-common-init, c-after-change):
4249 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4250 (c-set-fl-decl-start): New function, extracted from
4251 c-font-lock-enclosing-decls and enhanced.
4252
60ff536c
JB
42532011-12-23 Juanma Barranquero <lekktu@gmail.com>
4254
4255 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4256
1c4757d6
JL
42572011-12-22 Juri Linkov <juri@jurta.org>
4258
4259 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4260
d031f2c7
CY
42612011-12-22 Chong Yidong <cyd@gnu.org>
4262
4263 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4264
bace743a
DA
42652011-12-21 Drew Adams <drew.adams@oracle.com>
4266
4267 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4268
728a1f2b
JC
42692011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4270
4271 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4272
0d373f73
TZ
42732011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4274
fec0aaa4
TZ
4275 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4276 highlighting and support. Fix up comments for capitalization.
4277 (cfengine-mode-debug): New var.
4278 (cfengine3-mode): Change the modeline indicator to "CFE3".
4279 (cfengine3-font-lock-keywords): Improve defun highlighting.
4280 (cfengine2-actions): Rename from `cfengine-actions'.
4281 (cfengine2-font-lock-keywords): Rename from
4282 `cfengine-font-lock-keywords'.
4283 (cfengine2-imenu-expression): Rename from
4284 `cfengine-imenu-expression'.
4285 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4286 (cfengine2-beginning-of-defun): Rename from
4287 `cfengine-beginning-of-defun'.
4288 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4289 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4290 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4291 modeline indicator to "CFE2".
4292 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4293 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4294
bc86f573
CY
42952011-12-21 Chong Yidong <cyd@gnu.org>
4296
4297 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4298 filename argument.
4299
d45ba96b
MR
43002011-12-20 Martin Rudalics <rudalics@gmx.at>
4301
4302 * window.el (window-normalize-buffer-to-display): Remove.
4303 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4304
a6198c90
CY
43052011-12-19 Chong Yidong <cyd@gnu.org>
4306
4307 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4308 Don't signal an error in a predicate function; return non-nil.
4309 (vc-dir-mark-file): Move the error here.
4310 (vc-dir-mark-unmark): If acting on the region, keep going if one
4311 of the entries cannot be marked/unmarked.
4312 (vc-dir-mark-all-files): If current entry is a directory, mark
4313 only child files, as documented.
4314
34c5fb55
VB
43152011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4316
4317 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4318 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4319 addition.
4320
c803b2b7
JD
43212011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4322
4323 * term/ns-win.el (ns-get-selection-internal)
4324 (ns-store-selection-internal): Declare.
1154d12e
JB
4325 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4326 Declare as obsolete.
4327 (ns-get-pasteboard, ns-paste-secondary):
4328 Use ns-get-selection-internal.
4329 (ns-set-pasteboard, ns-copy-including-secondary):
4330 Use ns-store-selection-internal.
c803b2b7 4331
9cff91f8 43322011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4333
4334 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4335 (vc-deduce-fileset): Doc fix.
99a289d9 4336
f16c898a
AS
43372011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4338
4339 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4340
763237c4
SS
43412011-12-13 Sam Steingold <sds@gnu.org>
4342
4343 * man.el (Man-getpage-in-background): When running under a
4344 window-system, ignore $MANWIDTH and $COLUMNS.
4345
5fc1c122
KH
43462011-12-15 Kenichi Handa <handa@m17n.org>
4347
4348 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4349 (setup-ethiopic-environment-internal): Comment out key-binding for
4350 ethio-toggle-punctuation.
4351
13d49cbb
AM
43522011-12-13 Alan Mackenzie <acm@muc.de>
4353
898169a2
AM
4354 Add the switch statement to AWK Mode.
4355
7a71b18d 4356 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4357 "default" to the keywords regexp.
4358
7a71b18d 4359 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4360 expression as the rest.
1d00653d
SM
4361 (c-nonlabel-token-key): Allow string literals for AWK.
4362 Refactor for the other modes.
898169a2 4363
13d49cbb 4364 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4365 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4366 routines. Limit backward searching in c-font-lock-enclosing.decl.
4367
4368 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4369 pp-state and literal type in addition to the limits.
1d00653d 4370 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4371 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4372 (c-slow-in-literal, c-fast-in-literal): Remove.
4373 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4374
4375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4376 being in a literal. Add a limit for backward searching.
4377
4378 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4379 c-slow-in-literal.
4380
15e0efc7
SM
43812011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4384
454592a6
MR
43852011-12-13 Martin Rudalics <rudalics@gmx.at>
4386
4387 * window.el (delete-other-windows): Use correct frame in call to
4388 window-with-parameter.
4389
87393f26
DP
43902011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4391
4392 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4393 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4394 (makefile-gmake-statements, makefile-makepp-statements):
4395 Use it and add new makepp keywords.
4396 (makefile-makepp-font-lock-keywords): Add new patterns.
4397 (makefile-match-function-end): Match new [...] and [[...]].
4398
11636b22
JB
43992011-12-11 Juanma Barranquero <lekktu@gmail.com>
4400
4401 * ses.el (ses-call-printer-return, ses-cell-property-get)
4402 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4403 (ses-create-cell-variable, ses-reset-header-string)
4404 (ses-cell-set-formula, ses-repair-cell-reference-all)
4405 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4406 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4407 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4408 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4409 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4410 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4411 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4412 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4413 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4414 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4415 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4416 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4417
cf018193
VB
44182011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4419
4420 * ses.el: The overall change is to add cell renaming, that is
4421 setting fancy names for cell symbols other than name matching
4422 "\\`[A-Z]+[0-9]+\\'" regexp .
4423 (ses-create-cell-variable): New defun.
4424 (ses-relocate-formula): Relocate formulas only for cells the
4425 symbols of which are not renamed, i.e. symbols whose names do not
4426 match regexp "\\`[A-Z]+[0-9]+\\'".
4427 (ses-relocate-all): Relocate values only for cells the symbols of
4428 which are not renamed.
4429 (ses-load): Create cells variables as the (ses-cell ...) are read,
4430 in order to check row col consistency with cell symbol name only
4431 for cells that are not renamed.
4432 (ses-replace-name-in-formula): New defun.
4433 (ses-rename-cell): New defun.
4434
ee957461
CY
44352011-12-11 Chong Yidong <cyd@gnu.org>
4436
4437 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4438 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4439
9a9e9ef0
MR
44402011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4441
4442 * window.el (other-window): Fix docstring.
4443
92a8eba5
EZ
44442011-12-10 Eli Zaretskii <eliz@gnu.org>
4445
4446 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4447 `from' or `to' address before taking its substring.
4448 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4449 encoded name is chopped in the middle of the encoded string, and
4450 thus displayed encoded.
4451
e152e577
JB
44522011-12-10 Juanma Barranquero <lekktu@gmail.com>
4453
4454 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4455
e5d84bfe
EZ
44562011-12-10 Eli Zaretskii <eliz@gnu.org>
4457
4458 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4459 to use texinfo-update-node and commands that call it if the
4460 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4461 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4462 (texinfo-all-menus-update, texinfo-master-menu)
4463 (texinfo-update-node, texinfo-every-node-update)
4464 (texinfo-multiple-files-update): Doc fix. Warn against updating
4465 all the @node lines.
4466 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4467 argument is numeric. Explain better in the doc string what the
4468 function really does.
4469 (texinfo-insert-master-menu-list): Improve the error message
4470 displayed if there's no menu in the Top node.
4471 (Bug#2975) See also this thread:
e5d84bfe
EZ
4472 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4473
1d84e9bb
MG
44742011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4475
4476 * speedbar.el (speedbar-supported-extension-expressions):
4477 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4478
382c953b
JB
44792011-12-09 Juanma Barranquero <lekktu@gmail.com>
4480
4481 * printing.el (pr-mode-alist):
4482 * simple.el (filter-buffer-substring-functions)
4483 (completion-list-insert-choice-function):
4484 * window.el (window-with-parameter, window-atom-root)
4485 (window-sides-slots, window-size-fixed, window-min-delta)
4486 (window-max-delta, window--resize-mini-window)
4487 (window--resize-child-windows-normal, window-tree)
4488 (delete-other-windows, quit-window, split-window)
4489 (display-buffer-record-window, special-display-buffer-names)
4490 (special-display-regexps, special-display-popup-frame)
4491 (same-window-p, split-window-sensibly)
4492 (display-buffer-overriding-action, display-buffer-alist)
4493 (display-buffer-base-action, display-buffer, switch-to-buffer)
4494 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4495 (fit-window-to-buffer, recenter-positions)
4496 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4497 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4498 and remove unneeded backslashes in docstrings.
4499
39c9faef
SM
45002011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4501
98449af8
SM
4502 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4503
39c9faef
SM
4504 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4505 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4506 end in ".mk".
4507 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4508 when reading the makefile (bug#10116).
4509
86ed9fdc
SM
45102011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4513 (bug#10116).
4514
5580f89d
GM
45152011-12-06 Glenn Morris <rgm@gnu.org>
4516
4517 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4518
28d3917c
CY
45192011-12-06 Chong Yidong <cyd@gnu.org>
4520
4521 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4522
a98edce9
JB
45232011-12-06 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * textmodes/table.el (table-shorten-cell): Fix typo.
4526
e65adfac
CG
45272011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4528
4529 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4530
71cc0b74
EZ
45312011-12-05 Eli Zaretskii <eliz@gnu.org>
4532
4533 * descr-text.el (describe-char): Fix display of strong
4534 right-to-left characters and directional embeddings and overrides.
4535
4536 * simple.el (what-cursor-position): Fix display of codepoints of
4537 strong right-to-left characters.
4538
315bc30d
CY
45392011-12-05 Chong Yidong <cyd@gnu.org>
4540
4541 * faces.el (read-color): Doc fix.
4542
58a70b94
GM
45432011-12-05 Glenn Morris <rgm@gnu.org>
4544
4545 * align.el (align--set-marker): Add doc-string.
4546 Don't try to move something that is not a marker. (Bug#10216)
4547
5158face
GM
45482011-12-04 Glenn Morris <rgm@gnu.org>
4549
4550 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4551 overly zealous deletion of trailing whitespace.
4552
520fca41
JB
45532011-12-04 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * server.el (server-delete-client): On Windows, do not try to delete
4556 the only terminal.
4557 (server-process-filter): On Windows, treat requests for a tty frame as
4558 if they were for a GUI frame if the running server is in GUI mode.
4559
5e605a2e
GM
45602011-12-03 Glenn Morris <rgm@gnu.org>
4561
4562 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4563
5c3fe83f
SM
45642011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4565
6f5e57e7
SM
4566 * electric.el: Streamline electric-indent's hook.
4567 (electric-indent-chars): Revert to simple list.
4568 (electric-indent-functions): New var.
4569 (electric-indent-post-self-insert-function): Use it.
4570
5c3fe83f
SM
4571 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4572 there's no inferior buffer (bug#10196).
4573 (prolog-consult-compile): Don't use toggle-read-only.
4574
6bdac736
MA
45752011-12-02 Michael Albinus <michael.albinus@gmx.de>
4576
4577 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4578 interrupt. (Bug#10187)
4579
6131ba7f
SM
45802011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4581
99c79fee
SM
4582 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4583 (bug#9160).
4584
6131ba7f
SM
4585 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4586 (bug#10191).
4587
cb0a02ea
JL
45882011-12-02 Juri Linkov <juri@jurta.org>
4589
4590 * info.el (Info-search): Display "end of manual" when Isearch
4591 reaches the end of single-file Info manual. (Bug#9918)
4592
66e0570c
EZ
45932011-12-02 Eli Zaretskii <eliz@gnu.org>
4594
4595 * isearch.el (isearch-message-prefix): Run the input method part
4596 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4597
02b16839
JL
45982011-12-02 Juri Linkov <juri@jurta.org>
4599
4600 * isearch.el (isearch-occur): Use `word-search-regexp' for
4601 `isearch-word'.
4602 (isearch-search-and-update): Add condition for `isearch-word' and
4603 call `word-search-regexp'. (Bug#10145)
4604
0b950688
GM
46052011-12-01 Glenn Morris <rgm@gnu.org>
4606
4607 * eshell/em-hist.el (eshell-hist-initialize):
4608 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4609 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4610
9505c3c7
SM
46112011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4614
1bbe96b2 46152011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4616
a1beca85
SM
4617 * progmodes/verilog-mode.el (verilog-pretty-expr):
4618 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4619 verilog, such as += *= and the like.
4620 (verilog-assignment-operator-re): Regular expression to find the
4621 assigment operator in a verilog assignment.
4622 (verilog-assignment-operation-re): Regular expression to find an
4623 assignment statement for pretty-expr.
4624 (verilog-in-attribute-p): Query returns true if point is in an
4625 attribute context; used to skip these for expression line up from
4626 pretty-expr.
4627 (verilog-in-parameter-p): Query returns true if point is in an
4628 parameter definition context; used to skip these for expression
4629 line up from pretty-expr.
4630 (verilog-in-parenthesis-p): Query returns true if point is in a
4631 parenthetical expression, specifically ( ) but not [ ] or { };
4632 used by pretty-expr.
4633 (verilog-just-one-space): If there is no space, don't add one.
4634 (verilog-get-lineup-indent-2): Specifically skip just attribute
4635 contexts for expression lineup, rather than skipping all
4636 parenthetical expressions.
4637 (verilog-calculate-indent): Fix comment, and fix indent.
4638 (verilog-do-indent): Indent declarations in lists (suggested by
4639 Joachim Lechner).
4640 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4641 skeleton items.
4642 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4643 by Alain Mellan).
4644
1bbe96b2 46452011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4646
4647 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4648 parameters with embedded comments. Reported by Ray Stevens.
4649 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4650 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4651 Reported by Tim Holt.
4652 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4653 instantiated by upper module causing wrong expansion until AUTOed a
4654 second time. Reported by K C Buckenmaier.
4655 (verilog-diff-auto): Fix showing .* as a difference when
4656 `verilog-auto-star-save' off. Reported by Dan Dever.
4657 (verilog-auto-reset, verilog-read-always-signals)
4658 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4659 temporary signals in reset list if
4660 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4661 style to each signal's assignment type, bug381.
4662 Reported by Thomas Esposito.
6288f0ca
WS
4663 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4664 (verilog-uvm-statement-re): Support UVM indentation and
4665 highlighting, with old OVM keywords only.
a1beca85 4666 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4667 Support AUTOTIEOFF creating non-wire data types.
4668 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4669 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4670 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4671 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4672 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4673 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4674 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4675 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4676 non-numeric vector width. Reported by Alex Reed.
4677 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4678 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4679 (verilog-auto-delete-trailing-whitespace):
4680 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4681 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4682 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4683 Fix verilog-scan-cache corruption when running user AUTO expansion
4684 hooks that call indentation routines.
4685 (verilog-simplify-range-expression): Fix typo ignoring lower case
4686 identifiers.
4687 (verilog-delete-auto): Fix delete-autos to also remove user created
4688 automatics, as long as they start with AUTO.
4689 (verilog-batch-diff-auto, verilog-diff-auto)
4690 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4691 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4692 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4693 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4694 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4695 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4696 is disabled and its cache will get corrupt, causing AUTOS not to
4697 expand. Instead use only -quick functions.
4698 (verilog-scan-region): Fix scanning over escaped quotes.
4699 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4700 (verilog-re-search-backward-quick)
4701 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4702 related functions now ignore strings, to fix misparsing of strings
4703 with magic comments embedded in them.
a1beca85
SM
4704 (verilog-read-auto-template):
4705 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4706 Reported by Brad Dobbie.
4707 (verilog-read-auto-template):
4708 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4709 Reported by Brad Dobbie.
6288f0ca
WS
4710 (verilog-auto-inst, verilog-auto-inst-param)
4711 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4712 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4713 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4714 debugging templates without merge conflicts, bug357.
4715 Reported by Brad Dobbie.
4716 (verilog-read-auto-template):
4717 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4718 Reported by Brad Dobbie.
4719 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4720 abbrevs so user won't be asked to save.
4721 (verilog-read-auto-lisp-present): Fix to start at beginning of
4722 buffer in case called outside of verilog-auto.
4723 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4724 to "X-2". Reported by Matthew Myers.
4725 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4726 all inputs from module templates. Reported by Leith Johnson.
4727 (verilog-module-inside-filename-p): Fix locating programs as with
4728 modules.
4729 (verilog-auto-inst-port): Fix vl-width expressions when using
4730 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4731 (verilog-decls-get-regs, verilog-decls-get-signals,
4732 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4733 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4734 verilog-read-decls): Combine reg and wire structures into one var
4735 structure to represent SystemVerilog concepts.
4736 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4737 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4738 (verilog-auto-wire-type, verilog-insert-definition):
4739 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4740 SystemVerilog "logic" keyword instead of "wire"/"reg".
4741 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4742 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4743 ifdef or generate if so there's not a driver conflict).
4744 Reported by Matthew Myers.
4745 (verilog-auto-declare-nettype, verilog-insert-definition):
4746 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4747 `default_nettype none. Reported by Julian Gorfajn.
4748 (verilog-read-always-signals-recurse, verilog-read-decls)
4749 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4750 malformed end statement, bug325. Reported by Joshua Wise and
4751 Andrew Drake.
4752 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4753 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4754 when expanding .* in interfaces, bug320.
4755 Reported by Pierre-David Pfister.
6288f0ca 4756 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4757 name and open parenthesis, bug317.
4758 Reported by Pierre-David Pfister.
6288f0ca
WS
4759 (verilog-simplify-range-expression): Fix simplification of
4760 multiplications inside AUTOWIRE connections, bug303.
4761 (verilog-auto-inst-port): Support parameter expansion in
4762 multidimensional arrays.
4763 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4764 after "assert property". Reported by Julian Gorfajn.
4765 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4766 with multiplication, bug303.
4767 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4768 Reported by Jan Frode Lonnum.
4769
1bbe96b2
GM
47702011-11-30 Juanma Barranquero <lekktu@gmail.com>
4771
4772 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4773 (hfy-shell-file-name, hfy-shell):
4774 * international/fontset.el (x-decompose-font-name): Fix typos.
4775
47762011-11-29 Ken Brown <kbrown@cornell.edu>
4777
4778 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4779 (gdb-version): Remove defvar.
4780 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4781 (gdb-gud-context-command, gdb-non-stop-handler)
4782 (gdb-current-context-command, gdb-stopped): Use it.
4783 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4784 (gdb-non-stop-handler): Don't enable pretty-printing here.
4785 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4786 non-stop mode. Use the following.
4787 (gdb-check-target-async): New defun.
4788 (gud-watch, gdb-stopped): Fix whitespace.
4789 (gdb-get-source-file): Don't try to display the source file if
4790 `gdb-main-file' is nil.
4791
47922011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * align.el: Try to generate fewer markers (bug#10047).
4795 (align--set-marker): New macro.
4796 (align-region): Use it.
4797
c935221f
SM
47982011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4801
e70b5064
CY
48022011-11-29 Chong Yidong <cyd@gnu.org>
4803
4804 * indent.el (indent-for-tab-command, indent-according-to-mode):
4805 Doc fix.
4806 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4807
f3af92b7
MA
48082011-11-29 Michael Albinus <michael.albinus@gmx.de>
4809
4810 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4811 aware of remote file names. (Bug#10124)
4812
ed472be9
CY
48132011-11-29 Chong Yidong <cyd@gnu.org>
4814
4815 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4816
24510c22
SM
48172011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * files.el (find-file): Don't use force-same-window (bug#10144).
4820 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4821 use pop-to-buffer if the selected window can't be used.
4822 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4823
c60c3703
EZ
48242011-11-28 Eli Zaretskii <eliz@gnu.org>
4825
4826 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4827 special-mode-map.
4828
e95def75
CY
48292011-11-28 Chong Yidong <cyd@gnu.org>
4830
4831 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4832
c3f1c606
NR
48332011-11-27 Nick Roberts <nickrob@snap.net.nz>
4834
4835 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4836 gdb-get-source-file-list on gdb-create-source-file-list.
4837
00db469c
EZ
48382011-11-26 Eli Zaretskii <eliz@gnu.org>
4839
4840 * whitespace.el (whitespace-newline): Use a different foreground
4841 color for 16-color light-background displays.
4842
4ad3bc2a
CY
48432011-11-24 Chong Yidong <cyd@gnu.org>
4844
4845 * window.el (display-buffer--special-action): Doc fix.
4846
e9fce1ac
JB
48472011-11-25 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4850 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4851 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4852 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4853 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4854 (avl-tree-stack-first):
4855 * emacs-lisp/cconv.el (cconv--analyse-use):
4856 * net/gnutls.el (gnutls-negotiate): Fix typos.
4857
cb825e5d
GM
48582011-11-24 Glenn Morris <rgm@gnu.org>
4859
3adbe224
GM
4860 * lpr.el (lpr-windows-system, lpr-lp-system):
4861 * mail/binhex.el (binhex-begin-line):
4862 * progmodes/grep.el (grep-history, grep-find-history):
4863 * textmodes/flyspell.el:
4864 * vc/pcvs-defs.el (cvs-global-menu):
4865 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4866 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4867 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4868
321decc8
GM
4869 * net/tls.el: Fix case of "GnuTLS".
4870
420b63ad
GM
4871 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4872
cb825e5d
GM
4873 * version.el (emacs-build-system): Give it a doc-string.
4874
a0649f08
JL
48752011-11-24 Juri Linkov <juri@jurta.org>
4876
4877 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4878
c0bc0fd4
GM
48792011-11-24 Glenn Morris <rgm@gnu.org>
4880
4881 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4882 if called on a non-mime message just toggle the headers. (Bug#8006)
4883
20db1522
JB
48842011-11-24 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4887 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4888 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4889 (allout-rebullet-heading, allout-open-sibtopic)
4890 (allout-toggle-current-subtree-encryption)
4891 (allout-toggle-subtree-encryption, allout-encrypt-string)
4892 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4893 (allout-distinctive-bullets-string, allout-auto-activation):
4894 * window.el (window-normalize-buffer-to-display):
4895 * progmodes/verilog-mode.el (verilog-batch-indent):
4896 * textmodes/bibtex.el (bibtex-field-braces-opt)
4897 (bibtex-field-strings-opt):
4898 * vc/cvs-status.el (cvs-tree-merge):
4899 Fix typos.
4900
7262a87c
MA
49012011-11-23 Michael Albinus <michael.albinus@gmx.de>
4902
4903 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4904 `non-essential' to t, in order to avoid remote connections.
4905
283430a1
EZ
49062011-11-23 Eli Zaretskii <eliz@gnu.org>
4907
a1beca85
SM
4908 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4909 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4910 case-insensitively.
4911
d2992a38
ML
49122011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4913
4914 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4915
50419064
GM
49162011-11-23 Glenn Morris <rgm@gnu.org>
4917
da94eca1
GM
4918 * paths.el (rmail-file-name): Reformat the doc-string so that it
4919 is picked up.
4920
9aac4de2
GM
4921 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4922 (rmail-auto-file): Ignore case in the "special" field names,
4923 as mail-fetch-field does for all others.
4924
8038d2d2
GM
4925 * mail/rmail.el (rmail-forward):
4926 * mail/rmailkwd.el (rmail-set-label):
4927 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4928 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4929
f3fe222a
GM
4930 * mail/rmail.el (rmail-current-message): Doc fix.
4931
50419064
GM
4932 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4933
28109f49
SM
49342011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4937
394c65f1
GM
49382011-11-22 Glenn Morris <rgm@gnu.org>
4939
4940 * mail/rmailmm.el (test-rmail-mime-handler)
4941 (test-rmail-mime-bulk-handler)
4942 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4943
f2a0aa3a
JL
49442011-11-21 Juri Linkov <juri@jurta.org>
4945
1154d12e
JB
4946 * calc/calc.el (calc-read-key-sequence):
4947 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4948
9c34a344
LMI
49492011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4950
4951 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4952 Tell the caller that the next line needs recomputation, even
4953 though it doesn't start a sexp (bug#10094).
4954
f04a3be9
SM
49552011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4958
7978747f
SM
49592011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4960
f04a3be9
SM
4961 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4962 Use force-same-window.
7978747f 4963
fe7a3057
JB
49642011-11-20 Juanma Barranquero <lekktu@gmail.com>
4965
4966 * descr-text.el (describe-char-unicode-data):
4967 * json.el (json-string-escape):
4968 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4969 (Footnote-unicode, Footnote-style-p):
4970 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4971
24901d61
CY
49722011-11-20 Chong Yidong <cyd@gnu.org>
4973
4974 * window.el (replace-buffer-in-windows): Restore interactive spec.
4975
bac7ff22
SM
49762011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4977
24f3d7b9
SM
4978 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4979
bac7ff22
SM
4980 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4981 (byte-compile-global-not-obsolete-vars): New var.
4982 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4983 Use it.
4984 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4985
cd1181db
JB
49862011-11-20 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4989 * progmodes/pascal.el (electric-pascal-equal):
4990 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4991 * xml.el (xml-substitute-special): Fix typos.
4992
7fb18e9e
GM
49932011-11-20 Glenn Morris <rgm@gnu.org>
4994
4995 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4996 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4997 Doc fixes.
4998 (rmail-decode-mime-charset): Mark as obsolete.
4999
5000 * mail/rmailsum.el (rmail-message-regexp-p-1):
5001 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5002 Before using mime functions, check they are set. (Bug#10077)
5003
d5a6b3ba
JL
50042011-11-19 Juri Linkov <juri@jurta.org>
5005
5006 * info.el (Info-finder-find-node): Use `package--builtins' instead
5007 of `package-alist'. Use node names formed by the pattern "Keyword "
5008 and the keyword name.
5009
e981b61f
AS
50102011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5011
1d00653d 5012 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5013
3ffbc301
JL
50142011-11-19 Juri Linkov <juri@jurta.org>
5015
5016 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5017 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5018 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5019 `old-history', `old-history-forward'. Add let-binding
5020 `window-selected'. Remove calls to `kill-buffer',
5021 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5022 before calling `Info-find-node', so `Info-find-node-2' will reread
5023 the Info file. Restore window positions only when `window-selected'
5024 is non-nil.
5025
30c62133
JL
50262011-11-19 Juri Linkov <juri@jurta.org>
5027
5028 * isearch.el (isearch-lazy-highlight-new-loop):
5029 Remove condition `(not isearch-error)'. (Bug#9918)
5030
5031 * misearch.el (multi-isearch-search-fun): Add condition
5032 `(not bound)' to ignore lazy-highlighting search.
5033 Add the search-failed message "end of multi" when the end of
5034 multi-sequence is reached. Uncapitalize the search-failed
5035 message "Repeat for next buffer".
5036
5037 * info.el (Info-search): Add the search-failed message
5038 "end of the manual" when the end of the manual is reached
5039 in Isearch mode.
5040
645ca9cf
JL
50412011-11-19 Juri Linkov <juri@jurta.org>
5042
5043 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5044 Use non-destructive `remove' instead of `delete' because
5045 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5046 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5047
df754f66
JL
50482011-11-19 Juri Linkov <juri@jurta.org>
5049
5050 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5051 to nil instead of binding `search-ring' and `regexp-search-ring'.
5052 (Bug#9185)
5053
0e23d96a
EZ
50542011-11-19 Eli Zaretskii <eliz@gnu.org>
5055
5056 * simple.el (line-move): Force movement by logical lines for any
5057 hscrolled window, not only when auto-hscroll-mode is on.
5058 (line-move-visual): Update doc string to that effect. (Bug#10076)
5059
8a6ccb66
AS
50602011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5061
5062 * language/european.el (macintosh): Define as alias for mac-roman.
5063
49ae5b39
EZ
50642011-11-19 Eli Zaretskii <eliz@gnu.org>
5065
5066 * mail/rmailmm.el (rmail-mime-display-header)
5067 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5068 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5069 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5070 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5071 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5072 of a raw aref.
5073 (rmail-mime-entity-segment): To get past the tagline, move forward
5074 2 more lines, to account for the 2 empty lines that precede and
5075 follow the line with the buttons.
5076 (rmail-mime-update-tagline): Move one more line, to get past the
5077 empty line that follows the buttons in the tagline. (Bug#9520)
5078
c56cad4a
MR
50792011-11-19 Martin Rudalics <rudalics@gmx.at>
5080
5081 * window.el (window-max-delta-1, window-min-delta-1)
5082 (window-min-size-1, window-state-get-1, window-state-put-1)
5083 (window-state-put-2): Use "window--" prefix.
5084
cbe71af3
SM
50852011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5086
2ad52c60
SM
5087 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5088 (smie-warning-count): New var.
5089 (smie-set-prec2tab): Use it.
5090 (smie-bnf->prec2): Improve warnings. Add docstring.
5091 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5092 (smie-bnf--set-class): New function.
5093 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5094 corner case.
5095
6944dbc1
SM
5096 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5097 (compilation-error-properties, compilation-move-to-column):
5098 Handle compilation-first-column while in the target buffer.
5099
c400c4d7
SM
5100 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5101 Don't hardcode point-min==1.
5102
6dbe3e96
SM
5103 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5104 (eshell-rewrite-for-command): Remove workaround.
5105 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5106 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5107 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5108
cbe71af3
SM
5109 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5110
a8e1496d
GM
51112011-11-17 Glenn Morris <rgm@gnu.org>
5112
5113 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5114 Ignore buffer-local generated-autoload-file if it is the same
5115 as the global value. (Bug#10049)
5116
df85d315
JB
51172011-11-17 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5120 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5121 (reftex-toc-previous-heading, reftex-toc-max-level)
5122 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5123 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5124 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5125 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5126 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5127 (reftex-toc-rename-label, reftex-toc-visit-location)
5128 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5129 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5130 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5131 leaving "*toc*" only for references to the buffer.
5132
a0c2d0ae
MR
51332011-11-17 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (window-resize, delete-window, split-window):
5136 Replace window-splits by window-combination-resize.
1d00653d 5137 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5138
35c0bac8
GM
51392011-11-17 Glenn Morris <rgm@gnu.org>
5140
5141 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5142 Make bash entry derive from sh entry, not shell entry.
5143
d0c8fc8a
MA
51442011-11-16 Michael Albinus <michael.albinus@gmx.de>
5145
d0c8fc8a
MA
5146 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5147 properties of linked files. (Bug#9879)
5148
7262a87c
MA
5149 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5150 local file name.
5151
7877f373
JB
51522011-11-16 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * menu-bar.el (menu-bar-file-menu):
5155 * printing.el (pr-ps-utility):
5156 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5157 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5158 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5159 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5160 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5161 (icalendar--convert-cyclic-to-ical)
5162 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5163 (icalendar--convert-ical-to-diary)
5164 (icalendar--convert-recurring-to-diary)
5165 (icalendar--convert-non-recurring-all-day-to-diary)
5166 (icalendar-import-format-sample):
5167 * progmodes/idlw-shell.el (idlwave-shell-mode):
5168 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5169 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5170 (vhdl-ps-print-init): Fix typos.
5171
10649b82
KM
51722011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5173
9d0cfcd6
GM
5174 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5175 FSF and collapse date sequence, obscure author/maintainer email address
5176 better, remove extra version line, track relocation of author's webpage.
10649b82 5177
9d0cfcd6
GM
5178 * progmodes/python.el (python-pdbtrack-input-prompt)
5179 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5180 regular python pdb prompts. Adjustments shamelessly taken exactly as
5181 suggested in EmacsWiki page (tiny change):
5182 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5183
58179cce
JB
51842011-11-16 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * expand.el (expand-pos, expand-index, expand-point):
5187 Remove redundant info from docstring.
5188 (expand-add-abbrevs): Doc fix.
5189 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5190 (expand-sample-perl-mode-expand-list): Fix typos.
5191
5192 * net/dbus.el (dbus-event-member-name):
5193 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5194 * term/pc-win.el (msdos-create-frame-with-faces):
5195 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5196
b6f67890
MR
51972011-11-16 Martin Rudalics <rudalics@gmx.at>
5198
5199 * window.el (split-window, window-state-get-1)
5200 (window-state-put-1, window-state-put-2): Rename occurrences of
5201 window-nest to window-combination-limit.
1d00653d 5202 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5203
ce7ddba0
CY
52042011-11-16 Chong Yidong <cyd@gnu.org>
5205
5206 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5207 regexp (Bug#10033).
5208
3ae704f4
SM
52092011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5212 `completing-read' will remove *Completions* and will preserve
5213 current-buffer for us.
5214 (tmm-add-prompt): Users of *Completions* will always (re)set its
5215 major mode.
5216 (tmm-old-comp-map): Remove.
5217
6ad1cdde
GM
52182011-11-16 Glenn Morris <rgm@gnu.org>
5219
5220 * mail/rmailedit.el: Require rmailmm when compiling.
5221 (rmail-old-mime-state): New declaration.
5222 (rmail-edit-current-message): If editing a mime message,
5223 edit the "raw" message from the mbox buffer.
5224 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5225
d20faa20
GM
52262011-11-15 Glenn Morris <rgm@gnu.org>
5227
5228 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5229 which wasn't being used. Add optional arg to force given state.
5230 (rmail-mime): Add optional arg to force given state.
5231
c7015153
JB
52322011-11-15 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5235 * frame.el (display-mm-dimensions-alist):
5236 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5237 (outline-move-subtree-down):
5238 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5239 (newsticker--treeview-do-get-node):
5240 * net/quickurl.el (quickurl-list-buffer-name):
5241 * progmodes/dcl-mode.el (dcl-mode):
5242 * progmodes/gdb-mi.el (gdb-mapcar*):
5243 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5244
45261b50
GM
52452011-11-15 Glenn Morris <rgm@gnu.org>
5246
5247 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5248 in a boolean sense, so just make it a boolean, and fix the doc.
5249 (rmail-show-mime-function, rmail-mime-feature)
5250 (rmail-require-mime-maybe): Doc fixes.
5251 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5252
5253 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5254
0d26e0b6
JB
52552011-11-15 Juanma Barranquero <lekktu@gmail.com>
5256
5257 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5258 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5259 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5260 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5261
447f30f6
GM
52622011-11-15 Glenn Morris <rgm@gnu.org>
5263
672b871d
GM
5264 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5265 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5266 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5267 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5268 (rmail-mime, rmail-show-mime): Doc fixes.
5269
f6aa5bb1
GM
5270 * term/ns-win.el (mode-line-frame-identification):
5271 Leave it alone. (Bug#10051)
5272
947cd66b
GM
5273 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5274
447f30f6
GM
5275 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5276 Handle empty buffers. (Bug#9978)
5277
0b381c7e
JB
52782011-11-14 Juanma Barranquero <lekktu@gmail.com>
5279
5280 * international/mule.el (define-charset):
5281 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5282 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5283 * progmodes/verilog-mode.el (verilog-backward-token):
5284 * textmodes/ispell.el (lookup-words):
5285 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5286
71e027ac
GM
52872011-11-14 Glenn Morris <rgm@gnu.org>
5288
56632ce4
GM
5289 * progmodes/executable.el
5290 (executable-make-buffer-file-executable-if-script-p):
5291 Handle file-modes returning nil.
5292
40500957
GM
5293 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5294 message - not necessary, and causes problems. (Bug#9831)
5295
071c2340
GM
5296 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5297
d3cfca60
GM
5298 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5299
71e027ac
GM
5300 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5301 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5302 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5303
89d61221
MR
53042011-11-12 Martin Rudalics <rudalics@gmx.at>
5305
5306 * window.el (window-resize, delete-window): Use window-splits
5307 variable instead of function.
5308 (window-state-get-1, window-state-put-2, window-state-put):
5309 Don't deal with windows' splits status.
5310
98282f6f
GM
53112011-11-12 Glenn Morris <rgm@gnu.org>
5312
5313 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5314 (apropos-documentation): Doc fixes.
5315
40a8bdf6
JB
53162011-11-11 Juanma Barranquero <lekktu@gmail.com>
5317
5318 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5319 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5320
65bd19ff
SM
53212011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * electric.el (electric-indent-post-self-insert-function): Make it
5324 possible for a char to only indent in some circumstances.
5325 (electric-indent-mode): Simplify.
5326
54f9154c
MR
53272011-11-11 Martin Rudalics <rudalics@gmx.at>
5328
5329 * window.el (windows-with-parameter): Remove unused function.
5330 (windows-at-side): Rename to window-at-side-list.
5331 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5332 (window-side-check, window-size-ignore, window-size-fixed-1)
5333 (window-in-direction-2): Prefix with "window--".
5334 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5335
68cbc58b
GM
53362011-11-11 Glenn Morris <rgm@gnu.org>
5337
5338 * subr.el (eval-after-load): If FILE is already loaded,
5339 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5340
b2621720
GM
53412011-11-10 Glenn Morris <rgm@gnu.org>
5342
9a4de110
GM
5343 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5344 Call svn via vc-svn-command rather than vc-do-command.
5345 (vc-svn-command): Add --non-interactive. (Bug#9993)
5346 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5347
b2621720
GM
5348 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5349 Add toggle-read-only. (Bug#7292)
5350 * files.el (toggle-read-only): Mention that it should only
5351 be used interactively. (Bug#10006)
5352
1dce7193
SM
53532011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5354
d9ac1a1e
SM
5355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5356 Adjust regexp for OCaml warnings.
5357
0c325082
SM
5358 * electric.el (electric-pair-post-self-insert-function): Let user
5359 turn it off buffer-locally (bug#9932).
5360
90132c14
SM
5361 * progmodes/python.el (python-beginning-of-statement):
5362 Rewrite (bug#2703).
5363
1dce7193
SM
5364 * progmodes/compile.el: Better handle TABs (bug#9749).
5365 (compilation-internal-error-properties)
5366 (compilation-next-error-function): Obey the target buffer's
5367 compilation-error-screen-columns.
5368
c4e7c63a
JB
53692011-11-09 Juanma Barranquero <lekktu@gmail.com>
5370
5371 * progmodes/meta-mode.el: Remove obsolete comments.
5372 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5373 Fix typos in docstrings.
5374
2cffd681
MR
53752011-11-09 Martin Rudalics <rudalics@gmx.at>
5376
5377 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5378 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5379 (window--resizable): New function. Make all callers of
5380 window-resizable call window--resizable instead.
5381 (window-resizable): Rewrite in terms of window--resizable.
5382
0edcba87
GM
53832011-11-08 Glenn Morris <rgm@gnu.org>
5384
5385 * progmodes/delphi.el (delphi-mode-syntax-table):
5386 Let define-derived-mode define a proper syntax table. (Bug#9994)
5387
4b0d61e3
SM
53882011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * window.el: Stay away from defsubst.
5391 (window-list-no-nils): Remove.
5392 (window-state-get-1, window-state-get): Use backquote instead.
5393
cd394be1 53942011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5395
4b0d61e3 5396 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5397 Fix incorrect use of default argument in `completing-read'.
5398
e1c2c6f2
MR
53992011-11-08 Martin Rudalics <rudalics@gmx.at>
5400
5401 * window.el (display-buffer-function, special-display-function):
5402 Mention display-buffer-record-window but do not mention
5403 help-setup parameter in doc-strings.
b3f4a882 5404 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5405
105216ed
CY
54062011-11-08 Chong Yidong <cyd@gnu.org>
5407
5408 * window.el (window-total-height, window-total-width): Doc fix.
5409 (window-body-size): Move from C.
5410 (window-body-height, window-body-width): Move to C.
5411
0a9f9ab5
SM
54122011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * window.el: Make special-display like display-buffer-alist (bug#9532).
5415 (display-buffer--special-action): New function, morphed
5416 from display-buffer--special.
5417 (display-buffer): Use it to handle special-display-buffers at higher
5418 priority (just after display-buffer-alist).
5419 (display-buffer-fallback-action, display-buffer--other-frame-action)
5420 (pop-to-buffer-same-window): Remove display-buffer--special.
5421
a769dd15
GM
54222011-11-07 Glenn Morris <rgm@gnu.org>
5423
5424 * calendar/cal-menu.el (cal-menu-set-date-title):
5425 Do nothing if not in a calendar. (Bug#9976)
5426
05a61ee3
SM
54272011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * files.el (find-file): Always use selected-window.
5430
be7f5545
MR
54312011-11-07 Martin Rudalics <rudalics@gmx.at>
5432
5433 * window.el (window-combinations): Make WINDOW argument
5434 mandatory. Rewrite doc-string.
5435 (walk-window-subtree, window-atom-check, window-min-delta)
5436 (window-max-delta, window--resize-this-window)
5437 (window--resize-root-window-vertically, window-tree)
5438 (balance-windows, window-state-put): Rewrite doc-strings as to
5439 not mention the term "subwindow".
5440 (window--resize-subwindows-skip-p): Rename to
5441 window--resize-child-windows-skip-p.
5442 (window--resize-subwindows-normal): Rename to
5443 window--resize-child-windows-normal.
5444 (window--resize-subwindows): Rename to
5445 window--resize-child-windows.
5446 (window-or-subwindow-p): Rename to window--in-subtree-p.
5447
3c6702ef
ML
54482011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5449
5450 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5451 Ensure that mbox format messages end in two newlines (Bug#9974).
5452
49745b39
CY
54532011-11-06 Chong Yidong <cyd@gnu.org>
5454
5455 * window.el (window-combination-p): Function deleted; its
5456 side-effect is not used in any existing code.
5457 (window-combinations, window-combined-p): Call window-*-child
5458 directly.
5459
24300f5f
CY
54602011-11-05 Chong Yidong <cyd@gnu.org>
5461
5462 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5463 (window-size-ignore, window-state-get): Callers changed.
5464 (window-normalize-window): Rename from window-normalize-any-window.
5465 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5466 (window-normalize-live-window): Delete.
447f16b8
CY
5467 (window-combination-p, window-combined-p, window-combinations)
5468 (walk-window-subtree, window-atom-root, window-min-size)
5469 (window-sizable, window-sizable-p, window-size-fixed-p)
5470 (window-min-delta, window-max-delta, window-resizable)
5471 (window-resizable-p, window-full-height-p, window-full-width-p)
5472 (window-current-scroll-bars, window-point-1, set-window-point-1)
5473 (window-at-side-p, window-in-direction, window-resize)
5474 (adjust-window-trailing-edge, maximize-window, minimize-window)
5475 (window-deletable-p, delete-window, delete-other-windows)
5476 (record-window-buffer, unrecord-window-buffer)
5477 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5478 (quit-window, split-window, window-state-put)
5479 (set-window-text-height, fit-window-to-buffer)
5480 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5481
89bd5ee1
EZ
54822011-11-04 Eli Zaretskii <eliz@gnu.org>
5483
53479029
EZ
5484 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5485 rfc2047-decode-string.
5486 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5487 warnings.
5488
89bd5ee1
EZ
5489 * window.el (window-body-height, window-body-width): Mention in
5490 the doc string that the return values are in frame's canonical
5491 units. (Bug#9949)
5492
bd17fdee
AM
54932011-11-03 Alan Mackenzie <acm@muc.de>
5494
5495 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5496 change in cc-engine.el.
5497
acc825c5
SM
54982011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5501
1885e5b8
MR
55022011-11-02 Martin Rudalics <rudalics@gmx.at>
5503
5504 * window.el (quit-window): Call unrecord-window-buffer after
5505 showing another buffer in the window. (Bug#9937)
acc825c5 5506 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5507
ebe06da9
JB
55082011-11-02 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5511 Accept status with more than 9 shelves. (Bug#9935)
5512 Reported by Colin D Bennett <colin@gibibit.com>.
5513
4ee88440
MR
55142011-11-01 Martin Rudalics <rudalics@gmx.at>
5515
5516 * help.el (with-help-window): Don't reference
5517 temp-buffer-show-specifiers in doc-string.
5518
08e1d82c
AS
55192011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5520
5521 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5522 menu-item.
5523
84bd6e9e
VJL
55242011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5525
5526 * whitespace.el: New version 13.2.2.
5527 (whitespace-newline-mode): Disable properly. Reported by Sarah
5528 <EmacsWiki>.
5529
dba0634a
UJ
55302011-10-30 Ulf Jasper <ulf.jasper@web.de>
5531
5532 * net/newst-treeview.el: Remove "Time-stamp".
5533 (newsticker--group-manage-orphan-feeds): Do not call
5534 newsticker--treeview-tree-update.
db22a3c2
JB
5535 (newsticker-treeview-update, newsticker-treeview):
5536 Call newsticker--treeview-tree-update if necessary.
dba0634a 5537
3d8daefe
MR
55382011-10-30 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5541 (window-iso-combinations): Remove "iso-" infix.
5542 Suggested by Chong Yidong.
3d8daefe
MR
5543 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5544 (window-max-delta-1, window-resize, window--resize-siblings)
5545 (window--resize-this-window, adjust-window-trailing-edge)
5546 (split-window, balance-windows-1)
5547 (shrink-window-if-larger-than-buffer):
5548 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5549 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5550
1bc4c3ae
SM
55512011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5554 in place (bug#9907).
5555 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5556 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5557 (eshell-structure-basic-command, eshell-rewrite-while-command)
5558 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5559 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5560 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5561 (eshell-do-pipelines-synchronously, eshell-eval-command):
5562 Use backquotes and prefer setq to set.
5563 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5564 (eshell-macrop): Use functionp.
c1e2f5fa 5565 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5566
30b65d9c
CY
55672011-10-30 Chong Yidong <cyd@gnu.org>
5568
5569 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5570 instead of set-mark (Bug#9810).
5571
2d197ffb
CY
55722011-10-30 Chong Yidong <cyd@gnu.org>
5573
5574 * window.el (split-window-below, split-window-right): Rename from
5575 split-window-above-each-other and split-window-side-by-side
5576 respectively. All callers changed.
5577 (split-window-sensibly, split-window-sensibly): Use them.
5578 (split-window-keep-point): Doc fix.
5579
5580 * isearch.el: Add isearch-scroll property to split-window-below
5581 and split-window-right.
5582
5583 * follow.el (follow-mode):
5584 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5585 * progmodes/ada-xref.el (ada-gdb-application):
5586 * emulation/vip.el (vip-buffer-in-two-windows):
5587 * image-dired.el (image-dired-dired-with-window-configuration):
5588 * dired-x.el (dired-do-find-marked-files):
5589 * dired.el (dired-pop-to-buffer):
5590 * bs.el (bs--show-with-configuration):
5591 * vc/emerge.el (emerge-setup-windows):
5592 * textmodes/two-column.el (2C-two-columns):
5593 * textmodes/reftex-toc.el (reftex-toc):
5594 * progmodes/gdb-mi.el (gdb-setup-windows):
5595 * progmodes/fortran.el (fortran-window-create):
5596 * net/newst-treeview.el (newsticker--treeview-window-init):
5597 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5598 * emulation/tpu-edt.el (tpu-gold-map):
5599 * emulation/crisp.el (crisp-mode-map):
5600 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5601
38bb2ca8
CY
56022011-10-29 Chong Yidong <cyd@gnu.org>
5603
aa4de341
CY
5604 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5605
e1eb5385
CY
5606 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5607
5d2ece3c
CY
5608 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5609 forged Ispell output (Bug#7904).
5610
38bb2ca8
CY
5611 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5612
d0af9f77
SM
56132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * doc-view.el: Avoid ugly errors about not finding nil.
5616 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5617 (doc-view-dvipdf-program, doc-view-unoconv-program)
5618 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5619 Avoid nil or absolute file name as default value.
5620 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5621
52bedd34
AM
56222011-10-28 Alan Mackenzie <acm@muc.de>
5623
db22a3c2 5624 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5625
7e43cfa5
AM
56262011-10-28 Alan Mackenzie <acm@muc.de>
5627
5628 Amend the handling of c-beginning/end-of-defun in nested declaration
5629 scopes.
5630
52bedd34
AM
5631 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5632 cc-langs.el. Change it to a defcustom.
7e43cfa5 5633
52bedd34
AM
5634 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5635 cc-vars.el.
7e43cfa5 5636
d0af9f77
SM
5637 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5638 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5639
52bedd34 5640 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5641 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5642 (c-widen-to-enclosing-decl-scope): New function.
5643 (c-while-widening-to-decl-block): New macro.
5644 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5645 outward for defun boundaries, and correspondingly change symbol
5646 `respect-enclosure' to `go-outward'.
5647 (c-declaration-limits): Change algorithm to report only the "innermost"
5648 defun's boundaries.
5649
1a2ce9ee
DD
56502011-10-28 Deniz Dogan <deniz@dogan.se>
5651
5652 * net/rcirc.el (rcirc-mode): Use hard newlines.
5653
bc97a826
AM
56542011-10-28 Alan Mackenzie <acm@muc.de>
5655
5656 Amend to indent and fontify macros "which include their own semicolon"
5657 correctly, using the "virtual semicolon" mechanism.
5658
52bedd34 5659 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5660
d0af9f77 5661 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5662 Recode to scan one line at a time rather than having \n and \r
58179cce 5663 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5664 (c-forward-label): Amend for virtual semicolons.
58179cce 5665 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5666
52bedd34
AM
5667 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5668 of the new C macros.
bc97a826 5669
52bedd34 5670 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5671 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5672 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5673 (c-opt-cpp-macro-define): Make into a full language variable.
5674 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5675 AWK Mode (including \n, \r) removed, no longer needed.
5676
d0af9f77
SM
5677 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5678 Invoke c-make-macro-with-semi-re.
bc97a826 5679
52bedd34
AM
5680 * progmodes/cc-vars.el (c-macro-with-semi-re):
5681 (c-macro-names-with-semicolon): New variables.
58179cce 5682 (c-make-macro-with-semi-re): New function.
bc97a826 5683
7a6c0941
SM
56842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * vc/log-edit.el: Fill empty field rather than adding new one.
5687 (log-edit-add-field): New function.
5688 (log-edit-insert-changelog): Use it.
5689
b0c4cdcf
ML
56902011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5691
5692 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5693
ee1f1da9
SM
56942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5697 (gdb--check-interpreter): New function.
5698 (gdb): Use it.
5699
51bc5f8b
GM
57002011-10-27 Glenn Morris <rgm@gnu.org>
5701
416a2c45
GM
5702 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5703 (least-positive-float, least-negative-float)
5704 (least-positive-normalized-float, least-negative-normalized-float)
5705 (float-epsilon, float-negative-epsilon):
5706 Remove unnecessary declarations.
5707
5708 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5709 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5710 (least-positive-float, least-negative-float)
5711 (least-positive-normalized-float, least-negative-normalized-float)
5712 (float-epsilon, float-negative-epsilon): Add doc-strings,
5713 based on those in cl.texi.
5714
51bc5f8b
GM
5715 * files.el (set-visited-file-name): If the major-mode changed,
5716 reload the local variables. (Bug#9796)
5717
15de15c6
CY
57182011-10-27 Chong Yidong <cyd@gnu.org>
5719
5720 * subr.el (change-major-mode-after-body-hook): New hook.
5721 (run-mode-hooks): Run it.
5722
ee1f1da9
SM
5723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5724 Use change-major-mode-before-body-hook.
15de15c6
CY
5725
5726 * simple.el (fundamental-mode):
5727 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5728 change introducing fundamental-mode-hook.
5729
5430d399
JB
57302011-10-26 Juanma Barranquero <lekktu@gmail.com>
5731
acc825c5 5732 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5733
ad74a69e
MA
57342011-10-26 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5737 tramp.el explicitly. (Bug#7583)
ad74a69e 5738
71d4c2a5
SM
57392011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * progmodes/octave-mod.el:
5742 * progmodes/octave-inf.el: Update maintainer.
5743
b1f6fa26
CY
57442011-10-26 Chong Yidong <cyd@gnu.org>
5745
5746 * subr.el (with-wrapper-hook): Rewrite doc.
5747
3f04efd6
MA
57482011-10-25 Michael Albinus <michael.albinus@gmx.de>
5749
5750 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5751 filenames "/method:foo:". (Bug#9793)
3f04efd6 5752
410488d3
SM
57532011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5756 (bug#9865).
5757
c1ebb47e
GM
57582011-10-24 Glenn Morris <rgm@gnu.org>
5759
5760 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5761
7f5c46c7
MA
57622011-10-24 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * notifications.el: Add the requirement of a running D-Bus session
5765 bus to the Commentary.
5766
db2440b6
JL
57672011-10-24 Juri Linkov <juri@jurta.org>
5768
5769 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5770 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5771 (Bug#9364)
5772
feecf435
JL
57732011-10-24 Juri Linkov <juri@jurta.org>
5774
5775 * info.el (Info-following-node-name-re): Add newline to the list
5776 of allowed characters for leading space. (Bug#9824)
5777
a3839de2
SM
57782011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5779
acc825c5
SM
5780 * progmodes/octave-inf.el (inferior-octave-mode-map):
5781 Fix C-c C-h binding.
a3839de2
SM
5782 * progmodes/octave-mod.el (octave-help): Remove.
5783
09388e76
MA
57842011-10-23 Michael Albinus <michael.albinus@gmx.de>
5785
5786 Sync with Tramp 2.2.3.
5787
5788 * net/tramp-cache.el (top): Pacify byte-compiler using
5789 `init-file-user' and `site-run-file'.
5790
5791 * net/trampver.el: Update release number.
5792
86c60681
CY
57932011-10-23 Chong Yidong <cyd@gnu.org>
5794
5795 * files.el (toggle-read-only): Remove obsolete comment about
5796 version control.
5797
5798 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5799 for toggle-read-only. Note that this hasn't called vc-next-action
5800 since 2008-05-02, though it wasn't documented at the time.
5801
a3839de2
SM
5802 * vc/ediff-init.el (ediff-toggle-read-only-function):
5803 Use toggle-read-only.
86c60681 5804
cd5495ff
AM
58052011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5806
5807 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5808 of c-parse-state.
5809
00b77525 5810 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5811 correct faulty logical expression.
cd5495ff
AM
5812 (c-parse-state-state, c-record-parse-state-state):
5813 (c-replay-parse-state-state): New defvar/defuns.
5814 (c-debug-parse-state): Use new functions.
5815
42ee24ed
MR
58162011-10-22 Martin Rudalics <rudalics@gmx.at>
5817
5818 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5819 last fix. Use window-in-direction correctly.
42ee24ed 5820
a7dee7e7
CY
58212011-10-21 Chong Yidong <cyd@gnu.org>
5822
5823 * progmodes/idlwave.el (idlwave-mode):
5824 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5825 require-final-newline; that's done in prog-mode.
5826 Suggested by Stefan Monnier.
a7dee7e7 5827
e07b9a6d
MR
58282011-10-21 Martin Rudalics <rudalics@gmx.at>
5829
5830 * mouse.el (mouse-drag-window-above)
5831 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5832 (mouse-drag-mode-line-1, mouse-drag-header-line)
5833 (mouse-drag-vertical-line-rightward-window): Remove.
5834 (mouse-drag-line): New function.
5835 (mouse-drag-mode-line, mouse-drag-header-line)
5836 (mouse-drag-vertical-line): Call mouse-drag-line.
5837 * window.el (window-at-side-p, windows-at-side): New functions.
5838
7e1361d9
UM
58392011-10-21 Ulrich Mueller <ulm@gentoo.org>
5840
5841 * tar-mode.el (tar-grind-file-mode):
5842 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5843
30fcaf3a
CY
58442011-10-21 Chong Yidong <cyd@gnu.org>
5845
5846 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5847 * progmodes/vera-mode.el (vera-mode):
5848 Use mode-require-final-newline.
30fcaf3a 5849
516eddb0
GM
58502011-10-20 Glenn Morris <rgm@gnu.org>
5851
db22a3c2 5852 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5853
10d5f513
CS
58542011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5855
5856 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5857
ac6c8639
CY
58582011-10-20 Chong Yidong <cyd@gnu.org>
5859
5860 * emulation/cua-base.el (cua-mode):
5861 * mail/footnote.el (footnote-mode):
5862 * mail/mailabbrev.el (mail-abbrevs-mode):
5863 * net/xesam.el (xesam-minor-mode):
5864 * progmodes/bug-reference.el (bug-reference-mode):
5865 * progmodes/cap-words.el (capitalized-words-mode):
5866 * progmodes/compile.el (compilation-minor-mode)
5867 (compilation-shell-minor-mode):
5868 * progmodes/gud.el (gud-tooltip-mode):
5869 * progmodes/hideif.el (hide-ifdef-mode):
5870 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5871 * progmodes/subword.el (subword-mode):
5872 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5873 * progmodes/which-func.el (which-function-mode):
5874 * term/tvi970.el (tvi970-set-keypad-mode):
5875 * term/vt100.el (vt100-wide-mode):
5876 * textmodes/flyspell.el (flyspell-mode):
5877 * textmodes/ispell.el (ispell-minor-mode):
5878 * textmodes/nroff-mode.el (nroff-electric-mode):
5879 * textmodes/paragraphs.el (use-hard-newlines):
5880 * textmodes/refill.el (refill-mode):
5881 * textmodes/reftex.el (reftex-mode):
5882 * textmodes/rst.el (rst-minor-mode):
5883 * textmodes/sgml-mode.el (html-autoview-mode)
5884 (sgml-electric-tag-pair-mode):
5885 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5886 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5887 * emulation/crisp.el (crisp-mode):
5888 * emacs-lisp/eldoc.el (eldoc-mode):
5889 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5890 minor mode behavior.
5891
aa42ab43
JL
58922011-10-19 Juri Linkov <juri@jurta.org>
5893
5894 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5895 the list of hard-coded chars with escape-glyph face.
5896
89400f1d
SM
58972011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5900
305c07f6
MA
59012011-10-19 Michael Albinus <michael.albinus@gmx.de>
5902
5903 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5904 running process.
5905
13754b54
GM
59062011-10-19 Glenn Morris <rgm@gnu.org>
5907
5908 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5909 Ignore ignored files. (Bug#9726)
5910
06e21633
CY
59112011-10-19 Chong Yidong <cyd@gnu.org>
5912
5913 Doc fix for minor modes, stating that an omitted argument enables
5914 the mode unconditionally when called from Lisp.
5915
5916 * abbrev.el (abbrev-mode):
5917 * allout.el (allout-mode):
5918 * autoinsert.el (auto-insert-mode):
5919 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5920 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5921 (global-auto-revert-mode):
5922 * battery.el (display-battery-mode):
5923 * composite.el (global-auto-composition-mode)
5924 (auto-composition-mode):
5925 * delsel.el (delete-selection-mode):
5926 * desktop.el (desktop-save-mode):
5927 * dired-x.el (dired-omit-mode):
5928 * dirtrack.el (dirtrack-mode):
5929 * doc-view.el (doc-view-minor-mode):
5930 * double.el (double-mode):
5931 * electric.el (electric-indent-mode, electric-pair-mode):
5932 * emacs-lock.el (emacs-lock-mode):
5933 * epa-hook.el (auto-encryption-mode):
5934 * follow.el (follow-mode):
5935 * font-core.el (font-lock-mode):
5936 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5937 * help.el (temp-buffer-resize-mode):
5938 * hilit-chg.el (highlight-changes-mode)
5939 (highlight-changes-visible-mode):
5940 * hi-lock.el (hi-lock-mode):
5941 * hl-line.el (hl-line-mode, global-hl-line-mode):
5942 * icomplete.el (icomplete-mode):
5943 * ido.el (ido-everywhere):
5944 * image-file.el (auto-image-file-mode):
5945 * image-mode.el (image-minor-mode):
5946 * iswitchb.el (iswitchb-mode):
5947 * jka-cmpr-hook.el (auto-compression-mode):
5948 * linum.el (linum-mode):
5949 * longlines.el (longlines-mode):
5950 * master.el (master-mode):
5951 * mb-depth.el (minibuffer-depth-indicate-mode):
5952 * menu-bar.el (menu-bar-mode):
5953 * minibuf-eldef.el (minibuffer-electric-default-mode):
5954 * mouse-sel.el (mouse-sel-mode):
5955 * msb.el (msb-mode):
5956 * mwheel.el (mouse-wheel-mode):
5957 * outline.el (outline-minor-mode):
5958 * paren.el (show-paren-mode):
5959 * recentf.el (recentf-mode):
5960 * reveal.el (reveal-mode, global-reveal-mode):
5961 * rfn-eshadow.el (file-name-shadow-mode):
5962 * ruler-mode.el (ruler-mode):
5963 * savehist.el (savehist-mode):
5964 * scroll-all.el (scroll-all-mode):
5965 * scroll-bar.el (scroll-bar-mode):
5966 * server.el (server-mode):
5967 * shell.el (shell-dirtrack-mode):
5968 * simple.el (auto-fill-mode, transient-mark-mode)
5969 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5970 (line-number-mode, column-number-mode, size-indication-mode)
5971 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5972 * strokes.el (strokes-mode):
5973 * time.el (display-time-mode):
5974 * t-mouse.el (gpm-mouse-mode):
5975 * tool-bar.el (tool-bar-mode):
5976 * tooltip.el (tooltip-mode):
5977 * type-break.el (type-break-mode-line-message-mode)
5978 (type-break-query-mode):
5979 * view.el (view-mode):
5980 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5981 (global-whitespace-mode, global-whitespace-newline-mode):
5982 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5983
a3839de2
SM
5984 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5985 Fix autogenerated docstring.
06e21633 5986
5214e501
JL
59872011-10-19 Juri Linkov <juri@jurta.org>
5988
5989 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5990 by checking environment variables "DESKTOP_SESSION" and
5991 "XDG_CURRENT_DESKTOP". (Bug#9779)
5992
195f8db9
JL
59932011-10-19 Juri Linkov <juri@jurta.org>
5994
5995 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5996 (browse-url-chromium-program, browse-url-chromium-arguments):
5997 New defcustoms.
5998 (browse-url-default-browser): Check for `browse-url-chromium' and
5999 call `browse-url-chromium-program'.
6000 (browse-url-chromium): New command. (Bug#9779)
6001
343a34ff
JB
60022011-10-18 Juanma Barranquero <lekktu@gmail.com>
6003
6004 * facemenu.el (list-colors-duplicates): On Windows, detect more
6005 duplicates by assuming that only colors matching "^System" are
6006 special "system colors". (Bug#9722)
6007
6978a151
SM
60082011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6011 to distinguish the author from the committer.
6012
6a80b297
MA
60132011-10-18 Michael Albinus <michael.albinus@gmx.de>
6014
6015 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6016
b31a5677
JK
60172011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6018
6019 * international/mule.el (sgml-html-meta-auto-coding-function):
6020 Add support for detecting encoding in HTML5 specified only as
6021 <meta charset="UTF-8">. Implementation just makes http-equiv and
6022 content-type parts from HTML4 encoding string optional. (Bug#9716)
6023
80c6d77f
GM
60242011-10-18 Glenn Morris <rgm@gnu.org>
6025
6026 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6027
08b0fee8
CY
60282011-10-18 Chong Yidong <cyd@gnu.org>
6029
6030 * faces.el (cursor): Doc fix.
6031
67e729a5
CY
60322011-10-17 Chong Yidong <cyd@gnu.org>
6033
6034 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6035
343a34ff 60362011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6037
6038 * dirtrack.el (dirtrack): Support shell buffers with path
6039 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6040
0bc06380
TZ
60412011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6042
6043 * json.el: Bump version to 1.3 and note change in History.
6044 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6045
8b79f3e0
SM
60462011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6047
5a7c536b
SM
6048 * comint.el (comint-insert-input, comint-send-input)
6049 (comint-get-old-input-default, comint-backward-matching-input)
6050 (comint-next-prompt): Use nil instead of `input' for field property of
6051 past user input (bug#114).
6052
96a8a0df
SM
6053 * minibuffer.el (completion--replace): Inherit surrounding properties
6054 (bug#114).
6055 (minibuffer-complete-and-exit): Use it.
6056
8b79f3e0
SM
6057 * comint.el (comint--table-subvert): Quote the all-completions output
6058 (bug#9160).
6059
b8f7ff0d
MR
60602011-10-17 Martin Rudalics <rudalics@gmx.at>
6061
8b79f3e0 6062 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6063
b8f7ff0d 6064 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6065 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6066 entries and separate them from frame entries.
6067
c235b555
GM
60682011-10-15 Glenn Morris <rgm@gnu.org>
6069
6070 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6071 Doc fixes.
6072
6bbfa6e1
CY
60732011-10-15 Chong Yidong <cyd@stupidchicken.com>
6074
8b79f3e0
SM
6075 * net/network-stream.el (network-stream-open-starttls):
6076 Improve detection of failure due to lack of TLS support.
ec5c990d 6077
6bbfa6e1
CY
6078 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6079 putting the input text in front and in bold.
6080
98488977
SM
60812011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6082
3d1337be
SM
6083 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6084
ee0b45e4
SM
6085 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6086 empty buffer.
6087
98488977
SM
6088 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6089 unread-command-events rather than pushing yet-another event.
6090
186f4720
EZ
60912011-10-14 Eli Zaretskii <eliz@gnu.org>
6092
6093 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6094 the explanation of the possible choices. Make the options passed
6095 to completing-read shorter.
6096
8b7a997c
AM
60972011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6098
6099 * textmodes/flyspell.el (flyspell-large-region): Make sure
6100 extended character mode is used if defined (Bug#1339).
6101
12587bbb
EZ
61022011-10-13 Eli Zaretskii <eliz@gnu.org>
6103
6104 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6105 character info for LRE, LRO, RLE, and RLO characters by appending
6106 an invisible PDF.
12587bbb 6107
bad41229
SM
61082011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6109
6110 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6111 even in case of error; add debug spec; simplify data flow.
6112 (with-timeout-handler): Remove.
6113
28dbc92f
MA
61142011-10-12 Michael Albinus <michael.albinus@gmx.de>
6115
6116 Fix Bug#6019, Bug#9315.
6117
6118 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6119 complete `buffer-file-name', the local file name part could look
6120 remotely (for example on VMS).
6121
6122 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6123 `tramp-run-real-handler'.
6124 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6125 already quoted by '"'.
6126
6127 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6128 Let `file-name-handler-alist' be nil, the local file name part
6129 could look remotely (for example on VMS).
6130
e1b0b23a
SM
61312011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6134 from here...
6135 (flyspell-post-command-hook): ...to here.
6136
a120bde9
SM
61372011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6140 if not needed.
6141 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6142 using completion. Protect against "slow" callers.
6143 Remove the "message hack".
6144
7ce7717b
JL
61452011-10-11 Juri Linkov <juri@jurta.org>
6146
6147 * isearch.el (isearch-lazy-highlight-word): New variable.
6148 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6149 Use it. (Bug#9727)
6150
c02ee9d6
GM
61512011-10-11 Glenn Morris <rgm@gnu.org>
6152
6153 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6154 like f90-previous-statement does.
6155
93e616fd 61562011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6157
1f190e73 6158 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6159 only in interactive use, to avoid error.
6160
af7b6078
SM
61612011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * minibuffer.el (completion-file-name-table): Fix last change,
6164 i.e. ignore normal errors but not the other ones.
6165
0563dae9
MR
61662011-10-10 Martin Rudalics <rudalics@gmx.at>
6167
6168 * window.el (special-display-buffer-names)
6169 (special-display-regexps): Remove some remnants of earlier
6170 changes from doc-strings.
366ca7f3
MR
6171 (quit-windows-on): New function.
6172
6173 * vc/vc.el (vc-revert, vc-rollback):
6174 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6175 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6176 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6177
49677495
MR
61782011-10-09 Martin Rudalics <rudalics@gmx.at>
6179
6180 * window.el (frame-auto-hide-function): Add version tag.
6181 (Bug#9699)
6182
56f2d1e1
MA
61832011-10-09 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6186 condition.
6187
112a6592
LL
61882011-10-09 Leo Liu <sdl.web@gmail.com>
6189
6190 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6191 (Bug#9701)
6192
0812589b
GM
61932011-10-08 Glenn Morris <rgm@gnu.org>
6194
6195 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6196 before the first code statement zero indent. (Bug#9690)
6197
b2b0776e
CY
61982011-10-08 Chong Yidong <cyd@stupidchicken.com>
6199
6200 * simple.el (count-words-region): Always count in the region.
6201 Report the number of lines and characters too.
6202 (count-words): New command, which counts in the buffer if the
6203 region is inactive, as count-words-region used to.
6204 (count-words--message): New function. Handle plurals.
6205 (count-lines-region): Make it an alias for count-words-region.
6206
6207 * bindings.el (esc-map): Replace count-lines-region with
6208 count-words-region.
6209
c557cd6b
MR
62102011-10-08 Martin Rudalics <rudalics@gmx.at>
6211
6212 * window.el (window--delete): Delete dedicated frame
6213 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6214 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6215
61a57ef4 62162011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6217
3a7d293b 6218 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6219
c3833279
CY
62202011-10-07 Chong Yidong <cyd@stupidchicken.com>
6221
6222 * bindings.el ([M-left],[M-right]): Bind to left-word and
6223 right-word respectively.
6224
21ce8245
GM
62252011-10-07 Glenn Morris <rgm@gnu.org>
6226
6227 * cus-start.el (debug-on-quit): Fix custom type.
6228
6d823bb2
LMI
62292011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230
0181e193
LMI
6231 * subr.el (define-key-after): Clarify that the function is not
6232 useful for non-menu keymaps.
6233
6d823bb2
LMI
6234 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6235
8e3459ce 62362011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6237
21ce8245 6238 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6239 in current minibuffer (Fix bug with recursive minibuffers).
6240
a1c2d21e
CY
62412011-10-06 Chong Yidong <cyd@stupidchicken.com>
6242
6243 * progmodes/gdb-mi.el (gdb): Doc fix.
6244
5a4cf282
MR
62452011-10-05 Martin Rudalics <rudalics@gmx.at>
6246
6247 * window.el (frame-auto-hide-function): New option replacing
6248 frame-auto-delete. Suggested by Stefan Monnier.
6249 (window--delete): Call frame-auto-hide-function instead of
6250 investigating frame-auto-delete.
c96111ea
MR
6251 (window-point-1, set-window-point-1): New functions.
6252 (window-in-direction, record-window-buffer, window-state-get-1)
6253 (display-buffer-record-window): Use window-point-1 instead of
6254 window-point.
6255 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6256
9854542e
SM
62572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6260
8943cfb0
GM
62612011-10-05 Glenn Morris <rgm@gnu.org>
6262
6263 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6264 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6265
647ab967
LL
62662011-10-05 Leo Liu <sdl.web@gmail.com>
6267
6268 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6269 works with buffer object.
6270
3ddfbced
SM
62712011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * mpc.el (mpc-tool-bar-map): Add labels.
6274
bdfa5dd2
GM
62752011-10-04 Glenn Morris <rgm@gnu.org>
6276
6277 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6278
0e2070b5
MR
62792011-10-04 Martin Rudalics <rudalics@gmx.at>
6280
6281 * window.el (window--delete): New function.
6282 (frame-auto-delete): Resuscitate option.
6283 (bury-buffer, replace-buffer-in-windows)
6284 (quit-window): Rewrite using window--delete.
6285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6286 Pass display-buffer-mark-dedicated to window--display-buffer-2
6287 (Bug#9639).
6288
3dc61a09
SM
62892011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6290
915a9b64
SM
6291 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6292 returns a list (bug#9554). Add remote file name completion.
6293 * comint.el (comint--table-subvert): Curry and get quote&unquote
6294 functions as arguments.
6295 (comint--complete-file-name-data): Adjust call accordingly.
6296 * pcomplete.el (pcomplete--table-subvert): Remove.
6297 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6298
3dc61a09
SM
6299 * minibuffer.el (completion-table-case-fold): Use currying.
6300 (completion--styles-type, completion--cycling-threshold-type):
6301 New constants.
6302 (completion-styles, completion-category-overrides)
6303 (completion-cycle-threshold): Use them.
6304 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6305 completion-table-case-fold.
6306
8ea0a993
SB
63072011-10-03 Stephen Berman <stephen.berman@gmx.net>
6308
6309 * minibuffer.el (completion-category-overrides): Fix type of styles
6310 and add more user friendly tags (bug#9660).
6311
8c24b7f6
SM
63122011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6315 (mule-input-method-string): New widget.
6316 (default-input-method, language-info-custom-alist): Use it.
6317
428fe61a
SM
63182011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6319
32c1fffd
SM
6320 * pcomplete.el: Require comint.
6321 (pcomplete--common-suffix): Remove.
6322 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6323 (pcomplete--table-subvert): Sync with comint--table-subvert.
6324 (pcomplete--entries): Use comint-completion-file-name-table.
6325 * comint.el (comint-unquote-filename): Simplify.
6326 (comint-completion-file-name-table): New function (bug#9616).
6327 (comint--complete-file-name-data): Use it.
6328
428fe61a
SM
6329 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6330 (pcmpl-gnu-tar-buffer): Remove.
6331 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6332 around. Make sure pcomplete-suffix-list is only changed temporarily.
6333 Don't look inside the tar's file if it's too large.
428fe61a 6334
04c52e2f
CY
63352011-10-01 Chong Yidong <cyd@stupidchicken.com>
6336
ce3cefcc
CY
6337 * cus-edit.el (custom-mode-map):
6338 * epa.el (epa-key-list-mode-map):
6339 * man.el (Man-mode-map):
6340 * startup.el (splash-screen-keymap):
6341 * simple.el (special-mode-map): Use scroll-up-command and
6342 scroll-down-command.
6343
6344 * progmodes/idlw-help.el (idlwave-help-mode-map):
6345 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6346 * net/newst-plainview.el (newsticker-mode-map):
6347 * emulation/ws-mode.el (wordstar-mode-map):
6348 * emulation/vi.el (vi-com-map):
6349 * calc/calc-graph.el (calc-graph-show-dumb):
6350 * term/sun.el (terminal-init-sun):
6351 * term/ns-win.el (global-map):
6352 * progmodes/grep.el (grep-mode-map):
6353 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6354 * mail/rmail.el (rmail-mode-map):
6355 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6356
04c52e2f
CY
6357 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6358 custom-safe-themes as special.
6359
79adf8c8
JD
63602011-10-01 Julien Danjou <julien@danjou.info>
6361
6362 * notifications.el (notifications-notify): Fix docstring.
6363
63bd50d3
PS
63642011-10-01 Per Starbäck <per@starback.se>
6365
6366 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6367
199e4c7e
MR
63682011-09-30 Martin Rudalics <rudalics@gmx.at>
6369
6370 * startup.el (command-line-1): Fix last fix by inserting
6371 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6372 (Bug#9605) and (Bug#9636)
199e4c7e 6373
fe5f08dd
EZ
63742011-09-29 Eli Zaretskii <eliz@gnu.org>
6375
6376 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6377 window is hscrolled, move by logical lines. (Bug#9607)
6378 (line-move-visual): Update the doc string to the above effect.
6379
b5516bbd
MR
63802011-09-29 Martin Rudalics <rudalics@gmx.at>
6381
ccee00c0
MR
6382 * window.el (display-buffer-record-window): When WINDOW is the
6383 selected window use `point' instead of `window-point'. (Bug#9626)
6384
b5516bbd
MR
6385 * startup.el (command-line-1): Use insert-before-markers when
6386 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6387
b5516bbd
MR
6388 * help.el (help-window): Remove variable.
6389
52aa0014
GM
63902011-09-29 Glenn Morris <rgm@gnu.org>
6391
6392 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6393
df9a7357
JB
63942011-09-29 Juanma Barranquero <lekktu@gmail.com>
6395
6396 * descr-text.el (describe-char-categories): Accept category
6397 descriptions more than one line long.
6398
a8406c20
SM
63992011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6400
88d9610c
SM
6401 * simple.el (delete-trailing-whitespace): Fix last change.
6402
a5daf810
SM
6403 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6404 Don't confuse "y => 3" as the beginning of a `y' operation.
6405
a8406c20
SM
6406 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6407 object has more than 4 slots (bug#9613).
6408
a239d4e9
JB
64092011-09-28 Juanma Barranquero <lekktu@gmail.com>
6410
6411 * subr.el (with-output-to-temp-buffer):
6412 * net/quickurl.el (quickurl, quickurl-browse-url):
6413 Fix typos in docstrings.
6414
693fbdb6
EZ
64152011-09-27 Eli Zaretskii <eliz@gnu.org>
6416
6417 * minibuffer.el (completion-styles)
6418 (completion-category-overrides): Cross reference each other in doc
6419 strings.
6420
8b457e28
GM
64212011-09-27 Glenn Morris <rgm@gnu.org>
6422
6423 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6424 to split-string. (Bug#9606)
6425
85a16208
LMI
64262011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427
6428 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6429 (bug#9615).
6430
502f9ebd
CY
64312011-09-27 Chong Yidong <cyd@stupidchicken.com>
6432
6433 * emacs-lisp/package.el (list-packages): Fix echo area message.
6434
7690bdea
LL
64352011-09-27 Leo Liu <sdl.web@gmail.com>
6436
6437 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6438
e2ee6f30
MA
64392011-09-25 Michael Albinus <michael.albinus@gmx.de>
6440
6441 * net/dbus.el (dbus-unregister-object): Don't release services for
6442 registered signals. (Bug#9581)
6443
f3f98342
TZ
64442011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6445
6446 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6447 function that picks between cfengine 2 and 3 support
6448 automatically. Update docs accordingly.
6449
dd7aa8dd
KH
64502011-09-22 Kenichi Handa <handa@m17n.org>
6451
6452 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6453 ZERO.
6454 (indian-itrans-v5-table-for-tamil): New variable.
6455 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6456
3f2b07f8
KM
64572011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6458
6459 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6460 that's true if the current command involved collapsing of text.
6461 It's reset to false at the beginning of the next command.
6462 (allout-post-command-business): Move the cursor to the beginning
6463 of entry if the cursor is hidden and collapsing activity just
6464 happened.
6465
371d6a61
CY
64662011-09-24 Chong Yidong <cyd@stupidchicken.com>
6467
6468 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6469 tracking (Bug#9541).
6470
2ac2721a
UJ
64712011-09-24 Ulf Jasper <ulf.jasper@web.de>
6472
6473 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6474 (newsticker-show-news): Automatically load html rendering package
6475 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6476 because w3m-fill-column is let-bound" and the error "Symbol's value
6477 as variable is void: w3m-fill-column".
2ac2721a 6478
fac7ae53
MA
64792011-09-24 Michael Albinus <michael.albinus@gmx.de>
6480
6481 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6482 Release services only if they are defined. (Bug#9581)
6483
e08b633b
RS
64842011-09-23 Richard Stallman <rms@gnu.org>
6485
e488d29c
RS
6486 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6487 distinguish start of paragraph from start of its text.
6488
19c38752
RS
6489 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6490
e08b633b
RS
6491 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6492 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6493 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6494
0a39f27e
AS
64952011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6496
6497 * international/mule-diag.el (mule-diag): Insert a newline after
6498 each fontset description.
6499
db4e950d
SM
65002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * simple.el (delete-trailing-whitespace):
6503 Document last change; simplify.
6504
eca3f3ea
PW
65052011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6506
d68e189a
PW
6507 * simple.el (delete-trailing-whitespace): Also delete
6508 extra newlines at the end of the buffer.
6509
eca3f3ea
PW
6510 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6511 (picture-newline): Use forward-line so as to ignore fields.
6512
01c157cc
SM
65132011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6514
6515 * subr.el (with-wrapper-hook): Fix edebug spec.
6516
022de23e
LMI
65172011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6518
6519 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6520 (bug#4538).
6521
91683089
MA
65222011-09-23 Michael Albinus <michael.albinus@gmx.de>
6523
eca3f3ea
PW
6524 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6525 Fix nasty bug using wrong cached values.
91683089 6526
5bdd6fa4
AM
65272011-09-23 Alan Mackenzie <acm@muc.de>
6528
6529 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6530
97adfb97
CY
65312011-09-23 Chong Yidong <cyd@stupidchicken.com>
6532
6533 * window.el (pop-to-buffer): Ensure right window is selected if we
6534 chose another frame.
6535
d4ef2b50
EZ
65362011-09-22 Eli Zaretskii <eliz@gnu.org>
6537
6538 * simple.el (what-cursor-position): Use get-char-property-change
6539 and next-single-char-property-change, to be able to show display
6540 properties that come from overlays as well as text properties.
6541
72258fe5
CY
65422011-09-22 Chong Yidong <cyd@stupidchicken.com>
6543
6544 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6545
6546 * cmuscheme.el (run-scheme, switch-to-scheme):
6547 * cus-edit.el (customize-group, custom-buffer-create)
6548 (customize-browse):
6549 * info.el (info):
6550 * shell.el (shell):
6551 * mail/sendmail.el (mail):
6552 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6553
8f098516
RS
65542011-09-22 Richard Stallman <rms@gnu.org>
6555
6556 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6557 move back only to line beg, don't move back over blank lines.
6558
e74f1bb6
MA
65592011-09-22 Michael Albinus <michael.albinus@gmx.de>
6560
6561 * files.el (copy-directory): Set directory attributes only in case
6562 they could be retrieved from the source directory. (Bug#9565)
6563
bfeef8b6
DK
65642011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6565
6566 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6567 (hs-find-block-beginning, hs-hide-level-recursive):
6568 Ignore strings as well as comments. (Bug#9502)
6569
7e423bb8
AS
65702011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6571
6572 * progmodes/sql.el (sql-comint-postgres):
6573 Convert port number to a string. (Bug#9566)
6574
b4d72fcf
MR
65752011-09-22 Martin Rudalics <rudalics@gmx.at>
6576
6577 * window.el (quit-window): Undedicate window when switching to
6578 previous buffer. Reported by Thierry Volpiatto
6579 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6580 (special-display-popup-frame): When popping up a new frame reset
6581 its previous buffers to nil. Simplify code.
b4d72fcf 6582
a7b88dc6
MA
65832011-09-21 Michael Albinus <michael.albinus@gmx.de>
6584
6585 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6586 and process filter, as done also in `shell-command'.
6587
cf4eacfd
MR
65882011-09-21 Martin Rudalics <rudalics@gmx.at>
6589
eca3f3ea 6590 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6591 Call set-window-start with NOFORCE argument t.
6592 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6593 (quit-window): Reword doc-string. Handle new format of
6594 quit-restore parameter. Don't delete window if it has a
6595 previous buffer we can show instead of the present one.
6596 (display-buffer-record-window): Rewrite using a new format for
6597 the quit-restore window parameter
6598 (special-display-popup-frame, display-buffer-same-window)
6599 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6600 (display-buffer-pop-up-window, display-buffer-use-some-window):
6601 Adapt symbol passed to display-buffer-record-window.
6602 * help.el (help-window-setup): Handle new format of quit-restore
6603 parameter.
6604
8d28cb95
SM
66052011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6606
94ab793f
SM
6607 * faces.el (face-list): Fix docstring (bug#9564).
6608
8d28cb95
SM
6609 * window.el (display-buffer--action-function-custom-type):
6610 Don't include internal functions in the Custom interface.
6611
3820edeb
JL
66122011-09-20 Juri Linkov <juri@jurta.org>
6613
6614 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6615 (Info-forward-node, Info-backward-node, Info-next-preorder)
6616 (Info-last-preorder): Use it. (Bug#9528)
6617
5147931d
JL
66182011-09-20 Juri Linkov <juri@jurta.org>
6619
6620 * info.el (Info-last-preorder): Visit last menu item only when
6621 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6622
cf499a1a
JD
66232011-09-20 Julien Danjou <julien@danjou.info>
6624
6625 * password-cache.el (password-cache-remove): Remove entries even if the
6626 value is nil, so that password with a nil value (negative caching) is
6627 possible to invalidate.
6628
f84e2fe2
LM
66292011-09-20 Lawrence Mitchell <wence@gmx.li>
6630
6631 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6632 all whitespace around breakpoint. (Bug#9553)
6633 (f90-find-breakpoint): Only break at whitespace inside a comment.
6634
78054a46
SM
66352011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * minibuffer.el (completion-file-name-table): Keep track of errors.
6638 (completion-table-with-predicate): Handle the case where pred1 is nil.
6639 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6640
345083b2
SM
66412011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6642
e24e27be
SM
6643 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6644 (debugger-return-value): Signal an error if the debugging context does
6645 not await any return value.
6646
345083b2
SM
6647 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6648 * image-mode.el (image-toggle-display-text)
6649 (image-toggle-display-image): Stay away from evil `intangible'.
6650
08d355e3
LL
66512011-09-19 Leo Liu <sdl.web@gmail.com>
6652
6653 * replace.el (occur-revert-arguments): Make it permanent-local.
6654 (occur-mode): Don't call font-lock-defontify.
6655
f01da43f
CY
66562011-09-19 Chong Yidong <cyd@stupidchicken.com>
6657
6658 * net/ldap.el (ldap-search-internal): Don't push empty search
6659 result (Bug#9508).
6660
b6072fa6
SM
66612011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6664
443d6696
MA
66652011-09-19 Michael Albinus <michael.albinus@gmx.de>
6666
6667 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6668 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6669
7cc6e154
JL
66702011-09-18 Juri Linkov <juri@jurta.org>
6671
6672 * buff-menu.el (Buffer-menu-mode-map):
6673 * dired.el (dired-mode-map):
6674 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6675 (lisp-interaction-mode-map):
6676 * emacs-lisp/package.el (package-menu-mode-map):
6677 * epa.el (epa-key-list-mode-map):
6678 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6679 (menu-bar-options-menu):
6680 * outline.el (outline-mode-menu-bar-map):
6681 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6682 * vc/vc-dir.el (vc-dir-menu-map):
6683 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6684 Capitalize non-function content words in menu item strings.
6685
6686 * dired.el (dired-mode-map): Add menu item for
6687 `image-dired-dired-toggle-marked-thumbs'.
6688
80302a81
JL
66892011-09-18 Juri Linkov <juri@jurta.org>
6690
6691 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6692 to `isearch-case-fold-search' and restore its original value
6693 after the `isearch-mode' call.
6694
46c5cf66
JL
66952011-09-18 Juri Linkov <juri@jurta.org>
6696
6697 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6698 because `zgrep' returns 1 for successful matches (bug#9226).
6699
d18b513b
JL
67002011-09-18 Juri Linkov <juri@jurta.org>
6701
6702 * info.el (Info-extract-menu-node-name): Check the second match
6703 for empty string (second test-case of bug#9528).
6704 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6705 intermediate nodes to the history (first test-case of bug#9528).
6706
72753f87
JL
67072011-09-18 Juri Linkov <juri@jurta.org>
6708
6709 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6710 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6711
c9384295
JL
67122011-09-18 Juri Linkov <juri@jurta.org>
6713
1154d12e
JB
6714 * info.el (Info-file-supports-index-cookies):
6715 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6716 outputs one more line for long file names (bug#4142).
c9384295 6717
d473dce8
CY
67182011-09-18 Chong Yidong <cyd@stupidchicken.com>
6719
6720 * newcomment.el (comment-normalize-vars): If prompting for
6721 comment-start, set comment-start-skip too (Bug#8424).
6722
2176854d
JB
67232011-09-18 Johan Bockgård <bojohan@gnu.org>
6724
6725 * icomplete.el: Fix previous fix of Bug#5849.
6726 (icomplete-mode): Don't set completion-show-inline-help.
6727 (icomplete-minibuffer-setup): Set completion-show-inline-help
6728 locally during icompletion.
6729
3aace4e4
CY
67302011-09-18 Chong Yidong <cyd@stupidchicken.com>
6731
c940224f
CY
6732 * woman.el (woman2-process-escapes): Don't delete unrecognized
6733 escapes (Bug#7843).
6734
3aace4e4
CY
6735 * files.el (inhibit-first-line-modes-regexps): Add image files.
6736 (hack-local-variables-prop-line): Return nil for malformed
6737 prop-lines (Bug#9044).
6738
710dec63
MA
67392011-09-18 Michael Albinus <michael.albinus@gmx.de>
6740
6741 * net/tramp.el (top): Don't require 'shell.
6742 (tramp-methods): Fix docstring.
6743 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6744 Return complete remote file name. Handle "smb" case.
6745 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6746 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6747
6748 * net/tramp-compat.el (top): Require 'shell.
6749
6750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6751 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6752 `tramp-current-host'.
6753 (tramp-get-remote-tmpdir): Remove.
6754
6755 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6756 `tramp-tmpdir' entries.
6757 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6758 (tramp-smb-handle-file-attributes): Ignore errors.
6759 (tramp-smb-wait-for-output): Check also for process end.
6760
5d5ac8ec
LMI
67612011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6764 when sending QUIT (bug#9312).
6765
8c0f49f0
CY
67662011-09-17 Chong Yidong <cyd@stupidchicken.com>
6767
6768 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6769 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6770 occur-mode-display-occurrence.
6771 (occur-edit-mode): Add usage message.
6772 (occur-cease-edit): New command.
6773 (occur-after-change-function): Use text properties to find the
6774 position of the prefix text.
6775 (occur-engine): Set stickiness of prefix text properties.
6776
8f1383f7
GM
67772011-09-17 Glenn Morris <rgm@gnu.org>
6778
6779 * progmodes/etags.el (complete-tag):
6780 Fix call to completion-in-region. (Bug#9526)
6781
744ba0e3
JL
67822011-09-17 Juri Linkov <juri@jurta.org>
6783
6784 * textmodes/ispell.el (ispell-word): Add to the error message
6785 the word, ispell program name and current dictionary (bug#9121).
6786 (ispell-tex-arg-end): Capitalize "error" in the error message.
6787
d9bbf400
AS
67882011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6789
6790 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6791 check. (Bug#4251)
6792
8da11505
JL
67932011-09-17 Juri Linkov <juri@jurta.org>
6794
6795 * window.el (window-safe-min-height, window-safe-min-width):
6796 Fix typos (followup to bug#9522).
6797
a91adc7e
SJ
67982011-09-17 Sven Joachim <svenjoac@gmx.de>
6799
6800 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6801
064f328a
EZ
68022011-09-16 Eli Zaretskii <eliz@gnu.org>
6803
6804 * simple.el (line-move): If goal-column is set, move by logical
6805 lines, not by display lines. (Bug#971)
6806 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6807 to reflect the above change.
6808
e69df516
SM
68092011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * image.el (imagemagick-register-types): Use regexp-opt.
6812
cbb0f9ab
CY
68132011-09-15 Chong Yidong <cyd@stupidchicken.com>
6814
6815 * window.el (display-buffer-base-action): Rename from
6816 display-buffer-default-action. Make default value empty.
6817 (display-buffer-overriding-action): Convert to defvar.
6818 (display-buffer-fallback-action): New var.
6819
25322144
CY
68202011-09-15 Chong Yidong <cyd@stupidchicken.com>
6821
6822 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6823 declaration.
6824 (package--add-to-archive-contents): If there is a duplicate entry
6825 with an older version, remove it.
6826 (package-menu-mark-delete, package-menu-mark-install)
6827 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6828 (package-menu-mark-obsolete-for-deletion):
6829 Use package-menu-get-status instead of a regexp search.
25322144
CY
6830 (package-menu-get-status): Use tabulated-list-entry.
6831 (package-menu-mark-upgrades): New command.
d770725a 6832 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6833 (package-menu-execute): Do installation before deletion.
6834 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6835 instead of checking major-mode.
6836 (package-menu--find-upgrades): New function.
6837
7520339c
LMI
68382011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6839
6840 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6841 passwords in the log buffer.
65a046c4
LMI
6842 (smtpmail-process-filter): Update the process marker so that the
6843 "broken by peer" status message is inserted in the right place.
7520339c 6844
d3c30954
SM
68452011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6846
3fe48822
SM
6847 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6848 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6849 bibtex-completion-at-point-function.
6850 (bibtex-completion-at-point-function): Use them.
6851
1b8b3954
SM
6852 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6853
d3c30954
SM
6854 * mpc.el (mpc-constraints-tag-lookup): New function.
6855 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6856 also to browser "album|playlist".
6857
72779976
JL
68582011-09-14 Juri Linkov <juri@jurta.org>
6859
6860 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6861 (isearch-edit-string): Use length of `isearch-string' when
6862 `isearch-fail-pos' returns nil.
6863 (isearch-message): Remove duplicate code and call
6864 `isearch-fail-pos' with arg `t'.
6865
a0bf2bcd
CY
68662011-09-14 Chong Yidong <cyd@stupidchicken.com>
6867
17bb0a2d
CY
6868 * replace.el (occur-mode-goto-occurrence): Don't force using other
6869 window (Bug#9499).
6870
a0bf2bcd
CY
6871 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6872
f678e0b6
MR
68732011-09-14 Martin Rudalics <rudalics@gmx.at>
6874
6875 * window.el (display-buffer-window): Remove.
6876 (display-buffer-record-window): Use help-setup window parameter
6877 instead of variable display-buffer-window.
6878 (display-buffer-function, special-display-buffer-names)
6879 (special-display-function): Mention help-setup parameter instead
6880 of display-buffer-window in doc-string.
d3c30954
SM
6881 * help.el (help-window-setup): New argument help-window.
6882 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6883 Reword some messages.
6884 (with-help-window): Pass window used for displaying the buffer
6885 to help-window-setup. Don't set display-buffer-window.
6886
8e39b2e8
GM
68872011-09-13 Glenn Morris <rgm@gnu.org>
6888
6889 * emacs-lisp/debug.el (debugger-make-xrefs):
6890 Preserve point. (Bug#9462)
6891
85e9c04b
CY
68922011-09-13 Chong Yidong <cyd@stupidchicken.com>
6893
6894 * window.el (window-deletable-p): Use next-frame.
6895
1b36ed6a
MR
68962011-09-13 Martin Rudalics <rudalics@gmx.at>
6897
6898 * window.el (window-auto-delete): Remove.
6899 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6900 dedication and previous buffers.
1b36ed6a
MR
6901 (switch-to-prev-buffer): Don't delete window.
6902 (delete-windows-on): Delete a window's frame if and only if the
6903 window is dedicated.
6904 (replace-buffer-in-windows): Delete buffer's window or frame if
6905 and only if window is dedicated.
6906 (quit-window): Handle quit-restore as before last change.
4d61f28d 6907 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6908
ef8ef9fb
CY
69092011-09-13 Chong Yidong <cyd@stupidchicken.com>
6910
6911 * window.el (window-deletable-p): Never delete the last frame on a
6912 given terminal.
6913
b2cba41e
GM
69142011-09-13 Glenn Morris <rgm@gnu.org>
6915
6916 * help.el (describe-key-briefly): Copy previous standard-output change.
6917
51553db6 69182011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6919
6920 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6921
b7556719
GM
69222011-09-13 Glenn Morris <rgm@gnu.org>
6923
6924 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6925 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6926
64b51947
CY
69272011-09-12 Chong Yidong <cyd@stupidchicken.com>
6928
6929 * dired-aux.el (dired-mark-read-string): Don't return default
6930 value on empty input (Bug#9361).
6931 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6932 Omit initial minibuffer contents.
6933 (dired-do-chmod): Signal an error on empty input.
6934 (dired-mark-read-string): Don't return default on empty input.
6935
6936 * files.el (file-modes-symbolic-to-number): Doc fix.
6937
393a301e
SM
69382011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * international/mule-cmds.el (ucs-completions): Remove.
6941 (read-char-by-name): Use complete-with-action instead; add metadata.
6942
fa5660f9
CY
69432011-09-11 Chong Yidong <cyd@stupidchicken.com>
6944
6945 * window.el (display-buffer--action-function-custom-type)
6946 (display-buffer--action-custom-type): New vars.
6947 (display-buffer-alist, display-buffer-default-action)
6948 (display-buffer-overriding-action): Add defcustom types.
6949
4a592f66
CY
6950 * frame.el (delete-other-frames): Doc fix (Bug#276).
6951
73d56dbd
LMI
69522011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6953
6954 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6955
37ac18a3
CY
69562011-09-11 Chong Yidong <cyd@stupidchicken.com>
6957
6958 Change modes that used same-window-* vars to use switch-to-buffer.
6959
6960 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6961 Use switch-to-buffer.
6962
6963 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6964 (customize-browse, custom-buffer-create-other-window):
6965 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6966
6967 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6968 (Info-prev, Info-up, Info-speedbar-goto-node)
6969 (info-display-manual): Use switch-to-buffer.
6970 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6971
6972 * mail/sendmail.el (mail): Use switch-to-buffer.
6973 (mail-recover): Use switch-to-buffer-other-window.
6974
6975 * cmuscheme.el (run-scheme, switch-to-scheme):
6976 * ielm.el (ielm):
6977 * shell.el (shell):
6978 * net/rlogin.el (rlogin):
6979 * net/telnet.el (telnet, rsh):
6980 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6981
10195bd6
AS
69822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6983
6984 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6985
b322f63a
LMI
69862011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6987
39d7fed6
LMI
6988 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6989 so don't mention it (bug#9301).
ba5a81f1 6990 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6991
ee0e9f11
LMI
6992 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6993 match `x', `w32' and `ns', like the manual says (bug#9029).
6994
0b1c89c1 6995 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6996 (process-kill-buffer-query-function): Mention the buffer name in
6997 the query.
0b1c89c1 6998
77549ea8
LMI
6999 * image-mode.el (image-next-line): The line parameter is mandatory
7000 (bug#9258).
7001
803ef892
LMI
7002 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7003 which can be useful (bug#9301).
7004
12980837
LMI
7005 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7006
91054f8f
LMI
7007 * subr.el (match-string): Mention that the current buffer should
7008 be the same as the search was done in (bug#9282).
7009
b322f63a
LMI
7010 * facemenu.el: Disable the remove-* commands if the mark isn't
7011 active (bug#9162).
7012
3199b96f
CY
70132011-09-10 Chong Yidong <cyd@stupidchicken.com>
7014
7015 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7016 of display-buffer.
7017 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7018
7019 * replace.el (occur-mode-goto-occurrence)
7020 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7021 and display-buffer.
7022
7023 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7024 display-buffer.
7025
7026 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7027 special-display and same-window variables.
7028 (mail-other-window): Use switch-to-buffer-other-window.
7029 (mail-other-frame): USe switch-to-buffer-other-frame.
7030
393a301e
SM
7031 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7032 Use display-buffer-other-frame.
3199b96f
CY
7033 (gdb-display-gdb-buffer): Use pop-to-buffer.
7034
7035 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7036
7037 * progmodes/python.el: Don't set same-window-buffer-names.
7038
7039 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7040
7041 * window.el (display-buffer-alist): Add *Python*.
7042
8319e0bf
CY
70432011-09-10 Chong Yidong <cyd@stupidchicken.com>
7044
7045 * window.el (display-buffer-alist): Add entry for buffers
7046 previously handled same-window-*.
7047 (display-buffer-alist, display-buffer-default-action)
7048 (display-buffer-overriding-action): Mark as risky.
7049 (display-buffer-alist): Document action function changes.
7050 (display-buffer--same-window-action)
7051 (display-buffer--other-frame-action): New variables.
7052 (switch-to-buffer, display-buffer-other-frame): Use them.
7053 (display-buffer): Rename reuse-frame entry to reusable-frames.
7054 (display-buffer-reuse-selected-window): Function deleted.
7055 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7056 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7057 (display-buffer-special): New function.
7058 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7059 display-buffer-reuse-or-pop-window. Split off special-display
7060 part into display-buffer-special.
7061 (display-buffer-use-some-window): Don't perform any special
7062 pop-up-frames handling.
7063 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7064 (display-buffer--maybe-same-window): Rename from
0d3ff375 7065 display-buffer-maybe-same-window.
8319e0bf 7066
919a69aa
CY
7067 * info.el: Don't set same-window-regexps.
7068 (info-setup): New function.
7069 (info-other-window, info): Call it.
7070
7071 * cus-edit.el: Don't set same-window-regexps.
7072 (customize-group): New argument.
7073 (customize-group-other-window): Use it.
7074 (customize-face, customize-face-other-window): Likewise.
7075 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7076
8319e0bf
CY
7077 * net/rlogin.el:
7078 * net/telnet.el:
7079 * progmodes/gud.el: Don't set same-window-regexps.
7080
7081 * cmuscheme.el:
7082 * ielm.el:
7083 * shell.el:
7084 * mail/sendmail.el:
7085 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7086
25173000
JL
70872011-09-10 Juri Linkov <juri@jurta.org>
7088
7089 * isearch.el (isearch-edit-string): Remove obsolete mention of
7090 `C-w' (`isearch-yank-word-or-char') from docstring.
7091 (isearch-query-replace): Fix typo in docstring (bug#9466).
7092
056e44ef
JL
70932011-09-10 Juri Linkov <juri@jurta.org>
7094
7095 * paren.el (show-paren-function): Don't show escaped parens.
7096 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7097
c3760c17
EZ
70982011-09-10 Eli Zaretskii <eliz@gnu.org>
7099
7100 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7101 (mm-default-file-encoding): Remove autoload forms, they are
7102 replaced with autoload cookies in mml.el and mm-encode.el.
7103 (mail-add-attachment): New command.
7104 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7105 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7106 the doc string.
7107 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7108
fece895e
RT
71092011-09-10 Reuben Thomas <rrt@sc3d.org>
7110
e69df516
SM
7111 * simple.el (count-words-region): Use buffer if there's no region
7112 (bug#9429).
fece895e 7113
5e68ce4a
JL
71142011-09-09 Juri Linkov <juri@jurta.org>
7115
7116 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7117 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7118 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7119
0a6b9622
AM
71202011-09-09 Alan Mackenzie <acm@muc.de>
7121
7122 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7123 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7124
14a29deb
EZ
71252011-09-09 Eli Zaretskii <eliz@gnu.org>
7126
7127 Fix for Savannah bug#9392.
7128 * simple.el (mail-encode-mml): New defvar.
7129
7130 * mail/rmail.el (mail-encode-mml): Add a defvar.
7131 (rmail-enable-mime-composing): Default to t.
7132 (rmail-forward): Use MIME method of forwarding only if both
7133 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7134 Set mail-encode-mml non-nil if the MIME method was used.
7135
7136 * mail/sendmail.el (mml-to-mime): Add autoload form.
7137 (mail-encode-mml): Add a defvar.
7138 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7139 to nil.
7140 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7141 message through mml-to-mime, and reset mail-encode-mml to nil.
7142
28c45130
GM
71432011-09-09 Glenn Morris <rgm@gnu.org>
7144
7145 * woman.el (woman-if-body): When processing an .el block,
7146 do not delete the next .el block as well. (Bug#9447)
69f4b618 7147 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7148
9b1c252e
MR
71492011-09-08 Martin Rudalics <rudalics@gmx.at>
7150
7151 * window.el (window-deletable-p): Make sure window is live before
7152 invoking window-prev-buffers.
7153
567457e3
LL
71542011-09-08 Leo Liu <sdl.web@gmail.com>
7155
7156 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7157
97f05794
JL
71582011-09-08 Juri Linkov <juri@jurta.org>
7159
7160 * progmodes/compile.el (compilation-environment): Make it
7161 a defcustom (bug#8340).
7162
8b0874b5
MR
71632011-09-08 Martin Rudalics <rudalics@gmx.at>
7164
7165 * window.el (frame-auto-delete): Rename to window-auto-delete.
7166 Make it control auto-deletion of windows and/or frames.
7167 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7168 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7169 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7170 Rewrite handling of case when window/frame can be deleted.
7171 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7172 argument t. (Bug#9456)
8b0874b5 7173
4feb6e73
CY
71742011-09-07 Chong Yidong <cyd@stupidchicken.com>
7175
7176 * help-mode.el (help-mode): Restore autoload.
7177
91ab9c13
JL
71782011-09-07 Juri Linkov <juri@jurta.org>
7179
7180 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7181 `compilation-environment'. Set buffer-local
7182 `compilation-environment' to `thisenv' later after (funcall mode).
7183 (Bug#8340)
7184
7185 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7186 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7187 instead of replacing its value. (Bug#8340)
7188
0527e251
JL
71892011-09-07 Juri Linkov <juri@jurta.org>
7190
7191 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7192 based on text properties put by `grep-filter' instead of matching
7193 escape sequences.
7194 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7195 to the value of `grep-error-screen-columns' (bug#9438).
7196
249f792c
JL
71972011-09-07 Juri Linkov <juri@jurta.org>
7198
7199 * simple.el (next-error-highlight, next-error-highlight-no-select):
7200 Doc fix (bug#9432).
7201
ff7271b9
OT
72022011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7203
7204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7205 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7206
183fc730
LL
72072011-09-07 Leo Liu <sdl.web@gmail.com>
7208
7209 * net/rcirc.el (rcirc-mode): Conditionally initialize
7210 rcirc-input-ring.
7211
77694924
SM
72122011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/find-func.el (find-function-C-source): Only set
7215 find-function-C-source-directory after checking that we found a source
7216 file there (bug#9440).
7217
d809b8eb
AM
72182011-09-06 Alan Mackenzie <acm@muc.de>
7219
7220 * isearch.el (isearch-other-meta-char): Wherever a key list is
7221 unread, "unread" the prefix arg, too. This fixes bug #8901.
7222
453de99f
OG
72232011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7224
7225 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7226
90439906
JL
72272011-09-05 Juri Linkov <juri@jurta.org>
7228
7229 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7230
f62bd846
JL
72312011-09-05 Juri Linkov <juri@jurta.org>
7232
7233 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7234 keeping point where processing of grep matches begins, and
7235 continue to delete remaining escape sequences from the same point.
7236 (grep-filter): Make leading zero optional in "0?1;31m" because
7237 git-grep emits "\033[1;31m" escape sequences unlike expected
7238 "\033[01;31m" as GNU Grep does (bug#9408).
7239 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7240
045820ec
JL
72412011-09-05 Juri Linkov <juri@jurta.org>
7242
7243 * subr.el (y-or-n-p): Capitalize "yes".
7244
f5e29b9b
MA
72452011-09-04 Michael Albinus <michael.albinus@gmx.de>
7246
7247 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7248 `tramp-cache-unload-hook' where appropriate.
7249 (tramp-methods): Rename `tramp-remote-sh' to
7250 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7251 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7252
7253 * net/tramp-sh.el (top): Don't require 'shell.
7254 (tramp-methods): Add `tramp-remote-shell' and
7255 `tramp-remote-shell-args' entries.
7256 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7257 (tramp-sh-handle-shell-command): Remove.
7258 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7259 Use `tramp-remote-shell'.
7260
2784c434
CY
72612011-09-03 Chong Yidong <cyd@stupidchicken.com>
7262
393a301e 7263 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7264 (sendmail-query-once): Save directly to send-mail-function.
7265 Update message-send-mail-function too.
7266
7267 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7268
464cdf56
CS
72692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7270
7271 * progmodes/python.el (python-mode-map): Use correct function to
7272 start python interpreter from menu-bar (as reported by Geert
7273 Kloosterman).
7274 (inferior-python-mode-map): Fix typo.
393a301e 7275 (python-shell-map): Remove.
464cdf56 7276
d37e5c87
DD
72772011-09-03 Deniz Dogan <deniz@dogan.se>
7278
7279 * net/rcirc.el (rcirc-print): Simplify code for
7280 rcirc-scroll-show-maximum-output. There is no need to walk
7281 through all windows to find the right one.
7282
f3ada0ee
CS
72832011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7284
7285 * help.el (help-return-method): Doc fix.
7286
1f3c99ca
MR
72872011-09-03 Martin Rudalics <rudalics@gmx.at>
7288
7289 * window.el (window-deletable-p): Don't return a non-nil value
7290 when there's a buffer that was shown in the window before.
7291 (Bug#9419)
393a301e
SM
7292 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7293 Set window's previous buffers to nil.
1f3c99ca 7294
a3cf097f
EZ
72952011-09-03 Eli Zaretskii <eliz@gnu.org>
7296
7297 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7298 newline before and after the tag line, so it doesn't interfere
7299 with determining the paragraph direction of bidirectional text.
7300
3d03de90
LL
73012011-09-03 Leo Liu <sdl.web@gmail.com>
7302
7303 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7304
c3313451
CY
73052011-09-02 Chong Yidong <cyd@stupidchicken.com>
7306
393a301e 7307 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7308 (pop-to-buffer): Change interactive spec. Pass second argument
7309 directly to display-buffer.
7310 (display-buffer): Fix interactive spec. Use functionp to
7311 distinguish between a function and a list of functions.
7312
7313 * abbrev.el (edit-abbrevs):
7314 * arc-mode.el (archive-extract):
7315 * autoinsert.el (auto-insert):
7316 * bookmark.el (bookmark-bmenu-list):
7317 * files.el (find-file):
7318 * view.el (view-buffer):
7319 * progmodes/compile.el (compilation-goto-locus):
7320 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7321
89894cd8
CY
73222011-09-02 Chong Yidong <cyd@stupidchicken.com>
7323
7324 * window.el (display-buffer-alist): Doc fix.
7325 (display-buffer): Add docstring. Don't treat
7326 display-buffer-default specially.
7327 (display-buffer-reuse-selected-window)
7328 (display-buffer-same-window, display-buffer-maybe-same-window)
7329 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7330 (display-buffer-pop-up-window)
7331 (display-buffer-reuse-or-pop-window)
7332 (display-buffer-use-some-window): New functions.
7333 (display-buffer-default-action): Use them.
393a301e 7334 (display-buffer-default): Delete.
89894cd8
CY
7335 (pop-to-buffer-1): Fix choice of actions.
7336
ae0bc9fb
SM
73372011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * minibuffer.el (completion--insert-strings): Don't get confused by
7340 completion entries that end with an LF char.
7341
e9d90883
EZ
73422011-09-01 Eli Zaretskii <eliz@gnu.org>
7343
7344 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7345
437014c8
CY
73462011-09-01 Chong Yidong <cyd@stupidchicken.com>
7347
7348 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7349 (display-buffer-same-window, display-buffer-other-window):
7350 New functions.
437014c8
CY
7351 (pop-to-buffer-1): New function. Use the above.
7352 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7353 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7354
7355 * view.el (view-buffer-other-window, view-buffer-other-frame):
7356 Just use pop-to-buffer.
7357
a5e063d5
TV
73582011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7359
7360 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7361
793d32bb
WH
73622011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7363
7364 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7365
d65e4c15
RS
73662011-08-31 Richard Stallman <rms@gnu.org>
7367
7368 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7369 of the separation of rmail-view-buffer from rmail-buffer.
7370 If you say no to "replace original", the decrypt is in the
7371 view buffer. If you say yes, the decrypt goes into the
7372 rmail buffer also.
7373
f818cd2a
MR
73742011-08-31 Martin Rudalics <rudalics@gmx.at>
7375
7376 * window.el (display-buffer-window): Rewrite doc-string.
7377 (display-buffer-record-window): New function.
7378 (display-buffer-macro-specifiers)
7379 (display-buffer-even-window-sizes, display-buffer-set-height)
7380 (display-buffer-set-width, display-buffer-in-window)
7381 (display-buffer-reuse-window, display-buffer-split-specifiers)
7382 (display-buffer-side-specifiers, display-buffer-split-window-1)
7383 (display-buffer-split-window, display-buffer-split-atom-window)
7384 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7385 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7386 (display-buffer-other-window-means-other-frame)
7387 (display-buffer-normalize-special)
7388 (display-buffer-normalize-default)
7389 (display-buffer-normalize-argument)
7390 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7391 (display-buffer-normalize-specifiers, display-buffer-frame)
7392 (display-buffer-same-window, display-buffer-same-frame)
7393 (display-buffer-other-window)
7394 (display-buffer-same-frame-other-window)
7395 (display-buffer-other-frame, pop-to-buffer-same-window)
7396 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7397 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7398 (switch-to-buffer-same-frame)
7399 (switch-to-buffer-other-window-same-frame)
7400 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7401 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7402 (display-buffer-alist-set): Remove.
7403 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7404 (special-display-regexps, special-display-function):
7405 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7406 parameter.
7407 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7408 (special-display-frame-alist, special-display-popup-frame)
7409 (same-window-buffer-names, same-window-regexps, same-window-p)
7410 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7411 (split-window-preferred-function, split-height-threshold)
7412 (split-width-threshold, window-splittable-p)
7413 (split-window-sensibly, window--try-to-split-window)
7414 (window--frame-usable-p, even-window-heights)
7415 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7416 (window--display-buffer-2, display-buffer-other-frame):
7417 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7418 (display-buffer-default, display-buffer-assq-regexp): New functions.
7419 (display-buffer-alist): Rewrite doc-string.
7420 (display-buffer-default-action)
7421 (display-buffer-overriding-action): New variables.
7422 (display-buffer, switch-to-buffer): Rewrite.
7423 (pop-to-buffer): Restore Emacs 23 behavior but use
7424 window-normalize-buffer-to-display.
7425 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7426 Restore Emacs 23 behavior but use
7427 window-normalize-buffer-to-switch-to.
7428 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7429 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7430 Rewrite using Emacs 23 options.
f818cd2a 7431
5bc3b51d
MA
74322011-08-31 Michael Albinus <michael.albinus@gmx.de>
7433
7434 * net/tramp.el (tramp-root-regexp): Remove.
7435 (tramp-completion-file-name-regexp-unified)
7436 (tramp-completion-file-name-regexp-separate)
7437 (tramp-completion-file-name-regexp-url): Don't use leading volume
7438 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7439 (tramp-drop-volume-letter): Simplify definition.
7440 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7441
b1a4f8e1
SM
74422011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7445 (bug#9356).
7446
5664fa7b
RT
74472011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7448
b1a4f8e1 7449 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7450
9a45d6c3
JL
74512011-08-29 Juri Linkov <juri@jurta.org>
7452
7453 * isearch.el (isearch-done): Don't display message "Mark saved"
7454 when arg `edit' is non-nil to prevent its flicker in the echo area.
7455
fb87e0fb
CY
74562011-08-28 Chong Yidong <cyd@stupidchicken.com>
7457
7458 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7459 obsolete packages for deletion.
7460
09ac1c2a
CS
74612011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7462
7463 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7464 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7465 view-mode from help-mode.
7466 (help-xref-override-view-map): Remove.
7467 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7468 view-mode is not used anymore.
7469
7a1ff57f
CY
74702011-08-28 Chong Yidong <cyd@stupidchicken.com>
7471
7472 * server.el (server-port): Doc fix.
7473
b9696605
CY
7474 * cus-theme.el (custom-theme-choose-mode): Inherit from
7475 special-mode (Bug#9124).
7476 (custom-theme-choose-mode-map): Add special-mode to parent.
7477
ef8cdf8c
AM
74782011-08-28 Alan Mackenzie <acm@muc.de>
7479
7480 * progmodes/cc-fonts.el
7481 (c-make-font-lock-BO-decl-search-function): New function.
7482 (c-basic-matchers-after - "Fontify the clauses after various
7483 keywords"): Extract the three keyword lists for the 3 erroneous
7484 constructs from the list of four, and use the new function above
7485 in place of an old one.
7486
27de4e20
DD
74872011-08-28 Deniz Dogan <deniz@dogan.se>
7488
7489 * net/rcirc.el (rcirc-insert-prev-input)
7490 (rcirc-insert-next-input): Remove unused argument.
7491
356a3681
SM
74922011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7495
3fc9b218
AM
74962011-08-27 Alan Mackenzie <acm@muc.de>
7497
7498 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7499 handle function pointer parameters properly.
7500
538a061c
MR
75012011-08-27 Martin Rudalics <rudalics@gmx.at>
7502
7503 * window.el (display-buffer-reuse-window): Fix case where
7504 selected window was reused with non-nil OTHER-WINDOW argument.
7505 (Bug#9381)
7506
35b1c40c
DD
75072011-08-27 Deniz Dogan <deniz@dogan.se>
7508
7509 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7510 oftc's NickServ messages.
7511
2f6a3e79
GM
75122011-08-27 Glenn Morris <rgm@gnu.org>
7513
7514 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7515
7254299e
CY
75162011-08-26 Chong Yidong <cyd@stupidchicken.com>
7517
7518 * emacs-lisp/package.el (package-install): Call package-initialize
7519 if called interactively.
7520
f8ccf167
LL
75212011-08-26 Leo Liu <sdl.web@gmail.com>
7522
7523 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7524
3e8cd5ce
JL
75252011-08-25 Juri Linkov <juri@jurta.org>
7526
7527 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7528 `search-whitespace-regexp' (bug#9364).
7529
93eb7113
JL
75302011-08-25 Juri Linkov <juri@jurta.org>
7531
7532 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7533 `regexp-search-ring' to their global values to protect from
7534 updating by `read-from-minibuffer' (bug#9185).
7535
f65d1611
JL
75362011-08-25 Juri Linkov <juri@jurta.org>
7537
7538 * textmodes/ispell.el (ispell-command-loop): Add newline
7539 at the end of the "Use option `i'..." line.
7540
f1cf7a31
JL
75412011-08-25 Juri Linkov <juri@jurta.org>
7542
7543 * battery.el (display-battery-mode): If `battery-status-function'
7544 or `battery-mode-line-format' is nil, display the message and set
7545 `display-battery-mode' to nil (bug#9363).
7546
0c95fcf7
EZ
75472011-08-25 Eli Zaretskii <eliz@gnu.org>
7548
7549 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7550 bidi-string-mark-left-to-right; they are unnecessary now.
7551
a2ebe600
DD
75522011-08-25 Deniz Dogan <deniz@dogan.se>
7553
7554 * net/quickurl.el: Documentation typo fixes.
7555
e4ed06f1
CY
75562011-08-25 Chong Yidong <cyd@stupidchicken.com>
7557
7558 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7559
e5f1c99e
GM
75602011-08-25 Glenn Morris <rgm@gnu.org>
7561
b2948976
GM
7562 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7563
e5f1c99e
GM
7564 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7565 (smtpmail-via-smtp): Handle nil response from smtp.
7566
f22f4808
JL
75672011-08-24 Juri Linkov <juri@jurta.org>
7568
7569 * proced.el (proced-marked): Inherit from `error' instead of
7570 `font-lock-warning-face'.
7571
7572 * ibuffer.el (ibuffer-marked-face): Change default face from
7573 `font-lock-warning-face' to `warning'.
7574 (ibuffer-deletion-face): Change default face from
7575 `font-lock-type-face' to `error'.
7576
7577 * battery.el (battery-update): Use the face `error' instead of
7578 `font-lock-warning-face' (bug#6117).
7579
6a93965e
JL
75802011-08-24 Juri Linkov <juri@jurta.org>
7581
7582 * faces.el (success): Change face color from "Green3" to
7583 "ForestGreen" on light background (bug#9353).
7584
1ed43b09
CY
75852011-08-24 Chong Yidong <cyd@stupidchicken.com>
7586
5664fa7b
RT
7587 * window.el (quit-window): Rename from quit-restore-window.
7588 Use same arglist as old quit-window.
1ed43b09
CY
7589 (frame-auto-delete): Doc fix.
7590
7591 * view.el (view-mode-exit): Use quit-window.
7592
11dcdbb2
JL
75932011-08-24 Juri Linkov <juri@jurta.org>
7594
7595 * isearch.el (isearch-ring-adjust1): Start visiting previous
7596 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7597 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7598 for empty search string (when the last search string is reused
7599 automatically) to adjust the isearch ring to the last element and
7600 prepare the correct index for further M-p commands (bug#9185).
7601
de62b4df
KH
76022011-08-24 Kenichi Handa <handa@m17n.org>
7603
7604 * international/ucs-normalize.el: If decomposition property of
7605 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7606 nil.
7607 (nfd, nfkd): Likewise.
7608
963b492b
SM
76092011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7612 from process filters aren't reliably transmitted to the surrounding
7613 accept-process-output.
7614 (mpc-proc-check): New function.
7615 (mpc-proc-sync): Use it (bug#8293)
7616
93b6b5e1
SM
76172011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7620 Add compatibility functions (bug#9313).
7621
bca633fb
EZ
76222011-08-23 Eli Zaretskii <eliz@gnu.org>
7623
b177498a
EZ
7624 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7625
6df6ae42 7626 * international/uni-bidi.el: Regenerate.
bca633fb 7627
0902a04e
KH
76282011-08-23 Kenichi Handa <handa@m17n.org>
7629
7630 * international/charprop.el:
7631 * international/uni-bidi.el:
7632 * international/uni-category.el:
7633 * international/uni-combining.el:
7634 * international/uni-comment.el:
7635 * international/uni-decimal.el:
7636 * international/uni-decomposition.el:
7637 * international/uni-digit.el:
7638 * international/uni-lowercase.el:
7639 * international/uni-mirrored.el:
7640 * international/uni-name.el:
7641 * international/uni-numeric.el:
7642 * international/uni-old-name.el:
7643 * international/uni-titlecase.el:
7644 * international/uni-uppercase.el: Regenerate.
7645
3bbf23bc
MR
76462011-08-23 Martin Rudalics <rudalics@gmx.at>
7647
7648 * help.el (help-window-setup): Fix message displayed when other
7649 window is reused. (Bug#9341)
7650
b3fd59bd
SM
76512011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7652
1802e444
SM
7653 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7654 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7655
b3fd59bd
SM
7656 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7657 Mark obsolete.
7658 * shell.el (shell-parse-pcomplete-arguments): New function.
7659 (shell-completion-vars): Use it instead (bug#9160).
7660
4eb61348
SM
76612011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7662
867cab74
SM
7663 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7664 strings and comments (bug#9333).
7665
4eb61348
SM
7666 * emacs-lisp/debug.el (debug-arglist): New function.
7667 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7668 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7669
262a1439
JL
76702011-08-22 Juri Linkov <juri@jurta.org>
7671
56ee679c
JL
7672 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7673 Revert regexp that highlights output switches to its old
7674 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7675
262a1439
JL
7676 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7677 to check for empty output (bug#9226).
7678
f13f86fb
CY
76792011-08-22 Chong Yidong <cyd@stupidchicken.com>
7680
7681 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7682 symbol-constituent as the default, as that stops font-lock from
7683 working properly (Bug#8843).
7684
c65c9622
LMI
76852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686
7687 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7688 `coding-system-for-*' around the process open call to avoid
7689 auth-source side effects.
e7f2c178 7690 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7691 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7692 probe hangs.
c65c9622 7693
23a8a5ab
CY
76942011-08-21 Chong Yidong <cyd@stupidchicken.com>
7695
ff98b2dd
CY
7696 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7697
23a8a5ab
CY
7698 * emacs-lisp/find-func.el (find-function-noselect): New arg
7699 lisp-only.
7700
7701 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7702 signal an error for built-in functions (Bug#6664).
7703
f5e3c598
LMI
77042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
7706 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7707 (smtpmail-try-auth-methods): Use it.
7708
a3f2468a
CY
77092011-08-21 Chong Yidong <cyd@stupidchicken.com>
7710
2c34e8da
CY
7711 * font-lock.el (font-lock-fontify-region)
7712 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7713 (font-lock-default-unfontify-buffer)
7714 (font-lock-default-fontify-region)
7715 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7716
b3fd59bd
SM
7717 * progmodes/compile.el (compilation-error-properties):
7718 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7719 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7720 `ant' regexp.
ee31aabc 7721
a3f2468a
CY
7722 * net/browse-url.el (browse-url-firefox): Don't call
7723 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7724
8e999f70
GM
77252011-08-20 Glenn Morris <rgm@gnu.org>
7726
c21a496a
GM
7727 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7728
59ee0542
GM
7729 * tutorial.el (tutorial--default-keys): Update some default bindings.
7730
8e999f70
GM
7731 * files.el (hack-local-variables): Fully ignore case for "mode:".
7732
e3715033
AM
77332011-08-20 Alan Mackenzie <acm@muc.de>
7734
7735 Resolve invalid use of a regexp in regexp-opt.
7736
4d61f28d
JB
7737 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7738 detection for a java annotation.
e3715033 7739
4d61f28d 7740 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7741 detection for a java annotation.
7742
4d61f28d
JB
7743 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7744 handling for java.
e3715033
AM
7745 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7746
04ed2e9c
CY
77472011-08-20 Chong Yidong <cyd@stupidchicken.com>
7748
7749 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7750 (Bug#9274).
7751
826cee64
AM
77522011-08-20 Alan Mackenzie <acm@muc.de>
7753
58179cce 7754 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7755 such a construct. Mainly for when jit-lock etc. starts a chunk
7756 here.
7757
58179cce 7758 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7759 variable.
58179cce 7760 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7761 c-make-font-lock-search-function.
7762 (c-make-font-lock-search-function): Use the above function.
7763 (c-make-font-lock-context-search-function): New function.
7764 (c-cpp-matchers): Enhance the preprocessor expression case with
7765 the above function
7766 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7767 which takes an expression.
7768
7769 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7770
13009bd8
MR
77712011-08-20 Martin Rudalics <rudalics@gmx.at>
7772
7773 * window.el (display-buffer-reuse-window)
7774 (display-buffer-pop-up-window): Don't reuse or split a side
7775 window.
7776
9234ff7f
GM
77772011-08-19 Glenn Morris <rgm@gnu.org>
7778
7779 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7780 Downcase "Mode:". (Bug#9331)
9234ff7f 7781
f635daa1
CY
77822011-08-18 Chong Yidong <cyd@stupidchicken.com>
7783
7784 * international/characters.el: Add L and R categories.
7785
7786 * subr.el (bidi-string-mark-left-to-right): Rename from
7787 string-mark-left-to-right. Use category search.
7788
7789 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7790
bc987f8b
JL
77912011-08-18 Juri Linkov <juri@jurta.org>
7792
7793 * faces.el (error, warning, success): New faces with definitions
7794 copied from old default values of `font-lock-warning-face',
7795 `compilation-warning', `compilation-info' (bug#6117).
7796
7797 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7798
7799 * progmodes/compile.el (compilation-error): Inherit from `error'.
7800 (compilation-warning): Inherit from `warning'.
7801 (compilation-info): Inherit from `success'.
7802
7803 * dired.el (dired-marked): Inherit from `warning'.
7804 (dired-flagged): Inherit from `error'.
7805
57173b96
LMI
78062011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7807
3e79eb87
LMI
7808 * mail/smtpmail.el (auth-source): Require to avoid problems with
7809 binding variables (bug#9298). Also clean up some unused
7810 autoloads.
7811
b3fd59bd
SM
7812 * net/network-stream.el (network-stream-open-starttls):
7813 Support using starttls.el without using gnutls-cli.
57173b96 7814
02b404de
JL
78152011-08-17 Juri Linkov <juri@jurta.org>
7816
7817 * progmodes/grep.el (rgrep): Handle the case when
7818 `grep-find-command' is a cons cell (bug#9278).
7819
8c9177f2
MR
78202011-08-17 Martin Rudalics <rudalics@gmx.at>
7821
7822 * window.el (display-buffer-pop-up-frame): Run frame creation
7823 function with BUFFER current (as special-display-popup-frame
7824 does). Reported by Drew Adams.
7825
3644a0ab
DU
78262011-08-17 Daiki Ueno <ueno@unixuser.org>
7827
7828 * epa-mail.el: Simplify GnuPG group expansion using
7829 epg-expand-group.
7830 (epa-mail-group-alist, epa-mail-group-modtime)
7831 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7832 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7833 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7834 Remove.
7835
5e617bc2 78362011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7837
7838 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7839
9c4aeabf
AM
78402011-08-16 Alan Mackenzie <acm@muc.de>
7841
7842 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7843 Correct, to avoid the inside of macros.
7844
3a99bf64
RS
78452011-08-16 Richard Stallman <rms@gnu.org>
7846
04963aa8
RS
7847 * epa-mail.el: Handle GnuPG group definitions.
7848 (epa-mail-group-alist, epa-mail-group-modtime)
7849 (epa-mail-gnupg-conf-file): New variables.
7850 (epa-mail-parse-groups, epa-mail-sync-groups)
7851 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7852 (epa-mail-expand-recipients): New functions.
7853 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7854
177549d0
RS
7855 * mail/rmail.el (rmail-epa-decrypt): New command.
7856
fe38beef
RS
7857 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7858 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7859 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7860 (epa-decrypt-armor-in-region): Make error message clearer.
7861
934eacb9
SM
78622011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7863
7864 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7865 and "a2b" to "ab" for `prefix'.
7866
d024fb4e
CY
78672011-08-14 Chong Yidong <cyd@stupidchicken.com>
7868
7869 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7870 filter groups.
de148fee
CY
7871 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7872 Fourquet (Bug#8804).
d024fb4e 7873
62f1ca49
JB
78742011-08-12 Juanma Barranquero <lekktu@gmail.com>
7875
7876 * startup.el (argi): Declare as global variable (bug#9275).
7877
9ccaaa4b
CY
78782011-08-12 Chong Yidong <cyd@stupidchicken.com>
7879
7880 * subr.el (string-mark-left-to-right): Search the entire string
7881 for RTL script, not just the terminating character. Doc fix.
7882
a3dae87a
SM
78832011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7884
6cd18349
SM
7885 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7886 New function.
7887 (js--regexp-literal, js-syntax-propertize-function): Remove.
7888 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7889 (js-mode-map): Don't rebind electric keys.
7890 (js-insert-and-indent): Remove.
7891 (js-mode): Setup electric-layout and electric-indent instead.
7892
a3dae87a
SM
7893 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7894
9d5cb631
DU
78952011-08-12 Daiki Ueno <ueno@unixuser.org>
7896
7897 * epa.el (epa-progress-callback-function): Fix the logic of
7898 displaying progress.
7899 * epa-file.el (epa-file-insert-file-contents): Make progress
7900 display more user-friendly.
7901 (epa-file-write-region): Ditto.
7902
3e26a4a2
CY
79032011-08-10 Chong Yidong <cyd@stupidchicken.com>
7904
7905 * subr.el (string-mark-left-to-right): New function.
7906
7907 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7908 Use string-mark-left-to-right.
7909 (list-buffers-noselect): Caller changed.
7910
a3dae87a
SM
7911 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7912 Use string-mark-left-to-right.
3e26a4a2
CY
7913 (tabulated-list-print): Recenter after moving point.
7914
ac8cf6e6
JL
79152011-08-10 Juri Linkov <juri@jurta.org>
7916
7917 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7918 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7919 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7920
8d96c9a4
CY
79212011-08-09 Chong Yidong <cyd@stupidchicken.com>
7922
7923 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7924 (Bug#7554).
7925
7be1c708 79262011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7927
7928 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7929 character. (Bug#6594)
7930
37e11a63
CY
79312011-08-08 Chong Yidong <cyd@stupidchicken.com>
7932
839dde57
CY
7933 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7934 (image-dired--with-db-file): New macro.
7935 (image-dired-write-tags, image-dired-remove-tag)
7936 (image-dired-create-gallery-lists, image-dired-write-comments)
7937 (image-dired-get-comment, image-dired-mark-tagged-files)
7938 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7939 (image-dired-gallery-generate): Use insert-file-contents.
7940
37e11a63
CY
7941 * time.el (display-time-world-list, display-time-world-display):
7942 * time-stamp.el (time-stamp-string):
7943 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7944 set-time-zone-rule (Bug#7337).
7945
0b4946c4
DU
79462011-08-08 Daiki Ueno <ueno@unixuser.org>
7947
7948 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7949 (epg-error-to-string, epg-errors-to-string): New function.
7950 (epg-wait-for-completion): Reverse errors list.
7951 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7952 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7953 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7954 (epg-sign-keys, epg-generate-key-from-file)
7955 (epg-generate-key-from-string): Format errors by using
7956 epg-errors-to-string (bug#9255).
7957 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7958
75bfc667
JL
79592011-08-07 Juri Linkov <juri@jurta.org>
7960
7961 * faces.el (list-faces-display): Remove extra angle bracket
7962 from `help-mode-map'.
7963
7964 * info.el (Info-history-toc-nodes): Doc fix.
7965
7966 * longlines.el (longlines-mode): Doc fix.
7967
673e08bb
SM
79682011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7969
4640dd88
SM
7970 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7971 of statements and in a few more cases (bug#9183).
7972
673e08bb
SM
7973 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7974 New functions.
7975 (cl-transform-lambda): Use them (bug#9239).
7976
89b3f019
MR
79772011-08-05 Martin Rudalics <rudalics@gmx.at>
7978
7979 * window.el (display-buffer-same-window)
7980 (display-buffer-same-frame, display-buffer-other-window)
7981 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7982 (pop-to-buffer-other-window)
7983 (pop-to-buffer-same-frame-other-window)
7984 (pop-to-buffer-other-frame): Make them defuns.
7985 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7986
640c8776
SM
79872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * subr.el (make-composed-keymap): Move from C. Change calling
7990 convention, and improve docstring to bring attention to a subtle point.
7991 * minibuffer.el (completing-read-default): Adjust accordingly.
7992
63648a95
MA
79932011-08-03 Michael Albinus <michael.albinus@gmx.de>
7994
7995 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7996 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7997
7998 * net/trampver.el: Update release number.
7999
b796c9b7
SM
80002011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8003 "in" (bug#9190).
8004
2239d7d5
LMI
80052011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8006
e07dd7c3
LMI
8007 * mail/sendmail.el (sendmail-query-once): Restore the current
8008 buffer after querying (bug#9074).
8009
0e6a2bd7
LMI
8010 * dired.el (dired-flagged): Use different faces for marked and
8011 flagged files (bug#6117).
8012
ce887515
LMI
8013 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8014 (bug#4433).
8015
92f2affc
LMI
8016 * ido.el (ido-mode): Switch off the message if called
8017 non-interactively.
8018
57d5aff0
LMI
8019 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8020 before 587, since it appears that that's more likely to work for
8021 more people.
8022
98cd6c18 8023 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8024 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8025 exist.
8026
b96dec83
LMI
8027 * info.el: Remove the `Info-beginning-of-buffer' function
8028 (bug#8325).
8029
b796c9b7
SM
8030 * net/network-stream.el (network-stream-open-starttls):
8031 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8032
d90e2ea0
MR
80332011-08-01 Martin Rudalics <rudalics@gmx.at>
8034
8035 * window.el (display-buffer-in-window): Don't set dedicated status
8036 of window here (Bug#9215).
8037 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8038 (display-buffer-pop-up-side-window)
b796c9b7 8039 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8040
cca09170
SM
80412011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8044 before binding generated-autoload-file.
8045
027b979c
DD
80462011-08-01 Deniz Dogan <deniz@dogan.se>
8047
8048 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8049
3c7ee4f3
MA
80502011-07-30 Michael Albinus <michael.albinus@gmx.de>
8051
8052 Sync with Tramp 2.2.2.
8053
8054 * net/trampver.el: Update release number.
8055
2cc8e51a
JL
80562011-07-30 Juri Linkov <juri@jurta.org>
8057
8058 * dired-aux.el (dired-touch-initial): Remove function.
8059 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8060 current time, and `default' to the last modification time of the
8061 current marked file (bug#6887).
8062
a514d856
JM
80632011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8064
8065 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8066 numeric argument to read-number (bug#9163).
a514d856 8067
8a7eddd7
MA
80682011-07-27 Michael Albinus <michael.albinus@gmx.de>
8069
8070 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8071 connection process, it could be nil.
8072
1ddd96f5
LL
80732011-07-27 Leo Liu <sdl.web@gmail.com>
8074
8075 Simplify url handling in rcirc-mode.
8076
8077 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8078 (rcirc-browse-url-at-mouse): Remove.
8079 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8080
b248a85d
AM
80812011-07-26 Alan Mackenzie <acm@muc.de>
8082
8083 Fontify bitfield declarations properly.
8084
8085 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8086 (c-symbol-chars): Now exported as a lang variable.
8087 (c-not-primitive-type-keywords): New lang variable.
8088
8089 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8090 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8091 parsed as a bitfield declaration.
b248a85d 8092
b796c9b7
SM
8093 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8094 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8095 (c-punctuation-in): New function.
8096 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8097 declarations properly.
8098
68575ab0
UJ
80992011-07-26 Ulf Jasper <ulf.jasper@web.de>
8100
8101 * calendar/icalendar.el (icalendar--all-events): Take care of
8102 multiple vcalendars in a single file.
b796c9b7 8103 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8104
0f0a88b9
DD
81052011-07-25 Deniz Dogan <deniz@dogan.se>
8106
8107 * image.el (insert-image): Clarifying docstring.
8108
0b3f36df
MA
81092011-07-24 Michael Albinus <michael.albinus@gmx.de>
8110
8111 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8112 `tramp-send-command-and-check' if there is no error.
8113 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8114
a9901f61
AM
81152011-07-22 Alan Mackenzie <acm@muc.de>
8116
8117 Prevent cc-langs.elc being loaded at run time.
8118
8119 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8120 cc-langs.
8121
4d61f28d 8122 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8123 "(require 'cc-langs)". Quote a form so it will evaluate at
8124 (cc-mode's) compilation time.
8125
11d074b2
MA
81262011-07-22 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8129 loading. (Bug#9114)
8130
938b94c8
MR
81312011-07-21 Martin Rudalics <rudalics@gmx.at>
8132
8133 * window.el (display-buffer-pop-up-window)
8134 (display-buffer-pop-up-side-window)
8135 (display-buffer-in-side-window): Call display-buffer-set-height
8136 and display-buffer-set-width after setting the new window's
b796c9b7 8137 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8138
bfa4f190
SS
81392011-07-20 Sam Steingold <sds@gnu.org>
8140
8141 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8142 (etags-tags-included-tables): Call `convert-standard-filename' on
8143 the file names contained in TAGS so that windows Emacs can handle
8144 TAGS files created by cygwin ctags.
8145
8ca42262
LMI
81462011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147
8148 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8149 which apparently didn't work.
8150
5db2afd2 81512011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8152
5db2afd2
RW
8153 * proced.el (proced-send-signal): For *Marked Processes* buffer
8154 put point at beginning of buffer.
8155
92e15d10
SB
81562011-07-19 Stephen Berman <stephen.berman@gmx.net>
8157
8158 * proced.el (proced-format): Make header lines align with the text
8159 (bug#1779).
8160
1bfd59e5
LMI
81612011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8162
8163 * view.el (view-buffer): Allow running in `special' modes if we're
8164 visiting a file (bug#8615).
8165
f5aae37c
MR
81662011-07-19 Martin Rudalics <rudalics@gmx.at>
8167
8168 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8169 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8170 New functions.
f5aae37c
MR
8171 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8172 more accurately.
8173
bf2c1571
AM
81742011-07-18 Alan Mackenzie <acm@muc.de>
8175
8176 Fontify declarators properly when, e.g., a jit-lock chunk begins
8177 inside a declaration.
8178
8179 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8180
b796c9b7
SM
8181 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8182 New function.
bf2c1571
AM
8183 (c-complex-decl-matchers): Insert reference to
8184 c-font-lock-enclosing-decls.
8185
8186 * progmodes/cc-engine.el (c-backward-single-comment):
8187 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8188 to nil around calls to (forward-comment -1).
8189
4e190b80
LMI
81902011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8191
12dc863d
LMI
8192 * image.el (put-image): Doc typo fix.
8193
a762e966
LMI
8194 * progmodes/etags.el (tags-search): Doc typo fix.
8195
4e190b80
LMI
8196 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8197 password if we get errors 550 to 554.
8198
f019fb21
LMI
81992011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8200
b796c9b7 8201 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8202
81746738
LMI
8203 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8204 indentation character (bug#6380).
8205
3ee3a1b5
LMI
8206 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8207
c82f64de
LMI
8208 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8209 to clarify what the problem is (bug#4291).
8210
f019fb21
LMI
8211 * simple.el (current-kill): Clarify what
8212 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8213 (auto-fill-mode): Document `auto-fill-function' in relation to
8214 `auto-fill-mode' (bug#2470).
f019fb21 8215
0794775d
LM
82162011-07-16 Lawrence Mitchell <wence@gmx.li>
8217
8218 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8219 method if slot is read-only (bug#9035).
8220
be39b8cc
MR
82212011-07-16 Martin Rudalics <rudalics@gmx.at>
8222
b796c9b7 8223 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8224 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8225 selected before, see discussion of (Bug#8615), (Bug#6954).
8226 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8227
6ccf7859
GM
82282011-07-15 Glenn Morris <rgm@gnu.org>
8229
8230 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8231 Respect help-form.
6ccf7859 8232
87e86684
LM
82332011-07-09 Lawrence Mitchell <wence@gmx.li>
8234
8235 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8236 (gnutls-negotiate): Use it.
8237
d6066239
LMI
82382011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
b796c9b7
SM
8240 * net/gnutls.el (gnutls-negotiate):
8241 Upcase `gnutls-algorithm-priority'.
d6066239 8242
bd23ebc0
GM
82432011-07-15 Glenn Morris <rgm@gnu.org>
8244
c65bca65
GM
8245 * jka-compr.el (jka-compr-verbose): Move from here...
8246 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8247 Add missing :version tag.
8248 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8249
478615cc
LMI
82502011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8251
7b41decb
LMI
8252 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8253 (gnutls-negotiate): Use it.
8254
dbc44fcd
LMI
8255 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8256
06789f97
LMI
8257 * info.el (Info-beginning-of-buffer): New command.
8258 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8259 announcing `b' as the key (bug#8325).
ab896c37 8260 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8261
c39da690
LMI
8262 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8263
3aa5f34b
LMI
8264 * international/mule-cmds.el
8265 (describe-specified-language-support): Make the error message
8266 clearer (bug#8905).
8267
4bf0979f
LMI
8268 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8269
478615cc
LMI
8270 * isearch.el (isearch-barrier): Add a doc string, since it's
8271 mentioned in a function doc string (bug#8678).
8272
75c68aa1
MR
82732011-07-15 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8276 buffer argument (Bug#9083) and self-identifying label argument.
8277
a7c33da2
GM
82782011-07-15 Glenn Morris <rgm@gnu.org>
8279
8280 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8281
2f5c6024
LMI
82822011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8283
8284 * man.el (Man-fontify-manpage): Fix message when formatting the
8285 man page (bug#7929).
8286
0bb23927 82872011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8288
8289 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8290 argument LRM; if non-nil, append an invisible LRM character to the
8291 buffer name.
8292 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8293 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8294 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8295 paragraph direction.
cce4b0a7 8296
621ef9ab
LMI
82972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8298
d1583c48
LMI
8299 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8300 the man page name (bug#7929).
8301
6a57fb5f
LMI
8302 * image.el (put-image): Mention the `put-image' overlay property
8303 (bug#7834).
8304
d7956b14
LMI
8305 * scroll-bar.el (set-scroll-bar-mode): Mention that
8306 `scroll-bar-mode' lists the values (bug#7772).
8307
5b2d4a66
LMI
8308 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8309 command (bug#7729).
8310
7509a874
LMI
8311 * rect.el (apply-on-rectangle): Return the point after the last
8312 operation.
8313 (string-rectangle): Go to the point after the last operation
8314 (bug#7522).
8315
4fe74b19
LMI
8316 * printing.el (pr-toggle-region): Clarify the documentation
8317 slightly (bug#7493).
8318
b796c9b7
SM
8319 * time.el (display-time-update):
8320 Allow `display-time-mail-function' to return nil (bug#7158).
8321 Fix suggested by Detlev Zundel.
ab283561 8322
fc233c9d
LMI
8323 * vc/diff.el (diff): Clarify the order the file names are read
8324 (bug#7111).
8325
43f5740b
LMI
8326 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8327 the doc string (bug#7015).
8328
f2182a76
LMI
8329 * font-lock.el (font-lock-maximum-decoration): Mention what
8330 numeric levels mean (bug#6935).
8331
621ef9ab
LMI
8332 * startup.el (initial-buffer-choice): Don't mention the `none'
8333 selection, which is against policy.
8334
adc47434
MR
83352011-07-14 Martin Rudalics <rudalics@gmx.at>
8336
b796c9b7
SM
8337 * window.el (display-buffer-normalize-special):
8338 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8339
7e5bfb8f
EZ
83402011-07-14 Eli Zaretskii <eliz@gnu.org>
8341
8342 * subr.el (version<, version<=, version=): Mention "-CVS" and
8343 "-12345" alpha version numbers.
8344
27fa387a
CY
83452011-07-14 Chong Yidong <cyd@stupidchicken.com>
8346
8347 * bindings.el: Add advertised binding for set-mark-command
8348 (Bug#5772).
8349
8bdfa064
CY
83502011-07-14 Chong Yidong <cyd@stupidchicken.com>
8351
8352 * bindings.el (mode-line-other-buffer):
8353 * bookmark.el (bookmark-bmenu-2-window):
8354 * bs.el (bs-cycle-next, bs-cycle-previous):
8355 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8356 switch-to-buffer.
8357
8358 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8359 Delete.
8bdfa064 8360
5eba16a3
JB
83612011-07-14 Juanma Barranquero <lekktu@gmail.com>
8362
8363 * follow.el (follow-debug-message, follow-redisplay):
8364 * jka-cmpr-hook.el (with-auto-compression-mode):
8365 Fix typos in docstrings.
8366
15853710
LMI
83672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8368
a28e4607
LMI
8369 * subr.el (with-silent-modifications): Clarify somewhat what the
8370 macro inhibits (bug#6525).
8371
15853710
LMI
8372 * simple.el (eval-expression): Note what it does if called
8373 interactively (bug#6495).
8374
bee0fcef
CY
83752011-07-13 Chong Yidong <cyd@stupidchicken.com>
8376
b796c9b7
SM
8377 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8378 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8379
8380 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8381 Remove switch-to-buffer.
8382
58274504
LMI
83832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
bd2fcc8d
LMI
8385 * files.el (make-directory): Clarify that an error will be raised
8386 if there's an error (bug#6397).
8387
0f04b32c
LMI
8388 * startup.el (initial-buffer-choice): Add `none' as a choice
8389 (bug#6234).
8390
465c5fc8
LMI
8391 * subr.el (add-hook): Clarify section about buffer-local hooks
8392 (bug#6218).
8393
58274504
LMI
8394 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8395
bead9a43
JB
83962011-07-13 Juanma Barranquero <lekktu@gmail.com>
8397
8398 * tabify.el (untabify): Preserve the current column so that point
8399 doesn't move (bug#6032).
8400
3af98a7b
LMI
84012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8402
b796c9b7
SM
8403 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8404 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8405
6240145a
GM
84062011-07-13 Glenn Morris <rgm@gnu.org>
8407
8408 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8409 (dired-insert-directory): Give a message the first time
8410 if ls is found not to support --dired.
8411
1d8c2ccc
LMI
84122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8413
8414 * simple.el (toggle-truncate-lines): Clarify what is toggled
8415 (bug#5580). Text by Drew Adams.
8416
5fc4038e
CY
84172011-07-13 Chong Yidong <cyd@stupidchicken.com>
8418
8419 * simple.el (blink-matching-open): Make the error message from the
8420 last change less verbose.
8421
bf6012e5
DN
84222011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8423
8424 * font-lock.el (font-lock-comment-face): Use the high contrast
8425 "yellow" color for font-lock-comment-face on low color terminals
8426 using a dark background color (bug#4221).
8427
343c3b5a
LMI
84282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429
7e9505c5
LMI
8430 * dired.el (dired-insert-set-properties): Make the doc string
8431 reflect what it does now (bug#5325).
8432
c26fdcf5
LMI
8433 * simple.el (blink-matching-open): Say that we were unable to find
8434 the match within the limit, if we're limited (bug#5122).
8435
bb388cc5
LMI
8436 * international/mule-cmds.el (prefer-coding-system): Add an
8437 example (bug#4869).
8438
343c3b5a
LMI
8439 * progmodes/etags.el (tags-search): Document `file-list-form'
8440 (bug#4731).
8441
2a517d45
LM
84422011-07-13 Lawrence Mitchell <wence@gmx.li>
8443
8444 * net/browse-url.el (browse-url-default-browser)
8445 (browse-url-browser-function): Make the default browser choice a
8446 bit more logical (bug#4300). Also clean up the doc string.
8447
b6c78ef2
JB
84482011-07-13 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8451 binary endings (bug#4440).
8452
1c4dd947
LMI
84532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
a2014063
LMI
8455 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8456 which can be pretty annoying (bug#8971).
8457
9c9c2d88
LMI
8458 * jka-compr.el (jka-compr-verbose): New variable, and use
8459 throughout (bug#8971).
8460
1c4dd947
LMI
8461 * info.el (Info-find-file): Fall back on the installation
8462 directory if we can't find the info node anywhere else.
8463
a1c9f41b
SO
84642011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8465
8466 * vc/vc.el (vc-revert-file):
8467 Don't set file time-stamp in the past. (Bug#5181)
8468
536f3d36
LMI
84692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8470
7152b011
LMI
8471 * files.el (after-find-file): Give a better error message when
8472 trying to find a symlink that points to a file that doesn't exist
8473 (bug#4398).
8474
536f3d36
LMI
8475 * progmodes/cc-vars.el: Remove (probably) misleading comment
8476 (bug#4396).
8477
460c0fba
JB
84782011-07-12 Johan Bockgård <bojohan@gnu.org>
8479
8480 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8481
7a6bda45
CY
84822011-07-12 Chong Yidong <cyd@stupidchicken.com>
8483
8484 * mouse-sel.el: Hack restoring functionality, while keeping
8485 compatibility with 2010-07-03 changes to mouse selection.
8486 (mouse-sel-primary-overlay): New var.
8487 (mouse-sel-selection-alist): Use it.
8488 (mouse-sel-mode): Doc fix; remove points that are default features
8489 of mouse.el.
8490
c79598ef
JB
84912011-07-12 Johan Bockgård <bojohan@gnu.org>
8492
8493 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8494 Fix previous fix (bug#2490).
8495
ff8be6ef
RW
84962011-07-12 Roland Winkler <winkler@gnu.org>
8497
b796c9b7
SM
8498 * textmodes/bibtex.el (bibtex-initialize):
8499 Use pop-to-buffer-same-window.
ff8be6ef
RW
8500 (bibtex-search-entries): Fix interactive call.
8501
296ba3ee
LMI
85022011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8503
f5242a02 8504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8505 Fontise bytecomp Error lines more correctly (bug#2490).
8506 Fix suggested by Johan Bockgård.
f5242a02 8507
296ba3ee
LMI
8508 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8509
8510 * dired-x.el (dired-guess-default): Use `delete-dups'.
8511
f69fd0d2
CY
85122011-07-12 Chong Yidong <cyd@stupidchicken.com>
8513
8514 * dired.el (dired-mark-prompt):
8515 * dired-aux.el (dired-read-shell-command): Doc fix.
8516
eab5dc07
LMI
85172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
b796c9b7
SM
8519 * mail/sendmail.el (sendmail-query-once):
8520 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8521 emacs -Q.
8522
8523 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8524
eab5dc07
LMI
8525 * cus-edit.el (custom-file): Take an optional no-error variable.
8526 (customize-save-variable): Set the variable, and give a warning if
8527 running under "emacs -q".
8528
a1e65d42
JB
85292011-07-11 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * loadhist.el (unload-feature-special-hooks):
8532 Add `auto-coding-functions', `fill-nobreak-predicate' and
8533 `find-directory-functions' (bug#5327).
8534
1d52da10
LMI
85352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8536
be958f1d
LMI
8537 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8538
5bedb26c
LMI
8539 * cus-edit.el (custom-guess-name-alist): -alist variables should
8540 use the `alist' type (bug#3120). Suggested by Drew Adams.
8541
1d52da10
LMI
8542 * printing.el: Add documentation to all the `pr-toggle-' commands.
8543
cd394be1 85442011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8545
8546 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8547 backends where it makes sense (bug#2623).
8548
dcc88d8a
LMI
85492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8550
c3de9feb
LMI
8551 * dired-x.el (dired-guess-default): Remove duplicate shell command
8552 entries (bug#2028).
8a93078b 8553 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8554 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8555
dcc88d8a
LMI
8556 * subr.el (remove-duplicates): New conveniency function.
8557
505e3645
LMI
85582011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8559
8560 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8561 (bug#1526).
8562
85632011-07-10 Martin Rudalics <rudalics@gmx.at>
8564
8565 * window.el (display-buffer-normalize-default): Don't invert
8566 meaning of even-window-heights. Reported by Eli Zaretskii
8567 <eliz@gnu.org>.
8568
455e4fa1
BR
85692011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8570
8571 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8572
8e0bc3e9
CY
85732011-07-10 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * window.el (display-buffer): Fix arguments to
8576 display-buffer-reuse-window in last change.
8577
fa7c3228
CY
8578 * faces.el (link): Use a less saturated blue on light backgrounds.
8579
8580 * startup.el (fancy-startup-text, fancy-about-text)
8581 (fancy-startup-tail): Use font-lock faces, for background safety.
8582
c0a7f300
BN
85832011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8584
b796c9b7
SM
8585 * emulation/viper-cmd.el (viper-change-state-to-vi):
8586 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8587
4dc2a129
MR
85882011-07-09 Martin Rudalics <rudalics@gmx.at>
8589
8590 * window.el (display-buffer-default-specifiers): Remove.
8591 (display-buffer-macro-specifiers): Remove default specifiers.
8592 (display-buffer-alist): Default to nil.
b796c9b7 8593 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8594 (display-buffer-pop-up-window): Allow splitting internal
8595 windows. Check whether a live window was created.
8596 (display-buffer-other-window-means-other-frame)
8597 (display-buffer-normalize-arguments): Rename to
8598 display-buffer-normalize-argument and rewrite. Set the
8599 other-window specifier.
8600 (display-buffer-normalize-special): New function.
8601 (display-buffer-normalize-options): Rename to
8602 display-buffer-normalize-default and rewrite.
8603 (display-buffer-normalize-options-inhibit): Remove.
8604 (display-buffer-normalize-specifiers): Rewrite.
8605 (display-buffer): Process other-window specifier and call
8606 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8607 more faithfully.
b796c9b7 8608 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8609 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8610 (display-buffer-in-window, display-buffer-alist-set):
8611 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8612 <tassilo@member.fsf.org>.
8613
2d43b8c9
LL
86142011-07-09 Leo Liu <sdl.web@gmail.com>
8615
8616 * register.el (insert-register): Restore accidental change on
8617 2011-06-26. (Bug#9028)
8618
7f9b7c53
GM
86192011-07-09 Glenn Morris <rgm@gnu.org>
8620
8621 * subr.el (remq): Handle the empty list. (Bug#9024)
8622
f042cfd8
AS
86232011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8624
8625 * mail/sendmail.el (send-mail-function): No longer delay custom
8626 initialization.
8627 * custom.el (custom-initialize-delay): Doc fix.
8628
856b2f11
SM
86292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8632
afae1d68
MA
86332011-07-08 Michael Albinus <michael.albinus@gmx.de>
8634
8635 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8636 human-friendly prompt.
8637
0757af94
SM
86382011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8641 provided by a particular plugin.
8642
d760b731
LMI
86432011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
8645 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8646 save customizations (with "emacs -Q"), just set the variable
8647 instead of erroring out.
8648
8649 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8650
cd79ce90
JL
86512011-07-08 Juri Linkov <juri@jurta.org>
8652
8653 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8654 (archive-zip-update-case): Use 7z if found by `executable-find'.
8655 The order of searching the available programs is the same as in
8656 `archive-zip-extract' (bug#8968).
8657
14cc04aa
CY
86582011-07-07 Chong Yidong <cyd@stupidchicken.com>
8659
8660 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8661 (menu-bar-options-menu): Tweak descriptions.
8662
0a1848ec
LMI
86632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664
8665 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8666 menu items into verb phrases (bug#1421). Also refill to fit under
8667 80 columns.
8668
f5bd0689
CY
86692011-07-07 Chong Yidong <cyd@stupidchicken.com>
8670
538e85c6
CY
8671 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8672 (Info-read-node-name): Doc fix (Bug#1084).
8673
f5bd0689
CY
8674 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8675 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8676 (end-of-sexp, beginning-of-sexp)
8677 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8678 (forward-symbol, forward-same-syntax, word-at-point)
8679 (sentence-at-point): Doc fix (Bug#1144).
8680
56ec5115
LMI
86812011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
f3f8e37f
LMI
8683 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8684 should cover it (bug#1281).
8685
0757af94 8686 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8687
e9fce1ac 8688 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8689 negotiation fails, then possibly try again with a non-encrypted
8690 connection (bug#9017).
8691
56ec5115
LMI
8692 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8693 be used.
8694
c2f9aec8
RS
86952011-07-07 Richard Stallman <rms@gnu.org>
8696
8697 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8698 property, and handle its changed format.
8699 Look for the correct line number.
8700 Use file's line contents (but not past first =) to find
8701 correct line in message.
8702
ef7b981d 87032011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8704
8705 * international/characters.el (build-unicode-category-table):
8706 Delete it.
0757af94 8707 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8708
0757af94 8709 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8710 to src/chartab.c.
8711 (get-char-code-property): Call unicode-property-table-internal to
8712 load a file. Call get-unicode-property-internal where necessary.
8713 (put-char-code-property): Call unicode-property-table-internal to
8714 load a file. Call put-unicode-property-internal where necessary.
8715 put-unicode-property-internal where necessary.
0757af94
SM
8716 (char-code-property-description):
8717 Call unicode-property-table-internal to load a file.
c805dec0
KH
8718
8719 * international/charprop.el:
8720 * international/uni-bidi.el:
8721 * international/uni-category.el:
8722 * international/uni-combining.el:
8723 * international/uni-comment.el:
8724 * international/uni-decimal.el:
8725 * international/uni-decomposition.el:
8726 * international/uni-digit.el:
8727 * international/uni-lowercase.el:
8728 * international/uni-mirrored.el:
8729 * international/uni-name.el:
8730 * international/uni-numeric.el:
8731 * international/uni-old-name.el:
8732 * international/uni-titlecase.el:
8733 * international/uni-uppercase.el: Regenerate.
8734
8735 * loadup.el: Load international/charprop.el before
8736 international/characters.
8737
e14b388a
CY
87382011-07-07 Chong Yidong <cyd@stupidchicken.com>
8739
8740 * window.el (next-buffer, previous-buffer): Signal an error if
8741 called from a minibuffer window.
8742
8743 * bindings.el: Revert 2011-07-04 change.
8744
354cf0ba
RS
87452011-07-06 Richard Stallman <rms@gnu.org>
8746
8747 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8748 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8749 Treat markers like ints.
8750 (rmail-mime-entity): Doc fix.
8751
a48868a7
LMI
87522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753
4906cd3d
LMI
8754 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8755 defcustom again for backwards compatibility.
8756
e0457abe
LMI
8757 * simple.el (shell-command-on-region): Fill.
8758
d67f7e1f
LMI
8759 * dired-aux.el (dired-kill-line): Add a doc string.
8760
fe204702
LMI
8761 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8762 to "\\sw\\|\\s_" (bug#358).
8763
a48868a7
LMI
8764 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8765 (dired-unmark-backward): Ditto.
8766 (dired-flag-backup-files): Ditto.
8767
8768 * dired-x.el (dired-mark-sexp): Ditto.
8769
aa8a705c
RS
87702011-07-06 Richard Stallman <rms@gnu.org>
8771
8772 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8773 (rmail-mime-entity): New arg TRUNCATED.
8774 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8775 New functions.
8776 (rmail-mime-save): Warn if entity is truncated.
8777 (rmail-mime-toggle-hidden): Likewise, for showing.
8778 (rmail-mime-process-multipart): Record when an entity is truncated.
8779
a9a936b9
RS
8780 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8781 if ENTITY is a string.
8782
1f2b92cb
LMI
87832011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8784
f4f73198 8785 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8786 of faces when `M-C-x'-ing their definitions (bug#8378).
8787 Also clean up the code slightly.
f4f73198 8788
12b16734 8789 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8790 because that makes the colors go away.
12b16734 8791
f0691d22
LMI
8792 * mail/sendmail.el (send-mail-function): Change the default to
8793 `sendmail-query-once'.
9e87df06 8794 (sendmail-query-once): Add an autoload cookie.
f0691d22 8795
1f2b92cb
LMI
8796 * net/network-stream.el (network-stream-open-starttls): Try using
8797 a plain connection even if the server offered STARTTLS, and we
8798 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8799 capability. This should make smtpmail.el work in slightly more
8800 configurations.
8801
1cdd2a1b
MA
88022011-07-06 Michael Albinus <michael.albinus@gmx.de>
8803
8804 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8805 New defun.
8806 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8807
fbcc67e2
MM
88082011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8809
8810 * progmodes/sql.el: Version 3.0
0757af94 8811 (sql-product-alist): Add product :completion-object,
fbcc67e2 8812 :completion-column, and :statement attributes.
0757af94 8813 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8814 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8815 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8816 ansi keywords.
8817 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8818 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8819 (sql-oracle-show-reserved-words): New function for development.
8820 (sql-product-font-lock): Simplify for source code buffers.
8821 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8822 New functions.
8823 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8824 (sql-mode-map): Add statement movement functions.
8825 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8826 New variable.
fbcc67e2
MM
8827 (sql-statement-regexp, sql-beginning-of-statement)
8828 (sql-end-of-statement, sql-signum): New functions.
0757af94 8829 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8830 (sql-show-sqli-buffer): Bug fix.
8831 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8832 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8833 with sql-interactive-mode.
8834 (sql-save-connection): Save buffer local settings.
0757af94 8835 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8836 (sql-product-interactive): Bug fix.
8837 (sql-preoutput-hold): New variable.
8838 (sql-interactive-remove-continuation-prompt): Bug fixes.
8839 (sql-debug-redirect): New variable.
8840 (sql-str-literal): New function.
8841 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8842 Redesign.
fbcc67e2
MM
8843 (sql-oracle-save-settings, sql-oracle-restore-settings)
8844 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8845 (sql-completion-object, sql-completion-column)
8846 (sql-completion-sqlbuf): New variables.
8847 (sql-build-completions-1, sql-build-completions)
8848 (sql-try-completion): New functions.
8849 (sql-read-table-name): Use them.
8850 (sql-contains-names): New buffer local variable.
8851 (sql-list-all, sql-list-table): Use it.
8852 (sql-oracle-completion-types): New variable.
8853 (sql-oracle-completion-object, sql-sqlite-completion-object)
8854 (sql-postgres-completion-object): New functions.
8855
d4eaeab1
GM
88562011-07-06 Glenn Morris <rgm@gnu.org>
8857
8858 * window.el (pop-to-buffer): Doc fix.
8859
322b7dab 88602011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8861
8862 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8863
322b7dab 88642011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8865
322b7dab 8866 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8867
322b7dab 8868 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8869
605dd5bf
CY
88702011-07-05 Chong Yidong <cyd@stupidchicken.com>
8871
8872 * button.el (button): Inherit from link face. Suggested by Dan
8873 Nicolaescu.
8874
7dbfa719
SM
88752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8876
3db614b0
SM
8877 * progmodes/gdb-mi.el: Fit in 80 columns.
8878 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8879 switch-to-buffer.
8880
7dbfa719
SM
8881 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8882 if imenu is simply not configured (bug#8941).
8883
919d884a
KM
88842011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8885
8886 * allout.el (allout-post-undo-hook): New allout outline-change
8887 event hook to signal undo activity.
8888 (allout-post-command-business): Run allout-post-undo-hook if an
8889 undo just occurred.
7dbfa719
SM
8890 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8891 * allout-widgets.el (allout-widgets-after-undo-function):
8892 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8893 in the vicinity of an undo.
8894 (allout-widgets-mode): Include allout-widgets-after-undo-function
8895 on the new allout-post-undo-hook.
8896
450a0f09
SM
88972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8900 Let define-derived-mode define it.
8901 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8902 cycles of abbrev-table inheritance (bug#8998).
8903
2de69e00
RW
89042011-07-05 Roland Winkler <winkler@gnu.org>
8905
8906 * textmodes/bibtex.el: Add support for biblatex.
8907 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8908 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8909 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8910 (bibtex-entry-alist, bibtex-field-alist): New variables.
8911 (bibtex-entry-field-alist): Obsolete alias for
8912 bibtex-BibTeX-entry-alist.
8913 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8914 (bibtex-set-dialect): New command.
8915 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8916 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8917 Bind via bibtex-set-dialect.
2de69e00
RW
8918 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8919 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8920 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8921 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8922 Define via bibtex-set-dialect.
450a0f09
SM
8923 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8924 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8925 (bibtex-vec-push, bibtex-vec-incr): New functions.
8926 (bibtex-format-entry, bibtex-field-list)
8927 (bibtex-print-help-message, bibtex-validate)
8928 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8929
2dcdbdd9
SM
89302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * progmodes/compile.el (compilation-goto-locus):
8933 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8934 * bs.el (bs-cycle-next, bs-cycle-previous):
8935 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8936 * bindings.el (mode-line-other-buffer):
8937 * autoinsert.el (auto-insert):
8938 * arc-mode.el (archive-extract):
8939 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8940
b27640fe
JB
89412011-07-05 Juanma Barranquero <lekktu@gmail.com>
8942
8943 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8944 Fix check of `emacs-lock-unlockable-modes'.
8945 Coerce true values of `emacs-lock--try-unlocking' to t.
8946
53bbe3ad
JB
89472011-07-05 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8950 * emacs-lock.el: New file.
8951
1d3cdbc7
JD
89522011-07-05 Julien Danjou <julien@danjou.info>
8953
8954 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8955 than `boundp' to check if face is set.
8956
9173deec
JB
89572011-07-05 Juanma Barranquero <lekktu@gmail.com>
8958
8959 * register.el (registerv-make):
8960 * window.el (window-min-height): Fix typos in docstrings.
8961
869795d6
JD
89622011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8963
9173deec 8964 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8965 Update doc string.
8966
b768cdcd
JB
89672011-07-04 Juanma Barranquero <lekktu@gmail.com>
8968
8969 * server.el (server-execute): Catch quit and call
8970 `server-return-error' to pass the error back to emacsclient and
8971 close the connection (bug#8942).
8972
13aa217b
KM
89732011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8974
8975 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8976 insecure exception for current topic. Also note that auto-saves
8977 are handled differently.
8978
5d3385a0 8979 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8980 State variables for tracking auto-save inhibition situation.
8981
8982 (allout-write-contents-hook-handler): Rename from
8983 'allout-write-file-hook-handler', and describe how it depends on
8984 write-contents-functions sensitivity to non-nil value to prevent
8985 file write.
8986
8987 (allout-auto-save-hook-handler): Remove. auto-save does not check
8988 this in individual buffers, only in the starting buffer, so this
8989 is not the right way for us to inhibit auto-save in a buffer
8990 according to its condition.
8991
8992 (allout-mode): Use new allout-write-contents-hook-handler, and
8993 only with write-contents-functions. Remove auto-save provisions -
8994 they're implemented elsewhere.
8995
8996 (allout-before-change-handler): If undo is in progress, note that
8997 for attention of allout-post-command-business.
8998
8999 (allout-post-command-business): If the command we're following was
9000 an undo, check for change in the status of encrypted items and
9001 adjust auto-save inhibitions accordingly.
9002
9003 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9004 according to whether there are or aren't any plain-text topics
9005 pending encryption.
9006
2dcdbdd9 9007 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9008 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9009 if there are plain-text topics pending encryption.
13aa217b
KM
9010
9011 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9012 buffer-saved-size and some allout state to not inhibit auto-saves
9013 if there are no longer any plain-text topics pending encryption.
9014
0757af94
SM
9015 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9016 No longer provide for exemption of the current topic.
13aa217b 9017
ac89b32c
JL
90182011-07-04 Juri Linkov <juri@jurta.org>
9019
9020 Add 7z operations to delete and save changed members (bug#8968).
9021 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9022 New defcustoms.
9023 (archive-7z-write-file-member): New function.
9024 (archive-7z-summarize): Fix the number of dashes in the
9025 listing output.
9026
8fa39615
SM
90272011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9030 (bug#8958).
9031
2f11b3f1
CY
90322011-07-04 Chong Yidong <cyd@stupidchicken.com>
9033
d66fef2b
CY
9034 * bindings.el: Ignore next-buffer and previous-buffer in
9035 minibuffer-local-map.
9036
2f11b3f1
CY
9037 * font-lock.el (font-lock-builtin-face): Change light background
9038 color to dark slate blue (Bug#6693).
9039
f932a347
WD
90402011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9041
9042 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9043
c8af70e1
SM
90442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9047 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9048 Add switch-to-buffer.
9049
f158badc
LMI
90502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9051
9052 * isearch.el (isearch-search-fun-function): Clarify further the
9053 meaning of the function returned.
9054
6d95bd46
MA
90552011-07-04 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9058
9059 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9060 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9061 Use it.
9062 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9063 `tramp-default-remote-path' does not exist.
9064 (tramp-send-command-and-read): New optional argument NOERROR.
9065 (tramp-open-connection-setup-interactive-shell)
9066 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9067 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9068 (tramp-process-sentinel): Flush also process' connection property.
9069 (tramp-sh-handle-start-file-process): Do not set process
9070 sentinel. It is done now ...
9071 (tramp-maybe-open-connection): ... here. (Bug#8929)
9072
909e6b67
MK
90732011-07-04 MON KEY <monkey@sandpframing.com>
9074
9075 * play/animate.el (animate-string): Doc fixes and allow changing
9076 the buffer name (bug#5417).
9077
90782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9079
c8af70e1 9080 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9081
f34755dc
PE
90822011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9083
396cec72
PE
9084 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9085 This is simpler and helps future-proof the code.
9086 (timer-until): Use time-subtract and float-time.
08235028 9087 (timer--time-less-p): Use time-less-p.
f34755dc 9088
56e6cc31
JB
90892011-07-04 Juanma Barranquero <lekktu@gmail.com>
9090
3abb79e5
JB
9091 * type-break.el (timep): Use the value of `float-time' to avoid a
9092 byte-compiler warning.
9093
56e6cc31
JB
9094 * server.el (server-eval-and-print): Return any result, even nil.
9095
7b9430b4
PE
90962011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9097
9098 * type-break.el: Accept time formats that the builtins accept.
9099 (timep, type-break-time-difference): Accept any format that
9100 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9101 This is simpler and helps future-proof the code.
9102 (type-break-time-difference): Round rather than ignoring
9103 subseconds components.
9104
3034e9e7
LMI
91052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9106
9107 * info.el (Info-apropos-matches): Make non-interactive, since it
9108 doesn't seem to do anything useful as a command (bug#8829).
9109
1485f4c0
CY
91102011-07-03 Chong Yidong <cyd@stupidchicken.com>
9111
9112 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9113 Move from faces.el.
1485f4c0
CY
9114 (frame-default-terminal-background): New function.
9115
9116 * custom.el (custom-push-theme): Don't record faces in `changed'
9117 theme; this doesn't work correctly for per-frame face settings.
9118 (disable-theme): Use face-set-after-frame-default to reset faces.
9119 (custom--frame-color-default): New function.
9120
9fa3dd45
LMI
91212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9122
c8af70e1 9123 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9124 (bug#8769).
9125
6cbbc20c
KR
91262011-03-29 Kevin Ryde <user42@zip.com.au>
9127
9128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9129 `perl-Test2' extend to match possible "fail #N" rep count
9130 (bug#8377).
9131
c7f98048
LMI
91322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9133
65676592
LMI
9134 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9135 `smtpmail-via-smtp' now returns the error instead of nil.
9136
c7f98048
LMI
9137 * isearch.el (isearch-search-fun-function): Clarify the doc string
9138 (bug#8101).
9139
56e6cc31 91402011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9141
9142 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9143 unnecessary spaces (bug#8987).
9144
2b216704
LMI
91452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9146
9147 * net/network-stream.el (open-network-stream): Use the
9148 :end-of-capability command thoughout.
9149
91502011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9151
9152 * net/network-stream.el (open-network-stream): Add the
9153 :end-of-capability command parameter, used by pop3.el.
9154
36adf6ce
LMI
91552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9156
1ca0da0e
LMI
9157 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9158
fc00f69c
LMI
9159 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9160 for list)" (bug#6475).
9161
28fd8759 9162 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9163 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9164 an error (bug#6297).
9165
0dd8b6da
LMI
9166 * man.el (Man-reference-regexp): Allow matching possible
9167 word-wrapped references (bug#6289).
9168
ce1438d6
LMI
9169 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9170 for consistency with the other vc buffers (bug#6197).
9171 (vc-checkin): Ditto.
9172
9173 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9174
36adf6ce
LMI
9175 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9176
e83cc1f7
LMI
91772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9178
8a20ca4c
LMI
9179 * custom.el (defcustom): Clarify that :set is only used in the
9180 Customize user interface (bug#6089).
9181
83319045
LMI
9182 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9183 associated with a file, refuse to run instead of erroring out
9184 (bug#6084).
9185
a8392169
LMI
9186 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9187 the doc string, since it appears that using `fill-column' always
9188 controls the width (bug#7845).
9189
e83cc1f7
LMI
9190 * simple.el (shell-command-on-region): Say where the error output
9191 went if `shell-command-default-error-buffer' is set (bug#6857).
9192
e47ca23b
KM
91932011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9194
9195 * allout.el (allout-yank-processing): Adjust cursor position for
9196 backwards-deleted space.
9197
9198 (allout-rebullet-heading): Register changes with
9199 allout-exposure-changed-hook, so the modified topic is properly
9200 decorated.
9201
5cf56143
LMI
92022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
08549772
LMI
9204 * minibuffer.el (completion-in-region): Document PREDICATE
9205 (bug#7136).
9206
48e96771
LMI
9207 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9208 of keyword/argument pairs (bug#6904).
9209
c8af70e1
SM
9210 * replace.el (multi-occur):
9211 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9212
e17d05e2
LMI
92132011-07-02 Drew Adams <drew.adams@oracle.com>
9214
9215 * dired.el (dired-mark-if): Make the message about whether it's
9216 marking or unmarking clearer (bug#8523).
9217
063b0e45
LMI
92182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9219
9220 * disp-table.el (display-table-print-array): New function.
9221 (describe-display-table): Use it to print the vectors more pretty
9222 (Bug#8859).
9223
28545e04
MR
92242011-07-02 Martin Rudalics <rudalics@gmx.at>
9225
9226 * window.el (window-state-get-1): Don't assign clone numbers.
9227 Add clone-of item to list of window parameters.
9228 (window-state-put-2): Don't process clone numbers.
9229 (display-buffer-alist): Fix doc-string.
9230
3349e122
SM
92312011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * subr.el (remq): Don't allocate if it's not needed.
9234 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9235 (keymap--merge-bindings): New functions.
9236 (keymap-canonicalize): Use them to refine the canonicalization.
9237 * minibuffer.el (minibuffer-local-completion-map)
9238 (minibuffer-local-must-match-map): Move initialization from C.
9239 (minibuffer-local-filename-completion-map): Move initialization from C;
9240 don't inherit from anything here.
9241 (minibuffer-local-filename-must-match-map): Make obsolete.
9242 (completing-read-default): Use make-composed-keymap to combine
9243 minibuffer-local-filename-completion-map with either
9244 minibuffer-local-must-match-map or
9245 minibuffer-local-filename-completion-map.
9246
d224ac83
GM
92472011-07-01 Glenn Morris <rgm@gnu.org>
9248
3de63bf8
GM
9249 * type-break.el (type-break-time-sum): Use dolist.
9250
d224ac83
GM
9251 * textmodes/flyspell.el (flyspell-word-search-backward):
9252 Replace CL function.
9253
1a1e3f32
SM
92542011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9255
fe3f64d5
SM
9256 * mouse.el (mouse--strip-first-event): New function.
9257 (function-key-map): Use it to map fringe clicks to normal clicks
9258 by default.
9259
eb604e34
SM
9260 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9261 (vc-bzr-revision-completion-table): Add support for annotate and date.
9262
1a1e3f32
SM
9263 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9264 inherit from parent.
9265
5bd35902
LMI
92662011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9267
ace6c69c 9268 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9269 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9270
191e2bed
LMI
9271 * dired.el (dired-mode): Fix up the doc string as suggested by
9272 Drew Adams (bug#8817).
9273
5bd35902
LMI
9274 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9275 cookie, since the manual says that it should be possible to add
9276 this function to `find-file-hook' (bug#8709).
9277
eee8207a
TZ
92782011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9279
9280 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9281 here. Noted Ted Zlatanov as the maintainer.
9282 (cfengine-common-settings, cfengine-common-syntax): New functions
9283 to set up common things between `cfengine-mode' and
9284 `cfengine3-mode'.
9285 (cfengine3-mode): New mode.
9286 (cfengine3-defuns cfengine3-defuns-regex
9287 (cfengine3-class-selector-regex cfengine3-category-regex)
9288 (cfengine3-vartypes cfengine3-font-lock-keywords)
9289 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9290 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9291
36b148cf
MA
92922011-07-01 Michael Albinus <michael.albinus@gmx.de>
9293
9294 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9295
9296 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9297
0bf4ba9a
MR
92982011-07-01 Martin Rudalics <rudalics@gmx.at>
9299
9300 * window.el (same-window-buffer-names, same-window-regexps)
9301 (same-window-p, special-display-frame-alist)
9302 (special-display-popup-frame, special-display-function)
9303 (special-display-buffer-names, special-display-regexps)
9304 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9305 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9306 (split-window-preferred-function, split-height-threshold)
9307 (split-width-threshold, even-window-heights)
9308 (display-buffer-mark-dedicated, window-splittable-p)
9309 (split-window-sensibly, window-safely-shrinkable-p):
9310 Un-obsolete.
9311 (display-buffer): Don't spread args with function specifier
9312 because special-display-popup-frame won't like it.
9313
35837f51
PE
93142011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9315
d0672f86
PE
9316 Time-stamp simplifications and fixes.
9317 These improve accuracy slightly, and future-proof the code
9318 against some potential changes to current-time format.
9319
b9444d97
PE
9320 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9321 by using time-since and float-time.
9322
0ef923dc
PE
9323 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9324 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9325 + NNN microseconds".
9326
2f81380d
PE
9327 * type-break.el (type-break-time-sum): Rewrite using time-add.
9328
845b5c3e
PE
9329 * play/hanoi.el (hanoi-current-time-float): Remove.
9330 All uses replaced by float-time.
9331
ee6f1be0
PE
9332 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9333 This yields a more-accurate answer.
9334 (rng-time-to-float): Remove; no longer needed.
9335
fe955043
PE
9336 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9337
5777162a
PE
9338 * calendar/timeclock.el (timeclock-seconds-to-time):
9339 Defalias to seconds-to-time, since they're the same thing.
9340
3103f8b6 9341 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9342 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9343 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9344
0e61a35f
SM
93452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * window.el (bury-buffer): Don't iconify the only frame.
9348 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9349 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9350
ddd63a1e
CY
93512011-07-01 Chong Yidong <cyd@stupidchicken.com>
9352
0e61a35f
SM
9353 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9354 Add mouse-yank-primary.
ddd63a1e 9355
055f4923
TZ
93562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9357
9358 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9359
6a2fb145
SM
93602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9363 (find-library-name): Use it to find relative load names when provided
9364 absolute file name (bug#8803).
9365
fd4983f2
LMI
93662011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9367
887d14ad
LMI
9368 * textmodes/flyspell.el (flyspell-word): Consider words that
9369 differ only in case as potential doublons (bug#5687).
9370
c53dc7fc
LMI
9371 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9372 Remove two rather uninteresting debugging-like messages to make
9373 debbugs.el more silent.
9374
fd4983f2
LMI
9375 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9376 a password-like phrase.
9377
7a71b18d 93782011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9379
9380 * progmodes/cc-guess.el: New file.
9381
6a2fb145 9382 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9383
9384 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9385 derived from `c-basic-common-init'.
9386
9387 * progmodes/cc-mode.el (top-level): Require cc-guess.
9388 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9389
1fa280a3
LM
93902011-06-30 Lawrence Mitchell <wence@gmx.li>
9391
9392 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9393
e6597158
AM
93942011-06-30 Alan Mackenzie <acm@muc.de>
9395
1fa280a3
LM
9396 * progmodes/cc-engine.el (c-guess-continued-construct):
9397 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9398 lock is disabled. Name this case as "CASE G".
9399
68ba37fb
KM
94002011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9401
9402 * allout.el (allout-yank-processing): Fix injection of extra space
9403 between bullet and non-whitespace character in first topic when
9404 pasting, ensuring that the actual spacing in the pasted topic
9405 following the bullet char is preserved. This extra space was
9406 causing pasted encrypted topics to get a decrypted status even
9407 when the content was actually still encrypted. Now the decryption
9408 status from before the paste is preserved.
9409
9410 (allout-flag-region): Set all allout overlays so they evaporate
9411 when reduced to zero length (evanescent), to prevent overlay
9412 leakage.
9413
887a0b34
GM
94142011-06-30 Glenn Morris <rgm@gnu.org>
9415
94b9acce
GM
9416 * w32-fns.el (w32-charset-info-alist): Declare.
9417
1d9b46d4
GM
9418 * find-dired.el (find-grep-options): Simplify.
9419
cc232200
GM
9420 * term/ns-win.el (ns-set-resource): Declare.
9421
28e77c46
GM
9422 * ses.el (row, col): Declare dynamic variables honestly.
9423
887a0b34
GM
9424 * textmodes/reftex-parse.el (index-tags): Declare.
9425
658d8eb8
CY
94262011-06-30 Chong Yidong <cyd@stupidchicken.com>
9427
9428 * cus-edit.el (customize-push-and-save): New function.
9429
9430 * files.el (hack-local-variables-confirm): Use it.
9431
1fa280a3
LM
9432 * custom.el (load-theme): New arg NO-CONFIRM.
9433 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9434 (custom-enabled-themes): Doc fix.
9435
9436 * cus-theme.el (customize-create-theme)
9437 (custom-theme-merge-theme): Callers to load-theme changed.
9438
bb617717
LMI
94392011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9440
d61bdd5d
LMI
9441 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9442 short URLs have at least one dot in them (bug #7614).
9443
bb617717
LMI
9444 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9445 nil, because using a pty is apparently too slow (bug #895).
9446
2f31f37a
LMI
94472011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9448
9449 * mail/sendmail.el (sendmail-query-once): New function.
9450 (sendmail-query-once-function): New variable.
9451
3076b24e
GM
94522011-06-29 Glenn Morris <rgm@gnu.org>
9453
faf2a174
GM
9454 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9455
3076b24e
GM
9456 * ses.el (top-level): Require cl when compiling.
9457 (ses-set-localvars): Fix error statement.
9458 Call it at compile time to silence a storm of warnings.
9459
5386012d
MR
94602011-06-29 Martin Rudalics <rudalics@gmx.at>
9461
9462 * window.el (normalize-live-buffer): Rename to
9463 window-normalize-buffer.
9464 (normalize-live-frame): Rename to window-normalize-frame.
9465 (normalize-any-window): Rename to window-normalize-any-window.
9466 (normalize-live-window): Rename to window-normalize-live-window.
9467 (make-window-atom): Rename to window-make-atom.
9468 (window-resize-reset): Rename to window--resize-reset.
9469 (window-resize-reset-1): Rename to window--resize-reset-1.
9470 (resize-mini-window): Rename to window--resize-mini-window.
9471 (resize-subwindows-skip-p): Rename to
9472 window--resize-subwindows-skip-p.
9473 (resize-subwindows-normal): Rename to
9474 window--resize-subwindows-normal.
9475 (resize-subwindows): Rename to window--resize-subwindows.
9476 (resize-other-windows): Rename to window--resize-siblings.
9477 (resize-this-window): Rename to window--resize-this-window.
9478 (resize-root-window): Rename to window--resize-root-window.
9479 (resize-root-window-vertically): Rename to
9480 window--resize-root-window-vertically.
9481 (normalize-buffer-to-display): Rename to
9482 window-normalize-buffer-to-display.
9483 (normalize-buffer-to-switch-to): Rename to
9484 window-normalize-buffer-to-switch-to.
9485 Correspondingly update all callers of the functions listed
9486 above.
9487 (display-buffer-alist, display-buffer-normalize-arguments)
9488 (display-buffer-normalize-options, display-buffer)
9489 (display-buffer-alist-set): Use "function" instead of
9490 "fun-with-args".
9491
1176868d
CY
94922011-06-28 Chong Yidong <cyd@stupidchicken.com>
9493
9494 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9495 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9496 debbugs.gnu.org. Mention acknowledgment email.
9497
20a7a65f
LMI
94982011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9499
9500 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9501 buffer multibyteness, since it shouldn't matter.
9502
5f45cca5
MR
95032011-06-28 Martin Rudalics <rudalics@gmx.at>
9504
9505 * window.el (display-buffer-in-side-window): Handle dedicated
9506 windows as in display-buffer-reuse-window.
9507 (display-buffer-normalize-alist): Use value of override
9508 specifier.
9509 (display-buffer-normalize-specifiers): Use value of
9510 other-window-means-other-frame specifier.
9511 (display-buffer-alist): Rewrite some texts in widgets.
9512 (display-buffer): Spread arguments when calling function
9513 specified by fun-with-args.
9514
ad85fe1f
DD
95152011-06-28 Deniz Dogan <deniz@dogan.se>
9516
1fa280a3
LM
9517 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9518 Unnest `let'.
da68c4c8 9519
ad85fe1f
DD
9520 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9521 selectors (Bug#5732).
ec49bd31 9522 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9523
a08cc025
JA
95242011-06-27 Jari Aalto <jari.aalto@cante.net>
9525
9526 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9527 (eshell-ls-date-format): New defcustom.
9528 (eshell-ls-file): Use it.
9529
e2b551c5
SM
95302011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9533
8982b231
KY
95342011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9535
9536 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9537 (ange-ftp-make-tmp-name): New arg.
9538 (ange-ftp-file-local-copy): Use it.
9539
36c9fa27
J
95402011-06-27 Jambunathan K <kjambunathan@gmail.com>
9541
9542 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9543 no-conversion (Bug#8870).
9544
d68443dc
MR
95452011-06-27 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (window-right, window-left, window-child)
9548 (window-child-count, window-last-child)
9549 (window-iso-combination-p, walk-window-tree-1)
9550 (window-atom-check-1, window-tree-1, delete-window)
9551 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9552 new naming conventions - window-vchild, window-hchild,
9553 window-next and window-prev are now called window-top-child,
9554 window-left-child, window-next-sibling and window-prev-sibling
9555 respectively.
d615d6d2
MR
9556 (resize-window-reset): Rename to window-resize-reset.
9557 (resize-window-reset-1): Rename to window-resize-reset-1.
9558 (resize-window): Rename to window-resize.
9559 (window-min-height, window-min-width)
9560 (resize-mini-window, resize-this-window, resize-root-window)
9561 (resize-root-window-vertically, adjust-window-trailing-edge)
9562 (enlarge-window, shrink-window, maximize-window)
9563 (minimize-window, delete-window, quit-restore-window)
9564 (split-window, balance-windows, balance-windows-area-adjust)
9565 (balance-windows-area, window-state-put-2)
9566 (display-buffer-even-window-sizes, display-buffer-set-height)
9567 (display-buffer-set-width, set-window-text-height)
9568 (fit-window-to-buffer): Rename all "resize-window" prefixed
9569 calls to use the "window-resize" prefix convention.
9570 (display-buffer-alist): Fix symbol for label specifier.
9571 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9572 corresponding specifier.
9573 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9574
b6458526
VB
95752011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9576
9577 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9578 convention.
9579 (ses-call-printer): Does not pass an empty string to formatter when the
9580 cell is empty to keep from barking printer Calc math-format-value.
9581
d31fd9ac
RS
95822011-06-27 Richard Stallman <rms@gnu.org>
9583
43d5bf84
RS
9584 * battery.el (battery-mode-line-limit): New variable.
9585 (battery-update): Handle it.
9586
d31fd9ac
RS
9587 * mail/rmailmm.el (rmail-mime-process-multipart):
9588 Handle truncated messages.
9589
819a6054
GM
95902011-06-27 Glenn Morris <rgm@gnu.org>
9591
9592 * progmodes/flymake.el (flymake-err-line-patterns):
9593 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9594
cedc73f2
VB
95952011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9596
819a6054 9597 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9598 (ses--clean-!, ses--clean-_): New functions.
9599 (ses-range): Add configurability of readout order, and conversion
9600 to Calc vector.
9601
5e5d49b6
VB
9602 * ses.el (ses-repair-cell-reference-all): New function.
9603 (ses-cell-symbol): Set macro as safe, so that it can be used in
9604 formulas.
9605
56e6cc31 9606 * ses.el: Update cycle detection algorithm.
90ca8b49 9607 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9608 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9609 (ses-set-localvars): New function.
9610 (ses-make-cell): Add property-list as a cell element.
9611 (ses-cell-property-get-fun, ses-cell-property-get)
9612 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9613 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9614 New functions.
90ca8b49
VB
9615 (ses-cell-property-set, ses-cell-property-pop)
9616 (ses-cell-property-get-handle): New macro.
9617 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9618 New aliases, used for code readability.
9619 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9620 cycle detection.
9621 (ses-self-reference-early-detection): New defcustom.
fac916bf 9622 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9623 (ses-mode): Use ses-set-localvars.
9624 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9625 before lauching the update processing.
9626 (ses-initialize-Dijkstra-attempt): New function.
9627 (ses-recalculate-cell): Update for cycle detection based on
9628 Dijkstra algorithm.
9629
2bb63e81
VB
9630 * ses.el: Fix commenting and indenting convention.
9631
c9d29fb8
SM
96322011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * bs.el (bs-cycle-next): Complete last change.
9635
d8e4b68b
JB
96362011-06-27 Drew Adams <drew.adams@oracle.com>
9637
9638 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9639
40098786
LMI
96402011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641
c9d29fb8
SM
9642 * net/network-stream.el (network-stream-open-starttls):
9643 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9644 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9645
40098786
LMI
9646 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9647 to binary to possibly avoid line encoding issues on Windows (among
9648 other things).
9649
468d09d4
LMI
96502011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9651
9652 * net/network-stream.el (open-network-stream): Return an :error
9653 saying what the problem was, if possible.
9654
9655 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9656 server.
9657
9658 * net/network-stream.el (network-stream-open-starttls): If we
9659 wanted to use STARTTLS, and the server offered it, but we weren't
9660 able to because we had no STARTTLS support, then close the connection.
9661 (open-network-stream): Return an :error element, if present.
9662
16f07dd7
CY
96632011-06-26 Chong Yidong <cyd@stupidchicken.com>
9664
88821ca0
CY
9665 * hl-line.el (hl-line-sticky-flag): Doc fix.
9666 (global-hl-line-sticky-flag): New option (Bug#8323).
9667 (global-hl-line-highlight): Obey it.
9668
16f07dd7
CY
9669 * vc/vc.el (vc-revert-show-diff): Default to t.
9670
6b5ccddf
KM
96712011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9672
c9d29fb8
SM
9673 * allout-widgets.el (allout-widgets-post-command-business):
9674 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9675 undecorated when an isearch is continued past, and isearch
9676 automatically collapses them. This leads to "widget leaks", where
9677 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9678 hidden widgets can slow down cursor travel, substantially.
9679 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9680 so we're doing without this nicety.
9681
9682 (allout-widgets-tally-string): Don't try to do a hash-table-count
9683 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9684 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9685 *Messages* when allout-widgets-maintain-tally is t.
9686
355f2e07
MR
96872011-06-26 Martin Rudalics <rudalics@gmx.at>
9688
9689 * window.el (display-buffer-normalize-argument): Rename to
9690 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9691 LABEL argument. Respect special-display-function when popping up
9692 a new frame. Fix code searching for a window showing the buffer
9693 on another frame.
c9d29fb8
SM
9694 (display-buffer-normalize-specifiers):
9695 Call display-buffer-normalize-arguments.
355f2e07
MR
9696 (display-buffer-in-window): Don't undedicate the window if its
9697 buffer remains the same.
9698 Reported by Drew Adams <drew.adams@oracle.com>.
9699 (display-buffer-alist): Add choice for same-window macro
9700 specfier.
9701 (display-buffer): Mention special meaning of LABEL argument in
9702 doc-string. Fix quoting. Don't pop up a new frame even as
9703 fallback.
9704
7ca8fc42
JB
97052011-06-26 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9708 avoid deleting the current window in some cases (bug#8911).
9709
bc312254
AS
97102011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9711
9712 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9713 (Bug#8934)
9714
2db18f3f
LMI
97152011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9716
c9d29fb8
SM
9717 * net/network-stream.el (network-stream-open-starttls):
9718 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9719 (network-stream-open-tls): Ditto.
9720
6302e0d3
LL
97212011-06-26 Leo Liu <sdl.web@gmail.com>
9722
9723 * register.el (registerv): New struct.
9724 (registerv-make): New function.
c9d29fb8
SM
9725 (jump-to-register, describe-register-1, insert-register):
9726 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9727 struct. (Bug#8415)
9728
5fdd4046
CY
97292011-06-26 Chong Yidong <cyd@stupidchicken.com>
9730
2afef60a
CY
9731 * vc/vc.el (vc-revert-show-diff): New defcustom.
9732 (vc-diff-internal): New arg specifying diff buffer.
9733 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9734 reuse an existing *vc-diff* buffer (Bug#8927).
9735
5fdd4046
CY
9736 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9737
e93db24a
GM
97382011-06-26 Glenn Morris <rgm@gnu.org>
9739
9740 * progmodes/f90.el (f90-critical-indent): New option.
9741 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9742 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9743 (f90-mode): Doc fix.
9744 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9745 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9746 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9747 (f90-match-end): Handle block, critical.
9748
eefff499
GM
97492011-06-25 Glenn Morris <rgm@gnu.org>
9750
f6ba4cc9
GM
9751 * calendar/diary-lib.el (diary-included-files): Doc fix.
9752 (diary-include-files): New function, extracted from
9753 diary-include-other-diary-files and diary-mark-included-diary-files.
9754 (diary-include-other-diary-files, diary-mark-included-diary-files):
9755 Just call diary-include-files.
9756 (diary-mark-entries): Reset diary-included-files on first call.
9757
16712304
GM
9758 * calendar/diary-lib.el (diary-mark-entries)
9759 (diary-mark-included-diary-files):
9760 Visit included diary-files in temp buffers.
9761
5d8e0d43
GM
9762 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9763 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9764 (f90-start-block-re, f90-imenu-generic-expression)
9765 (f90-looking-at-program-block-start, f90-no-block-limit):
9766 Add support for submodules.
9767
ccf7a5d5
GM
9768 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9769 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9770
11fdef7d 97712011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9772
9773 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9774 buffer-file-type before setting its value, to avoid disastrous
eefff499 9775 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9776
74f53697
JB
97772011-06-25 Juanma Barranquero <lekktu@gmail.com>
9778
9779 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9780
9781 * ses.el (ses-unload-function):
9782 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9783
9784 * proced.el (proced-unload-function):
9785 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9786
18a4ce5e
AR
97872011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9788
9789 * server.el (server-create-window-system-frame): Add parameters arg.
9790 (server-process-filter): Doc fix. Handle frame-parameters.
9791
519d22cc
JB
97922011-06-25 Juanma Barranquero <lekktu@gmail.com>
9793
9794 Fix bug#8730, bug#8781.
9795
9796 * loadhist.el (unload--set-major-mode): New function.
9797 (unload-feature): Use it.
9798
9799 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9800 (python-unload-function): New function.
9801
c206f5b0
SM
98022011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9805
f9ad64f3
GS
98062011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9807
9808 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9809 the candidates list.
9810
7d0da90e
JB
98112011-06-24 Juanma Barranquero <lekktu@gmail.com>
9812
9813 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9814
14b4e83d
RS
98152011-06-23 Richard Stallman <rms@gnu.org>
9816
9817 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9818 (rmail-variables): Set next-error-move-function.
9819 (rmail-what-message): Take argument POS.
9820 (rmail-next-error-move): New function.
9821
273d2baf
SM
98222011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9825 messages for adjacent non-terminals.
9826
56c2cc9a
RS
98272011-06-23 Richard Stallman <rms@gnu.org>
9828
9829 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9830 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9831 (rmail-start-mail): Don't specify use of rmail-mail-return;
9832 that's done by mail-bury now.
9833 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9834
d59eb518
MA
98352011-06-23 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9838 SIZE is a number.
9839
02cfc6d6
MR
98402011-06-23 Martin Rudalics <rudalics@gmx.at>
9841
9842 * window.el (get-lru-window, get-mru-window)
9843 (get-largest-window): Never return a minibuffer window.
9844 (display-buffer-pop-up-window): Fix a bug that could lead to
9845 reusing the minibuffer window.
9846 (display-buffer): Pass original specifier argument to
9847 display-buffer-function instead of the normalized one.
9848 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9849
4e323265
LL
98502011-06-22 Leo Liu <sdl.web@gmail.com>
9851
9852 * minibuffer.el (completing-read-function)
9853 (completing-read-default): Move from minibuf.c
9854
7a70468f
RS
98552011-06-22 Richard Stallman <rms@gnu.org>
9856
50718fc2
RS
9857 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9858 to Rmail even if not started by a special Rmail command.
9859
7a70468f
RS
9860 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9861 Copy the buffer currently showing just one message.
9862
297dde5a
RW
98632011-06-22 Roland Winkler <winkler@gnu.org>
9864
9865 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9866 (bibtex-clean-entry): First delete the old key so that a
9867 customized algorithm for generating the new key does not get
9868 confused by the old key.
9869 (bibtex-url): Obey regexp of first step.
9870 (bibtex-search-entries): Do not use add-to-list with local
9871 list-var.
9872
97bb1093
LMI
98732011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9874
9875 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9876 stored a user name, then query for the password first, instead of
9877 waiting for SMTP to give an error message and the trying again.
9878
1c0f1a19
JD
98792011-06-22 Lawrence Mitchell <wence@gmx.li>
9880
9881 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9882 BUFFER in call-process.
9883
396f7c9d
LMI
98842011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
9886 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9887 QUIT twice.
ddb7ffee
LMI
9888 (smtpmail-try-auth-methods): Require user name and password from
9889 auth-source.
396f7c9d 9890
8998d1b3
MR
98912011-06-22 Martin Rudalics <rudalics@gmx.at>
9892
9893 * window.el (display-buffer-default-specifiers)
9894 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9895 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9896 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9897
9898 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9899 (special-display-frame-alist, special-display-popup-frame):
9900 Remove duplicate declarations. These are now in window.el.
9901
4ea31e07
LMI
99022011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
c9d29fb8
SM
9904 * mail/smtpmail.el (smtpmail-via-smtp):
9905 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9906 server supports it. SMTP servers that support STARTTLS commonly
9907 require it.
9908
9909 * net/network-stream.el (network-stream-open-starttls): Support
9910 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9911 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9912
95f41d9a
LMI
9913 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9914 upgrades with `open-network-stream', and rely solely on
9915 auth-source for all credentials. Big changes throughout the file,
9916 but in particular:
c9d29fb8
SM
9917 (smtpmail-auth-credentials): Remove.
9918 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9919 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9920 MAIL FROM, too.
95f41d9a 9921
c9d29fb8
SM
9922 * net/network-stream.el (network-stream-open-starttls):
9923 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9924 STARTTLS.
9925 (auth-source): Require.
9926 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9927 (network-stream-certificate): Change cert-cert to cert and
9928 cert-key to key.
4ea31e07 9929
065ec2c7
MA
99302011-06-21 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * net/tramp-cache.el (top): Don't load the persistency file when
9933 "emacs -Q" has been called.
9934
cd93b359
DR
99352011-06-21 Tim Harper <timcharper@gmail.com>
9936
d8e4b68b
JB
9937 * term/ns-win.el (ns-initialize-window-system):
9938 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9939 resource to NO as it is not yet supported by the NS port.
9940
ae9c0411
JB
99412011-06-21 Juanma Barranquero <lekktu@gmail.com>
9942
9943 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9944 (list-dynamic-libraries): ...not here.
9945
7f3f739f
LL
99462011-06-21 Leo Liu <sdl.web@gmail.com>
9947
9948 * subr.el (sha1): Implement sha1 using secure-hash.
9949
327c8fb1
MR
99502011-06-21 Martin Rudalics <rudalics@gmx.at>
9951
9952 * window.el (display-buffer-alist): In default value do not
9953 enforce searching a window on any but the selected frame.
9954 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9955 (display-buffer-select-window): Remove function.
9956 (display-buffer-in-window): When a window on another frame gets
9957 reused, do not select it any more but just raise its frame if
9958 necessary (Bug#8851) and (Bug#8856).
9959 (display-buffer-normalize-options): Handle pop-up-frames related
9960 options more faithfully.
9961 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9962 window if it is on another frame.
c9d29fb8
SM
9963 (display-buffer-alist, display-buffer-default-specifiers):
9964 Don't make new frame unsplittable by default.
9e9de014
MR
9965 (display-buffer-normalize-argument): Fix doc-string typo and use
9966 'same-frame-other-window instead of 'other-window when associating
9967 with display-buffer-macro-specifiers.
327c8fb1 9968
7cf3f556
VB
99692011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9970
9971 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9972 New functions.
9973 (5x5-mode-map, 5x5-mode-menu): Bind them.
9974 (5x5-draw-grid): Tweak the solver's rendering.
9975
60a406cf
SM
99762011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9979 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9980
d8e4b68b 99812011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9982
9983 * menu-bar.el: Use function variable instead of switch-to-buffer.
9984 (menu-bar-select-buffer-function): New variable.
60a406cf 9985 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9986
478d6f95
SM
99872011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9990 variable's status.
9991
ca530739
JD
99922011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9993
9994 * x-dnd.el (x-dnd-version-from-flags)
9995 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9996 and long as number (Bug#8899).
9997 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9998
bcd70d97
SM
99992011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10000
60a406cf 10001 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10002 (completion-try-completion, completion-all-completions): Compute the
10003 metadata argument if it's missing; make it optional (bug#8795).
10004
60a406cf 10005 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10006 (widget-complete): Use new :completion-function property.
10007 (widget-completions-at-point): New function.
10008 (default): Use :completion-function instead of :complete.
60a406cf
SM
10009 (widget-default-completions): Rename from widget-default-complete;
10010 Rewrite.
bcd70d97
SM
10011 (widget-string-complete, widget-file-complete, widget-color-complete):
10012 Remove functions.
10013 (file, symbol, function, variable, coding-system, color):
10014 * international/mule-cmds.el (default-input-method, charset)
10015 (language-info-custom-alist):
10016 * cus-edit.el (face): Use new property :completions.
10017
10018 * progmodes/pascal.el (pascal-completions-at-point): New function.
10019 (pascal-mode): Use it.
10020 (pascal-mode-map): Use completion-at-point.
10021 (pascal-toggle-completions): Make obsolete.
10022 (pascal-complete-word, pascal-show-completions):
10023 * progmodes/octave-mod.el (octave-complete-symbol):
10024 Redefine as obsolete alias.
10025 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10026 Signal absence of completion info for old Octave,
10027 (inferior-octave-complete): Redefine as obsolete alias.
10028 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10029 (meta-completions-at-point): Rename from meta-complete-symbol and
10030 adapt it for use on completion-at-point-functions.
10031 (meta-common-mode): Use it.
10032 (meta-looking-at-backward, meta-match-buffer): Remove.
10033 (meta-complete-symbol): Redefine as obsolete alias.
10034 (meta-common-mode-map): Use completion-at-point.
10035 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10036 (makefile-mode-map): Use completion-at-point.
10037 (makefile-completions-at-point): Rename from makefile-complete and
10038 adapt it for use on completion-at-point-functions.
10039 (makefile-mode): Use it.
10040 (makefile-complete): Redefine as obsolete alias.
10041
aebf69c8
DD
100422011-06-20 Deniz Dogan <deniz@dogan.se>
10043
10044 * net/rcirc.el: Delete trailing whitespaces once and for all.
10045
bfbbb27d
DC
100462011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10047
10048 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10049
d264a46b
CY
100502011-06-19 Chong Yidong <cyd@stupidchicken.com>
10051
4ca009e5
CY
10052 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10053
d264a46b
CY
10054 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10055
fbf5b3ce
MR
100562011-06-19 Martin Rudalics <rudalics@gmx.at>
10057
10058 * window.el (display-buffer-other-window-means-other-frame):
10059 Call display-buffer-normalize-alist.
10060 (display-buffer-normalize-specifiers-1): Rename to
10061 display-buffer-normalize-argument. New argument other-frame.
10062 Rewrite.
10063 (display-buffer-normalize-specifiers-2): Rename to
10064 display-buffer-normalize-options.
10065 (display-buffer-normalize-alist-1): New function.
10066 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10067 display-buffer-normalize-alist.
10068 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10069 (display-buffer-normalize-options-inhibit): New variable.
10070 (display-buffer-normalize-specifiers): Rewrite calling
10071 display-buffer-normalize-alist,
10072 display-buffer-normalize-argument, and
10073 display-buffer-normalize-options. Don't call the latter if
10074 display-buffer-normalize-options-inhibit is non-nil.
10075 (frame-auto-delete): New option.
10076 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10077 (window-list-no-nils, window-state-ignored-parameters)
10078 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10079 (window-state-put-1, window-state-put-2, window-state-put):
10080 New functions.
9a028c23
MR
10081 (display-buffer-normalize-options): Move special-display-p group
10082 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10083
6d10d800
CY
100842011-06-18 Chong Yidong <cyd@stupidchicken.com>
10085
6420d28b
CY
10086 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10087 groups (Bug#8776).
10088 (rx-submatch-n): New function.
10089 (rx): Document it.
10090
ddb8b596
CY
10091 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10092 (Bug#8768).
10093
10094 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10095
77080289
CY
10096 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10097
61dfb316
CY
10098 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10099 anytime existing face settings are present (Bug#8889).
10100
6d10d800
CY
10101 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10102 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10103 Remove unused argument.
10104
be3fb2b8
MR
101052011-06-18 Martin Rudalics <rudalics@gmx.at>
10106
bcd70d97
SM
10107 * window.el (display-buffer-default-specifiers):
10108 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10109 pop-up-window-min-width, and another reuse-window specifier
10110 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10111 (display-buffer-normalize-specifiers-2):
10112 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10113 pop-up-windows is unset. Add a reuse-window specifier for the
10114 case popping up a new window fails.
10115 (special-display-popup-frame): Remove double quoting.
28dec25a 10116 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10117
1c6d8c76
SM
101182011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10121 according to comint-completion-addsuffix.
10122
10123 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10124 (pcomplete-suffix-list): Mark as obsolete.
10125 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10126 pcomplete-seen in the closure.
10127 (pcomplete-comint-setup): Setup completion-at-point as well.
10128 (pcomplete--entries): New function.
10129 (pcomplete--env-regexp): New var.
10130 (pcomplete-entries): Rewrite to work with partial-completion and
10131 without relying on pcomplete-suffix-list.
10132 (pcomplete-pare-list): Remove, unused.
10133
25aef8b8
MR
101342011-06-17 Martin Rudalics <rudalics@gmx.at>
10135
10136 * window.el (display-buffer-alist): Set pop-up-window-min-height
10137 and pop-up-window-min-width in default value. Reported by
10138 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10139 other-window-means-other-frame.
10140 (display-buffer-macro-specifiers): Comment out entry for
10141 other-window specifier.
10142 (display-buffer-other-window-means-other-frame): New function.
10143 (display-buffer-normalize-specifiers-1): New arguments
10144 buffer-name and label. Treat other-window case specially.
10145 (display-buffer-normalize-specifiers-2): Treat other-window case
10146 specially.
10147 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10148 (display-buffer-normalize-specifiers):
10149 Call display-buffer-normalize-specifiers-3.
25aef8b8 10150
dbad4f69
MR
101512011-06-17 Martin Rudalics <rudalics@gmx.at>
10152
10153 * window.el (same-window-p): Fix two typos introduced when
10154 adding with-no-warnings.
d1067961
MR
10155 (display-buffer-normalize-specifiers-1): Don't check
10156 pop-up-frames for 'unset initialization.
10157 (display-buffer-normalize-specifiers-2): Major rewrite using
10158 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10159 (pop-up-frames, display-buffer-reuse-frames)
10160 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10161 Suggested by David Engster <deng@randomsample.de>.
10162 (even-window-heights): Initialize to 'unset.
10163 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10164 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10165 other window case.
dbad4f69 10166
9b9c9e3a
MR
101672011-06-16 Martin Rudalics <rudalics@gmx.at>
10168
bcd70d97
SM
10169 * window.el (display-buffer-normalize-specifiers-1):
10170 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10171 second argument of display-buffer (Bug#8865).
981d5c09
MR
10172 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10173 (switch-to-buffer-other-window-same-frame)
10174 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10175 Adams (Bug#8875).
9c2755e9
MR
10176 (display-buffer): Don't check noninteractive when calling
10177 display-buffer-pop-up-frame.
10178 (display-buffer-pop-up-frame): Never pop up a frame in
10179 noninteractive mode (Bug#8857).
67222e1d
MR
10180 (enlarge-window, shrink-window): Don't report an error when the
10181 window can't be resized as requested (Bug#8862).
9b9c9e3a 10182
2b75be67
SM
101832011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10184
9ffdd3ba
SM
10185 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10186
cb581a67
SM
10187 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10188
2b75be67
SM
10189 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10190
8c0e3589
AM
101912011-06-15 Alan Mackenzie <acm@muc.de>
10192
cb581a67
SM
10193 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10194 for declarators, disable knr checking to speed up for normal files.
10195 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10196
b96e6cde
LMI
101972011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
4bba86e6
LMI
10199 * net/network-stream.el (open-network-stream): Add the keyword
10200 :always-query-capabilities for the case where you want to force a
10201 `plain' network connection, but the protocol still requires the
10202 capabilitiy command (i.e., SMTP and EHLO).
10203
2b75be67 10204 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10205 consistency with other `-live-p' functions.
10206
efdcdbf8
SM
102072011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * window.el (same-window-buffer-names, same-window-regexps)
10210 (special-display-frame-alist, special-display-popup-frame)
10211 (special-display-function, special-display-buffer-names)
10212 (special-display-regexps, pop-up-frame-alist)
10213 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10214 (pop-up-windows, split-window-preferred-function)
10215 (split-height-threshold, split-width-threshold, even-window-heights)
10216 (display-buffer-mark-dedicated): Don't encourage the use of
10217 display-buffer-alist from Elisp code.
10218
c5cde042
DN
102192011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10220
10221 * progmodes/python.el (python-mode): Derive from prog-mode.
10222 * progmodes/ps-mode.el (ps-mode):
10223 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10224 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10225 * progmodes/ld-script.el (ld-script-mode): Likewise.
10226
baa1c9ab
MR
102272011-06-15 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (display-buffer-alist): Trim default value to avoid
10230 popping up a new frame (Bug#8857) or reusing an arbitrary window
10231 on another frame.
10232 (display-buffer): Do not fall back on popping up a new frame in
10233 batch mode (Bug#8857).
10234
c5dd5a51
CY
102352011-06-14 Chong Yidong <cyd@stupidchicken.com>
10236
10237 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10238 (custom-theme-summary): New function.
10239 (customize-themes): Use it.
10240
d647b7c4
GM
102412011-06-13 Glenn Morris <rgm@gnu.org>
10242
10243 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10244
9481c002
MR
102452011-06-13 Martin Rudalics <rudalics@gmx.at>
10246
357f93d2
MR
10247 * help.el (help-window): Remove variable.
10248 (help-window-point-marker, temp-buffer-max-height)
10249 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10250 (help-print-return-message): Don't set help-window.
10251 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10252 (help-window-setup-finish): Remove.
10253 (help-window-display-message, help-window-setup)
10254 (with-help-window): Major rewrite based on new
10255 display-buffer-window variable.
10256
10257 * help-mode.el (help-mode-finish): Remove help-window related
10258 code.
10259
10260 * view.el (view-exits-all-viewing-windows): Remove reference to
10261 view-return-to-alist in doc-string.
10262 (view-return-to-alist): Make obsolete.
10263 (view-buffer): Call pop-to-buffer-same-window and remove
10264 undo-window code.
10265 (view-buffer-other-window): Call pop-to-buffer-other-window and
10266 simplify code. Ignore second argument.
10267 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10268 simplify code. Ignore second argument.
10269 (view-return-to-alist-update): Make obsolete.
10270 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10271 Rewrite using quit-restore window parameters.
2b75be67
SM
10272 (view-mode-exit): Rename second argument to EXIT-ONLY.
10273 Rewrite using quit-restore-window.
357f93d2
MR
10274 (View-exit, View-exit-and-edit, View-leave, View-quit)
10275 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10276 appropriate arguments.
10277 (view-end-message): Use quit-restore window parameter.
10278
9481c002
MR
10279 * window.el (display-buffer-function): Rewrite doc-string.
10280 (display-buffer-window, display-buffer-alist): New variables.
10281 (display-buffer-split-specifiers)
10282 (display-buffer-side-specifiers)
10283 (display-buffer-macro-specifiers): New constants.
10284 (display-buffer-even-window-sizes, display-buffer-set-height)
10285 (display-buffer-set-width, display-buffer-select-window)
10286 (display-buffer-in-window, display-buffer-reuse-window)
10287 (display-buffer-split-window-1, display-buffer-split-window)
10288 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10289 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10290 (display-buffer-in-side-window, normalize-buffer-to-display)
10291 (display-buffer-normalize-specifiers-1)
10292 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10293 (display-buffer-normalize-specifiers, display-buffer-frame):
10294 New functions.
9481c002
MR
10295 (display-buffer): Major rewrite.
10296 (display-buffer-other-window, display-buffer-other-frame)
10297 (pop-to-buffer, switch-to-buffer-other-window)
10298 (switch-to-buffer-other-frame): Rewrite.
10299 (display-buffer-same-window, display-buffer-same-frame)
10300 (display-buffer-same-frame-other-window)
10301 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10302 (pop-to-buffer-other-window)
10303 (pop-to-buffer-same-frame-other-window)
10304 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10305 (switch-to-buffer-other-window-same-frame): New functions.
10306 (same-window-p, special-display-p): Rewrite disabling warnings.
10307 Make obsolete.
10308 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10309 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10310 Make obsolete
10311 (same-window-buffer-names, same-window-regexps)
10312 (special-display-frame-alist, special-display-popup-frame)
10313 (special-display-function, special-display-buffer-names)
10314 (special-display-regexps, pop-up-frame-alist)
10315 (pop-up-frame-function, split-window-preferred-function)
10316 (split-height-threshold, split-width-threshold)
10317 (even-window-heights): Make obsolete.
10318
9db51aca
GM
103192011-06-12 Glenn Morris <rgm@gnu.org>
10320
10321 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10322 Misc simplifications.
9db51aca 10323
39cffb44
MR
103242011-06-12 Martin Rudalics <rudalics@gmx.at>
10325
10326 * window.el (window-safely-shrinkable-p): Restore function which
10327 was inadvertently removed in change from 2011-06-11. Declare as
10328 obsolete.
10329
2b75be67
SM
10330 * calendar/calendar.el (calendar-generate-window):
10331 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10332 window-safely-shrinkable-p.
10333
a8955be7
GM
103342011-06-12 Glenn Morris <rgm@gnu.org>
10335
10336 * progmodes/fortran.el (fortran-mode-syntax-table):
10337 * progmodes/f90.el (f90-mode-syntax-table):
10338 Set % to punctuation. (Bug#8820)
10339 (f90-find-tag-default): Remove, no longer needed.
10340
f0d4059d
DC
103412011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10342
10343 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10344
1100a63c
CY
103452011-06-11 Chong Yidong <cyd@stupidchicken.com>
10346
10347 * image.el (image-animated-p): Return animation delay in seconds.
10348 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10349 (image-animate-timeout): Remove DELAY argument. Don't assume
10350 every subimage has the same delay; get it from image-animated-p.
10351 (image-animate): Caller changed.
10352
def722bf
MA
103532011-06-11 Michael Albinus <michael.albinus@gmx.de>
10354
10355 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10356 to ignored backtrace functions.
10357
0a2bb1a9
GM
103582011-06-11 Glenn Morris <rgm@gnu.org>
10359
10360 * calendar/appt.el (appt-disp-window-function): Doc fix.
10361 (appt-check): Handle overlapping appointments. (Bug#8337)
10362
6198ccd0
MR
103632011-06-11 Martin Rudalics <rudalics@gmx.at>
10364
10365 * window.el (window-tree-1, window-tree): New functions, moving
10366 the latter to window.el.
10367 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10368 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10369 (bw-refresh-edges): Remove.
10370 (balance-windows-1, balance-windows-2): New functions.
10371 (balance-windows): Rewrite in terms of window tree functions,
10372 balance-windows-1 and balance-windows-2.
10373 (bw-adjust-window): Remove.
10374 (balance-windows-area-adjust): New function with functionality of
10375 bw-adjust-window but using resize-window.
2b75be67
SM
10376 (set-window-text-height): Rewrite doc-string.
10377 Use normalize-live-window and resize-window.
10378 (enlarge-window-horizontally, shrink-window-horizontally):
10379 Rename argument to DELTA.
6198ccd0
MR
10380 (window-buffer-height): New function.
10381 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10382 Rewrite using new window resize routines.
2b75be67
SM
10383 (kill-buffer-and-window, mouse-autoselect-window-select):
10384 Use ignore-errors instead of condition-case.
6198ccd0
MR
10385 (quit-window): Call delete-frame instead of delete-windows-on
10386 for the only buffer on frame.
10387
9397e56f
MR
103882011-06-10 Martin Rudalics <rudalics@gmx.at>
10389
10390 * loadup.el (top-level): Load window before files for the sake
10391 of replace-buffer-in-windows.
10392
10393 * files.el (read-buffer-to-switch)
10394 (switch-to-buffer-other-window)
2b75be67
SM
10395 (switch-to-buffer-other-frame, display-buffer-other-frame):
10396 Move to window.el.
9397e56f
MR
10397
10398 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10399 (previous-buffer): Move to window.el.
10400
10401 * bindings.el (unbury-buffer): Move to window.el.
10402
10403 * window.el (delete-other-windows-vertically): Move after
10404 definition of delete-other-windows.
10405 (other-window, delete-windows-on, replace-buffer-in-windows):
10406 Move here from window.c.
10407 (record-window-buffer, unrecord-window-buffer)
10408 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10409 (switch-to-next-buffer): New functions.
10410 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10411 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10412 (previous-buffer): Move here from simple.el.
10413 Call switch-to-prev-buffer.
9397e56f
MR
10414 (bury-buffer): Move here from buffer.c. Switch to previous
10415 buffer when window cannot be deleted.
10416 (unbury-buffer): Move here from bindings.el.
10417 (ctl-x-map): Move binding for other-window from window.c to
10418 here.
10419 (read-buffer-to-switch, switch-to-buffer-other-window)
10420 (switch-to-buffer-other-frame): Move here from files.el.
10421 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10422 (switch-to-buffer): Move here from buffer.c.
10423 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10424
562dd5e9
MR
104252011-06-10 Martin Rudalics <rudalics@gmx.at>
10426
10427 * window.el (window-min-height, window-min-width): Move here
10428 from window.c. Add defcustoms and rewrite doc-strings.
10429 (resize-mini-window, resize-window): New functions.
10430 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10431 Move here from window.c.
10432 (maximize-window, minimize-window): New functions.
10433 (delete-window, delete-other-windows, split-window): Move here
10434 from window.c.
10435 (window-split-min-size): New function.
10436 (split-window-keep-point): Mention split-window-above-each-other
10437 instead of split-window-vertically.
2b75be67 10438 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10439 Rename split-window-vertically to split-window-above-each-other
10440 and provide defalias for old definition.
10441 (split-window-side-by-side, split-window-horizontally):
10442 Rename split-window-horizontally to split-window-side-by-side
10443 and provide defalias for the old definition.
562dd5e9
MR
10444 (ctl-x-map): Move bindings for delete-window,
10445 delete-other-windows and enlarge-window here from window.c.
10446 Replace bindings for split-window-vertically and
10447 split-window-horizontally by bindings for
10448 split-window-above-each-other and split-window-side-by-side.
10449
10450 * cus-start.el (all): Remove entries for window-min-height and
10451 window-min-width. Add entries for window-splits and
10452 window-nest.
10453
f0da764a
GM
104542011-06-09 Glenn Morris <rgm@gnu.org>
10455
80675c21
GM
10456 * calendar/appt.el (appt-mode-line): New function.
10457 (appt-check, appt-disp-window): Use it.
10458
f0da764a
GM
10459 * files.el (hack-one-local-variable-eval-safep):
10460 Allow minor-modes with explicit +/-1 arguments.
10461
59f623b7
TZ
104622011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10463
10464 * term/xterm.el (xterm): Add defgroup.
10465 (xterm-extra-capabilities): Add defcustom to supply known xterm
10466 capabilities, skip querying them, or query them (default).
10467 (terminal-init-xterm): Use it.
10468 (terminal-init-xterm-modify-other-keys): New function to set up
10469 modifyOtherKeys support to simplify `terminal-init-xterm'.
10470
9aab8e0d
MR
104712011-06-09 Martin Rudalics <rudalics@gmx.at>
10472
10473 * window.el (resize-window-reset, resize-window-reset-1)
10474 (resize-subwindows-skip-p, resize-subwindows-normal)
10475 (resize-subwindows, resize-other-windows, resize-this-window)
10476 (resize-root-window, resize-root-window-vertically)
10477 (window-deletable-p, window-or-subwindow-p)
10478 (frame-root-window-p): New functions.
10479
e8b08aee
GM
104802011-06-09 Glenn Morris <rgm@gnu.org>
10481
10482 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10483 (ange-ftp-get-files): Use it.
10484
254c37a5
AK
104852011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10486
10487 * mail/sendmail.el (mail-recover-1, mail-recover):
10488 * files.el (recover-file, recover-session):
10489 Handle dired-listing-switches not being just a single short option.
10490
35d7dbd3
GM
104912011-06-09 Glenn Morris <rgm@gnu.org>
10492
10493 * calendar/appt.el (appt-display-message, appt-disp-window):
10494 Handle lists of appointments.
10495
387522b2
MR
104962011-06-08 Martin Rudalics <rudalics@gmx.at>
10497
2b75be67
SM
10498 * window.el (one-window-p): Move down in code.
10499 Rewrite doc-string.
10500 (window-current-scroll-bars): Rewrite doc-string.
10501 Normalize live window argument.
387522b2
MR
10502 (walk-windows, get-window-with-predicate, count-windows):
10503 Rewrite doc-string. Use window-list-1.
10504 (window-in-direction-2, window-in-direction, get-mru-window):
10505 New functions.
10506
d8e4b68b 105072011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10508
10509 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10510 Doc fix (Bug#8713).
10511
105122011-06-08 Chong Yidong <cyd@stupidchicken.com>
10513
10514 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10515
105162011-06-08 Juanma Barranquero <lekktu@gmail.com>
10517
10518 * loadhist.el (unload-feature-special-hooks):
10519 Add `comint-output-filter-functions'.
10520
0de12c52
IK
105212011-06-08 Ivan Kanis <gnu@kanis.fr>
10522
10523 * calendar/appt.el (appt-check): Move some initializations into the let.
10524
f3d1777e
MR
105252011-06-08 Martin Rudalics <rudalics@gmx.at>
10526
10527 * window.el (window-height): Defalias to window-total-height.
10528 (window-width): Defalias to window-body-width.
10529
18af70d0
CY
105302011-06-07 Chong Yidong <cyd@stupidchicken.com>
10531
10532 * image-mode.el (image-toggle-animation): New command.
10533 (image-mode-map): Bind it to RET.
10534 (image-mode): Update message.
10535 (image-toggle-display-image): Avoid a spurious cache flush.
10536 (image-transform-rotation): Doc fix.
10537 (image-transform-properties): Return quickly in the normal case.
10538 (image-animate-loop): Rename from image-animate-max-time.
10539
2b75be67 10540 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10541 (create-animated-image): Remove unnecessary function.
10542 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10543 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10544 (image-animate-timer): Use car-safe.
10545 (image-animate-timeout): Rename argument.
10546
190b47e6
MR
105472011-06-07 Martin Rudalics <rudalics@gmx.at>
10548
10549 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10550 window.c. Rename first argument to ALL-FRAMES.
10551 Rephrase doc-strings.
10552 (get-buffer-window-list): Rewrite using window-list-1.
10553 Rephrase doc-string.
a1511caf
MR
10554 (window-safe-min-height, window-safe-min-width): New constants.
10555 (window-size-ignore, window-min-size, window-min-size-1)
10556 (window-sizable, window-sizable-p, window-size-fixed-1)
10557 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10558 (window-max-delta-1, window-max-delta, window-resizable)
10559 (window-resizable-p, window-total-height, window-total-width)
10560 (window-body-width): New functions.
10561 (window-full-height-p, window-full-width-p): Rewrite using
10562 window-total-size.
10563 (window-body-height): Rewrite using window-body-size.
190b47e6 10564
85cc1f11
MR
105652011-06-06 Martin Rudalics <rudalics@gmx.at>
10566
10567 * window.el (window-right, window-left, window-child)
10568 (window-child-count, window-last-child, window-any-p)
10569 (normalize-live-buffer, normalize-live-frame)
10570 (normalize-any-window, normalize-live-window)
10571 (window-iso-combination-p, window-iso-combined-p)
10572 (window-iso-combinations)
10573 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10574 (windows-with-parameter, window-with-parameter)
10575 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10576 (window-atom-check, window-side-check, window-check):
10577 New functions.
85cc1f11
MR
10578 (ignore-window-parameters, window-sides, window-sides-vertical)
10579 (window-sides-slots): New variables.
10580 (window-size-fixed): Move down in code. Minor doc-string fix.
10581
e7156492
AS
105822011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * comint.el (comint-dynamic-complete-as-filename)
10585 (comint-dynamic-complete-filename): Correctly call
10586 completion-in-region.
10587
7e821d0d
DD
105882011-06-05 Deniz Dogan <deniz@dogan.se>
10589
10590 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10591 in last change.
10592
ac09b8a1
DD
105932011-06-05 Deniz Dogan <deniz@dogan.se>
10594
10595 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10596 (rcirc): Use it to prompt for encryption.
10597
34699b85
RW
105982011-06-05 Roland Winkler <winkler@gnu.org>
10599
10600 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10601 (bibtex-search-entries): New command bound to C-c C-a.
10602 (bibtex-display-entries): New function.
10603
004dedd3
RW
106042011-06-05 Roland Winkler <winkler@gnu.org>
10605
10606 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10607 (bibtex-insert-kill): After yanking insert newline if necessary.
10608 (bibtex-initialize): Call bibtex-string-files-init only once.
10609 (bibtex-mode): Do not call easy-menu-add.
10610 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10611 (bibtex-yank): Set arg properly if nil.
10612
022fe7ce
RW
106132011-06-05 Roland Winkler <winkler@gnu.org>
10614
2b75be67
SM
10615 * textmodes/bibtex.el (bibtex-search-entry-globally):
10616 New variable.
022fe7ce
RW
10617 (bibtex-search-entry): Use it.
10618
b7c3692a
RW
106192011-06-05 Roland Winkler <winkler@gnu.org>
10620
10621 * textmodes/bibtex.el (bibtex-entry-format): New option
10622 sort-fields.
10623 (bibtex-format-entry, bibtex-reformat): Honor this option.
10624 (bibtex-parse-entry): Return fields in proper order.
10625
8eda563d
JB
106262011-06-05 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * doc-view.el (doc-view-remove-if): Move computation of result out
10629 of `dolist' to silence misleading lexical-binding warning.
10630
7dbe3dbc
CY
106312011-06-04 Chong Yidong <cyd@stupidchicken.com>
10632
10633 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10634 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10635
0c33dd17
MA
106362011-06-04 Michael Albinus <michael.albinus@gmx.de>
10637
10638 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10639 "SunOS 5.10".
10640
f8f91c2b
MA
106412011-06-04 Michael Albinus <michael.albinus@gmx.de>
10642
10643 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10644 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10645 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10646 (tramp-parse-putty):
10647 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10648 (tramp-completion-function-alist-ssh)
10649 (tramp-completion-function-alist-telnet)
10650 (tramp-completion-function-alist-su)
10651 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10652 cookie.
10653
10654 * net/tramp-ftp.el:
10655 * net/tramp-sh.el:
10656 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10657 load "tramp.el" `tramp-set-completion-function'.
10658
e17d9003
SM
106592011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * shell.el: Require and use pcomplete.
10662 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10663 (shell-completion-vars): Set pcomplete-default-completion-function.
10664
6c4cab03
DD
106652011-06-04 Deniz Dogan <deniz@dogan.se>
10666
10667 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10668 `memq' (Bug#8799).
10669
ea9fafe0
SM
106702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10671
10672 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10673
b3e945d3
JB
106742011-06-02 Juanma Barranquero <lekktu@gmail.com>
10675
10676 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10677 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10678 * vc/log-view.el (log-view-beginning-of-defun):
10679 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10680 (smerge-refine-forward, smerge-refine-chopup-region):
10681 Silence warning for unused `dotimes' counter variables.
10682
7d520089
SM
106832011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * net/tramp.el (tramp-with-progress-reporter): Rename from
10686 with-progress-reporter. Use `declare'.
10687 * net/tramp-smb.el:
10688 * net/tramp-sh.el:
10689 * net/tramp-gvfs.el: Update all uses.
10690
a1c2400f
JB
106912011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10692
10693 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10694 buffer isn't killed before making it current.
10695
2403c841
SM
106962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 Silence various byte-compiler warnings.
10699 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10700 `access-type' and new obsolescence format.
10701 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10702 new format.
10703 (byte-compile-check-variable): New `access-type' argument.
10704 Only warn if the access-type is obsolete.
10705 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10706 (byte-compile-variable-set): Adjust callers.
10707 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10708 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10709 setting it as obsolete.
10710 * simple.el (minibuffer-completing-symbol):
10711 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10712 access as obsolete.
10713 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10714 obsolete yet.
10715 * international/quail.el (quail-mouse-choose-completion): Remove unused
10716 code referring to obsolete var.
10717 (quail-choose-completion-string): Remove.
10718 * server.el (server-clients-with, server-kill-buffer-query-function)
10719 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10720 * proced.el (proced-send-signal):
10721 * emacs-lisp/lisp.el (lisp-complete-symbol):
10722 Replace completion-annotate-function with completion-extra-properties.
10723
2462470b
SM
107242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10725
fb5b2591
SM
10726 * simple.el (goto-line): Use read-number.
10727 (overriding-map-is-bound): Remove.
10728 (saved-overriding-map): Change default.
10729 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10730 Take the map as argument.
10731 (universal-argument, negative-argument, digit-argument): Use it.
10732 (restore-overriding-map): Adjust.
10733 (do-auto-fill): Use fill-forward-paragraph.
10734 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10735
fd6fa53f
SM
10736 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10737 (minibuffer-inactive-mode): New major mode.
10738 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10739 the *Messages* buffer" hack.
10740 (mouse-popup-menubar): Don't burp if the event is a normal key.
10741
2462470b
SM
10742 Miscellaneous tweaks.
10743 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10744 lexical scoping as in subr.el's dolist and dotimes.
10745 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10746 Silence compiler warning.
10747 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10748 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10749 * international/ccl.el (ccl-compile): Trivial simplification.
10750 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10751 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10752 `printflag' argument.
10753 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10754 Purecopy the whole obsolescence data.
10755
108bf785
LL
107562011-06-01 Leo Liu <sdl.web@gmail.com>
10757
10758 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10759 improve doc-string as suggested by Marco Pessotto
10760 <melmothx@gmail.com>.
10761 (rcirc-print): Fix last change.
10762
30a23501
SM
107632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * minibuffer.el (complete-with-action): Return nil for the metadata and
10766 boundaries of non-functional tables.
10767 (completion-table-dynamic): Return nil for the metadata.
10768 (completion-table-with-terminator): Add default case, using
10769 complete-with-action.
10770 (completion--metadata): New function.
10771 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10772 to try and avoid pathological performance problems.
10773 (completion--embedded-envvar-table): Return `category' metadata.
10774
bcd54f83
LMI
107752011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10776
10777 * subr.el (process-alive-p): New tiny convenience function.
10778
e227544d
SM
107792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10782 content but also its previous major mode.
10783
e8296fdc
HE
107842011-05-31 Helmut Eller <eller.helmut@gmail.com>
10785
4d61f28d 10786 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10787 *Backtrace* buffer when we exit with C-M-c.
10788
620c53a6
SM
107892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * minibuffer.el: Add metadata method to completion tables.
10792 (completion-category-overrides): New defcustom.
10793 (completion-metadata, completion--field-metadata)
10794 (completion-metadata-get, completion--styles)
10795 (completion--cycle-threshold): New functions.
10796 (completion-try-completion, completion-all-completions):
10797 Add `metadata' argument to choose completion-styles.
10798 (completion--do-completion): Use metadata to choose cycling.
10799 (completion-all-sorted-completions): Use metadata for sorting.
10800 Remove :completion-cycle-penalty which is not needed any more.
10801 (completion--try-word-completion): Add `metadata' argument.
10802 (minibuffer-completion-help): Check metadata for annotation function
10803 and sorting.
10804 (completion-file-name-table): Return `category' metadata.
10805 (minibuffer-completing-file-name): Make obsolete.
10806 * simple.el (minibuffer-completing-symbol): Make obsolete.
10807 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10808 completion-try-completion.
10809
1257e755
SM
108102011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10813
3767e706
LL
108142011-05-30 Leo Liu <sdl.web@gmail.com>
10815
10816 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10817 (rcirc-print): Decode all incoming messages (bug#8744).
10818 (rcirc-decode-coding-system): Allow value nil for automatic coding
10819 system detection.
3767e706 10820
d1a5d56a
GM
108212011-06-01 Glenn Morris <rgm@gnu.org>
10822
10823 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10824
e8cbec34
CY
108252011-05-29 Chong Yidong <cyd@stupidchicken.com>
10826
10827 * image.el (image-animate-max-time): Allow nil and t values.
10828 Default to nil.
10829 (create-animated-image): Doc fix.
10830 (image-animate-start): Remove second arg; just use
10831 image-animate-max-time.
10832 (image-animate-timeout): Doc fix. Args changed.
10833
10834 * image-mode.el (image-toggle-display-image): Ensure that the
10835 image spec passed to the animate timer is the same object as in
58179cce 10836 the buffer's display property (Bug#6981).
e8cbec34
CY
10837 (image-transform-properties): Doc fix.
10838
10839 * image.el (image-animate-max-time): Default to nil.
10840
159daf87
MR
108412011-05-29 Martin Rudalics <rudalics@gmx.at>
10842
10843 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10844 entire buffer list (Bug#8184).
10845
d66c4c7c
CY
108462011-05-29 Chong Yidong <cyd@stupidchicken.com>
10847
10848 * image.el (imagemagick-types-inhibit)
10849 (imagemagick-register-types): Doc fix.
10850
80aec780
DD
108512011-05-29 Deniz Dogan <deniz@dogan.se>
10852
10853 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10854 default.
10855
1dd3c2d9
CY
108562011-05-29 Chong Yidong <cyd@stupidchicken.com>
10857
10858 * select.el: Don't perform clipboard-manager saving in hooks;
10859 leave the hooks empty.
10860
60e56523
LL
108612011-05-28 Leo Liu <sdl.web@gmail.com>
10862
10863 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10864 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10865 (occur-edit-mode): New major mode (Bug#8463).
10866 (occur-after-change-function): New function.
10867 (occur-engine): Give Occur tags a read-only property.
10868
2b1e1a22
KR
108692011-05-28 Kevin Ryde <user42@zip.com.au>
10870
10871 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10872
5d344e88
CY
108732011-05-28 Chong Yidong <cyd@stupidchicken.com>
10874
8e6ca83d
CY
10875 * bindings.el (help-echo): Make the initial non-indicator dash
10876 empty on graphical terminals (Bug#7295).
10877
5d344e88
CY
10878 * files.el (auto-mode-alist): Move config rule after the
10879 in-stripping one (Bug#8547).
10880
bfbbace7
CY
10881 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10882
fbeba6e2
CY
10883 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10884 setting (Bug#8740).
10885
60ed8c72
AA
108862011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10887
4ac619f0
AA
10888 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10889 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10890 (Bug#8539).
60ed8c72 10891
23db196e
CY
108922011-05-28 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10895
5012f24c
DK
108962011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10897
10898 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10899 (hs-hide-block-at-point, hs-find-block-beginning)
10900 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10901 (Bug#8279).
10902
6a639b16
GM
109032011-05-28 Glenn Morris <rgm@gnu.org>
10904
10905 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10906
d43eaf2c
CY
109072011-05-28 Chong Yidong <cyd@stupidchicken.com>
10908
5199bde1
CY
10909 * help-fns.el (describe-function-1): If the function is a derived
10910 major mode, print the parent mode.
10911
d43eaf2c
CY
10912 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10913 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10914
423428a8
SM
109152011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10916
0ff8e1ba 10917 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10918 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10919 * progmodes/etags.el (tags-completion-at-point-function):
10920 * info-look.el (info-lookup-completions-at-point): Mark as
10921 non-exclusive.
10922 (info-complete): Adjust accordingly.
10923
423428a8
SM
10924 * info-look.el: Convert to lexical-binding and completion-at-point.
10925 (info-lookup-completions-at-point): New function.
10926 (info-complete): Use it and completion-in-region.
10927
b74aa22b
DA
109282011-05-28 Drew Adams <drew.adams@oracle.com>
10929
10930 * isearch.el: Let M-e start with point at the first mismatched char.
10931 (isearch-fail-pos): New function.
10932 (isearch-edit-string): Use it.
10933
66e2e71d
DK
109342011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10935
10936 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10937
b1890b0f 109382011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10939
10940 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10941 traversal functions for avl-trees.
10942 (avl-tree--stack): New struct.
10943 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10944 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10945 (avl-tree--do-enter): Add optional `updatefun' arg.
10946 Change return value.
eb95d01d 10947 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10948 (avl-tree--do-delete): Add `test' and `nilflag' args.
10949 Change return value.
eb95d01d
TC
10950 (avl-tree-member): Add optional `nilflag'
10951 (avl-tree-member-p): New function.
10952 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10953 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10954 (avl-tree-stack-empty-p): New functions.
10955
3769ddcf
TC
10956 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10957 avl-tree--del-balance1 and make it work both ways.
10958 (avl-tree--del-balance2): Remove.
10959 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10960 make it work both ways.
10961 (avl-tree--enter-balance2): Remove.
10962 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10963 New macros.
10964 (avl-tree--mapc, avl-tree-map): Add direction argument.
10965
eb95d01d 109662011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10967
10968 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10969
a9f737ee
CY
109702011-05-27 Chong Yidong <cyd@stupidchicken.com>
10971
10972 * select.el: Support clipboard managers with built-in function
10973 x-clipboard-manager-save, via delete-frame-functions and
10974 kill-emacs-hook.
10975 (xselect-convert-to-targets): Add MULTIPLE target to list.
10976 (xselect-convert-to-save-targets): New function.
10977
c92a1e54
KH
109782011-05-27 Kenichi Handa <handa@m17n.org>
10979
10980 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10981 let-binding rfc2047-encode-encoded-words to nil.
10982
e145f188
GM
109832011-05-27 Glenn Morris <rgm@gnu.org>
10984
5ec8a862
GM
10985 * mail/emacsbug.el: Don't require url-util.
10986
4b29d9fb
GM
10987 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10988
e145f188
GM
10989 * files.el (set-auto-mode):
10990 Also respect mode: entries at the end of the file. (Bug#8586)
10991
7d15102b
GM
109922011-05-26 Glenn Morris <rgm@gnu.org>
10993
98f593b8
GM
10994 * files.el (hack-local-variables-prop-line, hack-local-variables):
10995 Downcase mode names, as seems to be traditional.
27b48e63 10996 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10997
7d15102b
GM
10998 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10999 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11000
51d5b4ec
JD
110012011-05-25 Julien Danjou <julien@danjou.info>
11002
11003 * textmodes/rst.el (rst-define-level-faces): Do not define face
11004 symbol if it is already defined.
11005
91513f63
VB
110062011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11007
11008 * play/5x5.el (5x5-new-game, 5x5-randomize):
11009 Reset 5x5-solver-output to nil when a new grid is cast.
11010 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11011 these debugging traces, as defmacro breaks the compiled code.
11012
4d90d6d0
DK
110132011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11014
11015 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11016
e1b90ef6
LL
110172011-05-24 Leo Liu <sdl.web@gmail.com>
11018
11019 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11020 (vc-bzr-sha1): Adapt.
11021
d8e4b68b 11022 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11023
11024 * bindings.el: Provide sha1 feature.
11025
db0406bb 110262011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11027
11028 * mail/sendmail.el: Require `rfc2047'.
11029 (mail-insert-from-field): Do not perform RFC2047 encoding.
11030 (mail-encode-header): New function.
11031 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11032 buffer to the return value of select-message-coding-system.
11033 Call mail-encode-header.
b8d747b9
KH
11034
11035 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11036
db0406bb 110372011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11038
4d90d6d0
DK
11039 * mail/supercite.el (sc-default-cite-frame):
11040 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11041
eb8a5e9b
GM
110422011-05-24 Glenn Morris <rgm@gnu.org>
11043
f8630703
GM
11044 * progmodes/python.el (brm-menu): Declare.
11045
8831bbed
GM
11046 * emulation/viper.el (viper-set-hooks): Declare.
11047
eb8a5e9b
GM
11048 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11049 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11050 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11051 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11052 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11053 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11054
a2a25d24
SM
110552011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 Add an :exit-function for completion-at-point.
11058
11059 * minibuffer.el (completion--done): New fun.
11060 (completion--do-completion): Use it. New arg `expect-exact'.
11061 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11062 since completion--do-completion does it for us now.
11063 (minibuffer-force-complete): Use completion--done and
11064 completion--replace. Handle sole-completion case with more care.
11065 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11066 (completion-extra-properties): New var.
11067 (completion-annotate-function): Make obsolete.
11068 (minibuffer-completion-help): Adjust accordingly.
11069 Use completion-list-insert-choice-function.
11070 (completion-at-point, completion-help-at-point):
11071 Bind completion-extra-properties.
11072 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11073 * simple.el (completion-list-insert-choice-function): New var.
11074 (completion-setup-function): Preserve it.
11075 (choose-completion): Pay attention to it, shuffle the code a bit.
11076 (choose-completion-string): New arg `insert-function'.
11077
11078 * textmodes/bibtex.el: Convert to lexical binding.
11079 (bibtex-mode-map): Use completion-at-point.
11080 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11081 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11082 (bibtex-complete): Define as obsolete alias.
11083 (bibtex-complete-internal): Remove.
11084 (bibtex-format-entry): Remove unused sub-group in regexp.
11085 * shell.el (shell--command-completion-data)
11086 (shell-environment-variable-completion):
11087 * pcomplete.el (pcomplete-completions-at-point):
11088 * comint.el (comint--complete-file-name-data): Use :exit-function
11089 instead of completion-table-with-terminator so it also works for
11090 choose-completion.
11091
e44e373d
SM
110922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11093
4f91a816
SM
11094 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11095
782fc819
SM
11096 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11097 (bug#8710).
11098
e44e373d
SM
11099 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11100
381987c3
KM
111012011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11102
11103 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11104 customization variable and implement: If non-nil, auto-fill will
11105 be inhibited while on topic's header line.
11106
b776bc70
VB
111072011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11108
11109 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11110 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11111 always have a solution in grid size = 5 cases.
11112 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11113 (5x5-solver-output, 5x5-log-buffer): New vars.
11114 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11115 Make these variables buffer local to achieve 5x5 multi-session-ness.
11116 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11117 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11118 (5x5-solve-suggest): New funs.
11119 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11120 randomize a grid so that we ensure that there is always a solution.
11121 (5x5-make-random-grid): Allow other movement than flipping.
11122
7de88b6e
KR
111232011-05-23 Kevin Ryde <user42@zip.com.au>
11124
11125 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11126 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11127 advice and passes PREDICATE.
11128
b1ef1257
SM
111292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11130
bbca48fe
SM
11131 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11132 byte-compile-lambda if it's actually a lambda.
11133
b1ef1257
SM
11134 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11135 Fix function quoting. Use backquote better.
11136
92a9cc65
YS
111372011-05-22 Yuanle Song <sylecn@gmail.com>
11138
11139 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11140 matching (Bug#8516).
11141
f0fb8059
JA
111422011-01-22 Jari Aalto <jari.aalto@cante.net>
11143
11144 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11145 different face (Bug#8178).
11146
d5b44c93
CY
111472011-05-22 Chong Yidong <cyd@stupidchicken.com>
11148
11149 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11150 defface (Bug#8144).
11151
79106a44
SM
111522011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11153
9c848d8a
SM
11154 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11155 funcall as well (bug#8712). Warn when performing those conversions.
11156 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11157
79106a44
SM
11158 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11159
88dfa756
GM
111602011-05-22 Glenn Morris <rgm@gnu.org>
11161
11162 * files.el (hack-local-variables-prop-line): Small simplifications.
11163 (hack-local-variables, hack-local-variables-prop-line):
11164 If MODE-ONLY, return the mode, rather than just `t'.
11165
b7cf2c79
SM
111662011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11169
3f1a8558
GM
111702011-05-21 Glenn Morris <rgm@gnu.org>
11171
7e4ccca3
GM
11172 * files.el (hack-local-variables-prop-line, hack-local-variables):
11173 If only interested in the mode, don't bother doing the other stuff.
11174
637d46ca
GM
11175 * image-mode.el (image-after-revert-hook):
11176 Redraw all frames on which the image is visible. (Bug#8567)
11177
973d955b
GM
11178 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11179
3f1a8558
GM
11180 * wid-edit.el (widget-checklist-match-inline):
11181 Fix 2011-04-19 change. (Bug#8649)
11182
96479927
SM
111832011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11184
1dcf791f
SM
11185 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11186 Also allow singlespace after single-letter capitals followed by a dot.
11187
96479927
SM
11188 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11189 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11190
35fd0881
N
111912011-05-20 Nix <nix@esperi.org.uk>
11192
11193 * files.el (basic-save-buffer-2):
11194 Fix handling of break-hardlink-on-save with non-existent files.
11195
82745640
DD
111962011-05-19 Deniz Dogan <deniz@dogan.se>
11197
11198 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11199 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11200
4a720484
GM
112012011-05-19 Glenn Morris <rgm@gnu.org>
11202
d1f21341
GM
11203 * progmodes/f90.el (f90-type-def-re):
11204 Handle "type, bind(c)". (Bug#8691)
11205
4a720484
GM
11206 * emacs-lisp/autoload.el (batch-update-autoloads):
11207 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11208
2fb0a219
MA
112092011-05-18 Michael Albinus <michael.albinus@gmx.de>
11210
11211 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11212 property for the correct connection in case of multihops.
11213
e565dd37
GM
112142011-05-18 Glenn Morris <rgm@gnu.org>
11215
c2571358 11216 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11217 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11218
e565dd37
GM
11219 Rationalize calendar handling of day and month abbrev-arrays.
11220 * calendar/calendar.el (calendar-customized-p): New function.
11221 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11222 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11223 Add :set function.
11224 (calendar-abbrev-length, calendar-day-abbrev-array)
11225 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11226 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11227 Elements may no longer be nil.
11228 (calendar-day-name, calendar-month-name):
11229 Update for changed nature of abbrev arrays.
11230 * calendar/diary-lib.el (diary-name-pattern):
11231 Update for changed nature of abbrev arrays.
11232 (diary-mark-entries-1): Update calendar-make-alist calls.
11233 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11234 * calendar/cal-html.el (cal-html-day-abbrev-array):
11235 Simply inherit from calendar-day-abbrev-array.
11236
1d99a745
SM
112372011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * progmodes/grep.el (grep-mode): Disable default
11240 compilation-directory-matcher setting (bug#8684).
11241
7c1d9aa0
MA
112422011-05-17 Michael Albinus <michael.albinus@gmx.de>
11243
11244 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11245 instead of "head" and "tail". There were problems with SunOS 5.9,
11246 and it performs better.
11247
3952e9d8
GM
112482011-05-17 Glenn Morris <rgm@gnu.org>
11249
2dd12e7f
GM
11250 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11251
e4157b9c
GM
11252 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11253 Replace obsolete function.
11254
8e249bbd
GM
11255 * shell.el (pcomplete-parse-arguments-function): Declare.
11256
3952e9d8
GM
11257 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11258 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11259 (appt-check): Doc fixes.
11260 (appt-disp-window-function, appt-delete-window-function):
11261 Remove needless special case in custom :type.
11262 (appt-display-count): Default to 0, not nil.
11263 (appt-check): Reset appt-display-count to 0, not nil.
11264
c71a0d48 112652011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11266
c71a0d48
GM
11267 * progmodes/python.el (python-font-lock-keywords):
11268 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11269
31d55be9
SM
112702011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11273
3bfacb2f
KR
112742011-05-16 Kevin Ryde <user42@zip.com.au>
11275
11276 * info-look.el (makefile-automake-mode): New setups, looking in
11277 automake manual, then makefile-mode.
11278 (makefile-mode): Remove automake manual, have it just in
11279 makefile-automake-mode since there's various things different or
11280 not relevant to plain make.
11281 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11282 believe a hypothetical automake-mode would go to makefile-mode,
11283 not the other way around.
11284
c8e83751
CY
112852011-05-15 Chong Yidong <cyd@stupidchicken.com>
11286
5e9e35cd
CY
11287 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11288 hunk-end tags (Bug#8672).
11289
c8e83751
CY
11290 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11291 vc-annotate-show-diff-revision-at-line (Bug#8671).
11292
50b23e5a
GM
112932011-05-14 Glenn Morris <rgm@gnu.org>
11294
7210a739
GM
11295 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11296 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11297 (change-log-font-lock-keywords): Also handle multiple author lines
11298 with leading tabs. (Bug#8644)
7210a739 11299
4691905a
GM
11300 * calendar/appt.el (appt-check): Rename some local variables.
11301 Some simplification/reordering.
11302
50b23e5a
GM
11303 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11304 (feedmail-sendmail-f-doesnt-sell-me-out)
11305 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11306 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11307 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11308 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11309 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11310 (feedmail-binmail-gnulinuxish-template):
11311 Rename from feedmail-binmail-linuxish-template.
11312 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11313 Use insert-buffer-substring.
11314
215cda7c
BC
113152011-05-14 Bill Carpenter <bill@carpenter.org>
11316
11317 * mail/feedmail.el (feedmail-patch-level): Increase.
11318 (feedmail-debug): New custom group.
11319 (feedmail-confirm-outgoing-timeout)
11320 (feedmail-sendmail-f-doesnt-sell-me-out)
11321 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11322 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11323 (feedmail-sender-line, feedmail-from-line)
11324 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11325 (feedmail-spray-this-address)
215cda7c
BC
11326 (feedmail-spray-address-fiddle-plex-list)
11327 (feedmail-queue-use-send-time-for-date)
11328 (feedmail-queue-use-send-time-for-message-id)
11329 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11330 (feedmail-buffer-eating-function):
11331 Doc fixes.
11332 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11333 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11334 (feedmail-message-action-scroll-down): New functions.
11335 (feedmail-queue-directory, feedmail-queue-draft-directory):
11336 Use expand-file-name.
11337 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11338 Remove C-v help entry.
11339 (feedmail-queue-buffer-file-name): New variable.
11340 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11341 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11342 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11343 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11344 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11345 (feedmail-message-action-toggle-spray)
11346 (feedmail-run-the-queue-no-prompts)
11347 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11348 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11349 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11350 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11351 (feedmail-envelope-deducer, feedmail-fiddle-from)
11352 (feedmail-fiddle-sender, feedmail-default-date-generator)
11353 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11354 (feedmail-fiddle-spray-address)
11355 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11356 (feedmail-fiddle-list-of-fiddle-plexes)
11357 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11358 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11359 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11360 Change default. Doc fix.
11361 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11362 (feedmail-binmail-linuxish-template): New constant.
11363 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11364 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11365 (feedmail-send-it): Add debug call.
11366 Use feedmail-queue-buffer-file-name, and
11367 feedmail-send-it-immediately-wrapper.
11368 (feedmail-message-action-send): Add debug call.
11369 Use feedmail-send-it-immediately-wrapper.
11370 (feedmail-queue-express-to-queue): Add debug call.
11371 Run feedmail-queue-express-hook.
11372 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11373 (feedmail-message-action-help-blat):
11374 Rename from feedmail-queue-send-edit-prompt-help-first.
11375 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11376 Check line-endings. Handle errors better.
11377 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11378 Doc fix. Add debug call.
11379 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11380 Use feedmail-queue-send-edit-prompt-inner.
11381 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11382 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11383 from feedmail-queue-send-edit-prompt.
11384 (feedmail-queue-send-edit-prompt-help)
11385 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11386 (feedmail-tidy-up-slug): Add debug call.
11387 Respect feedmail-queue-slug-suspect-regexp.
11388 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11389 (feedmail-dump-message-to-queue): Add debug call.
11390 Expand queue-directory.
11391 (feedmail-dump-message-to-queue): Change message slightly.
11392 Use feedmail-say-chatter.
11393 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11394 (feedmail-send-it-immediately-wrapper): New function.
11395 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11396 Insert empty string rather than newline. Handle full-frame case.
11397 Use catch/throw. Use feedmail-say-chatter.
11398 (feedmail-fiddle-from): Try mail-host-address.
11399 (feedmail-default-message-id-generator): Doc fix.
11400 Bind system-time-locale. Handle missing end.
11401 (feedmail-fiddle-x-mailer): Add debug call.
11402 Handle feedmail-x-mailer-line being nil.
11403 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11404 Add debug call. Use buffer-substring-no-properties.
11405 (feedmail-say-debug, feedmail-say-chatter): New functions.
11406 (feedmail-find-eoh): Give an explicit error.
11407
42c7e61e
UJ
114082011-05-13 Ulf Jasper <ulf.jasper@web.de>
11409
c2571358 11410 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11411 family from helvetica to sans.
c2571358 11412 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11413 etc/images/newsticker.
11414
c2571358 11415 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11416 family from helvetica to sans.
11417
11418 * net/newst-plainview.el (newsticker-new-item-face)
11419 (newsticker-old-item-face, newsticker-immortal-item-face)
11420 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11421 (newsticker-statistics-face): Change default family from
42c7e61e 11422 helvetica to sans.
c2571358 11423 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11424 etc/images/newsticker.
11425
5d3385a0
JB
11426 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11427 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11428 auto-marking.
11429
8497a297
DV
114302011-05-13 Didier Verna <didier@xemacs.org>
11431
11432 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11433 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11434 TODO entries.
8497a297
DV
11435 (lisp-lambda-list-keyword-parameter-indentation)
11436 (lisp-lambda-list-keyword-parameter-alignment)
11437 (lisp-lambda-list-keyword-alignment): New customizable user options.
11438 (lisp-indent-defun-method): Improve docstring.
11439 (extended-loop-p): Fix comment.
11440 (lisp-indent-lambda-list-keywords-regexp): New variable.
11441 (lisp-indent-lambda-list): New function.
11442 (lisp-indent-259): Use it.
11443 (lisp-indent-defmethod): Support for more than one
11444 method qualifier and properly indent methods lambda-lists.
11445 (defgeneric): Provide a missing common-lisp-indent-function property.
11446
f278f87f
SM
114472011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11450 bounds for the empty string (bug#8667).
11451
5233edd7
GM
114522011-05-13 Glenn Morris <rgm@gnu.org>
11453
5237a44f
GM
11454 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11455
8340026c 11456 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11457 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11458
5233edd7 11459 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11460 (appt-time-msg-list): Doc fix.
a5464014 11461 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11462
92d10796
AS
114632011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11464
11465 * progmodes/ld-script.el (ld-script-keywords)
11466 (ld-script-builtins): Update keywords list.
11467
914a0ae1
SM
114682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11469
c89be45f
SM
11470 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11471
914a0ae1
SM
11472 * shell.el (shell-completion-vars): New function.
11473 (shell-mode):
11474 * simple.el (read-shell-command): Use it.
11475 (blink-matching-open): No need for " [...]" in minibuffer-message.
11476
98dc3df3
GM
114772011-05-12 Glenn Morris <rgm@gnu.org>
11478
11479 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11480 (appt-check): Simplify.
11481
d2fc7e3d 114822011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11483
4d61f28d 11484 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11485 literal "/dev/null".
11486
d2fc7e3d 114872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11488
11489 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11490 Fix typo.
11491
d2fc7e3d 114922011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11493
3f254caa
SM
11494 * progmodes/which-func.el (which-function):
11495 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11496 which might not be defined (Bug#8260).
11497
d45885f7
GM
114982011-05-12 Glenn Morris <rgm@gnu.org>
11499
11500 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11501 Let byte-compile-initial-macro-environment always take precedence.
11502
488086f4
SM
115032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * net/rcirc.el: Add support for SSL/TLS connections.
11506 (rcirc-server-alist): New field `encryption'.
11507 (rcirc): Check `encryption' settings.
11508 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11509 Merge make-local-variable into `set'.
11510 (rcirc--connection-open-p): New function.
11511 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11512 the process is not a network process (e.g. running gnutls-cli).
11513 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11514 Make rcirc-(en|de)code-coding-system local here.
11515 (rcirc-mode): Merge make-local-variable into `set'.
11516 (rcirc-parent-buffer): Make permanent buffer-local.
11517 (rcirc-multiline-minor-mode): Don't do it here.
11518 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11519 there's no server buffer.
11520
7d3b9d44
GM
115212011-05-11 Glenn Morris <rgm@gnu.org>
11522
f64049c6
GM
11523 * newcomment.el (comment-kill): Prefix "unused" local.
11524
93c9df73
GM
11525 * term/w32console.el (get-screen-color): Declare.
11526
7d3b9d44
GM
11527 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11528 Handle symbol elements of byte-compile-initial-macro-environment.
11529
9e2dd53f
LL
115302011-05-10 Leo Liu <sdl.web@gmail.com>
11531
488086f4
SM
11532 * bookmark.el (bookmark-bmenu-mode-map):
11533 Bind bookmark-bmenu-search to `/'.
8b340240 11534
9e2dd53f 11535 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11536 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11537 (Footnote-unicode): New function.
11538 (footnote-style-alist): Add unicode style to the list.
11539 (footnote-style): Doc fix.
9e2dd53f 11540
79b70037
GM
115412011-05-10 Jim Meyering <meyering@redhat.com>
11542
11543 Fix doubled-word typos.
11544 * international/quail.el (quail-insert-kbd-layout): and and -> and
11545 * kermit.el: and and -> and
11546 * net/ldap.el (ldap-search-internal): to to -> to
11547 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11548 * progmodes/js.el (js-mode): and and -> and
11549 * textmodes/artist.el (artist-move-to-xy): at at -> at
11550 (artist-draw-region-trim-line-endings): if if -> if
11551 And Safetyc -> Safety.
11552 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11553
b8f82dc1 115542011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11555 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11556
11557 * files.el (hack-one-local-variable-eval-safep):
11558 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11559
4f99f44b
GM
115602011-05-10 Glenn Morris <rgm@gnu.org>
11561
11562 * calendar/diary-lib.el (diary-list-entries-hook)
11563 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11564 (diary-nongregorian-marking-hook, diary-list-entries)
11565 (diary-include-other-diary-files, diary-mark-entries)
11566 (diary-mark-included-diary-files): Doc fixes.
11567
84f29e6b
JB
115682011-05-09 Juanma Barranquero <lekktu@gmail.com>
11569
11570 * misc.el: Require tabulated-list.el during compilation.
11571
9bedd73a
CY
115722011-05-09 Chong Yidong <cyd@stupidchicken.com>
11573
488086f4
SM
11574 * progmodes/compile.el (compilation-start):
11575 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11576 (compilation-filter-hook): Doc fix.
11577
797c735c
DD
115782011-05-09 Deniz Dogan <deniz@dogan.se>
11579
11580 * wdired.el: Remove outdated installation comment. Fix usage
11581 comment.
11582
5f4b1dfe
JB
115832011-05-09 Juanma Barranquero <lekktu@gmail.com>
11584
11585 * misc.el: Implement new command `list-dynamic-libraries'.
11586 (list-dynamic-libraries--loaded-only-p): New variable.
11587 (list-dynamic-libraries--refresh): New function.
11588 (list-dynamic-libraries): New command.
11589
4c44026c
CY
115902011-05-09 Chong Yidong <cyd@stupidchicken.com>
11591
488086f4
SM
11592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11593 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11594 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11595 higher priority to avoid clobbering by gnu.
11596
027f966d
CY
115972011-05-08 Chong Yidong <cyd@stupidchicken.com>
11598
11599 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11600 if the face has existing theme settings (Bug#8454).
11601
085f5d7d
CY
116022011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11603
488086f4
SM
11604 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11605 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11606
2a86a00c
RS
11607 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11608 special file names `.' and `..' (Bug#8259).
11609
d9c54a06
CY
116102011-05-08 Chong Yidong <cyd@stupidchicken.com>
11611
488086f4
SM
11612 * progmodes/grep.el (grep-mode-font-lock-keywords):
11613 Remove buffer-changing entries.
d9c54a06
CY
11614 (grep-filter): New function.
11615 (grep-mode): Add it to compilation-filter-hook.
11616
11617 * progmodes/compile.el (compilation-filter-hook)
11618 (compilation-filter-start): New defvars.
11619 (compilation-filter): Call compilation-filter-hook prior to
11620 updating the process mark.
11621
c4662635
SM
116222011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11625
b0512a1d
EZ
116262011-05-07 Eli Zaretskii <eliz@gnu.org>
11627
605c9376
EZ
11628 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11629 mailclient-send-it even if window-system is nil. (Bug#8595)
11630
c4662635
SM
11631 * term/w32console.el (terminal-init-w32console):
11632 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11633 background-mode. (Bug#8597)
11634
d1dc2cc2
SM
116352011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11638 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11639 New functions.
11640 (defgeneric, eieio--defmethod): Use them.
11641 (eieio-defgeneric): Remove.
11642 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11643
915d1300
GM
116442011-05-07 Glenn Morris <rgm@gnu.org>
11645
a3961c3e
GM
11646 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11647 Use let rather than let*.
11648 (timeclock-find-discrep): Remove unused local.
11649
314347b9
GM
11650 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11651
915d1300
GM
11652 * calendar/appt.el (appt-time-msg-list): Doc fix.
11653
275b59b0
NF
116542011-05-06 Noah Friedman <friedman@splode.com>
11655
11656 * apropos.el (apropos-print-doc): Only use
11657 emacs-lisp-docstring-fill-column when it is bound to an integer,
11658 per that variable's documentation.
11659
6c19f744
SM
116602011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11663 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11664
60f884b2
GM
116652011-05-06 Glenn Morris <rgm@gnu.org>
11666
5006e634
GM
11667 * calendar/appt.el (appt-message-warning-time): Doc fix.
11668 (appt-warning-time-regexp): New option.
11669 (appt-make-list): Respect appt-message-warning-time.
11670
548d0a63
GM
11671 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11672 New options.
11673 (diary-add-to-list): Strip comments from the displayed string.
11674 (diary-mode): Set comment-start and comment-end.
11675
60f884b2
GM
11676 * vc/diff-mode.el (smerge-refine-subst): Declare.
11677 (diff-refine-hunk): Don't require smerge-mode when compiling.
11678
989681bb
JB
116792011-05-06 Juanma Barranquero <lekktu@gmail.com>
11680
11681 * simple.el (list-processes): Return nil as the docstring says.
11682
a6bc05e1
MA
116832011-05-05 Michael Albinus <michael.albinus@gmx.de>
11684
11685 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11686 to "".
11687 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11688 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11689 determining of binary transfer. (Bug#7383)
11690
23c22e9a
MA
116912011-05-05 Michael Albinus <michael.albinus@gmx.de>
11692
c4662635
SM
11693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11694 Fix port computation bug. (Bug#8618)
23c22e9a 11695
0bff894f
GM
116962011-05-05 Glenn Morris <rgm@gnu.org>
11697
b8296902
GM
11698 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11699
1f522ce8
GM
11700 * simple.el (shell-dynamic-complete-functions)
11701 (comint-dynamic-complete-functions): Declare.
11702
cf5bee67
GM
11703 * net/network-stream.el (gnutls-negotiate):
11704 * simple.el (tabulated-list-print): Fix declarations.
11705
11706 * progmodes/gud.el (syntax-symbol, syntax-point):
11707 Remove unnecessary and incorrect declarations.
11708
0bff894f
GM
11709 * emacs-lisp/check-declare.el (check-declare-scan):
11710 Handle byte-compile-initial-macro-environment in bytecomp.el
11711
9869b3ae
SM
117122011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 Fix earlier half-done eieio-defmethod change (bug#8338).
11715 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11716 Streamline and change calling convention.
11717 (defmethod): Adjust accordingly and simplify.
11718 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11719 new eieio--defmethod.
11720 (slot-boundp): Minor CSE simplification.
11721
9c1d5ac5
MZ
117222011-05-05 Milan Zamazal <pdm@zamazal.org>
11723
11724 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11725 (glasses-make-readable): Use glasses-separate-capital-groups.
11726
455c834e
JB
117272011-05-05 Juanma Barranquero <lekktu@gmail.com>
11728
11729 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11730 (warning-series): Doc fix.
11731 (display-warning): Don't try to create the buffer if we just found it.
11732
9ed7c8cb
CY
117332011-05-04 Chong Yidong <cyd@stupidchicken.com>
11734
11735 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11736 (autoload-find-generated-file): New function.
11737 (generate-file-autoloads): Bind generated-autoload-file to
11738 buffer-file-name.
9869b3ae
SM
11739 (update-file-autoloads, update-directory-autoloads):
11740 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11741 output file (Bug#7989).
11742 (batch-update-autoloads): Doc fix.
11743
0898ca10
JB
117442011-05-04 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11747
31dfb76c
GM
117482011-05-04 Glenn Morris <rgm@gnu.org>
11749
f330b642
GM
11750 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11751 function, so it follows changes in calendar-date-style.
11752 (diary-fancy-date-matcher): New function.
11753 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11754 (diary-fancy-font-lock-fontify-region-function):
11755 Use diary-fancy-date-pattern as a function.
11756
31dfb76c
GM
11757 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11758 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11759
48e79d6a
TZ
117602011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11761
11762 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11763 instead of positional arguments. Allow :keylist and :crlfiles
11764 arguments.
11765 (open-gnutls-stream): Call it.
11766
11767 * net/network-stream.el (network-stream-open-starttls): Adjust to
11768 call `gnutls-negotiate' with :process and :hostname arguments.
11769
dd5a5ee0
SM
117702011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11771
ef80fc09
SM
11772 * minibuffer.el (completion--message): New function.
11773 (completion--do-completion, minibuffer-complete)
11774 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11775 (completion--do-completion): Don't ignore completion-auto-help when in
11776 icomplete-mode.
11777
dd5a5ee0
SM
11778 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11779 internal encoding (e.g. tibetan zero is not whitespace).
11780 (global-whitespace-mode): Prefer save-current-buffer.
11781 (whitespace-trailing-regexp): Remove useless save-match-data.
11782 (whitespace-empty-at-bob-regexp): Minor simplification.
11783
b7d22a83
CY
117842011-05-03 Chong Yidong <cyd@stupidchicken.com>
11785
11786 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11787
5192af46
AM
117882011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11789
11790 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11791 Use `concat' to create string for insertion.
5192af46 11792
5767d190
SM
117932011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11796 Avoid open-line which runs post-self-insert-hook.
11797 (bibtex-fill-entry): Remove unused `end' var.
11798
bf242939
AM
117992011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11800
5767d190
SM
11801 * textmodes/ispell.el (ispell-add-per-file-word-list):
11802 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11803
25666126
LL
118042011-05-03 Leo Liu <sdl.web@gmail.com>
11805
11806 * isearch.el (isearch-yank-pop): New command.
5767d190 11807 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11808 (isearch-forward): Mention it.
11809
52d3c2d0
SM
118102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11811
1bcace58
SM
11812 * simple.el (minibuffer-complete-shell-command): Remove.
11813 (minibuffer-local-shell-command-map): Use completion-at-point.
11814 (read-shell-command): Setup completion vars here instead.
11815 (read-expression-map): Bind TAB to symbol completion.
11816
52d3c2d0
SM
11817 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11818 error directly rather via storing it into `results'.
11819
35813471
LL
118202011-05-02 Leo Liu <sdl.web@gmail.com>
11821
11822 * vc/diff.el: Fix description.
11823
e793a940
LMI
118242011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * server.el (server-eval-at): New function.
11827
8de66e05
LMI
118282011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11829
11830 * net/network-stream.el (open-network-stream): Take a :nowait
11831 parameter and pass it on to `make-network-process'.
11832 (network-stream-open-plain): Ditto.
11833
dcb79f20
AS
118342011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11835
11836 * faces.el (face-spec-set-match-display): Don't match toolkit
11837 options on terminal frames.
11838
14a7fbd8
SM
118392011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11840
7eabc1be
SM
11841 * progmodes/pascal.el: Use lexical binding.
11842 (pascal-mode-map): Remove author preferences.
11843
14a7fbd8
SM
11844 * pcomplete.el (pcomplete-std-complete): Don't abuse
11845 completion-at-point.
11846
50f84510
JB
118472011-04-28 Juanma Barranquero <lekktu@gmail.com>
11848
6e087a44
JB
11849 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11850 removing code that has been dead since 1991 or so.
11851
50f84510
JB
11852 * startup.el (command-line): When warning about "_emacs", use a
11853 delayed warning to allow the user to filter it out.
11854
0ba690bd
DD
118552011-04-28 Deniz Dogan <deniz@dogan.se>
11856
11857 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11858 user has not joined.
11859
08abfaad
SM
118602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11863 aren't any completions at point.
11864
638f053a
JB
118652011-04-28 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * subr.el (display-delayed-warnings): New function.
11868 (delayed-warnings-hook): New variable.
11869
8fff8daa
SM
118702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11871
08abfaad
SM
11872 * minibuffer.el (completion-at-point, completion-help-at-point):
11873 Don't presume that a given completion-at-point-function will always
11874 use the same calling convention.
11875
8fff8daa
SM
11876 * pcomplete.el (pcomplete-completions-at-point):
11877 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11878 pcomplete-seen is non-nil.
11879 (pcomplete-comint-setup): Also recognize the new comint/shell
11880 completion functions.
11881 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11882 pcomplete-seen is non-nil.
11883
841a1577 118842011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11885
841a1577 11886 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11887 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11888 the first character in the entry. This allows for code to add its
211ec907
UJ
11889 own uid to the entry.
11890 (icalendar--convert-float-to-ical): Add export of
11891 `diary-float'-entries save for those with the optional DAY
11892 argument.
11893
2a782793
DC
118942011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11895
11896 * subr.el (shell-quote-argument): Use alternate escaping strategy
11897 when we spot a variable reference in a string.
11898
0438ce91
DC
118992011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11900
11901 * cus-start.el (all): Define customization for debug-on-event.
11902
841a1577 119032011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11904
11905 * subr.el (shell-quote-argument): Escape correctly under Windows.
11906
d090ed6c
SM
119072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11910
bfd31217
MA
119112011-04-25 Michael Albinus <michael.albinus@gmx.de>
11912
d090ed6c
SM
11913 * net/tramp.el (tramp-process-actions): Add POS argument.
11914 Delete region between POS and (pos).
bfd31217 11915
d090ed6c
SM
11916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11917 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11918 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11919
11920 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11921 position in `tramp-process-actions' call.
11922
11923 * net/trampver.el: Update release number.
11924
e92f3bd3
SM
119252011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11926
850256b5
SM
11927 * custom.el (defcustom): Obey lexical-binding.
11928
e92f3bd3
SM
11929 Fix octave-inf completion problems reported by Alexander Klimov.
11930 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11931 Inherit from octave-mode-syntax-table.
11932 (inferior-octave-mode): Set info-lookup-mode.
11933 (inferior-octave-completion-at-point): New function.
11934 (inferior-octave-complete): Use it and completion-in-region.
11935 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11936 comint-filename-completion.
11937 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11938 symbol elements which shouldn't be word elements.
11939 (octave-font-lock-keywords, octave-beginning-of-defun)
11940 (octave-function-header-regexp): Adjust regexps accordingly.
11941 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11942
cd22b309
JB
119432011-04-25 Juanma Barranquero <lekktu@gmail.com>
11944
11945 * net/gnutls.el (gnutls-errorp): Declare before first use.
11946
8b492194
TZ
119472011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11948
11949 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11950 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11951 default trustfile exists before going to use it. Add missing
5a5fa834 11952 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11953 Reported by Claudio Bley <claudio.bley@gmail.com>.
11954 (open-gnutls-stream): Add usage example.
11955
11956 * net/network-stream.el (network-stream-open-starttls): Give host
11957 parameter to `gnutls-negotiate'.
11958 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11959 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11960
841a1577 119612011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11962
cd22b309
JB
11963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11964 Use correct match group (bug#8438).
05842630 11965
3ba7869c
CY
119662011-04-24 Chong Yidong <cyd@stupidchicken.com>
11967
512e3ae1
CY
11968 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11969 (package-menu--generate): New arg specifying packages to show.
11970 (package-menu-refresh, package-menu-execute, list-packages):
11971 Callers changed.
11972 (package-show-package-list): New function, replacing deleted
11973 package--list-packages (renamed because it is non-internal).
11974
11975 * finder.el (finder-list-matches): Use package-show-package-list
11976 instead of deleted package--list-packages.
11977
e92f3bd3
SM
11978 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11979 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11980 (vc-annotate-mode-map): Bind it to RET.
11981
7031be6d
UR
119822011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11983
11984 * progmodes/etags.el (next-file): Don't use set-buffer to change
11985 buffers (Bug#8478).
11986
4ef177aa
CY
119872011-04-24 Chong Yidong <cyd@stupidchicken.com>
11988
c8d173eb
CY
11989 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11990
4ef177aa
CY
11991 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11992 (apropos-accumulator): Doc fix.
11993 (apropos-function, apropos-macro, apropos-command)
11994 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11995 (apropos-plist): Add face property.
11996 (apropos-symbols-internal): Fix indentation.
11997 (apropos-print): Simplify help, and recognize apropos-multi-type.
11998 (apropos-print-doc): Use button-type-get to extract the button's
11999 face property. Fill docstring (Bug#8352).
12000
4ffd0d6b 120012011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12002
12003 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12004
c6c32125 12005 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12006 (mpuz-mode-map): Use mapc.
c6c32125
JB
12007 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12008 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12009 Fix typos in docstrings.
12010
58d468b4
JB
12011 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12012 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12013
6470c3c6
JB
12014 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12015
4ffd0d6b 120162011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12017
12018 * minibuffer.el (completion--do-completion): Avoid the "Next char
12019 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12020
3ad8bad0
CY
12021 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12022 mouse-2 into unread-command-events, it is interpreted correctly.
12023
71d73c9c 12024 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12025 (image-toggle-display): Doc fix.
71d73c9c 12026
841a1577 120272011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12028
4ffd0d6b
GM
12029 * textmodes/page.el (what-page): Use line-number-at-pos to
12030 calculate line number (Bug#6825).
6e1dbaa9 12031
c2fb1b60
JB
120322011-04-22 Juanma Barranquero <lekktu@gmail.com>
12033
12034 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12035 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12036 Pass argument NO-DEFAULT to `find-tag-interactive'.
12037
e02f48d7
JB
120382011-04-22 Juanma Barranquero <lekktu@gmail.com>
12039
12040 Lexical-binding cleanup.
12041
12042 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12043 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12044 * progmodes/ada-prj.el (ada-prj-initialize-values)
12045 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12046 (ada-prj-show-value):
12047 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12048 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12049 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12050 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12051 * progmodes/bug-reference.el (bug-reference-push-button):
12052 * progmodes/fortran.el (fortran-line-length):
12053 * progmodes/glasses.el (glasses-change):
12054 * progmodes/octave-mod.el (octave-fill-paragraph):
12055 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12056 (python-pdbtrack-grub-for-buffer, python-sentinel):
12057 * progmodes/sql.el (sql-save-connection):
12058 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12059 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12060 Mark unused parameters.
12061
12062 * progmodes/compile.el (compilation--flush-directory-cache)
12063 (compilation--flush-parse, compile-internal): Mark unused parameters.
12064 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12065 (compilation-next-error-function): Remove unused variable `timestamp'.
12066
12067 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12068 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12069
12070 * progmodes/dcl-mode.el (dcl-end-of-command):
12071 Remove unused variable `start'.
12072 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12073 (dcl-option-value-basic, dcl-option-value-offset)
12074 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12075 Mark unused parameters.
12076 (dcl-save-local-variable): Remove unused variable `val'.
12077 (mode): Declare.
12078
12079 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12080 Mark unused parameters.
12081 (delphi-ignore-changes): Move before first use.
12082 (delphi-charset-token-at): Remove unused variable `start'.
12083 (delphi-else-start): Remove unused variable `if-count'.
12084 (delphi-comment-block-start, delphi-comment-block-end):
12085 Remove unused variable `kind'.
12086 (delphi-indent-line): Remove unused variable `new-point'.
12087
12088 * progmodes/ebrowse.el (ebrowse-files-list)
12089 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12090 Mark unused parameters. Don't quote `lambda'.
12091 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12092 Don't quote `lambda'.
12093 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12094 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12095 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12096 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12097 Use `ignore-errors'.
12098 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12099 (ebrowse-view/find-file-and-search-pattern)
12100 (ebrowse-view/find-member-declaration/definition):
12101 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12102 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12103 Rename parameter PREFIX-ARG to PREFIX.
12104 (ebrowse-tags-read-name): Remove unused variables `start' and
12105 `member-info'.
12106 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12107 to `tags-file'.
12108
12109 * progmodes/etags.el (local-find-tag-hook): Declare.
12110 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12111 Mark unused parameters.
12112
12113 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12114 (executable-interpret): Mark unused parameter.
12115
12116 * progmodes/flymake.el (flymake-process-sentinel)
12117 (flymake-after-change-function)
12118 (flymake-create-temp-with-folder-structure)
12119 (flymake-get-include-dirs-dot): Mark unused parameters.
12120 (flymake-safe-delete-directory): Remove unused variable `err'.
12121
12122 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12123 (speedbar-timer-fn, speedbar-line-text)
12124 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12125 (speedbar-center-buffer-smartly): Declare functions.
12126 (gdb-find-watch-expression): Remove unused variable `array'.
12127 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12128 (gdb-starting): Mark unused parameters.
12129 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12130 (gdb-table-string): Remove unused variable `res'.
12131 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12132 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12133 (gdb-display-buffer): Remove unused variable `cur-size'.
12134
12135 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12136 allow lexical-binding compilation.
12137 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12138 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12139 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12140 Mark unused parameters.
12141 (gud-gdb-marker-filter): Remove unused variable `match'.
12142 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12143 lambda expressions and funcall them, instead of using `fset'.
12144
12145 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12146 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12147
12148 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12149 variable `header-beg'; use `let'.
12150
12151 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12152 `restart', `last-sexp' and `at-do'.
12153
12154 * progmodes/js.el (js--debug): Mark unused parameter.
12155 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12156 (js--splice-into-items): Remove unused variable `item'.
12157 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12158
12159 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12160 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12161 (makefile-complete): Remove unused variable `try'.
12162 (makefile-fill-paragraph, makefile-match-function-end):
12163 Mark unused parameters.
12164
12165 * progmodes/octave-inf.el (inferior-octave-complete):
12166 Remove unused variable `proc'.
12167 (inferior-octave-output-digest): Mark unused parameter.
12168
12169 * progmodes/perl-mode.el (perl-calculate-indent):
12170 Remove unused variable `err'.
12171
12172 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12173 (prolog-indent-line): Mark unused parameters.
12174 (prolog-indent-line): Remove unused variable `beg'.
12175
12176 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12177 (reporter-dont-compact-list): Declare.
12178
12179 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12180 Remove unused variable `char'.
12181 (sh-debug): Mark unused parameter.
12182 (sh-get-indent-info): Remove unused variable `start'.
12183 (sh-calculate-indent): Remove unused variable `var'.
12184
12185 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12186 (simula-electric-keyword): Remove unused variable `null'.
12187 (simula-search-backward, simula-search-forward): Remove unused
12188 variables `begin' and `end'.
12189
12190 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12191 Remove unused variable `pos'.
12192 (vera-electric-tab, vera-comment-uncomment-region):
12193 Mark unused parameters.
12194 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12195
7ede3b65
CY
121962011-04-22 Chong Yidong <cyd@stupidchicken.com>
12197
12198 * emacs-lisp/package.el (package--builtins, package-alist)
12199 (package-load-descriptor, package-built-in-p, package-activate)
12200 (define-package, package-installed-p)
12201 (package-compute-transaction, package-buffer-info)
12202 (package--push): Doc fix. Distinguish more clearly between
12203 version strings and version lists.
12204
121656e9
JB
122052011-04-21 Juanma Barranquero <lekktu@gmail.com>
12206
12207 Lexical-binding cleanup.
12208
12209 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12210 (5x5-make-mutate-best):
12211 * play/fortune.el (fortune-in-buffer):
12212 * play/gomoku.el (gomoku-init-display):
12213 * play/solitaire.el (solitaire, solitaire-do-check):
12214 * play/tetris.el (tetris-default-update-speed-function):
12215 Mark unused parameters.
12216
12217 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12218 (bubbles--shift): Remove unused variable `char-org'.
12219 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12220 (bubbles--show-images): Remove unused variable `char'.
12221
12222 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12223 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12224 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12225 (decipher-analyze-buffer): Use ?\s.
12226 (decipher-make-checkpoint): Remove unused variable `mapping'.
12227
12228 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12229
12230 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12231 Remove unused variable `result'; use `let'.
12232
12233 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12234 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12235 (gametree-children-shown-p, gametree-compute-reduced-score):
12236 Use `ignore-errors'.
12237
12238 * play/handwrite.el (ps-lpr-switches): Declare.
12239 (handwrite): Remove unused variables `pmin' and `lastp'.
12240
12241 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12242
12243 * play/landmark.el (landmark-init-display)
12244 (landmark-update-naught-weights): Mark unused parameters.
12245 (landmark-y): Remove unused variable `noise'. Simplify.
12246 (landmark-human-plays): Remove unused variable `score'.
12247
12248 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12249 (mpuz-try-proposal): Remove unused variable `game'.
12250
12251 * play/zone.el (life-patterns): Declare.
12252
80f499c7
JB
122532011-04-20 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * vc/vc.el (ediff-vc-internal): Declare function.
12256
024ff170
SM
122572011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12258
c0a193ea
SM
12259 * shell.el: Use lexical-binding and std completion UI.
12260 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12261 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12262 comint-preoutput-filter-functions rather than on
12263 comint-output-filter-functions.
12264 (shell-command-completion, shell--command-completion-data)
12265 (shell-filename-completion, shell-environment-variable-completion)
12266 (shell-c-a-p-replace-by-expanded-directory): New functions.
12267 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12268 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12269 (shell-dynamic-complete-environment-variable): Use them.
12270 (shell-dynamic-complete-as-environment-variable)
12271 (shell-dynamic-complete-as-command): Remove.
12272 (shell-match-partial-variable): Match past point.
12273 * comint.el: Clean up use of completion-at-point-functions.
12274 (comint-completion-at-point): New function.
12275 (comint-mode): Use it completion-at-point-functions.
12276 (comint-dynamic-complete): Make it obsolete.
12277 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12278 (comint-c-a-p-replace-by-expanded-history): New function.
12279 (comint-dynamic-complete-functions)
12280 (comint-replace-by-expanded-history): Use it.
12281 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12282 termination strings. Try harder to avoid second try-completion.
12283 (completion-in-region-mode-map): Disable bindings that don't work yet.
12284
2dbaa080
SM
12285 * comint.el: Use lexical-binding. Require CL.
12286 (comint-dynamic-complete-functions): Use comint-filename-completion.
12287 (comint-completion-addsuffix): Tweak custom type.
12288 (comint-filename-completion, comint--common-suffix)
12289 (comint--common-quoted-suffix, comint--table-subvert)
12290 (comint--complete-file-name-data): New functions.
12291 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12292 (comint-dynamic-list-filename-completions): Use them.
12293 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12294
2dbaa080
SM
12295 * minibuffer.el (completion-in-region-mode):
12296 Keep completion-in-region-mode--predicate global.
12297 (completion-in-region--postch):
12298 Assume completion-in-region-mode--predicate is not null.
12299
c79a6f38
SM
12300 * progmodes/flymake.el (flymake-start-syntax-check-process):
12301 Obey `dir'. Simplify.
12302
024ff170
SM
12303 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12304 we're in VC after all.
12305
1c6c854e
CS
123062011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12307
12308 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12309 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12310 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12311
bed7f140
SM
123122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12313
332e62ab
SM
12314 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12315 add sanity check.
12316
bed7f140
SM
12317 * obsolete/erc-hecomplete.el: Make obsolete.
12318 * obsolete/: Standardize obsolescence info in the header.
12319
f195c582
GM
123202011-04-20 Glenn Morris <rgm@gnu.org>
12321
12322 * calendar/solar.el (solar-horizontal-coordinates):
12323 Use the longitude argument rather than `calendar-longitude'.
12324 (solar-date-next-longitude): Remove unused locals.
12325
cb79b8c0
VJL
123262011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12327
12328 * whitespace.el: New version 13.2.1.
12329
123302011-04-20 felix <EmacsWiki> (tiny change)
12331
d8e4b68b 12332 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12333 switching between major modes on a file.
12334
602ea69d
SM
123352011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12338 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12339 multi-line comments as well.
12340
06b60517
JB
123412011-04-19 Juanma Barranquero <lekktu@gmail.com>
12342
12343 Lexical-binding cleanup.
12344
12345 * arc-mode.el (archive-mode-revert):
12346 * cmuscheme.el (scheme-interactively-start-process):
12347 * custom.el (custom-initialize-delay):
12348 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12349 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12350 * emacs-lock.el (emacs-lock-clear-sentinel):
12351 * ezimage.el (defezimage):
12352 * follow.el (follow-avoid-tail-recenter):
12353 * fringe.el (set-fringe-mode-1):
12354 * generic-x.el (bat-generic-mode-compile):
12355 * help-mode.el (help-info-variable, help-do-xref)
12356 (help-mode-revert-buffer):
12357 * help.el (view-emacs-todo):
12358 * iswitchb.el (iswitchb-completion-help):
12359 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12360 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12361 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12362 * locate.el (locate-update):
12363 * longlines.el (longlines-encode-region)
12364 (longlines-after-change-function):
12365 * outline.el (outline-isearch-open-invisible):
12366 * ps-def.el (declare-function, charset-dimension, char-width)
12367 (encode-char):
12368 * ps-mule.el (ps-mule-plot-string):
12369 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12370 (recentf-edit-list-select, recentf-edit-list-validate)
12371 (recentf-open-files-action):
12372 * rect.el (delete-whitespace-rectangle-line)
12373 (rectangle-number-line-callback):
12374 * register.el (window-configuration-to-register)
12375 (frame-configuration-to-register):
12376 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12377 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12378 (xselect-convert-to-targets, xselect-convert-to-delete)
12379 (xselect-convert-to-filename, xselect-convert-to-charpos)
12380 (xselect-convert-to-lineno, xselect-convert-to-colno)
12381 (xselect-convert-to-os, xselect-convert-to-host)
12382 (xselect-convert-to-user, xselect-convert-to-class)
12383 (xselect-convert-to-name, xselect-convert-to-integer)
12384 (xselect-convert-to-atom, xselect-convert-to-identity):
12385 * subr.el (declare, ignore, process-kill-without-query)
12386 (text-clone-maintain):
12387 * terminal.el (te-get-char, te-tic-sentinel):
12388 * tool-bar.el (tool-bar-make-keymap):
12389 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12390 * type-break.el (type-break-mode, type-break-noninteractive-query):
12391 * view.el (View-back-to-mark):
12392 * wid-browse.el (widget-browse-action, widget-browse-widget)
12393 (widget-browse-widgets, widget-browse-sexp):
12394 * widget.el (define-widget-keywords):
12395 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12396 Mark unused parameters.
12397
12398 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12399 (align-areas): Remove unused variable `look'.
12400 (align-region): Remove unused variables `real-end' and `pos-list'.
12401
12402 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12403
12404 * bindings.el (mode-line-modified, mode-line-remote):
12405 Mark unused parameters.
12406 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12407
12408 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12409 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12410
12411 * comint.el (comint-history-isearch-pop-state)
12412 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12413 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12414 (comint-substitute-in-file-name): Doc fix.
12415
12416 * completion.el (cmpl-statistics-block): Mark unused parameter.
12417 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12418 (save-completions-to-file, load-completions-from-file):
12419 Remove unused local variable `e'.
12420
12421 * composite.el (compose-chars): Remove unused variable `len'.
12422 (lgstring-insert-glyph): Remove unused variable `g'.
12423 (compose-glyph-string): Remove unused variables `ascent',
12424 `descent', `lbearing' and `rbearing'.
12425 (compose-glyph-string-relative): Remove unused variables
12426 `lbearing', `rbearing' and `wadjust'.
12427 (compose-gstring-for-graphic): Remove unused variables `header',
12428 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12429 (compose-gstring-for-terminal): Remove unused variables `header'
12430 and `nchars'. Use `let', not `let*'.
12431
12432 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12433 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12434 (Custom-buffer-done, custom-buffer-create-internal)
12435 (custom-browse-visibility-action, custom-browse-group-tag-action)
12436 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12437 (widget-magic-mouse-down-action, custom-toggle-parent)
12438 (custom-add-parent-links, custom-toggle-hide-variable)
12439 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12440 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12441 (custom-face-menu-create, custom-variable-menu-create, get)
12442 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12443 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12444 (customize-apropos): Remove unused variable `tests'.
12445 (custom-group-value-create): Remove unused variable `hidden-p'.
12446 (sort-fold-case): Declare.
12447
12448 * cus-theme.el (custom-reset-standard-faces-list)
12449 (custom-reset-standard-variables-list): Declare.
12450 (customize-create-theme, custom-theme-revert, custom-theme-write)
12451 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12452 Mark unused parameters.
12453
12454 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12455
12456 * delim-col.el (delimit-columns-max): Move defvar before first use.
12457
12458 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12459 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12460
12461 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12462 (auto-insert): Declare.
12463 (desktop-restore-file-buffer): Rename desktop-* parameters;
12464 mark unused ones.
12465 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12466 (desktop-buffer): Rename desktop-* parameters.
12467
12468 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12469 (dframe-reposition-frame-xemacs, dframe-help-echo)
12470 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12471 Mark unused parameters.
12472
12473 * dired-aux.el (backup-extract-version-start, overwrite-query)
12474 (overwrite-backup-query, rename-regexp-query)
12475 (rename-non-directory-query): Declare.
12476 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12477 (dired-add-entry): Remove unused variable `orig-file-name'.
12478 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12479 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12480 `dired-copy-preserve-time' directly.
12481 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12482 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12483
12484 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12485 (dired-virtual-revert, dired-make-relative-symlink):
12486 Mark unused parameters.
12487 (manual-program): Declare.
12488 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12489 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12490 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12491
12492 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12493
12494 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12495
12496 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12497 Declare.
12498
12499 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12500
12501 * electric.el (Electric-command-loop): Rename parameter
12502 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12503
12504 * expand.el (expand-in-literal): Remove unused variable `here'.
12505
12506 * facemenu.el (facemenu-add-new-color):
12507 Remove unused variable `docstring'.
12508
12509 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12510 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12511 (face-attr-construct): Mark unused parameter. Doc fix.
12512 (read-color): Remove unused variable `hex-string'.
12513
12514 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12515 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12516 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12517 (display-buffer-other-frame): Remove unused variable `old-window'.
12518 (kill-buffer-hook): Declare.
12519 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12520 Mark unused parameters.
12521 (after-find-file): Pass 1 to `auto-save-mode', not t.
12522
12523 * files-x.el (auto-insert): Declare.
12524 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12525
12526 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12527 variable `buf'. Mark unused parameter.
06b60517
JB
12528 (find-lisp-insert-directory): Mark unused parameter.
12529
12530 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12531 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12532 (format-common-tail): Remove, unused.
12533 (format-deannotate-region): Remove unused variable `loc'.
12534 (format-annotate-region): Remove unused variable `p'.
12535 (format-annotate-single-property-change): Remove unused variables
12536 `default' and `tail'.
12537
12538 * forms.el (read-file-filter): Declare.
12539 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12540
12541 * frame.el (frame-creation-function-alist): Mark unused parameter.
12542 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12543
12544 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12545 Remove unused parameters.
12546 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12547 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12548
12549 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12550 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12551 (hfy-prepare-tag-map): Mark unused parameters.
12552 (htmlfontify-buffer): Use `called-interactively-p'.
12553
12554 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12555 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12556 (ibuffer-do-occur): Mark unused parameters.
12557 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12558 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12559
12560 * ibuffer.el: Don't quote `lambda'.
12561 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12562 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12563 Mark unused parameters.
12564
12565 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12566 (ido-completing-read): Mark unused parameters.
12567 (ido-copy-current-word): Mark unused parameters;
12568 remove unused variable `name'.
12569 (ido-sort-merged-list): Remove unused parameter `dirs'.
12570
12571 * ielm.el (ielm-input-sender): Mark unused parameter.
12572 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12573 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12574 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12575 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12576 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12577
12578 * image-dired.el (image-dired-display-thumbs): Remove unused
12579 variables `curr-file' and `count'.
12580 (image-dired-remove-tag): Remove unused variable `start'.
12581 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12582 variable `curr-file'
12583 (image-dired-rotate-original): Remove unused variable `temp-file'.
12584 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12585 Remove unused variable `file'.
12586 (image-dired-gallery-generate): Remove unused variable `curr'.
12587 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12588
12589 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12590
12591 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12592
12593 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12594
12595 * isearch.el (minibuffer-history-symbol): Declare.
12596 (isearch-edit-string): Remove unused variable `err'.
12597 (isearch-message-prefix, isearch-message-suffix):
12598 Mark unused parameters.
12599
12600 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12601
12602 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12603
12604 * makesum.el (double-column): Remove unused variable `cnt'.
12605
12606 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12607 (ido-ignore-item-temp-list): Declare.
12608
12609 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12610 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12611 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12612 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12613 `mouse-col-delta'.
12614
12615 * mouse-sel.el (mouse-extend-internal):
12616 Remove unused variable `orig-window-frame'.
12617
12618 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12619 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12620 Move declarations before first use.
12621 (pcomplete-opt): Mark unused parameters; doc fix.
12622
12623 * proced.el (proced-revert): Mark unused parameter.
12624 (proced-send-signal): Remove unused variable `err'.
12625
12626 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12627 Rename parameter PREFIX-ARG to ARG.
12628 (ps-basic-plot-string, ps-basic-plot-whitespace):
12629 Mark unused parameters.
12630
12631 * replace.el (replace-count): Define.
12632 (occur-revert-function): Mark unused parameters.
12633 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12634 (isearch-case-fold-search, isearch-string): Declare.
12635 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12636 bind `case-fold-search'. Remove unused variables `beg' and `end',
12637 and simplify.
12638 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12639 COUNT and bind `replace-count'.
12640 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12641 to COUNT.
12642
12643 * savehist.el (print-readably, print-string-length): Declare.
12644
12645 * shadowfile.el (shadow-expand-cluster-in-file-name):
12646 Remove unused variable `cluster'.
12647 (shadow-copy-file): Remove unused variable `i'.
12648 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12649 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12650 (shadow-define-literal-group, shadow-define-regexp-group)
12651 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12652
12653 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12654 (shell): Use `called-interactively-p'.
12655 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12656
12657 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12658 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12659 (delete-backward-char): Remove unused variable `ocol'.
12660 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12661 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12662 (event-apply-hyper-modifier, event-apply-shift-modifier)
12663 (event-apply-control-modifier, event-apply-meta-modifier):
12664 Mark unused parameters.
12665 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12666 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12667
12668 * speedbar.el (speedbar-ignored-directory-expressions)
12669 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12670 (speedbar-find-file, speedbar-dir-follow)
12671 (speedbar-directory-buttons-follow, speedbar-tag-find)
12672 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12673 (speedbar-buffers-line-directory, speedbar-buffer-click):
12674 Mark unused parameters.
12675 (speedbar-tag-file): Remove unused variable `mode'.
12676 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12677
12678 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12679
12680 * talk.el (talk): Remove unused variable `display'.
12681
12682 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12683 (tar-write-region-annotate): Mark unused parameter.
12684
12685 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12686 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12687 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12688 warning by another.
12689
12690 * time-stamp.el (time-stamp-string-preprocess):
12691 Remove unused variable `require-padding'.
12692
12693 * tree-widget.el (widget-glyph-enable): Declare.
12694 (tree-widget-action): Mark unused parameter.
12695
12696 * w32-fns.el (x-get-selection): Mark unused parameter.
12697 (autoload-make-program, generated-autoload-file): Declare.
12698
12699 * wdired.el (wdired-revert): Mark unused parameters.
12700 (wdired-xcase-word): Remove unused variable `err'.
12701
12702 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12703 (whitespace-help-scroll): Remove unused variable `data-help'.
12704
12705 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12706 (widget-image-insert, widget-after-change, default)
12707 (widget-default-format-handler, widget-default-notify)
12708 (widget-default-prompt-value, widget-info-link-action)
12709 (widget-url-link-action, widget-function-link-action)
12710 (widget-variable-link-action, widget-file-link-action)
12711 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12712 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12713 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12714 (widget-insert-button-action, widget-delete-button-action, visibility)
12715 (widget-documentation-link-action, widget-documentation-string-action)
12716 (widget-const-prompt-value, widget-regexp-match, symbol)
12717 (widget-coding-system-prompt-value)
12718 (widget-key-sequence-value-to-external, sexp)
12719 (widget-sexp-value-to-internal, character, vector, cons)
12720 (widget-choice-prompt-value, widget-boolean-prompt-value)
12721 (widget-color--choose-action): Mark unused parameters.
12722 (widget-item-match-inline, widget-choice-match-inline)
12723 (widget-checklist-match, widget-checklist-match-inline)
12724 (widget-group-match): Rename parameter VALUES to VALS.
12725 (widget-field-value-set): Remove unused variable `size'.
12726 (widget-color-action): Remove unused variables `value' and `start'.
12727
12728 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12729 variable `dir'. Doc fix.
06b60517
JB
12730 (windmove-find-other-window): Don't pass it.
12731
12732 * window.el (count-windows): Mark unused parameter.
12733 (bw-adjust-window): Remove unused variable `err'.
12734
12735 * woman.el (woman-file-name): Remove unused variable `default'.
12736 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12737 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12738 (global-font-lock-mode): Declare.
12739 (woman-decode-region): Mark unused parameter.
12740 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12741
12742 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12743 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12744 (x-dnd-handle-moz-url): Remove unused variable `title'.
12745 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12746
12747 * xml.el (xml-parse-tag, xml-parse-attlist):
12748 Remove unused variable `pos'.
12749
bc4f7f3d
GM
127502011-04-19 Glenn Morris <rgm@gnu.org>
12751
12752 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12753 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12754 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12755 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12756 * calendar/cal-html.el (cal-html-insert-minical):
12757 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12758 (calendar-mark-date-pattern):
12759 Prefix "unused" locals.
12760
12761 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12762 optional argument `style'.
12763
12764 * calendar/appt.el (appt-make-list):
12765 * calendar/cal-china.el (calendar-chinese-date-string):
12766 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12767 (diary-hebrew-yahrzeit):
12768 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12769 * calendar/calendar.el (calendar-generate-window):
12770 * calendar/time-date.el (time-to-days):
12771 Remove unused local variables.
12772
16a43933
CY
127732011-04-18 Chong Yidong <cyd@stupidchicken.com>
12774
12775 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12776 glyphless-char-display table.
12777 (tabulated-list-glyphless-char-display): New var.
12778
7eed1860
SS
127792011-04-18 Sam Steingold <sds@gnu.org>
12780
12781 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12782 to acknowledgments.
12783
4d2d1ccd
GM
127842011-04-17 Glenn Morris <rgm@gnu.org>
12785
12786 * calendar/diary-lib.el (diary-sexp-entry):
12787 * calendar/holidays.el (holiday-sexp):
12788 Set debug-on-error rather than the removed stack-trace-on-error.
12789
239da61d
GM
127902011-04-16 Glenn Morris <rgm@gnu.org>
12791
12792 * progmodes/f90.el: Use lexical-binding.
12793 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12794
8b05752a
SM
127952011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12796
daca8ba5
SM
12797 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12798 (mail-mode): Setup mailalias completion here instead.
12799 * mail/mailalias.el: Use lexical-binding.
12800 (pattern, mailalias-done): Declare dynamic.
12801 (mail-completion-at-point-function): New function, from mail-complete.
12802 (mail-complete): Use it.
12803 (mail-completion-expand): New function.
12804 (mail-get-names): Use it.
12805 (mail-directory, mail-directory-process, mail-directory-stream):
12806 Don't use `pattern' for lexically bound arg.
12807
6f542485
SM
12808 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12809
037e7c3f
SM
12810 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12811 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12812 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12813
8b05752a
SM
12814 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12815 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12816 (byte-interactive-p): Define them again, for use when inlining
12817 old code.
12818
49093f60
JB
128192011-04-15 Juanma Barranquero <lekktu@gmail.com>
12820
12821 * loadup.el: Use `string-to-number', not `string-to-int'.
12822
b5b8e7de
SM
128232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12826 gud-gdb-complete-command.
12827 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12828 (gud-gdb-completion-at-point): New function.
12829 (gud-gdb-completions): Remove.
12830
f42efeb5
MA
128312011-04-14 Michael Albinus <michael.albinus@gmx.de>
12832
49093f60
JB
12833 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12834 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12835 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12836 whether `executable-find' is bound.
f42efeb5
MA
12837
12838 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12839
e240cc21
SM
128402011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * minibuffer.el (completion-in-region-mode-predicate)
12843 (completion-in-region-mode--predicate): New vars.
12844 (completion-in-region, completion-in-region--postch)
12845 (completion-in-region-mode): Use them.
12846 (completion--capf-wrapper): Also return the hook function.
12847 (completion-at-point, completion-help-at-point):
12848 Adjust and provide a predicate.
c2bd2ab0
SM
12849
12850 Preserve arg names for advice of subr and lexical functions (bug#8457).
12851 * help-fns.el (help-function-arglist): Consolidate the subr and
12852 new-byte-code cases. Add argument `preserve-names' to extract names
12853 from the docstring when needed.
12854 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12855 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12856 (ad-arglist): Use help-function-arglist's new arg.
12857 (ad-definition-type): Use cond.
12858
c183f693
JB
128592011-04-13 Juanma Barranquero <lekktu@gmail.com>
12860
06641a47
JB
12861 * autorevert.el (auto-revert-handler):
12862 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12863 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12864 Don't quote lambda.
12865
c183f693
JB
12866 * image-mode.el (image-transform-set-scale):
12867 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12868
1e3b6001
G
128692011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870
12871 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12872 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12873 Upgrades via gnutls-cli are too slow to be done opportunistically.
12874
2d6af8dd
JB
128752011-04-12 Juanma Barranquero <lekktu@gmail.com>
12876
12877 * dframe.el (dframe-current-frame): Remove spurious quote.
12878
c0749a51
GM
128792011-04-12 Glenn Morris <rgm@gnu.org>
12880
088d0d61
GM
12881 * calendar/cal-tex.el (cal-tex-end-document):
12882 Try to automatically use latin1 input if needed.
12883
c0749a51
GM
12884 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12885 Don't try to cons a mark onto an empty element.
12886
5c90fde0
LL
128872011-04-11 Leo Liu <sdl.web@gmail.com>
12888
12889 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12890 buffers.
12891 (ido-kill-buffer-at-head): Support killing virtual buffers.
12892
369e974d
CY
128932011-04-10 Chong Yidong <cyd@stupidchicken.com>
12894
12895 * minibuffer.el (completion-show-inline-help): New var.
12896 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12897 (minibuffer-force-complete, minibuffer-complete-word):
12898 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12899
12900 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12901 to avoid interference from inline help (Bug#5849).
12902
37f1c930
LL
129032011-04-10 Leo Liu <sdl.web@gmail.com>
12904
099c39a4
JB
12905 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12906 Fix typo.
37f1c930 12907
a32d4040
CY
129082011-04-09 Chong Yidong <cyd@stupidchicken.com>
12909
12910 * image-mode.el (image-toggle-display-image): Signal an error if
12911 not in Image mode.
12912 (image-transform-mode, image-transform-resize)
12913 (image-transform-set-rotation): Doc fix.
daca8ba5 12914 (image-transform-set-resize): Delete.
a32d4040
CY
12915 (image-transform-set-scale, image-transform-fit-to-height)
12916 (image-transform-fit-to-width): Handle image-toggle-display-image
12917 and image-transform-resize directly.
12918
099c39a4 129192011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12920
12921 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12922 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12923 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12924 (doc-view-mode-map): Add bindings for the new functions.
12925
099c39a4 129262011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12927
4d61f28d 12928 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12929 Fix typo in docstring.
12930
3726838a
EZ
129312011-04-08 Eli Zaretskii <eliz@gnu.org>
12932
04f33f1e
EZ
12933 * files.el (file-size-human-readable): Produce one digit after
12934 decimal, like "ls -lh" does.
12935
12936 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12937 the file size representation.
12938
3726838a
EZ
12939 * simple.el (list-processes): If async subprocesses are not
12940 available, error out with a clear error message.
12941
cbb59342
CY
129422011-04-08 Chong Yidong <cyd@stupidchicken.com>
12943
12944 * help.el (help-form-show): New function, to be called from C.
12945 Put help-form output in a buffer named differently than *Help*.
12946
e3971c44
EZ
129472011-04-08 Eli Zaretskii <eliz@gnu.org>
12948
12949 * files.el (file-size-human-readable): New function.
12950
12951 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12952 computing the representation inline. Don't require `cl'.
12953
12544bbe
GM
129542011-04-08 Glenn Morris <rgm@gnu.org>
12955
a1de6c6a
GM
12956 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12957
3c4671f4
GM
12958 * net/browse-url.el (browse-url-firefox):
12959 Test system-type, not system-configuration.
12960
b605679c
GM
12961 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12962 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12963 Use log-edit-empty-buffer-p. (Bug#7598)
12964
56442f0c
GM
12965 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12966 (rlogin-mode-map): Initialize in the defvar.
12967 (rlogin): Use ignore-errors.
12968
12544bbe
GM
12969 * replace.el (occur-mode-map): Some fixes for menu items.
12970
eb237b0f
AH
129712011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12972
12973 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12974
7d668f2c
CY
129752011-04-06 Chong Yidong <cyd@stupidchicken.com>
12976
e67a13ab
CY
12977 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12978 issuing unused warnings.
12979
12980 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12981 macro directly.
12982
7d668f2c
CY
12983 * simple.el: Lisp reimplement of list-processes. Based on an
12984 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12985 (process-menu-mode): New major mode.
12986 (list-processes--refresh, list-processes):
12987 (process-menu-visit-buffer): New functions.
12988
12989 * files.el (save-buffers-kill-emacs): Don't assume any return
12990 value of list-processes, which is undocumented anyway.
12991
a83ec3c9
CY
129922011-04-06 Chong Yidong <cyd@stupidchicken.com>
12993
12994 * emacs-lisp/tabulated-list.el: New file.
12995
e91a96fe
CY
12996 * emacs-lisp/package.el: Use Tabulated List mode.
12997 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12998 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12999 table format using Tabulated List mode variables.
13000 (package--push): New macro, replacing package-list-maybe-add.
13001 (package-menu--generate): Use package--push. Renamed from
13002 package--generate-package-list.
13003 (package-menu-refresh, list-packages): Use it.
daca8ba5 13004 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13005 Return insertion data instead of inserting it directly.
099c39a4
JB
13006 (package-menu-describe-package, package-menu-execute):
13007 Use tabulated-list-get-id.
e91a96fe
CY
13008 (package-menu-mark-delete, package-menu-mark-install)
13009 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13010 (package-menu-mark-obsolete-for-deletion):
13011 Use tabulated-list-put-tag.
e91a96fe
CY
13012 (package--list-packages, package-menu-revert)
13013 (package-menu-get-package, package-menu-get-version)
13014 (package-menu-sort-by-column): Functions deleted.
13015 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13016 (package-menu--status-predicate, package-menu--version-predicate)
13017 (package-menu--name-predicate)
13018 (package-menu--description-predicate): Handle arguments in the
13019 Tabulated List format.
13020 (package-list-packages-no-fetch): Call list-packages.
13021
3e214b50
JB
130222011-04-06 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13025 (after-find-file): Don't bind it.
3e214b50
JB
13026 (revert-buffer-in-progress-p): New variable.
13027 (revert-buffer): Bind it.
13028 Pass nil for `after-find-file-from-revert-buffer'.
13029
13030 * saveplace.el (save-place-find-file-hook): Use new variable
13031 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13032
3f0f1700
GM
130332011-04-06 Glenn Morris <rgm@gnu.org>
13034
c0274801
GM
13035 * Makefile.in (AUTOGEN_VCS): New variable.
13036 (autoloads): Use $AUTOGEN_VCS.
13037
3f0f1700
GM
13038 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13039 * calendar/calendar.el (calendar-mode-map):
13040 Check for toolkit scroll bars. (Bug#8305)
13041
41ea9e48
CY
130422011-04-05 Chong Yidong <cyd@stupidchicken.com>
13043
13044 * minibuffer.el (completion-in-region--postch)
13045 (completion-in-region-mode): Remove unnecessary messages.
13046
6194c800
JB
130472011-04-05 Juanma Barranquero <lekktu@gmail.com>
13048
33256f14
JB
13049 * font-lock.el (font-lock-refresh-defaults):
13050 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13051 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13052
6194c800
JB
13053 * info.el (Info-directory-list, Info-read-node-name-2)
13054 (Info-split-parameter-string): Doc fixes.
13055 (Info-virtual-nodes): Reflow docstring.
13056 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13057 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13058 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13059 Fix typos in docstrings.
13060 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13061 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13062 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13063 (Info-restore-desktop-buffer): Mark unused parameters.
13064 (Info-directory-find-file, Info-directory-find-node)
13065 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13066 (Info-virtual-index-find-node, Info-apropos-find-file)
13067 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13068 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13069 (Info-virtual-index): Remove unused local variable `nodename'.
13070
b87a8200 130712011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13072
b87a8200
DD
13073 * net/rcirc.el: Update my e-mail address.
13074 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13075
3b2ff876
CY
130762011-04-05 Chong Yidong <cyd@stupidchicken.com>
13077
13078 * startup.el (command-line): Save the cursor's theme-face
13079 directly, instead of using face-override-spec.
13080
13081 * custom.el (load-theme): Minor optimization in assigning faces.
13082
8d17e7ca
JB
130832011-04-04 Juanma Barranquero <lekktu@gmail.com>
13084
13085 * help-fns.el (describe-variable): Complete all variables having
13086 documentation, including keywords.
13087 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13088
2fbc1934
JB
130892011-04-04 Juanma Barranquero <lekktu@gmail.com>
13090
13091 Convert to lexical-binding.
13092
13093 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13094 (bs--get-marked-string, bs--get-modified-string)
13095 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13096 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13097 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13098
13099 * ehelp.el (electric-help-execute-extended)
13100 (electric-help-ctrl-x-prefix):
13101 * hexl.el (hexl-revert-buffer-function):
13102 * linum.el (linum-after-change, linum-after-scroll):
13103 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13104
13105 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13106
74f50695
DU
131072011-04-04 Daiki Ueno <ueno@unixuser.org>
13108
13109 * epa-dired.el:
13110 * epa-mail.el:
13111 * epa-hook.el:
13112 * epa-file.el:
13113 * epa.el:
13114 * epg.el: Use lexical binding.
13115
c11325f7
CY
131162011-04-03 Chong Yidong <cyd@stupidchicken.com>
13117
0d9e9a12
CY
13118 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13119
c11325f7 13120 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13121 dictionary case for flyspell-mark-duplications-exceptions.
13122 Use regexp matching for languages.
c11325f7
CY
13123 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13124 default dictionary (Bug#7926).
13125
da91b5f2
CY
131262011-04-02 Chong Yidong <cyd@stupidchicken.com>
13127
099c39a4
JB
13128 * emacs-lisp/package.el (package--with-work-buffer):
13129 Recognize https URLs.
da91b5f2 13130
099c39a4
JB
13131 * net/network-stream.el: Move from gnus/proto-stream.el.
13132 Change prefix to network-stream throughout.
da91b5f2
CY
13133 (open-protocol-stream): Merge into open-network-stream, leaving
13134 open-protocol-stream as an alias. Handle nil BUFFER args.
13135
13136 * subr.el (open-network-stream): Move to net/network-stream.el.
13137
afa8e9f6
GM
131382011-04-02 Glenn Morris <rgm@gnu.org>
13139
1d2e369d
GM
13140 * find-dired.el (find-exec-terminator): New option.
13141 (find-ls-option): Test for -ls support.
13142 (find-ls-subdir-switches): Test for -b in find-ls-option.
13143 (find-dired, find-grep-dired): Doc fixes.
13144 (find-dired): Use find-exec-terminator.
13145
8abb7da8 13146 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13147 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13148 (find-name-arg): Remove purecopy.
8abb7da8 13149
f3ca7378
GM
13150 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13151 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13152 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13153 accordingly. Don't add the null-device if not needed.
13154
afa8e9f6
GM
13155 * files.el (save-some-buffers): Doc fix.
13156
35eae264
EZ
131572011-04-02 Eli Zaretskii <eliz@gnu.org>
13158
13159 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13160
26b51db5
JB
131612011-04-01 Juanma Barranquero <lekktu@gmail.com>
13162
13163 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13164 Use `dolist' rather than `mapcar'.
13165
7200d79c
SM
131662011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13167
03408648 13168 Add lexical binding.
7200d79c 13169
03408648
SM
13170 * subr.el (apply-partially): Use new closures rather than CL.
13171 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13172 (dolist, dotimes): Use slightly different expansion for lexical code.
13173 (functionp): Move to C.
13174 (letrec): New macro.
13175 (with-wrapper-hook): Use it and apply-partially instead of CL.
13176 (eval-after-load): Preserve lexical-binding.
13177 (save-window-excursion, with-output-to-temp-buffer): Turn them
13178 into macros.
7200d79c 13179
03408648
SM
13180 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13181
13182 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13183 than the arglist.
13184 (help-add-fundoc-usage): Don't add `Not documented'.
13185 (help-function-arglist): Handle closures, subroutines, and new
13186 byte-code-functions.
13187 (help-make-usage): Remove leading underscores.
13188 (describe-function-1): Handle closures.
13189 (describe-variable): Use special-variable-p for completion.
13190
13191 * files.el (lexical-binding): Declare safe.
f488fb65 13192
03408648
SM
13193 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13194 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13195 (pcase): Add `let' pattern.
13196 Change memoization so it actually works.
13197 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13198 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13199 <let>: New case.
f488fb65 13200
03408648
SM
13201 * emacs-lisp/macroexp.el: Use lexical binding.
13202 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13203 Don't convert ' to #' without checking that it's indeed quoting
13204 a lambda.
13205
13206 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13207 Use eval-sexp-add-defvars.
03408648
SM
13208 (eval-sexp-add-defvars): New fun.
13209
13210 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13211
13212 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13213 Don't autoload.
13214 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13215 than the internal `byte-compile-lambda'.
13216 (defmethod): Don't hide code under quotes.
13217 (eieio-defmethod): New `code' argument.
13218
13219 * emacs-lisp/eieio-comp.el: Remove.
13220
13221 * emacs-lisp/edebug.el (edebug-eval-defun)
13222 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13223 (edebug-toggle): Avoid `eval'.
13224
13225 * emacs-lisp/disass.el (disassemble-internal): Handle new
13226 `closure' objects.
13227 (disassemble-1): Handle new byte codes.
13228
13229 * emacs-lisp/cl.el (pushnew): Silence warning.
13230
13231 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13232 (cl-byte-compile-throw): Remove.
13233 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13234
13235 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13236 closures.
13237
13238 * emacs-lisp/cconv.el: New file.
13239
13240 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13241 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13242 (byte-compile-initial-macro-environment):
13243 Handle declare-function here.
13244 (byte-compile--lexical-environment): New var.
13245 (byte-stack-ref, byte-stack-set, byte-discardN)
13246 (byte-discardN-preserve-tos): New lap codes.
13247 (byte-interactive-p): Don't use any more.
13248 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13249 New macros.
13250 (byte-compile-lapcode): Use them and handle new lap codes.
13251 (byte-compile-obsolete): Remove.
13252 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13253 (byte-compile-arglist-warn): Check late def of inlinable funs.
13254 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13255 since they should have been expanded by now.
13256 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13257 (byte-compile-from-buffer): Remove unused second arg.
13258 (byte-compile-preprocess): New function.
13259 (byte-compile-toplevel-file-form): New function to distinguish
13260 file-form calls from outside from file-form calls from hunk-handlers.
13261 (byte-compile-file-form): Simplify.
13262 (byte-compile-file-form-defsubst): Remove.
13263 (byte-compile-file-form-defmumble): Simplify now that
13264 byte-compile-lambda always returns a byte-code-function.
13265 (byte-compile): Preprocess.
13266 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13267 Remove, not used any more.
13268 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13269 (byte-compile-make-args-desc): New funs.
13270 (byte-compile-lambda): Handle lexical functions. Always return
13271 a byte-code-function.
13272 (byte-compile-reserved-constants): New var, to make up room for
13273 closed-over variables.
13274 (byte-compile-constants-vector): Obey it.
13275 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13276 (byte-compile-macroexpand-declare-function): New function.
13277 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13278 byte-code-functions.
13279 (byte-compile-form): Check obsolescence here.
13280 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13281 (byte-compile-variable-ref): Remove.
13282 (byte-compile-dynamic-variable-op): New fun.
13283 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13284 (byte-compile-variable-set): New funs.
13285 (byte-compile-discard): Add 2 args.
13286 (byte-compile-stack-ref, byte-compile-stack-set)
13287 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13288 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13289 macroexpand-all instead.
13290 (byte-compile-quote-form): Remove.
13291 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13292 (byte-compile-bind, byte-compile-unbind): New funs.
13293 (byte-compile-let): Handle let* and lexical binding.
13294 (byte-compile-let*): Remove.
13295 (byte-compile-catch, byte-compile-unwind-protect)
13296 (byte-compile-track-mouse, byte-compile-condition-case):
13297 Handle a new :fun-body form, used for lexical scoping.
13298 (byte-compile-save-window-excursion)
13299 (byte-compile-with-output-to-temp-buffer): Remove.
13300 (byte-compile-defun): Simplify.
13301 (byte-compile-stack-adjustment): New fun.
13302 (byte-compile-out): Use it.
13303 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13304
13305 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13306 handler any more.
13307
13308 * emacs-lisp/byte-opt.el: Use lexical binding.
13309 (byte-inline-lapcode): Remove (to bytecomp).
13310 (byte-compile-inline-expand): Pay attention to inlining to/from
13311 lexically bound code.
13312 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13313 any more.
13314 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13315 any more and don't call compiler-macros.
13316 (byte-compile-splice-in-already-compiled-code): Remove.
13317 (byte-code): Don't inline any more.
13318 (disassemble-offset): Receive `bytes' as argument rather than via
13319 dynamic scoping.
13320 (byte-compile-tag-number): Declare before first use.
13321 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13322 `return' even if make-spliceable.
13323 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13324 obsolete interactive-p.
13325 (byte-optimize-lapcode): Optimize new lap-codes.
13326 Don't trip up on new form of `byte-constant' lap code.
13327
13328 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13329
13330 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13331
13332 * custom.el (custom-initialize-default, custom-declare-variable):
13333 Use `defvar'.
13334
13335 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13336 New variables.
13337 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13338 (COMPILE_FIRST): Add macroexp and cconv.
13339 * makefile.w32-in: Mirror changes in Makefile.in.
13340
13341 * vc/cvs-status.el:
13342 * vc/diff-mode.el:
13343 * vc/log-edit.el:
13344 * vc/log-view.el:
13345 * vc/smerge-mode.el:
13346 * textmodes/bibtex-style.el:
13347 * textmodes/css.el:
13348 * startup.el:
13349 * uniquify.el:
da91b5f2
CY
13350 * minibuffer.el:
13351 * newcomment.el:
13352 * reveal.el:
13353 * server.el:
13354 * mpc.el:
13355 * emacs-lisp/smie.el:
13356 * doc-view.el:
13357 * dired.el:
03408648
SM
13358 * abbrev.el: Use lexical binding.
13359
0f0c1f27
EZ
133602011-04-01 Eli Zaretskii <eliz@gnu.org>
13361
13362 * info.el (info-display-manual): New function.
13363
c82b2579
SM
133642011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13367
221ddf68
TH
133682011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13369
13370 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13371 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13372
cba6e77e
GM
133732011-03-31 Glenn Morris <rgm@gnu.org>
13374
e040639f
GM
13375 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13376
cba6e77e
GM
13377 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13378
6d0f1c9e
CS
133792011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13380
13381 * progmodes/python.el (python-default-interpreter)
13382 (python-python-command-args, python-jython-command-args)
13383 (python-which-shell, python-which-args, python-which-bufname)
13384 (python-file-queue, python-comint-output-filter-function)
13385 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13386 variables and functions.
13387
3e2d70fd
SM
133882011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13389
13390 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13391 (completion-in-region-mode): New minor mode.
13392 (completion-in-region): Use it.
13393 (completion-in-region--data, completion-in-region-mode-map): New vars.
13394 (completion-in-region--postch): New function.
13395 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13396 New vars.
13397 (completion--capf-wrapper): New function.
13398 (completion-at-point): Use it to track well-behavedness of
13399 hook functions.
13400 (completion-help-at-point): New command.
13401
f3e4086c
JM
134022011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13403
13404 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13405 syntax class to search for whitespace on a single line
13406 (Message-ID: <4D938140.4030905@redhat.com>).
13407
eb7ffc14
LL
134082011-03-30 Leo Liu <sdl.web@gmail.com>
13409
13410 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13411 New commands.
13412 (edit-abbrevs-map): Bind them here.
13413 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13414
d806ab68
KM
134152011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13416
13417 * allout.el (allout-hide-by-annotation, allout-flag-region):
13418 Reduce possibility of overlay leakage by making them volatile.
13419
13420 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13421 hash is not shared between buffers. Mode initialization is
13422 responsible for giving it a useful starting value.
13423 (allout-item-span): Reduce possibility of overlay leakage by
13424 making them volatile.
13425 (allout-widgets-count-buttons-in-region): Add diagnostic function
13426 for tracking down button overlay leaks.
13427
ea622834
LL
134282011-03-29 Leo Liu <sdl.web@gmail.com>
13429
13430 * ido.el (ido-read-internal): Use the default history var
13431 minibuffer-history if no HISTORY is specified.
13432
b62f8267
G
134332011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13434
03408648
SM
13435 * net/imap.el (imap-shell-open, imap-process-connection-type):
13436 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13437 Kerberos, SSL, other subprocesses.
13438
947b6566
LL
134392011-03-28 Leo Liu <sdl.web@gmail.com>
13440
13441 * abbrev.el (abbrev-table-empty-p): New function.
13442 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13443 nonempty ones. (Bug#5937)
13444
5ffb62aa
JD
134452011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13446
13447 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13448
7a097943
LL
134492011-03-27 Leo Liu <sdl.web@gmail.com>
13450
13451 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13452 for foreground and background colors.
13453 (ansi-color-make-color-map): Adapt.
13454
c5b40130
LL
134552011-03-25 Leo Liu <sdl.web@gmail.com>
13456
1f48f7d2
LL
13457 * midnight.el (midnight-time-float): Remove. Note it calculates
13458 the microsecond component incorrectly and seconds-to-time does the
13459 same job.
625897ec 13460 Remove redundant (require 'timer).
1f48f7d2 13461
c5b40130
LL
13462 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13463 (ido-completions): Remove unused arguments. (Bug#8329)
13464
d86d2721
SM
134652011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 * minibuffer.el (completion--flush-all-sorted-completions):
13468 Remove itself from hook.
13469 (completion-at-point): Let the functions perform the completion
13470 immediately and return nil or t.
13471 * comint.el (comint-dynamic-complete-functions): Now identical to
13472 completion-at-point-functions.
13473 (comint-dynamic-list-input-ring): Remove unused var `index'.
13474 (comint--match-partial-filename, comint--unquote&expand-filename):
13475 New funs, split from comint-match-partial-filename.
13476 (comint-dynamic-complete): Use completion-at-point.
13477 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13478
e8974c48
DA
134792011-03-24 Drew Adams <drew.adams@oracle.com>
13480
13481 * thingatpt.el: Support `defun'.
13482
def71b5e
LL
134832011-03-23 Leo Liu <sdl.web@gmail.com>
13484
cb5af48e
LL
13485 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13486
def71b5e
LL
13487 * help-mode.el (help-mode-finish): Tweak regexp.
13488
927c53e7
GM
134892011-03-23 Glenn Morris <rgm@gnu.org>
13490
18d05bed
GM
13491 * eshell/esh-opt.el (eshell-eval-using-options):
13492 Do not bind unused local variable `eshell-option-stub'.
13493
927c53e7
GM
13494 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13495
9d0da923
JB
134962011-03-22 Juanma Barranquero <lekktu@gmail.com>
13497
13498 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13499 keymap variable in `with-no-warnings' to avoid a warning when the
13500 keymap has been already `defconst'ed.
13501
4b978a67
LL
135022011-03-22 Leo Liu <sdl.web@gmail.com>
13503
13504 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13505 encode all chars in abbrevs; otherwise use emacs-mule or
13506 utf-8-emacs. (Bug#8308)
13507
5fd62452
JB
135082011-03-22 Juanma Barranquero <lekktu@gmail.com>
13509
0b1596c6
JB
13510 * simple.el (backward-delete-char-untabify):
13511 Avoid warning about using `delete-backward-char'.
13512
5fd62452
JB
13513 * image.el (image-type-file-name-regexps): Make it variable.
13514 `imagemagick-register-types' modifies it, and the user may want
13515 to add new extensions for known image types.
13516 (imagemagick-register-types): Throw error if not using ImageMagick.
13517
0b4e93f1
LL
135182011-03-22 Leo Liu <sdl.web@gmail.com>
13519
13520 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13521 located before rcirc-prompt-end-marker.
13522 (rcirc-complete): Error if point is not after rcirc prompt.
13523 Handle the case when table is nil.
9882e214 13524 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13525
fccee4ab
CY
135262011-03-22 Chong Yidong <cyd@stupidchicken.com>
13527
13528 * custom.el (custom--inhibit-theme-enable): Make it affect only
13529 custom-theme-set-variables and custom-theme-set-faces.
13530 (provide-theme): Ignore custom--inhibit-theme-enable.
13531 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13532 (custom-enabling-themes): Delete variable.
d86d2721
SM
13533 (enable-theme): Accept only loaded themes as arguments.
13534 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13535 (custom-enabled-themes): Forbid themes from setting this.
13536 Eliminate use of custom-enabling-themes.
13537 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13538
af896da6
LL
135392011-03-21 Leo Liu <sdl.web@gmail.com>
13540
13541 * ido.el (ido-read-internal): Add ido-selected to history instead
13542 of user input.
13543
78f64af0
SM
135442011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * subr.el (deferred-action-list, deferred-action-function):
13547 Mark obsolete.
13548
b16ac1ec
LL
135492011-03-21 Leo Liu <sdl.web@gmail.com>
13550
810f7698
LL
13551 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13552 change on 2011-02-13 (bug#8309).
13553
b16ac1ec
LL
13554 * minibuffer.el (read-file-name-function): Change default value.
13555 (read-file-name--defaults): Rename from read-file-name-defaults.
13556 (read-file-name-default): Rename from read-file-name.
13557 (read-file-name): Call read-file-name-function.
13558
4e05e67e
GM
135592011-03-21 Glenn Morris <rgm@gnu.org>
13560
13561 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13562 Doc fixes.
13563
4359915b
CY
135642011-03-21 Chong Yidong <cyd@stupidchicken.com>
13565
13566 * cus-theme.el: Add missing provide statement.
13567 (customize-create-theme): Extract theme value correctly.
13568 (custom-theme-visit-theme): Autoload.
13569 (customize-create-theme): Prompt before inserting default faces.
13570
1fe275ee
JB
135712011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13572
13573 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13574 units and musical notes.
13575
cd394be1 135762011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13577
13578 * ido.el (ido-read-internal): Use completing-read-default.
13579 (ido-completing-read): Fix compatibility with completing-read.
13580
7d476bde
CO
135812011-03-20 Christian Ohler <ohler@gnu.org>
13582
13583 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13584 (ert-delete-all-tests): Use `called-interactively-p' rather than
13585 `interactive-p'.
13586 (ert--make-xrefs-region): Respect END.
13587
fe0fb33e
CY
135882011-03-19 Chong Yidong <cyd@stupidchicken.com>
13589
ff854b0b
CY
13590 * dired-aux.el (dired-create-directory): Signal an error if the
13591 directory already exists (Bug#8246).
13592
fe0fb33e
CY
13593 * facemenu.el (list-colors-display): Call list-faces-display
13594 inside with-help-window.
13595 (list-colors-print): Use display property to align the final
13596 column, instead of checking window-width.
13597
576bce32
EZ
135982011-03-19 Eli Zaretskii <eliz@gnu.org>
13599
4d61f28d 13600 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13601 windows-nt systems.
13602 (emerge-protect-metachars): Quote correctly for ms-dos and
13603 windows-nt systems.
13604
89c41d68 136052011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13606
13607 * info.el (info-initialize): Replace all uses of `:' with
13608 path-separator for compatibility with non-Unix systems.
13609 Cache quoting of path-separator. (Bug#8258)
13610
b14e3e21 136112011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13612
13613 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13614 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13615 (mouse-avoidance-mode): Fix typos in docstrings.
13616
4525ce3e
CY
136172011-03-19 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * startup.el (package-subdirectory-regexp): Move from package.el.
13620 Omit \\` and \\', and let callers add them.
13621
13622 * emacs-lisp/package.el (package-strip-version)
13623 (package-load-all-descriptors): Add \\` and \\' to
13624 package-subdirectory-regexp before using it.
13625 (package-untar-buffer): New arg DIR; ensure that file untars only
13626 into this expected directory. Remove superfluous delete-region.
13627 (package-unpack): Caller changed.
13628 (package-tar-file-info): Use package-subdirectory-regexp.
13629
a904a09a 136302011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13631
a904a09a
SM
13632 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13633 diff-mode-shared-map (bug#8284).
13634 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13635
136362011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13637
13638 * calendar/time-date.el (format-seconds): Use assoc instead of
13639 assoc-string, since assoc-string doesn't exist in XEmacs.
13640
171fc304
JB
136412011-03-17 Juanma Barranquero <lekktu@gmail.com>
13642
13643 * custom.el (custom-known-themes): Reflow docstring.
13644 (custom-theme-load-path): Fix typo in docstring.
13645 (load-theme): Fix typo in error message.
13646 (custom-available-themes, custom-variable-theme-value):
13647 Use `let', not `let*'.
13648
d71990a1
JB
136492011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13650
13651 * calc/README: Mention inclusion of musical notes.
13652
13653 * calc/calc-units.el (calc-lu-quant): Rename from
13654 `calc-logunits-quantity'.
13655 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13656 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13657 (calc-db): Rename from `calc-dblevel'.
13658 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13659 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13660 (calc-np): Rename from `calc-nplevel'.
13661 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13662 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13663 (calc-lu-plus): Rename from `calc-logunits-add'.
13664 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13665 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13666 (calc-lu-minus): Rename from `calc-logunits-sub'.
13667 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13668 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13669 (calc-lu-times): Rename from `calc-logunits-mul'.
13670 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13671 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13672 (calc-lu-divide): Rename from `calc-logunits-div'.
13673 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13674 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13675
13676 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13677 functions being autoloaded.
13678
13679 * calc/calc.el (calc-lu-power-reference): Rename from
13680 `calc-logunits-power-reference'.
13681 (calc-lu-field-reference): Rename from
13682 `calc-logunits-field-reference'.
13683
7a71b18d
GM
13684 * calc/calc-help.el (calc-l-prefix-help):
13685 Mention musical note functions.
d71990a1 13686
40c2934b
SM
136872011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * minibuffer.el (completion-all-sorted-completions):
13690 Use :completion-cycle-penalty text property if present.
13691
b0911414
KM
136922011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13693
13694 * allout.el (allout-yank-processing): Adjust for new rebulleting
13695 regime so bullet being yanked is used without prompting the user
13696 for a choice.
13697
8a05b668
JB
136982011-03-16 Juanma Barranquero <lekktu@gmail.com>
13699
13700 * startup.el (command-line): Warn the user that _emacs is deprecated.
13701
5ba5fb81
JB
137022011-03-16 Juanma Barranquero <lekktu@gmail.com>
13703
13704 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13705 (delphi-verbose, delphi-comment-face, delphi-string-face)
13706 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13707 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13708 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13709 (delphi-new-comment-line, delphi-font-lock-defaults)
13710 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13711 Fix typos in docstrings.
13712
2dab465b
KM
137132011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13714
5ba5fb81 13715 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13716 Invert the roles of character and string values for INSTEAD, so a
13717 string is used for the more common case of a defaulting prompt.
13718
0adf5618
SM
137192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * progmodes/ruby-mode.el (ruby-backward-sexp):
13722 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13723 * play/gamegrid.el (gamegrid-make-face):
13724 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13725 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13726 * notifications.el (notifications-notify):
13727 * net/xesam.el (xesam-search-engines):
13728 * net/quickurl.el (quickurl-list-insert):
13729 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13730
d72700e5
CY
137312011-03-15 Chong Yidong <cyd@stupidchicken.com>
13732
13733 * startup.el (command-line): Update package subdirectory regexp.
13734
49c5410a
SM
137352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13736
c6eee9aa
SM
13737 * allout.el (allout-abbreviate-flattened-numbering)
13738 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13739
49c5410a
SM
13740 * subr.el (read-char-choice): Only show the cursor after the prompt,
13741 not after the answer.
13742
047b2bb9
KR
137432011-03-15 Kevin Ryde <user42@zip.com.au>
13744
13745 * help-fns.el (variable-at-point): Skip leading quotes, if any
13746 (bug#8253).
13747
0a57d256
SM
137482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13749
13750 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13751 warning message.
13752
77c992bc
MA
137532011-03-14 Michael Albinus <michael.albinus@gmx.de>
13754
13755 * shell.el (shell): When called interactively, offer to change the
13756 shell file name on remote hosts.
13757
eebc475d
TZ
137582011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13759
13760 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13761 integration for LDAP parameters. The host, base, user or binddn,
13762 and secret tokens can be specified in a netrc file, for instance.
13763 This is optional because an `auth-source' parameter must be
13764 specified in the search attributes.
13765
9d05d1ba
JB
137662011-03-13 Juanma Barranquero <lekktu@gmail.com>
13767
13768 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13769
09d9db2c
GM
137702011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13773 into declaration. Remove redundant and harmful binding.
13774
137752011-03-12 Eli Zaretskii <eliz@gnu.org>
13776
13777 * files.el (file-ownership-preserved-p): Pass `integer' as an
13778 explicit 2nd argument to `file-attributes'. If the file's owner
13779 is the Administrators group on Windows, and the current user is
13780 Administrator, consider that a match.
13781
13782 * server.el (server-ensure-safe-dir): Consider server directory
13783 safe on MS-Windows if its owner is the Administrators group while
13784 the current Emacs user is Administrator. Use `=' to compare
13785 numerical UIDs, since they could be integers or floats.
13786
219bd536
JB
137872011-03-12 Juanma Barranquero <lekktu@gmail.com>
13788
13789 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13790
f3afd36b
MA
137912011-03-12 Michael Albinus <michael.albinus@gmx.de>
13792
13793 Sync with Tramp 2.2.1.
13794
13795 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13796
13797 * net/trampver.el: Update release number.
13798
3aaaa6f1
SM
137992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13800
94642599
SM
13801 * progmodes/compile.el (compilation--previous-directory): Fix up
13802 various nil/dead-marker mismatches (bug#8014).
13803 (compilation-directory-properties, compilation-error-properties):
13804 Don't call it at a position past the one we're about to change.
13805
3aaaa6f1
SM
13806 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13807 Disable obsolescence warnings in the file that declares it.
13808
14239447
KM
138092011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13810
099c39a4
JB
13811 * allout-widgets.el (allout-widgets-tally):
13812 Initialize allout-widgets-tally as a hash table rather than nil to
13813 prevent mode-line redisplay warnings. Also, clarify the module
13814 description and fix a comment typo.
14239447 13815
135e287c
JB
138162011-03-11 Juanma Barranquero <lekktu@gmail.com>
13817
13818 * help-fns.el (describe-variable): Don't complete keywords.
13819 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13820
ffbf300e
CY
138212011-03-10 Chong Yidong <cyd@stupidchicken.com>
13822
ba08b241
CY
13823 * emacs-lisp/package.el (package-version-join): Impose a standard
13824 string representation for pre/alpha/beta version lists.
13825 (package-unpack-single): Standardize the directory name by passing
13826 it through package-version-join.
13827 (package-strip-rcs-id): Accept any version string that does not
13828 signal an error in version-to-list.
ffbf300e 13829
f346fd6b
MA
138302011-03-10 Michael Albinus <michael.albinus@gmx.de>
13831
13832 * simple.el (delete-trailing-whitespace): Return nil for the
13833 benefit of `write-file-functions'.
13834
ccb55d27
GM
138352011-03-10 Glenn Morris <rgm@gnu.org>
13836
5ceaac0c
GM
13837 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13838
02da65ff
GM
13839 * vc/vc-git.el (vc-git-program): New option.
13840 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13841 (vc-git--call): Use it.
13842
b2f603cc
GM
13843 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13844
5772caab
GM
13845 * cus-edit.el (Custom-newline): If no button at point, look
13846 for a subgroup button at start-of-line. (Bug#2298)
13847
ccb55d27
GM
13848 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13849
ec6ecaed
JD
138502011-03-10 Julien Danjou <julien@danjou.info>
13851
13852 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13853 `cursor-type' is nil.
13854
9d5aa01d
JB
138552011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13856
13857 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13858
b6a5875b
KM
138592011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13860
7a71b18d 13861 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13862 preserves the existing header prefix, rebulleting it if necessary,
13863 rather than replacing it. This is necessary for proper operation
13864 of cooperative addons like allout-widgets.
1154d12e
JB
13865 (allout-make-topic-prefix, allout-rebullet-heading):
13866 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13867 value as alternate bullet to be used, instead of prompting the user
13868 for a bullet character.
b6a5875b 13869
ee545c35
MA
138702011-03-09 Michael Albinus <michael.albinus@gmx.de>
13871
d86d2721
SM
13872 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13873 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13874 `tramp-default-port'.
13875
c47971d7
DD
138762011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13877
13878 * net/rcirc.el (rcirc-handler-001): Remove useless
13879 with-rcirc-process-buffer.
13880 (rcirc-check-auth-status): Swap arguments to string-match.
13881
13522cb4
GM
138822011-03-09 Glenn Morris <rgm@gnu.org>
13883
0be6f4f1
GM
13884 * shell.el (shell-mode):
13885 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13886
13522cb4
GM
13887 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13888 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13889
515de2e3
CY
138902011-03-08 Chong Yidong <cyd@stupidchicken.com>
13891
13892 * emacs-lisp/package.el (package-refresh-contents)
13893 (package-menu-execute): Use condition-case-no-debug.
13894
b511b994
MA
138952011-03-08 Michael Albinus <michael.albinus@gmx.de>
13896
13897 * simple.el (shell-command-to-string): Use `process-file'.
13898
13899 * emacs-lisp/package.el (package-tar-file-info): Handle also
13900 remote files.
13901
d86d2721
SM
13902 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13903 Use `equal' for upload base check.
b511b994 13904
25bbfb31
AM
139052011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13906
13907 * textmodes/texinfo.el (texinfo-environments):
13908 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13909
be996521
GM
139102011-03-08 Glenn Morris <rgm@gnu.org>
13911
e9c8529f
GM
13912 * cus-start.el (cursor-in-non-selected-windows):
13913 Fix :set quoting oddness. (Bug#8192)
13914
be996521
GM
13915 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13916 in some setf expressions. (Bug#2159)
13917
2bb5649e
CY
139182011-03-08 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * custom.el (custom-available-themes): Return themes in
13921 alphabetical order.
13922
33383987 13923See ChangeLog.15 for earlier changes.
e3d51b27
MR
13924
13925;; Local Variables:
13926;; coding: utf-8
e3d51b27
MR
13927;; End:
13928
acaf905b 13929 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13930
13931 This file is part of GNU Emacs.
13932
13933 GNU Emacs is free software: you can redistribute it and/or modify
13934 it under the terms of the GNU General Public License as published by
13935 the Free Software Foundation, either version 3 of the License, or
13936 (at your option) any later version.
13937
13938 GNU Emacs is distributed in the hope that it will be useful,
13939 but WITHOUT ANY WARRANTY; without even the implied warranty of
13940 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13941 GNU General Public License for more details.
13942
13943 You should have received a copy of the GNU General Public License
13944 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.