* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5814f126
SM
12012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4 Simplify Maven regexp, and make sure the file can't start with a space
5 (bug#11517).
6
b847032c
GM
72012-05-21 Glenn Morris <rgm@gnu.org>
8
9 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10 Scrap superfluous subshells.
11
3858bfe7
SM
122012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
15 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
16
d14b0029
JB
172012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
18
19 * calc/calc.el (calc-ensure-consistent-units): New variable.
20
21 * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
22 New functions.
23 (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
24 `calc-ensure-consistent-units' is non-nil.
25 (calc-extract-units): Fix typo.
26
60c4db3a
SM
272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
28
77f3b62e
SM
29 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
30
60c4db3a
SM
31 * textmodes/flyspell.el: Commenting style, plus code simplifications.
32 (flyspell-default-deplacement-commands): Don't spell check after
33 repeated window/frame switches (e.g. triggered by mouse-movement).
34 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
35 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
36 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
37 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
38 Remove unused vars.
39 (flyspell-get-casechars, flyspell-get-not-casechars):
40 Simplify; Don't bother removing a ] just to add it back.
41 * textmodes/ispell.el (ispell-program-name): Use executable-find.
42
b1a10716
RS
432012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
44
45 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
46 New functions.
47 (math-function-table): Add support for more C functions.
48
3f1b25b5
AM
492012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
50
51 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
52 (flyspell-debug-signal-word-checked): Protect delay handling for
53 otherchars against empty otherchars.
54
b581bb5c
SM
552012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
58 their respective macro declarations.
59 * skeleton.el (define-skeleton):
60 * progmodes/compile.el (define-compilation-mode):
61 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
62 (define-ibuffer-filter):
63 * emacs-lisp/generic.el (define-generic-mode):
64 * emacs-lisp/easy-mmode.el (define-minor-mode)
65 (define-globalized-minor-mode):
66 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
67 * emacs-lisp/byte-run.el (defsubst):
68 * custom.el (deftheme): Add doc-string metadata.
69
70b8ef8f
SM
702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
73
b1198e17
SM
742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
75
9abdc45d
SM
76 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
77
b1198e17
SM
78 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
79 * emacs-lisp/cl-macs.el: Idem.
80 * emacs-lisp/cl-specs.el: Remove.
81
4735906a
SM
822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 Minor renaming of internal CL functions and variables.
85 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
86 (cl--position): Rename from cl-position.
87 (cl--delete-duplicates): Rename from cl-delete-duplicates.
88 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
89 (cl--random-state): Rename from *random-state*.
90
ac348012
SM
912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
94 parens around the arg list (bug#11499).
95
a0a79cde
JL
962012-05-17 Juri Linkov <juri@jurta.org>
97
98 * isearch.el (word-search-regexp, word-search-backward)
99 (word-search-forward, word-search-backward-lax)
100 (word-search-forward-lax): Move functions from search.c
101 (bug#10145, bug#11381).
102
65034a51
AM
1032012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
104
105 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
106 (flyspell-debug-signal-word-checked): Delay for otherchars as for
107 normal word components.
108
1a72a195
SM
1092012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * minibuffer.el (completion--sifn-requote): Fix last change.
112 (minibuffer-local-must-match-filename-map):
113 Move define-obsolete-variable-alias before its var.
114
fdb058c2
SM
1152012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
116
c41045e6
SM
117 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
118
036dfb8b
SM
119 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
120 behavior.
121 (completion--string-equal-p): New function.
122 (completion--twq-all): Use it to get better assertion failure data.
123
2473256d
SM
124 Only handle ".." and '..' quoting in shell-mode (bug#11466).
125 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
126 (shell--requote-argument): New functions.
127 (shell-completion-vars): Use them.
128 (shell--parse-pcomplete-arguments): Rename from
129 shell-parse-pcomplete-arguments.
130 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
131 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
132 Obey comint-file-name-quote-list.
133
fdb058c2
SM
134 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
135 (smie-indent-keyword): Use it.
136
51fa99f1
SM
1372012-05-14 Stefan Merten <smerten@oekonux.de>
138
139 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
140
e18afed7 1412012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
142
143 * net/rlogin.el (rlogin-mode-map): Fix last change.
144
e18afed7 1452012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
146
147 * mail/smtpmail.el (smtpmail-send-command): Send the command and
148 the following \r\n using a single `process-send-string', since the
149 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 150 with two `process-send-string's (Bug#11444).
8633b1f4 151
e18afed7 1522012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 153
fdb058c2
SM
154 * shell.el (shell-parse-pcomplete-arguments):
155 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 156
2d21d7f6
WJ
1572012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
158
e18afed7 159 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
160 (image-transform-scale, image-transform-right-angle-fudge): New vars.
161 (image-transform-width, image-transform-fit-width): New functions.
162 (image-transform-properties): Use them.
163 (image-transform-check-size): New function.
164 (image-toggle-display-image): Use it (for testing).
165 (image-transform-set-rotation): Reduce angle mod 360.
166 Delete obsolete comment.
167
7102e6d0
WJ
1682012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
169
170 * image-mode.el: Fix scaling (bug#11399).
171 (image-transform-resize): Doc fix.
172 (image-transform-properties): Default scale is 1 and height should
173 be an integer.
174
06bc5e6e
SM
1752012-05-13 Johan Bockgård <bojohan@gnu.org>
176
177 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
178 than hard-coding `car', to fix misbehavior when moving forward.
179
0ae03b6a
CY
1802012-05-13 Chong Yidong <cyd@gnu.org>
181
182 * emacs-lisp/tabulated-list.el (tabulated-list-format)
183 (tabulated-list-entries, tabulated-list-padding)
184 (tabulated-list-sort-key): Make permanent-local.
185
186 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
187 (electric-buffer-list): Put electric buffer menu
188 command descriptions in this docstring, instead of the docstring
189 of electric-buffer-menu-mode. Code cleanups.
190 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
191 Electric-buffer-menu-mode.
192 (electric-buffer-update-highlight): Minor code cleanup.
193
205a7391
MA
1942012-05-13 Michael Albinus <michael.albinus@gmx.de>
195
196 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
197 (Bug#11447)
198
e5bd0a28
SM
1992012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 Move define-obsolete-variable-alias before the var's definition.
202 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
203 * tooltip.el (tooltip-hook):
204 * textmodes/reftex-toc.el (reftex-toc-map):
205 * textmodes/reftex-sel.el (reftex-select-label-map)
206 (reftex-select-bib-map):
207 * textmodes/reftex-index.el (reftex-index-map)
208 (reftex-index-phrases-map):
209 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
210 * progmodes/meta-mode.el (meta-mode-map):
211 * novice.el (disabled-command-hook):
212 * loadhist.el (unload-hook-features-list):
213 * frame.el (blink-cursor):
214 * files.el (find-file-not-found-hooks, write-file-hooks)
215 (write-contents-hooks):
216 * emulation/tpu-edt.el (GOLD-map):
217 * emacs-lock.el (emacs-lock-from-exiting):
218 * emacs-lisp/generic.el (generic-font-lock-defaults):
219 * emacs-lisp/chart.el (chart-map):
220 * dos-fns.el (register-name-alist):
221 * dired-x.el (dired-omit-files-p):
222 * desktop.el (desktop-enable):
223 * cus-edit.el (custom-mode-hook):
224 * buff-menu.el (buffer-menu-mode-hook):
225 * bookmark.el (bookmark-read-annotation-text-func)
226 (bookmark-exit-hooks):
227 * allout.el (allout-mode-deactivate-hook)
228 (allout-exposure-change-hook, allout-structure-added-hook)
229 (allout-structure-deleted-hook, allout-structure-shifted-hook):
230 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
231 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
232 comes before the corresponding variable's definition.
233
ac59c2f6
CY
2342012-05-12 Chong Yidong <cyd@gnu.org>
235
236 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
237 (Buffer-menu-mouse-select): Restore function (Bug#11459).
238 (Buffer-menu-mode-map): Bind it.
239 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 240
dee6c9a3
SM
2412012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
242
2171cea5
SM
243 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
244 (prolog-upper-case-string, prolog-lower-case-string)
245 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
246 (prolog-use-smie, prolog-smie-grammar): New vars.
247 (prolog-smie-forward-token, prolog-smie-backward-token)
248 (prolog-smie-rules): New funs.
249 (prolog-comment-indent): Remove.
250 (prolog-mode-variables): Use default comment indentation instead.
251 Setup SMIE.
252 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
253 (prolog-mode): Don't call them any more.
254 (prolog-electric-colon, prolog-electric-dash)
255 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
256
aa0382bd
SM
257 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
258
dbacb4bd
SM
259 * minibuffer.el (completion--twq-all): Again, allow case differences.
260
13bdd94c
SM
261 * term.el: Move keymap initialization code to be more idiomatic.
262 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
263 (term-terminal-menu): Move initialization into declaration.
264 (term-escape-char): Let the user set it in her .emacs.
265
ff46c759
SM
266 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
267 Provide SMIE-based indentation (not enabled by default yet).
268 (sh-mode-map): Don't bind electric keys.
269 Use electric-pair-mode instead of skeleton-pair.
270 (sh-assignment-regexp): Fit within 80 columns.
271 (sh-indent-supported): Specify actual shell name instead of boolean.
272 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
273 (sh-maybe-here-document): Use it. Make obsolete.
274 (sh-electric-here-document-mode) New minor mode.
275 (sh-mode): Use it. Don't set sh-indent-supported-here here.
276 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
277 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
278 (sh-smie-rc-grammar, sh-use-smie): New vars.
279 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
280 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
281 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
282 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
283 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
284 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
285 (sh-set-shell): Use smie-setup if requested.
286
dee6c9a3
SM
287 * term.el (term-set-escape-char): Properly set term-escape-char.
288 See http://stackoverflow.com/questions/10524656.
289
9f9aa044
CY
2902012-05-10 Chong Yidong <cyd@gnu.org>
291
292 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
293 Use url-generic-parse-url, and handle host names and Windows
294 filenames properly.
295 (ffap-url-unwrap-remote): Use url-generic-parse-url.
296 (ffap-url-unwrap-remote): Accept list values, specifying a list of
297 URL schemes to work on.
298 (ffap--toggle-read-only): New function.
299 (ffap-read-only, ffap-read-only-other-window)
300 (ffap-read-only-other-frame): Use it.
301 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
302 necessary for ffap-url-unwrap-remote.
303
836d29b3
DA
3042012-05-10 Dave Abrahams <dave@boostpro.com>
305
306 * cus-start.el (create-lockfiles): Add it.
307
00fd78ed
CY
3082012-05-09 Chong Yidong <cyd@gnu.org>
309
310 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
311 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
312
666b903b 3132012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
314
315 * shell.el (shell-completion-vars): Fix last change (bug#11348).
316
666b903b 3172012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
318
319 * ansi-color.el (ansi-color-process-output): Check for validity of
320 comint-last-output-start before using it. This avoids a bad
321 interaction with gdb-mi's input/output buffer.
322
666b903b 3232012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
324
325 * files.el (dir-locals-read-from-file):
326 Mention dir-locals in any error message.
327
666b903b 3282012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
329
330 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
331 package (Bug#11410).
332
f677562b
CY
333 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
334 variables into description.
335
666b903b 3362012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
337
338 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
339 shell-delimiter-argument-list (bug#11348).
340 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
341
b499d8d0
JB
3422012-05-09 Juanma Barranquero <lekktu@gmail.com>
343
8f6b6da8
JB
344 * textmodes/rst.el: Silence byte-compiler warnings.
345 (rst-re-alist, rst-reset-section-caches): Move around.
346 (rst-re): Use `characterp', not `char-valid-p'.
347 (font-lock-beg, font-lock-end): Declare.
348
4824146a
JB
349 * progmodes/idlw-shell.el (specs): Remove reference to deleted
350 variable `idlwave-shell-activate-alt-keybindings' and simplify.
351
b499d8d0
JB
352 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
353
ad89bb83
GM
3542012-05-08 Glenn Morris <rgm@gnu.org>
355
356 * files.el (auto-mode-alist): Treat ".make" like ".mk".
357
8bba5a75
SM
3582012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
359
49ed9c8e
SM
360 * vc/log-edit.el: Add GNU coding standards highlighting.
361 (log-edit-font-lock-gnu-style)
362 (log-edit-font-lock-gnu-keywords): New vars.
363 (log-edit-font-lock-keywords): New fun.
364 (log-edit-mode): Don't fold case in font-lock.
365 (log-edit-font-lock-keywords): Do not assume case-folding.
366
07d00b56
SM
367 * imenu.el: Misc cleanup. Make docstrings out of comments.
368 Use lexical-binding.
369 (imenu--index-alist, imenu--last-menubar-index-alist)
370 (imenu-menubar-modified-tick): Use defvar-local.
371 (imenu--split-menu): Remove unused var.
372 (imenu--cleanup-seen): Declare as global.
373 (imenu--cleanup): Use dolist.
374
8bba5a75
SM
375 * subr.el (defvar-local): Add debug spec and doc-string position.
376
5075bdb5
GM
3772012-05-08 Glenn Morris <rgm@gnu.org>
378
c052c904
GM
379 * lisp/language/burmese.el, language/cham.el, language/czech.el:
380 * language/english.el, language/georgian.el, language/greek.el:
381 * language/japanese.el, language/khmer.el, language/korean.el:
382 * language/lao.el, language/misc-lang.el, language/romanian.el:
383 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
384 * language/thai.el, language/utf-8-lang.el:
385 Remove no-byte-compile setting.
386
5075bdb5
GM
387 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
388
06f679a7
AH
3892012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
390
391 * progmodes/make-mode.el (makefile-browse):
392 Remove unnecessary interactive. (Bug#11324)
393
03794570
GM
3942012-05-07 Glenn Morris <rgm@gnu.org>
395
af8630f4
GM
396 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
397
03794570
GM
398 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
399
f0809a9d
SM
4002012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
401
28be5ce7
SM
402 * loadup.el: Preload newcomment.el.
403 * newcomment.el: Move autoload-only code to toplevel.
404
f0809a9d
SM
405 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
406 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
407 Handle new :right-align column property.
408 (tabulated-list-print-col): Idem, plus use `display' text-property to
409 try and preserve alignment for variable pitch fonts.
410
1241b724
CY
4112012-05-07 Chong Yidong <cyd@gnu.org>
412
413 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
414 (tabulated-list-use-header-line): New var.
415 (tabulated-list-init-header): Use it.
416 (tabulated-list-print-fake-header): New function.
417 (tabulated-list-print): Use it.
418 (tabulated-list-sort-button-map): Add non-header-line commands.
419 (tabulated-list-init-header): Add column name property to basic
420 labels as well.
421 (tabulated-list-col-sort): Handle non-header-line button case.
422 (tabulated-list--sort-by-column-name): Fix a corner case.
423
f0809a9d
SM
424 * buff-menu.el (list-buffers--refresh):
425 Handle Buffer-menu-use-header-line.
1241b724 426
e5f9458f
CY
4272012-05-06 Chong Yidong <cyd@gnu.org>
428
429 * buff-menu.el: Convert to Tabulated List mode.
430 (Buffer-menu-buffer+size-width): Make obsolete.
431 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
432 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
433 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
434 documentation into docstring of buffer-menu.
435 (Buffer-menu-toggle-files-only): Add an informative message.
436 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
437 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
438 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
439 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
440 (Buffer-menu-execute, Buffer-menu-select)
441 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
442 (Buffer-menu-bury): Use Tabulated List machinery.
443 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
444 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 445 Delete.
e5f9458f
CY
446 (list-buffers--refresh): New function.
447 (list-buffers-noselect): Use it.
448 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
449 (Buffer-menu--pretty-file-name): New helper functions.
450
451 * loadup.el: Preload tabulated-list.
452
453 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
454 tabulated-list-sort-column.
455 (tabulated-list-init-header): Add the initial aligning space even
456 if tabulated-list-padding is zero.
457
e129292c
CS
4582012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
459
460 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
461 whose cdr is not a cons cell correctly (bug#11038).
462
6632d361
CY
4632012-05-06 Chong Yidong <cyd@gnu.org>
464
e129292c
CS
465 * emacs-lisp/tabulated-list.el (tabulated-list-format):
466 Accept additional plist in column descriptors.
6632d361
CY
467 (tabulated-list-init-header): Obey it.
468 (tabulated-list-get-entry): New function.
469 (tabulated-list-put-tag): Use it. Use string-width instead of
470 length.
471 (tabulated-list--column-number): New function.
472 (tabulated-list-print): Use it.
e129292c
CS
473 (tabulated-list-print-col): New function.
474 Set `tabulated-list-column-name' property on each column's text.
6632d361 475 (tabulated-list-print-entry): Use it.
e129292c
CS
476 (tabulated-list-delete-entry, tabulated-list-set-col):
477 New functions.
6632d361
CY
478 (tabulated-list-sort-column): New command (Bug#11337).
479
3cc99f68
CY
480 * buff-menu.el (list-buffers): Move C-x C-b binding from
481 buff-menu.el to bindings.el.
482
483 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
484 :advertised-binding feature.
485
52b61776
TN
4862012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
487
488 * progmodes/compile.el (compilation-internal-error-properties):
489 Calculate start position correctly when end-col is set but
490 end-line is not (Bug#11382).
491
ebfe2597
WJ
4922012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
493
494 * man.el (Man-unindent): Use text-property-default-nonsticky to
495 prevent untabify from inheriting face properties (Bug#11408).
496
a43f98b3
GM
4972012-05-05 Glenn Morris <rgm@gnu.org>
498
48176e8b
GM
499 * calendar/cal-html.el: Optionally include holidays in the output.
500 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
501 (cal-html-holidays): New option.
502 (cal-html-css-default): Add holiday entry.
503 (holiday-in-range): Autoload it.
504 (cal-html-htmlify-entry): Add optional class argument.
505 (cal-html-htmlify-list): Add optional holidays argument.
506 (cal-html-insert-agenda-days): Include holidays in the output.
507 (cal-html-one-month): Maybe include holidays.
508
a43f98b3
GM
509 * calendar/holidays.el (holiday-in-range):
510 Move here from cal-tex-list-holidays.
511 * calendar/cal-tex.el (cal-tex-list-holidays):
512 Make it an obsolete alias for holiday-in-range. Update all callers.
513
fef9d149 5142012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
515
516 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
517 Nextstep.
518
248da2f4
RW
5192012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
520
521 * files.el (file-auto-mode-skip): New var.
522 (set-auto-mode-1): Use it.
523
f95e9344
SM
5242012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
525
df96ab1e
SM
526 * repeat.el: Use lexical-binding.
527 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
528 (repeat-undo-count): Remove.
529 (repeat):
530 * progmodes/octave-mod.el (octave-abbrev-start):
531 * progmodes/f90.el (f90-abbrev-start):
532 * face-remap.el (text-scale-adjust):
533 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
534
5342bb06
SM
535 * emacs-lisp/pcase.el (pcase--let*): New function.
536 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
537 a bit more.
538 (pcase--split-pred): Be more clever about ruling out overlap between
539 a predicate and some constant pattern.
540 (pcase--q1): Use `null' instead of (eq foo nil).
541
f95e9344
SM
542 * subr.el (setq-local, defvar-local): New macros.
543 (kbd): Redefine as an alias.
544 (with-selected-window): Leave unrelated frames alone.
545 (set-temporary-overlay-map): New function.
546
71873e2b
SM
5472012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * subr.el (user-error): New function.
550 * window.el (switch-to-buffer):
551 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
552 (smerge-match-conflict):
553 * simple.el (previous-matching-history-element)
554 (next-matching-history-element, goto-history-element, undo-more)
555 (undo-start):
556 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
557 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
558 (next-file, tags-loop-scan, list-tags, complete-tag):
559 * progmodes/compile.el (compilation-loop):
560 * mouse.el (mouse-minibuffer-check):
561 * man.el (Man-bgproc-sentinel, Man-goto-page):
562 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
563 (Info-history-forward, Info-follow-reference, Info-menu)
564 (Info-extract-menu-item, Info-extract-menu-counting)
565 (Info-forward-node, Info-backward-node, Info-next-menu-item)
566 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
567 (Info-next-reference, Info-prev-reference, Info-index)
568 (Info-index-next, Info-follow-nearest-node)
569 (Info-copy-current-node-name):
570 * imenu.el (imenu--make-index-alist)
571 (imenu-default-create-index-function, imenu-add-to-menubar):
572 * files.el (basic-save-buffer, recover-file):
573 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
574 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
575 (checkdoc-message-text, checkdoc-defun):
576 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
577 * cus-edit.el (customize-changed-options, customize-rogue)
578 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
579 (custom-variable-mark-to-reset-standard)
580 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
581 (custom-file):
582 * completion.el (check-completion-length):
583 * comint.el (comint-search-arg)
584 (comint-previous-matching-input-string-position)
585 (comint-previous-matching-input)
586 (comint-replace-by-expanded-history-before-point, comint-send-input)
587 (comint-copy-old-input, comint-backward-matching-input)
588 (comint-goto-process-mark, comint-set-process-mark):
589 * calendar/calendar.el (calendar-cursor-to-date): Use it.
590 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
591
8a61ee22
SM
5922012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
593
66408d1e
SM
594 * dabbrev.el (dabbrev--ignore-case-p): New function.
595 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
596 Use it.
597
8a61ee22
SM
598 * files.el (automount-dir-prefix): Mark as obsolete.
599
3c74813a
GM
6002012-05-04 Glenn Morris <rgm@gnu.org>
601
602 * patcomp.el, play/bruce.el: Move to obsolete/.
603
0bfcf5c5
PE
6042012-05-04 Paul Eggert <eggert@cs.ucla.edu>
605
606 Fix minor Y10k bugs.
607 * arc-mode.el (archive-unixdate):
608 * autoinsert.el (auto-insert-alist):
609 * calc/calc-forms.el (math-this-year):
610 * emacs-lisp/copyright.el (copyright-current-year)
611 (copyright-update-year, copyright):
612 * tar-mode.el (tar-clip-time-string):
613 * time.el (display-time-update):
614 Don't assume years have 4 digits.
615
78f3273a
CY
6162012-05-04 Chong Yidong <cyd@gnu.org>
617
618 * dos-w32.el (file-name-buffer-file-type-alist)
619 (direct-print-region-use-command-dot-com):
620 * ffap.el (ffap-menu-regexp):
621 * find-file.el (ff-special-constructs):
622 * follow.el (follow-debug):
623 * forms.el (forms--debug):
624 * iswitchb.el (iswitchb-all-frames):
625 * ido.el (ido-all-frames):
626 * emacs-lisp/timer.el (timer-max-repeats):
627 * mail/feedmail.el (feedmail-mail-send-hook)
628 (feedmail-mail-send-hook-queued):
629 * mail/footnote.el (footnote-signature-separator):
630 * mail/mailabbrev.el (mail-alias-separator-string)
631 (mail-abbrev-mode-regexp):
632 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
633 * progmodes/idlwave.el (idlwave-libinfo-file)
634 (idlwave-default-completion-case-is-down)
635 (idlwave-library-routines): Convert defvars to defcustoms.
636
637 * mail/rmail.el (rmail-decode-mime-charset):
638 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
639 (idlwave-shell-fix-inserted-breaks)
640 (idlwave-shell-activate-alt-keybindings)
641 (idlwave-shell-use-breakpoint-glyph):
642 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
643
f7ae6719
SM
6442012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
647
47086495
WS
6482012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
649
650 * progmodes/verilog-mode.el (font-lock-keywords):
651 Fix mis-highligting auto. Reported by Craig Barner.
652 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
653 defines from global name space. Reported by Dan Dever.
654 (verilog-auto-reset, verilog-auto-reset-widths)
655 (verilog-auto-tieoff): Support using unbased numbers for
656 AUTORESET and AUTOTIEOFF.
657 (verilog-submit-bug-report): Update variable list.
658 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
659 parenthesis from not matching. Reported by Michael Rytting.
660 (verilog-auto-template-lint): Fix hash error when linting modules
661 with no used templates.
662 (verilog-warn, verilog-warn-error)
663 (verilog-warn-fatal): When non-interactive report multiple
664 warnings before exiting. Suggested by Brad Dobbie.
665 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
666 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
667 to report unused template errors. Reported by Brad Dobbie.
668 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
669 nets, bug438. Reported by Vns Blore.
670 (verilog-auto-inout-module, verilog-auto-reg)
671 (verilog-read-decls, verilog-read-sub-decls-sig)
672 (verilog-signals-edit-wire-reg, verilog-signals-with):
673 Fix passing of Verilog data types in ANSI input/output ports
674 such as "output logic" into the AUTOs. Special case "wire" and
675 "reg" for backwards compatibility presuming Verilog 2001.
676 (verilog-auto-ascii-enum): Add "auto enum" as alias.
677 (verilog-preprocess): Fix replication of preprocess output.
678 Reported by Brad Dobbie.
679 (verilog-auto-inst-interfaced-ports):
680 Create verilog-auto-inst-interfaced-ports, bug429.
681 Reported by Julian Gorfajn.
682 (verilog-after-save-font-hook)
683 (verilog-before-save-font-hook): New variable.
684 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
685 (verilog-save-font-mods): Wrap disabling fontification, reported
686 by David Rogoff.
687 (verilog-do-indent, verilog-pretty-declarations-auto)
688 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
689 Reported by Pierre-David Pfister.
690 (verilog-set-auto-endcomments): Fix endtask auto comments outside
691 of class declarations, bug292. Reported by Kevin Heilman.
692 (verilog-read-decls): Fix 'parameter type' not appearing in
693 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
694 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
695 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
696 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
697 Reported by David Kravitz.
698
6992012-05-03 Michael McNamara <mac@mail.brushroad.com>
700
701 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
702 assignment with tests in ifs and for loops.
703 (verilog-extended-complete-re, verilog-complete-reg): Change so
704 that DPI inport functions don't look like fuction declarations.
705 (verilog-pretty-expr): Don't line up assignment
706 operations to the test and increment in if and for loops
707 (verilog-extended-complete-re, verilog-complete-reg): Change so
708 that DPI inport functions don't look like fuction declarations
709
2e51d4b5
KH
7102012-05-03 Kenichi Handa <handa@m17n.org>
711
712 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
713 decoding, and show a warning message without signalling an error
714 (Bug#11282).
715
2bd785a2
SM
7162012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * emacs-lisp/bytecomp.el
719 (byte-compile-file-form-custom-declare-variable): Compile all elements,
720 since cconv.el might have introduced :fun-body, internal-make-closure,
721 and friends for bytecomp to handle (bug#11391).
722 * custom.el (defcustom): Avoid ((λ ..) ..).
723
99d27583
SM
7242012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
727
55a71479
JB
7282012-05-02 Juanma Barranquero <lekktu@gmail.com>
729
730 * notifications.el (dbus-debug):
731 * term/linux.el (gpm-mouse-enable):
732 * term/screen.el (xterm-register-default-colors): Declare.
733
7b97c764
CY
7342012-05-02 Chong Yidong <cyd@gnu.org>
735
2bc356d7
CY
736 * cus-start.el (gc-cons-percentage, exec-suffixes)
737 (dos-display-scancodes, dos-hyper-key, dos-super-key)
738 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
739 (make-cursor-line-fully-visible, void-text-area-pointer)
740 (font-list-limit): Add customization data.
741
7b97c764
CY
742 * allout.el (allout-exposure-change-functions)
743 (allout-structure-added-functions)
744 (allout-structure-deleted-functions)
745 (allout-structure-shifted-functions): Rename abnormal hooks from
746 *-hook, and convert to defcustoms.
5d3385a0
JB
747 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
748 Convert to defcustoms.
7b97c764
CY
749 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
750
751 * allout-widgets.el: Hook callers changed.
752
90207a15 7532012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
754
755 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
756 the yanked message in preference to the default value of
757 buffer-file-coding-system.
758
90207a15 7592012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 760
5d3385a0
JB
761 * window.el (display-buffer--action-function-custom-type):
762 Fix entry.
d9558cad 763
90207a15 7642012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
765
766 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
767
d80ac57b
GM
7682012-05-01 Glenn Morris <rgm@gnu.org>
769
976f7668
GM
770 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
771
beb83b5a
GM
772 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
773
d80ac57b
GM
774 * cus-edit.el (custom-variable-documentation): Simplify with format.
775
b593d6a9
AH
7762012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
777 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * simple.el (suggest-key-bindings, execute-extended-command):
780 Move from keyboard.c.
781
782fbf2a
CY
7822012-05-01 Chong Yidong <cyd@gnu.org>
783
784 * follow.el: Eliminate advice.
785 (set-process-filter, process-filter, sit-for): Advice deleted.
786 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
787 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
788 Vars deleted.
782fbf2a
CY
789 (follow-auto): Use a :set function.
790 (follow-mode): Rewritten. Don't advise process filters.
791 (follow-switch-to-current-buffer-all, follow-scroll-up)
792 (follow-scroll-down): Assume follow-mode is bound.
793 (follow-comint-scroll-to-bottom)
794 (follow-align-compilation-windows): New functions.
795 (follow--window-sorter): New function.
796 (follow-all-followers): Use it to explicitly sort windows by their
797 positions; don't make assumptions about next-window order.
798 (follow-windows-start-end, follow-delete-other-windows-and-split)
799 (follow-calc-win-start): Doc fix.
800 (follow-windows-aligned-p, follow-select-if-visible): Don't call
801 vertical-motion unnecessarily.
802 (follow-adjust-window): New function.
803 (follow-post-command-hook): Use it.
804 (follow-call-set-process-filter, follow-call-process-filter)
805 (follow-intercept-process-output, follow-tidy-process-filter-alist)
806 (follow-stop-intercept-process-output, follow-generic-filter):
807 Functions deleted.
808 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
809 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
810 New functions, replacing advice on scroll-bar-* commands.
87233a14 811 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
812
813 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
814 (comint-postoutput-scroll-to-bottom): Use it.
815 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 816
290af740
GM
8172012-05-01 Glenn Morris <rgm@gnu.org>
818
819 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
820 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
821 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
822 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
823 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
824 Remove no-byte-compile setting.
825
6eac8dc9
SM
8262012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * minibuffer.el (completion-table-with-quoting): Fix compatibility
829 all-completions code to not return a number in the last cdr.
830
9cc7819c
LL
8312012-04-30 Leo Liu <sdl.web@gmail.com>
832
833 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
834 read-only error.
835
c93b886f
CY
8362012-04-29 Chong Yidong <cyd@gnu.org>
837
838 * follow.el (follow-calc-win-end): Rewrite to handle partial
839 screen lines correctly (Bug#8390).
840 (follow-avoid-tail-recenter): Minor cleanup.
841
8b6c19f4
SM
8422012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 Avoid the obsolete `assoc' package.
845 * speedbar.el (speedbar-refresh): Avoid adelete.
846 (speedbar-file-lists): Simplify and avoid aput.
847 * man.el (Man--sections, Man--refpages): New vars, replacing
848 Man-sections-alist and Man-refpages-alist.
849 (Man-build-section-alist, Man-build-references-alist):
850 Use them; avoid aput.
851 (Man--last-section, Man--last-refpage): New vars.
852 (Man-follow-manual-reference): Use them.
853 Use the `default' arg of completing-read.
854 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
855
c5bb7569
CY
8562012-04-27 Chong Yidong <cyd@gnu.org>
857
d1d2e2e8
CY
858 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
859
15cd8efd
CY
860 * startup.el (x-apply-session-resources): New function.
861
862 * term/ns-win.el (ns-initialize-window-system):
863 * term/w32-win.el (w32-initialize-window-system):
864 * term/x-win.el (x-initialize-window-system): Use it to properly
865 set menu-bar-mode and other vars from X resources, even if the
866 initial frame is not a window-system frame (Bug#2299).
867
c5bb7569
CY
868 * subr.el (read-key): Avoid running filter function when setting
869 up temporary tool bar entries (Bug#9922).
870
a8e7d6d7 8712012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
872
873 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
874 (Bug#11344)
875
a8e7d6d7 8762012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
877
878 * select.el (xselect--encode-string): New function, split from
879 xselect-convert-to-string.
880 (xselect-convert-to-string): Use it.
881 (xselect-convert-to-filename, xselect-convert-to-os)
882 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
883 returned strings are properly encoded (Bug#11315).
884
a8e7d6d7 8852012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
886
887 * simple.el (delete-active-region): Move to killing custom group.
888
a8e7d6d7 8892012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
890
891 * progmodes/which-func.el (which-func-current): Quote %
892 characters for mode-line processing.
893
578c1d4b 8942012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
895
896 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
897 reaching eob (Bug#11286).
898
a8e7d6d7 8992012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
900
901 * progmodes/gdb-mi.el (gdb-control-level): New variable.
902 (gdb): Make it buffer-local and init to zero.
903 (gdb-control-commands-regexp): New variable.
904 (gdb-send): Don't wrap in "-interpreter-exec console" if
905 gdb-control-level is positive. Increment gdb-control-level
906 whenever the command matches gdb-control-commands-regexp, and
907 decrement it each time the command is "end". (Bug#11279)
908
a8e7d6d7 9092012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
910
911 * window.el (adjust-window-trailing-edge, enlarge-window)
912 (shrink-window, window-resize):
913 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
914 windows (Bug#11276).
915
b3608390
CY
9162012-04-27 Chong Yidong <cyd@gnu.org>
917
918 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 919 fix "missing prefix" warning. All callers changed.
b3608390 920
797e6e88
SM
9212012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/assoc.el: Move to obsolete/.
924
e95a67dc
SM
9252012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
926
657c21e4 927 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
928
929 * term/ns-win.el (ns-define-service):
930 * progmodes/pascal.el (pascal-goto-defun):
931 * progmodes/js.el (js--read-tab):
932 * progmodes/etags.el (tags-lazy-completion-table):
933 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
934 * emacs-lisp/ewoc.el (ewoc--wrap):
935 * emacs-lisp/assoc.el (aput, adelete, amake):
936 * doc-view.el (doc-view-convert-current-doc):
937 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
938
cb3e7ae0
CY
9392012-04-26 Chong Yidong <cyd@gnu.org>
940
dce04f7f
CY
941 * image.el (image-type-from-buffer): Only return supported image
942 type (Bug#9045).
943
cb3e7ae0
CY
944 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
945 value, for symmetry with diff-end-of-hunk.
946 (diff-split-hunk, diff-find-source-location)
947 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
948 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
949 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
950 compute the relevant hunk or file properly (Bug#6005).
951 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
952
0d42eb3e
SM
9532012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * vc/vc-mtn.el:
956 * vc/vc-hg.el:
957 * vc/vc-git.el:
958 * vc/vc-dir.el:
959 * vc/vc-cvs.el:
960 * vc/vc-bzr.el:
961 * vc/vc-arch.el:
962 * vc/vc.el: Replace lexical-let by lexical-binding.
963 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
964 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
965 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
966
f08ae1c9
CY
9672012-04-26 Chong Yidong <cyd@gnu.org>
968
8b71081d
CY
969 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
970 (diff-mode-shared-map): Bind it to / and [remap undo].
971
f08ae1c9
CY
972 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
973 (ediff-window-setup-function): Use it as the default, to set up
974 windows based on whether the current frame is graphical (Bug#2138).
975 (ediff-choose-window-setup-function-automatically): Make obsolete.
976
977 * vc/ediff-init.el: Always define ediff-pixel-width/height.
978
ef24141c
SM
9792012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
980
cc356a5d
SM
981 * ffap.el: Remove old code for obsolete package.
982 (ffap-complete-as-file-p): Remove.
983
b4ff4f1f
SM
984 Use completion-table-with-quoting for comint and pcomplete.
985 * comint.el (comint--unquote&requote-argument)
986 (comint--unquote-argument, comint--requote-argument): New functions.
987 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
988 (comint-quote-filename): Use regexp-opt-charset.
989 (comint--common-suffix, comint--common-quoted-suffix)
990 (comint--table-subvert): Remove.
991 (comint-unquote-function, comint-requote-function): New vars.
992 (comint--complete-file-name-data): Use them with
993 completion-table-with-quoting.
994 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
995 * pcomplete.el (pcomplete-arg-quote-list)
996 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
997 (pcomplete-unquote-argument-function): Default to non-nil.
998 (pcomplete-unquote-argument): Simplify.
999 (pcomplete--common-quoted-suffix): Remove.
1000 (pcomplete-requote-argument-function): New var.
1001 (pcomplete--common-suffix): New function.
1002 (pcomplete-completions-at-point): Use completion-table-with-quoting
1003 and completion-table-subvert.
1004
79c4eeb4
SM
1005 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1006 (minibuffer--double-dollars): Preserve properties.
1007 (completion--sifn-requote): New function.
1008 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1009
ef24141c
SM
1010 * minibuffer.el: Add support for completion of quoted/escaped data.
1011 (completion-table-with-quoting, completion-table-subvert): New funs.
1012 (completion--twq-try, completion--twq-all): New functions.
1013 (completion--nth-completion): New function.
1014 (completion-try-completion, completion-all-completions): Use it.
1015
784e7d6e
LL
10162012-04-25 Leo Liu <sdl.web@gmail.com>
1017
dd2ac746
SM
1018 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1019 Use compilation-message if available to find real filename.
784e7d6e 1020
07875ee7
CY
10212012-04-25 Chong Yidong <cyd@gnu.org>
1022
1023 * vc/diff-mode.el (diff-setup-whitespace): New function.
1024 (diff-mode): Use it.
1025
1026 * vc/diff.el (diff-sentinel):
1027 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1028 Whitespace mode variables based on diff style (Bug#8612).
1029
5055880d
LL
10302012-04-25 Leo Liu <sdl.web@gmail.com>
1031
daf75653
LL
1032 * progmodes/python.el (python-send-region): Add suffix .py to the
1033 temp file.
1034
5055880d
LL
1035 * files.el (auto-mode-alist): Use javascript-mode instead.
1036
db9b177b
AH
10372012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1038
ef24141c 1039 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1040
1041 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1042 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1043 references, see Bug#9.
ef24141c 1044 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1045 when receiving a fault reply.
ef24141c 1046 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1047
1048 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1049 (soap-inspect-simple-type): New function.
db9b177b 1050
ef24141c 1051 * soap-client.el (soap-simple-type): New struct.
db9b177b 1052 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1053 (soap-decode-basic-type, soap-encode-basic-type):
1054 support unsignedInt and double basic types.
db9b177b 1055 (soap-resolve-references-for-simple-type)
ef24141c
SM
1056 (soap-parse-simple-type, soap-encode-simple-type): New function.
1057 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1058
1059 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1060 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1061 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1062 the local name of "soapenc:Array".
1063 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1064 decoding integer, byte and anyURI xsd types.
1065
1fc6097b
CY
10662012-04-25 Chong Yidong <cyd@gnu.org>
1067
1068 * cus-edit.el (custom-buffer-create-internal): Update header text.
1069
afc6df87
EZ
10702012-04-25 Eli Zaretskii <eliz@gnu.org>
1071
1072 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1073 settings on 'system-type', not on 'window-system'. On MS-Windows,
1074 set interactive-mode on in GDB.
1075
dfbd787f
SM
10762012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1079 (ruby-syntax-propertize-regexp): Remove.
1080 (ruby-syntax-propertize-function): Split regexp into chunks.
1081 Match following code directly.
1082
85222d44
DG
10832012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1084
51a8ea2a
DG
1085 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1086 (ruby-syntax-propertize-regexp): New function.
1087 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1088 by a special keyword.
1089
85222d44
DG
1090 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1091 (ruby-syntax-general-delimiters-goto-beg)
1092 (ruby-syntax-propertize-general-delimiters): New functions.
1093 (ruby-syntax-propertize-function): Use them to handle GDL.
1094 (ruby-font-lock-keywords): Move old handling of GDL...
1095 (ruby-font-lock-syntactic-keywords): .. to here.
1096 (ruby-calculate-indent): Adjust indentation for GDL.
1097
b613912b
MA
10982012-04-24 Michael Albinus <michael.albinus@gmx.de>
1099
b5380639
MA
1100 * notifications.el (top): Remove unneeded declarations.
1101 (notifications-specification-version): Change to "1.2".
e43042fe 1102 (notifications-interface, notifications-notify-method)
b613912b
MA
1103 (notifications-close-notification-method): Fix docstring.
1104 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1105 (notifications-notify): Add :action-items, :resident and
1106 :transient hints. Change "image_data" to "image-data" and
1107 "image_path" to "image-path".
b613912b
MA
1108 (notifications-get-capabilities): New defun.
1109
257440aa
LL
11102012-04-24 Leo Liu <sdl.web@gmail.com>
1111
1112 * progmodes/python.el: Move hideshow setup to the end.
1113
b1bac16e
MR
11142012-04-24 Martin Rudalics <rudalics@gmx.at>
1115
1116 * window.el (handle-select-window): Clear echo area since this is
1117 no more done by read_char (Bug#11304).
1118
d81bd059
SM
11192012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1122 and `/ M' to filter-derived-mode.
1123 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1124 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1125 (ibuffer-mark-by-mode): Use default rather than initial-input.
1126 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1127
c4cf6d91
IA
11282012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1129
1130 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1131 (ibuffer-filter-by-derived-mode): New filter.
1132 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1133
7511ded8
CY
11342012-04-23 Andreas Politz <politza@fh-trier.de>
1135
1136 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1137
775c916b
CY
11382012-04-23 Chong Yidong <cyd@gnu.org>
1139
1140 * cus-edit.el (customize-apropos, customize-apropos-options):
1141 Disable matching of non-option variables (Bug#11176).
1142 (customize-option, customize-option-other-window)
1143 (customize-changed-options): Doc fix.
1144 (customize-apropos-options, customize-apropos-faces)
1145 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1146
1147 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1148 Fix word list splitting (Bug#11132).
46c71e23
CY
1149 (apropos-symbol, apropos-keybinding, apropos-label)
1150 (apropos-property, apropos-function-button)
1151 (apropos-variable-button, apropos-misc-button): New faces.
1152 (apropos-symbol-face, apropos-keybinding-face)
1153 (apropos-label-face, apropos-property-face, apropos-match-face):
1154 Variables removed (Bug#8396).
1155 (apropos-library-button, apropos-format-plist, apropos-print)
1156 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1157
2df41f9c
MA
11582012-04-23 Michael Albinus <michael.albinus@gmx.de>
1159
1160 * net/xesam.el (xesam-mode-map): Use let-bound map in
1161 initialization. (Bug#11292)
1162
da00640a
AM
11632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1164
1165 Preserve ispell session localwords when switching back to
1166 original buffer.
1167
1168 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1169 variable to hold buffer session localwords.
1170 (ispell-kill-ispell): add option 'clear to delete session
1171 localwords.
1172 (ispell-command-loop, ispell-change-dictionary)
1173 (ispell-buffer-local-words): Preserve session localwords when
1174 needed.
1175
1176 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1177 Preserve session localwords when needed.
1178
f621ccf5
AM
11792012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1180
1181 * ispell.el (ispell-insert-word) Remove unneeded function using
1182 obsolete `translation-table-for-input'.
ef24141c
SM
1183 (ispell-word, ispell-process-line, ispell-complete-word):
1184 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1185
c2d1019e
CY
11862012-04-22 Chong Yidong <cyd@gnu.org>
1187
1188 * cus-edit.el (custom-variable-menu)
1189 (custom-variable-reset-saved, custom-face-menu)
1190 (custom-face-reset-saved): If there is no saved value, make the
1191 "reset-saved" operation bring back the default (Bug#9509).
1192 (custom-face-state): Properly detect themed faces.
1193
eeddc531
CY
1194 * faces.el (face-spec-set): Stop supporting deprecated form of
1195 third arg.
1196
dcbf5805
MA
11972012-04-22 Michael Albinus <michael.albinus@gmx.de>
1198
1199 Move functions from C to Lisp. Make non-blocking method calls
1200 the default. Implement further D-Bus standard interfaces.
1201
ef24141c
SM
1202 * net/dbus.el (dbus-message-internal): Declare function.
1203 Remove unneeded function declarations.
dcbf5805
MA
1204 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1205 (dbus-message-type-method-return, dbus-message-type-error)
1206 (dbus-message-type-signal): Declare variables. Remove local
1207 definitions.
1208 (dbus-interface-dbus, dbus-interface-peer)
1209 (dbus-interface-introspectable, dbus-interface-properties)
1210 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1211 Adapt docstring.
1212 (dbus-interface-objectmanager): New defconst.
1213 (dbus-call-method, dbus-call-method-asynchronously)
1214 (dbus-send-signal, dbus-method-return-internal)
1215 (dbus-method-error-internal, dbus-register-service)
1216 (dbus-register-signal, dbus-register-method): New defuns, moved
1217 from dbusbind.c
1218 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1219 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1220 New defuns.
dcbf5805
MA
1221 (dbus-call-method-non-blocking): Make it an obsolete function.
1222 (dbus-unregister-object, dbus-unregister-service)
1223 (dbus-handle-event, dbus-register-property)
1224 (dbus-property-handler): Obey the new structure of
1225 `bus-registered-objects'.
1226 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1227 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1228 Use `dbus-call-method'.
1229
cf20dee0
CY
12302012-04-22 Chong Yidong <cyd@gnu.org>
1231
1232 * cus-edit.el (custom-commands, custom-reset-menu)
1233 (Custom-reset-standard): Tweak labels.
1234 (custom-reset-button-menu): Change default to t.
1235 (custom-buffer-create-internal): For the custom-reset-button-menu
1236 case, put the revert button first.
1237 (custom-group-subtitle): New face.
1238 (custom-group-value-create): Align docstring to a specific column.
1239
1240 * wid-edit.el (widget-documentation-link-add): Don't handle
1241 indentation in this function.
1242 (widget-documentation-string-indent-to): New function.
1243 (widget-documentation-string-value-create): Use it.
1244
1245 * autorevert.el (auto-revert):
1246 * epg-config.el (epg):
1247 * ibuffer.el (ibuffer):
1248 * mpc.el (mpc):
1249 * ses.el (ses):
1250 * eshell/eshell.el (eshell):
1251 * net/ange-ftp.el (ange-ftp):
1252 * progmodes/ebnf2ps.el (postscript):
1253 * progmodes/flymake.el (flymake):
1254 * progmodes/prolog.el (prolog):
1255 * progmodes/verilog-mode.el (verilog-mode):
1256 * progmodes/which-func.el (which-func):
1257 * term/xterm.el (xterm):
1258 * textmodes/picture.el (picture):
1259 * textmodes/tildify.el (tildify):
1260 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1261 customization buffers.
1262
583e23bd
AM
12632012-04-22 Alan Mackenzie <acm@muc.de>
1264
1265 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1266 Adding a ) can hide the resulting (..) from searches. Fix it.
1267 Bound the backward search to the position of the existing (.
1268
7dd51bf1
JB
12692012-04-21 Juanma Barranquero <lekktu@gmail.com>
1270
1271 * progmodes/verilog-mode.el (verilog-mode): Check whether
1272 which-func-modes is t before adding verilog-mode.
1273 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1274
d64a438f
LL
12752012-04-21 Leo Liu <sdl.web@gmail.com>
1276
7dd51bf1 1277 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1278
081e8d65
MV
12792012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1280
1281 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1282 filling of the last column of a table (Bug#5635).
1283 (woman-find-next-control-line): New arg, specifying an additional
1284 regexp component for the control line.
1285 (woman2-roff-buffer): Use it.
1286 (woman-break-table): New function.
1287 (woman2-TS): Use it.
1288
12892012-04-21 Chong Yidong <cyd@gnu.org>
1290
1291 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1292 (woman-horizontal-escapes, woman-negative-vertical-space)
1293 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1294 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1295
ed571ccb
SM
12962012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * minibuffer.el (completion-file-name-table): Complete user names.
1299
39773899
LL
13002012-04-20 Leo Liu <sdl.web@gmail.com>
1301
1302 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1303 and pcase-let*.
1304
de6ff46d
CY
13052012-04-20 Chong Yidong <cyd@gnu.org>
1306
1307 * server.el (server-execute): Respect initial-buffer-choice if it
1308 is a string and there are no files to open (Bug#2825).
1309 (server-create-window-system-frame, server-create-tty-frame):
1310 Don't switch buffers here.
2d0e8e61
CY
1311 (server-process-filter): Only try to open a window system frame if
1312 compiled with graphical support (Bug#8314).
de6ff46d 1313
54071013
DN
13142012-04-20 Dan Nicolaescu <dann@gnu.org>
1315
1316 * battery.el (battery-echo-area-format): Display remaining time
1317 for sysfs backend too (Bug#11269).
1318 (battery-linux-sysfs): Fix conditional for the charge.
1319
f30d612a
CY
13202012-04-20 Chong Yidong <cyd@gnu.org>
1321
c07a4c0b 1322 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1323 (gdb-inferior-io--init-proc): New function.
1324 (gdb-init-1): Use it.
1325 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1326 responsible for allocating a new pty and hooking it to gdb when
1327 the old pty gets an EIO due to process exit.
1328 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1329 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1330 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1331
2116e93c
EZ
13322012-04-20 Eli Zaretskii <eliz@gnu.org>
1333
1334 * window.el (window-min-size, window-sizable, window-min-delta)
1335 (window-max-delta, window--resizable, window-resizable)
1336 (window-total-size, window-full-height-p, window-full-width-p)
1337 (window-in-direction, window--resize-mini-window, window-resize)
1338 (window--resize-child-windows-normal)
1339 (window--resize-child-windows, window--resize-siblings)
1340 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1341 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1342
c07a4c0b 13432012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1344
ef24141c
SM
1345 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1346 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1347 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1348 pty process (Bug#11273).
1349 (gdb-update): New arg to suppress talking to the gdb process.
1350 (gdb-done-or-error): Use it.
1351 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1352 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1353 sentinel not being called.
1354
1355 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1356
d02766ab
CY
1357 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1358
c07a4c0b 13592012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1360
1361 * net/network-stream.el (open-network-stream): Doc fix.
1362
c07a4c0b 13632012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1364
1365 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1366
c07a4c0b 13672012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1368
1369 Ensure searching for keywords is case sensitive.
1370
1371 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1372 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1373 (c-defun-name, c-mark-function, c-cpp-define-name)
1374 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1375 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1376
ef24141c
SM
1377 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1378 Bind case-fold-search to nil.
f0f6bc35 1379
c07a4c0b 13802012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1381
1382 * mail/sendmail.el (mail-bury): Call return action with the right
1383 Rmail buffer (Bug#11242).
1384
9a864fa2
CY
1385 * server.el (server-process-filter): Handle corner case where both
1386 tty and nowait options are present (Bug#11102).
1387
539aa513
EZ
13882012-04-20 Eli Zaretskii <eliz@gnu.org>
1389
1390 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1391 (top level): Put into the executable the ident-style '$Id:' tag on
1392 windows-nt as well.
539aa513 1393
cfc7d5da
SM
13942012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * electric.el (electric-indent-post-self-insert-function): Check that
1397 electric-indent-mode is enabled in current buffer.
1398
5b01685c
JB
13992012-04-19 Juanma Barranquero <lekktu@gmail.com>
1400
1401 * imenu.el (imenu-progress-message): Restore; it is "used" in
1402 erc/erc-imenu.el and net/snmp-mode.el.
1403
4d6769e1
JB
14042012-04-19 Juanma Barranquero <lekktu@gmail.com>
1405
1406 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1407 (mouse-avoidance-nudge-mouse): Remove unused binding.
1408
1409 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1410
1411 * descr-text.el (describe-char):
1412 * progmodes/python.el (python-describe-symbol):
1413 Don't call `toggle-read-only', set `buffer-read-only'.
1414
1415 * imenu.el (imenu-default-goto-function): Mark unused args.
1416 (imenu-progress-message): Remove obsolete macro; all callers changed.
1417
1418 * subr.el (keymap-canonicalize): Remove unused binding.
1419 (read-passwd): Mark unused arg.
1420
1421 * tutorial.el (tutorial--display-changes): Remove unused binding.
1422 (tutorial--save-tutorial-to): Remove unused variable.
1423
1424 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1425 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1426 (package-generate-autoloads, package-menu--generate)
1427 (package-menu--find-upgrades): Remove unused bindings.
1428
1429 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1430 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1431 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1432 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1433 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1434 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1435 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1436 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1437 (cua-delete-char-rectangle): Mark unused args.
1438 (cua-align-rectangle): Remove unused binding.
1439
1440 * mail/rmail.el (compilation--message->loc)
1441 (epa--find-coding-system-for-mime-charset): Declare.
1442
1443 * net/dbus.el (dbus-register-service): Declare.
1444 (dbus-name-owner-changed-handler): Remove unused binding.
1445
1446 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1447 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1448 (nxml-scan-backward-within): Mark unused arg.
1449 (nxml-dynamic-markup-word): Remove unused binding.
1450
1451 * mouse.el (mouse-menu-major-mode-map):
1452 * emacs-lisp/authors.el (authors-scan-change-log)
1453 (authors-add-to-author-list):
1454 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1455 * emacs-lisp/smie.el (smie-auto-fill):
1456 * mail/sendmail.el (mail-bury):
1457 * mail/unrmail.el (unrmail):
1458 * net/tls.el (open-tls-stream):
1459 * textmodes/picture.el (picture-mouse-set-point):
1460 Remove unused bindings.
1461
8c8fc5df
MA
14622012-04-19 Michael Albinus <michael.albinus@gmx.de>
1463
1464 * net/tramp.el (tramp-action-password): Let-bind
1465 `enable-recursive-minibuffers' to t.
1466
a77b0ac9
SS
14672012-04-18 Sam Steingold <sds@gnu.org>
1468
1469 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1470 instead of 'string to accommodate values like [f11].
1471 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1472 * progmodes/gdb-mi.el: Likewise.
1473
12a106a9
LL
14742012-04-18 Leo Liu <sdl.web@gmail.com>
1475
1476 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1477 current buffer.
1478 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1479 LOCAL is nil.
1480
bc6494ef
CY
14812012-04-18 Chong Yidong <cyd@gnu.org>
1482
1483 * simple.el (line-move): Use forward-line if in batch mode
1484 (Bug#11053).
1485
c09c46b2
CS
14862012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1487
1488 * files.el (after-find-file): Do not try to add a final newline if
1489 the buffer is read-only (Bug#11156).
1490
5f6530ea
RS
14912012-04-17 Richard Stallman <rms@gnu.org>
1492
1493 * mail/rmail.el (rmail-start-mail):
1494 Pass (rmail-mail-return...) for the return-action.
1495 Pass (rmail-yank-current-message...) for the yank-action.
1496 (rmail-yank-current-message): New function.
1497 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1498 (rmail-reply): Likewise.
1499 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1500
1501 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1502 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1503 buffer, not newbuf.
1504
197b6f3c
JB
15052012-04-17 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * server.el (server-ensure-safe-dir): Simplify.
1508
2311d8e5 15092012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1510
2311d8e5
GM
1511 * emacs-lisp/smie.el: Provide smarter auto-filling.
1512 (smie-auto-fill): New function.
1513 (smie-setup): Use it.
98fb480e 1514
2311d8e5
GM
1515 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1516
15172012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1518
1519 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1520 (comment-indent): Use it.
1521
2311d8e5 15222012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1523
1524 * ses.el: The overall change is to add cell renaming, that is
1525 setting fancy names for cell symbols other than name matching
1526 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1527 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1528 (ses-create-cell-variable): New defun.
2311d8e5 1529 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1530 (ses-relocate-formula): Relocate formulas only for cells the
1531 symbols of which are not renamed, i.e. symbols whose names do not
1532 match regexp "\\`[A-Z]+[0-9]+\\'".
1533 (ses-relocate-all): Relocate values only for cells the symbols of
1534 which are not renamed.
1535 (ses-load): Create cells variables as the (ses-cell ...) are read,
1536 in order to check row col consistency with cell symbol name only
1537 for cells that are not renamed.
1538 (ses-replace-name-in-formula): New defun.
1539 (ses-rename-cell): New defun.
4bdf2ad2 1540
fc72b15c
PO
15412012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1542
1543 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1544 New option (bug#11118).
1545 (perl-calculate-indent): Respect it.
1546
12e10e61
GM
15472012-04-17 Glenn Morris <rgm@gnu.org>
1548
1549 * dired-aux.el (dired-mark-read-string): Doc fix.
1550
30009afd
DA
15512012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1552
1553 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1554 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1555
41f03f4d
GM
15562012-04-17 Glenn Morris <rgm@gnu.org>
1557
1558 * mouse.el (mouse-drag-track):
1559 * speedbar.el (speedbar-frame-mode):
1560 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1561
f45f90f3
LL
15622012-04-16 Leo Liu <sdl.web@gmail.com>
1563
1564 * progmodes/python.el: Trivial cleanup.
1565
94ee8db5
GM
15662012-04-16 Glenn Morris <rgm@gnu.org>
1567
121b8917
GM
1568 * vc/vc.el (vc-string-prefix-p):
1569 * vc/pcvs-util.el (cvs-string-prefix-p):
1570 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1571 * mpc.el (mpc-string-prefix-p):
1572 Make all of these into obsolete aliases for string-prefix-p.
1573 Update callers.
1574 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1575
1197ecfa
GM
1576 * textmodes/two-column.el: Move custom options to the start.
1577 (frame-width): Remove compat definition.
1578 (2C-associate-buffer, 2C-dissociate):
1579 Use with-current-buffer rather than save-excursion.
1580 (2C-dissociate): Force a mode-line update.
1581 (2C-autoscroll): Use ignore-errors.
1582
099e7202
GM
1583 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1584 Autoload trivia.
1585
bf350d6a
GM
1586 * emacs-lisp/cl-extra.el (*random-state*):
1587 Remove unnecessary declaration.
1588
0e829eab
GM
1589 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1590
e3ad7552
GM
1591 * play/cookie1.el (cookie-snarf):
1592 Give an explicit error if input file cannot be read.
1593
68892d27
GM
1594 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1595
20f0c46d
GM
1596 * progmodes/perl-mode.el (c-macro-expand):
1597 Remove unnecessary autoload (it is in loaddefs.el).
1598
5a0978ce
GM
1599 * textmodes/picture.el (picture-desired-column)
1600 (picture-update-desired-column): Convert comments to doc-strings.
1601 (picture-substitute): Remove function.
1602 (picture-mode-map): Initialize in the defvar.
1603
6b955486
GM
1604 * woman.el: Remove eval-after-load for tar-mode.
1605 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1606 (woman-tar-extract-file): Autoload it.
1607
94ee8db5
GM
1608 * frame.el (automatic-hscrolling): Make this alias obsolete.
1609
177eca34
AM
16102012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1611
1612 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1613 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1614 (ispell-dictionary-base-alist): Revert to original XEmacs
1615 friendly version for default. [:alpha:] will be added in
1616 `ispell-set-spellchecker-params' if needed
177eca34 1617
c505aaeb
CY
16182012-04-16 Chong Yidong <cyd@gnu.org>
1619
1620 * image.el (imagemagick--extension-regexp): New variable.
1621 (imagemagick-register-types): Use it.
1622 (imagemagick-types-inhibit): Add :set function. Allow new value
1623 of t to inhibit all types.
1624
1625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1626 so we can preload it.
1627
1628 * loadup.el (fboundp): Preload regexp-opt, needed by
1629 imagemagick-register-types.
1630
60efac0f
CY
16312012-04-15 Chong Yidong <cyd@gnu.org>
1632
1633 * frame.el (scrolling): Remove nearly unused customization group.
1634
1635 * scroll-all.el (scroll-all-mode): Move to windows group.
1636
5dd1713e
CY
16372012-04-15 Chong Yidong <cyd@gnu.org>
1638
1639 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1640
e6fd457e
CY
16412012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1644 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1645
e153c136
GM
16462012-04-15 Glenn Morris <rgm@gnu.org>
1647
1648 * simple.el (process-file-side-effects): Doc fix.
1649
e6fd457e 16502012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1651
1652 * international/mule-cmds.el (set-language-environment): Doc fix.
1653
3603c3b1
JB
16542012-04-14 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * server.el (server-auth-key, server-generate-key): Doc fixes.
1657 (server-get-auth-key): Doc fix. Use `string-match-p'.
1658 (server-start): Reflow docstring.
1659
e6de100c
LI
16602012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1661
1662 * server.el (server-generate-key): `called-interactively-p'
1663 requires a parameter.
1664
29734c21
MN
16652012-04-14 Michal Nazarewicz <mina86@mina86.com>
1666
1667 * server.el (server-auth-key): New variable.
75f1671a 1668 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1669 (server-start): Use the new variable and functions to allow
1670 setting a permanent server key (bug#9423).
1671
d65c9521
LL
16722012-04-14 Leo Liu <sdl.web@gmail.com>
1673
1674 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1675
5ae255c7
PE
16762012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1677
1678 Spelling fixes.
1679 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1680 Emacs uses American spelling.
1681
d5e6342e
JB
16822012-04-14 Juanma Barranquero <lekktu@gmail.com>
1683
1684 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1685 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1686 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1687 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1688
ab036cd7
SM
16892012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * progmodes/which-func.el (which-func-modes): Change default.
1692
35dc09a1 16932012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1694
1695 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1696 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1697
35dc09a1 16982012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1699
1700 * custom.el (custom-theme-set-variables): Doc fix.
1701
35dc09a1 17022012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1703
1704 * international/mule.el (set-auto-coding-for-load): Doc fix.
1705
35dc09a1 17062012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1707
35dc09a1
GM
1708 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1709 imenu work again for Objective C Mode. Correct the *-index values,
1710 these having been disturbed by a previous change in 2011-08.
57f845ee 1711
0de3da9f
AM
1712 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1713 Correct two search limits.
1714
35dc09a1 17152012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1716
1717 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1718
35dc09a1 17192012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1720
1721 * international/characters.el: Fix sorting.
1722
35dc09a1 17232012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1724
1725 * international/characters.el: Add more missing Latin case pairs.
1726
35dc09a1 17272012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1728
1729 * files.el (dir-locals-set-class-variables): Doc fix.
1730
35dc09a1 17312012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1732
3f1b5bf8
EZ
1733 * international/characters.el: Add set-case-syntax-pair call for
1734 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1735 counterpart. (Bug#11209)
1736
9f847f41
EZ
1737 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1738
35dc09a1 17392012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1740
1741 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1742
35dc09a1 17432012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1744
35dc09a1
GM
1745 * textmodes/ispell.el (ispell-dictionary-base-alist):
1746 Add data for Hebrew.
e2627d21 1747
35dc09a1 17482012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1749
35dc09a1
GM
1750 * net/rcirc.el (rcirc-cmd-quit):
1751 Revert 2012-03-18 change (Bug#11192).
5c14e333 1752
35dc09a1 17532012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1754
1755 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1756
35dc09a1 17572012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1758
4517fe3a
SM
1759 * minibuffer.el (completion-in-region-mode-map):
1760 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1761
b472a594
VD
17622012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1763
1764 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1765
09b95ce3
MY
17662012-04-13 Masatake YAMATO <yamato@redhat.com>
1767
1768 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1769 to allow `C-M-f' and `C-M-b' to move to the nearest path
1770 separator (bug#9511).
1771
4b63a9ca
LI
17722012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1773
1774 * avoid.el: Require cl when compiling. And also move the
1775 `provide' to the end.
1776
7b55b8bf
TV
17772012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1778
1779 * avoid.el (mouse-avoidance-banish-position): New variable.
1780 (mouse-avoidance-banish-destination): Use it (bug#10165).
1781
adedaa1f
LL
17822012-04-13 Leo Liu <sdl.web@gmail.com>
1783
1784 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1785
70e74021
KB
17862012-04-13 Ken Brown <kbrown@cornell.edu>
1787
1788 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1789 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1790 (browse-url-filename-alist): For the same reason, don't modify
1791 file:// URLs on Cygwin.
1792
e75e89ba
SM
17932012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1796 the region on shift if the binding is already shifted (bug#11221).
1797
82f289a4
GM
17982012-04-12 Glenn Morris <rgm@gnu.org>
1799
1800 * mail/mailpost.el: Move to obsolete/.
1801
d333dc4c
DA
18022012-04-12 Drew Adams <drew.adams@oracle.com>
1803
1804 * imenu.el (imenu--generic-function): Ignore invisible definitions
1805 (bug#10123).
1806
0d15b5ba
VD
18072012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1808
1809 * hexl.el (hexl-bits): New variable.
1810 (hexl-options): Mention the variable in the doc string.
75f1671a 1811 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1812 (hexl-mode): Mention the new variable.
75f1671a
JB
1813 (hexl-mode, hexl-current-address, hexl-current-address):
1814 Use the displen.
0d15b5ba
VD
1815 (hexl-ascii-start-column): New function.
1816 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1817 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1818
64a440db
AM
18192012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1820
1821 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1822 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1823 the encoding, as expected by hunspell.
1824
6decb6c2
SM
18252012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * battery.el (battery--linux-sysfs-regexp): New const.
1828 (battery-status-function): Use it. Remove yeeloong special case.
1829 (battery-yeeloong-sysfs): Remove.
1830 (battery-echo-area-format): Remove yeeloong special case.
1831
088be6fb
SM
18322012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1833
6622e416
SM
1834 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1835 Reported by Noah Friedman.
1836
088be6fb
SM
1837 * subr.el (read-passwd): Use read-string.
1838
b49f886e
LMI
18392012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1840
1841 * vcursor.el (vcursor-move): Increase the priority of the overlay
1842 (bug#9663).
1843
a63067fc
DD
18442012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1845
1846 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1847 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1848
ac3cf14a
WS
18492012-04-11 William Stevenson <yhvh2000@gmail.com>
1850
1851 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1852 define-minor-mode (bug#10760).
1853
c4fc691b 18542012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1855
4d6769e1 1856 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1857 that directories matching `grep-find-ignored-files' won't be
1858 pruned (bug#10351).
1859
af23e2e5
CY
18602012-04-11 Chong Yidong <cyd@gnu.org>
1861
1862 * startup.el (command-line): Remove support for long-obsolete
1863 variable font-lock-face-attributes.
1864
ab7ce8c1
GM
18652012-04-11 Glenn Morris <rgm@gnu.org>
1866
1867 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1868
de8c03dc
SM
18692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * window.el (window--state-get-1): Obey window-point-insertion-type.
1872
050cc68b
LB
18732012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1874
1875 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1876 to previous function when point is on the first character of a
75f1671a 1877 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1878
a38c310c
GM
18792012-04-11 Glenn Morris <rgm@gnu.org>
1880
effed0c2
GM
1881 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1882 not just file-errors.
1883
a38c310c
GM
1884 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1885 (vc-bzr-sha1): Use internal sha1.
1886
0221e323
SM
18872012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1890
43956923
SG
18912012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1892
1893 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1894 that start in the middle of the line (bug#10496).
1895
6a8c9eaf
DN
18962012-04-10 Dan Nicolaescu <dann@gnu.org>
1897
1898 * battery.el (battery-linux-proc-acpi): Only one battery is
1899 discharged at a time, but that seems to confuse battery.el when
1900 computing `rate-type' for the battery not being discharged
1901 (bug#10332).
1902
1930bf5d
SM
19032012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1904
2a718f6f
SM
1905 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1906
599430d0
SM
1907 * international/quail.el: Use dolist and simplify.
1908 (quail-define-package, quail-update-keyboard-layout)
1909 (quail-define-rules): Use dolist.
1910 (quail-insert-kbd-layout, quail-get-translation): CSE.
1911
a2754b6c
SM
1912 * tmm.el: Use dolist, remove left over hook.
1913 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1914 Use dolist.
1915 (calendar-load-hook): Don't mess with it.
1916
1930bf5d
SM
1917 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1918 Use derived-mode-p. Run the diff asynchronously.
1919
9f67961c
LMI
19202012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921
1922 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1923
2a8ce227
JB
19242012-04-10 Juanma Barranquero <lekktu@gmail.com>
1925
1926 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1927 (list-dynamic-libraries--loaded): New function.
1928 (list-dynamic-libraries--refresh): Use it.
1929
8f33b5f8
NW
19302012-04-10 Nathan Weizenbaum <nweiz@google.com>
1931
1930bf5d
SM
1932 * progmodes/python.el (python-fill-paragraph):
1933 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1934 disabled (bug#7018).
1935
b12f0439
L
19362012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1937
1930bf5d 1938 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1939 DOS/MS Windows for the Baltic languages. There are still plenty
1940 of texts written in this encoding/codepage (bug#6519).
b12f0439 1941
57c3bd01
GM
19422012-04-10 Glenn Morris <rgm@gnu.org>
1943
1944 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1945 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1946
6c3eab30
FA
19472012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1948
1930bf5d 1949 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1950 next-line "n" and previous-line "p" in order to make recentf more
1951 consistent with ibuffer, dired or org-mode (bug#9387).
1952
24d78a88
LMI
19532012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1954
bc72b5d9
LMI
1955 * image.el (put-image): Return the overlay created instead of the
1956 optional input string (bug#7834). Note that this may break code
1957 that is (for some reason or other) depending on `put-image'
1958 returning the string.
1959
bd2dba5a
LMI
1960 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1961
74beb59f
LMI
1962 * simple.el (zap-to-char): Allow zapping using input methods
1963 (bug#1580).
1964
24d78a88
LMI
1965 * textmodes/fill.el (fill-region): Leave point and mark where they
1966 were before filling (bug#5399).
1967
263f20cd
GM
19682012-04-09 Glenn Morris <rgm@gnu.org>
1969
1970 * version.el (emacs-bzr-get-version):
1971 Handle lightweight checkouts of local branches.
1972
58d1f797
AS
19732012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1974
263f20cd 1975 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1976
b4d3bc10
CY
19772012-04-09 Chong Yidong <cyd@gnu.org>
1978
1979 * custom.el (custom-variable-p): Return nil for non-symbol
1980 arguments instead of signaling an error.
1981 (user-variable-p): Obsolete alias for custom-variable-p.
1982
1983 * apropos.el (apropos-variable):
1984 * files-x.el (read-file-local-variable):
1985 * simple.el (set-variable):
1986 * woman.el (woman-mini-help):
1987 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1988
fd06db5d
GM
19892012-04-09 Glenn Morris <rgm@gnu.org>
1990
e5fcdb5e
GM
1991 * startup.el (normal-top-level): Don't look for leim-list.el
1992 in places where it will not be found. (Bug#910)
1993
fd06db5d
GM
1994 * international/mule-cmds.el (set-default-coding-systems):
1995 * files.el (normal-mode):
1996 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1997 This function was removed with ucs-tables.el in 2008.
1998
b39bb7e1
EZ
19992012-04-08 Eli Zaretskii <eliz@gnu.org>
2000
2001 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2002 ispell-encoding8-command to "-i", without a trailing space.
2003 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2004 separate command-line arguments, to specify the encoding, since
2005 that's how hunspell expects it.
2006
5c5b8e23
GM
20072012-04-08 Glenn Morris <rgm@gnu.org>
2008
2009 * loadup.el: Load bindings before cus-start.
2010 This reduces somewhat the number of "rogue" settings in emacs -Q.
2011
a1ed8b05
GM
20122012-04-07 Glenn Morris <rgm@gnu.org>
2013
2014 * version.el (emacs-bzr-get-version): New function.
dfae128a 2015 (emacs-bzr-version): New variable.
a1ed8b05
GM
2016 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2017 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2018
b142f158
EZ
20192012-04-07 Eli Zaretskii <eliz@gnu.org>
2020
dfae128a
GM
2021 * international/uni-bidi.el, international/uni-category.el:
2022 * international/uni-combining.el, international/uni-decimal.el:
2023 * international/uni-decomposition.el, international/uni-digit.el:
2024 * international/uni-lowercase.el, international/uni-mirrored.el:
2025 * international/uni-name.el, international/uni-numeric.el:
2026 * international/uni-titlecase.el, international/uni-uppercase.el:
2027 Update for Unicode 6.1.
b142f158 2028
9078ead6
EZ
20292012-04-07 Eli Zaretskii <eliz@gnu.org>
2030
2031 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2032
f23d2c7d
LMI
20332012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2034
2035 * window.el (shrink-window): Mention the `window-min-height'
2036 variable in the doc string.
2037
0a0a3573
BG
20382012-04-05 Bastien Guerry <bzg@altern.org>
2039
2040 * color.el (color-lighten-name): Fix typo.
2041
e5248ac9
SM
20422012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * server.el (server--on-display-p): New function.
2045 (server--on-display-p): Use it.
2046
b4243e22
GV
20472012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2048
2049 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2050 (bug#11145).
2051
305d9f44
SM
20522012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * comint.el (comint--common-quoted-suffix): Check string boundary
2055 before comparing (bug#11158).
2056 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2057
3d439cd1
CY
20582012-04-04 Chong Yidong <cyd@gnu.org>
2059
321cc491
CY
2060 * minibuffer.el (completion-extra-properties): Doc fix.
2061
3d439cd1
CY
2062 * subr.el (delayed-warnings-hook): Doc fix.
2063
2d562c0f
DU
20642012-04-04 Daiki Ueno <ueno@unixuser.org>
2065
2066 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2067 selection (Bug#11159).
2068 (epa-insert-keys): Inform that the default public key will be
2069 exported if no key is selected.
2070
4443f204
RS
20712012-04-04 Richard Stallman <rms@gnu.org>
2072
2073 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2074
529c06b6
CY
20752012-04-03 Chong Yidong <cyd@gnu.org>
2076
2077 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2078 mail-insert-file, not its obsolete alias mail-attach-file.
2079
66b907dc
MA
20802012-04-03 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * notifications.el (notifications-notify): Fix docstring.
2083
c0ea195d
GM
20842012-04-02 Glenn Morris <rgm@gnu.org>
2085
2086 * emacs-lisp/authors.el (authors-aliases): Another addition.
2087
5ca64e00
MA
20882012-04-02 Michael Albinus <michael.albinus@gmx.de>
2089
2090 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2091 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2092 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2093
42ee526b
CY
20942012-04-01 Chong Yidong <cyd@gnu.org>
2095
2096 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2097 Handle root directory properly.
2098 (copy-directory): Caller changed.
2099
2100 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2101 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2102
0b021094
GM
21032012-03-31 Glenn Morris <rgm@gnu.org>
2104
40f86458
GM
2105 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2106
7019c177
GM
2107 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2108
a1daddd6
GM
2109 * calendar/calendar.el (calendar-window-list)
2110 (calendar-hide-window): Restore. (Bug#11140)
2111 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2112
0b021094
GM
2113 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2114
40311efc
TV
21152012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2116
2117 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2118 Check if file is a symlink (Bug#10489).
2119
2120 * files.el (copy-directory): Likewise.
2121
5319014e
CY
21222012-03-30 Chong Yidong <cyd@gnu.org>
2123
2124 * image.el (imagemagick-types-inhibit)
2125 (imagemagick-register-types): Doc fix.
2126
935d1290
AM
21272012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2128
ef24141c
SM
2129 * ispell.el (ispell-get-extended-character-mode):
2130 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2131 and treats ~word as ordinary words in pipe mode.
935d1290 2132
61c6e8fd
GM
21332012-03-30 Glenn Morris <rgm@gnu.org>
2134
2135 * tutorial.el (help-with-tutorial): Ensure local variables don't
2136 happen to make the buffer read-only. (Bug#11127)
2137
81fdff00
SM
21382012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2141 (perl-calculate-indent): Return `noindent' in strings.
2142
6e7a6ec0
SS
21432012-03-28 Sam Steingold <sds@gnu.org>
2144
2145 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2146 instead of the broken adhockery which does not prevent calendar
2147 buffers from being displayed at random after exit.
2148 (calendar-window-list, calendar-hide-window): Remove the broken
2149 adhockery.
2150
fee88ca0
GM
21512012-03-28 Glenn Morris <rgm@gnu.org>
2152
2153 * replace.el (query-replace-map): Doc fix.
2154
38de3354
AS
21552012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2158 contents. (Bug#11109)
2159
b973155e
SM
21602012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2163 (bug#11077).
2164 (avl-tree--check, avl-tree--check-node): New funs.
2165
dcb6e7b3
MR
21662012-03-27 Martin Rudalics <rudalics@gmx.at>
2167
2168 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2169 (switch-to-prev-buffer, switch-to-next-buffer):
2170 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2171 showing a buffer already is done on the same frame.
2172
b4fa35fa
GM
21732012-03-27 Glenn Morris <rgm@gnu.org>
2174
2175 * startup.el (mail-host-address): Doc fix.
2176
f9210e18
SM
21772012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2180 than 197 variables.
2181
c0bf7753
AF
21822012-03-26 Ami Fischman <ami@fischman.org>
2183
2184 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2185
33da7b16
GM
21862012-03-26 Glenn Morris <rgm@gnu.org>
2187
02243d9d
GM
2188 * files.el (save-buffers-kill-emacs): Doc fix.
2189
33da7b16
GM
2190 * startup.el (normal-top-level, command-line, command-line-1):
2191 Give them doc strings.
2192
e5a69fd0
EZ
21932012-03-25 Eli Zaretskii <eliz@gnu.org>
2194
2195 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2196 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2197
9a69676a
CY
21982012-03-25 Chong Yidong <cyd@gnu.org>
2199
4125cb8b
CY
2200 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2201 theme if it was previously enabled before (Bug#11031).
2202
dd470960
CY
2203 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2204 spec with custom-face-get-current-spec if its :shown-value is not
2205 determined yet (Bug#9337).
4125cb8b 2206 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2207
9a69676a
CY
2208 * button.el (button-at): Minor addition to docstring.
2209
6e7e90fa
SL
22102012-03-24 Simon Leinen <simon.leinen@gmail.com>
2211
2212 * vc/vc.el (vc-merge): Fix a prompt.
2213
f06e2758
CY
22142012-03-24 Chong Yidong <cyd@gnu.org>
2215
2216 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2217 point (Bug#9623).
2218
6e7e90fa
SL
2219 * button.el (button-at): Minor addition to docstring.
2220
b9d0879b
SM
22212012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * newcomment.el (comment-choose-indent): No space after BOL.
2224
e71cebb3
SS
22252012-03-22 Sam Steingold <sds@gnu.org>
2226
2227 * window.el (switch-to-prev-buffer): Revert last patch because the
2228 bug turned out to be an advertised feature (Elisp manual 28.14).
2229
335aff35
GM
22302012-03-22 Glenn Morris <rgm@gnu.org>
2231
2232 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2233 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2234
c676576a
LMI
22352012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2236
2237 * net/network-stream.el (network-stream-open-starttls): Make error
2238 message under Windows be less misleading.
2239
126f3d39
LW
22402012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2241
2242 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2243 understands (bug#9942).
2244
64fee311
CY
22452012-03-22 Chong Yidong <cyd@gnu.org>
2246
2247 * simple.el (end-of-visible-line): Handle return value of
2248 next-single-property-change properly (Bug#9371).
2249
a640d29a
KH
22502012-03-22 Kenichi Handa <handa@m17n.org>
2251
2252 * international/quail.el (quail-insert-kbd-layout): Fix previous
2253 change. To avoid unwanted bidi reordering, use
2254 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2255
39675016
DG
22562012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2259 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2260 (ruby-beginning-of-indent): Be more careful with the difference
2261 between word-boundary and symbol boundary.
2262 (ruby-mode-syntax-table): Make : a symbol constituent.
2263
0a6934fc 22642012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2265
3d008e4f
SM
2266 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2267
0a6934fc
SM
22682012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2269
af67c9d7
SM
2270 * progmodes/etags.el (tags-completion-at-point-function):
2271 Improve last fix.
2272
1acad97c
SM
2273 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2274
e298b5da
SS
22752012-03-21 Sam Steingold <sds@gnu.org>
2276
2277 * progmodes/etags.el (tags-completion-at-point-function):
2278 Avoid the error when point is inside the pattern.
2279
91d82a70
JY
22802012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2281
2282 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2283 line (Bug#10855).
2284
69188b79
CY
22852012-03-21 Drew Adams <drew.adams@oracle.com>
2286
2287 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2288
99fc91fe
AK
22892012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2290
2291 * ido.el (ido-set-current-directory, ido-read-internal)
2292 (ido-choose-completion-string, ido-completion-help): Handle nil
2293 value of ido-completion-buffer (Bug#11008).
2294
087bbb4c
SS
22952012-03-21 Sam Steingold <sds@gnu.org>
2296
2297 * window.el (switch-to-prev-buffer): Do not switch to a visible
2298 window previous buffer, just like with the frame previous buffers.
2299
fb5b8aca
CY
23002012-03-21 Chong Yidong <cyd@gnu.org>
2301
2302 * faces.el (make-face, make-empty-face, copy-face):
2303 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2304 Doc fixes.
2305
dc9924b8
SM
23062012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2309 (widget-complete): Remove broken use of it.
2310
f0bcceb9
CY
23112012-03-20 Chong Yidong <cyd@gnu.org>
2312
dc9924b8
SM
2313 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2314 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2315 characters.
2316
ee52ebf3
TH
23172012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2318
2319 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2320 to draw rectangles, not squares. (Regression introduced by revno
2321 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2322
4c5779ab
CY
23232012-03-18 Chong Yidong <cyd@gnu.org>
2324
2325 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2326 it is not yet defined (for temacs).
2327
15360934
LL
23282012-03-18 Leo Liu <sdl.web@gmail.com>
2329
dc9924b8 2330 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2331
d9a8eb66
EZ
23322012-03-17 Eli Zaretskii <eliz@gnu.org>
2333
2334 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2335 (ispell-choices-win-default-height, ispell-silently-savep)
2336 (ispell-dictionary-alist, ispell-encoding8-command)
2337 (ispell-check-version, ispell-aspell-find-dictionary)
2338 (ispell-valid-dictionary-list, ispell-words-keyword)
2339 (ispell-get-word, ispell-internal-change-dictionary)
2340 (ispell-region, ispell-skip-region-list)
2341 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2342 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2343 (ispell-message-text-end, ispell-message)
2344 (ispell-buffer-local-parsing): Doc fix.
2345
f02ff80d
J
23462012-03-13 Jambunathan K <kjambunathan@gmail.com>
2347
2348 * htmlfontify.el: Add support for code block fontification for ODT
2349 export (Bug #9914).
2350 (hfy-optimisations): Define new option
2351 `body-text-only'
2352 (hfy-fontify-buffer): Honor above setting.
2353 (hfy-begin-span, hfy-end-span): New routines factored out form
2354 `hfy-fontify-buffer'.
2355 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2356 that permit insertion of custom tags.
2357 (hfy-fontify-buffer): Use above handlers.
2358 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2359 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2360 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2361 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2362 bind a special variable `hfy-user-sheet-assoc'.
2363 (htmlfontify-string): New defun.
2364 (hfy-compile-face-map): Make sure that the last char in the
2365 buffer is correctly fontified.
2366 (hfy-face-resolve-face): Whitespace only change.
2367
9ac7a13f
EZ
23682012-03-17 Eli Zaretskii <eliz@gnu.org>
2369
2370 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2371 message more clear.
2372
e2b5bdd7
LL
23732012-03-16 Leo Liu <sdl.web@gmail.com>
2374
2375 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2376
2e492df3
AM
23772012-03-16 Alan Mackenzie <acm@muc.de>
2378
2379 Further optimise the handling of large macros.
2380
2381 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2382 limit to a call of `c-literal-limits'.
2383 (c-determine-+ve-limit): New function.
dc9924b8
SM
2384 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2385 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2386 In CASE 5B, restrict a search limit to 500.
2387 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2388
2389 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2390 Restrict macro bounds to +-500 from after-change's BEG END.
2391
50e94f0c
LL
23922012-03-16 Leo Liu <sdl.web@gmail.com>
2393
2394 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2395
6f09f6ed
AH
23962012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2397
2398 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2399 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2400
c7e73d51
GM
24012012-03-16 Glenn Morris <rgm@gnu.org>
2402
da986230
GM
2403 * view.el (view-buffer, view-buffer-other-window)
2404 (view-buffer-other-frame): Doc fixes re special mode-class.
2405
0835f01e
GM
2406 * subr.el (eval-after-load): If named feature is provided not from
2407 a file, run after-load forms. (Bug#10946)
2408
c7e73d51
GM
2409 * calendar/calendar.el (calendar-insert-at-column):
2410 Handle non-unit-width characters a bit better. (Bug#10978)
2411
3f2eafd1
CY
24122012-03-15 Chong Yidong <cyd@gnu.org>
2413
2414 * emacs-lisp/ring.el (ring-extend): New function.
2415 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2416
2417 * comint.el (comint-read-input-ring)
2418 (comint-add-to-input-history): Grow comint-input-ring lazily.
2419
103af3fe
SM
24202012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2421
663b1677
SM
2422 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2423 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2424
103af3fe
SM
2425 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2426 (imenu-add-to-menubar): Don't add a redundant index.
2427 (imenu-update-menubar): Handle a dynamically composed keymap.
2428
899cb7cb
KY
24292012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2430
2431 * mail/sendmail.el (mail-encode-header):
2432 Bind rfc2047-encode-encoded-words to nil.
2433
3809f91d
GM
24342012-03-13 Glenn Morris <rgm@gnu.org>
2435
2436 * calendar/calendar.el (calendar-string-spread):
2437 Handle non-unit-width characters a bit better. (Bug#10978)
2438
9e345a01
LL
24392012-03-13 Leo Liu <sdl.web@gmail.com>
2440
2441 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2442 directory and file as argument (Bug#10822).
2443
4a07df36
KS
24442012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2445
2446 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2447 For dynamically generated code, follow $PC.
2448 (gdb-disassembly-handler-custom): Handle no function name case.
2449
4aaa9356
TL
24502012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2451
2452 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2453 * emulation/ws-mode.el (ws-query-replace):
2454 * sort.el (sort-regexp-fields):
2455 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2456
225979da
SM
24572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * dabbrev.el: Fix cycle completion order (bug#10963).
2460 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2461 (dabbrev-completion): Don't use an obarray; provide
2462 a cycle-sort-function.
2463
e2f1fdab
LL
24642012-03-12 Leo Liu <sdl.web@gmail.com>
2465
dc9924b8 2466 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2467 (kill-do-not-save-duplicates): Doc fix.
2468
b19490ed
SM
24692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * dabbrev.el: Fix cycle completion (bug#10963).
2472 Use lexical binding and wrap to 80 columns.
2473 (dabbrev-completion): Delay computing the list of completions.
2474
4b05d722
KH
24752012-03-12 Kenichi Handa <handa@m17n.org>
2476
2477 * international/quail.el (quail-insert-kbd-layout): Surround each
2478 row by LRO and PDF instead of inserting many LRMs. Pad the left
2479 and right of each non-spacing marks. Insert invisible space
2480 between lower and upper characters to prevent composition.
2481
dbbc2e69
SM
24822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * minibuffer.el (minibuffer-complete): Don't get confused when the
2485 function is run twice via different commands (bug#10958).
2486 (complete-with-action): Fix docstring.
2487
292112ed
CY
24882012-03-12 Chong Yidong <cyd@gnu.org>
2489
5d1ac394
CY
2490 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2491 (nxml-completion-at-point-function): New function.
2492 (nxml-mode): Use it.
2493 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2494
292112ed
CY
2495 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2496 Load generated autoloads file before byte compiling (Bug#10970).
2497 (package--make-autoloads-and-compile): New helper fun.
2498
4098f8f7
CS
24992012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2500
2501 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2502
8f754691
MA
25032012-03-11 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * autorevert.el (auto-revert-handler): Ensure, that
2506 file-readable-p is applied only for local files or in
2507 auto-revert-tail-mode.
2508
e29ab36b
AS
25092012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2510
dbbc2e69
SM
2511 * server.el (server-eval-at): Handle non-tcp connections.
2512 Decode result string.
ad0bf5b6 2513
e29ab36b
AS
2514 * server.el (server-msg-size): New constant.
2515 (server-reply-print): New function.
2516 (server-eval-and-print): Use it.
2517 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2518 Handle -print-nonl.
2519
de5939ba
CS
25202012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2521
2522 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2523 (Bug#10987).
2524
0c93eabf
CY
25252012-03-11 Chong Yidong <cyd@gnu.org>
2526
397a688f
CY
2527 * simple.el (goto-line): Doc fix (Bug#9938).
2528
2cc775f9
CY
2529 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2530
0c93eabf
CY
2531 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2532 when finished (Bug#10963).
2533
c491fa41
MR
25342012-03-11 Martin Rudalics <rudalics@gmx.at>
2535
2536 * window.el (split-window-below): Fix bug in case where
2537 split-window-keep-point is nil (Bug#10971).
2538
300e8fa5
JL
25392012-03-11 Juri Linkov <juri@jurta.org>
2540
2541 * replace.el (replace-highlight): Set isearch-word to nil
2542 unconditionally. (Bug#10887)
2543
dbf6c5a1
EZ
25442012-03-10 Eli Zaretskii <eliz@gnu.org>
2545
2546 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2547 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2548 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2549 (mairix-widget-create-query): Add usage information about mairix
2550 search forms: negating words, searching for substrings, etc.
2551
b9e501de
JP
25522012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2553
2554 * international/fontset.el (font-encoding-alist): Add an entry for
2555 ksx1001 (Bug#5667).
2556
92795c91
RS
25572012-03-10 Richard Stallman <rms@gnu.org>
2558
1694e6c1
RS
2559 * mail/sendmail.el (mail-encode-header):
2560 Set rfc2047-encode-encoded-words.
2561
607e8555
RS
2562 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2563
de3bc99a
RS
2564 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2565 view buffer means not swapped.
2566 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2567 (rmail-write-region-annotate): Error if real text has disappeared.
2568
92795c91
RS
2569 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2570
699bd04e
CY
25712012-03-10 Chong Yidong <cyd@gnu.org>
2572
2573 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2574 * emulation/cua-base.el (cua--init-keymaps):
2575 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2576
570a1714
MR
25772012-03-10 Martin Rudalics <rudalics@gmx.at>
2578
dbbc2e69
SM
2579 * speedbar.el (speedbar-unhighlight-one-tag-line):
2580 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2581
82dcf4e4
CY
25822012-03-10 Chong Yidong <cyd@gnu.org>
2583
7a2c7ca7
CY
2584 * minibuffer.el (completion-in-region, completion-help-at-point):
2585 Give the completion field overlay a high priority (Bug#6830).
2586
82dcf4e4
CY
2587 * dired.el (dired-goto-file): Recognize absolute file name
2588 listings (Bug#7126).
2589 (dired-goto-file-1): New helper function.
2590 (dired-toggle-read-only): Inhibit warnings.
2591
052e28ac
MA
25922012-03-09 Michael Albinus <michael.albinus@gmx.de>
2593
75f1671a 2594 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2595 there are no properties.
2596
95d5e396
LL
25972012-03-09 Leo Liu <sdl.web@gmail.com>
2598
2599 * savehist.el (savehist-printable): Stricter check for string
2600 value (Bug#10937).
2601
3f018d6d
EZ
26022012-03-09 Eli Zaretskii <eliz@gnu.org>
2603
dbbc2e69
SM
2604 * mail/smtpmail.el (smtpmail-send-it):
2605 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2606 valid mbox format.
2607
f7fd3d79
GM
26082012-03-09 Glenn Morris <rgm@gnu.org>
2609
2610 * files.el (dir-locals-find-file):
2611 Don't check result is regular, readable.
2612 (dir-locals-read-from-file): Demote errors.
2613
6ff6e72f
EZ
26142012-03-08 Eli Zaretskii <eliz@gnu.org>
2615
dbbc2e69
SM
2616 * international/quail.el (quail-insert-kbd-layout):
2617 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2618 layout cell, to prevent their reordering by bidi display engine.
2619 For details, see the discussion in
2620 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2621
9cec7834
AM
26222012-03-08 Alan Mackenzie <acm@muc.de>
2623
2624 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2625 the starting position; make it extend the marked region when
2626 invoked repeatedly - all under appropriate circumstances.
2627 Fixes bugs #5525, #10906.
2628
9a40b8d4
GM
26292012-03-08 Glenn Morris <rgm@gnu.org>
2630
2631 * files.el (locate-dominating-file, dir-locals-find-file):
2632 Undo 2012-03-06 change.
2633
7a08ed35
EZ
26342012-03-07 Eli Zaretskii <eliz@gnu.org>
2635
dbbc2e69
SM
2636 * international/quail.el (quail-help):
2637 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2638 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2639 for the reason.
2640
5aca4f71 26412012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2642
2643 Avoid superfluous registering of signals. (Bug#10807)
2644
2645 * notifications.el (notifications-on-action-object)
2646 (notifications-on-close-object): New defvars.
2647 (notifications-on-action-signal, notifications-on-closed-signal):
2648 Unregister the signal if not needed any longer.
2649 (notifications-notify): Register `notifications-action-signal' or
2650 `notifications-closed-signal', if :on-action or :on-close has been
2651 passed as argument.
2652
78e8b10a
CY
26532012-03-07 Chong Yidong <cyd@gnu.org>
2654
2655 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2656 non-X platforms.
2657
69481eb8
GM
26582012-03-06 Glenn Morris <rgm@gnu.org>
2659
2660 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2661 (x-disown-selection-internal, x-get-selection-internal):
2662 Doc fix (add arglist signatures). (Bug#10783)
2663
133b8e11
KS
26642012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2665
2666 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2667 Handle breakpoints with no "type".
2668
99a83064
GM
26692012-03-06 Glenn Morris <rgm@gnu.org>
2670
2671 * files.el (locate-dominating-file): Add optional predicate argument.
2672 (dir-locals-find-file): Make use of above change.
2673
17798e78
TTN
26742012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2675
2676 * info.el (Info-insert-dir): Also try "dir.gz".
2677
eb182446
GM
26782012-03-06 Glenn Morris <rgm@gnu.org>
2679
8f2114ee
GM
2680 * files.el (dir-locals-find-file):
2681 Ignore non-readable or non-regular files. (Bug#10928)
2682
eb182446
GM
2683 * files.el (locate-dominating-file): Doc fix.
2684
24679323
AS
26852012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2686
2687 * calendar/calendar.el (calendar-set-mode-line):
2688 `getenv' returns a string. (Bug#10951)
2689
01d972a9
LL
26902012-03-05 Leo Liu <sdl.web@gmail.com>
2691
109aa8a9
LL
2692 * simple.el (backward-delete-char-untabify): Constrain point to
2693 field (Bug#10939).
2694
01d972a9
LL
2695 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2696
10607bea
CY
26972012-03-05 Chong Yidong <cyd@gnu.org>
2698
2699 * simple.el (count-words): If called from Lisp, return the word
2700 count, for symmetry with `count-lines'. Arglist changed.
2701 (count-words--message): Args changed. Consolidate counting code
2702 from count-words and count-words-region.
2703 (count-words-region): Caller changed.
2704 (count-lines-region): Make it an obsolete alias.
2705
5dd11cfe
TH
27062012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2707
2708 * saveplace.el (save-place-to-alist)
2709 (save-place-ignore-files-regexp): Allow value nil to disable this
2710 feature.
2711
c349f4e6
CY
27122012-03-04 Chong Yidong <cyd@gnu.org>
2713
2714 * faces.el (face-spec-reset-face): For the default face, reset the
2715 attributes to default values (Bug#10748).
2716
e627be4c
LMI
27172012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2718
2719 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2720 previous patch: Check `message-send-mail-function', and not the
2721 default function (bug#10897).
2722
ebeabff4
MA
27232012-03-04 Michael Albinus <michael.albinus@gmx.de>
2724
a41a6cf4
MA
2725 * notifications.el (notifications-on-action-signal)
2726 (notifications-on-closed-signal): Check for unique service name of
2727 incoming event. Fix error in removing entry.
ebeabff4 2728 (top): Register for signals with wildcard service name.
a41a6cf4 2729 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2730
c1ca42b4
CY
27312012-03-04 Chong Yidong <cyd@gnu.org>
2732
dc9924b8 2733 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2734
ea16568d
GM
27352012-03-04 Glenn Morris <rgm@gnu.org>
2736
2737 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2738 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2739 (expand-abbrev, define-abbrev-table): Doc fixes.
2740
fbae4637
LMI
27412012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2742
2743 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2744 `message-default-send-mail-function' and not `send-mail-function'
2745 when doing the prompting for `sendmail-query-once' before sending
2746 in Message buffers (bug#10897).
2747
a1e7225c
LMI
2748 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2749 This is inconsistent with all the other stream functions, which leave
2750 the setting up to the higher levels (if so wanted) (bug#10931).
2751
56d093a9
AM
27522012-03-02 Alan Mackenzie <acm@muc.de>
2753
2754 Depessimize the handling of very large macros.
2755
2756 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2757 (c-macro-cache-syntactic): New variables to implement a one
2758 element macro cache.
2759 (c-invalidate-macro-cache): New function.
2760 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2761 Adapt to use the new cache.
2762 (c-state-safe-place): Use better the cache of safe positions.
2763 (c-state-semi-nonlit-pos-cache)
2764 (c-state-semi-nonlit-pos-cache-limit):
2765 New variables for...
2766 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2767 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2768 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2769 Use c-state-semi-safe-place.
56d093a9 2770
dbbc2e69
SM
2771 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2772 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2773
817e5c3d
MA
27742012-03-02 Michael Albinus <michael.albinus@gmx.de>
2775
dbbc2e69
SM
2776 * jka-compr.el (jka-compr-call-process):
2777 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2778 not remote.
2779
a032a702
MA
27802012-03-01 Michael Albinus <michael.albinus@gmx.de>
2781
2782 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2783 access of FILE2, if FILE1 does not exist.
2784
99a54f21
MA
2785 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2786 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2787
2788 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2789 Add "PAGER=" to `process-environment'.
2790
f6561e1f
MM
27912012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2792
2793 * progmodes/sql.el: Bug fix
2794 (sql-get-login-ext): Save login values in globals.
2795 (sql-get-login): Use new version of `sql-get-login-ext'.
2796 (sql-interactive-mode): Set global `sql-connection' to nil.
2797 (sql-connect): Set global values for connection.
2798 (sql-product-interactive): Save global values as buffer local.
2799
2d44d9cc
LL
28002012-02-29 Leo Liu <sdl.web@gmail.com>
2801
2802 * abbrev.el (define-abbrevs): Reset sys to nil.
2803
96b49301 28042012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2805
bf7f9bc5
JB
2806 * files.el (file-equal-p): Rename from `files-equal-p'.
2807 Return nil when one or both files don't exist.
96b49301 2808 (file-subdir-of-p): Now only top directory must exists,
2809 return nil if it doesn't.
bf7f9bc5
JB
2810 (copy-directory): No need to test with `file-subdir-of-p' after
2811 creating dir.
2812 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2813 to `file-equal-p'.
96b49301 2814
44e97401
GM
28152012-02-28 Glenn Morris <rgm@gnu.org>
2816
2817 * shell.el (shell-mode):
2818 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2819 * play/landmark.el (landmark-font-lock-face-O):
2820 * play/handwrite.el (handwrite):
2821 * play/gomoku.el (gomoku-O):
2822 * net/browse-url.el (browse-url-browser-display):
2823 * international/mule.el (define-charset):
2824 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2825 * filesets.el (filesets-find-file-delay):
2826 * eshell/em-xtra.el (eshell-xtra):
2827 * eshell/em-unix.el (eshell-grep):
2828 * emulation/viper.el (viper-mode):
2829 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2830 * emacs-lisp/easymenu.el (easy-menu-define):
2831 * calendar/timeclock.el (timeclock-use-display-time):
2832 * bs.el (bs-mode):
2833 * bookmark.el (bookmark-save-flag):
2834 Doc fix (standardize possessive apostrophe usage).
2835
c98c6276
CY
28362012-02-27 Chong Yidong <cyd@gnu.org>
2837
bf7f9bc5
JB
2838 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2839 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2840
c98c6276
CY
2841 * font-lock.el (font-lock-specified-p): Rename from
2842 font-lock-spec-present. Callers changed.
2843
9c62cd04 28442012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2845
bf7f9bc5
JB
2846 * emacs-lisp/package.el (package-compute-transaction):
2847 Handle holding a package version to t in package-load-list.
8ac9e529 2848
530739c9
MA
28492012-02-26 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2852 (tramp-get-inode, tramp-get-device): Use cached values.
2853
487915d7
AM
28542012-02-26 Alan Mackenzie <acm@muc.de>
2855
2856 Check there is a font-lock specification before doing initial
2857 fontification.
2858
2859 * font-core.el (font-lock-mode): Move the conditional from
2860 :after-hook to font-lock-initial-fontify.
2861 (font-lock-default-function): Move the check for a specification
2862 to font-lock-spec-present.
2863
dc9924b8 2864 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2865 (font-lock-spec-present): New function.
2866
4fd96557
JB
28672012-02-26 Jim Blandy <jimb@red-bean.com>
2868
2869 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2870 (gdb-send): Apply it to the operand of the '-interpreter-exec
2871 console' command, so that we can pass arguments with (say) quotes
2872 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2873
9a4888c0
CY
28742012-02-26 Chong Yidong <cyd@gnu.org>
2875
07498861
CY
2876 * help-fns.el (describe-function-1): Clarify description of
2877 remapping (Bug#10844).
2878
9a4888c0
CY
2879 * files.el (files-equal-p): Doc fix.
2880 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2881 and quit the loop once a mismatch is found.
2882
ea8fb88d
JB
28832012-02-25 Juanma Barranquero <lekktu@gmail.com>
2884
2885 * bs.el (bs--show-with-configuration): Don't throw an error
2886 if the window cannot be split; otherwise, subsequent calls to
2887 bs-show fail, restoring a stale window config. (Bug#10882)
2888
525795c1
JD
28892012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2890
2891 * term/ns-win.el (global-map): Bind ns-drag-file to
2892 ns-find-file (Bug#5855, Bug#10050).
2893
f008086f
AS
28942012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2895
2896 * calendar/parse-time.el (parse-time-string): Allow extractor to
2897 return nil.
2898
a3fcfa99
MA
28992012-02-25 Michael Albinus <michael.albinus@gmx.de>
2900
91027d08
JB
2901 * net/tramp.el (tramp-file-name-for-operation):
2902 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2903
2904 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2905 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2906 Add COPY-CONTENTS argument.
a3fcfa99 2907
67b0de11
CY
29082012-02-25 Chong Yidong <cyd@gnu.org>
2909
2910 Add custom groups for VC backends, for consistency with vc-bzr.
2911
2912 * vc/vc-arch.el (vc-arch):
2913 * vc/vc-cvs.el (vc-cvs):
2914 * vc/vc-git.el (vc-git):
2915 * vc/vc-hg.el (vc-hg):
2916 * vc/vc-mtn.el (vc-mtn):
2917 * vc/vc-rcs.el (vc-rcs):
2918 * vc/vc-sccs.el (vc-sccs):
2919 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2920 All relevant defcustoms reassigned.
2921
3c9dfce6
CY
29222012-02-25 Chong Yidong <cyd@gnu.org>
2923
1339bf43
CY
2924 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2925
3c9dfce6
CY
2926 * term/x-win.el (x-initialize-window-system): Reduce default for
2927 x-selection-timeout to 5 seconds (Bug#8869).
2928
25b2e303 29292012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2930
ec70a47d
GM
2931 * files.el (files-equal-p, file-subdir-of-p): New functions.
2932 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2933 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2934 * dired-aux.el (dired-copy-file-recursive): Same.
2935 (dired-create-files): Modify destination when source is equal to
2936 dest when copying files.
53a46cd0 2937 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2938
914260cd
MA
29392012-02-24 Michael Albinus <michael.albinus@gmx.de>
2940
2941 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2942 (Bug#10874)
2943
2cb228f7
AM
29442012-02-23 Alan Mackenzie <acm@muc.de>
2945
2946 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2947 parameter "after-hook:" to allow the expansion to run code after
2948 the execution of the mode hooks.
2949
2950 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2951 from font-lock-mode-internal.
2cb228f7 2952
91027d08 2953 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2954 :after-hook.
2955
8f0fde21
SM
29562012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2957
3e88618b
SM
2958 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2959 (completion--cache-all-sorted-completions): New function.
2960 (completion-all-sorted-completions): Use it.
2961 (completion--do-completion, minibuffer-force-complete):
2962 Use it to re-instate the flush hook.
2963
8f0fde21
SM
2964 * icomplete.el (icomplete-completions): Replace last fix with a better
2965 one (bug#10850).
2966
8e911f6f
DG
29672012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2968
2969 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2970 when it might call us back infinitely (bug#10797).
2971
49fe4321
GM
29722012-02-23 Glenn Morris <rgm@gnu.org>
2973
2974 * minibuffer.el (completion-category-overrides): Doc fix.
2975
b291b572
SM
29762012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2979 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2980
31a9ef2e
GM
29812012-02-23 Glenn Morris <rgm@gnu.org>
2982
5e6e6794 2983 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2984 (authors-obsolete-files-regexps, authors-ignored-files)
2985 (authors-ambiguous-files, authors-renamed-files-alist):
2986 Add more entries.
2987
0bd1e074
JL
29882012-02-23 Juri Linkov <juri@jurta.org>
2989
2990 * isearch.el (isearch-occur): Sync interactive spec with occur's
2991 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2992
b617673c
JL
2993 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2994
19e9789e
JL
29952012-02-22 Juri Linkov <juri@jurta.org>
2996
2997 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2998 (ucs-insert): Doc fix. Check for hex digits in the string.
2999 Don't display `nil' in the error message. (Bug#10857)
3000
f41ce09d
AM
30012012-02-22 Alan Mackenzie <acm@muc.de>
3002
7a71b18d 3003 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3004
ac2eceee
GM
30052012-02-22 Glenn Morris <rgm@gnu.org>
3006
3007 * ffap.el (ffap-c-path):
3008 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3009
abd1f678
CY
30102012-02-22 Chong Yidong <cyd@gnu.org>
3011
3012 * custom.el (load-theme): Doc fix.
3013
f25aef2e
GM
30142012-02-22 Glenn Morris <rgm@gnu.org>
3015
3016 * dired-x.el (dired-guess-shell-alist-default):
3017 Remove escape sequences from nroff output. (Bug#172)
3018
5f8dc2ca
GM
30192012-02-21 Glenn Morris <rgm@gnu.org>
3020
6ff86ec4
GM
3021 * vc/emerge.el (emerge-defvar-local):
3022 Set `permanent-local' property rather than unused `preserved'.
3023
be3223a3 3024 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3025 (picture-mode-map): Use it. (Bug#10860)
3026 (picture-mode): Doc fix.
3027
3fe58f4f
JB
30282012-02-21 Juanma Barranquero <lekktu@gmail.com>
3029
3030 * newcomment.el (uncomment-region-default): Remove unused binding.
3031
f9a998c3
GM
30322012-02-21 Glenn Morris <rgm@gnu.org>
3033
3034 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3035 (picture-self-insert, picture-tab-chars): Doc fix.
3036 (picture-mode-map): Fix C-a, C-e.
3037
c6029348
GM
30382012-02-20 Glenn Morris <rgm@gnu.org>
3039
3040 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3041
ab1ce9d7
LL
30422012-02-20 Leo Liu <sdl.web@gmail.com>
3043
3044 * icomplete.el (icomplete-completions): Check FROM arg before
3045 passing to substring (Bug#10850).
3046
0fd40f89
CY
30472012-02-19 Chong Yidong <cyd@gnu.org>
3048
3049 * comint.el: Require ansi-color.
3050 (comint-output-filter-functions): Add ansi-color-process-output.
3051
3052 * ansi-color.el: Don't set comint-output-filter-functions; it is
3053 now in the initial value defined in comint.el.
3054 (ansi-color-apply-face-function): New variable.
3055 (ansi-color-apply-on-region): Use it.
3056 (ansi-color-apply-overlay-face): New function.
3057
3058 * shell.el (shell): No need to require ansi-color.
3059 (shell-mode): Use ansi-color-apply-face-function to highlight
3060 color escapes using font-lock-face property (Bug#10835).
3061
20af2394
CY
30622012-02-19 Chong Yidong <cyd@gnu.org>
3063
3064 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3065 mode-line formats (Bug#10839).
3066
e23a3fbe
GM
30672012-02-18 Glenn Morris <rgm@gnu.org>
3068
b474519e
GM
3069 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3070
3071 * mail/undigest.el (unforward-rmail-message): Doc fix.
3072
e23a3fbe
GM
3073 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3074
57939ff4
EZ
30752012-02-18 Eli Zaretskii <eliz@gnu.org>
3076
3077 * international/characters.el (script-list): Sync with the latest
3078 Unicode Character Database.
3079
0c23686e
AS
30802012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3081
3082 * international/titdic-cnv.el: Remove duplicate coding tag.
3083 * language/cham.el: Likewise.
3084 * language/tai-viet.el: Likewise.
3085
6818b449
GM
30862012-02-18 Glenn Morris <rgm@gnu.org>
3087
3088 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3089 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3090 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3091 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3092 * calendar/holidays.el (holiday-bahai-holidays)
3093 (calendar-holidays, list-holidays):
3094 Use utf-8 Bahá'í in doc-strings, menus, etc.
3095
0311a3fc
TH
30962012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3097
3098 * saveplace.el (save-place-ignore-files-regexp): New variable
3099 allowing for excluding files from saving their location of point.
3100 The default value matches the temporary commit message editing
3101 files from Git, SVN, Bazaar, and Mercurial.
3102 (save-place-to-alist): Use it.
3103
eb864a71
LM
31042012-02-17 Lawrence Mitchell <wence@gmx.li>
3105 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * newcomment.el (uncomment-region-default): Don't leave extra space
3108 when an arg is provided (bug#8150).
3109
ee0ce425
TZ
31102012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3111
eb864a71 3112 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3113
95ddf442
GM
31142012-02-17 Glenn Morris <rgm@gnu.org>
3115
3116 * net/socks.el: Require network-stream. (Bug#10599)
3117
48dd1e39 31182012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3119
3120 * international/charprop.el:
3121 * international/uni-name.el:
3122 * international/uni-old-name.el:
3123 * international/uni-comment.el: Regenerate.
3124
d68cd087
GM
31252012-02-16 Glenn Morris <rgm@gnu.org>
3126
3127 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3128 Interactively in calendar buffer, give an error if not on a date.
3129
13932042
GM
31302012-02-15 Glenn Morris <rgm@gnu.org>
3131
3132 * shell.el (shell-delimiter-argument-list):
3133 Revert 2011-02-17 change. (Bug#8027)
3134
c3a70e2b
CY
31352012-02-15 Chong Yidong <cyd@gnu.org>
3136
60236b0d
CY
3137 * minibuffer.el (completion-at-point-functions): Doc fix.
3138
c3a70e2b
CY
3139 * custom.el (defcustom): Doc fix; note use of defvar.
3140
9f26dc24
GM
31412012-02-15 Glenn Morris <rgm@gnu.org>
3142
3143 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3144 Doc fixes.
3145
6546b134
GM
31462012-02-14 Glenn Morris <rgm@gnu.org>
3147
3148 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3149
d29b2b4c
LI
31502012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3151
3152 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3153 way the ports list is computed.
835bdcba
LI
3154 (smtpmail-query-smtp-server): Prompt the user for a port number if
3155 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3156
08dcdbc9
TZ
31572012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3158
3159 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3160
2605051a
GM
31612012-02-13 Glenn Morris <rgm@gnu.org>
3162
3163 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3164
7ee99f32
TZ
31652012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3166
3167 * net/gnutls.el (gnutls-trustfiles): New variable.
3168 (gnutls-negotiate): Use it.
3169
5f0af64f
LI
31702012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3171
3172 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3173 does its stuff if Gnus is running.
3174
c14fcc95
AM
31752012-02-13 Alan Mackenzie <acm@muc.de>
3176
3177 Fix a loop in c-set-fl-decl-start.
3178
7a71b18d 3179 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3180 c-backward-syntactic-ws actually moves backwards.
3181
142b4d90
LL
31822012-02-13 Leo Liu <sdl.web@gmail.com>
3183
3184 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3185 beginning so that all \C-o chars are removed.
3186
fa9958a6
TZ
31872012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3188
dc9924b8 3189 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3190
0bc5886a
AM
31912012-02-12 Alan Mackenzie <acm@muc.de>
3192
3193 Fix infinite loop with long macros.
4d6769e1 3194 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3195
d4bd55e7
CY
31962012-02-12 Chong Yidong <cyd@gnu.org>
3197
3198 * window.el (display-buffer): Doc fix (Bug#10785).
3199
66f3fe22
GM
32002012-02-12 Glenn Morris <rgm@gnu.org>
3201
bd7da63e
GM
3202 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3203 (x-disown-selection-internal, x-get-selection-internal):
3204 Sync docs with the xselect.c versions.
3205
66f3fe22
GM
3206 * allout-widgets.el: Add missing license notice.
3207
3e0d2fa7
GM
32082012-02-11 Glenn Morris <rgm@gnu.org>
3209
cfecdf09
GM
3210 * select.el (x-get-selection-internal, x-own-selection-internal)
3211 (x-disown-selection-internal):
3212 * x-dnd.el (x-get-selection-internal): Update declarations.
3213
6d216d7f
GM
3214 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3215
2bed3f04
GM
3216 * window.el (window-sides-slots):
3217 * tool-bar.el (tool-bar-position):
3218 * term/xterm.el (xterm-extra-capabilities):
3219 * ses.el (ses-self-reference-early-detection):
3220 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3221 (verilog-auto-wire-type)
3222 (verilog-auto-delete-trailing-whitespace)
3223 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3224 (verilog-auto-tieoff-declaration):
3225 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3226 (sql-oracle-statement-starters, sql-oracle-scan-on):
3227 * progmodes/prolog.el (prolog-align-comments-flag)
3228 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3229 (prolog-left-indent-regexp, prolog-paren-indent-p)
3230 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3231 (prolog-types, prolog-mode-specificators)
3232 (prolog-determinism-specificators, prolog-directives)
3233 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3234 (prolog-electric-dot-flag)
3235 (prolog-electric-dot-full-predicate-template)
3236 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3237 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3238 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3239 (prolog-program-switches, prolog-prompt-regexp)
3240 (prolog-debug-on-string, prolog-debug-off-string)
3241 (prolog-trace-on-string, prolog-trace-off-string)
3242 (prolog-zip-on-string, prolog-zip-off-string)
3243 (prolog-use-standard-consult-compile-method-flag)
3244 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3245 (prolog-imenu-max-lines, prolog-info-predicate-index)
3246 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3247 (prolog-char-quote-workaround):
3248 * progmodes/cc-vars.el (c-defun-tactic):
3249 * net/tramp.el (tramp-encoding-command-interactive)
3250 (tramp-local-end-of-line):
3251 * net/soap-client.el (soap-client):
3252 * net/netrc.el (netrc-file):
3253 * net/gnutls.el (gnutls):
3254 * minibuffer.el (completion-category-overrides)
3255 (completion-cycle-threshold)
3256 (completion-pcm-complete-word-inserts-delimiters):
3257 * man.el (Man-name-local-regexp):
3258 * mail/feedmail.el (feedmail-display-full-frame):
3259 * international/characters.el (glyphless-char-display-control):
3260 * eshell/em-ls.el (eshell-ls-date-format):
3261 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3262 (lisp-lambda-list-keyword-parameter-indentation)
3263 (lisp-lambda-list-keyword-parameter-alignment):
3264 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3265 * dired-x.el (dired-omit-verbose):
3266 * cus-theme.el (custom-theme-allow-multiple-selections):
3267 * calc/calc.el (calc-highlight-selections-with-faces)
3268 (calc-lu-field-reference, calc-lu-power-reference)
3269 (calc-note-threshold):
3270 * battery.el (battery-mode-line-limit):
3271 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3272 (archive-7z-update):
3273 * allout.el (allout-prefixed-keybindings)
3274 (allout-unprefixed-keybindings)
3275 (allout-inhibit-auto-fill-on-headline)
3276 (allout-flattened-numbering-abbreviation):
3277 * allout-widgets.el (allout-widgets-auto-activation)
3278 (allout-widgets-icons-dark-subdir)
3279 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3280 (allout-widgets-theme-dark-background)
3281 (allout-widgets-theme-light-background)
3282 (allout-widgets-item-image-properties-emacs)
3283 (allout-widgets-item-image-properties-xemacs)
3284 (allout-widgets-run-unit-tests-on-load)
3285 (allout-widgets-time-decoration-activity)
3286 (allout-widgets-hook-error-post-time)
3287 (allout-widgets-track-decoration):
3288 Add missing :version tags to new defcustoms and defgroups.
3289
5fec1b8e
GM
3290 * progmodes/sql.el (sql-ansi-statement-starters)
3291 (sql-oracle-statement-starters): Add custom type.
3292
3e0d2fa7
GM
3293 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3294 (prolog-system-version): Give it a type.
3295
90b671e2
EZ
32962012-02-11 Eli Zaretskii <eliz@gnu.org>
3297
3298 * term/pc-win.el (x-select-text, x-selection-owner-p)
3299 (x-own-selection-internal, x-disown-selection-internal)
3300 (x-get-selection-internal): Sync doc strings and argument lists
3301 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3302
5eac0c02
LL
33032012-02-11 Leo Liu <sdl.web@gmail.com>
3304
3305 * progmodes/python.el (python-end-of-statement): Fix infinite
3306 loop. (Bug#10788)
3307
f82cb659
GM
33082012-02-10 Glenn Morris <rgm@gnu.org>
3309
3310 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3311 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3312
cc26d239
LI
33132012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3314
3315 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3316 about SMTP before checking the From header.
3317
91027d08 3318 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3319 into own function for reuse by emacsbug.el.
3320
1be3ca5a
LL
33212012-02-10 Leo Liu <sdl.web@gmail.com>
3322
3323 * subr.el (condition-case-unless-debug): Rename from
3324 condition-case-no-debug. All callers changed.
3325 (with-demoted-errors): Fix caller.
3326
3327 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3328 * nxml/rng-valid.el (rng-do-some-validation):
3329 * emacs-lisp/package.el (package-refresh-contents)
3330 (package-menu-execute):
3331 * desktop.el (desktop-create-buffer):
91027d08 3332 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3333
b011fbfe
GM
33342012-02-10 Glenn Morris <rgm@gnu.org>
3335
b2096d72
GM
3336 * textmodes/bibtex.el:
3337 Add missing :version tags for new/changed defcustoms.
3338
b011fbfe
GM
3339 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3340
4c7e65bf
LI
33412012-02-09 Lars Ingebrigtsen <larsi@rusty>
3342
3343 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3344 (smtpmail-via-smtp): Use it, or fall back on the From address.
3345 (smtpmail-send-it): Ditto.
3346
f3934f6f
SM
33472012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3350 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3351 (byte-compile-tmp-var): New const.
3352 (byte-compile-defvar): Use it to minimize .elc size.
3353 Just use `defvar' rather than simulate it (bug#10761).
3354
a075a2c5
GM
33552012-02-09 Glenn Morris <rgm@gnu.org>
3356
cf3aa21b
GM
3357 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3358
354998cd
GM
3359 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3360 Add :version tags.
3361
dc9924b8
SM
3362 * progmodes/compile.el (compilation-error-screen-columns)
3363 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3364
dab3703d
GM
3365 * vc/log-view.el (log-view-toggle-entry-display):
3366 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3367
3f88cd72
GM
3368 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3369 (report-emacs-bug-can-use-xdg-email):
3370 (report-emacs-bug-insert-to-mailer): Doc fixes.
3371 (report-emacs-bug): Message fix.
3372
d95b247d
GM
3373 * net/browse-url.el (browse-url-can-use-xdg-open)
3374 (browse-url-xdg-open): Doc fixes.
3375
a075a2c5
GM
3376 * electric.el (electric-indent-mode, electric-pair-mode)
3377 (electric-layout-rules, electric-layout-mode): Doc fixes.
3378 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3379
ffb6157e
MR
33802012-02-08 Martin Rudalics <rudalics@gmx.at>
3381
3382 * server.el (server-unselect-display): Don't inadvertently kill
3383 the current buffer. (Bug#10729)
3384
e1ac4066
GM
33852012-02-08 Glenn Morris <rgm@gnu.org>
3386
34e8a2da
GM
3387 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3388 (sql-list-table): Doc fixes.
3389
b4ac6e8c
GM
3390 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3391 Comment out (does nothing).
3392
e1ac4066
GM
3393 * completion.el (dynamic-completion-mode):
3394 * dirtrack.el (dirtrack-debug-mode):
3395 * electric.el (electric-layout-mode):
3396 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3397 * face-remap.el (text-scale-mode, buffer-face-mode):
3398 * iimage.el (iimage-mode):
3399 * image-mode.el (image-transform-mode):
3400 * minibuffer.el (completion-in-region-mode):
3401 * scroll-lock.el (scroll-lock-mode):
3402 * simple.el (next-error-follow-minor-mode):
3403 * tar-mode.el (tar-subfile-mode):
3404 * tooltip.el (tooltip-mode):
3405 * vcursor.el (vcursor-use-vcursor-map):
3406 * wid-browse.el (widget-minor-mode):
3407 * emulation/tpu-edt.el (tpu-edt-mode):
3408 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3409 * international/iso-ascii.el (iso-ascii-mode):
3410 * language/thai-util.el (thai-word-mode):
3411 * mail/supercite.el (sc-minor-mode):
3412 * net/goto-addr.el (goto-address-mode):
3413 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3414 * progmodes/cwarn.el (cwarn-mode):
3415 * progmodes/flymake.el (flymake-mode):
3416 * progmodes/glasses.el (glasses-mode):
3417 * progmodes/hideshow.el (hs-minor-mode):
3418 * progmodes/pascal.el (pascal-outline-mode):
3419 * textmodes/enriched.el (enriched-mode):
3420 * vc/smerge-mode.el (smerge-mode):
3421 Doc fixes (minor mode argument).
3422
5e0d957f
EZ
34232012-02-07 Eli Zaretskii <eliz@gnu.org>
3424
3425 * ls-lisp.el (ls-lisp-sanitize): New function.
3426 (ls-lisp-insert-directory): Use it to fix or remove any elements
3427 in file-alist with missing attributes. (Bug#4673)
3428
98d7371e
AM
34292012-02-07 Alan Mackenzie <acm@muc.de>
3430
3431 Fix spurious recognition of c-in-knr-argdecl.
3432
3433 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3434 putative K&R region.
3435
667ced3a
AM
34362012-02-07 Alan Mackenzie <acm@muc.de>
3437
eb864a71
LM
3438 * progmodes/cc-engine.el (c-forward-objc-directive):
3439 Prevent looping in "#pragma mark @implementation".
667ced3a 3440
5b77774d
MA
34412012-02-07 Michael Albinus <michael.albinus@gmx.de>
3442
3443 * notifications.el (notifications-on-closed-signal): Make `reason'
3444 optional. (Bug#10744)
3445
af008560
GM
34462012-02-07 Glenn Morris <rgm@gnu.org>
3447
60d47423
GM
3448 * emacs-lisp/easy-mmode.el (define-minor-mode):
3449 Doc fixes for the macro and the mode it defines.
3450
dd605cc4
GM
3451 * image.el (imagemagick-types-inhibit): Doc fix.
3452
af008560
GM
3453 * cus-start.el (imagemagick-render-type): Add it.
3454
5cc59a37
LI
34552012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3456
4d6769e1
JB
3457 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3458 Set the default at load time, too, so that `font-lock-fontify-buffer'
3459 can be called without setting up the entire mode first. This fixes
3460 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3461
9a6dd747
CY
34622012-02-06 Chong Yidong <cyd@gnu.org>
3463
2d16b285
CY
3464 * simple.el (list-processes--refresh): Delete exited processes
3465 (Bug#8094).
3466
171e9b6e
CY
3467 * comint.el (comint-next-prompt): next-single-char-property-change
3468 and prev-single-char-property-change never return nil (Bug#8657).
3469
9a6dd747
CY
3470 * custom.el (defcustom): Doc fix (Bug#9711).
3471
aa4589a7
CY
34722012-02-05 Chong Yidong <cyd@gnu.org>
3473
5c2a252f
CY
3474 * cus-edit.el (custom-variable-reset-backup): Quote the value
3475 before storing it in the customized-value property (Bug#6712).
4aab9006 3476 (custom-display): Add a customization type tag.
983b9602 3477 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3478
aa4589a7
CY
3479 * wid-edit.el (widget-field-value-get): New optional arg to
3480 suppress trailing whitespace truncation.
3481 (character): Use it (Bug#2689).
3482
1ff980ae
AS
34832012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3486 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3487
03988c98
CY
34882012-02-05 Chong Yidong <cyd@gnu.org>
3489
eeb6cc88
CY
3490 * cus-edit.el (custom-variable-value-create): For mismatched
3491 types, show the current value (Bug#7600).
3492
03988c98
CY
3493 * custom.el (defcustom): Doc fix.
3494
f8cdeef0
GM
34952012-02-05 Glenn Morris <rgm@gnu.org>
3496
3497 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3498
0696d255
JB
34992012-02-05 Juanma Barranquero <lekktu@gmail.com>
3500
3501 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3502 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3503 (pp-last-sexp): Use `looking-at-p'.
3504
34c99998
GM
35052012-02-04 Glenn Morris <rgm@gnu.org>
3506
8f05da42
GM
3507 * files.el (revert-buffer):
3508 Doc fix (mention revert-buffer-in-progress-p).
3509
f160676e
GM
3510 * emacs-lisp/ert-x.el (ert-simulate-command):
3511 Check deferred-action-list (which is obsolete) is bound.
3512
c7291ad9
GM
3513 * subr.el (with-wrapper-hook): Doc fixes.
3514
34c99998
GM
3515 * simple.el (filter-buffer-substring-functions)
3516 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3517
6283a7d3
LL
35182012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3519
3520 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3521 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3522
e96e3013
LL
35232012-02-04 Leo Liu <sdl.web@gmail.com>
3524
3525 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3526
8ded50f2
GM
35272012-02-04 Glenn Morris <rgm@gnu.org>
3528
82ff1d13
GM
3529 * image.el (image-extension-data): Add obsolete alias.
3530
987a0a16
GM
3531 * isearch.el (isearch-update): Doc fix.
3532
ea32ef46
GM
3533 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3534
8ded50f2
GM
3535 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3536
eea14f31
GM
35372012-02-03 Glenn Morris <rgm@gnu.org>
3538
3539 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3540 (image-animate-timeout): Doc fix.
3541
3542 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3543
12f381b7
GM
35442012-02-02 Glenn Morris <rgm@gnu.org>
3545
953cebf5
GM
3546 * server.el (server-auth-dir): Doc fix.
3547 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3548
12f381b7
GM
3549 * subr.el (run-mode-hooks): Doc fix.
3550
953a8c3b
JL
35512012-02-02 Juri Linkov <juri@jurta.org>
3552
3553 * image-mode.el (image-toggle-display-image): Remove tautological
3554 `major-mode' from the `derived-mode-p' test.
3555
c5d3843c
KH
35562012-02-02 Kenichi Handa <handa@m17n.org>
3557
9f6e692e 3558 * composite.el (compose-region): Cancel previous change.
c5d3843c 3559
159462d4 35602012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3561
3562 * composite.el (compose-region, compose-string): Signal error for
3563 a null string component (Bug#6988).
3564
9f562668
CY
35652012-02-01 Chong Yidong <cyd@gnu.org>
3566
e2cef717
CY
3567 * view.el (view-buffer-other-window, view-buffer-other-frame):
3568 Handle special modes like view-buffer (Bug#10650).
3569 (view-buffer): Simplify.
3570
9f562668
CY
3571 * frame.el (set-frame-font): Tweak meaning of third argument.
3572
9f6e692e
JB
3573 * dynamic-setting.el (font-setting-change-default-font):
3574 Use set-frame-font (Bug#9982).
9f562668 3575
781acb9f
GM
35762012-02-01 Glenn Morris <rgm@gnu.org>
3577
6035be52
GM
3578 * progmodes/compile.el (compilation-internal-error-properties):
3579 Respect compilation-first-column in the "*compilation*" buffer.
3580
781acb9f
GM
3581 * emacs-lisp/easy-mmode.el (define-minor-mode):
3582 Relax :variable's test for a named function.
3583
abbceb00
AM
35842012-01-31 Alan Mackenzie <acm@muc.de>
3585
3586 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3587 off by one error.
3588
fce3fdeb
CY
35892012-01-31 Chong Yidong <cyd@gnu.org>
3590
3591 * frame.el (set-frame-font): New arg ALL-FRAMES.
3592
3593 * menu-bar.el (menu-set-font): Use set-frame-font.
3594
3595 * faces.el (face-spec-reset-face): Don't apply unspecified
3596 attribute values to the default face.
3597
47893581
JB
35982012-01-31 Juanma Barranquero <lekktu@gmail.com>
3599
3600 * progmodes/cwarn.el (cwarn): Remove dead link.
3601 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3602 Remove * from defcustom docstrings.
3603 (turn-on-cwarn-mode): Make obsolete.
3604 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3605 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3606
e58e988a
GM
36072012-01-31 Glenn Morris <rgm@gnu.org>
3608
60dc2671 3609 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3610 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3611 Allow named functions to be used as the cdr of :variable.
e58e988a 3612
7a3f511d
GM
36132012-01-30 Glenn Morris <rgm@gnu.org>
3614
3615 * emacs-lisp/authors.el (authors-fixed-entries):
3616 Remove reference to deleted file rnewspost.el.
3617
cb882333
JB
36182012-01-29 Juanma Barranquero <lekktu@gmail.com>
3619
3620 * window.el (window-with-parameter): Remove unused variable `windows'.
3621 (window--side-check): Remove unused variable `code'.
3622 (window--resize-siblings): Remove unused variable `first'.
3623 (adjust-window-trailing-edge): Remove unused variable `failed'.
3624 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3625 Use `let', not `let*'.
3626 (balance-windows-2): Remove unused variable `found'.
3627 (window--state-put-2): Remove unused variable `splits'.
3628 (window-state-put): Remove unused variable `selected'.
3629 (same-window-p): Use `string-match-p'.
3630 (display-buffer-assq-regexp): Remove unused variable `value'.
3631 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3632 Mark argument ALIST as ignored.
3633 (pop-to-buffer): Remove unused variable `old-window'.
3634
907201af
EZ
36352012-01-29 Eli Zaretskii <eliz@gnu.org>
3636
3637 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3638 and .lzma compressed files.
3639
ea162670
CY
36402012-01-29 Chong Yidong <cyd@gnu.org>
3641
5b95ee8a
CY
3642 * frame.el (window-system-default-frame-alist): Doc fix.
3643
ea162670
CY
3644 * dynamic-setting.el (font-setting-change-default-font): Don't
3645 change the default face if SET-FONT argument is non-nil (Bug#9982).
3646
d6e6f4b1
SB
36472012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3648
3649 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3650
0f29fa41 36512012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3652
3653 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3654 breakpoints in files outside current directory (Bug#6098).
3655
db174434
CY
36562012-01-29 Chong Yidong <cyd@gnu.org>
3657
6b25e4e2
SE
3658 * progmodes/python.el: Require ansi-color at top-level.
3659
6df6ae42
JB
3660 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3661 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3662 (lisp-mode-abbrev-table): Add doc.
3663 (lisp-mode-variables): Don't set local-abbrev-table.
3664 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3665
e70ee681
RW
36662012-01-28 Roland Winkler <winkler@gnu.org>
3667
3668 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3669
ace88aa2
RW
36702012-01-28 Roland Winkler <winkler@gnu.org>
3671
3672 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3673 (bibtex-set-dialect): Use it. Either set global values of
3674 dialect-dependent variables or bind these variables buffer-locally
3675 (Bug#10254).
3676 (bibtex-mode): Call bibtex-set-dialect via
3677 hack-local-variables-hook.
eb864a71
LM
3678 (bibtex-dialect): Update docstring.
3679 Add safe-local-variable predicate.
ace88aa2
RW
3680 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3681 bibtex-set-dialect.
3682 (bibtex-mode-map): Define menu for each dialect.
3683 (bibtex-entry): Fix docstring.
3684
93376c5b
CY
36852012-01-28 Chong Yidong <cyd@gnu.org>
3686
3687 * eshell/esh-arg.el (eshell-quote-argument): New function.
3688
3689 * eshell/esh-ext.el (eshell-invoke-batch-file):
3690 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3691 first arg to eshell-parse-command (Bug#10523).
3692
4372494f
DA
36932012-01-28 Drew Adams <drew.adams@oracle.com>
3694
3695 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3696 `default-directory' is non-nil.
3697
4d4ec1f8
EZ
36982012-01-28 Eli Zaretskii <eliz@gnu.org>
3699
3700 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3701 line that displays system-configuration-options. (Bug#9924)
3702
7c188927
DA
37032012-01-28 Drew Adams <drew.adams@oracle.com>
3704
3705 * descr-text.el (describe-char): Show information about POS, in
3706 addition to information about the character at POS. Improve and
3707 update the doc string. Change "code point" to "code point in
3708 charset", to avoid confusion with the character's Unicode code
3709 point shown above that. (Bug#10129)
3710
e0da685a
EZ
37112012-01-28 Eli Zaretskii <eliz@gnu.org>
3712
3713 * descr-text.el (describe-char): Show the raw character, not only
3714 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3715 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3716 for the reasons.
3717
70550acf
PH
37182012-01-28 Phil Hagelberg <phil@hagelb.org>
3719
eb864a71
LM
3720 * emacs-lisp/package.el (package-install):
3721 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3722
0ce8e868
CY
37232012-01-28 Chong Yidong <cyd@gnu.org>
3724
cb882333
JB
3725 * emacs-lisp/package.el (package-maybe-load-descriptor):
3726 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3727 (package-maybe-load-descriptor): Use it.
3728 (package-download-transaction): Fully load required packages
3729 inside the loop, so that `require' calls work (Bug#10593).
3730 (package-install): No need to call package-initialize now.
3731
2e7f3bea
CY
37322012-01-28 Chong Yidong <cyd@gnu.org>
3733
6e9bad14
CY
3734 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3735
f823b8ca
CY
3736 * tooltip.el (tooltip-mode): Doc fix.
3737 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3738
2680c309
CY
3739 * frame.el (set-cursor-color): Doc fix (Bug#352).
3740
d7a9e63b
CY
3741 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3742 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3743
2e7f3bea
CY
3744 * cus-edit.el (custom-buffer-create-internal): Fix search button
3745 action (Bug#10542).
2ae01800 3746 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3747
fc4f7a23
EW
37482012-01-27 Eduard Wiebe <usenet@pusto.de>
3749
3750 * dired.el (dired-mark-files-regexp):
3751 Include any subdirectory components. (Bug#10445)
3752
7dd37071
ML
37532012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3754
3755 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3756 Handle [host]:port syntax. (Bug#10533)
3757
a268160b
AH
37582012-01-27 Alex Harsanyi <harsanyi@mac.com>
3759
3760 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3761
e43273ef
GM
37622012-01-26 Glenn Morris <rgm@gnu.org>
3763
3764 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3765 * term.el (term-raw-escape-map): Use Control-X-prefix.
3766 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3767
1edf595d
MR
37682012-01-25 Martin Rudalics <rudalics@gmx.at>
3769
3770 * window.el (window-state-get, window--state-get-1): Don't deal
3771 with fixed-sizeness of windows. Simplify code.
3772
fa8eafef
JC
37732012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3774
6df6ae42
JB
3775 * window.el (window--state-get-1, window--state-put-2):
3776 Don't save and restore the mark.
fa8eafef 3777
0b21c100
CY
37782012-01-25 Chong Yidong <cyd@gnu.org>
3779
3780 * custom.el (custom-variable-p): Doc fix.
3781
5ae1a6c8
GM
37822012-01-25 Glenn Morris <rgm@gnu.org>
3783
40047858
GM
3784 * dired.el (dired-goto-file): Handle some of the more common
3785 characters that `ls -b' escapes. (Bug#10596)
3786
5ddce96c
GM
3787 * progmodes/compile.el (compilation-next-error-function):
3788 Respect compilation-first-column in the "*compilation*" buffer.
3789 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3790
5ae1a6c8
GM
3791 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3792
b559f1a9
GM
37932012-01-24 Glenn Morris <rgm@gnu.org>
3794
3795 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3796
6725d21a
JD
37972012-01-24 Julien Danjou <julien@danjou.info>
3798
3799 * color.el (color-rgb-to-hsl): Fix value computing.
3800 (color-hue-to-rgb): New function.
3801 (color-hsl-to-rgb): New function.
3802 (color-clamp, color-saturate-hsl, color-saturate-name)
3803 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3804 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3805
70df4bbe
GM
38062012-01-24 Glenn Morris <rgm@gnu.org>
3807
3808 * vc/vc-rcs.el (vc-rcs-create-tag):
3809 * vc/vc-sccs.el (vc-sccs-create-tag):
3810 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3811
802a2ae2
ML
38122012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3813
3814 * eshell/esh-util.el (eshell-read-hosts-file):
3815 Skip comment lines. (Bug#10549)
3816
d7128bb1
ML
3817 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3818
d1a5c3b4
JB
38192012-01-23 Juanma Barranquero <lekktu@gmail.com>
3820
2724d9c7
JB
3821 * subr.el (display-delayed-warnings): Doc fix.
3822 (collapse-delayed-warnings): New function to collapse identical
3823 adjacent warnings.
3824 (delayed-warnings-hook): Add it.
d1a5c3b4 3825
a5509865
MA
38262012-01-22 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3829
3830 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3831 properties, when "login-as" is set.
3832
3833 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3834 (tramp-default-user-alist): Don't add "pscp".
3835 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3836 property "login-as", if set. (Bug#10530)
3837
cc6d5805
MA
38382012-01-21 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3841 "plink1" and "psftp". (Bug#10530)
3842
38432012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3844
3845 * international/mule-cmds.el (prefer-coding-system): Show a
3846 warning message if the default value of file-name-coding-system
3847 was not changed.
3848
f0960428
JC
38492012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3850
cb882333
JB
3851 * windmove.el (windmove-reference-loc):
3852 Fix windmove-reference-loc miscalculation.
f0960428 3853
dd6f2a63
JB
38542012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3855
3856 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3857 default unit.
3858
7b447e9b
GM
38592012-01-21 Glenn Morris <rgm@gnu.org>
3860
117a9ea1
GM
3861 * international/mule.el (auto-coding-alist): Add .tbz.
3862
7b447e9b
GM
3863 * files.el (local-enable-local-variables): Doc fix.
3864 (inhibit-local-variables-regexps): Rename from
3865 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3866 Doc fix. Add some extensions from auto-coding-alist.
3867 (inhibit-local-variables-suffixes):
3868 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3869 (inhibit-local-variables-p):
3870 New function, extracted from set-auto-mode-1.
3871 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3872 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3873 (hack-local-variables): Doc fix. Make the mode-only case
3874 respect enable-local-variables and friends.
3875 Respect inhibit-local-variables-regexps for file-locals, but
3876 not for directory-locals.
3877 (set-visited-file-name):
3878 Take account of inhibit-local-variables-regexps.
3879 Whether it applies may change as the file name is changed.
3880 * jka-cmpr-hook.el (jka-compr-install):
3881 * jka-compr.el (jka-compr-uninstall):
3882 Update for inhibit-first-line-modes-suffixes name change.
3883
dd6e3cdd
MR
38842012-01-20 Martin Rudalics <rudalics@gmx.at>
3885
3886 * help-macro.el (make-help-screen): Temporarily restore original
3887 binding for minor-mode-map-alist (Bug#10454).
3888
0d0deb38
JD
38892012-01-19 Julien Danjou <julien@danjou.info>
3890
3891 * color.el (color-name-to-rgb): Use the white color to find the max
3892 color component value and return correctly computed values.
3893 (color-name-to-rgb): Add missing float conversion for max value.
3894
34a02f46
MR
38952012-01-19 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3898 special state value for window-persistent-parameters.
3899 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3900 (window--state-put-2): Reset all window parameters to nil before
3901 assigning values of persistent parameters.
3902
606c44c4
AM
39032012-01-18 Alan Mackenzie <acm@muc.de>
3904
3905 Eliminate sluggishness and hangs in fontification of "semicolon
3906 deserts".
3907
cb882333
JB
3908 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3909 Change value 10000 -> 3000.
606c44c4
AM
3910 (c-state-safe-place): Reformulate so it doesn't stack up an
3911 infinite number of wrong entries in c-state-nonlit-pos-cache.
3912 (c-determine-limit-get-base, c-determine-limit): New functions to
3913 determine backward search limits disregarding literals.
3914 (c-find-decl-spots): Amend commenting.
3915 (c-cheap-inside-bracelist-p): New function which detects "={".
3916
3917 * progmodes/cc-fonts.el
3918 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3919 backward search.
3920 (c-font-lock-declarations): Fix an occurrence of point being
3921 undefined. Check additionally for point being in a bracelist or
3922 near a macro invocation without a semicolon so as to avoid a
3923 fruitless time consuming search for a declarator. Give a more
3924 precise search limit for declarators using the new
3925 c-determine-limit.
3926
f3860cea
GM
39272012-01-18 Glenn Morris <rgm@gnu.org>
3928
3929 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3930 (set-auto-mode): Doc fixes.
3931
1db03b16
GM
39322012-01-17 Glenn Morris <rgm@gnu.org>
3933
0e6038be
GM
3934 * isearch.el (search-nonincremental-instead): Fix doc typo.
3935
1db03b16
GM
3936 * dired.el (dired-insert-directory): Handle newlines in directory name.
3937 (dired-build-subdir-alist): Unescape newlines in directory name.
3938
4cb0aa75
MA
39392012-01-17 Michael Albinus <michael.albinus@gmx.de>
3940
3941 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3942 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3943 (tramp-action-terminal): Use it. (Bug#10530)
3944
1d00653d
SM
39452012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3948
6a6ee00d
MR
39492012-01-16 Martin Rudalics <rudalics@gmx.at>
3950
3951 * window.el (window-state-ignored-parameters): Remove variable.
3952 (window--state-get-1): Rename argument MARKERS to IGNORE.
3953 Handle persistent window parameters. Make copy of clone-of
3954 parameter only if requested. (Bug#10348)
3955 (window--state-put-2): Install a window parameter only if it has
3956 a non-nil value or an existing parameter shall be overwritten.
3957
97912def
MA
39582012-01-15 Michael Albinus <michael.albinus@gmx.de>
3959
3960 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3961
688070a5
EZ
39622012-01-14 Eli Zaretskii <eliz@gnu.org>
3963
3964 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3965 don't pass the (nil) value of `upnode' to string-match.
3966
301afadc
CY
39672012-01-14 Chong Yidong <cyd@gnu.org>
3968
3969 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3970 Fix values recognized by the cursorBlink resource.
301afadc 3971
9e5788aa
PE
39722012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3973
3974 * epg.el (epg--make-temp-file): Avoid permission race condition
3975 when running on old Emacs versions (bug#10403).
3976
3cdb7f5a
GM
39772012-01-14 Glenn Morris <rgm@gnu.org>
3978
3979 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3980
8c82b1b4
AM
39812012-01-13 Alan Mackenzie <acm@muc.de>
3982
3983 Fix filling for when filladapt mode is enabled.
3984
3985 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3986 c-mask-paragraph, pass in `fill-paragraph' rather than
3987 `fill-region-as-paragraph'. (This is a reversion of a previous
3988 change.)
eb864a71
LM
3989 * progmodes/cc-mode.el (c-basic-common-init):
3990 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3991
e517eda4
GM
39922012-01-13 Glenn Morris <rgm@gnu.org>
3993
1498536e
GM
3994 * dired.el (dired-switches-escape-p): New function.
3995 (dired-insert-directory): Use dired-switches-escape-p.
3996 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3997
e517eda4
GM
3998 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3999
328f984d
GM
40002012-01-12 Glenn Morris <rgm@gnu.org>
4001
4002 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4003 changes in adaptive-fill-regexp. (Bug#10276)
4004
2cc769a8
AM
40052012-01-11 Alan Mackenzie <acm@muc.de>
4006
4007 Fix Emacs bug #10463 - put `widen's around the critical spots.
4008
1d00653d 4009 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4010 widen around each invocation of c-state-pp-to-literal. Remove an
4011 unused let variable.
4012
e52c37fa
GM
40132012-01-11 Glenn Morris <rgm@gnu.org>
4014
4015 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4016 Doc fix.
e52c37fa 4017
96f8741e
CY
40182012-01-10 Chong Yidong <cyd@gnu.org>
4019
1d00653d
SM
4020 * net/network-stream.el (network-stream-open-starttls):
4021 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4022 response to the capability command.
4023
b09a806e
GM
40242012-01-10 Glenn Morris <rgm@gnu.org>
4025
4026 * mail/unrmail.el (unrmail): Tweak previous change.
4027
7655cb66
CY
40282012-01-09 Chong Yidong <cyd@gnu.org>
4029
4030 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4031
9d5a8f0b
AM
40322012-01-08 Alan Mackenzie <acm@muc.de>
4033
4034 Optimise font locking in long enum definitions.
4035
4036 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4037 arm to a cond form to handle enums.
4038 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4039 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4040
9a0115ab 40412012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4042
4043 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4044 (Bug#10401)
6bb72cbd 4045
f186bb95
LMI
40462012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047
29232a68
LMI
4048 * faces.el (set-face-attribute): Clarify the meaning of the nil
4049 frame (bug#10294).
4050
4e5d086d
LMI
4051 * subr.el (with-selected-frame): Mention that the selected frame
4052 is restored (bug#9980).
4053
8e66aebe
LMI
4054 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4055 (bug#9759).
4056
cd394be1 4057 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4058 (password-read): Don't autoload unused function.
4059
adf4e762
JB
40602012-01-07 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * progmodes/which-func.el (which-func-mode): Turn into a
4063 non-interactive function and mark as obsolete (bug#10428).
4064
89bd9ccd
CY
40652012-01-06 Chong Yidong <cyd@gnu.org>
4066
4067 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4068 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4069 functions, along with 1 and -1.
4070
4afee9d5
EZ
40712012-01-06 Eli Zaretskii <eliz@gnu.org>
4072
4073 * time.el (display-time-load-average)
4074 (display-time-default-load-average): Doc fixes. See the thread
4075 starting at
4076 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4077 for the details.
4078
536aea70
GM
40792012-01-06 Glenn Morris <rgm@gnu.org>
4080
665ae865
GM
4081 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4082 has no messages. (Bug#10377)
4083
c869783d
GM
4084 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4085 than Info-edit. (Bug#10385)
4086
2bb4227e
GM
4087 * time.el (display-time-load-average, display-time-next-load-average):
4088 Doc fixes.
4089
7d5944b9
GM
4090 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4091 local setting of buffer-read-only to the input buffer. (Bug#10419)
4092
536aea70
GM
4093 * calendar/calendar.el (calendar-mode):
4094 Locally set scroll-margin to 0. (Bug#10379)
4095
7dccca16
UM
40962012-01-06 Ulrich Mueller <ulm@gentoo.org>
4097
4098 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4099
afbb7930
GM
41002012-01-05 Glenn Morris <rgm@gnu.org>
4101
4102 * eshell/em-unix.el (diff-no-select): Autoload it.
4103 (eshell/diff): Use diff-no-select. (Bug#10420)
4104
04482335
CY
41052012-01-05 Chong Yidong <cyd@gnu.org>
4106
7baca3bc
CY
4107 * shell.el (shell-dynamic-complete-functions): Revert last change.
4108 (shell-command-completion-function): New function.
4109 (shell-completion-vars): Use it to implement
4110 shell-completion-execonly (Bug#10417).
4111
04482335
CY
4112 * custom.el (enable-theme): Don't set custom-safe-themes.
4113
1d00653d
SM
4114 * cus-theme.el (custom-theme-merge-theme):
4115 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4116
bb5aa5d6
MM
41172012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4118
4119 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4120 first prompt in `sql-interacive-mode'.
4121 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4122 keywords.
6df6ae42 4123 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4124 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4125 context of original buffer. Invoke `sql-login-hook'.
4126
a7183d7c
EZ
41272012-01-04 Eli Zaretskii <eliz@gnu.org>
4128
4129 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4130 letters in cite-prefix.
4131
a1eacd1e
LMI
41322012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4133
4134 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4135
787cdb34
CY
41362012-01-03 Chong Yidong <cyd@gnu.org>
4137
1d00653d
SM
4138 * shell.el (shell-dynamic-complete-functions):
4139 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4140 comint-filename-completion first (Bug#10417).
4141
30710442
RS
41422012-01-02 Richard Stallman <rms@gnu.org>
4143
4144 * battery.el (battery-status-function):
4145 Detect when to use battery-yeeloong-sysfs.
4146 (battery-echo-area-format): Add string for Yeeloong.
4147 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4148 (battery-yeeloong-sysfs): New function.
4149
f75bfc33
CY
41502012-01-02 Chong Yidong <cyd@gnu.org>
4151
4152 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4153 (dirtrack): Merge code for handling relative filenames in prompt
4154 from shell-dir-cookie-watcher.
4155 (dirtrack-debug-message): New arg to avoid excess format calls.
4156
4157 * shell.el (shell-dir-cookie-re): Variable deleted.
4158 (shell-dir-cookie-watcher): Function deleted.
4159 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4160 with dirtrack-mode.
4161
651e947e
EZ
41622012-01-01 Eli Zaretskii <eliz@gnu.org>
4163
1d00653d
SM
4164 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4165 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4166 libgnutls-26.dll.
4167
94d4c7dc
AS
41682011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4169
4170 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4171
8d43f3cd
EZ
41722011-12-31 Eli Zaretskii <eliz@gnu.org>
4173
4174 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4175 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4176
98c8795a
MA
41772011-12-29 Michael Albinus <michael.albinus@gmx.de>
4178
4179 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4180 also for alternative shells.
4181 (tramp-open-connection-setup-interactive-shell): Check, whether
4182 the shell is a busybox.
4183 (tramp-send-command): Don't suppress multiple prompts for
4184 busyboxes, it hurts.
4185
51281b32
CY
41862011-12-28 Chong Yidong <cyd@gnu.org>
4187
4188 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4189 (gdb-get-source-file): Move mode line update to
4190 gdb-get-source-file (Bug#10087).
4191
2170cb53
CY
41922011-12-25 Chong Yidong <cyd@gnu.org>
4193
4194 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4195 gud-gdb-marker-filter without taking it as an argument.
4196 (gud-gdb-run-command-fetch-lines): Caller changed.
4197 (gud-gdb-completion-function): New variable.
4198 (gud-gdb-completion-at-point): Use it.
4199 (gud-gdb-completions-1): Split from gud-gdb-completions.
4200
4201 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4202 function as separate arguments.
4203 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4204 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4205 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4206 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4207 (gdb-stopped, def-gdb-auto-update-trigger)
4208 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4209 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4210 Callers changed.
2170cb53
CY
4211 (gud-gdbmi-completions): New function.
4212 (gdb): Use it for generating the completion table.
4213
be8b11bb
AM
42142011-12-24 Alan Mackenzie <acm@muc.de>
4215
4216 Introduce a mechanism to widen the region used in context font
1d00653d 4217 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4218
1d00653d
SM
4219 * progmodes/cc-langs.el (c-before-font-lock-functions):
4220 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4221 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4222 functions to be run just before context (etc.) font locking.
4223
4224 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4225 New, functionality extracted from
be8b11bb 4226 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4227 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4228 (c-after-change): Set c-in-after-change-fontification.
4229 (c-set-fl-decl-start): Rejig its interface, so it can be called
4230 from both after-change and context fontifying.
b81d40f0
JB
4231 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4232 New functions.
4233 (c-standard-font-lock-fontify-region-function): New variable.
4234 (c-font-lock-fontify-region): New function.
be8b11bb 4235
341cf6ac
JL
42362011-12-24 Juri Linkov <juri@jurta.org>
4237
4238 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4239 (Bug#10348)
4240
bffcee0a
MA
42412011-12-23 Michael Albinus <michael.albinus@gmx.de>
4242
4243 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4244 existence of source file. (Bug#10325)
4245
cb5e207c
AM
42462011-12-23 Alan Mackenzie <acm@muc.de>
4247
4248 Fix unstable fontification inside templates.
4249
b81d40f0
JB
4250 * progmodes/cc-langs.el (c-before-font-lock-functions):
4251 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4252 additionally has c-set-fl-decl-start. The other languages (apart
4253 from AWK) have that as a single entry.
4254
b81d40f0
JB
4255 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4256 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4257 c-set-fl-decl-start.
4258
b81d40f0
JB
4259 * progmodes/cc-mode.el (c-common-init, c-after-change):
4260 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4261 (c-set-fl-decl-start): New function, extracted from
4262 c-font-lock-enclosing-decls and enhanced.
4263
60ff536c
JB
42642011-12-23 Juanma Barranquero <lekktu@gmail.com>
4265
4266 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4267
1c4757d6
JL
42682011-12-22 Juri Linkov <juri@jurta.org>
4269
4270 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4271
d031f2c7
CY
42722011-12-22 Chong Yidong <cyd@gnu.org>
4273
4274 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4275
bace743a
DA
42762011-12-21 Drew Adams <drew.adams@oracle.com>
4277
4278 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4279
728a1f2b
JC
42802011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4281
4282 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4283
0d373f73
TZ
42842011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4285
fec0aaa4
TZ
4286 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4287 highlighting and support. Fix up comments for capitalization.
4288 (cfengine-mode-debug): New var.
4289 (cfengine3-mode): Change the modeline indicator to "CFE3".
4290 (cfengine3-font-lock-keywords): Improve defun highlighting.
4291 (cfengine2-actions): Rename from `cfengine-actions'.
4292 (cfengine2-font-lock-keywords): Rename from
4293 `cfengine-font-lock-keywords'.
4294 (cfengine2-imenu-expression): Rename from
4295 `cfengine-imenu-expression'.
4296 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4297 (cfengine2-beginning-of-defun): Rename from
4298 `cfengine-beginning-of-defun'.
4299 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4300 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4301 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4302 modeline indicator to "CFE2".
4303 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4304 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4305
bc86f573
CY
43062011-12-21 Chong Yidong <cyd@gnu.org>
4307
4308 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4309 filename argument.
4310
d45ba96b
MR
43112011-12-20 Martin Rudalics <rudalics@gmx.at>
4312
4313 * window.el (window-normalize-buffer-to-display): Remove.
4314 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4315
a6198c90
CY
43162011-12-19 Chong Yidong <cyd@gnu.org>
4317
4318 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4319 Don't signal an error in a predicate function; return non-nil.
4320 (vc-dir-mark-file): Move the error here.
4321 (vc-dir-mark-unmark): If acting on the region, keep going if one
4322 of the entries cannot be marked/unmarked.
4323 (vc-dir-mark-all-files): If current entry is a directory, mark
4324 only child files, as documented.
4325
34c5fb55
VB
43262011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4327
4328 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4329 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4330 addition.
4331
c803b2b7
JD
43322011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4333
4334 * term/ns-win.el (ns-get-selection-internal)
4335 (ns-store-selection-internal): Declare.
1154d12e
JB
4336 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4337 Declare as obsolete.
4338 (ns-get-pasteboard, ns-paste-secondary):
4339 Use ns-get-selection-internal.
4340 (ns-set-pasteboard, ns-copy-including-secondary):
4341 Use ns-store-selection-internal.
c803b2b7 4342
9cff91f8 43432011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4344
4345 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4346 (vc-deduce-fileset): Doc fix.
99a289d9 4347
f16c898a
AS
43482011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4349
4350 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4351
763237c4
SS
43522011-12-13 Sam Steingold <sds@gnu.org>
4353
4354 * man.el (Man-getpage-in-background): When running under a
4355 window-system, ignore $MANWIDTH and $COLUMNS.
4356
5fc1c122
KH
43572011-12-15 Kenichi Handa <handa@m17n.org>
4358
4359 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4360 (setup-ethiopic-environment-internal): Comment out key-binding for
4361 ethio-toggle-punctuation.
4362
13d49cbb
AM
43632011-12-13 Alan Mackenzie <acm@muc.de>
4364
898169a2
AM
4365 Add the switch statement to AWK Mode.
4366
7a71b18d 4367 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4368 "default" to the keywords regexp.
4369
7a71b18d 4370 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4371 expression as the rest.
1d00653d
SM
4372 (c-nonlabel-token-key): Allow string literals for AWK.
4373 Refactor for the other modes.
898169a2 4374
13d49cbb 4375 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4376 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4377 routines. Limit backward searching in c-font-lock-enclosing.decl.
4378
4379 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4380 pp-state and literal type in addition to the limits.
1d00653d 4381 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4382 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4383 (c-slow-in-literal, c-fast-in-literal): Remove.
4384 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4385
4386 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4387 being in a literal. Add a limit for backward searching.
4388
4389 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4390 c-slow-in-literal.
4391
15e0efc7
SM
43922011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4395
454592a6
MR
43962011-12-13 Martin Rudalics <rudalics@gmx.at>
4397
4398 * window.el (delete-other-windows): Use correct frame in call to
4399 window-with-parameter.
4400
87393f26
DP
44012011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4402
4403 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4404 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4405 (makefile-gmake-statements, makefile-makepp-statements):
4406 Use it and add new makepp keywords.
4407 (makefile-makepp-font-lock-keywords): Add new patterns.
4408 (makefile-match-function-end): Match new [...] and [[...]].
4409
11636b22
JB
44102011-12-11 Juanma Barranquero <lekktu@gmail.com>
4411
4412 * ses.el (ses-call-printer-return, ses-cell-property-get)
4413 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4414 (ses-create-cell-variable, ses-reset-header-string)
4415 (ses-cell-set-formula, ses-repair-cell-reference-all)
4416 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4417 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4418 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4419 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4420 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4421 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4422 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4423 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4424 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4425 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4426 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4427 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4428
cf018193
VB
44292011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4430
4431 * ses.el: The overall change is to add cell renaming, that is
4432 setting fancy names for cell symbols other than name matching
4433 "\\`[A-Z]+[0-9]+\\'" regexp .
4434 (ses-create-cell-variable): New defun.
4435 (ses-relocate-formula): Relocate formulas only for cells the
4436 symbols of which are not renamed, i.e. symbols whose names do not
4437 match regexp "\\`[A-Z]+[0-9]+\\'".
4438 (ses-relocate-all): Relocate values only for cells the symbols of
4439 which are not renamed.
4440 (ses-load): Create cells variables as the (ses-cell ...) are read,
4441 in order to check row col consistency with cell symbol name only
4442 for cells that are not renamed.
4443 (ses-replace-name-in-formula): New defun.
4444 (ses-rename-cell): New defun.
4445
ee957461
CY
44462011-12-11 Chong Yidong <cyd@gnu.org>
4447
4448 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4449 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4450
9a9e9ef0
MR
44512011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4452
4453 * window.el (other-window): Fix docstring.
4454
92a8eba5
EZ
44552011-12-10 Eli Zaretskii <eliz@gnu.org>
4456
4457 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4458 `from' or `to' address before taking its substring.
4459 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4460 encoded name is chopped in the middle of the encoded string, and
4461 thus displayed encoded.
4462
e152e577
JB
44632011-12-10 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4466
e5d84bfe
EZ
44672011-12-10 Eli Zaretskii <eliz@gnu.org>
4468
4469 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4470 to use texinfo-update-node and commands that call it if the
4471 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4472 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4473 (texinfo-all-menus-update, texinfo-master-menu)
4474 (texinfo-update-node, texinfo-every-node-update)
4475 (texinfo-multiple-files-update): Doc fix. Warn against updating
4476 all the @node lines.
4477 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4478 argument is numeric. Explain better in the doc string what the
4479 function really does.
4480 (texinfo-insert-master-menu-list): Improve the error message
4481 displayed if there's no menu in the Top node.
4482 (Bug#2975) See also this thread:
e5d84bfe
EZ
4483 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4484
1d84e9bb
MG
44852011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4486
4487 * speedbar.el (speedbar-supported-extension-expressions):
4488 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4489
382c953b
JB
44902011-12-09 Juanma Barranquero <lekktu@gmail.com>
4491
4492 * printing.el (pr-mode-alist):
4493 * simple.el (filter-buffer-substring-functions)
4494 (completion-list-insert-choice-function):
4495 * window.el (window-with-parameter, window-atom-root)
4496 (window-sides-slots, window-size-fixed, window-min-delta)
4497 (window-max-delta, window--resize-mini-window)
4498 (window--resize-child-windows-normal, window-tree)
4499 (delete-other-windows, quit-window, split-window)
4500 (display-buffer-record-window, special-display-buffer-names)
4501 (special-display-regexps, special-display-popup-frame)
4502 (same-window-p, split-window-sensibly)
4503 (display-buffer-overriding-action, display-buffer-alist)
4504 (display-buffer-base-action, display-buffer, switch-to-buffer)
4505 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4506 (fit-window-to-buffer, recenter-positions)
4507 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4508 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4509 and remove unneeded backslashes in docstrings.
4510
39c9faef
SM
45112011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4512
98449af8
SM
4513 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4514
39c9faef
SM
4515 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4516 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4517 end in ".mk".
4518 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4519 when reading the makefile (bug#10116).
4520
86ed9fdc
SM
45212011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4524 (bug#10116).
4525
5580f89d
GM
45262011-12-06 Glenn Morris <rgm@gnu.org>
4527
4528 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4529
28d3917c
CY
45302011-12-06 Chong Yidong <cyd@gnu.org>
4531
4532 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4533
a98edce9
JB
45342011-12-06 Juanma Barranquero <lekktu@gmail.com>
4535
4536 * textmodes/table.el (table-shorten-cell): Fix typo.
4537
e65adfac
CG
45382011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4539
4540 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4541
71cc0b74
EZ
45422011-12-05 Eli Zaretskii <eliz@gnu.org>
4543
4544 * descr-text.el (describe-char): Fix display of strong
4545 right-to-left characters and directional embeddings and overrides.
4546
4547 * simple.el (what-cursor-position): Fix display of codepoints of
4548 strong right-to-left characters.
4549
315bc30d
CY
45502011-12-05 Chong Yidong <cyd@gnu.org>
4551
4552 * faces.el (read-color): Doc fix.
4553
58a70b94
GM
45542011-12-05 Glenn Morris <rgm@gnu.org>
4555
4556 * align.el (align--set-marker): Add doc-string.
4557 Don't try to move something that is not a marker. (Bug#10216)
4558
5158face
GM
45592011-12-04 Glenn Morris <rgm@gnu.org>
4560
4561 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4562 overly zealous deletion of trailing whitespace.
4563
520fca41
JB
45642011-12-04 Juanma Barranquero <lekktu@gmail.com>
4565
4566 * server.el (server-delete-client): On Windows, do not try to delete
4567 the only terminal.
4568 (server-process-filter): On Windows, treat requests for a tty frame as
4569 if they were for a GUI frame if the running server is in GUI mode.
4570
5e605a2e
GM
45712011-12-03 Glenn Morris <rgm@gnu.org>
4572
4573 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4574
5c3fe83f
SM
45752011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4576
6f5e57e7
SM
4577 * electric.el: Streamline electric-indent's hook.
4578 (electric-indent-chars): Revert to simple list.
4579 (electric-indent-functions): New var.
4580 (electric-indent-post-self-insert-function): Use it.
4581
5c3fe83f
SM
4582 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4583 there's no inferior buffer (bug#10196).
4584 (prolog-consult-compile): Don't use toggle-read-only.
4585
6bdac736
MA
45862011-12-02 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4589 interrupt. (Bug#10187)
4590
6131ba7f
SM
45912011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4592
99c79fee
SM
4593 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4594 (bug#9160).
4595
6131ba7f
SM
4596 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4597 (bug#10191).
4598
cb0a02ea
JL
45992011-12-02 Juri Linkov <juri@jurta.org>
4600
4601 * info.el (Info-search): Display "end of manual" when Isearch
4602 reaches the end of single-file Info manual. (Bug#9918)
4603
66e0570c
EZ
46042011-12-02 Eli Zaretskii <eliz@gnu.org>
4605
4606 * isearch.el (isearch-message-prefix): Run the input method part
4607 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4608
02b16839
JL
46092011-12-02 Juri Linkov <juri@jurta.org>
4610
4611 * isearch.el (isearch-occur): Use `word-search-regexp' for
4612 `isearch-word'.
4613 (isearch-search-and-update): Add condition for `isearch-word' and
4614 call `word-search-regexp'. (Bug#10145)
4615
0b950688
GM
46162011-12-01 Glenn Morris <rgm@gnu.org>
4617
4618 * eshell/em-hist.el (eshell-hist-initialize):
4619 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4620 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4621
9505c3c7
SM
46222011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4625
1bbe96b2 46262011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4627
a1beca85
SM
4628 * progmodes/verilog-mode.el (verilog-pretty-expr):
4629 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4630 verilog, such as += *= and the like.
4631 (verilog-assignment-operator-re): Regular expression to find the
4632 assigment operator in a verilog assignment.
4633 (verilog-assignment-operation-re): Regular expression to find an
4634 assignment statement for pretty-expr.
4635 (verilog-in-attribute-p): Query returns true if point is in an
4636 attribute context; used to skip these for expression line up from
4637 pretty-expr.
4638 (verilog-in-parameter-p): Query returns true if point is in an
4639 parameter definition context; used to skip these for expression
4640 line up from pretty-expr.
4641 (verilog-in-parenthesis-p): Query returns true if point is in a
4642 parenthetical expression, specifically ( ) but not [ ] or { };
4643 used by pretty-expr.
4644 (verilog-just-one-space): If there is no space, don't add one.
4645 (verilog-get-lineup-indent-2): Specifically skip just attribute
4646 contexts for expression lineup, rather than skipping all
4647 parenthetical expressions.
4648 (verilog-calculate-indent): Fix comment, and fix indent.
4649 (verilog-do-indent): Indent declarations in lists (suggested by
4650 Joachim Lechner).
4651 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4652 skeleton items.
4653 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4654 by Alain Mellan).
4655
1bbe96b2 46562011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4657
4658 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4659 parameters with embedded comments. Reported by Ray Stevens.
4660 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4661 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4662 Reported by Tim Holt.
4663 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4664 instantiated by upper module causing wrong expansion until AUTOed a
4665 second time. Reported by K C Buckenmaier.
4666 (verilog-diff-auto): Fix showing .* as a difference when
4667 `verilog-auto-star-save' off. Reported by Dan Dever.
4668 (verilog-auto-reset, verilog-read-always-signals)
4669 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4670 temporary signals in reset list if
4671 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4672 style to each signal's assignment type, bug381.
4673 Reported by Thomas Esposito.
6288f0ca
WS
4674 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4675 (verilog-uvm-statement-re): Support UVM indentation and
4676 highlighting, with old OVM keywords only.
a1beca85 4677 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4678 Support AUTOTIEOFF creating non-wire data types.
4679 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4680 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4681 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4682 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4683 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4684 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4685 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4686 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4687 non-numeric vector width. Reported by Alex Reed.
4688 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4689 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4690 (verilog-auto-delete-trailing-whitespace):
4691 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4692 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4693 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4694 Fix verilog-scan-cache corruption when running user AUTO expansion
4695 hooks that call indentation routines.
4696 (verilog-simplify-range-expression): Fix typo ignoring lower case
4697 identifiers.
4698 (verilog-delete-auto): Fix delete-autos to also remove user created
4699 automatics, as long as they start with AUTO.
4700 (verilog-batch-diff-auto, verilog-diff-auto)
4701 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4702 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4703 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4704 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4705 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4706 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4707 is disabled and its cache will get corrupt, causing AUTOS not to
4708 expand. Instead use only -quick functions.
4709 (verilog-scan-region): Fix scanning over escaped quotes.
4710 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4711 (verilog-re-search-backward-quick)
4712 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4713 related functions now ignore strings, to fix misparsing of strings
4714 with magic comments embedded in them.
a1beca85
SM
4715 (verilog-read-auto-template):
4716 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4717 Reported by Brad Dobbie.
4718 (verilog-read-auto-template):
4719 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4720 Reported by Brad Dobbie.
6288f0ca
WS
4721 (verilog-auto-inst, verilog-auto-inst-param)
4722 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4723 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4724 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4725 debugging templates without merge conflicts, bug357.
4726 Reported by Brad Dobbie.
4727 (verilog-read-auto-template):
4728 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4729 Reported by Brad Dobbie.
4730 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4731 abbrevs so user won't be asked to save.
4732 (verilog-read-auto-lisp-present): Fix to start at beginning of
4733 buffer in case called outside of verilog-auto.
4734 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4735 to "X-2". Reported by Matthew Myers.
4736 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4737 all inputs from module templates. Reported by Leith Johnson.
4738 (verilog-module-inside-filename-p): Fix locating programs as with
4739 modules.
4740 (verilog-auto-inst-port): Fix vl-width expressions when using
4741 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4742 (verilog-decls-get-regs, verilog-decls-get-signals,
4743 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4744 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4745 verilog-read-decls): Combine reg and wire structures into one var
4746 structure to represent SystemVerilog concepts.
4747 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4748 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4749 (verilog-auto-wire-type, verilog-insert-definition):
4750 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4751 SystemVerilog "logic" keyword instead of "wire"/"reg".
4752 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4753 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4754 ifdef or generate if so there's not a driver conflict).
4755 Reported by Matthew Myers.
4756 (verilog-auto-declare-nettype, verilog-insert-definition):
4757 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4758 `default_nettype none. Reported by Julian Gorfajn.
4759 (verilog-read-always-signals-recurse, verilog-read-decls)
4760 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4761 malformed end statement, bug325. Reported by Joshua Wise and
4762 Andrew Drake.
4763 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4764 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4765 when expanding .* in interfaces, bug320.
4766 Reported by Pierre-David Pfister.
6288f0ca 4767 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4768 name and open parenthesis, bug317.
4769 Reported by Pierre-David Pfister.
6288f0ca
WS
4770 (verilog-simplify-range-expression): Fix simplification of
4771 multiplications inside AUTOWIRE connections, bug303.
4772 (verilog-auto-inst-port): Support parameter expansion in
4773 multidimensional arrays.
4774 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4775 after "assert property". Reported by Julian Gorfajn.
4776 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4777 with multiplication, bug303.
4778 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4779 Reported by Jan Frode Lonnum.
4780
1bbe96b2
GM
47812011-11-30 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4784 (hfy-shell-file-name, hfy-shell):
4785 * international/fontset.el (x-decompose-font-name): Fix typos.
4786
47872011-11-29 Ken Brown <kbrown@cornell.edu>
4788
4789 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4790 (gdb-version): Remove defvar.
4791 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4792 (gdb-gud-context-command, gdb-non-stop-handler)
4793 (gdb-current-context-command, gdb-stopped): Use it.
4794 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4795 (gdb-non-stop-handler): Don't enable pretty-printing here.
4796 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4797 non-stop mode. Use the following.
4798 (gdb-check-target-async): New defun.
4799 (gud-watch, gdb-stopped): Fix whitespace.
4800 (gdb-get-source-file): Don't try to display the source file if
4801 `gdb-main-file' is nil.
4802
48032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * align.el: Try to generate fewer markers (bug#10047).
4806 (align--set-marker): New macro.
4807 (align-region): Use it.
4808
c935221f
SM
48092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4812
e70b5064
CY
48132011-11-29 Chong Yidong <cyd@gnu.org>
4814
4815 * indent.el (indent-for-tab-command, indent-according-to-mode):
4816 Doc fix.
4817 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4818
f3af92b7
MA
48192011-11-29 Michael Albinus <michael.albinus@gmx.de>
4820
4821 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4822 aware of remote file names. (Bug#10124)
4823
ed472be9
CY
48242011-11-29 Chong Yidong <cyd@gnu.org>
4825
4826 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4827
24510c22
SM
48282011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * files.el (find-file): Don't use force-same-window (bug#10144).
4831 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4832 use pop-to-buffer if the selected window can't be used.
4833 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4834
c60c3703
EZ
48352011-11-28 Eli Zaretskii <eliz@gnu.org>
4836
4837 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4838 special-mode-map.
4839
e95def75
CY
48402011-11-28 Chong Yidong <cyd@gnu.org>
4841
4842 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4843
c3f1c606
NR
48442011-11-27 Nick Roberts <nickrob@snap.net.nz>
4845
4846 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4847 gdb-get-source-file-list on gdb-create-source-file-list.
4848
00db469c
EZ
48492011-11-26 Eli Zaretskii <eliz@gnu.org>
4850
4851 * whitespace.el (whitespace-newline): Use a different foreground
4852 color for 16-color light-background displays.
4853
4ad3bc2a
CY
48542011-11-24 Chong Yidong <cyd@gnu.org>
4855
4856 * window.el (display-buffer--special-action): Doc fix.
4857
e9fce1ac
JB
48582011-11-25 Juanma Barranquero <lekktu@gmail.com>
4859
4860 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4861 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4862 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4863 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4864 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4865 (avl-tree-stack-first):
4866 * emacs-lisp/cconv.el (cconv--analyse-use):
4867 * net/gnutls.el (gnutls-negotiate): Fix typos.
4868
cb825e5d
GM
48692011-11-24 Glenn Morris <rgm@gnu.org>
4870
3adbe224
GM
4871 * lpr.el (lpr-windows-system, lpr-lp-system):
4872 * mail/binhex.el (binhex-begin-line):
4873 * progmodes/grep.el (grep-history, grep-find-history):
4874 * textmodes/flyspell.el:
4875 * vc/pcvs-defs.el (cvs-global-menu):
4876 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4877 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4878 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4879
321decc8
GM
4880 * net/tls.el: Fix case of "GnuTLS".
4881
420b63ad
GM
4882 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4883
cb825e5d
GM
4884 * version.el (emacs-build-system): Give it a doc-string.
4885
a0649f08
JL
48862011-11-24 Juri Linkov <juri@jurta.org>
4887
4888 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4889
c0bc0fd4
GM
48902011-11-24 Glenn Morris <rgm@gnu.org>
4891
4892 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4893 if called on a non-mime message just toggle the headers. (Bug#8006)
4894
20db1522
JB
48952011-11-24 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4898 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4899 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4900 (allout-rebullet-heading, allout-open-sibtopic)
4901 (allout-toggle-current-subtree-encryption)
4902 (allout-toggle-subtree-encryption, allout-encrypt-string)
4903 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4904 (allout-distinctive-bullets-string, allout-auto-activation):
4905 * window.el (window-normalize-buffer-to-display):
4906 * progmodes/verilog-mode.el (verilog-batch-indent):
4907 * textmodes/bibtex.el (bibtex-field-braces-opt)
4908 (bibtex-field-strings-opt):
4909 * vc/cvs-status.el (cvs-tree-merge):
4910 Fix typos.
4911
7262a87c
MA
49122011-11-23 Michael Albinus <michael.albinus@gmx.de>
4913
4914 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4915 `non-essential' to t, in order to avoid remote connections.
4916
283430a1
EZ
49172011-11-23 Eli Zaretskii <eliz@gnu.org>
4918
a1beca85
SM
4919 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4920 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4921 case-insensitively.
4922
d2992a38
ML
49232011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4924
4925 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4926
50419064
GM
49272011-11-23 Glenn Morris <rgm@gnu.org>
4928
da94eca1
GM
4929 * paths.el (rmail-file-name): Reformat the doc-string so that it
4930 is picked up.
4931
9aac4de2
GM
4932 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4933 (rmail-auto-file): Ignore case in the "special" field names,
4934 as mail-fetch-field does for all others.
4935
8038d2d2
GM
4936 * mail/rmail.el (rmail-forward):
4937 * mail/rmailkwd.el (rmail-set-label):
4938 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4939 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4940
f3fe222a
GM
4941 * mail/rmail.el (rmail-current-message): Doc fix.
4942
50419064
GM
4943 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4944
28109f49
SM
49452011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4948
394c65f1
GM
49492011-11-22 Glenn Morris <rgm@gnu.org>
4950
4951 * mail/rmailmm.el (test-rmail-mime-handler)
4952 (test-rmail-mime-bulk-handler)
4953 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4954
f2a0aa3a
JL
49552011-11-21 Juri Linkov <juri@jurta.org>
4956
1154d12e
JB
4957 * calc/calc.el (calc-read-key-sequence):
4958 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4959
9c34a344
LMI
49602011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4961
4962 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4963 Tell the caller that the next line needs recomputation, even
4964 though it doesn't start a sexp (bug#10094).
4965
f04a3be9
SM
49662011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4969
7978747f
SM
49702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4971
f04a3be9
SM
4972 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4973 Use force-same-window.
7978747f 4974
fe7a3057
JB
49752011-11-20 Juanma Barranquero <lekktu@gmail.com>
4976
4977 * descr-text.el (describe-char-unicode-data):
4978 * json.el (json-string-escape):
4979 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4980 (Footnote-unicode, Footnote-style-p):
4981 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4982
24901d61
CY
49832011-11-20 Chong Yidong <cyd@gnu.org>
4984
4985 * window.el (replace-buffer-in-windows): Restore interactive spec.
4986
bac7ff22
SM
49872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4988
24f3d7b9
SM
4989 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4990
bac7ff22
SM
4991 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4992 (byte-compile-global-not-obsolete-vars): New var.
4993 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4994 Use it.
4995 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4996
cd1181db
JB
49972011-11-20 Juanma Barranquero <lekktu@gmail.com>
4998
4999 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5000 * progmodes/pascal.el (electric-pascal-equal):
5001 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5002 * xml.el (xml-substitute-special): Fix typos.
5003
7fb18e9e
GM
50042011-11-20 Glenn Morris <rgm@gnu.org>
5005
5006 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5007 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5008 Doc fixes.
5009 (rmail-decode-mime-charset): Mark as obsolete.
5010
5011 * mail/rmailsum.el (rmail-message-regexp-p-1):
5012 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5013 Before using mime functions, check they are set. (Bug#10077)
5014
d5a6b3ba
JL
50152011-11-19 Juri Linkov <juri@jurta.org>
5016
5017 * info.el (Info-finder-find-node): Use `package--builtins' instead
5018 of `package-alist'. Use node names formed by the pattern "Keyword "
5019 and the keyword name.
5020
e981b61f
AS
50212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5022
1d00653d 5023 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5024
3ffbc301
JL
50252011-11-19 Juri Linkov <juri@jurta.org>
5026
5027 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5028 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5029 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5030 `old-history', `old-history-forward'. Add let-binding
5031 `window-selected'. Remove calls to `kill-buffer',
5032 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5033 before calling `Info-find-node', so `Info-find-node-2' will reread
5034 the Info file. Restore window positions only when `window-selected'
5035 is non-nil.
5036
30c62133
JL
50372011-11-19 Juri Linkov <juri@jurta.org>
5038
5039 * isearch.el (isearch-lazy-highlight-new-loop):
5040 Remove condition `(not isearch-error)'. (Bug#9918)
5041
5042 * misearch.el (multi-isearch-search-fun): Add condition
5043 `(not bound)' to ignore lazy-highlighting search.
5044 Add the search-failed message "end of multi" when the end of
5045 multi-sequence is reached. Uncapitalize the search-failed
5046 message "Repeat for next buffer".
5047
5048 * info.el (Info-search): Add the search-failed message
5049 "end of the manual" when the end of the manual is reached
5050 in Isearch mode.
5051
645ca9cf
JL
50522011-11-19 Juri Linkov <juri@jurta.org>
5053
5054 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5055 Use non-destructive `remove' instead of `delete' because
5056 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5057 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5058
df754f66
JL
50592011-11-19 Juri Linkov <juri@jurta.org>
5060
5061 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5062 to nil instead of binding `search-ring' and `regexp-search-ring'.
5063 (Bug#9185)
5064
0e23d96a
EZ
50652011-11-19 Eli Zaretskii <eliz@gnu.org>
5066
5067 * simple.el (line-move): Force movement by logical lines for any
5068 hscrolled window, not only when auto-hscroll-mode is on.
5069 (line-move-visual): Update doc string to that effect. (Bug#10076)
5070
8a6ccb66
AS
50712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5072
5073 * language/european.el (macintosh): Define as alias for mac-roman.
5074
49ae5b39
EZ
50752011-11-19 Eli Zaretskii <eliz@gnu.org>
5076
5077 * mail/rmailmm.el (rmail-mime-display-header)
5078 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5079 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5080 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5081 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5082 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5083 of a raw aref.
5084 (rmail-mime-entity-segment): To get past the tagline, move forward
5085 2 more lines, to account for the 2 empty lines that precede and
5086 follow the line with the buttons.
5087 (rmail-mime-update-tagline): Move one more line, to get past the
5088 empty line that follows the buttons in the tagline. (Bug#9520)
5089
c56cad4a
MR
50902011-11-19 Martin Rudalics <rudalics@gmx.at>
5091
5092 * window.el (window-max-delta-1, window-min-delta-1)
5093 (window-min-size-1, window-state-get-1, window-state-put-1)
5094 (window-state-put-2): Use "window--" prefix.
5095
cbe71af3
SM
50962011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5097
2ad52c60
SM
5098 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5099 (smie-warning-count): New var.
5100 (smie-set-prec2tab): Use it.
5101 (smie-bnf->prec2): Improve warnings. Add docstring.
5102 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5103 (smie-bnf--set-class): New function.
5104 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5105 corner case.
5106
6944dbc1
SM
5107 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5108 (compilation-error-properties, compilation-move-to-column):
5109 Handle compilation-first-column while in the target buffer.
5110
c400c4d7
SM
5111 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5112 Don't hardcode point-min==1.
5113
6dbe3e96
SM
5114 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5115 (eshell-rewrite-for-command): Remove workaround.
5116 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5117 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5118 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5119
cbe71af3
SM
5120 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5121
a8e1496d
GM
51222011-11-17 Glenn Morris <rgm@gnu.org>
5123
5124 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5125 Ignore buffer-local generated-autoload-file if it is the same
5126 as the global value. (Bug#10049)
5127
df85d315
JB
51282011-11-17 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5131 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5132 (reftex-toc-previous-heading, reftex-toc-max-level)
5133 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5134 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5135 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5136 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5137 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5138 (reftex-toc-rename-label, reftex-toc-visit-location)
5139 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5140 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5141 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5142 leaving "*toc*" only for references to the buffer.
5143
a0c2d0ae
MR
51442011-11-17 Martin Rudalics <rudalics@gmx.at>
5145
5146 * window.el (window-resize, delete-window, split-window):
5147 Replace window-splits by window-combination-resize.
1d00653d 5148 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5149
35c0bac8
GM
51502011-11-17 Glenn Morris <rgm@gnu.org>
5151
5152 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5153 Make bash entry derive from sh entry, not shell entry.
5154
d0c8fc8a
MA
51552011-11-16 Michael Albinus <michael.albinus@gmx.de>
5156
d0c8fc8a
MA
5157 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5158 properties of linked files. (Bug#9879)
5159
7262a87c
MA
5160 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5161 local file name.
5162
7877f373
JB
51632011-11-16 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * menu-bar.el (menu-bar-file-menu):
5166 * printing.el (pr-ps-utility):
5167 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5168 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5169 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5170 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5171 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5172 (icalendar--convert-cyclic-to-ical)
5173 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5174 (icalendar--convert-ical-to-diary)
5175 (icalendar--convert-recurring-to-diary)
5176 (icalendar--convert-non-recurring-all-day-to-diary)
5177 (icalendar-import-format-sample):
5178 * progmodes/idlw-shell.el (idlwave-shell-mode):
5179 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5180 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5181 (vhdl-ps-print-init): Fix typos.
5182
10649b82
KM
51832011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5184
9d0cfcd6
GM
5185 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5186 FSF and collapse date sequence, obscure author/maintainer email address
5187 better, remove extra version line, track relocation of author's webpage.
10649b82 5188
9d0cfcd6
GM
5189 * progmodes/python.el (python-pdbtrack-input-prompt)
5190 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5191 regular python pdb prompts. Adjustments shamelessly taken exactly as
5192 suggested in EmacsWiki page (tiny change):
5193 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5194
58179cce
JB
51952011-11-16 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * expand.el (expand-pos, expand-index, expand-point):
5198 Remove redundant info from docstring.
5199 (expand-add-abbrevs): Doc fix.
5200 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5201 (expand-sample-perl-mode-expand-list): Fix typos.
5202
5203 * net/dbus.el (dbus-event-member-name):
5204 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5205 * term/pc-win.el (msdos-create-frame-with-faces):
5206 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5207
b6f67890
MR
52082011-11-16 Martin Rudalics <rudalics@gmx.at>
5209
5210 * window.el (split-window, window-state-get-1)
5211 (window-state-put-1, window-state-put-2): Rename occurrences of
5212 window-nest to window-combination-limit.
1d00653d 5213 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5214
ce7ddba0
CY
52152011-11-16 Chong Yidong <cyd@gnu.org>
5216
5217 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5218 regexp (Bug#10033).
5219
3ae704f4
SM
52202011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5223 `completing-read' will remove *Completions* and will preserve
5224 current-buffer for us.
5225 (tmm-add-prompt): Users of *Completions* will always (re)set its
5226 major mode.
5227 (tmm-old-comp-map): Remove.
5228
6ad1cdde
GM
52292011-11-16 Glenn Morris <rgm@gnu.org>
5230
5231 * mail/rmailedit.el: Require rmailmm when compiling.
5232 (rmail-old-mime-state): New declaration.
5233 (rmail-edit-current-message): If editing a mime message,
5234 edit the "raw" message from the mbox buffer.
5235 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5236
d20faa20
GM
52372011-11-15 Glenn Morris <rgm@gnu.org>
5238
5239 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5240 which wasn't being used. Add optional arg to force given state.
5241 (rmail-mime): Add optional arg to force given state.
5242
c7015153
JB
52432011-11-15 Juanma Barranquero <lekktu@gmail.com>
5244
5245 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5246 * frame.el (display-mm-dimensions-alist):
5247 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5248 (outline-move-subtree-down):
5249 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5250 (newsticker--treeview-do-get-node):
5251 * net/quickurl.el (quickurl-list-buffer-name):
5252 * progmodes/dcl-mode.el (dcl-mode):
5253 * progmodes/gdb-mi.el (gdb-mapcar*):
5254 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5255
45261b50
GM
52562011-11-15 Glenn Morris <rgm@gnu.org>
5257
5258 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5259 in a boolean sense, so just make it a boolean, and fix the doc.
5260 (rmail-show-mime-function, rmail-mime-feature)
5261 (rmail-require-mime-maybe): Doc fixes.
5262 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5263
5264 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5265
0d26e0b6
JB
52662011-11-15 Juanma Barranquero <lekktu@gmail.com>
5267
5268 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5269 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5270 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5271 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5272
447f30f6
GM
52732011-11-15 Glenn Morris <rgm@gnu.org>
5274
672b871d
GM
5275 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5276 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5277 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5278 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5279 (rmail-mime, rmail-show-mime): Doc fixes.
5280
f6aa5bb1
GM
5281 * term/ns-win.el (mode-line-frame-identification):
5282 Leave it alone. (Bug#10051)
5283
947cd66b
GM
5284 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5285
447f30f6
GM
5286 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5287 Handle empty buffers. (Bug#9978)
5288
0b381c7e
JB
52892011-11-14 Juanma Barranquero <lekktu@gmail.com>
5290
5291 * international/mule.el (define-charset):
5292 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5293 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5294 * progmodes/verilog-mode.el (verilog-backward-token):
5295 * textmodes/ispell.el (lookup-words):
5296 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5297
71e027ac
GM
52982011-11-14 Glenn Morris <rgm@gnu.org>
5299
56632ce4
GM
5300 * progmodes/executable.el
5301 (executable-make-buffer-file-executable-if-script-p):
5302 Handle file-modes returning nil.
5303
40500957
GM
5304 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5305 message - not necessary, and causes problems. (Bug#9831)
5306
071c2340
GM
5307 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5308
d3cfca60
GM
5309 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5310
71e027ac
GM
5311 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5312 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5313 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5314
89d61221
MR
53152011-11-12 Martin Rudalics <rudalics@gmx.at>
5316
5317 * window.el (window-resize, delete-window): Use window-splits
5318 variable instead of function.
5319 (window-state-get-1, window-state-put-2, window-state-put):
5320 Don't deal with windows' splits status.
5321
98282f6f
GM
53222011-11-12 Glenn Morris <rgm@gnu.org>
5323
5324 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5325 (apropos-documentation): Doc fixes.
5326
40a8bdf6
JB
53272011-11-11 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5330 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5331
65bd19ff
SM
53322011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * electric.el (electric-indent-post-self-insert-function): Make it
5335 possible for a char to only indent in some circumstances.
5336 (electric-indent-mode): Simplify.
5337
54f9154c
MR
53382011-11-11 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (windows-with-parameter): Remove unused function.
5341 (windows-at-side): Rename to window-at-side-list.
5342 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5343 (window-side-check, window-size-ignore, window-size-fixed-1)
5344 (window-in-direction-2): Prefix with "window--".
5345 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5346
68cbc58b
GM
53472011-11-11 Glenn Morris <rgm@gnu.org>
5348
5349 * subr.el (eval-after-load): If FILE is already loaded,
5350 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5351
b2621720
GM
53522011-11-10 Glenn Morris <rgm@gnu.org>
5353
9a4de110
GM
5354 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5355 Call svn via vc-svn-command rather than vc-do-command.
5356 (vc-svn-command): Add --non-interactive. (Bug#9993)
5357 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5358
b2621720
GM
5359 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5360 Add toggle-read-only. (Bug#7292)
5361 * files.el (toggle-read-only): Mention that it should only
5362 be used interactively. (Bug#10006)
5363
1dce7193
SM
53642011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5365
d9ac1a1e
SM
5366 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5367 Adjust regexp for OCaml warnings.
5368
0c325082
SM
5369 * electric.el (electric-pair-post-self-insert-function): Let user
5370 turn it off buffer-locally (bug#9932).
5371
90132c14
SM
5372 * progmodes/python.el (python-beginning-of-statement):
5373 Rewrite (bug#2703).
5374
1dce7193
SM
5375 * progmodes/compile.el: Better handle TABs (bug#9749).
5376 (compilation-internal-error-properties)
5377 (compilation-next-error-function): Obey the target buffer's
5378 compilation-error-screen-columns.
5379
c4e7c63a
JB
53802011-11-09 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * progmodes/meta-mode.el: Remove obsolete comments.
5383 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5384 Fix typos in docstrings.
5385
2cffd681
MR
53862011-11-09 Martin Rudalics <rudalics@gmx.at>
5387
5388 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5389 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5390 (window--resizable): New function. Make all callers of
5391 window-resizable call window--resizable instead.
5392 (window-resizable): Rewrite in terms of window--resizable.
5393
0edcba87
GM
53942011-11-08 Glenn Morris <rgm@gnu.org>
5395
5396 * progmodes/delphi.el (delphi-mode-syntax-table):
5397 Let define-derived-mode define a proper syntax table. (Bug#9994)
5398
4b0d61e3
SM
53992011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * window.el: Stay away from defsubst.
5402 (window-list-no-nils): Remove.
5403 (window-state-get-1, window-state-get): Use backquote instead.
5404
cd394be1 54052011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5406
4b0d61e3 5407 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5408 Fix incorrect use of default argument in `completing-read'.
5409
e1c2c6f2
MR
54102011-11-08 Martin Rudalics <rudalics@gmx.at>
5411
5412 * window.el (display-buffer-function, special-display-function):
5413 Mention display-buffer-record-window but do not mention
5414 help-setup parameter in doc-strings.
b3f4a882 5415 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5416
105216ed
CY
54172011-11-08 Chong Yidong <cyd@gnu.org>
5418
5419 * window.el (window-total-height, window-total-width): Doc fix.
5420 (window-body-size): Move from C.
5421 (window-body-height, window-body-width): Move to C.
5422
0a9f9ab5
SM
54232011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * window.el: Make special-display like display-buffer-alist (bug#9532).
5426 (display-buffer--special-action): New function, morphed
5427 from display-buffer--special.
5428 (display-buffer): Use it to handle special-display-buffers at higher
5429 priority (just after display-buffer-alist).
5430 (display-buffer-fallback-action, display-buffer--other-frame-action)
5431 (pop-to-buffer-same-window): Remove display-buffer--special.
5432
a769dd15
GM
54332011-11-07 Glenn Morris <rgm@gnu.org>
5434
5435 * calendar/cal-menu.el (cal-menu-set-date-title):
5436 Do nothing if not in a calendar. (Bug#9976)
5437
05a61ee3
SM
54382011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * files.el (find-file): Always use selected-window.
5441
be7f5545
MR
54422011-11-07 Martin Rudalics <rudalics@gmx.at>
5443
5444 * window.el (window-combinations): Make WINDOW argument
5445 mandatory. Rewrite doc-string.
5446 (walk-window-subtree, window-atom-check, window-min-delta)
5447 (window-max-delta, window--resize-this-window)
5448 (window--resize-root-window-vertically, window-tree)
5449 (balance-windows, window-state-put): Rewrite doc-strings as to
5450 not mention the term "subwindow".
5451 (window--resize-subwindows-skip-p): Rename to
5452 window--resize-child-windows-skip-p.
5453 (window--resize-subwindows-normal): Rename to
5454 window--resize-child-windows-normal.
5455 (window--resize-subwindows): Rename to
5456 window--resize-child-windows.
5457 (window-or-subwindow-p): Rename to window--in-subtree-p.
5458
3c6702ef
ML
54592011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5460
5461 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5462 Ensure that mbox format messages end in two newlines (Bug#9974).
5463
49745b39
CY
54642011-11-06 Chong Yidong <cyd@gnu.org>
5465
5466 * window.el (window-combination-p): Function deleted; its
5467 side-effect is not used in any existing code.
5468 (window-combinations, window-combined-p): Call window-*-child
5469 directly.
5470
24300f5f
CY
54712011-11-05 Chong Yidong <cyd@gnu.org>
5472
5473 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5474 (window-size-ignore, window-state-get): Callers changed.
5475 (window-normalize-window): Rename from window-normalize-any-window.
5476 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5477 (window-normalize-live-window): Delete.
447f16b8
CY
5478 (window-combination-p, window-combined-p, window-combinations)
5479 (walk-window-subtree, window-atom-root, window-min-size)
5480 (window-sizable, window-sizable-p, window-size-fixed-p)
5481 (window-min-delta, window-max-delta, window-resizable)
5482 (window-resizable-p, window-full-height-p, window-full-width-p)
5483 (window-current-scroll-bars, window-point-1, set-window-point-1)
5484 (window-at-side-p, window-in-direction, window-resize)
5485 (adjust-window-trailing-edge, maximize-window, minimize-window)
5486 (window-deletable-p, delete-window, delete-other-windows)
5487 (record-window-buffer, unrecord-window-buffer)
5488 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5489 (quit-window, split-window, window-state-put)
5490 (set-window-text-height, fit-window-to-buffer)
5491 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5492
89bd5ee1
EZ
54932011-11-04 Eli Zaretskii <eliz@gnu.org>
5494
53479029
EZ
5495 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5496 rfc2047-decode-string.
5497 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5498 warnings.
5499
89bd5ee1
EZ
5500 * window.el (window-body-height, window-body-width): Mention in
5501 the doc string that the return values are in frame's canonical
5502 units. (Bug#9949)
5503
bd17fdee
AM
55042011-11-03 Alan Mackenzie <acm@muc.de>
5505
5506 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5507 change in cc-engine.el.
5508
acc825c5
SM
55092011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5512
1885e5b8
MR
55132011-11-02 Martin Rudalics <rudalics@gmx.at>
5514
5515 * window.el (quit-window): Call unrecord-window-buffer after
5516 showing another buffer in the window. (Bug#9937)
acc825c5 5517 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5518
ebe06da9
JB
55192011-11-02 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5522 Accept status with more than 9 shelves. (Bug#9935)
5523 Reported by Colin D Bennett <colin@gibibit.com>.
5524
4ee88440
MR
55252011-11-01 Martin Rudalics <rudalics@gmx.at>
5526
5527 * help.el (with-help-window): Don't reference
5528 temp-buffer-show-specifiers in doc-string.
5529
08e1d82c
AS
55302011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5531
5532 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5533 menu-item.
5534
84bd6e9e
VJL
55352011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5536
5537 * whitespace.el: New version 13.2.2.
5538 (whitespace-newline-mode): Disable properly. Reported by Sarah
5539 <EmacsWiki>.
5540
dba0634a
UJ
55412011-10-30 Ulf Jasper <ulf.jasper@web.de>
5542
5543 * net/newst-treeview.el: Remove "Time-stamp".
5544 (newsticker--group-manage-orphan-feeds): Do not call
5545 newsticker--treeview-tree-update.
db22a3c2
JB
5546 (newsticker-treeview-update, newsticker-treeview):
5547 Call newsticker--treeview-tree-update if necessary.
dba0634a 5548
3d8daefe
MR
55492011-10-30 Martin Rudalics <rudalics@gmx.at>
5550
5551 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5552 (window-iso-combinations): Remove "iso-" infix.
5553 Suggested by Chong Yidong.
3d8daefe
MR
5554 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5555 (window-max-delta-1, window-resize, window--resize-siblings)
5556 (window--resize-this-window, adjust-window-trailing-edge)
5557 (split-window, balance-windows-1)
5558 (shrink-window-if-larger-than-buffer):
5559 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5560 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5561
1bc4c3ae
SM
55622011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5565 in place (bug#9907).
5566 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5567 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5568 (eshell-structure-basic-command, eshell-rewrite-while-command)
5569 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5570 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5571 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5572 (eshell-do-pipelines-synchronously, eshell-eval-command):
5573 Use backquotes and prefer setq to set.
5574 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5575 (eshell-macrop): Use functionp.
c1e2f5fa 5576 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5577
30b65d9c
CY
55782011-10-30 Chong Yidong <cyd@gnu.org>
5579
5580 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5581 instead of set-mark (Bug#9810).
5582
2d197ffb
CY
55832011-10-30 Chong Yidong <cyd@gnu.org>
5584
5585 * window.el (split-window-below, split-window-right): Rename from
5586 split-window-above-each-other and split-window-side-by-side
5587 respectively. All callers changed.
5588 (split-window-sensibly, split-window-sensibly): Use them.
5589 (split-window-keep-point): Doc fix.
5590
5591 * isearch.el: Add isearch-scroll property to split-window-below
5592 and split-window-right.
5593
5594 * follow.el (follow-mode):
5595 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5596 * progmodes/ada-xref.el (ada-gdb-application):
5597 * emulation/vip.el (vip-buffer-in-two-windows):
5598 * image-dired.el (image-dired-dired-with-window-configuration):
5599 * dired-x.el (dired-do-find-marked-files):
5600 * dired.el (dired-pop-to-buffer):
5601 * bs.el (bs--show-with-configuration):
5602 * vc/emerge.el (emerge-setup-windows):
5603 * textmodes/two-column.el (2C-two-columns):
5604 * textmodes/reftex-toc.el (reftex-toc):
5605 * progmodes/gdb-mi.el (gdb-setup-windows):
5606 * progmodes/fortran.el (fortran-window-create):
5607 * net/newst-treeview.el (newsticker--treeview-window-init):
5608 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5609 * emulation/tpu-edt.el (tpu-gold-map):
5610 * emulation/crisp.el (crisp-mode-map):
5611 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5612
38bb2ca8
CY
56132011-10-29 Chong Yidong <cyd@gnu.org>
5614
aa4de341
CY
5615 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5616
e1eb5385
CY
5617 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5618
5d2ece3c
CY
5619 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5620 forged Ispell output (Bug#7904).
5621
38bb2ca8
CY
5622 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5623
d0af9f77
SM
56242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * doc-view.el: Avoid ugly errors about not finding nil.
5627 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5628 (doc-view-dvipdf-program, doc-view-unoconv-program)
5629 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5630 Avoid nil or absolute file name as default value.
5631 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5632
52bedd34
AM
56332011-10-28 Alan Mackenzie <acm@muc.de>
5634
db22a3c2 5635 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5636
7e43cfa5
AM
56372011-10-28 Alan Mackenzie <acm@muc.de>
5638
5639 Amend the handling of c-beginning/end-of-defun in nested declaration
5640 scopes.
5641
52bedd34
AM
5642 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5643 cc-langs.el. Change it to a defcustom.
7e43cfa5 5644
52bedd34
AM
5645 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5646 cc-vars.el.
7e43cfa5 5647
d0af9f77
SM
5648 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5649 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5650
52bedd34 5651 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5652 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5653 (c-widen-to-enclosing-decl-scope): New function.
5654 (c-while-widening-to-decl-block): New macro.
5655 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5656 outward for defun boundaries, and correspondingly change symbol
5657 `respect-enclosure' to `go-outward'.
5658 (c-declaration-limits): Change algorithm to report only the "innermost"
5659 defun's boundaries.
5660
1a2ce9ee
DD
56612011-10-28 Deniz Dogan <deniz@dogan.se>
5662
5663 * net/rcirc.el (rcirc-mode): Use hard newlines.
5664
bc97a826
AM
56652011-10-28 Alan Mackenzie <acm@muc.de>
5666
5667 Amend to indent and fontify macros "which include their own semicolon"
5668 correctly, using the "virtual semicolon" mechanism.
5669
52bedd34 5670 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5671
d0af9f77 5672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5673 Recode to scan one line at a time rather than having \n and \r
58179cce 5674 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5675 (c-forward-label): Amend for virtual semicolons.
58179cce 5676 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5677
52bedd34
AM
5678 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5679 of the new C macros.
bc97a826 5680
52bedd34 5681 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5682 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5683 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5684 (c-opt-cpp-macro-define): Make into a full language variable.
5685 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5686 AWK Mode (including \n, \r) removed, no longer needed.
5687
d0af9f77
SM
5688 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5689 Invoke c-make-macro-with-semi-re.
bc97a826 5690
52bedd34
AM
5691 * progmodes/cc-vars.el (c-macro-with-semi-re):
5692 (c-macro-names-with-semicolon): New variables.
58179cce 5693 (c-make-macro-with-semi-re): New function.
bc97a826 5694
7a6c0941
SM
56952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * vc/log-edit.el: Fill empty field rather than adding new one.
5698 (log-edit-add-field): New function.
5699 (log-edit-insert-changelog): Use it.
5700
b0c4cdcf
ML
57012011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5702
5703 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5704
ee1f1da9
SM
57052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5708 (gdb--check-interpreter): New function.
5709 (gdb): Use it.
5710
51bc5f8b
GM
57112011-10-27 Glenn Morris <rgm@gnu.org>
5712
416a2c45
GM
5713 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5714 (least-positive-float, least-negative-float)
5715 (least-positive-normalized-float, least-negative-normalized-float)
5716 (float-epsilon, float-negative-epsilon):
5717 Remove unnecessary declarations.
5718
5719 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5720 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5721 (least-positive-float, least-negative-float)
5722 (least-positive-normalized-float, least-negative-normalized-float)
5723 (float-epsilon, float-negative-epsilon): Add doc-strings,
5724 based on those in cl.texi.
5725
51bc5f8b
GM
5726 * files.el (set-visited-file-name): If the major-mode changed,
5727 reload the local variables. (Bug#9796)
5728
15de15c6
CY
57292011-10-27 Chong Yidong <cyd@gnu.org>
5730
5731 * subr.el (change-major-mode-after-body-hook): New hook.
5732 (run-mode-hooks): Run it.
5733
ee1f1da9
SM
5734 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5735 Use change-major-mode-before-body-hook.
15de15c6
CY
5736
5737 * simple.el (fundamental-mode):
5738 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5739 change introducing fundamental-mode-hook.
5740
5430d399
JB
57412011-10-26 Juanma Barranquero <lekktu@gmail.com>
5742
acc825c5 5743 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5744
ad74a69e
MA
57452011-10-26 Michael Albinus <michael.albinus@gmx.de>
5746
5747 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5748 tramp.el explicitly. (Bug#7583)
ad74a69e 5749
71d4c2a5
SM
57502011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * progmodes/octave-mod.el:
5753 * progmodes/octave-inf.el: Update maintainer.
5754
b1f6fa26
CY
57552011-10-26 Chong Yidong <cyd@gnu.org>
5756
5757 * subr.el (with-wrapper-hook): Rewrite doc.
5758
3f04efd6
MA
57592011-10-25 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5762 filenames "/method:foo:". (Bug#9793)
3f04efd6 5763
410488d3
SM
57642011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5767 (bug#9865).
5768
c1ebb47e
GM
57692011-10-24 Glenn Morris <rgm@gnu.org>
5770
5771 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5772
7f5c46c7
MA
57732011-10-24 Michael Albinus <michael.albinus@gmx.de>
5774
5775 * notifications.el: Add the requirement of a running D-Bus session
5776 bus to the Commentary.
5777
db2440b6
JL
57782011-10-24 Juri Linkov <juri@jurta.org>
5779
5780 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5781 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5782 (Bug#9364)
5783
feecf435
JL
57842011-10-24 Juri Linkov <juri@jurta.org>
5785
5786 * info.el (Info-following-node-name-re): Add newline to the list
5787 of allowed characters for leading space. (Bug#9824)
5788
a3839de2
SM
57892011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5790
acc825c5
SM
5791 * progmodes/octave-inf.el (inferior-octave-mode-map):
5792 Fix C-c C-h binding.
a3839de2
SM
5793 * progmodes/octave-mod.el (octave-help): Remove.
5794
09388e76
MA
57952011-10-23 Michael Albinus <michael.albinus@gmx.de>
5796
5797 Sync with Tramp 2.2.3.
5798
5799 * net/tramp-cache.el (top): Pacify byte-compiler using
5800 `init-file-user' and `site-run-file'.
5801
5802 * net/trampver.el: Update release number.
5803
86c60681
CY
58042011-10-23 Chong Yidong <cyd@gnu.org>
5805
5806 * files.el (toggle-read-only): Remove obsolete comment about
5807 version control.
5808
5809 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5810 for toggle-read-only. Note that this hasn't called vc-next-action
5811 since 2008-05-02, though it wasn't documented at the time.
5812
a3839de2
SM
5813 * vc/ediff-init.el (ediff-toggle-read-only-function):
5814 Use toggle-read-only.
86c60681 5815
cd5495ff
AM
58162011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5817
5818 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5819 of c-parse-state.
5820
00b77525 5821 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5822 correct faulty logical expression.
cd5495ff
AM
5823 (c-parse-state-state, c-record-parse-state-state):
5824 (c-replay-parse-state-state): New defvar/defuns.
5825 (c-debug-parse-state): Use new functions.
5826
42ee24ed
MR
58272011-10-22 Martin Rudalics <rudalics@gmx.at>
5828
5829 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5830 last fix. Use window-in-direction correctly.
42ee24ed 5831
a7dee7e7
CY
58322011-10-21 Chong Yidong <cyd@gnu.org>
5833
5834 * progmodes/idlwave.el (idlwave-mode):
5835 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5836 require-final-newline; that's done in prog-mode.
5837 Suggested by Stefan Monnier.
a7dee7e7 5838
e07b9a6d
MR
58392011-10-21 Martin Rudalics <rudalics@gmx.at>
5840
5841 * mouse.el (mouse-drag-window-above)
5842 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5843 (mouse-drag-mode-line-1, mouse-drag-header-line)
5844 (mouse-drag-vertical-line-rightward-window): Remove.
5845 (mouse-drag-line): New function.
5846 (mouse-drag-mode-line, mouse-drag-header-line)
5847 (mouse-drag-vertical-line): Call mouse-drag-line.
5848 * window.el (window-at-side-p, windows-at-side): New functions.
5849
7e1361d9
UM
58502011-10-21 Ulrich Mueller <ulm@gentoo.org>
5851
5852 * tar-mode.el (tar-grind-file-mode):
5853 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5854
30fcaf3a
CY
58552011-10-21 Chong Yidong <cyd@gnu.org>
5856
5857 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5858 * progmodes/vera-mode.el (vera-mode):
5859 Use mode-require-final-newline.
30fcaf3a 5860
516eddb0
GM
58612011-10-20 Glenn Morris <rgm@gnu.org>
5862
db22a3c2 5863 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5864
10d5f513
CS
58652011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5866
5867 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5868
ac6c8639
CY
58692011-10-20 Chong Yidong <cyd@gnu.org>
5870
5871 * emulation/cua-base.el (cua-mode):
5872 * mail/footnote.el (footnote-mode):
5873 * mail/mailabbrev.el (mail-abbrevs-mode):
5874 * net/xesam.el (xesam-minor-mode):
5875 * progmodes/bug-reference.el (bug-reference-mode):
5876 * progmodes/cap-words.el (capitalized-words-mode):
5877 * progmodes/compile.el (compilation-minor-mode)
5878 (compilation-shell-minor-mode):
5879 * progmodes/gud.el (gud-tooltip-mode):
5880 * progmodes/hideif.el (hide-ifdef-mode):
5881 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5882 * progmodes/subword.el (subword-mode):
5883 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5884 * progmodes/which-func.el (which-function-mode):
5885 * term/tvi970.el (tvi970-set-keypad-mode):
5886 * term/vt100.el (vt100-wide-mode):
5887 * textmodes/flyspell.el (flyspell-mode):
5888 * textmodes/ispell.el (ispell-minor-mode):
5889 * textmodes/nroff-mode.el (nroff-electric-mode):
5890 * textmodes/paragraphs.el (use-hard-newlines):
5891 * textmodes/refill.el (refill-mode):
5892 * textmodes/reftex.el (reftex-mode):
5893 * textmodes/rst.el (rst-minor-mode):
5894 * textmodes/sgml-mode.el (html-autoview-mode)
5895 (sgml-electric-tag-pair-mode):
5896 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5897 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5898 * emulation/crisp.el (crisp-mode):
5899 * emacs-lisp/eldoc.el (eldoc-mode):
5900 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5901 minor mode behavior.
5902
aa42ab43
JL
59032011-10-19 Juri Linkov <juri@jurta.org>
5904
5905 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5906 the list of hard-coded chars with escape-glyph face.
5907
89400f1d
SM
59082011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5911
305c07f6
MA
59122011-10-19 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5915 running process.
5916
13754b54
GM
59172011-10-19 Glenn Morris <rgm@gnu.org>
5918
5919 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5920 Ignore ignored files. (Bug#9726)
5921
06e21633
CY
59222011-10-19 Chong Yidong <cyd@gnu.org>
5923
5924 Doc fix for minor modes, stating that an omitted argument enables
5925 the mode unconditionally when called from Lisp.
5926
5927 * abbrev.el (abbrev-mode):
5928 * allout.el (allout-mode):
5929 * autoinsert.el (auto-insert-mode):
5930 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5931 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5932 (global-auto-revert-mode):
5933 * battery.el (display-battery-mode):
5934 * composite.el (global-auto-composition-mode)
5935 (auto-composition-mode):
5936 * delsel.el (delete-selection-mode):
5937 * desktop.el (desktop-save-mode):
5938 * dired-x.el (dired-omit-mode):
5939 * dirtrack.el (dirtrack-mode):
5940 * doc-view.el (doc-view-minor-mode):
5941 * double.el (double-mode):
5942 * electric.el (electric-indent-mode, electric-pair-mode):
5943 * emacs-lock.el (emacs-lock-mode):
5944 * epa-hook.el (auto-encryption-mode):
5945 * follow.el (follow-mode):
5946 * font-core.el (font-lock-mode):
5947 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5948 * help.el (temp-buffer-resize-mode):
5949 * hilit-chg.el (highlight-changes-mode)
5950 (highlight-changes-visible-mode):
5951 * hi-lock.el (hi-lock-mode):
5952 * hl-line.el (hl-line-mode, global-hl-line-mode):
5953 * icomplete.el (icomplete-mode):
5954 * ido.el (ido-everywhere):
5955 * image-file.el (auto-image-file-mode):
5956 * image-mode.el (image-minor-mode):
5957 * iswitchb.el (iswitchb-mode):
5958 * jka-cmpr-hook.el (auto-compression-mode):
5959 * linum.el (linum-mode):
5960 * longlines.el (longlines-mode):
5961 * master.el (master-mode):
5962 * mb-depth.el (minibuffer-depth-indicate-mode):
5963 * menu-bar.el (menu-bar-mode):
5964 * minibuf-eldef.el (minibuffer-electric-default-mode):
5965 * mouse-sel.el (mouse-sel-mode):
5966 * msb.el (msb-mode):
5967 * mwheel.el (mouse-wheel-mode):
5968 * outline.el (outline-minor-mode):
5969 * paren.el (show-paren-mode):
5970 * recentf.el (recentf-mode):
5971 * reveal.el (reveal-mode, global-reveal-mode):
5972 * rfn-eshadow.el (file-name-shadow-mode):
5973 * ruler-mode.el (ruler-mode):
5974 * savehist.el (savehist-mode):
5975 * scroll-all.el (scroll-all-mode):
5976 * scroll-bar.el (scroll-bar-mode):
5977 * server.el (server-mode):
5978 * shell.el (shell-dirtrack-mode):
5979 * simple.el (auto-fill-mode, transient-mark-mode)
5980 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5981 (line-number-mode, column-number-mode, size-indication-mode)
5982 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5983 * strokes.el (strokes-mode):
5984 * time.el (display-time-mode):
5985 * t-mouse.el (gpm-mouse-mode):
5986 * tool-bar.el (tool-bar-mode):
5987 * tooltip.el (tooltip-mode):
5988 * type-break.el (type-break-mode-line-message-mode)
5989 (type-break-query-mode):
5990 * view.el (view-mode):
5991 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5992 (global-whitespace-mode, global-whitespace-newline-mode):
5993 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5994
a3839de2
SM
5995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5996 Fix autogenerated docstring.
06e21633 5997
5214e501
JL
59982011-10-19 Juri Linkov <juri@jurta.org>
5999
6000 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6001 by checking environment variables "DESKTOP_SESSION" and
6002 "XDG_CURRENT_DESKTOP". (Bug#9779)
6003
195f8db9
JL
60042011-10-19 Juri Linkov <juri@jurta.org>
6005
6006 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6007 (browse-url-chromium-program, browse-url-chromium-arguments):
6008 New defcustoms.
6009 (browse-url-default-browser): Check for `browse-url-chromium' and
6010 call `browse-url-chromium-program'.
6011 (browse-url-chromium): New command. (Bug#9779)
6012
343a34ff
JB
60132011-10-18 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * facemenu.el (list-colors-duplicates): On Windows, detect more
6016 duplicates by assuming that only colors matching "^System" are
6017 special "system colors". (Bug#9722)
6018
6978a151
SM
60192011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6022 to distinguish the author from the committer.
6023
6a80b297
MA
60242011-10-18 Michael Albinus <michael.albinus@gmx.de>
6025
6026 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6027
b31a5677
JK
60282011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6029
6030 * international/mule.el (sgml-html-meta-auto-coding-function):
6031 Add support for detecting encoding in HTML5 specified only as
6032 <meta charset="UTF-8">. Implementation just makes http-equiv and
6033 content-type parts from HTML4 encoding string optional. (Bug#9716)
6034
80c6d77f
GM
60352011-10-18 Glenn Morris <rgm@gnu.org>
6036
6037 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6038
08b0fee8
CY
60392011-10-18 Chong Yidong <cyd@gnu.org>
6040
6041 * faces.el (cursor): Doc fix.
6042
67e729a5
CY
60432011-10-17 Chong Yidong <cyd@gnu.org>
6044
6045 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6046
343a34ff 60472011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6048
6049 * dirtrack.el (dirtrack): Support shell buffers with path
6050 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6051
0bc06380
TZ
60522011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6053
6054 * json.el: Bump version to 1.3 and note change in History.
6055 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6056
8b79f3e0
SM
60572011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6058
5a7c536b
SM
6059 * comint.el (comint-insert-input, comint-send-input)
6060 (comint-get-old-input-default, comint-backward-matching-input)
6061 (comint-next-prompt): Use nil instead of `input' for field property of
6062 past user input (bug#114).
6063
96a8a0df
SM
6064 * minibuffer.el (completion--replace): Inherit surrounding properties
6065 (bug#114).
6066 (minibuffer-complete-and-exit): Use it.
6067
8b79f3e0
SM
6068 * comint.el (comint--table-subvert): Quote the all-completions output
6069 (bug#9160).
6070
b8f7ff0d
MR
60712011-10-17 Martin Rudalics <rudalics@gmx.at>
6072
8b79f3e0 6073 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6074
b8f7ff0d 6075 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6076 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6077 entries and separate them from frame entries.
6078
c235b555
GM
60792011-10-15 Glenn Morris <rgm@gnu.org>
6080
6081 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6082 Doc fixes.
6083
6bbfa6e1
CY
60842011-10-15 Chong Yidong <cyd@stupidchicken.com>
6085
8b79f3e0
SM
6086 * net/network-stream.el (network-stream-open-starttls):
6087 Improve detection of failure due to lack of TLS support.
ec5c990d 6088
6bbfa6e1
CY
6089 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6090 putting the input text in front and in bold.
6091
98488977
SM
60922011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6093
3d1337be
SM
6094 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6095
ee0b45e4
SM
6096 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6097 empty buffer.
6098
98488977
SM
6099 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6100 unread-command-events rather than pushing yet-another event.
6101
186f4720
EZ
61022011-10-14 Eli Zaretskii <eliz@gnu.org>
6103
6104 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6105 the explanation of the possible choices. Make the options passed
6106 to completing-read shorter.
6107
8b7a997c
AM
61082011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6109
6110 * textmodes/flyspell.el (flyspell-large-region): Make sure
6111 extended character mode is used if defined (Bug#1339).
6112
12587bbb
EZ
61132011-10-13 Eli Zaretskii <eliz@gnu.org>
6114
6115 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6116 character info for LRE, LRO, RLE, and RLO characters by appending
6117 an invisible PDF.
12587bbb 6118
bad41229
SM
61192011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6122 even in case of error; add debug spec; simplify data flow.
6123 (with-timeout-handler): Remove.
6124
28dbc92f
MA
61252011-10-12 Michael Albinus <michael.albinus@gmx.de>
6126
6127 Fix Bug#6019, Bug#9315.
6128
6129 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6130 complete `buffer-file-name', the local file name part could look
6131 remotely (for example on VMS).
6132
6133 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6134 `tramp-run-real-handler'.
6135 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6136 already quoted by '"'.
6137
6138 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6139 Let `file-name-handler-alist' be nil, the local file name part
6140 could look remotely (for example on VMS).
6141
e1b0b23a
SM
61422011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6145 from here...
6146 (flyspell-post-command-hook): ...to here.
6147
a120bde9
SM
61482011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6151 if not needed.
6152 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6153 using completion. Protect against "slow" callers.
6154 Remove the "message hack".
6155
7ce7717b
JL
61562011-10-11 Juri Linkov <juri@jurta.org>
6157
6158 * isearch.el (isearch-lazy-highlight-word): New variable.
6159 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6160 Use it. (Bug#9727)
6161
c02ee9d6
GM
61622011-10-11 Glenn Morris <rgm@gnu.org>
6163
6164 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6165 like f90-previous-statement does.
6166
93e616fd 61672011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6168
1f190e73 6169 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6170 only in interactive use, to avoid error.
6171
af7b6078
SM
61722011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * minibuffer.el (completion-file-name-table): Fix last change,
6175 i.e. ignore normal errors but not the other ones.
6176
0563dae9
MR
61772011-10-10 Martin Rudalics <rudalics@gmx.at>
6178
6179 * window.el (special-display-buffer-names)
6180 (special-display-regexps): Remove some remnants of earlier
6181 changes from doc-strings.
366ca7f3
MR
6182 (quit-windows-on): New function.
6183
6184 * vc/vc.el (vc-revert, vc-rollback):
6185 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6186 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6187 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6188
49677495
MR
61892011-10-09 Martin Rudalics <rudalics@gmx.at>
6190
6191 * window.el (frame-auto-hide-function): Add version tag.
6192 (Bug#9699)
6193
56f2d1e1
MA
61942011-10-09 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6197 condition.
6198
112a6592
LL
61992011-10-09 Leo Liu <sdl.web@gmail.com>
6200
6201 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6202 (Bug#9701)
6203
0812589b
GM
62042011-10-08 Glenn Morris <rgm@gnu.org>
6205
6206 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6207 before the first code statement zero indent. (Bug#9690)
6208
b2b0776e
CY
62092011-10-08 Chong Yidong <cyd@stupidchicken.com>
6210
6211 * simple.el (count-words-region): Always count in the region.
6212 Report the number of lines and characters too.
6213 (count-words): New command, which counts in the buffer if the
6214 region is inactive, as count-words-region used to.
6215 (count-words--message): New function. Handle plurals.
6216 (count-lines-region): Make it an alias for count-words-region.
6217
6218 * bindings.el (esc-map): Replace count-lines-region with
6219 count-words-region.
6220
c557cd6b
MR
62212011-10-08 Martin Rudalics <rudalics@gmx.at>
6222
6223 * window.el (window--delete): Delete dedicated frame
6224 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6225 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6226
61a57ef4 62272011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6228
3a7d293b 6229 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6230
c3833279
CY
62312011-10-07 Chong Yidong <cyd@stupidchicken.com>
6232
6233 * bindings.el ([M-left],[M-right]): Bind to left-word and
6234 right-word respectively.
6235
21ce8245
GM
62362011-10-07 Glenn Morris <rgm@gnu.org>
6237
6238 * cus-start.el (debug-on-quit): Fix custom type.
6239
6d823bb2
LMI
62402011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6241
0181e193
LMI
6242 * subr.el (define-key-after): Clarify that the function is not
6243 useful for non-menu keymaps.
6244
6d823bb2
LMI
6245 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6246
8e3459ce 62472011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6248
21ce8245 6249 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6250 in current minibuffer (Fix bug with recursive minibuffers).
6251
a1c2d21e
CY
62522011-10-06 Chong Yidong <cyd@stupidchicken.com>
6253
6254 * progmodes/gdb-mi.el (gdb): Doc fix.
6255
5a4cf282
MR
62562011-10-05 Martin Rudalics <rudalics@gmx.at>
6257
6258 * window.el (frame-auto-hide-function): New option replacing
6259 frame-auto-delete. Suggested by Stefan Monnier.
6260 (window--delete): Call frame-auto-hide-function instead of
6261 investigating frame-auto-delete.
c96111ea
MR
6262 (window-point-1, set-window-point-1): New functions.
6263 (window-in-direction, record-window-buffer, window-state-get-1)
6264 (display-buffer-record-window): Use window-point-1 instead of
6265 window-point.
6266 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6267
9854542e
SM
62682011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6271
8943cfb0
GM
62722011-10-05 Glenn Morris <rgm@gnu.org>
6273
6274 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6275 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6276
647ab967
LL
62772011-10-05 Leo Liu <sdl.web@gmail.com>
6278
6279 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6280 works with buffer object.
6281
3ddfbced
SM
62822011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * mpc.el (mpc-tool-bar-map): Add labels.
6285
bdfa5dd2
GM
62862011-10-04 Glenn Morris <rgm@gnu.org>
6287
6288 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6289
0e2070b5
MR
62902011-10-04 Martin Rudalics <rudalics@gmx.at>
6291
6292 * window.el (window--delete): New function.
6293 (frame-auto-delete): Resuscitate option.
6294 (bury-buffer, replace-buffer-in-windows)
6295 (quit-window): Rewrite using window--delete.
6296 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6297 Pass display-buffer-mark-dedicated to window--display-buffer-2
6298 (Bug#9639).
6299
3dc61a09
SM
63002011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6301
915a9b64
SM
6302 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6303 returns a list (bug#9554). Add remote file name completion.
6304 * comint.el (comint--table-subvert): Curry and get quote&unquote
6305 functions as arguments.
6306 (comint--complete-file-name-data): Adjust call accordingly.
6307 * pcomplete.el (pcomplete--table-subvert): Remove.
6308 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6309
3dc61a09
SM
6310 * minibuffer.el (completion-table-case-fold): Use currying.
6311 (completion--styles-type, completion--cycling-threshold-type):
6312 New constants.
6313 (completion-styles, completion-category-overrides)
6314 (completion-cycle-threshold): Use them.
6315 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6316 completion-table-case-fold.
6317
8ea0a993
SB
63182011-10-03 Stephen Berman <stephen.berman@gmx.net>
6319
6320 * minibuffer.el (completion-category-overrides): Fix type of styles
6321 and add more user friendly tags (bug#9660).
6322
8c24b7f6
SM
63232011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6326 (mule-input-method-string): New widget.
6327 (default-input-method, language-info-custom-alist): Use it.
6328
428fe61a
SM
63292011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6330
32c1fffd
SM
6331 * pcomplete.el: Require comint.
6332 (pcomplete--common-suffix): Remove.
6333 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6334 (pcomplete--table-subvert): Sync with comint--table-subvert.
6335 (pcomplete--entries): Use comint-completion-file-name-table.
6336 * comint.el (comint-unquote-filename): Simplify.
6337 (comint-completion-file-name-table): New function (bug#9616).
6338 (comint--complete-file-name-data): Use it.
6339
428fe61a
SM
6340 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6341 (pcmpl-gnu-tar-buffer): Remove.
6342 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6343 around. Make sure pcomplete-suffix-list is only changed temporarily.
6344 Don't look inside the tar's file if it's too large.
428fe61a 6345
04c52e2f
CY
63462011-10-01 Chong Yidong <cyd@stupidchicken.com>
6347
ce3cefcc
CY
6348 * cus-edit.el (custom-mode-map):
6349 * epa.el (epa-key-list-mode-map):
6350 * man.el (Man-mode-map):
6351 * startup.el (splash-screen-keymap):
6352 * simple.el (special-mode-map): Use scroll-up-command and
6353 scroll-down-command.
6354
6355 * progmodes/idlw-help.el (idlwave-help-mode-map):
6356 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6357 * net/newst-plainview.el (newsticker-mode-map):
6358 * emulation/ws-mode.el (wordstar-mode-map):
6359 * emulation/vi.el (vi-com-map):
6360 * calc/calc-graph.el (calc-graph-show-dumb):
6361 * term/sun.el (terminal-init-sun):
6362 * term/ns-win.el (global-map):
6363 * progmodes/grep.el (grep-mode-map):
6364 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6365 * mail/rmail.el (rmail-mode-map):
6366 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6367
04c52e2f
CY
6368 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6369 custom-safe-themes as special.
6370
79adf8c8
JD
63712011-10-01 Julien Danjou <julien@danjou.info>
6372
6373 * notifications.el (notifications-notify): Fix docstring.
6374
63bd50d3
PS
63752011-10-01 Per Starbäck <per@starback.se>
6376
6377 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6378
199e4c7e
MR
63792011-09-30 Martin Rudalics <rudalics@gmx.at>
6380
6381 * startup.el (command-line-1): Fix last fix by inserting
6382 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6383 (Bug#9605) and (Bug#9636)
199e4c7e 6384
fe5f08dd
EZ
63852011-09-29 Eli Zaretskii <eliz@gnu.org>
6386
6387 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6388 window is hscrolled, move by logical lines. (Bug#9607)
6389 (line-move-visual): Update the doc string to the above effect.
6390
b5516bbd
MR
63912011-09-29 Martin Rudalics <rudalics@gmx.at>
6392
ccee00c0
MR
6393 * window.el (display-buffer-record-window): When WINDOW is the
6394 selected window use `point' instead of `window-point'. (Bug#9626)
6395
b5516bbd
MR
6396 * startup.el (command-line-1): Use insert-before-markers when
6397 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6398
b5516bbd
MR
6399 * help.el (help-window): Remove variable.
6400
52aa0014
GM
64012011-09-29 Glenn Morris <rgm@gnu.org>
6402
6403 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6404
df9a7357
JB
64052011-09-29 Juanma Barranquero <lekktu@gmail.com>
6406
6407 * descr-text.el (describe-char-categories): Accept category
6408 descriptions more than one line long.
6409
a8406c20
SM
64102011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6411
88d9610c
SM
6412 * simple.el (delete-trailing-whitespace): Fix last change.
6413
a5daf810
SM
6414 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6415 Don't confuse "y => 3" as the beginning of a `y' operation.
6416
a8406c20
SM
6417 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6418 object has more than 4 slots (bug#9613).
6419
a239d4e9
JB
64202011-09-28 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * subr.el (with-output-to-temp-buffer):
6423 * net/quickurl.el (quickurl, quickurl-browse-url):
6424 Fix typos in docstrings.
6425
693fbdb6
EZ
64262011-09-27 Eli Zaretskii <eliz@gnu.org>
6427
6428 * minibuffer.el (completion-styles)
6429 (completion-category-overrides): Cross reference each other in doc
6430 strings.
6431
8b457e28
GM
64322011-09-27 Glenn Morris <rgm@gnu.org>
6433
6434 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6435 to split-string. (Bug#9606)
6436
85a16208
LMI
64372011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6438
6439 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6440 (bug#9615).
6441
502f9ebd
CY
64422011-09-27 Chong Yidong <cyd@stupidchicken.com>
6443
6444 * emacs-lisp/package.el (list-packages): Fix echo area message.
6445
7690bdea
LL
64462011-09-27 Leo Liu <sdl.web@gmail.com>
6447
6448 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6449
e2ee6f30
MA
64502011-09-25 Michael Albinus <michael.albinus@gmx.de>
6451
6452 * net/dbus.el (dbus-unregister-object): Don't release services for
6453 registered signals. (Bug#9581)
6454
f3f98342
TZ
64552011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6456
6457 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6458 function that picks between cfengine 2 and 3 support
6459 automatically. Update docs accordingly.
6460
dd7aa8dd
KH
64612011-09-22 Kenichi Handa <handa@m17n.org>
6462
6463 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6464 ZERO.
6465 (indian-itrans-v5-table-for-tamil): New variable.
6466 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6467
3f2b07f8
KM
64682011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6469
6470 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6471 that's true if the current command involved collapsing of text.
6472 It's reset to false at the beginning of the next command.
6473 (allout-post-command-business): Move the cursor to the beginning
6474 of entry if the cursor is hidden and collapsing activity just
6475 happened.
6476
371d6a61
CY
64772011-09-24 Chong Yidong <cyd@stupidchicken.com>
6478
6479 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6480 tracking (Bug#9541).
6481
2ac2721a
UJ
64822011-09-24 Ulf Jasper <ulf.jasper@web.de>
6483
6484 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6485 (newsticker-show-news): Automatically load html rendering package
6486 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6487 because w3m-fill-column is let-bound" and the error "Symbol's value
6488 as variable is void: w3m-fill-column".
2ac2721a 6489
fac7ae53
MA
64902011-09-24 Michael Albinus <michael.albinus@gmx.de>
6491
6492 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6493 Release services only if they are defined. (Bug#9581)
6494
e08b633b
RS
64952011-09-23 Richard Stallman <rms@gnu.org>
6496
e488d29c
RS
6497 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6498 distinguish start of paragraph from start of its text.
6499
19c38752
RS
6500 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6501
e08b633b
RS
6502 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6503 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6504 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6505
0a39f27e
AS
65062011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6507
6508 * international/mule-diag.el (mule-diag): Insert a newline after
6509 each fontset description.
6510
db4e950d
SM
65112011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * simple.el (delete-trailing-whitespace):
6514 Document last change; simplify.
6515
eca3f3ea
PW
65162011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6517
d68e189a
PW
6518 * simple.el (delete-trailing-whitespace): Also delete
6519 extra newlines at the end of the buffer.
6520
eca3f3ea
PW
6521 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6522 (picture-newline): Use forward-line so as to ignore fields.
6523
01c157cc
SM
65242011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * subr.el (with-wrapper-hook): Fix edebug spec.
6527
022de23e
LMI
65282011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6529
6530 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6531 (bug#4538).
6532
91683089
MA
65332011-09-23 Michael Albinus <michael.albinus@gmx.de>
6534
eca3f3ea
PW
6535 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6536 Fix nasty bug using wrong cached values.
91683089 6537
5bdd6fa4
AM
65382011-09-23 Alan Mackenzie <acm@muc.de>
6539
6540 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6541
97adfb97
CY
65422011-09-23 Chong Yidong <cyd@stupidchicken.com>
6543
6544 * window.el (pop-to-buffer): Ensure right window is selected if we
6545 chose another frame.
6546
d4ef2b50
EZ
65472011-09-22 Eli Zaretskii <eliz@gnu.org>
6548
6549 * simple.el (what-cursor-position): Use get-char-property-change
6550 and next-single-char-property-change, to be able to show display
6551 properties that come from overlays as well as text properties.
6552
72258fe5
CY
65532011-09-22 Chong Yidong <cyd@stupidchicken.com>
6554
6555 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6556
6557 * cmuscheme.el (run-scheme, switch-to-scheme):
6558 * cus-edit.el (customize-group, custom-buffer-create)
6559 (customize-browse):
6560 * info.el (info):
6561 * shell.el (shell):
6562 * mail/sendmail.el (mail):
6563 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6564
8f098516
RS
65652011-09-22 Richard Stallman <rms@gnu.org>
6566
6567 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6568 move back only to line beg, don't move back over blank lines.
6569
e74f1bb6
MA
65702011-09-22 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * files.el (copy-directory): Set directory attributes only in case
6573 they could be retrieved from the source directory. (Bug#9565)
6574
bfeef8b6
DK
65752011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6576
6577 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6578 (hs-find-block-beginning, hs-hide-level-recursive):
6579 Ignore strings as well as comments. (Bug#9502)
6580
7e423bb8
AS
65812011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6582
6583 * progmodes/sql.el (sql-comint-postgres):
6584 Convert port number to a string. (Bug#9566)
6585
b4d72fcf
MR
65862011-09-22 Martin Rudalics <rudalics@gmx.at>
6587
6588 * window.el (quit-window): Undedicate window when switching to
6589 previous buffer. Reported by Thierry Volpiatto
6590 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6591 (special-display-popup-frame): When popping up a new frame reset
6592 its previous buffers to nil. Simplify code.
b4d72fcf 6593
a7b88dc6
MA
65942011-09-21 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6597 and process filter, as done also in `shell-command'.
6598
cf4eacfd
MR
65992011-09-21 Martin Rudalics <rudalics@gmx.at>
6600
eca3f3ea 6601 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6602 Call set-window-start with NOFORCE argument t.
6603 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6604 (quit-window): Reword doc-string. Handle new format of
6605 quit-restore parameter. Don't delete window if it has a
6606 previous buffer we can show instead of the present one.
6607 (display-buffer-record-window): Rewrite using a new format for
6608 the quit-restore window parameter
6609 (special-display-popup-frame, display-buffer-same-window)
6610 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6611 (display-buffer-pop-up-window, display-buffer-use-some-window):
6612 Adapt symbol passed to display-buffer-record-window.
6613 * help.el (help-window-setup): Handle new format of quit-restore
6614 parameter.
6615
8d28cb95
SM
66162011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6617
94ab793f
SM
6618 * faces.el (face-list): Fix docstring (bug#9564).
6619
8d28cb95
SM
6620 * window.el (display-buffer--action-function-custom-type):
6621 Don't include internal functions in the Custom interface.
6622
3820edeb
JL
66232011-09-20 Juri Linkov <juri@jurta.org>
6624
6625 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6626 (Info-forward-node, Info-backward-node, Info-next-preorder)
6627 (Info-last-preorder): Use it. (Bug#9528)
6628
5147931d
JL
66292011-09-20 Juri Linkov <juri@jurta.org>
6630
6631 * info.el (Info-last-preorder): Visit last menu item only when
6632 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6633
cf499a1a
JD
66342011-09-20 Julien Danjou <julien@danjou.info>
6635
6636 * password-cache.el (password-cache-remove): Remove entries even if the
6637 value is nil, so that password with a nil value (negative caching) is
6638 possible to invalidate.
6639
f84e2fe2
LM
66402011-09-20 Lawrence Mitchell <wence@gmx.li>
6641
6642 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6643 all whitespace around breakpoint. (Bug#9553)
6644 (f90-find-breakpoint): Only break at whitespace inside a comment.
6645
78054a46
SM
66462011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * minibuffer.el (completion-file-name-table): Keep track of errors.
6649 (completion-table-with-predicate): Handle the case where pred1 is nil.
6650 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6651
345083b2
SM
66522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6653
e24e27be
SM
6654 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6655 (debugger-return-value): Signal an error if the debugging context does
6656 not await any return value.
6657
345083b2
SM
6658 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6659 * image-mode.el (image-toggle-display-text)
6660 (image-toggle-display-image): Stay away from evil `intangible'.
6661
08d355e3
LL
66622011-09-19 Leo Liu <sdl.web@gmail.com>
6663
6664 * replace.el (occur-revert-arguments): Make it permanent-local.
6665 (occur-mode): Don't call font-lock-defontify.
6666
f01da43f
CY
66672011-09-19 Chong Yidong <cyd@stupidchicken.com>
6668
6669 * net/ldap.el (ldap-search-internal): Don't push empty search
6670 result (Bug#9508).
6671
b6072fa6
SM
66722011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6675
443d6696
MA
66762011-09-19 Michael Albinus <michael.albinus@gmx.de>
6677
6678 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6679 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6680
7cc6e154
JL
66812011-09-18 Juri Linkov <juri@jurta.org>
6682
6683 * buff-menu.el (Buffer-menu-mode-map):
6684 * dired.el (dired-mode-map):
6685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6686 (lisp-interaction-mode-map):
6687 * emacs-lisp/package.el (package-menu-mode-map):
6688 * epa.el (epa-key-list-mode-map):
6689 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6690 (menu-bar-options-menu):
6691 * outline.el (outline-mode-menu-bar-map):
6692 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6693 * vc/vc-dir.el (vc-dir-menu-map):
6694 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6695 Capitalize non-function content words in menu item strings.
6696
6697 * dired.el (dired-mode-map): Add menu item for
6698 `image-dired-dired-toggle-marked-thumbs'.
6699
80302a81
JL
67002011-09-18 Juri Linkov <juri@jurta.org>
6701
6702 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6703 to `isearch-case-fold-search' and restore its original value
6704 after the `isearch-mode' call.
6705
46c5cf66
JL
67062011-09-18 Juri Linkov <juri@jurta.org>
6707
6708 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6709 because `zgrep' returns 1 for successful matches (bug#9226).
6710
d18b513b
JL
67112011-09-18 Juri Linkov <juri@jurta.org>
6712
6713 * info.el (Info-extract-menu-node-name): Check the second match
6714 for empty string (second test-case of bug#9528).
6715 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6716 intermediate nodes to the history (first test-case of bug#9528).
6717
72753f87
JL
67182011-09-18 Juri Linkov <juri@jurta.org>
6719
6720 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6721 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6722
c9384295
JL
67232011-09-18 Juri Linkov <juri@jurta.org>
6724
1154d12e
JB
6725 * info.el (Info-file-supports-index-cookies):
6726 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6727 outputs one more line for long file names (bug#4142).
c9384295 6728
d473dce8
CY
67292011-09-18 Chong Yidong <cyd@stupidchicken.com>
6730
6731 * newcomment.el (comment-normalize-vars): If prompting for
6732 comment-start, set comment-start-skip too (Bug#8424).
6733
2176854d
JB
67342011-09-18 Johan Bockgård <bojohan@gnu.org>
6735
6736 * icomplete.el: Fix previous fix of Bug#5849.
6737 (icomplete-mode): Don't set completion-show-inline-help.
6738 (icomplete-minibuffer-setup): Set completion-show-inline-help
6739 locally during icompletion.
6740
3aace4e4
CY
67412011-09-18 Chong Yidong <cyd@stupidchicken.com>
6742
c940224f
CY
6743 * woman.el (woman2-process-escapes): Don't delete unrecognized
6744 escapes (Bug#7843).
6745
3aace4e4
CY
6746 * files.el (inhibit-first-line-modes-regexps): Add image files.
6747 (hack-local-variables-prop-line): Return nil for malformed
6748 prop-lines (Bug#9044).
6749
710dec63
MA
67502011-09-18 Michael Albinus <michael.albinus@gmx.de>
6751
6752 * net/tramp.el (top): Don't require 'shell.
6753 (tramp-methods): Fix docstring.
6754 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6755 Return complete remote file name. Handle "smb" case.
6756 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6757 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6758
6759 * net/tramp-compat.el (top): Require 'shell.
6760
6761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6762 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6763 `tramp-current-host'.
6764 (tramp-get-remote-tmpdir): Remove.
6765
6766 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6767 `tramp-tmpdir' entries.
6768 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6769 (tramp-smb-handle-file-attributes): Ignore errors.
6770 (tramp-smb-wait-for-output): Check also for process end.
6771
5d5ac8ec
LMI
67722011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6773
6774 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6775 when sending QUIT (bug#9312).
6776
8c0f49f0
CY
67772011-09-17 Chong Yidong <cyd@stupidchicken.com>
6778
6779 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6780 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6781 occur-mode-display-occurrence.
6782 (occur-edit-mode): Add usage message.
6783 (occur-cease-edit): New command.
6784 (occur-after-change-function): Use text properties to find the
6785 position of the prefix text.
6786 (occur-engine): Set stickiness of prefix text properties.
6787
8f1383f7
GM
67882011-09-17 Glenn Morris <rgm@gnu.org>
6789
6790 * progmodes/etags.el (complete-tag):
6791 Fix call to completion-in-region. (Bug#9526)
6792
744ba0e3
JL
67932011-09-17 Juri Linkov <juri@jurta.org>
6794
6795 * textmodes/ispell.el (ispell-word): Add to the error message
6796 the word, ispell program name and current dictionary (bug#9121).
6797 (ispell-tex-arg-end): Capitalize "error" in the error message.
6798
d9bbf400
AS
67992011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6800
6801 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6802 check. (Bug#4251)
6803
8da11505
JL
68042011-09-17 Juri Linkov <juri@jurta.org>
6805
6806 * window.el (window-safe-min-height, window-safe-min-width):
6807 Fix typos (followup to bug#9522).
6808
a91adc7e
SJ
68092011-09-17 Sven Joachim <svenjoac@gmx.de>
6810
6811 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6812
064f328a
EZ
68132011-09-16 Eli Zaretskii <eliz@gnu.org>
6814
6815 * simple.el (line-move): If goal-column is set, move by logical
6816 lines, not by display lines. (Bug#971)
6817 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6818 to reflect the above change.
6819
e69df516
SM
68202011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * image.el (imagemagick-register-types): Use regexp-opt.
6823
cbb0f9ab
CY
68242011-09-15 Chong Yidong <cyd@stupidchicken.com>
6825
6826 * window.el (display-buffer-base-action): Rename from
6827 display-buffer-default-action. Make default value empty.
6828 (display-buffer-overriding-action): Convert to defvar.
6829 (display-buffer-fallback-action): New var.
6830
25322144
CY
68312011-09-15 Chong Yidong <cyd@stupidchicken.com>
6832
6833 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6834 declaration.
6835 (package--add-to-archive-contents): If there is a duplicate entry
6836 with an older version, remove it.
6837 (package-menu-mark-delete, package-menu-mark-install)
6838 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6839 (package-menu-mark-obsolete-for-deletion):
6840 Use package-menu-get-status instead of a regexp search.
25322144
CY
6841 (package-menu-get-status): Use tabulated-list-entry.
6842 (package-menu-mark-upgrades): New command.
d770725a 6843 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6844 (package-menu-execute): Do installation before deletion.
6845 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6846 instead of checking major-mode.
6847 (package-menu--find-upgrades): New function.
6848
7520339c
LMI
68492011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850
6851 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6852 passwords in the log buffer.
65a046c4
LMI
6853 (smtpmail-process-filter): Update the process marker so that the
6854 "broken by peer" status message is inserted in the right place.
7520339c 6855
d3c30954
SM
68562011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6857
3fe48822
SM
6858 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6859 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6860 bibtex-completion-at-point-function.
6861 (bibtex-completion-at-point-function): Use them.
6862
1b8b3954
SM
6863 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6864
d3c30954
SM
6865 * mpc.el (mpc-constraints-tag-lookup): New function.
6866 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6867 also to browser "album|playlist".
6868
72779976
JL
68692011-09-14 Juri Linkov <juri@jurta.org>
6870
6871 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6872 (isearch-edit-string): Use length of `isearch-string' when
6873 `isearch-fail-pos' returns nil.
6874 (isearch-message): Remove duplicate code and call
6875 `isearch-fail-pos' with arg `t'.
6876
a0bf2bcd
CY
68772011-09-14 Chong Yidong <cyd@stupidchicken.com>
6878
17bb0a2d
CY
6879 * replace.el (occur-mode-goto-occurrence): Don't force using other
6880 window (Bug#9499).
6881
a0bf2bcd
CY
6882 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6883
f678e0b6
MR
68842011-09-14 Martin Rudalics <rudalics@gmx.at>
6885
6886 * window.el (display-buffer-window): Remove.
6887 (display-buffer-record-window): Use help-setup window parameter
6888 instead of variable display-buffer-window.
6889 (display-buffer-function, special-display-buffer-names)
6890 (special-display-function): Mention help-setup parameter instead
6891 of display-buffer-window in doc-string.
d3c30954
SM
6892 * help.el (help-window-setup): New argument help-window.
6893 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6894 Reword some messages.
6895 (with-help-window): Pass window used for displaying the buffer
6896 to help-window-setup. Don't set display-buffer-window.
6897
8e39b2e8
GM
68982011-09-13 Glenn Morris <rgm@gnu.org>
6899
6900 * emacs-lisp/debug.el (debugger-make-xrefs):
6901 Preserve point. (Bug#9462)
6902
85e9c04b
CY
69032011-09-13 Chong Yidong <cyd@stupidchicken.com>
6904
6905 * window.el (window-deletable-p): Use next-frame.
6906
1b36ed6a
MR
69072011-09-13 Martin Rudalics <rudalics@gmx.at>
6908
6909 * window.el (window-auto-delete): Remove.
6910 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6911 dedication and previous buffers.
1b36ed6a
MR
6912 (switch-to-prev-buffer): Don't delete window.
6913 (delete-windows-on): Delete a window's frame if and only if the
6914 window is dedicated.
6915 (replace-buffer-in-windows): Delete buffer's window or frame if
6916 and only if window is dedicated.
6917 (quit-window): Handle quit-restore as before last change.
4d61f28d 6918 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6919
ef8ef9fb
CY
69202011-09-13 Chong Yidong <cyd@stupidchicken.com>
6921
6922 * window.el (window-deletable-p): Never delete the last frame on a
6923 given terminal.
6924
b2cba41e
GM
69252011-09-13 Glenn Morris <rgm@gnu.org>
6926
6927 * help.el (describe-key-briefly): Copy previous standard-output change.
6928
51553db6 69292011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6930
6931 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6932
b7556719
GM
69332011-09-13 Glenn Morris <rgm@gnu.org>
6934
6935 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6936 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6937
64b51947
CY
69382011-09-12 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * dired-aux.el (dired-mark-read-string): Don't return default
6941 value on empty input (Bug#9361).
6942 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6943 Omit initial minibuffer contents.
6944 (dired-do-chmod): Signal an error on empty input.
6945 (dired-mark-read-string): Don't return default on empty input.
6946
6947 * files.el (file-modes-symbolic-to-number): Doc fix.
6948
393a301e
SM
69492011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * international/mule-cmds.el (ucs-completions): Remove.
6952 (read-char-by-name): Use complete-with-action instead; add metadata.
6953
fa5660f9
CY
69542011-09-11 Chong Yidong <cyd@stupidchicken.com>
6955
6956 * window.el (display-buffer--action-function-custom-type)
6957 (display-buffer--action-custom-type): New vars.
6958 (display-buffer-alist, display-buffer-default-action)
6959 (display-buffer-overriding-action): Add defcustom types.
6960
4a592f66
CY
6961 * frame.el (delete-other-frames): Doc fix (Bug#276).
6962
73d56dbd
LMI
69632011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6966
37ac18a3
CY
69672011-09-11 Chong Yidong <cyd@stupidchicken.com>
6968
6969 Change modes that used same-window-* vars to use switch-to-buffer.
6970
6971 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6972 Use switch-to-buffer.
6973
6974 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6975 (customize-browse, custom-buffer-create-other-window):
6976 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6977
6978 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6979 (Info-prev, Info-up, Info-speedbar-goto-node)
6980 (info-display-manual): Use switch-to-buffer.
6981 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6982
6983 * mail/sendmail.el (mail): Use switch-to-buffer.
6984 (mail-recover): Use switch-to-buffer-other-window.
6985
6986 * cmuscheme.el (run-scheme, switch-to-scheme):
6987 * ielm.el (ielm):
6988 * shell.el (shell):
6989 * net/rlogin.el (rlogin):
6990 * net/telnet.el (telnet, rsh):
6991 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6992
10195bd6
AS
69932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6994
6995 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6996
b322f63a
LMI
69972011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
39d7fed6
LMI
6999 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7000 so don't mention it (bug#9301).
ba5a81f1 7001 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7002
ee0e9f11
LMI
7003 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7004 match `x', `w32' and `ns', like the manual says (bug#9029).
7005
0b1c89c1 7006 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7007 (process-kill-buffer-query-function): Mention the buffer name in
7008 the query.
0b1c89c1 7009
77549ea8
LMI
7010 * image-mode.el (image-next-line): The line parameter is mandatory
7011 (bug#9258).
7012
803ef892
LMI
7013 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7014 which can be useful (bug#9301).
7015
12980837
LMI
7016 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7017
91054f8f
LMI
7018 * subr.el (match-string): Mention that the current buffer should
7019 be the same as the search was done in (bug#9282).
7020
b322f63a
LMI
7021 * facemenu.el: Disable the remove-* commands if the mark isn't
7022 active (bug#9162).
7023
3199b96f
CY
70242011-09-10 Chong Yidong <cyd@stupidchicken.com>
7025
7026 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7027 of display-buffer.
7028 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7029
7030 * replace.el (occur-mode-goto-occurrence)
7031 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7032 and display-buffer.
7033
7034 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7035 display-buffer.
7036
7037 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7038 special-display and same-window variables.
7039 (mail-other-window): Use switch-to-buffer-other-window.
7040 (mail-other-frame): USe switch-to-buffer-other-frame.
7041
393a301e
SM
7042 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7043 Use display-buffer-other-frame.
3199b96f
CY
7044 (gdb-display-gdb-buffer): Use pop-to-buffer.
7045
7046 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7047
7048 * progmodes/python.el: Don't set same-window-buffer-names.
7049
7050 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7051
7052 * window.el (display-buffer-alist): Add *Python*.
7053
8319e0bf
CY
70542011-09-10 Chong Yidong <cyd@stupidchicken.com>
7055
7056 * window.el (display-buffer-alist): Add entry for buffers
7057 previously handled same-window-*.
7058 (display-buffer-alist, display-buffer-default-action)
7059 (display-buffer-overriding-action): Mark as risky.
7060 (display-buffer-alist): Document action function changes.
7061 (display-buffer--same-window-action)
7062 (display-buffer--other-frame-action): New variables.
7063 (switch-to-buffer, display-buffer-other-frame): Use them.
7064 (display-buffer): Rename reuse-frame entry to reusable-frames.
7065 (display-buffer-reuse-selected-window): Function deleted.
7066 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7067 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7068 (display-buffer-special): New function.
7069 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7070 display-buffer-reuse-or-pop-window. Split off special-display
7071 part into display-buffer-special.
7072 (display-buffer-use-some-window): Don't perform any special
7073 pop-up-frames handling.
7074 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7075 (display-buffer--maybe-same-window): Rename from
0d3ff375 7076 display-buffer-maybe-same-window.
8319e0bf 7077
919a69aa
CY
7078 * info.el: Don't set same-window-regexps.
7079 (info-setup): New function.
7080 (info-other-window, info): Call it.
7081
7082 * cus-edit.el: Don't set same-window-regexps.
7083 (customize-group): New argument.
7084 (customize-group-other-window): Use it.
7085 (customize-face, customize-face-other-window): Likewise.
7086 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7087
8319e0bf
CY
7088 * net/rlogin.el:
7089 * net/telnet.el:
7090 * progmodes/gud.el: Don't set same-window-regexps.
7091
7092 * cmuscheme.el:
7093 * ielm.el:
7094 * shell.el:
7095 * mail/sendmail.el:
7096 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7097
25173000
JL
70982011-09-10 Juri Linkov <juri@jurta.org>
7099
7100 * isearch.el (isearch-edit-string): Remove obsolete mention of
7101 `C-w' (`isearch-yank-word-or-char') from docstring.
7102 (isearch-query-replace): Fix typo in docstring (bug#9466).
7103
056e44ef
JL
71042011-09-10 Juri Linkov <juri@jurta.org>
7105
7106 * paren.el (show-paren-function): Don't show escaped parens.
7107 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7108
c3760c17
EZ
71092011-09-10 Eli Zaretskii <eliz@gnu.org>
7110
7111 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7112 (mm-default-file-encoding): Remove autoload forms, they are
7113 replaced with autoload cookies in mml.el and mm-encode.el.
7114 (mail-add-attachment): New command.
7115 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7116 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7117 the doc string.
7118 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7119
fece895e
RT
71202011-09-10 Reuben Thomas <rrt@sc3d.org>
7121
e69df516
SM
7122 * simple.el (count-words-region): Use buffer if there's no region
7123 (bug#9429).
fece895e 7124
5e68ce4a
JL
71252011-09-09 Juri Linkov <juri@jurta.org>
7126
7127 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7128 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7129 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7130
0a6b9622
AM
71312011-09-09 Alan Mackenzie <acm@muc.de>
7132
7133 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7134 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7135
14a29deb
EZ
71362011-09-09 Eli Zaretskii <eliz@gnu.org>
7137
7138 Fix for Savannah bug#9392.
7139 * simple.el (mail-encode-mml): New defvar.
7140
7141 * mail/rmail.el (mail-encode-mml): Add a defvar.
7142 (rmail-enable-mime-composing): Default to t.
7143 (rmail-forward): Use MIME method of forwarding only if both
7144 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7145 Set mail-encode-mml non-nil if the MIME method was used.
7146
7147 * mail/sendmail.el (mml-to-mime): Add autoload form.
7148 (mail-encode-mml): Add a defvar.
7149 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7150 to nil.
7151 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7152 message through mml-to-mime, and reset mail-encode-mml to nil.
7153
28c45130
GM
71542011-09-09 Glenn Morris <rgm@gnu.org>
7155
7156 * woman.el (woman-if-body): When processing an .el block,
7157 do not delete the next .el block as well. (Bug#9447)
69f4b618 7158 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7159
9b1c252e
MR
71602011-09-08 Martin Rudalics <rudalics@gmx.at>
7161
7162 * window.el (window-deletable-p): Make sure window is live before
7163 invoking window-prev-buffers.
7164
567457e3
LL
71652011-09-08 Leo Liu <sdl.web@gmail.com>
7166
7167 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7168
97f05794
JL
71692011-09-08 Juri Linkov <juri@jurta.org>
7170
7171 * progmodes/compile.el (compilation-environment): Make it
7172 a defcustom (bug#8340).
7173
8b0874b5
MR
71742011-09-08 Martin Rudalics <rudalics@gmx.at>
7175
7176 * window.el (frame-auto-delete): Rename to window-auto-delete.
7177 Make it control auto-deletion of windows and/or frames.
7178 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7179 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7180 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7181 Rewrite handling of case when window/frame can be deleted.
7182 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7183 argument t. (Bug#9456)
8b0874b5 7184
4feb6e73
CY
71852011-09-07 Chong Yidong <cyd@stupidchicken.com>
7186
7187 * help-mode.el (help-mode): Restore autoload.
7188
91ab9c13
JL
71892011-09-07 Juri Linkov <juri@jurta.org>
7190
7191 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7192 `compilation-environment'. Set buffer-local
7193 `compilation-environment' to `thisenv' later after (funcall mode).
7194 (Bug#8340)
7195
7196 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7197 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7198 instead of replacing its value. (Bug#8340)
7199
0527e251
JL
72002011-09-07 Juri Linkov <juri@jurta.org>
7201
7202 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7203 based on text properties put by `grep-filter' instead of matching
7204 escape sequences.
7205 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7206 to the value of `grep-error-screen-columns' (bug#9438).
7207
249f792c
JL
72082011-09-07 Juri Linkov <juri@jurta.org>
7209
7210 * simple.el (next-error-highlight, next-error-highlight-no-select):
7211 Doc fix (bug#9432).
7212
ff7271b9
OT
72132011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7214
7215 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7216 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7217
183fc730
LL
72182011-09-07 Leo Liu <sdl.web@gmail.com>
7219
7220 * net/rcirc.el (rcirc-mode): Conditionally initialize
7221 rcirc-input-ring.
7222
77694924
SM
72232011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * emacs-lisp/find-func.el (find-function-C-source): Only set
7226 find-function-C-source-directory after checking that we found a source
7227 file there (bug#9440).
7228
d809b8eb
AM
72292011-09-06 Alan Mackenzie <acm@muc.de>
7230
7231 * isearch.el (isearch-other-meta-char): Wherever a key list is
7232 unread, "unread" the prefix arg, too. This fixes bug #8901.
7233
453de99f
OG
72342011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7235
7236 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7237
90439906
JL
72382011-09-05 Juri Linkov <juri@jurta.org>
7239
7240 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7241
f62bd846
JL
72422011-09-05 Juri Linkov <juri@jurta.org>
7243
7244 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7245 keeping point where processing of grep matches begins, and
7246 continue to delete remaining escape sequences from the same point.
7247 (grep-filter): Make leading zero optional in "0?1;31m" because
7248 git-grep emits "\033[1;31m" escape sequences unlike expected
7249 "\033[01;31m" as GNU Grep does (bug#9408).
7250 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7251
045820ec
JL
72522011-09-05 Juri Linkov <juri@jurta.org>
7253
7254 * subr.el (y-or-n-p): Capitalize "yes".
7255
f5e29b9b
MA
72562011-09-04 Michael Albinus <michael.albinus@gmx.de>
7257
7258 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7259 `tramp-cache-unload-hook' where appropriate.
7260 (tramp-methods): Rename `tramp-remote-sh' to
7261 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7262 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7263
7264 * net/tramp-sh.el (top): Don't require 'shell.
7265 (tramp-methods): Add `tramp-remote-shell' and
7266 `tramp-remote-shell-args' entries.
7267 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7268 (tramp-sh-handle-shell-command): Remove.
7269 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7270 Use `tramp-remote-shell'.
7271
2784c434
CY
72722011-09-03 Chong Yidong <cyd@stupidchicken.com>
7273
393a301e 7274 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7275 (sendmail-query-once): Save directly to send-mail-function.
7276 Update message-send-mail-function too.
7277
7278 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7279
464cdf56
CS
72802011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7281
7282 * progmodes/python.el (python-mode-map): Use correct function to
7283 start python interpreter from menu-bar (as reported by Geert
7284 Kloosterman).
7285 (inferior-python-mode-map): Fix typo.
393a301e 7286 (python-shell-map): Remove.
464cdf56 7287
d37e5c87
DD
72882011-09-03 Deniz Dogan <deniz@dogan.se>
7289
7290 * net/rcirc.el (rcirc-print): Simplify code for
7291 rcirc-scroll-show-maximum-output. There is no need to walk
7292 through all windows to find the right one.
7293
f3ada0ee
CS
72942011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7295
7296 * help.el (help-return-method): Doc fix.
7297
1f3c99ca
MR
72982011-09-03 Martin Rudalics <rudalics@gmx.at>
7299
7300 * window.el (window-deletable-p): Don't return a non-nil value
7301 when there's a buffer that was shown in the window before.
7302 (Bug#9419)
393a301e
SM
7303 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7304 Set window's previous buffers to nil.
1f3c99ca 7305
a3cf097f
EZ
73062011-09-03 Eli Zaretskii <eliz@gnu.org>
7307
7308 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7309 newline before and after the tag line, so it doesn't interfere
7310 with determining the paragraph direction of bidirectional text.
7311
3d03de90
LL
73122011-09-03 Leo Liu <sdl.web@gmail.com>
7313
7314 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7315
c3313451
CY
73162011-09-02 Chong Yidong <cyd@stupidchicken.com>
7317
393a301e 7318 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7319 (pop-to-buffer): Change interactive spec. Pass second argument
7320 directly to display-buffer.
7321 (display-buffer): Fix interactive spec. Use functionp to
7322 distinguish between a function and a list of functions.
7323
7324 * abbrev.el (edit-abbrevs):
7325 * arc-mode.el (archive-extract):
7326 * autoinsert.el (auto-insert):
7327 * bookmark.el (bookmark-bmenu-list):
7328 * files.el (find-file):
7329 * view.el (view-buffer):
7330 * progmodes/compile.el (compilation-goto-locus):
7331 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7332
89894cd8
CY
73332011-09-02 Chong Yidong <cyd@stupidchicken.com>
7334
7335 * window.el (display-buffer-alist): Doc fix.
7336 (display-buffer): Add docstring. Don't treat
7337 display-buffer-default specially.
7338 (display-buffer-reuse-selected-window)
7339 (display-buffer-same-window, display-buffer-maybe-same-window)
7340 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7341 (display-buffer-pop-up-window)
7342 (display-buffer-reuse-or-pop-window)
7343 (display-buffer-use-some-window): New functions.
7344 (display-buffer-default-action): Use them.
393a301e 7345 (display-buffer-default): Delete.
89894cd8
CY
7346 (pop-to-buffer-1): Fix choice of actions.
7347
ae0bc9fb
SM
73482011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * minibuffer.el (completion--insert-strings): Don't get confused by
7351 completion entries that end with an LF char.
7352
e9d90883
EZ
73532011-09-01 Eli Zaretskii <eliz@gnu.org>
7354
7355 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7356
437014c8
CY
73572011-09-01 Chong Yidong <cyd@stupidchicken.com>
7358
7359 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7360 (display-buffer-same-window, display-buffer-other-window):
7361 New functions.
437014c8
CY
7362 (pop-to-buffer-1): New function. Use the above.
7363 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7364 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7365
7366 * view.el (view-buffer-other-window, view-buffer-other-frame):
7367 Just use pop-to-buffer.
7368
a5e063d5
TV
73692011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7370
7371 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7372
793d32bb
WH
73732011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7374
7375 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7376
d65e4c15
RS
73772011-08-31 Richard Stallman <rms@gnu.org>
7378
7379 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7380 of the separation of rmail-view-buffer from rmail-buffer.
7381 If you say no to "replace original", the decrypt is in the
7382 view buffer. If you say yes, the decrypt goes into the
7383 rmail buffer also.
7384
f818cd2a
MR
73852011-08-31 Martin Rudalics <rudalics@gmx.at>
7386
7387 * window.el (display-buffer-window): Rewrite doc-string.
7388 (display-buffer-record-window): New function.
7389 (display-buffer-macro-specifiers)
7390 (display-buffer-even-window-sizes, display-buffer-set-height)
7391 (display-buffer-set-width, display-buffer-in-window)
7392 (display-buffer-reuse-window, display-buffer-split-specifiers)
7393 (display-buffer-side-specifiers, display-buffer-split-window-1)
7394 (display-buffer-split-window, display-buffer-split-atom-window)
7395 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7396 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7397 (display-buffer-other-window-means-other-frame)
7398 (display-buffer-normalize-special)
7399 (display-buffer-normalize-default)
7400 (display-buffer-normalize-argument)
7401 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7402 (display-buffer-normalize-specifiers, display-buffer-frame)
7403 (display-buffer-same-window, display-buffer-same-frame)
7404 (display-buffer-other-window)
7405 (display-buffer-same-frame-other-window)
7406 (display-buffer-other-frame, pop-to-buffer-same-window)
7407 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7408 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7409 (switch-to-buffer-same-frame)
7410 (switch-to-buffer-other-window-same-frame)
7411 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7412 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7413 (display-buffer-alist-set): Remove.
7414 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7415 (special-display-regexps, special-display-function):
7416 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7417 parameter.
7418 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7419 (special-display-frame-alist, special-display-popup-frame)
7420 (same-window-buffer-names, same-window-regexps, same-window-p)
7421 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7422 (split-window-preferred-function, split-height-threshold)
7423 (split-width-threshold, window-splittable-p)
7424 (split-window-sensibly, window--try-to-split-window)
7425 (window--frame-usable-p, even-window-heights)
7426 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7427 (window--display-buffer-2, display-buffer-other-frame):
7428 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7429 (display-buffer-default, display-buffer-assq-regexp): New functions.
7430 (display-buffer-alist): Rewrite doc-string.
7431 (display-buffer-default-action)
7432 (display-buffer-overriding-action): New variables.
7433 (display-buffer, switch-to-buffer): Rewrite.
7434 (pop-to-buffer): Restore Emacs 23 behavior but use
7435 window-normalize-buffer-to-display.
7436 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7437 Restore Emacs 23 behavior but use
7438 window-normalize-buffer-to-switch-to.
7439 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7440 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7441 Rewrite using Emacs 23 options.
f818cd2a 7442
5bc3b51d
MA
74432011-08-31 Michael Albinus <michael.albinus@gmx.de>
7444
7445 * net/tramp.el (tramp-root-regexp): Remove.
7446 (tramp-completion-file-name-regexp-unified)
7447 (tramp-completion-file-name-regexp-separate)
7448 (tramp-completion-file-name-regexp-url): Don't use leading volume
7449 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7450 (tramp-drop-volume-letter): Simplify definition.
7451 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7452
b1a4f8e1
SM
74532011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7456 (bug#9356).
7457
5664fa7b
RT
74582011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7459
b1a4f8e1 7460 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7461
9a45d6c3
JL
74622011-08-29 Juri Linkov <juri@jurta.org>
7463
7464 * isearch.el (isearch-done): Don't display message "Mark saved"
7465 when arg `edit' is non-nil to prevent its flicker in the echo area.
7466
fb87e0fb
CY
74672011-08-28 Chong Yidong <cyd@stupidchicken.com>
7468
7469 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7470 obsolete packages for deletion.
7471
09ac1c2a
CS
74722011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7473
7474 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7475 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7476 view-mode from help-mode.
7477 (help-xref-override-view-map): Remove.
7478 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7479 view-mode is not used anymore.
7480
7a1ff57f
CY
74812011-08-28 Chong Yidong <cyd@stupidchicken.com>
7482
7483 * server.el (server-port): Doc fix.
7484
b9696605
CY
7485 * cus-theme.el (custom-theme-choose-mode): Inherit from
7486 special-mode (Bug#9124).
7487 (custom-theme-choose-mode-map): Add special-mode to parent.
7488
ef8cdf8c
AM
74892011-08-28 Alan Mackenzie <acm@muc.de>
7490
7491 * progmodes/cc-fonts.el
7492 (c-make-font-lock-BO-decl-search-function): New function.
7493 (c-basic-matchers-after - "Fontify the clauses after various
7494 keywords"): Extract the three keyword lists for the 3 erroneous
7495 constructs from the list of four, and use the new function above
7496 in place of an old one.
7497
27de4e20
DD
74982011-08-28 Deniz Dogan <deniz@dogan.se>
7499
7500 * net/rcirc.el (rcirc-insert-prev-input)
7501 (rcirc-insert-next-input): Remove unused argument.
7502
356a3681
SM
75032011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7506
3fc9b218
AM
75072011-08-27 Alan Mackenzie <acm@muc.de>
7508
7509 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7510 handle function pointer parameters properly.
7511
538a061c
MR
75122011-08-27 Martin Rudalics <rudalics@gmx.at>
7513
7514 * window.el (display-buffer-reuse-window): Fix case where
7515 selected window was reused with non-nil OTHER-WINDOW argument.
7516 (Bug#9381)
7517
35b1c40c
DD
75182011-08-27 Deniz Dogan <deniz@dogan.se>
7519
7520 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7521 oftc's NickServ messages.
7522
2f6a3e79
GM
75232011-08-27 Glenn Morris <rgm@gnu.org>
7524
7525 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7526
7254299e
CY
75272011-08-26 Chong Yidong <cyd@stupidchicken.com>
7528
7529 * emacs-lisp/package.el (package-install): Call package-initialize
7530 if called interactively.
7531
f8ccf167
LL
75322011-08-26 Leo Liu <sdl.web@gmail.com>
7533
7534 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7535
3e8cd5ce
JL
75362011-08-25 Juri Linkov <juri@jurta.org>
7537
7538 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7539 `search-whitespace-regexp' (bug#9364).
7540
93eb7113
JL
75412011-08-25 Juri Linkov <juri@jurta.org>
7542
7543 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7544 `regexp-search-ring' to their global values to protect from
7545 updating by `read-from-minibuffer' (bug#9185).
7546
f65d1611
JL
75472011-08-25 Juri Linkov <juri@jurta.org>
7548
7549 * textmodes/ispell.el (ispell-command-loop): Add newline
7550 at the end of the "Use option `i'..." line.
7551
f1cf7a31
JL
75522011-08-25 Juri Linkov <juri@jurta.org>
7553
7554 * battery.el (display-battery-mode): If `battery-status-function'
7555 or `battery-mode-line-format' is nil, display the message and set
7556 `display-battery-mode' to nil (bug#9363).
7557
0c95fcf7
EZ
75582011-08-25 Eli Zaretskii <eliz@gnu.org>
7559
7560 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7561 bidi-string-mark-left-to-right; they are unnecessary now.
7562
a2ebe600
DD
75632011-08-25 Deniz Dogan <deniz@dogan.se>
7564
7565 * net/quickurl.el: Documentation typo fixes.
7566
e4ed06f1
CY
75672011-08-25 Chong Yidong <cyd@stupidchicken.com>
7568
7569 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7570
e5f1c99e
GM
75712011-08-25 Glenn Morris <rgm@gnu.org>
7572
b2948976
GM
7573 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7574
e5f1c99e
GM
7575 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7576 (smtpmail-via-smtp): Handle nil response from smtp.
7577
f22f4808
JL
75782011-08-24 Juri Linkov <juri@jurta.org>
7579
7580 * proced.el (proced-marked): Inherit from `error' instead of
7581 `font-lock-warning-face'.
7582
7583 * ibuffer.el (ibuffer-marked-face): Change default face from
7584 `font-lock-warning-face' to `warning'.
7585 (ibuffer-deletion-face): Change default face from
7586 `font-lock-type-face' to `error'.
7587
7588 * battery.el (battery-update): Use the face `error' instead of
7589 `font-lock-warning-face' (bug#6117).
7590
6a93965e
JL
75912011-08-24 Juri Linkov <juri@jurta.org>
7592
7593 * faces.el (success): Change face color from "Green3" to
7594 "ForestGreen" on light background (bug#9353).
7595
1ed43b09
CY
75962011-08-24 Chong Yidong <cyd@stupidchicken.com>
7597
5664fa7b
RT
7598 * window.el (quit-window): Rename from quit-restore-window.
7599 Use same arglist as old quit-window.
1ed43b09
CY
7600 (frame-auto-delete): Doc fix.
7601
7602 * view.el (view-mode-exit): Use quit-window.
7603
11dcdbb2
JL
76042011-08-24 Juri Linkov <juri@jurta.org>
7605
7606 * isearch.el (isearch-ring-adjust1): Start visiting previous
7607 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7608 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7609 for empty search string (when the last search string is reused
7610 automatically) to adjust the isearch ring to the last element and
7611 prepare the correct index for further M-p commands (bug#9185).
7612
de62b4df
KH
76132011-08-24 Kenichi Handa <handa@m17n.org>
7614
7615 * international/ucs-normalize.el: If decomposition property of
7616 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7617 nil.
7618 (nfd, nfkd): Likewise.
7619
963b492b
SM
76202011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7621
7622 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7623 from process filters aren't reliably transmitted to the surrounding
7624 accept-process-output.
7625 (mpc-proc-check): New function.
7626 (mpc-proc-sync): Use it (bug#8293)
7627
93b6b5e1
SM
76282011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7631 Add compatibility functions (bug#9313).
7632
bca633fb
EZ
76332011-08-23 Eli Zaretskii <eliz@gnu.org>
7634
b177498a
EZ
7635 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7636
6df6ae42 7637 * international/uni-bidi.el: Regenerate.
bca633fb 7638
0902a04e
KH
76392011-08-23 Kenichi Handa <handa@m17n.org>
7640
7641 * international/charprop.el:
7642 * international/uni-bidi.el:
7643 * international/uni-category.el:
7644 * international/uni-combining.el:
7645 * international/uni-comment.el:
7646 * international/uni-decimal.el:
7647 * international/uni-decomposition.el:
7648 * international/uni-digit.el:
7649 * international/uni-lowercase.el:
7650 * international/uni-mirrored.el:
7651 * international/uni-name.el:
7652 * international/uni-numeric.el:
7653 * international/uni-old-name.el:
7654 * international/uni-titlecase.el:
7655 * international/uni-uppercase.el: Regenerate.
7656
3bbf23bc
MR
76572011-08-23 Martin Rudalics <rudalics@gmx.at>
7658
7659 * help.el (help-window-setup): Fix message displayed when other
7660 window is reused. (Bug#9341)
7661
b3fd59bd
SM
76622011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7663
1802e444
SM
7664 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7665 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7666
b3fd59bd
SM
7667 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7668 Mark obsolete.
7669 * shell.el (shell-parse-pcomplete-arguments): New function.
7670 (shell-completion-vars): Use it instead (bug#9160).
7671
4eb61348
SM
76722011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7673
867cab74
SM
7674 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7675 strings and comments (bug#9333).
7676
4eb61348
SM
7677 * emacs-lisp/debug.el (debug-arglist): New function.
7678 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7679 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7680
262a1439
JL
76812011-08-22 Juri Linkov <juri@jurta.org>
7682
56ee679c
JL
7683 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7684 Revert regexp that highlights output switches to its old
7685 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7686
262a1439
JL
7687 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7688 to check for empty output (bug#9226).
7689
f13f86fb
CY
76902011-08-22 Chong Yidong <cyd@stupidchicken.com>
7691
7692 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7693 symbol-constituent as the default, as that stops font-lock from
7694 working properly (Bug#8843).
7695
c65c9622
LMI
76962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
7698 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7699 `coding-system-for-*' around the process open call to avoid
7700 auth-source side effects.
e7f2c178 7701 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7702 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7703 probe hangs.
c65c9622 7704
23a8a5ab
CY
77052011-08-21 Chong Yidong <cyd@stupidchicken.com>
7706
ff98b2dd
CY
7707 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7708
23a8a5ab
CY
7709 * emacs-lisp/find-func.el (find-function-noselect): New arg
7710 lisp-only.
7711
7712 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7713 signal an error for built-in functions (Bug#6664).
7714
f5e3c598
LMI
77152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716
7717 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7718 (smtpmail-try-auth-methods): Use it.
7719
a3f2468a
CY
77202011-08-21 Chong Yidong <cyd@stupidchicken.com>
7721
2c34e8da
CY
7722 * font-lock.el (font-lock-fontify-region)
7723 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7724 (font-lock-default-unfontify-buffer)
7725 (font-lock-default-fontify-region)
7726 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7727
b3fd59bd
SM
7728 * progmodes/compile.el (compilation-error-properties):
7729 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7730 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7731 `ant' regexp.
ee31aabc 7732
a3f2468a
CY
7733 * net/browse-url.el (browse-url-firefox): Don't call
7734 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7735
8e999f70
GM
77362011-08-20 Glenn Morris <rgm@gnu.org>
7737
c21a496a
GM
7738 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7739
59ee0542
GM
7740 * tutorial.el (tutorial--default-keys): Update some default bindings.
7741
8e999f70
GM
7742 * files.el (hack-local-variables): Fully ignore case for "mode:".
7743
e3715033
AM
77442011-08-20 Alan Mackenzie <acm@muc.de>
7745
7746 Resolve invalid use of a regexp in regexp-opt.
7747
4d61f28d
JB
7748 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7749 detection for a java annotation.
e3715033 7750
4d61f28d 7751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7752 detection for a java annotation.
7753
4d61f28d
JB
7754 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7755 handling for java.
e3715033
AM
7756 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7757
04ed2e9c
CY
77582011-08-20 Chong Yidong <cyd@stupidchicken.com>
7759
7760 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7761 (Bug#9274).
7762
826cee64
AM
77632011-08-20 Alan Mackenzie <acm@muc.de>
7764
58179cce 7765 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7766 such a construct. Mainly for when jit-lock etc. starts a chunk
7767 here.
7768
58179cce 7769 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7770 variable.
58179cce 7771 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7772 c-make-font-lock-search-function.
7773 (c-make-font-lock-search-function): Use the above function.
7774 (c-make-font-lock-context-search-function): New function.
7775 (c-cpp-matchers): Enhance the preprocessor expression case with
7776 the above function
7777 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7778 which takes an expression.
7779
7780 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7781
13009bd8
MR
77822011-08-20 Martin Rudalics <rudalics@gmx.at>
7783
7784 * window.el (display-buffer-reuse-window)
7785 (display-buffer-pop-up-window): Don't reuse or split a side
7786 window.
7787
9234ff7f
GM
77882011-08-19 Glenn Morris <rgm@gnu.org>
7789
7790 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7791 Downcase "Mode:". (Bug#9331)
9234ff7f 7792
f635daa1
CY
77932011-08-18 Chong Yidong <cyd@stupidchicken.com>
7794
7795 * international/characters.el: Add L and R categories.
7796
7797 * subr.el (bidi-string-mark-left-to-right): Rename from
7798 string-mark-left-to-right. Use category search.
7799
7800 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7801
bc987f8b
JL
78022011-08-18 Juri Linkov <juri@jurta.org>
7803
7804 * faces.el (error, warning, success): New faces with definitions
7805 copied from old default values of `font-lock-warning-face',
7806 `compilation-warning', `compilation-info' (bug#6117).
7807
7808 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7809
7810 * progmodes/compile.el (compilation-error): Inherit from `error'.
7811 (compilation-warning): Inherit from `warning'.
7812 (compilation-info): Inherit from `success'.
7813
7814 * dired.el (dired-marked): Inherit from `warning'.
7815 (dired-flagged): Inherit from `error'.
7816
57173b96
LMI
78172011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
3e79eb87
LMI
7819 * mail/smtpmail.el (auth-source): Require to avoid problems with
7820 binding variables (bug#9298). Also clean up some unused
7821 autoloads.
7822
b3fd59bd
SM
7823 * net/network-stream.el (network-stream-open-starttls):
7824 Support using starttls.el without using gnutls-cli.
57173b96 7825
02b404de
JL
78262011-08-17 Juri Linkov <juri@jurta.org>
7827
7828 * progmodes/grep.el (rgrep): Handle the case when
7829 `grep-find-command' is a cons cell (bug#9278).
7830
8c9177f2
MR
78312011-08-17 Martin Rudalics <rudalics@gmx.at>
7832
7833 * window.el (display-buffer-pop-up-frame): Run frame creation
7834 function with BUFFER current (as special-display-popup-frame
7835 does). Reported by Drew Adams.
7836
3644a0ab
DU
78372011-08-17 Daiki Ueno <ueno@unixuser.org>
7838
7839 * epa-mail.el: Simplify GnuPG group expansion using
7840 epg-expand-group.
7841 (epa-mail-group-alist, epa-mail-group-modtime)
7842 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7843 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7844 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7845 Remove.
7846
5e617bc2 78472011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7848
7849 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7850
9c4aeabf
AM
78512011-08-16 Alan Mackenzie <acm@muc.de>
7852
7853 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7854 Correct, to avoid the inside of macros.
7855
3a99bf64
RS
78562011-08-16 Richard Stallman <rms@gnu.org>
7857
04963aa8
RS
7858 * epa-mail.el: Handle GnuPG group definitions.
7859 (epa-mail-group-alist, epa-mail-group-modtime)
7860 (epa-mail-gnupg-conf-file): New variables.
7861 (epa-mail-parse-groups, epa-mail-sync-groups)
7862 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7863 (epa-mail-expand-recipients): New functions.
7864 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7865
177549d0
RS
7866 * mail/rmail.el (rmail-epa-decrypt): New command.
7867
fe38beef
RS
7868 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7869 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7870 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7871 (epa-decrypt-armor-in-region): Make error message clearer.
7872
934eacb9
SM
78732011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7876 and "a2b" to "ab" for `prefix'.
7877
d024fb4e
CY
78782011-08-14 Chong Yidong <cyd@stupidchicken.com>
7879
7880 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7881 filter groups.
de148fee
CY
7882 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7883 Fourquet (Bug#8804).
d024fb4e 7884
62f1ca49
JB
78852011-08-12 Juanma Barranquero <lekktu@gmail.com>
7886
7887 * startup.el (argi): Declare as global variable (bug#9275).
7888
9ccaaa4b
CY
78892011-08-12 Chong Yidong <cyd@stupidchicken.com>
7890
7891 * subr.el (string-mark-left-to-right): Search the entire string
7892 for RTL script, not just the terminating character. Doc fix.
7893
a3dae87a
SM
78942011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7895
6cd18349
SM
7896 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7897 New function.
7898 (js--regexp-literal, js-syntax-propertize-function): Remove.
7899 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7900 (js-mode-map): Don't rebind electric keys.
7901 (js-insert-and-indent): Remove.
7902 (js-mode): Setup electric-layout and electric-indent instead.
7903
a3dae87a
SM
7904 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7905
9d5cb631
DU
79062011-08-12 Daiki Ueno <ueno@unixuser.org>
7907
7908 * epa.el (epa-progress-callback-function): Fix the logic of
7909 displaying progress.
7910 * epa-file.el (epa-file-insert-file-contents): Make progress
7911 display more user-friendly.
7912 (epa-file-write-region): Ditto.
7913
3e26a4a2
CY
79142011-08-10 Chong Yidong <cyd@stupidchicken.com>
7915
7916 * subr.el (string-mark-left-to-right): New function.
7917
7918 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7919 Use string-mark-left-to-right.
7920 (list-buffers-noselect): Caller changed.
7921
a3dae87a
SM
7922 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7923 Use string-mark-left-to-right.
3e26a4a2
CY
7924 (tabulated-list-print): Recenter after moving point.
7925
ac8cf6e6
JL
79262011-08-10 Juri Linkov <juri@jurta.org>
7927
7928 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7929 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7930 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7931
8d96c9a4
CY
79322011-08-09 Chong Yidong <cyd@stupidchicken.com>
7933
7934 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7935 (Bug#7554).
7936
7be1c708 79372011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7938
7939 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7940 character. (Bug#6594)
7941
37e11a63
CY
79422011-08-08 Chong Yidong <cyd@stupidchicken.com>
7943
839dde57
CY
7944 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7945 (image-dired--with-db-file): New macro.
7946 (image-dired-write-tags, image-dired-remove-tag)
7947 (image-dired-create-gallery-lists, image-dired-write-comments)
7948 (image-dired-get-comment, image-dired-mark-tagged-files)
7949 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7950 (image-dired-gallery-generate): Use insert-file-contents.
7951
37e11a63
CY
7952 * time.el (display-time-world-list, display-time-world-display):
7953 * time-stamp.el (time-stamp-string):
7954 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7955 set-time-zone-rule (Bug#7337).
7956
0b4946c4
DU
79572011-08-08 Daiki Ueno <ueno@unixuser.org>
7958
7959 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7960 (epg-error-to-string, epg-errors-to-string): New function.
7961 (epg-wait-for-completion): Reverse errors list.
7962 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7963 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7964 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7965 (epg-sign-keys, epg-generate-key-from-file)
7966 (epg-generate-key-from-string): Format errors by using
7967 epg-errors-to-string (bug#9255).
7968 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7969
75bfc667
JL
79702011-08-07 Juri Linkov <juri@jurta.org>
7971
7972 * faces.el (list-faces-display): Remove extra angle bracket
7973 from `help-mode-map'.
7974
7975 * info.el (Info-history-toc-nodes): Doc fix.
7976
7977 * longlines.el (longlines-mode): Doc fix.
7978
673e08bb
SM
79792011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7980
4640dd88
SM
7981 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7982 of statements and in a few more cases (bug#9183).
7983
673e08bb
SM
7984 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7985 New functions.
7986 (cl-transform-lambda): Use them (bug#9239).
7987
89b3f019
MR
79882011-08-05 Martin Rudalics <rudalics@gmx.at>
7989
7990 * window.el (display-buffer-same-window)
7991 (display-buffer-same-frame, display-buffer-other-window)
7992 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7993 (pop-to-buffer-other-window)
7994 (pop-to-buffer-same-frame-other-window)
7995 (pop-to-buffer-other-frame): Make them defuns.
7996 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7997
640c8776
SM
79982011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * subr.el (make-composed-keymap): Move from C. Change calling
8001 convention, and improve docstring to bring attention to a subtle point.
8002 * minibuffer.el (completing-read-default): Adjust accordingly.
8003
63648a95
MA
80042011-08-03 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8007 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8008
8009 * net/trampver.el: Update release number.
8010
b796c9b7
SM
80112011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8014 "in" (bug#9190).
8015
2239d7d5
LMI
80162011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017
e07dd7c3
LMI
8018 * mail/sendmail.el (sendmail-query-once): Restore the current
8019 buffer after querying (bug#9074).
8020
0e6a2bd7
LMI
8021 * dired.el (dired-flagged): Use different faces for marked and
8022 flagged files (bug#6117).
8023
ce887515
LMI
8024 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8025 (bug#4433).
8026
92f2affc
LMI
8027 * ido.el (ido-mode): Switch off the message if called
8028 non-interactively.
8029
57d5aff0
LMI
8030 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8031 before 587, since it appears that that's more likely to work for
8032 more people.
8033
98cd6c18 8034 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8035 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8036 exist.
8037
b96dec83
LMI
8038 * info.el: Remove the `Info-beginning-of-buffer' function
8039 (bug#8325).
8040
b796c9b7
SM
8041 * net/network-stream.el (network-stream-open-starttls):
8042 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8043
d90e2ea0
MR
80442011-08-01 Martin Rudalics <rudalics@gmx.at>
8045
8046 * window.el (display-buffer-in-window): Don't set dedicated status
8047 of window here (Bug#9215).
8048 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8049 (display-buffer-pop-up-side-window)
b796c9b7 8050 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8051
cca09170
SM
80522011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8055 before binding generated-autoload-file.
8056
027b979c
DD
80572011-08-01 Deniz Dogan <deniz@dogan.se>
8058
8059 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8060
3c7ee4f3
MA
80612011-07-30 Michael Albinus <michael.albinus@gmx.de>
8062
8063 Sync with Tramp 2.2.2.
8064
8065 * net/trampver.el: Update release number.
8066
2cc8e51a
JL
80672011-07-30 Juri Linkov <juri@jurta.org>
8068
8069 * dired-aux.el (dired-touch-initial): Remove function.
8070 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8071 current time, and `default' to the last modification time of the
8072 current marked file (bug#6887).
8073
a514d856
JM
80742011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8075
8076 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8077 numeric argument to read-number (bug#9163).
a514d856 8078
8a7eddd7
MA
80792011-07-27 Michael Albinus <michael.albinus@gmx.de>
8080
8081 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8082 connection process, it could be nil.
8083
1ddd96f5
LL
80842011-07-27 Leo Liu <sdl.web@gmail.com>
8085
8086 Simplify url handling in rcirc-mode.
8087
8088 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8089 (rcirc-browse-url-at-mouse): Remove.
8090 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8091
b248a85d
AM
80922011-07-26 Alan Mackenzie <acm@muc.de>
8093
8094 Fontify bitfield declarations properly.
8095
8096 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8097 (c-symbol-chars): Now exported as a lang variable.
8098 (c-not-primitive-type-keywords): New lang variable.
8099
8100 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8101 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8102 parsed as a bitfield declaration.
b248a85d 8103
b796c9b7
SM
8104 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8105 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8106 (c-punctuation-in): New function.
8107 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8108 declarations properly.
8109
68575ab0
UJ
81102011-07-26 Ulf Jasper <ulf.jasper@web.de>
8111
8112 * calendar/icalendar.el (icalendar--all-events): Take care of
8113 multiple vcalendars in a single file.
b796c9b7 8114 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8115
0f0a88b9
DD
81162011-07-25 Deniz Dogan <deniz@dogan.se>
8117
8118 * image.el (insert-image): Clarifying docstring.
8119
0b3f36df
MA
81202011-07-24 Michael Albinus <michael.albinus@gmx.de>
8121
8122 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8123 `tramp-send-command-and-check' if there is no error.
8124 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8125
a9901f61
AM
81262011-07-22 Alan Mackenzie <acm@muc.de>
8127
8128 Prevent cc-langs.elc being loaded at run time.
8129
8130 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8131 cc-langs.
8132
4d61f28d 8133 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8134 "(require 'cc-langs)". Quote a form so it will evaluate at
8135 (cc-mode's) compilation time.
8136
11d074b2
MA
81372011-07-22 Michael Albinus <michael.albinus@gmx.de>
8138
8139 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8140 loading. (Bug#9114)
8141
938b94c8
MR
81422011-07-21 Martin Rudalics <rudalics@gmx.at>
8143
8144 * window.el (display-buffer-pop-up-window)
8145 (display-buffer-pop-up-side-window)
8146 (display-buffer-in-side-window): Call display-buffer-set-height
8147 and display-buffer-set-width after setting the new window's
b796c9b7 8148 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8149
bfa4f190
SS
81502011-07-20 Sam Steingold <sds@gnu.org>
8151
8152 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8153 (etags-tags-included-tables): Call `convert-standard-filename' on
8154 the file names contained in TAGS so that windows Emacs can handle
8155 TAGS files created by cygwin ctags.
8156
8ca42262
LMI
81572011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8158
8159 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8160 which apparently didn't work.
8161
5db2afd2 81622011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8163
5db2afd2
RW
8164 * proced.el (proced-send-signal): For *Marked Processes* buffer
8165 put point at beginning of buffer.
8166
92e15d10
SB
81672011-07-19 Stephen Berman <stephen.berman@gmx.net>
8168
8169 * proced.el (proced-format): Make header lines align with the text
8170 (bug#1779).
8171
1bfd59e5
LMI
81722011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8173
8174 * view.el (view-buffer): Allow running in `special' modes if we're
8175 visiting a file (bug#8615).
8176
f5aae37c
MR
81772011-07-19 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8180 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8181 New functions.
f5aae37c
MR
8182 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8183 more accurately.
8184
bf2c1571
AM
81852011-07-18 Alan Mackenzie <acm@muc.de>
8186
8187 Fontify declarators properly when, e.g., a jit-lock chunk begins
8188 inside a declaration.
8189
8190 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8191
b796c9b7
SM
8192 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8193 New function.
bf2c1571
AM
8194 (c-complex-decl-matchers): Insert reference to
8195 c-font-lock-enclosing-decls.
8196
8197 * progmodes/cc-engine.el (c-backward-single-comment):
8198 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8199 to nil around calls to (forward-comment -1).
8200
4e190b80
LMI
82012011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
12dc863d
LMI
8203 * image.el (put-image): Doc typo fix.
8204
a762e966
LMI
8205 * progmodes/etags.el (tags-search): Doc typo fix.
8206
4e190b80
LMI
8207 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8208 password if we get errors 550 to 554.
8209
f019fb21
LMI
82102011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8211
b796c9b7 8212 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8213
81746738
LMI
8214 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8215 indentation character (bug#6380).
8216
3ee3a1b5
LMI
8217 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8218
c82f64de
LMI
8219 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8220 to clarify what the problem is (bug#4291).
8221
f019fb21
LMI
8222 * simple.el (current-kill): Clarify what
8223 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8224 (auto-fill-mode): Document `auto-fill-function' in relation to
8225 `auto-fill-mode' (bug#2470).
f019fb21 8226
0794775d
LM
82272011-07-16 Lawrence Mitchell <wence@gmx.li>
8228
8229 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8230 method if slot is read-only (bug#9035).
8231
be39b8cc
MR
82322011-07-16 Martin Rudalics <rudalics@gmx.at>
8233
b796c9b7 8234 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8235 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8236 selected before, see discussion of (Bug#8615), (Bug#6954).
8237 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8238
6ccf7859
GM
82392011-07-15 Glenn Morris <rgm@gnu.org>
8240
8241 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8242 Respect help-form.
6ccf7859 8243
87e86684
LM
82442011-07-09 Lawrence Mitchell <wence@gmx.li>
8245
8246 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8247 (gnutls-negotiate): Use it.
8248
d6066239
LMI
82492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8250
b796c9b7
SM
8251 * net/gnutls.el (gnutls-negotiate):
8252 Upcase `gnutls-algorithm-priority'.
d6066239 8253
bd23ebc0
GM
82542011-07-15 Glenn Morris <rgm@gnu.org>
8255
c65bca65
GM
8256 * jka-compr.el (jka-compr-verbose): Move from here...
8257 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8258 Add missing :version tag.
8259 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8260
478615cc
LMI
82612011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8262
7b41decb
LMI
8263 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8264 (gnutls-negotiate): Use it.
8265
dbc44fcd
LMI
8266 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8267
06789f97
LMI
8268 * info.el (Info-beginning-of-buffer): New command.
8269 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8270 announcing `b' as the key (bug#8325).
ab896c37 8271 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8272
c39da690
LMI
8273 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8274
3aa5f34b
LMI
8275 * international/mule-cmds.el
8276 (describe-specified-language-support): Make the error message
8277 clearer (bug#8905).
8278
4bf0979f
LMI
8279 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8280
478615cc
LMI
8281 * isearch.el (isearch-barrier): Add a doc string, since it's
8282 mentioned in a function doc string (bug#8678).
8283
75c68aa1
MR
82842011-07-15 Martin Rudalics <rudalics@gmx.at>
8285
8286 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8287 buffer argument (Bug#9083) and self-identifying label argument.
8288
a7c33da2
GM
82892011-07-15 Glenn Morris <rgm@gnu.org>
8290
8291 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8292
2f5c6024
LMI
82932011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294
8295 * man.el (Man-fontify-manpage): Fix message when formatting the
8296 man page (bug#7929).
8297
0bb23927 82982011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8299
8300 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8301 argument LRM; if non-nil, append an invisible LRM character to the
8302 buffer name.
8303 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8304 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8305 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8306 paragraph direction.
cce4b0a7 8307
621ef9ab
LMI
83082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8309
d1583c48
LMI
8310 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8311 the man page name (bug#7929).
8312
6a57fb5f
LMI
8313 * image.el (put-image): Mention the `put-image' overlay property
8314 (bug#7834).
8315
d7956b14
LMI
8316 * scroll-bar.el (set-scroll-bar-mode): Mention that
8317 `scroll-bar-mode' lists the values (bug#7772).
8318
5b2d4a66
LMI
8319 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8320 command (bug#7729).
8321
7509a874
LMI
8322 * rect.el (apply-on-rectangle): Return the point after the last
8323 operation.
8324 (string-rectangle): Go to the point after the last operation
8325 (bug#7522).
8326
4fe74b19
LMI
8327 * printing.el (pr-toggle-region): Clarify the documentation
8328 slightly (bug#7493).
8329
b796c9b7
SM
8330 * time.el (display-time-update):
8331 Allow `display-time-mail-function' to return nil (bug#7158).
8332 Fix suggested by Detlev Zundel.
ab283561 8333
fc233c9d
LMI
8334 * vc/diff.el (diff): Clarify the order the file names are read
8335 (bug#7111).
8336
43f5740b
LMI
8337 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8338 the doc string (bug#7015).
8339
f2182a76
LMI
8340 * font-lock.el (font-lock-maximum-decoration): Mention what
8341 numeric levels mean (bug#6935).
8342
621ef9ab
LMI
8343 * startup.el (initial-buffer-choice): Don't mention the `none'
8344 selection, which is against policy.
8345
adc47434
MR
83462011-07-14 Martin Rudalics <rudalics@gmx.at>
8347
b796c9b7
SM
8348 * window.el (display-buffer-normalize-special):
8349 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8350
7e5bfb8f
EZ
83512011-07-14 Eli Zaretskii <eliz@gnu.org>
8352
8353 * subr.el (version<, version<=, version=): Mention "-CVS" and
8354 "-12345" alpha version numbers.
8355
27fa387a
CY
83562011-07-14 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * bindings.el: Add advertised binding for set-mark-command
8359 (Bug#5772).
8360
8bdfa064
CY
83612011-07-14 Chong Yidong <cyd@stupidchicken.com>
8362
8363 * bindings.el (mode-line-other-buffer):
8364 * bookmark.el (bookmark-bmenu-2-window):
8365 * bs.el (bs-cycle-next, bs-cycle-previous):
8366 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8367 switch-to-buffer.
8368
8369 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8370 Delete.
8bdfa064 8371
5eba16a3
JB
83722011-07-14 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * follow.el (follow-debug-message, follow-redisplay):
8375 * jka-cmpr-hook.el (with-auto-compression-mode):
8376 Fix typos in docstrings.
8377
15853710
LMI
83782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379
a28e4607
LMI
8380 * subr.el (with-silent-modifications): Clarify somewhat what the
8381 macro inhibits (bug#6525).
8382
15853710
LMI
8383 * simple.el (eval-expression): Note what it does if called
8384 interactively (bug#6495).
8385
bee0fcef
CY
83862011-07-13 Chong Yidong <cyd@stupidchicken.com>
8387
b796c9b7
SM
8388 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8389 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8390
8391 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8392 Remove switch-to-buffer.
8393
58274504
LMI
83942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395
bd2fcc8d
LMI
8396 * files.el (make-directory): Clarify that an error will be raised
8397 if there's an error (bug#6397).
8398
0f04b32c
LMI
8399 * startup.el (initial-buffer-choice): Add `none' as a choice
8400 (bug#6234).
8401
465c5fc8
LMI
8402 * subr.el (add-hook): Clarify section about buffer-local hooks
8403 (bug#6218).
8404
58274504
LMI
8405 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8406
bead9a43
JB
84072011-07-13 Juanma Barranquero <lekktu@gmail.com>
8408
8409 * tabify.el (untabify): Preserve the current column so that point
8410 doesn't move (bug#6032).
8411
3af98a7b
LMI
84122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8413
b796c9b7
SM
8414 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8415 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8416
6240145a
GM
84172011-07-13 Glenn Morris <rgm@gnu.org>
8418
8419 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8420 (dired-insert-directory): Give a message the first time
8421 if ls is found not to support --dired.
8422
1d8c2ccc
LMI
84232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * simple.el (toggle-truncate-lines): Clarify what is toggled
8426 (bug#5580). Text by Drew Adams.
8427
5fc4038e
CY
84282011-07-13 Chong Yidong <cyd@stupidchicken.com>
8429
8430 * simple.el (blink-matching-open): Make the error message from the
8431 last change less verbose.
8432
bf6012e5
DN
84332011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8434
8435 * font-lock.el (font-lock-comment-face): Use the high contrast
8436 "yellow" color for font-lock-comment-face on low color terminals
8437 using a dark background color (bug#4221).
8438
343c3b5a
LMI
84392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8440
7e9505c5
LMI
8441 * dired.el (dired-insert-set-properties): Make the doc string
8442 reflect what it does now (bug#5325).
8443
c26fdcf5
LMI
8444 * simple.el (blink-matching-open): Say that we were unable to find
8445 the match within the limit, if we're limited (bug#5122).
8446
bb388cc5
LMI
8447 * international/mule-cmds.el (prefer-coding-system): Add an
8448 example (bug#4869).
8449
343c3b5a
LMI
8450 * progmodes/etags.el (tags-search): Document `file-list-form'
8451 (bug#4731).
8452
2a517d45
LM
84532011-07-13 Lawrence Mitchell <wence@gmx.li>
8454
8455 * net/browse-url.el (browse-url-default-browser)
8456 (browse-url-browser-function): Make the default browser choice a
8457 bit more logical (bug#4300). Also clean up the doc string.
8458
b6c78ef2
JB
84592011-07-13 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8462 binary endings (bug#4440).
8463
1c4dd947
LMI
84642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8465
a2014063
LMI
8466 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8467 which can be pretty annoying (bug#8971).
8468
9c9c2d88
LMI
8469 * jka-compr.el (jka-compr-verbose): New variable, and use
8470 throughout (bug#8971).
8471
1c4dd947
LMI
8472 * info.el (Info-find-file): Fall back on the installation
8473 directory if we can't find the info node anywhere else.
8474
a1c9f41b
SO
84752011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8476
8477 * vc/vc.el (vc-revert-file):
8478 Don't set file time-stamp in the past. (Bug#5181)
8479
536f3d36
LMI
84802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
7152b011
LMI
8482 * files.el (after-find-file): Give a better error message when
8483 trying to find a symlink that points to a file that doesn't exist
8484 (bug#4398).
8485
536f3d36
LMI
8486 * progmodes/cc-vars.el: Remove (probably) misleading comment
8487 (bug#4396).
8488
460c0fba
JB
84892011-07-12 Johan Bockgård <bojohan@gnu.org>
8490
8491 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8492
7a6bda45
CY
84932011-07-12 Chong Yidong <cyd@stupidchicken.com>
8494
8495 * mouse-sel.el: Hack restoring functionality, while keeping
8496 compatibility with 2010-07-03 changes to mouse selection.
8497 (mouse-sel-primary-overlay): New var.
8498 (mouse-sel-selection-alist): Use it.
8499 (mouse-sel-mode): Doc fix; remove points that are default features
8500 of mouse.el.
8501
c79598ef
JB
85022011-07-12 Johan Bockgård <bojohan@gnu.org>
8503
8504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8505 Fix previous fix (bug#2490).
8506
ff8be6ef
RW
85072011-07-12 Roland Winkler <winkler@gnu.org>
8508
b796c9b7
SM
8509 * textmodes/bibtex.el (bibtex-initialize):
8510 Use pop-to-buffer-same-window.
ff8be6ef
RW
8511 (bibtex-search-entries): Fix interactive call.
8512
296ba3ee
LMI
85132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514
f5242a02 8515 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8516 Fontise bytecomp Error lines more correctly (bug#2490).
8517 Fix suggested by Johan Bockgård.
f5242a02 8518
296ba3ee
LMI
8519 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8520
8521 * dired-x.el (dired-guess-default): Use `delete-dups'.
8522
f69fd0d2
CY
85232011-07-12 Chong Yidong <cyd@stupidchicken.com>
8524
8525 * dired.el (dired-mark-prompt):
8526 * dired-aux.el (dired-read-shell-command): Doc fix.
8527
eab5dc07
LMI
85282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8529
b796c9b7
SM
8530 * mail/sendmail.el (sendmail-query-once):
8531 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8532 emacs -Q.
8533
8534 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8535
eab5dc07
LMI
8536 * cus-edit.el (custom-file): Take an optional no-error variable.
8537 (customize-save-variable): Set the variable, and give a warning if
8538 running under "emacs -q".
8539
a1e65d42
JB
85402011-07-11 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * loadhist.el (unload-feature-special-hooks):
8543 Add `auto-coding-functions', `fill-nobreak-predicate' and
8544 `find-directory-functions' (bug#5327).
8545
1d52da10
LMI
85462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
be958f1d
LMI
8548 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8549
5bedb26c
LMI
8550 * cus-edit.el (custom-guess-name-alist): -alist variables should
8551 use the `alist' type (bug#3120). Suggested by Drew Adams.
8552
1d52da10
LMI
8553 * printing.el: Add documentation to all the `pr-toggle-' commands.
8554
cd394be1 85552011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8556
8557 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8558 backends where it makes sense (bug#2623).
8559
dcc88d8a
LMI
85602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561
c3de9feb
LMI
8562 * dired-x.el (dired-guess-default): Remove duplicate shell command
8563 entries (bug#2028).
8a93078b 8564 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8565 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8566
dcc88d8a
LMI
8567 * subr.el (remove-duplicates): New conveniency function.
8568
505e3645
LMI
85692011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8570
8571 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8572 (bug#1526).
8573
85742011-07-10 Martin Rudalics <rudalics@gmx.at>
8575
8576 * window.el (display-buffer-normalize-default): Don't invert
8577 meaning of even-window-heights. Reported by Eli Zaretskii
8578 <eliz@gnu.org>.
8579
455e4fa1
BR
85802011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8581
8582 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8583
8e0bc3e9
CY
85842011-07-10 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * window.el (display-buffer): Fix arguments to
8587 display-buffer-reuse-window in last change.
8588
fa7c3228
CY
8589 * faces.el (link): Use a less saturated blue on light backgrounds.
8590
8591 * startup.el (fancy-startup-text, fancy-about-text)
8592 (fancy-startup-tail): Use font-lock faces, for background safety.
8593
c0a7f300
BN
85942011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8595
b796c9b7
SM
8596 * emulation/viper-cmd.el (viper-change-state-to-vi):
8597 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8598
4dc2a129
MR
85992011-07-09 Martin Rudalics <rudalics@gmx.at>
8600
8601 * window.el (display-buffer-default-specifiers): Remove.
8602 (display-buffer-macro-specifiers): Remove default specifiers.
8603 (display-buffer-alist): Default to nil.
b796c9b7 8604 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8605 (display-buffer-pop-up-window): Allow splitting internal
8606 windows. Check whether a live window was created.
8607 (display-buffer-other-window-means-other-frame)
8608 (display-buffer-normalize-arguments): Rename to
8609 display-buffer-normalize-argument and rewrite. Set the
8610 other-window specifier.
8611 (display-buffer-normalize-special): New function.
8612 (display-buffer-normalize-options): Rename to
8613 display-buffer-normalize-default and rewrite.
8614 (display-buffer-normalize-options-inhibit): Remove.
8615 (display-buffer-normalize-specifiers): Rewrite.
8616 (display-buffer): Process other-window specifier and call
8617 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8618 more faithfully.
b796c9b7 8619 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8620 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8621 (display-buffer-in-window, display-buffer-alist-set):
8622 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8623 <tassilo@member.fsf.org>.
8624
2d43b8c9
LL
86252011-07-09 Leo Liu <sdl.web@gmail.com>
8626
8627 * register.el (insert-register): Restore accidental change on
8628 2011-06-26. (Bug#9028)
8629
7f9b7c53
GM
86302011-07-09 Glenn Morris <rgm@gnu.org>
8631
8632 * subr.el (remq): Handle the empty list. (Bug#9024)
8633
f042cfd8
AS
86342011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8635
8636 * mail/sendmail.el (send-mail-function): No longer delay custom
8637 initialization.
8638 * custom.el (custom-initialize-delay): Doc fix.
8639
856b2f11
SM
86402011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8643
afae1d68
MA
86442011-07-08 Michael Albinus <michael.albinus@gmx.de>
8645
8646 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8647 human-friendly prompt.
8648
0757af94
SM
86492011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8652 provided by a particular plugin.
8653
d760b731
LMI
86542011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655
8656 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8657 save customizations (with "emacs -Q"), just set the variable
8658 instead of erroring out.
8659
8660 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8661
cd79ce90
JL
86622011-07-08 Juri Linkov <juri@jurta.org>
8663
8664 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8665 (archive-zip-update-case): Use 7z if found by `executable-find'.
8666 The order of searching the available programs is the same as in
8667 `archive-zip-extract' (bug#8968).
8668
14cc04aa
CY
86692011-07-07 Chong Yidong <cyd@stupidchicken.com>
8670
8671 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8672 (menu-bar-options-menu): Tweak descriptions.
8673
0a1848ec
LMI
86742011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675
8676 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8677 menu items into verb phrases (bug#1421). Also refill to fit under
8678 80 columns.
8679
f5bd0689
CY
86802011-07-07 Chong Yidong <cyd@stupidchicken.com>
8681
538e85c6
CY
8682 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8683 (Info-read-node-name): Doc fix (Bug#1084).
8684
f5bd0689
CY
8685 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8686 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8687 (end-of-sexp, beginning-of-sexp)
8688 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8689 (forward-symbol, forward-same-syntax, word-at-point)
8690 (sentence-at-point): Doc fix (Bug#1144).
8691
56ec5115
LMI
86922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8693
f3f8e37f
LMI
8694 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8695 should cover it (bug#1281).
8696
0757af94 8697 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8698
e9fce1ac 8699 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8700 negotiation fails, then possibly try again with a non-encrypted
8701 connection (bug#9017).
8702
56ec5115
LMI
8703 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8704 be used.
8705
c2f9aec8
RS
87062011-07-07 Richard Stallman <rms@gnu.org>
8707
8708 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8709 property, and handle its changed format.
8710 Look for the correct line number.
8711 Use file's line contents (but not past first =) to find
8712 correct line in message.
8713
ef7b981d 87142011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8715
8716 * international/characters.el (build-unicode-category-table):
8717 Delete it.
0757af94 8718 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8719
0757af94 8720 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8721 to src/chartab.c.
8722 (get-char-code-property): Call unicode-property-table-internal to
8723 load a file. Call get-unicode-property-internal where necessary.
8724 (put-char-code-property): Call unicode-property-table-internal to
8725 load a file. Call put-unicode-property-internal where necessary.
8726 put-unicode-property-internal where necessary.
0757af94
SM
8727 (char-code-property-description):
8728 Call unicode-property-table-internal to load a file.
c805dec0
KH
8729
8730 * international/charprop.el:
8731 * international/uni-bidi.el:
8732 * international/uni-category.el:
8733 * international/uni-combining.el:
8734 * international/uni-comment.el:
8735 * international/uni-decimal.el:
8736 * international/uni-decomposition.el:
8737 * international/uni-digit.el:
8738 * international/uni-lowercase.el:
8739 * international/uni-mirrored.el:
8740 * international/uni-name.el:
8741 * international/uni-numeric.el:
8742 * international/uni-old-name.el:
8743 * international/uni-titlecase.el:
8744 * international/uni-uppercase.el: Regenerate.
8745
8746 * loadup.el: Load international/charprop.el before
8747 international/characters.
8748
e14b388a
CY
87492011-07-07 Chong Yidong <cyd@stupidchicken.com>
8750
8751 * window.el (next-buffer, previous-buffer): Signal an error if
8752 called from a minibuffer window.
8753
8754 * bindings.el: Revert 2011-07-04 change.
8755
354cf0ba
RS
87562011-07-06 Richard Stallman <rms@gnu.org>
8757
8758 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8759 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8760 Treat markers like ints.
8761 (rmail-mime-entity): Doc fix.
8762
a48868a7
LMI
87632011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8764
4906cd3d
LMI
8765 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8766 defcustom again for backwards compatibility.
8767
e0457abe
LMI
8768 * simple.el (shell-command-on-region): Fill.
8769
d67f7e1f
LMI
8770 * dired-aux.el (dired-kill-line): Add a doc string.
8771
fe204702
LMI
8772 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8773 to "\\sw\\|\\s_" (bug#358).
8774
a48868a7
LMI
8775 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8776 (dired-unmark-backward): Ditto.
8777 (dired-flag-backup-files): Ditto.
8778
8779 * dired-x.el (dired-mark-sexp): Ditto.
8780
aa8a705c
RS
87812011-07-06 Richard Stallman <rms@gnu.org>
8782
8783 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8784 (rmail-mime-entity): New arg TRUNCATED.
8785 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8786 New functions.
8787 (rmail-mime-save): Warn if entity is truncated.
8788 (rmail-mime-toggle-hidden): Likewise, for showing.
8789 (rmail-mime-process-multipart): Record when an entity is truncated.
8790
a9a936b9
RS
8791 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8792 if ENTITY is a string.
8793
1f2b92cb
LMI
87942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
f4f73198 8796 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8797 of faces when `M-C-x'-ing their definitions (bug#8378).
8798 Also clean up the code slightly.
f4f73198 8799
12b16734 8800 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8801 because that makes the colors go away.
12b16734 8802
f0691d22
LMI
8803 * mail/sendmail.el (send-mail-function): Change the default to
8804 `sendmail-query-once'.
9e87df06 8805 (sendmail-query-once): Add an autoload cookie.
f0691d22 8806
1f2b92cb
LMI
8807 * net/network-stream.el (network-stream-open-starttls): Try using
8808 a plain connection even if the server offered STARTTLS, and we
8809 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8810 capability. This should make smtpmail.el work in slightly more
8811 configurations.
8812
1cdd2a1b
MA
88132011-07-06 Michael Albinus <michael.albinus@gmx.de>
8814
8815 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8816 New defun.
8817 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8818
fbcc67e2
MM
88192011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8820
8821 * progmodes/sql.el: Version 3.0
0757af94 8822 (sql-product-alist): Add product :completion-object,
fbcc67e2 8823 :completion-column, and :statement attributes.
0757af94 8824 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8825 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8826 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8827 ansi keywords.
8828 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8829 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8830 (sql-oracle-show-reserved-words): New function for development.
8831 (sql-product-font-lock): Simplify for source code buffers.
8832 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8833 New functions.
8834 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8835 (sql-mode-map): Add statement movement functions.
8836 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8837 New variable.
fbcc67e2
MM
8838 (sql-statement-regexp, sql-beginning-of-statement)
8839 (sql-end-of-statement, sql-signum): New functions.
0757af94 8840 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8841 (sql-show-sqli-buffer): Bug fix.
8842 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8843 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8844 with sql-interactive-mode.
8845 (sql-save-connection): Save buffer local settings.
0757af94 8846 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8847 (sql-product-interactive): Bug fix.
8848 (sql-preoutput-hold): New variable.
8849 (sql-interactive-remove-continuation-prompt): Bug fixes.
8850 (sql-debug-redirect): New variable.
8851 (sql-str-literal): New function.
8852 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8853 Redesign.
fbcc67e2
MM
8854 (sql-oracle-save-settings, sql-oracle-restore-settings)
8855 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8856 (sql-completion-object, sql-completion-column)
8857 (sql-completion-sqlbuf): New variables.
8858 (sql-build-completions-1, sql-build-completions)
8859 (sql-try-completion): New functions.
8860 (sql-read-table-name): Use them.
8861 (sql-contains-names): New buffer local variable.
8862 (sql-list-all, sql-list-table): Use it.
8863 (sql-oracle-completion-types): New variable.
8864 (sql-oracle-completion-object, sql-sqlite-completion-object)
8865 (sql-postgres-completion-object): New functions.
8866
d4eaeab1
GM
88672011-07-06 Glenn Morris <rgm@gnu.org>
8868
8869 * window.el (pop-to-buffer): Doc fix.
8870
322b7dab 88712011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8872
8873 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8874
322b7dab 88752011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8876
322b7dab 8877 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8878
322b7dab 8879 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8880
605dd5bf
CY
88812011-07-05 Chong Yidong <cyd@stupidchicken.com>
8882
8883 * button.el (button): Inherit from link face. Suggested by Dan
8884 Nicolaescu.
8885
7dbfa719
SM
88862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8887
3db614b0
SM
8888 * progmodes/gdb-mi.el: Fit in 80 columns.
8889 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8890 switch-to-buffer.
8891
7dbfa719
SM
8892 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8893 if imenu is simply not configured (bug#8941).
8894
919d884a
KM
88952011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8896
8897 * allout.el (allout-post-undo-hook): New allout outline-change
8898 event hook to signal undo activity.
8899 (allout-post-command-business): Run allout-post-undo-hook if an
8900 undo just occurred.
7dbfa719
SM
8901 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8902 * allout-widgets.el (allout-widgets-after-undo-function):
8903 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8904 in the vicinity of an undo.
8905 (allout-widgets-mode): Include allout-widgets-after-undo-function
8906 on the new allout-post-undo-hook.
8907
450a0f09
SM
89082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8911 Let define-derived-mode define it.
8912 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8913 cycles of abbrev-table inheritance (bug#8998).
8914
2de69e00
RW
89152011-07-05 Roland Winkler <winkler@gnu.org>
8916
8917 * textmodes/bibtex.el: Add support for biblatex.
8918 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8919 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8920 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8921 (bibtex-entry-alist, bibtex-field-alist): New variables.
8922 (bibtex-entry-field-alist): Obsolete alias for
8923 bibtex-BibTeX-entry-alist.
8924 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8925 (bibtex-set-dialect): New command.
8926 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8927 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8928 Bind via bibtex-set-dialect.
2de69e00
RW
8929 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8930 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8931 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8932 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8933 Define via bibtex-set-dialect.
450a0f09
SM
8934 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8935 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8936 (bibtex-vec-push, bibtex-vec-incr): New functions.
8937 (bibtex-format-entry, bibtex-field-list)
8938 (bibtex-print-help-message, bibtex-validate)
8939 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8940
2dcdbdd9
SM
89412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * progmodes/compile.el (compilation-goto-locus):
8944 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8945 * bs.el (bs-cycle-next, bs-cycle-previous):
8946 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8947 * bindings.el (mode-line-other-buffer):
8948 * autoinsert.el (auto-insert):
8949 * arc-mode.el (archive-extract):
8950 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8951
b27640fe
JB
89522011-07-05 Juanma Barranquero <lekktu@gmail.com>
8953
8954 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8955 Fix check of `emacs-lock-unlockable-modes'.
8956 Coerce true values of `emacs-lock--try-unlocking' to t.
8957
53bbe3ad
JB
89582011-07-05 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8961 * emacs-lock.el: New file.
8962
1d3cdbc7
JD
89632011-07-05 Julien Danjou <julien@danjou.info>
8964
8965 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8966 than `boundp' to check if face is set.
8967
9173deec
JB
89682011-07-05 Juanma Barranquero <lekktu@gmail.com>
8969
8970 * register.el (registerv-make):
8971 * window.el (window-min-height): Fix typos in docstrings.
8972
869795d6
JD
89732011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8974
9173deec 8975 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8976 Update doc string.
8977
b768cdcd
JB
89782011-07-04 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * server.el (server-execute): Catch quit and call
8981 `server-return-error' to pass the error back to emacsclient and
8982 close the connection (bug#8942).
8983
13aa217b
KM
89842011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8985
8986 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8987 insecure exception for current topic. Also note that auto-saves
8988 are handled differently.
8989
5d3385a0 8990 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8991 State variables for tracking auto-save inhibition situation.
8992
8993 (allout-write-contents-hook-handler): Rename from
8994 'allout-write-file-hook-handler', and describe how it depends on
8995 write-contents-functions sensitivity to non-nil value to prevent
8996 file write.
8997
8998 (allout-auto-save-hook-handler): Remove. auto-save does not check
8999 this in individual buffers, only in the starting buffer, so this
9000 is not the right way for us to inhibit auto-save in a buffer
9001 according to its condition.
9002
9003 (allout-mode): Use new allout-write-contents-hook-handler, and
9004 only with write-contents-functions. Remove auto-save provisions -
9005 they're implemented elsewhere.
9006
9007 (allout-before-change-handler): If undo is in progress, note that
9008 for attention of allout-post-command-business.
9009
9010 (allout-post-command-business): If the command we're following was
9011 an undo, check for change in the status of encrypted items and
9012 adjust auto-save inhibitions accordingly.
9013
9014 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9015 according to whether there are or aren't any plain-text topics
9016 pending encryption.
9017
2dcdbdd9 9018 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9019 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9020 if there are plain-text topics pending encryption.
13aa217b
KM
9021
9022 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9023 buffer-saved-size and some allout state to not inhibit auto-saves
9024 if there are no longer any plain-text topics pending encryption.
9025
0757af94
SM
9026 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9027 No longer provide for exemption of the current topic.
13aa217b 9028
ac89b32c
JL
90292011-07-04 Juri Linkov <juri@jurta.org>
9030
9031 Add 7z operations to delete and save changed members (bug#8968).
9032 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9033 New defcustoms.
9034 (archive-7z-write-file-member): New function.
9035 (archive-7z-summarize): Fix the number of dashes in the
9036 listing output.
9037
8fa39615
SM
90382011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9041 (bug#8958).
9042
2f11b3f1
CY
90432011-07-04 Chong Yidong <cyd@stupidchicken.com>
9044
d66fef2b
CY
9045 * bindings.el: Ignore next-buffer and previous-buffer in
9046 minibuffer-local-map.
9047
2f11b3f1
CY
9048 * font-lock.el (font-lock-builtin-face): Change light background
9049 color to dark slate blue (Bug#6693).
9050
f932a347
WD
90512011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9052
9053 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9054
c8af70e1
SM
90552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9058 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9059 Add switch-to-buffer.
9060
f158badc
LMI
90612011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062
9063 * isearch.el (isearch-search-fun-function): Clarify further the
9064 meaning of the function returned.
9065
6d95bd46
MA
90662011-07-04 Michael Albinus <michael.albinus@gmx.de>
9067
9068 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9069
9070 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9071 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9072 Use it.
9073 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9074 `tramp-default-remote-path' does not exist.
9075 (tramp-send-command-and-read): New optional argument NOERROR.
9076 (tramp-open-connection-setup-interactive-shell)
9077 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9078 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9079 (tramp-process-sentinel): Flush also process' connection property.
9080 (tramp-sh-handle-start-file-process): Do not set process
9081 sentinel. It is done now ...
9082 (tramp-maybe-open-connection): ... here. (Bug#8929)
9083
909e6b67
MK
90842011-07-04 MON KEY <monkey@sandpframing.com>
9085
9086 * play/animate.el (animate-string): Doc fixes and allow changing
9087 the buffer name (bug#5417).
9088
90892011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9090
c8af70e1 9091 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9092
f34755dc
PE
90932011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9094
396cec72
PE
9095 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9096 This is simpler and helps future-proof the code.
9097 (timer-until): Use time-subtract and float-time.
08235028 9098 (timer--time-less-p): Use time-less-p.
f34755dc 9099
56e6cc31
JB
91002011-07-04 Juanma Barranquero <lekktu@gmail.com>
9101
3abb79e5
JB
9102 * type-break.el (timep): Use the value of `float-time' to avoid a
9103 byte-compiler warning.
9104
56e6cc31
JB
9105 * server.el (server-eval-and-print): Return any result, even nil.
9106
7b9430b4
PE
91072011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9108
9109 * type-break.el: Accept time formats that the builtins accept.
9110 (timep, type-break-time-difference): Accept any format that
9111 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9112 This is simpler and helps future-proof the code.
9113 (type-break-time-difference): Round rather than ignoring
9114 subseconds components.
9115
3034e9e7
LMI
91162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9117
9118 * info.el (Info-apropos-matches): Make non-interactive, since it
9119 doesn't seem to do anything useful as a command (bug#8829).
9120
1485f4c0
CY
91212011-07-03 Chong Yidong <cyd@stupidchicken.com>
9122
9123 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9124 Move from faces.el.
1485f4c0
CY
9125 (frame-default-terminal-background): New function.
9126
9127 * custom.el (custom-push-theme): Don't record faces in `changed'
9128 theme; this doesn't work correctly for per-frame face settings.
9129 (disable-theme): Use face-set-after-frame-default to reset faces.
9130 (custom--frame-color-default): New function.
9131
9fa3dd45
LMI
91322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9133
c8af70e1 9134 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9135 (bug#8769).
9136
6cbbc20c
KR
91372011-03-29 Kevin Ryde <user42@zip.com.au>
9138
9139 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9140 `perl-Test2' extend to match possible "fail #N" rep count
9141 (bug#8377).
9142
c7f98048
LMI
91432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
65676592
LMI
9145 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9146 `smtpmail-via-smtp' now returns the error instead of nil.
9147
c7f98048
LMI
9148 * isearch.el (isearch-search-fun-function): Clarify the doc string
9149 (bug#8101).
9150
56e6cc31 91512011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9152
9153 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9154 unnecessary spaces (bug#8987).
9155
2b216704
LMI
91562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9157
9158 * net/network-stream.el (open-network-stream): Use the
9159 :end-of-capability command thoughout.
9160
91612011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9162
9163 * net/network-stream.el (open-network-stream): Add the
9164 :end-of-capability command parameter, used by pop3.el.
9165
36adf6ce
LMI
91662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167
1ca0da0e
LMI
9168 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9169
fc00f69c
LMI
9170 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9171 for list)" (bug#6475).
9172
28fd8759 9173 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9174 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9175 an error (bug#6297).
9176
0dd8b6da
LMI
9177 * man.el (Man-reference-regexp): Allow matching possible
9178 word-wrapped references (bug#6289).
9179
ce1438d6
LMI
9180 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9181 for consistency with the other vc buffers (bug#6197).
9182 (vc-checkin): Ditto.
9183
9184 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9185
36adf6ce
LMI
9186 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9187
e83cc1f7
LMI
91882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9189
8a20ca4c
LMI
9190 * custom.el (defcustom): Clarify that :set is only used in the
9191 Customize user interface (bug#6089).
9192
83319045
LMI
9193 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9194 associated with a file, refuse to run instead of erroring out
9195 (bug#6084).
9196
a8392169
LMI
9197 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9198 the doc string, since it appears that using `fill-column' always
9199 controls the width (bug#7845).
9200
e83cc1f7
LMI
9201 * simple.el (shell-command-on-region): Say where the error output
9202 went if `shell-command-default-error-buffer' is set (bug#6857).
9203
e47ca23b
KM
92042011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9205
9206 * allout.el (allout-yank-processing): Adjust cursor position for
9207 backwards-deleted space.
9208
9209 (allout-rebullet-heading): Register changes with
9210 allout-exposure-changed-hook, so the modified topic is properly
9211 decorated.
9212
5cf56143
LMI
92132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9214
08549772
LMI
9215 * minibuffer.el (completion-in-region): Document PREDICATE
9216 (bug#7136).
9217
48e96771
LMI
9218 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9219 of keyword/argument pairs (bug#6904).
9220
c8af70e1
SM
9221 * replace.el (multi-occur):
9222 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9223
e17d05e2
LMI
92242011-07-02 Drew Adams <drew.adams@oracle.com>
9225
9226 * dired.el (dired-mark-if): Make the message about whether it's
9227 marking or unmarking clearer (bug#8523).
9228
063b0e45
LMI
92292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
9231 * disp-table.el (display-table-print-array): New function.
9232 (describe-display-table): Use it to print the vectors more pretty
9233 (Bug#8859).
9234
28545e04
MR
92352011-07-02 Martin Rudalics <rudalics@gmx.at>
9236
9237 * window.el (window-state-get-1): Don't assign clone numbers.
9238 Add clone-of item to list of window parameters.
9239 (window-state-put-2): Don't process clone numbers.
9240 (display-buffer-alist): Fix doc-string.
9241
3349e122
SM
92422011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * subr.el (remq): Don't allocate if it's not needed.
9245 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9246 (keymap--merge-bindings): New functions.
9247 (keymap-canonicalize): Use them to refine the canonicalization.
9248 * minibuffer.el (minibuffer-local-completion-map)
9249 (minibuffer-local-must-match-map): Move initialization from C.
9250 (minibuffer-local-filename-completion-map): Move initialization from C;
9251 don't inherit from anything here.
9252 (minibuffer-local-filename-must-match-map): Make obsolete.
9253 (completing-read-default): Use make-composed-keymap to combine
9254 minibuffer-local-filename-completion-map with either
9255 minibuffer-local-must-match-map or
9256 minibuffer-local-filename-completion-map.
9257
d224ac83
GM
92582011-07-01 Glenn Morris <rgm@gnu.org>
9259
3de63bf8
GM
9260 * type-break.el (type-break-time-sum): Use dolist.
9261
d224ac83
GM
9262 * textmodes/flyspell.el (flyspell-word-search-backward):
9263 Replace CL function.
9264
1a1e3f32
SM
92652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9266
fe3f64d5
SM
9267 * mouse.el (mouse--strip-first-event): New function.
9268 (function-key-map): Use it to map fringe clicks to normal clicks
9269 by default.
9270
eb604e34
SM
9271 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9272 (vc-bzr-revision-completion-table): Add support for annotate and date.
9273
1a1e3f32
SM
9274 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9275 inherit from parent.
9276
5bd35902
LMI
92772011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9278
ace6c69c 9279 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9280 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9281
191e2bed
LMI
9282 * dired.el (dired-mode): Fix up the doc string as suggested by
9283 Drew Adams (bug#8817).
9284
5bd35902
LMI
9285 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9286 cookie, since the manual says that it should be possible to add
9287 this function to `find-file-hook' (bug#8709).
9288
eee8207a
TZ
92892011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9290
9291 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9292 here. Noted Ted Zlatanov as the maintainer.
9293 (cfengine-common-settings, cfengine-common-syntax): New functions
9294 to set up common things between `cfengine-mode' and
9295 `cfengine3-mode'.
9296 (cfengine3-mode): New mode.
9297 (cfengine3-defuns cfengine3-defuns-regex
9298 (cfengine3-class-selector-regex cfengine3-category-regex)
9299 (cfengine3-vartypes cfengine3-font-lock-keywords)
9300 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9301 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9302
36b148cf
MA
93032011-07-01 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9306
9307 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9308
0bf4ba9a
MR
93092011-07-01 Martin Rudalics <rudalics@gmx.at>
9310
9311 * window.el (same-window-buffer-names, same-window-regexps)
9312 (same-window-p, special-display-frame-alist)
9313 (special-display-popup-frame, special-display-function)
9314 (special-display-buffer-names, special-display-regexps)
9315 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9316 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9317 (split-window-preferred-function, split-height-threshold)
9318 (split-width-threshold, even-window-heights)
9319 (display-buffer-mark-dedicated, window-splittable-p)
9320 (split-window-sensibly, window-safely-shrinkable-p):
9321 Un-obsolete.
9322 (display-buffer): Don't spread args with function specifier
9323 because special-display-popup-frame won't like it.
9324
35837f51
PE
93252011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9326
d0672f86
PE
9327 Time-stamp simplifications and fixes.
9328 These improve accuracy slightly, and future-proof the code
9329 against some potential changes to current-time format.
9330
b9444d97
PE
9331 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9332 by using time-since and float-time.
9333
0ef923dc
PE
9334 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9335 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9336 + NNN microseconds".
9337
2f81380d
PE
9338 * type-break.el (type-break-time-sum): Rewrite using time-add.
9339
845b5c3e
PE
9340 * play/hanoi.el (hanoi-current-time-float): Remove.
9341 All uses replaced by float-time.
9342
ee6f1be0
PE
9343 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9344 This yields a more-accurate answer.
9345 (rng-time-to-float): Remove; no longer needed.
9346
fe955043
PE
9347 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9348
5777162a
PE
9349 * calendar/timeclock.el (timeclock-seconds-to-time):
9350 Defalias to seconds-to-time, since they're the same thing.
9351
3103f8b6 9352 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9353 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9354 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9355
0e61a35f
SM
93562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * window.el (bury-buffer): Don't iconify the only frame.
9359 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9360 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9361
ddd63a1e
CY
93622011-07-01 Chong Yidong <cyd@stupidchicken.com>
9363
0e61a35f
SM
9364 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9365 Add mouse-yank-primary.
ddd63a1e 9366
055f4923
TZ
93672011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9368
9369 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9370
6a2fb145
SM
93712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9374 (find-library-name): Use it to find relative load names when provided
9375 absolute file name (bug#8803).
9376
fd4983f2
LMI
93772011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
887d14ad
LMI
9379 * textmodes/flyspell.el (flyspell-word): Consider words that
9380 differ only in case as potential doublons (bug#5687).
9381
c53dc7fc
LMI
9382 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9383 Remove two rather uninteresting debugging-like messages to make
9384 debbugs.el more silent.
9385
fd4983f2
LMI
9386 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9387 a password-like phrase.
9388
7a71b18d 93892011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9390
9391 * progmodes/cc-guess.el: New file.
9392
6a2fb145 9393 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9394
9395 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9396 derived from `c-basic-common-init'.
9397
9398 * progmodes/cc-mode.el (top-level): Require cc-guess.
9399 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9400
1fa280a3
LM
94012011-06-30 Lawrence Mitchell <wence@gmx.li>
9402
9403 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9404
e6597158
AM
94052011-06-30 Alan Mackenzie <acm@muc.de>
9406
1fa280a3
LM
9407 * progmodes/cc-engine.el (c-guess-continued-construct):
9408 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9409 lock is disabled. Name this case as "CASE G".
9410
68ba37fb
KM
94112011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9412
9413 * allout.el (allout-yank-processing): Fix injection of extra space
9414 between bullet and non-whitespace character in first topic when
9415 pasting, ensuring that the actual spacing in the pasted topic
9416 following the bullet char is preserved. This extra space was
9417 causing pasted encrypted topics to get a decrypted status even
9418 when the content was actually still encrypted. Now the decryption
9419 status from before the paste is preserved.
9420
9421 (allout-flag-region): Set all allout overlays so they evaporate
9422 when reduced to zero length (evanescent), to prevent overlay
9423 leakage.
9424
887a0b34
GM
94252011-06-30 Glenn Morris <rgm@gnu.org>
9426
94b9acce
GM
9427 * w32-fns.el (w32-charset-info-alist): Declare.
9428
1d9b46d4
GM
9429 * find-dired.el (find-grep-options): Simplify.
9430
cc232200
GM
9431 * term/ns-win.el (ns-set-resource): Declare.
9432
28e77c46
GM
9433 * ses.el (row, col): Declare dynamic variables honestly.
9434
887a0b34
GM
9435 * textmodes/reftex-parse.el (index-tags): Declare.
9436
658d8eb8
CY
94372011-06-30 Chong Yidong <cyd@stupidchicken.com>
9438
9439 * cus-edit.el (customize-push-and-save): New function.
9440
9441 * files.el (hack-local-variables-confirm): Use it.
9442
1fa280a3
LM
9443 * custom.el (load-theme): New arg NO-CONFIRM.
9444 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9445 (custom-enabled-themes): Doc fix.
9446
9447 * cus-theme.el (customize-create-theme)
9448 (custom-theme-merge-theme): Callers to load-theme changed.
9449
bb617717
LMI
94502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9451
d61bdd5d
LMI
9452 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9453 short URLs have at least one dot in them (bug #7614).
9454
bb617717
LMI
9455 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9456 nil, because using a pty is apparently too slow (bug #895).
9457
2f31f37a
LMI
94582011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9459
9460 * mail/sendmail.el (sendmail-query-once): New function.
9461 (sendmail-query-once-function): New variable.
9462
3076b24e
GM
94632011-06-29 Glenn Morris <rgm@gnu.org>
9464
faf2a174
GM
9465 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9466
3076b24e
GM
9467 * ses.el (top-level): Require cl when compiling.
9468 (ses-set-localvars): Fix error statement.
9469 Call it at compile time to silence a storm of warnings.
9470
5386012d
MR
94712011-06-29 Martin Rudalics <rudalics@gmx.at>
9472
9473 * window.el (normalize-live-buffer): Rename to
9474 window-normalize-buffer.
9475 (normalize-live-frame): Rename to window-normalize-frame.
9476 (normalize-any-window): Rename to window-normalize-any-window.
9477 (normalize-live-window): Rename to window-normalize-live-window.
9478 (make-window-atom): Rename to window-make-atom.
9479 (window-resize-reset): Rename to window--resize-reset.
9480 (window-resize-reset-1): Rename to window--resize-reset-1.
9481 (resize-mini-window): Rename to window--resize-mini-window.
9482 (resize-subwindows-skip-p): Rename to
9483 window--resize-subwindows-skip-p.
9484 (resize-subwindows-normal): Rename to
9485 window--resize-subwindows-normal.
9486 (resize-subwindows): Rename to window--resize-subwindows.
9487 (resize-other-windows): Rename to window--resize-siblings.
9488 (resize-this-window): Rename to window--resize-this-window.
9489 (resize-root-window): Rename to window--resize-root-window.
9490 (resize-root-window-vertically): Rename to
9491 window--resize-root-window-vertically.
9492 (normalize-buffer-to-display): Rename to
9493 window-normalize-buffer-to-display.
9494 (normalize-buffer-to-switch-to): Rename to
9495 window-normalize-buffer-to-switch-to.
9496 Correspondingly update all callers of the functions listed
9497 above.
9498 (display-buffer-alist, display-buffer-normalize-arguments)
9499 (display-buffer-normalize-options, display-buffer)
9500 (display-buffer-alist-set): Use "function" instead of
9501 "fun-with-args".
9502
1176868d
CY
95032011-06-28 Chong Yidong <cyd@stupidchicken.com>
9504
9505 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9506 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9507 debbugs.gnu.org. Mention acknowledgment email.
9508
20a7a65f
LMI
95092011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9510
9511 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9512 buffer multibyteness, since it shouldn't matter.
9513
5f45cca5
MR
95142011-06-28 Martin Rudalics <rudalics@gmx.at>
9515
9516 * window.el (display-buffer-in-side-window): Handle dedicated
9517 windows as in display-buffer-reuse-window.
9518 (display-buffer-normalize-alist): Use value of override
9519 specifier.
9520 (display-buffer-normalize-specifiers): Use value of
9521 other-window-means-other-frame specifier.
9522 (display-buffer-alist): Rewrite some texts in widgets.
9523 (display-buffer): Spread arguments when calling function
9524 specified by fun-with-args.
9525
ad85fe1f
DD
95262011-06-28 Deniz Dogan <deniz@dogan.se>
9527
1fa280a3
LM
9528 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9529 Unnest `let'.
da68c4c8 9530
ad85fe1f
DD
9531 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9532 selectors (Bug#5732).
ec49bd31 9533 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9534
a08cc025
JA
95352011-06-27 Jari Aalto <jari.aalto@cante.net>
9536
9537 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9538 (eshell-ls-date-format): New defcustom.
9539 (eshell-ls-file): Use it.
9540
e2b551c5
SM
95412011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9544
8982b231
KY
95452011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9546
9547 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9548 (ange-ftp-make-tmp-name): New arg.
9549 (ange-ftp-file-local-copy): Use it.
9550
36c9fa27
J
95512011-06-27 Jambunathan K <kjambunathan@gmail.com>
9552
9553 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9554 no-conversion (Bug#8870).
9555
d68443dc
MR
95562011-06-27 Martin Rudalics <rudalics@gmx.at>
9557
9558 * window.el (window-right, window-left, window-child)
9559 (window-child-count, window-last-child)
9560 (window-iso-combination-p, walk-window-tree-1)
9561 (window-atom-check-1, window-tree-1, delete-window)
9562 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9563 new naming conventions - window-vchild, window-hchild,
9564 window-next and window-prev are now called window-top-child,
9565 window-left-child, window-next-sibling and window-prev-sibling
9566 respectively.
d615d6d2
MR
9567 (resize-window-reset): Rename to window-resize-reset.
9568 (resize-window-reset-1): Rename to window-resize-reset-1.
9569 (resize-window): Rename to window-resize.
9570 (window-min-height, window-min-width)
9571 (resize-mini-window, resize-this-window, resize-root-window)
9572 (resize-root-window-vertically, adjust-window-trailing-edge)
9573 (enlarge-window, shrink-window, maximize-window)
9574 (minimize-window, delete-window, quit-restore-window)
9575 (split-window, balance-windows, balance-windows-area-adjust)
9576 (balance-windows-area, window-state-put-2)
9577 (display-buffer-even-window-sizes, display-buffer-set-height)
9578 (display-buffer-set-width, set-window-text-height)
9579 (fit-window-to-buffer): Rename all "resize-window" prefixed
9580 calls to use the "window-resize" prefix convention.
9581 (display-buffer-alist): Fix symbol for label specifier.
9582 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9583 corresponding specifier.
9584 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9585
b6458526
VB
95862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9587
9588 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9589 convention.
9590 (ses-call-printer): Does not pass an empty string to formatter when the
9591 cell is empty to keep from barking printer Calc math-format-value.
9592
d31fd9ac
RS
95932011-06-27 Richard Stallman <rms@gnu.org>
9594
43d5bf84
RS
9595 * battery.el (battery-mode-line-limit): New variable.
9596 (battery-update): Handle it.
9597
d31fd9ac
RS
9598 * mail/rmailmm.el (rmail-mime-process-multipart):
9599 Handle truncated messages.
9600
819a6054
GM
96012011-06-27 Glenn Morris <rgm@gnu.org>
9602
9603 * progmodes/flymake.el (flymake-err-line-patterns):
9604 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9605
cedc73f2
VB
96062011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9607
819a6054 9608 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9609 (ses--clean-!, ses--clean-_): New functions.
9610 (ses-range): Add configurability of readout order, and conversion
9611 to Calc vector.
9612
5e5d49b6
VB
9613 * ses.el (ses-repair-cell-reference-all): New function.
9614 (ses-cell-symbol): Set macro as safe, so that it can be used in
9615 formulas.
9616
56e6cc31 9617 * ses.el: Update cycle detection algorithm.
90ca8b49 9618 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9619 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9620 (ses-set-localvars): New function.
9621 (ses-make-cell): Add property-list as a cell element.
9622 (ses-cell-property-get-fun, ses-cell-property-get)
9623 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9624 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9625 New functions.
90ca8b49
VB
9626 (ses-cell-property-set, ses-cell-property-pop)
9627 (ses-cell-property-get-handle): New macro.
9628 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9629 New aliases, used for code readability.
9630 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9631 cycle detection.
9632 (ses-self-reference-early-detection): New defcustom.
fac916bf 9633 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9634 (ses-mode): Use ses-set-localvars.
9635 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9636 before lauching the update processing.
9637 (ses-initialize-Dijkstra-attempt): New function.
9638 (ses-recalculate-cell): Update for cycle detection based on
9639 Dijkstra algorithm.
9640
2bb63e81
VB
9641 * ses.el: Fix commenting and indenting convention.
9642
c9d29fb8
SM
96432011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9644
9645 * bs.el (bs-cycle-next): Complete last change.
9646
d8e4b68b
JB
96472011-06-27 Drew Adams <drew.adams@oracle.com>
9648
9649 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9650
40098786
LMI
96512011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9652
c9d29fb8
SM
9653 * net/network-stream.el (network-stream-open-starttls):
9654 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9655 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9656
40098786
LMI
9657 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9658 to binary to possibly avoid line encoding issues on Windows (among
9659 other things).
9660
468d09d4
LMI
96612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9662
9663 * net/network-stream.el (open-network-stream): Return an :error
9664 saying what the problem was, if possible.
9665
9666 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9667 server.
9668
9669 * net/network-stream.el (network-stream-open-starttls): If we
9670 wanted to use STARTTLS, and the server offered it, but we weren't
9671 able to because we had no STARTTLS support, then close the connection.
9672 (open-network-stream): Return an :error element, if present.
9673
16f07dd7
CY
96742011-06-26 Chong Yidong <cyd@stupidchicken.com>
9675
88821ca0
CY
9676 * hl-line.el (hl-line-sticky-flag): Doc fix.
9677 (global-hl-line-sticky-flag): New option (Bug#8323).
9678 (global-hl-line-highlight): Obey it.
9679
16f07dd7
CY
9680 * vc/vc.el (vc-revert-show-diff): Default to t.
9681
6b5ccddf
KM
96822011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9683
c9d29fb8
SM
9684 * allout-widgets.el (allout-widgets-post-command-business):
9685 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9686 undecorated when an isearch is continued past, and isearch
9687 automatically collapses them. This leads to "widget leaks", where
9688 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9689 hidden widgets can slow down cursor travel, substantially.
9690 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9691 so we're doing without this nicety.
9692
9693 (allout-widgets-tally-string): Don't try to do a hash-table-count
9694 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9695 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9696 *Messages* when allout-widgets-maintain-tally is t.
9697
355f2e07
MR
96982011-06-26 Martin Rudalics <rudalics@gmx.at>
9699
9700 * window.el (display-buffer-normalize-argument): Rename to
9701 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9702 LABEL argument. Respect special-display-function when popping up
9703 a new frame. Fix code searching for a window showing the buffer
9704 on another frame.
c9d29fb8
SM
9705 (display-buffer-normalize-specifiers):
9706 Call display-buffer-normalize-arguments.
355f2e07
MR
9707 (display-buffer-in-window): Don't undedicate the window if its
9708 buffer remains the same.
9709 Reported by Drew Adams <drew.adams@oracle.com>.
9710 (display-buffer-alist): Add choice for same-window macro
9711 specfier.
9712 (display-buffer): Mention special meaning of LABEL argument in
9713 doc-string. Fix quoting. Don't pop up a new frame even as
9714 fallback.
9715
7ca8fc42
JB
97162011-06-26 Juanma Barranquero <lekktu@gmail.com>
9717
9718 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9719 avoid deleting the current window in some cases (bug#8911).
9720
bc312254
AS
97212011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9722
9723 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9724 (Bug#8934)
9725
2db18f3f
LMI
97262011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
c9d29fb8
SM
9728 * net/network-stream.el (network-stream-open-starttls):
9729 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9730 (network-stream-open-tls): Ditto.
9731
6302e0d3
LL
97322011-06-26 Leo Liu <sdl.web@gmail.com>
9733
9734 * register.el (registerv): New struct.
9735 (registerv-make): New function.
c9d29fb8
SM
9736 (jump-to-register, describe-register-1, insert-register):
9737 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9738 struct. (Bug#8415)
9739
5fdd4046
CY
97402011-06-26 Chong Yidong <cyd@stupidchicken.com>
9741
2afef60a
CY
9742 * vc/vc.el (vc-revert-show-diff): New defcustom.
9743 (vc-diff-internal): New arg specifying diff buffer.
9744 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9745 reuse an existing *vc-diff* buffer (Bug#8927).
9746
5fdd4046
CY
9747 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9748
e93db24a
GM
97492011-06-26 Glenn Morris <rgm@gnu.org>
9750
9751 * progmodes/f90.el (f90-critical-indent): New option.
9752 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9753 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9754 (f90-mode): Doc fix.
9755 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9756 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9757 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9758 (f90-match-end): Handle block, critical.
9759
eefff499
GM
97602011-06-25 Glenn Morris <rgm@gnu.org>
9761
f6ba4cc9
GM
9762 * calendar/diary-lib.el (diary-included-files): Doc fix.
9763 (diary-include-files): New function, extracted from
9764 diary-include-other-diary-files and diary-mark-included-diary-files.
9765 (diary-include-other-diary-files, diary-mark-included-diary-files):
9766 Just call diary-include-files.
9767 (diary-mark-entries): Reset diary-included-files on first call.
9768
16712304
GM
9769 * calendar/diary-lib.el (diary-mark-entries)
9770 (diary-mark-included-diary-files):
9771 Visit included diary-files in temp buffers.
9772
5d8e0d43
GM
9773 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9774 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9775 (f90-start-block-re, f90-imenu-generic-expression)
9776 (f90-looking-at-program-block-start, f90-no-block-limit):
9777 Add support for submodules.
9778
ccf7a5d5
GM
9779 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9780 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9781
11fdef7d 97822011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9783
9784 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9785 buffer-file-type before setting its value, to avoid disastrous
eefff499 9786 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9787
74f53697
JB
97882011-06-25 Juanma Barranquero <lekktu@gmail.com>
9789
9790 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9791
9792 * ses.el (ses-unload-function):
9793 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9794
9795 * proced.el (proced-unload-function):
9796 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9797
18a4ce5e
AR
97982011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9799
9800 * server.el (server-create-window-system-frame): Add parameters arg.
9801 (server-process-filter): Doc fix. Handle frame-parameters.
9802
519d22cc
JB
98032011-06-25 Juanma Barranquero <lekktu@gmail.com>
9804
9805 Fix bug#8730, bug#8781.
9806
9807 * loadhist.el (unload--set-major-mode): New function.
9808 (unload-feature): Use it.
9809
9810 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9811 (python-unload-function): New function.
9812
c206f5b0
SM
98132011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9816
f9ad64f3
GS
98172011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9818
9819 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9820 the candidates list.
9821
7d0da90e
JB
98222011-06-24 Juanma Barranquero <lekktu@gmail.com>
9823
9824 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9825
14b4e83d
RS
98262011-06-23 Richard Stallman <rms@gnu.org>
9827
9828 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9829 (rmail-variables): Set next-error-move-function.
9830 (rmail-what-message): Take argument POS.
9831 (rmail-next-error-move): New function.
9832
273d2baf
SM
98332011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9836 messages for adjacent non-terminals.
9837
56c2cc9a
RS
98382011-06-23 Richard Stallman <rms@gnu.org>
9839
9840 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9841 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9842 (rmail-start-mail): Don't specify use of rmail-mail-return;
9843 that's done by mail-bury now.
9844 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9845
d59eb518
MA
98462011-06-23 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9849 SIZE is a number.
9850
02cfc6d6
MR
98512011-06-23 Martin Rudalics <rudalics@gmx.at>
9852
9853 * window.el (get-lru-window, get-mru-window)
9854 (get-largest-window): Never return a minibuffer window.
9855 (display-buffer-pop-up-window): Fix a bug that could lead to
9856 reusing the minibuffer window.
9857 (display-buffer): Pass original specifier argument to
9858 display-buffer-function instead of the normalized one.
9859 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9860
4e323265
LL
98612011-06-22 Leo Liu <sdl.web@gmail.com>
9862
9863 * minibuffer.el (completing-read-function)
9864 (completing-read-default): Move from minibuf.c
9865
7a70468f
RS
98662011-06-22 Richard Stallman <rms@gnu.org>
9867
50718fc2
RS
9868 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9869 to Rmail even if not started by a special Rmail command.
9870
7a70468f
RS
9871 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9872 Copy the buffer currently showing just one message.
9873
297dde5a
RW
98742011-06-22 Roland Winkler <winkler@gnu.org>
9875
9876 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9877 (bibtex-clean-entry): First delete the old key so that a
9878 customized algorithm for generating the new key does not get
9879 confused by the old key.
9880 (bibtex-url): Obey regexp of first step.
9881 (bibtex-search-entries): Do not use add-to-list with local
9882 list-var.
9883
97bb1093
LMI
98842011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
9886 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9887 stored a user name, then query for the password first, instead of
9888 waiting for SMTP to give an error message and the trying again.
9889
1c0f1a19
JD
98902011-06-22 Lawrence Mitchell <wence@gmx.li>
9891
9892 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9893 BUFFER in call-process.
9894
396f7c9d
LMI
98952011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9896
9897 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9898 QUIT twice.
ddb7ffee
LMI
9899 (smtpmail-try-auth-methods): Require user name and password from
9900 auth-source.
396f7c9d 9901
8998d1b3
MR
99022011-06-22 Martin Rudalics <rudalics@gmx.at>
9903
9904 * window.el (display-buffer-default-specifiers)
9905 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9906 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9907 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9908
9909 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9910 (special-display-frame-alist, special-display-popup-frame):
9911 Remove duplicate declarations. These are now in window.el.
9912
4ea31e07
LMI
99132011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914
c9d29fb8
SM
9915 * mail/smtpmail.el (smtpmail-via-smtp):
9916 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9917 server supports it. SMTP servers that support STARTTLS commonly
9918 require it.
9919
9920 * net/network-stream.el (network-stream-open-starttls): Support
9921 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9922 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9923
95f41d9a
LMI
9924 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9925 upgrades with `open-network-stream', and rely solely on
9926 auth-source for all credentials. Big changes throughout the file,
9927 but in particular:
c9d29fb8
SM
9928 (smtpmail-auth-credentials): Remove.
9929 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9930 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9931 MAIL FROM, too.
95f41d9a 9932
c9d29fb8
SM
9933 * net/network-stream.el (network-stream-open-starttls):
9934 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9935 STARTTLS.
9936 (auth-source): Require.
9937 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9938 (network-stream-certificate): Change cert-cert to cert and
9939 cert-key to key.
4ea31e07 9940
065ec2c7
MA
99412011-06-21 Michael Albinus <michael.albinus@gmx.de>
9942
9943 * net/tramp-cache.el (top): Don't load the persistency file when
9944 "emacs -Q" has been called.
9945
cd93b359
DR
99462011-06-21 Tim Harper <timcharper@gmail.com>
9947
d8e4b68b
JB
9948 * term/ns-win.el (ns-initialize-window-system):
9949 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9950 resource to NO as it is not yet supported by the NS port.
9951
ae9c0411
JB
99522011-06-21 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9955 (list-dynamic-libraries): ...not here.
9956
7f3f739f
LL
99572011-06-21 Leo Liu <sdl.web@gmail.com>
9958
9959 * subr.el (sha1): Implement sha1 using secure-hash.
9960
327c8fb1
MR
99612011-06-21 Martin Rudalics <rudalics@gmx.at>
9962
9963 * window.el (display-buffer-alist): In default value do not
9964 enforce searching a window on any but the selected frame.
9965 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9966 (display-buffer-select-window): Remove function.
9967 (display-buffer-in-window): When a window on another frame gets
9968 reused, do not select it any more but just raise its frame if
9969 necessary (Bug#8851) and (Bug#8856).
9970 (display-buffer-normalize-options): Handle pop-up-frames related
9971 options more faithfully.
9972 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9973 window if it is on another frame.
c9d29fb8
SM
9974 (display-buffer-alist, display-buffer-default-specifiers):
9975 Don't make new frame unsplittable by default.
9e9de014
MR
9976 (display-buffer-normalize-argument): Fix doc-string typo and use
9977 'same-frame-other-window instead of 'other-window when associating
9978 with display-buffer-macro-specifiers.
327c8fb1 9979
7cf3f556
VB
99802011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9981
9982 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9983 New functions.
9984 (5x5-mode-map, 5x5-mode-menu): Bind them.
9985 (5x5-draw-grid): Tweak the solver's rendering.
9986
60a406cf
SM
99872011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9990 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9991
d8e4b68b 99922011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9993
9994 * menu-bar.el: Use function variable instead of switch-to-buffer.
9995 (menu-bar-select-buffer-function): New variable.
60a406cf 9996 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9997
478d6f95
SM
99982011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10001 variable's status.
10002
ca530739
JD
100032011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10004
10005 * x-dnd.el (x-dnd-version-from-flags)
10006 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10007 and long as number (Bug#8899).
10008 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10009
bcd70d97
SM
100102011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10011
60a406cf 10012 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10013 (completion-try-completion, completion-all-completions): Compute the
10014 metadata argument if it's missing; make it optional (bug#8795).
10015
60a406cf 10016 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10017 (widget-complete): Use new :completion-function property.
10018 (widget-completions-at-point): New function.
10019 (default): Use :completion-function instead of :complete.
60a406cf
SM
10020 (widget-default-completions): Rename from widget-default-complete;
10021 Rewrite.
bcd70d97
SM
10022 (widget-string-complete, widget-file-complete, widget-color-complete):
10023 Remove functions.
10024 (file, symbol, function, variable, coding-system, color):
10025 * international/mule-cmds.el (default-input-method, charset)
10026 (language-info-custom-alist):
10027 * cus-edit.el (face): Use new property :completions.
10028
10029 * progmodes/pascal.el (pascal-completions-at-point): New function.
10030 (pascal-mode): Use it.
10031 (pascal-mode-map): Use completion-at-point.
10032 (pascal-toggle-completions): Make obsolete.
10033 (pascal-complete-word, pascal-show-completions):
10034 * progmodes/octave-mod.el (octave-complete-symbol):
10035 Redefine as obsolete alias.
10036 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10037 Signal absence of completion info for old Octave,
10038 (inferior-octave-complete): Redefine as obsolete alias.
10039 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10040 (meta-completions-at-point): Rename from meta-complete-symbol and
10041 adapt it for use on completion-at-point-functions.
10042 (meta-common-mode): Use it.
10043 (meta-looking-at-backward, meta-match-buffer): Remove.
10044 (meta-complete-symbol): Redefine as obsolete alias.
10045 (meta-common-mode-map): Use completion-at-point.
10046 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10047 (makefile-mode-map): Use completion-at-point.
10048 (makefile-completions-at-point): Rename from makefile-complete and
10049 adapt it for use on completion-at-point-functions.
10050 (makefile-mode): Use it.
10051 (makefile-complete): Redefine as obsolete alias.
10052
aebf69c8
DD
100532011-06-20 Deniz Dogan <deniz@dogan.se>
10054
10055 * net/rcirc.el: Delete trailing whitespaces once and for all.
10056
bfbbb27d
DC
100572011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10058
10059 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10060
d264a46b
CY
100612011-06-19 Chong Yidong <cyd@stupidchicken.com>
10062
4ca009e5
CY
10063 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10064
d264a46b
CY
10065 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10066
fbf5b3ce
MR
100672011-06-19 Martin Rudalics <rudalics@gmx.at>
10068
10069 * window.el (display-buffer-other-window-means-other-frame):
10070 Call display-buffer-normalize-alist.
10071 (display-buffer-normalize-specifiers-1): Rename to
10072 display-buffer-normalize-argument. New argument other-frame.
10073 Rewrite.
10074 (display-buffer-normalize-specifiers-2): Rename to
10075 display-buffer-normalize-options.
10076 (display-buffer-normalize-alist-1): New function.
10077 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10078 display-buffer-normalize-alist.
10079 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10080 (display-buffer-normalize-options-inhibit): New variable.
10081 (display-buffer-normalize-specifiers): Rewrite calling
10082 display-buffer-normalize-alist,
10083 display-buffer-normalize-argument, and
10084 display-buffer-normalize-options. Don't call the latter if
10085 display-buffer-normalize-options-inhibit is non-nil.
10086 (frame-auto-delete): New option.
10087 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10088 (window-list-no-nils, window-state-ignored-parameters)
10089 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10090 (window-state-put-1, window-state-put-2, window-state-put):
10091 New functions.
9a028c23
MR
10092 (display-buffer-normalize-options): Move special-display-p group
10093 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10094
6d10d800
CY
100952011-06-18 Chong Yidong <cyd@stupidchicken.com>
10096
6420d28b
CY
10097 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10098 groups (Bug#8776).
10099 (rx-submatch-n): New function.
10100 (rx): Document it.
10101
ddb8b596
CY
10102 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10103 (Bug#8768).
10104
10105 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10106
77080289
CY
10107 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10108
61dfb316
CY
10109 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10110 anytime existing face settings are present (Bug#8889).
10111
6d10d800
CY
10112 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10113 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10114 Remove unused argument.
10115
be3fb2b8
MR
101162011-06-18 Martin Rudalics <rudalics@gmx.at>
10117
bcd70d97
SM
10118 * window.el (display-buffer-default-specifiers):
10119 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10120 pop-up-window-min-width, and another reuse-window specifier
10121 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10122 (display-buffer-normalize-specifiers-2):
10123 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10124 pop-up-windows is unset. Add a reuse-window specifier for the
10125 case popping up a new window fails.
10126 (special-display-popup-frame): Remove double quoting.
28dec25a 10127 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10128
1c6d8c76
SM
101292011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10132 according to comint-completion-addsuffix.
10133
10134 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10135 (pcomplete-suffix-list): Mark as obsolete.
10136 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10137 pcomplete-seen in the closure.
10138 (pcomplete-comint-setup): Setup completion-at-point as well.
10139 (pcomplete--entries): New function.
10140 (pcomplete--env-regexp): New var.
10141 (pcomplete-entries): Rewrite to work with partial-completion and
10142 without relying on pcomplete-suffix-list.
10143 (pcomplete-pare-list): Remove, unused.
10144
25aef8b8
MR
101452011-06-17 Martin Rudalics <rudalics@gmx.at>
10146
10147 * window.el (display-buffer-alist): Set pop-up-window-min-height
10148 and pop-up-window-min-width in default value. Reported by
10149 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10150 other-window-means-other-frame.
10151 (display-buffer-macro-specifiers): Comment out entry for
10152 other-window specifier.
10153 (display-buffer-other-window-means-other-frame): New function.
10154 (display-buffer-normalize-specifiers-1): New arguments
10155 buffer-name and label. Treat other-window case specially.
10156 (display-buffer-normalize-specifiers-2): Treat other-window case
10157 specially.
10158 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10159 (display-buffer-normalize-specifiers):
10160 Call display-buffer-normalize-specifiers-3.
25aef8b8 10161
dbad4f69
MR
101622011-06-17 Martin Rudalics <rudalics@gmx.at>
10163
10164 * window.el (same-window-p): Fix two typos introduced when
10165 adding with-no-warnings.
d1067961
MR
10166 (display-buffer-normalize-specifiers-1): Don't check
10167 pop-up-frames for 'unset initialization.
10168 (display-buffer-normalize-specifiers-2): Major rewrite using
10169 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10170 (pop-up-frames, display-buffer-reuse-frames)
10171 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10172 Suggested by David Engster <deng@randomsample.de>.
10173 (even-window-heights): Initialize to 'unset.
10174 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10175 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10176 other window case.
dbad4f69 10177
9b9c9e3a
MR
101782011-06-16 Martin Rudalics <rudalics@gmx.at>
10179
bcd70d97
SM
10180 * window.el (display-buffer-normalize-specifiers-1):
10181 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10182 second argument of display-buffer (Bug#8865).
981d5c09
MR
10183 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10184 (switch-to-buffer-other-window-same-frame)
10185 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10186 Adams (Bug#8875).
9c2755e9
MR
10187 (display-buffer): Don't check noninteractive when calling
10188 display-buffer-pop-up-frame.
10189 (display-buffer-pop-up-frame): Never pop up a frame in
10190 noninteractive mode (Bug#8857).
67222e1d
MR
10191 (enlarge-window, shrink-window): Don't report an error when the
10192 window can't be resized as requested (Bug#8862).
9b9c9e3a 10193
2b75be67
SM
101942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10195
9ffdd3ba
SM
10196 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10197
cb581a67
SM
10198 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10199
2b75be67
SM
10200 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10201
8c0e3589
AM
102022011-06-15 Alan Mackenzie <acm@muc.de>
10203
cb581a67
SM
10204 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10205 for declarators, disable knr checking to speed up for normal files.
10206 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10207
b96e6cde
LMI
102082011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10209
4bba86e6
LMI
10210 * net/network-stream.el (open-network-stream): Add the keyword
10211 :always-query-capabilities for the case where you want to force a
10212 `plain' network connection, but the protocol still requires the
10213 capabilitiy command (i.e., SMTP and EHLO).
10214
2b75be67 10215 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10216 consistency with other `-live-p' functions.
10217
efdcdbf8
SM
102182011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * window.el (same-window-buffer-names, same-window-regexps)
10221 (special-display-frame-alist, special-display-popup-frame)
10222 (special-display-function, special-display-buffer-names)
10223 (special-display-regexps, pop-up-frame-alist)
10224 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10225 (pop-up-windows, split-window-preferred-function)
10226 (split-height-threshold, split-width-threshold, even-window-heights)
10227 (display-buffer-mark-dedicated): Don't encourage the use of
10228 display-buffer-alist from Elisp code.
10229
c5cde042
DN
102302011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10231
10232 * progmodes/python.el (python-mode): Derive from prog-mode.
10233 * progmodes/ps-mode.el (ps-mode):
10234 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10235 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10236 * progmodes/ld-script.el (ld-script-mode): Likewise.
10237
baa1c9ab
MR
102382011-06-15 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (display-buffer-alist): Trim default value to avoid
10241 popping up a new frame (Bug#8857) or reusing an arbitrary window
10242 on another frame.
10243 (display-buffer): Do not fall back on popping up a new frame in
10244 batch mode (Bug#8857).
10245
c5dd5a51
CY
102462011-06-14 Chong Yidong <cyd@stupidchicken.com>
10247
10248 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10249 (custom-theme-summary): New function.
10250 (customize-themes): Use it.
10251
d647b7c4
GM
102522011-06-13 Glenn Morris <rgm@gnu.org>
10253
10254 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10255
9481c002
MR
102562011-06-13 Martin Rudalics <rudalics@gmx.at>
10257
357f93d2
MR
10258 * help.el (help-window): Remove variable.
10259 (help-window-point-marker, temp-buffer-max-height)
10260 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10261 (help-print-return-message): Don't set help-window.
10262 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10263 (help-window-setup-finish): Remove.
10264 (help-window-display-message, help-window-setup)
10265 (with-help-window): Major rewrite based on new
10266 display-buffer-window variable.
10267
10268 * help-mode.el (help-mode-finish): Remove help-window related
10269 code.
10270
10271 * view.el (view-exits-all-viewing-windows): Remove reference to
10272 view-return-to-alist in doc-string.
10273 (view-return-to-alist): Make obsolete.
10274 (view-buffer): Call pop-to-buffer-same-window and remove
10275 undo-window code.
10276 (view-buffer-other-window): Call pop-to-buffer-other-window and
10277 simplify code. Ignore second argument.
10278 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10279 simplify code. Ignore second argument.
10280 (view-return-to-alist-update): Make obsolete.
10281 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10282 Rewrite using quit-restore window parameters.
2b75be67
SM
10283 (view-mode-exit): Rename second argument to EXIT-ONLY.
10284 Rewrite using quit-restore-window.
357f93d2
MR
10285 (View-exit, View-exit-and-edit, View-leave, View-quit)
10286 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10287 appropriate arguments.
10288 (view-end-message): Use quit-restore window parameter.
10289
9481c002
MR
10290 * window.el (display-buffer-function): Rewrite doc-string.
10291 (display-buffer-window, display-buffer-alist): New variables.
10292 (display-buffer-split-specifiers)
10293 (display-buffer-side-specifiers)
10294 (display-buffer-macro-specifiers): New constants.
10295 (display-buffer-even-window-sizes, display-buffer-set-height)
10296 (display-buffer-set-width, display-buffer-select-window)
10297 (display-buffer-in-window, display-buffer-reuse-window)
10298 (display-buffer-split-window-1, display-buffer-split-window)
10299 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10300 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10301 (display-buffer-in-side-window, normalize-buffer-to-display)
10302 (display-buffer-normalize-specifiers-1)
10303 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10304 (display-buffer-normalize-specifiers, display-buffer-frame):
10305 New functions.
9481c002
MR
10306 (display-buffer): Major rewrite.
10307 (display-buffer-other-window, display-buffer-other-frame)
10308 (pop-to-buffer, switch-to-buffer-other-window)
10309 (switch-to-buffer-other-frame): Rewrite.
10310 (display-buffer-same-window, display-buffer-same-frame)
10311 (display-buffer-same-frame-other-window)
10312 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10313 (pop-to-buffer-other-window)
10314 (pop-to-buffer-same-frame-other-window)
10315 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10316 (switch-to-buffer-other-window-same-frame): New functions.
10317 (same-window-p, special-display-p): Rewrite disabling warnings.
10318 Make obsolete.
10319 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10320 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10321 Make obsolete
10322 (same-window-buffer-names, same-window-regexps)
10323 (special-display-frame-alist, special-display-popup-frame)
10324 (special-display-function, special-display-buffer-names)
10325 (special-display-regexps, pop-up-frame-alist)
10326 (pop-up-frame-function, split-window-preferred-function)
10327 (split-height-threshold, split-width-threshold)
10328 (even-window-heights): Make obsolete.
10329
9db51aca
GM
103302011-06-12 Glenn Morris <rgm@gnu.org>
10331
10332 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10333 Misc simplifications.
9db51aca 10334
39cffb44
MR
103352011-06-12 Martin Rudalics <rudalics@gmx.at>
10336
10337 * window.el (window-safely-shrinkable-p): Restore function which
10338 was inadvertently removed in change from 2011-06-11. Declare as
10339 obsolete.
10340
2b75be67
SM
10341 * calendar/calendar.el (calendar-generate-window):
10342 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10343 window-safely-shrinkable-p.
10344
a8955be7
GM
103452011-06-12 Glenn Morris <rgm@gnu.org>
10346
10347 * progmodes/fortran.el (fortran-mode-syntax-table):
10348 * progmodes/f90.el (f90-mode-syntax-table):
10349 Set % to punctuation. (Bug#8820)
10350 (f90-find-tag-default): Remove, no longer needed.
10351
f0d4059d
DC
103522011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10353
10354 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10355
1100a63c
CY
103562011-06-11 Chong Yidong <cyd@stupidchicken.com>
10357
10358 * image.el (image-animated-p): Return animation delay in seconds.
10359 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10360 (image-animate-timeout): Remove DELAY argument. Don't assume
10361 every subimage has the same delay; get it from image-animated-p.
10362 (image-animate): Caller changed.
10363
def722bf
MA
103642011-06-11 Michael Albinus <michael.albinus@gmx.de>
10365
10366 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10367 to ignored backtrace functions.
10368
0a2bb1a9
GM
103692011-06-11 Glenn Morris <rgm@gnu.org>
10370
10371 * calendar/appt.el (appt-disp-window-function): Doc fix.
10372 (appt-check): Handle overlapping appointments. (Bug#8337)
10373
6198ccd0
MR
103742011-06-11 Martin Rudalics <rudalics@gmx.at>
10375
10376 * window.el (window-tree-1, window-tree): New functions, moving
10377 the latter to window.el.
10378 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10379 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10380 (bw-refresh-edges): Remove.
10381 (balance-windows-1, balance-windows-2): New functions.
10382 (balance-windows): Rewrite in terms of window tree functions,
10383 balance-windows-1 and balance-windows-2.
10384 (bw-adjust-window): Remove.
10385 (balance-windows-area-adjust): New function with functionality of
10386 bw-adjust-window but using resize-window.
2b75be67
SM
10387 (set-window-text-height): Rewrite doc-string.
10388 Use normalize-live-window and resize-window.
10389 (enlarge-window-horizontally, shrink-window-horizontally):
10390 Rename argument to DELTA.
6198ccd0
MR
10391 (window-buffer-height): New function.
10392 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10393 Rewrite using new window resize routines.
2b75be67
SM
10394 (kill-buffer-and-window, mouse-autoselect-window-select):
10395 Use ignore-errors instead of condition-case.
6198ccd0
MR
10396 (quit-window): Call delete-frame instead of delete-windows-on
10397 for the only buffer on frame.
10398
9397e56f
MR
103992011-06-10 Martin Rudalics <rudalics@gmx.at>
10400
10401 * loadup.el (top-level): Load window before files for the sake
10402 of replace-buffer-in-windows.
10403
10404 * files.el (read-buffer-to-switch)
10405 (switch-to-buffer-other-window)
2b75be67
SM
10406 (switch-to-buffer-other-frame, display-buffer-other-frame):
10407 Move to window.el.
9397e56f
MR
10408
10409 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10410 (previous-buffer): Move to window.el.
10411
10412 * bindings.el (unbury-buffer): Move to window.el.
10413
10414 * window.el (delete-other-windows-vertically): Move after
10415 definition of delete-other-windows.
10416 (other-window, delete-windows-on, replace-buffer-in-windows):
10417 Move here from window.c.
10418 (record-window-buffer, unrecord-window-buffer)
10419 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10420 (switch-to-next-buffer): New functions.
10421 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10422 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10423 (previous-buffer): Move here from simple.el.
10424 Call switch-to-prev-buffer.
9397e56f
MR
10425 (bury-buffer): Move here from buffer.c. Switch to previous
10426 buffer when window cannot be deleted.
10427 (unbury-buffer): Move here from bindings.el.
10428 (ctl-x-map): Move binding for other-window from window.c to
10429 here.
10430 (read-buffer-to-switch, switch-to-buffer-other-window)
10431 (switch-to-buffer-other-frame): Move here from files.el.
10432 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10433 (switch-to-buffer): Move here from buffer.c.
10434 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10435
562dd5e9
MR
104362011-06-10 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (window-min-height, window-min-width): Move here
10439 from window.c. Add defcustoms and rewrite doc-strings.
10440 (resize-mini-window, resize-window): New functions.
10441 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10442 Move here from window.c.
10443 (maximize-window, minimize-window): New functions.
10444 (delete-window, delete-other-windows, split-window): Move here
10445 from window.c.
10446 (window-split-min-size): New function.
10447 (split-window-keep-point): Mention split-window-above-each-other
10448 instead of split-window-vertically.
2b75be67 10449 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10450 Rename split-window-vertically to split-window-above-each-other
10451 and provide defalias for old definition.
10452 (split-window-side-by-side, split-window-horizontally):
10453 Rename split-window-horizontally to split-window-side-by-side
10454 and provide defalias for the old definition.
562dd5e9
MR
10455 (ctl-x-map): Move bindings for delete-window,
10456 delete-other-windows and enlarge-window here from window.c.
10457 Replace bindings for split-window-vertically and
10458 split-window-horizontally by bindings for
10459 split-window-above-each-other and split-window-side-by-side.
10460
10461 * cus-start.el (all): Remove entries for window-min-height and
10462 window-min-width. Add entries for window-splits and
10463 window-nest.
10464
f0da764a
GM
104652011-06-09 Glenn Morris <rgm@gnu.org>
10466
80675c21
GM
10467 * calendar/appt.el (appt-mode-line): New function.
10468 (appt-check, appt-disp-window): Use it.
10469
f0da764a
GM
10470 * files.el (hack-one-local-variable-eval-safep):
10471 Allow minor-modes with explicit +/-1 arguments.
10472
59f623b7
TZ
104732011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10474
10475 * term/xterm.el (xterm): Add defgroup.
10476 (xterm-extra-capabilities): Add defcustom to supply known xterm
10477 capabilities, skip querying them, or query them (default).
10478 (terminal-init-xterm): Use it.
10479 (terminal-init-xterm-modify-other-keys): New function to set up
10480 modifyOtherKeys support to simplify `terminal-init-xterm'.
10481
9aab8e0d
MR
104822011-06-09 Martin Rudalics <rudalics@gmx.at>
10483
10484 * window.el (resize-window-reset, resize-window-reset-1)
10485 (resize-subwindows-skip-p, resize-subwindows-normal)
10486 (resize-subwindows, resize-other-windows, resize-this-window)
10487 (resize-root-window, resize-root-window-vertically)
10488 (window-deletable-p, window-or-subwindow-p)
10489 (frame-root-window-p): New functions.
10490
e8b08aee
GM
104912011-06-09 Glenn Morris <rgm@gnu.org>
10492
10493 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10494 (ange-ftp-get-files): Use it.
10495
254c37a5
AK
104962011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10497
10498 * mail/sendmail.el (mail-recover-1, mail-recover):
10499 * files.el (recover-file, recover-session):
10500 Handle dired-listing-switches not being just a single short option.
10501
35d7dbd3
GM
105022011-06-09 Glenn Morris <rgm@gnu.org>
10503
10504 * calendar/appt.el (appt-display-message, appt-disp-window):
10505 Handle lists of appointments.
10506
387522b2
MR
105072011-06-08 Martin Rudalics <rudalics@gmx.at>
10508
2b75be67
SM
10509 * window.el (one-window-p): Move down in code.
10510 Rewrite doc-string.
10511 (window-current-scroll-bars): Rewrite doc-string.
10512 Normalize live window argument.
387522b2
MR
10513 (walk-windows, get-window-with-predicate, count-windows):
10514 Rewrite doc-string. Use window-list-1.
10515 (window-in-direction-2, window-in-direction, get-mru-window):
10516 New functions.
10517
d8e4b68b 105182011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10519
10520 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10521 Doc fix (Bug#8713).
10522
105232011-06-08 Chong Yidong <cyd@stupidchicken.com>
10524
10525 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10526
105272011-06-08 Juanma Barranquero <lekktu@gmail.com>
10528
10529 * loadhist.el (unload-feature-special-hooks):
10530 Add `comint-output-filter-functions'.
10531
0de12c52
IK
105322011-06-08 Ivan Kanis <gnu@kanis.fr>
10533
10534 * calendar/appt.el (appt-check): Move some initializations into the let.
10535
f3d1777e
MR
105362011-06-08 Martin Rudalics <rudalics@gmx.at>
10537
10538 * window.el (window-height): Defalias to window-total-height.
10539 (window-width): Defalias to window-body-width.
10540
18af70d0
CY
105412011-06-07 Chong Yidong <cyd@stupidchicken.com>
10542
10543 * image-mode.el (image-toggle-animation): New command.
10544 (image-mode-map): Bind it to RET.
10545 (image-mode): Update message.
10546 (image-toggle-display-image): Avoid a spurious cache flush.
10547 (image-transform-rotation): Doc fix.
10548 (image-transform-properties): Return quickly in the normal case.
10549 (image-animate-loop): Rename from image-animate-max-time.
10550
2b75be67 10551 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10552 (create-animated-image): Remove unnecessary function.
10553 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10554 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10555 (image-animate-timer): Use car-safe.
10556 (image-animate-timeout): Rename argument.
10557
190b47e6
MR
105582011-06-07 Martin Rudalics <rudalics@gmx.at>
10559
10560 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10561 window.c. Rename first argument to ALL-FRAMES.
10562 Rephrase doc-strings.
10563 (get-buffer-window-list): Rewrite using window-list-1.
10564 Rephrase doc-string.
a1511caf
MR
10565 (window-safe-min-height, window-safe-min-width): New constants.
10566 (window-size-ignore, window-min-size, window-min-size-1)
10567 (window-sizable, window-sizable-p, window-size-fixed-1)
10568 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10569 (window-max-delta-1, window-max-delta, window-resizable)
10570 (window-resizable-p, window-total-height, window-total-width)
10571 (window-body-width): New functions.
10572 (window-full-height-p, window-full-width-p): Rewrite using
10573 window-total-size.
10574 (window-body-height): Rewrite using window-body-size.
190b47e6 10575
85cc1f11
MR
105762011-06-06 Martin Rudalics <rudalics@gmx.at>
10577
10578 * window.el (window-right, window-left, window-child)
10579 (window-child-count, window-last-child, window-any-p)
10580 (normalize-live-buffer, normalize-live-frame)
10581 (normalize-any-window, normalize-live-window)
10582 (window-iso-combination-p, window-iso-combined-p)
10583 (window-iso-combinations)
10584 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10585 (windows-with-parameter, window-with-parameter)
10586 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10587 (window-atom-check, window-side-check, window-check):
10588 New functions.
85cc1f11
MR
10589 (ignore-window-parameters, window-sides, window-sides-vertical)
10590 (window-sides-slots): New variables.
10591 (window-size-fixed): Move down in code. Minor doc-string fix.
10592
e7156492
AS
105932011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10594
10595 * comint.el (comint-dynamic-complete-as-filename)
10596 (comint-dynamic-complete-filename): Correctly call
10597 completion-in-region.
10598
7e821d0d
DD
105992011-06-05 Deniz Dogan <deniz@dogan.se>
10600
10601 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10602 in last change.
10603
ac09b8a1
DD
106042011-06-05 Deniz Dogan <deniz@dogan.se>
10605
10606 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10607 (rcirc): Use it to prompt for encryption.
10608
34699b85
RW
106092011-06-05 Roland Winkler <winkler@gnu.org>
10610
10611 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10612 (bibtex-search-entries): New command bound to C-c C-a.
10613 (bibtex-display-entries): New function.
10614
004dedd3
RW
106152011-06-05 Roland Winkler <winkler@gnu.org>
10616
10617 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10618 (bibtex-insert-kill): After yanking insert newline if necessary.
10619 (bibtex-initialize): Call bibtex-string-files-init only once.
10620 (bibtex-mode): Do not call easy-menu-add.
10621 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10622 (bibtex-yank): Set arg properly if nil.
10623
022fe7ce
RW
106242011-06-05 Roland Winkler <winkler@gnu.org>
10625
2b75be67
SM
10626 * textmodes/bibtex.el (bibtex-search-entry-globally):
10627 New variable.
022fe7ce
RW
10628 (bibtex-search-entry): Use it.
10629
b7c3692a
RW
106302011-06-05 Roland Winkler <winkler@gnu.org>
10631
10632 * textmodes/bibtex.el (bibtex-entry-format): New option
10633 sort-fields.
10634 (bibtex-format-entry, bibtex-reformat): Honor this option.
10635 (bibtex-parse-entry): Return fields in proper order.
10636
8eda563d
JB
106372011-06-05 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * doc-view.el (doc-view-remove-if): Move computation of result out
10640 of `dolist' to silence misleading lexical-binding warning.
10641
7dbe3dbc
CY
106422011-06-04 Chong Yidong <cyd@stupidchicken.com>
10643
10644 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10645 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10646
0c33dd17
MA
106472011-06-04 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10650 "SunOS 5.10".
10651
f8f91c2b
MA
106522011-06-04 Michael Albinus <michael.albinus@gmx.de>
10653
10654 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10655 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10656 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10657 (tramp-parse-putty):
10658 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10659 (tramp-completion-function-alist-ssh)
10660 (tramp-completion-function-alist-telnet)
10661 (tramp-completion-function-alist-su)
10662 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10663 cookie.
10664
10665 * net/tramp-ftp.el:
10666 * net/tramp-sh.el:
10667 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10668 load "tramp.el" `tramp-set-completion-function'.
10669
e17d9003
SM
106702011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10671
10672 * shell.el: Require and use pcomplete.
10673 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10674 (shell-completion-vars): Set pcomplete-default-completion-function.
10675
6c4cab03
DD
106762011-06-04 Deniz Dogan <deniz@dogan.se>
10677
10678 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10679 `memq' (Bug#8799).
10680
ea9fafe0
SM
106812011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10684
b3e945d3
JB
106852011-06-02 Juanma Barranquero <lekktu@gmail.com>
10686
10687 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10688 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10689 * vc/log-view.el (log-view-beginning-of-defun):
10690 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10691 (smerge-refine-forward, smerge-refine-chopup-region):
10692 Silence warning for unused `dotimes' counter variables.
10693
7d520089
SM
106942011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * net/tramp.el (tramp-with-progress-reporter): Rename from
10697 with-progress-reporter. Use `declare'.
10698 * net/tramp-smb.el:
10699 * net/tramp-sh.el:
10700 * net/tramp-gvfs.el: Update all uses.
10701
a1c2400f
JB
107022011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10703
10704 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10705 buffer isn't killed before making it current.
10706
2403c841
SM
107072011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 Silence various byte-compiler warnings.
10710 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10711 `access-type' and new obsolescence format.
10712 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10713 new format.
10714 (byte-compile-check-variable): New `access-type' argument.
10715 Only warn if the access-type is obsolete.
10716 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10717 (byte-compile-variable-set): Adjust callers.
10718 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10719 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10720 setting it as obsolete.
10721 * simple.el (minibuffer-completing-symbol):
10722 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10723 access as obsolete.
10724 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10725 obsolete yet.
10726 * international/quail.el (quail-mouse-choose-completion): Remove unused
10727 code referring to obsolete var.
10728 (quail-choose-completion-string): Remove.
10729 * server.el (server-clients-with, server-kill-buffer-query-function)
10730 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10731 * proced.el (proced-send-signal):
10732 * emacs-lisp/lisp.el (lisp-complete-symbol):
10733 Replace completion-annotate-function with completion-extra-properties.
10734
2462470b
SM
107352011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10736
fb5b2591
SM
10737 * simple.el (goto-line): Use read-number.
10738 (overriding-map-is-bound): Remove.
10739 (saved-overriding-map): Change default.
10740 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10741 Take the map as argument.
10742 (universal-argument, negative-argument, digit-argument): Use it.
10743 (restore-overriding-map): Adjust.
10744 (do-auto-fill): Use fill-forward-paragraph.
10745 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10746
fd6fa53f
SM
10747 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10748 (minibuffer-inactive-mode): New major mode.
10749 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10750 the *Messages* buffer" hack.
10751 (mouse-popup-menubar): Don't burp if the event is a normal key.
10752
2462470b
SM
10753 Miscellaneous tweaks.
10754 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10755 lexical scoping as in subr.el's dolist and dotimes.
10756 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10757 Silence compiler warning.
10758 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10759 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10760 * international/ccl.el (ccl-compile): Trivial simplification.
10761 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10762 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10763 `printflag' argument.
10764 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10765 Purecopy the whole obsolescence data.
10766
108bf785
LL
107672011-06-01 Leo Liu <sdl.web@gmail.com>
10768
10769 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10770 improve doc-string as suggested by Marco Pessotto
10771 <melmothx@gmail.com>.
10772 (rcirc-print): Fix last change.
10773
30a23501
SM
107742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * minibuffer.el (complete-with-action): Return nil for the metadata and
10777 boundaries of non-functional tables.
10778 (completion-table-dynamic): Return nil for the metadata.
10779 (completion-table-with-terminator): Add default case, using
10780 complete-with-action.
10781 (completion--metadata): New function.
10782 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10783 to try and avoid pathological performance problems.
10784 (completion--embedded-envvar-table): Return `category' metadata.
10785
bcd54f83
LMI
107862011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10787
10788 * subr.el (process-alive-p): New tiny convenience function.
10789
e227544d
SM
107902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10793 content but also its previous major mode.
10794
e8296fdc
HE
107952011-05-31 Helmut Eller <eller.helmut@gmail.com>
10796
4d61f28d 10797 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10798 *Backtrace* buffer when we exit with C-M-c.
10799
620c53a6
SM
108002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * minibuffer.el: Add metadata method to completion tables.
10803 (completion-category-overrides): New defcustom.
10804 (completion-metadata, completion--field-metadata)
10805 (completion-metadata-get, completion--styles)
10806 (completion--cycle-threshold): New functions.
10807 (completion-try-completion, completion-all-completions):
10808 Add `metadata' argument to choose completion-styles.
10809 (completion--do-completion): Use metadata to choose cycling.
10810 (completion-all-sorted-completions): Use metadata for sorting.
10811 Remove :completion-cycle-penalty which is not needed any more.
10812 (completion--try-word-completion): Add `metadata' argument.
10813 (minibuffer-completion-help): Check metadata for annotation function
10814 and sorting.
10815 (completion-file-name-table): Return `category' metadata.
10816 (minibuffer-completing-file-name): Make obsolete.
10817 * simple.el (minibuffer-completing-symbol): Make obsolete.
10818 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10819 completion-try-completion.
10820
1257e755
SM
108212011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10824
3767e706
LL
108252011-05-30 Leo Liu <sdl.web@gmail.com>
10826
10827 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10828 (rcirc-print): Decode all incoming messages (bug#8744).
10829 (rcirc-decode-coding-system): Allow value nil for automatic coding
10830 system detection.
3767e706 10831
d1a5d56a
GM
108322011-06-01 Glenn Morris <rgm@gnu.org>
10833
10834 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10835
e8cbec34
CY
108362011-05-29 Chong Yidong <cyd@stupidchicken.com>
10837
10838 * image.el (image-animate-max-time): Allow nil and t values.
10839 Default to nil.
10840 (create-animated-image): Doc fix.
10841 (image-animate-start): Remove second arg; just use
10842 image-animate-max-time.
10843 (image-animate-timeout): Doc fix. Args changed.
10844
10845 * image-mode.el (image-toggle-display-image): Ensure that the
10846 image spec passed to the animate timer is the same object as in
58179cce 10847 the buffer's display property (Bug#6981).
e8cbec34
CY
10848 (image-transform-properties): Doc fix.
10849
10850 * image.el (image-animate-max-time): Default to nil.
10851
159daf87
MR
108522011-05-29 Martin Rudalics <rudalics@gmx.at>
10853
10854 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10855 entire buffer list (Bug#8184).
10856
d66c4c7c
CY
108572011-05-29 Chong Yidong <cyd@stupidchicken.com>
10858
10859 * image.el (imagemagick-types-inhibit)
10860 (imagemagick-register-types): Doc fix.
10861
80aec780
DD
108622011-05-29 Deniz Dogan <deniz@dogan.se>
10863
10864 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10865 default.
10866
1dd3c2d9
CY
108672011-05-29 Chong Yidong <cyd@stupidchicken.com>
10868
10869 * select.el: Don't perform clipboard-manager saving in hooks;
10870 leave the hooks empty.
10871
60e56523
LL
108722011-05-28 Leo Liu <sdl.web@gmail.com>
10873
10874 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10875 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10876 (occur-edit-mode): New major mode (Bug#8463).
10877 (occur-after-change-function): New function.
10878 (occur-engine): Give Occur tags a read-only property.
10879
2b1e1a22
KR
108802011-05-28 Kevin Ryde <user42@zip.com.au>
10881
10882 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10883
5d344e88
CY
108842011-05-28 Chong Yidong <cyd@stupidchicken.com>
10885
8e6ca83d
CY
10886 * bindings.el (help-echo): Make the initial non-indicator dash
10887 empty on graphical terminals (Bug#7295).
10888
5d344e88
CY
10889 * files.el (auto-mode-alist): Move config rule after the
10890 in-stripping one (Bug#8547).
10891
bfbbace7
CY
10892 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10893
fbeba6e2
CY
10894 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10895 setting (Bug#8740).
10896
60ed8c72
AA
108972011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10898
4ac619f0
AA
10899 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10900 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10901 (Bug#8539).
60ed8c72 10902
23db196e
CY
109032011-05-28 Chong Yidong <cyd@stupidchicken.com>
10904
10905 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10906
5012f24c
DK
109072011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10908
10909 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10910 (hs-hide-block-at-point, hs-find-block-beginning)
10911 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10912 (Bug#8279).
10913
6a639b16
GM
109142011-05-28 Glenn Morris <rgm@gnu.org>
10915
10916 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10917
d43eaf2c
CY
109182011-05-28 Chong Yidong <cyd@stupidchicken.com>
10919
5199bde1
CY
10920 * help-fns.el (describe-function-1): If the function is a derived
10921 major mode, print the parent mode.
10922
d43eaf2c
CY
10923 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10924 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10925
423428a8
SM
109262011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10927
0ff8e1ba 10928 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10929 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10930 * progmodes/etags.el (tags-completion-at-point-function):
10931 * info-look.el (info-lookup-completions-at-point): Mark as
10932 non-exclusive.
10933 (info-complete): Adjust accordingly.
10934
423428a8
SM
10935 * info-look.el: Convert to lexical-binding and completion-at-point.
10936 (info-lookup-completions-at-point): New function.
10937 (info-complete): Use it and completion-in-region.
10938
b74aa22b
DA
109392011-05-28 Drew Adams <drew.adams@oracle.com>
10940
10941 * isearch.el: Let M-e start with point at the first mismatched char.
10942 (isearch-fail-pos): New function.
10943 (isearch-edit-string): Use it.
10944
66e2e71d
DK
109452011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10946
10947 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10948
b1890b0f 109492011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10950
10951 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10952 traversal functions for avl-trees.
10953 (avl-tree--stack): New struct.
10954 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10955 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10956 (avl-tree--do-enter): Add optional `updatefun' arg.
10957 Change return value.
eb95d01d 10958 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10959 (avl-tree--do-delete): Add `test' and `nilflag' args.
10960 Change return value.
eb95d01d
TC
10961 (avl-tree-member): Add optional `nilflag'
10962 (avl-tree-member-p): New function.
10963 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10964 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10965 (avl-tree-stack-empty-p): New functions.
10966
3769ddcf
TC
10967 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10968 avl-tree--del-balance1 and make it work both ways.
10969 (avl-tree--del-balance2): Remove.
10970 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10971 make it work both ways.
10972 (avl-tree--enter-balance2): Remove.
10973 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10974 New macros.
10975 (avl-tree--mapc, avl-tree-map): Add direction argument.
10976
eb95d01d 109772011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10978
10979 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10980
a9f737ee
CY
109812011-05-27 Chong Yidong <cyd@stupidchicken.com>
10982
10983 * select.el: Support clipboard managers with built-in function
10984 x-clipboard-manager-save, via delete-frame-functions and
10985 kill-emacs-hook.
10986 (xselect-convert-to-targets): Add MULTIPLE target to list.
10987 (xselect-convert-to-save-targets): New function.
10988
c92a1e54
KH
109892011-05-27 Kenichi Handa <handa@m17n.org>
10990
10991 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10992 let-binding rfc2047-encode-encoded-words to nil.
10993
e145f188
GM
109942011-05-27 Glenn Morris <rgm@gnu.org>
10995
5ec8a862
GM
10996 * mail/emacsbug.el: Don't require url-util.
10997
4b29d9fb
GM
10998 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10999
e145f188
GM
11000 * files.el (set-auto-mode):
11001 Also respect mode: entries at the end of the file. (Bug#8586)
11002
7d15102b
GM
110032011-05-26 Glenn Morris <rgm@gnu.org>
11004
98f593b8
GM
11005 * files.el (hack-local-variables-prop-line, hack-local-variables):
11006 Downcase mode names, as seems to be traditional.
27b48e63 11007 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11008
7d15102b
GM
11009 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11010 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11011
51d5b4ec
JD
110122011-05-25 Julien Danjou <julien@danjou.info>
11013
11014 * textmodes/rst.el (rst-define-level-faces): Do not define face
11015 symbol if it is already defined.
11016
91513f63
VB
110172011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11018
11019 * play/5x5.el (5x5-new-game, 5x5-randomize):
11020 Reset 5x5-solver-output to nil when a new grid is cast.
11021 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11022 these debugging traces, as defmacro breaks the compiled code.
11023
4d90d6d0
DK
110242011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11025
11026 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11027
e1b90ef6
LL
110282011-05-24 Leo Liu <sdl.web@gmail.com>
11029
11030 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11031 (vc-bzr-sha1): Adapt.
11032
d8e4b68b 11033 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11034
11035 * bindings.el: Provide sha1 feature.
11036
db0406bb 110372011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11038
11039 * mail/sendmail.el: Require `rfc2047'.
11040 (mail-insert-from-field): Do not perform RFC2047 encoding.
11041 (mail-encode-header): New function.
11042 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11043 buffer to the return value of select-message-coding-system.
11044 Call mail-encode-header.
b8d747b9
KH
11045
11046 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11047
db0406bb 110482011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11049
4d90d6d0
DK
11050 * mail/supercite.el (sc-default-cite-frame):
11051 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11052
eb8a5e9b
GM
110532011-05-24 Glenn Morris <rgm@gnu.org>
11054
f8630703
GM
11055 * progmodes/python.el (brm-menu): Declare.
11056
8831bbed
GM
11057 * emulation/viper.el (viper-set-hooks): Declare.
11058
eb8a5e9b
GM
11059 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11060 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11061 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11062 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11063 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11064 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11065
a2a25d24
SM
110662011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11067
11068 Add an :exit-function for completion-at-point.
11069
11070 * minibuffer.el (completion--done): New fun.
11071 (completion--do-completion): Use it. New arg `expect-exact'.
11072 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11073 since completion--do-completion does it for us now.
11074 (minibuffer-force-complete): Use completion--done and
11075 completion--replace. Handle sole-completion case with more care.
11076 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11077 (completion-extra-properties): New var.
11078 (completion-annotate-function): Make obsolete.
11079 (minibuffer-completion-help): Adjust accordingly.
11080 Use completion-list-insert-choice-function.
11081 (completion-at-point, completion-help-at-point):
11082 Bind completion-extra-properties.
11083 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11084 * simple.el (completion-list-insert-choice-function): New var.
11085 (completion-setup-function): Preserve it.
11086 (choose-completion): Pay attention to it, shuffle the code a bit.
11087 (choose-completion-string): New arg `insert-function'.
11088
11089 * textmodes/bibtex.el: Convert to lexical binding.
11090 (bibtex-mode-map): Use completion-at-point.
11091 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11092 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11093 (bibtex-complete): Define as obsolete alias.
11094 (bibtex-complete-internal): Remove.
11095 (bibtex-format-entry): Remove unused sub-group in regexp.
11096 * shell.el (shell--command-completion-data)
11097 (shell-environment-variable-completion):
11098 * pcomplete.el (pcomplete-completions-at-point):
11099 * comint.el (comint--complete-file-name-data): Use :exit-function
11100 instead of completion-table-with-terminator so it also works for
11101 choose-completion.
11102
e44e373d
SM
111032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11104
4f91a816
SM
11105 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11106
782fc819
SM
11107 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11108 (bug#8710).
11109
e44e373d
SM
11110 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11111
381987c3
KM
111122011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11113
11114 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11115 customization variable and implement: If non-nil, auto-fill will
11116 be inhibited while on topic's header line.
11117
b776bc70
VB
111182011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11119
11120 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11121 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11122 always have a solution in grid size = 5 cases.
11123 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11124 (5x5-solver-output, 5x5-log-buffer): New vars.
11125 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11126 Make these variables buffer local to achieve 5x5 multi-session-ness.
11127 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11128 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11129 (5x5-solve-suggest): New funs.
11130 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11131 randomize a grid so that we ensure that there is always a solution.
11132 (5x5-make-random-grid): Allow other movement than flipping.
11133
7de88b6e
KR
111342011-05-23 Kevin Ryde <user42@zip.com.au>
11135
11136 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11137 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11138 advice and passes PREDICATE.
11139
b1ef1257
SM
111402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11141
bbca48fe
SM
11142 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11143 byte-compile-lambda if it's actually a lambda.
11144
b1ef1257
SM
11145 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11146 Fix function quoting. Use backquote better.
11147
92a9cc65
YS
111482011-05-22 Yuanle Song <sylecn@gmail.com>
11149
11150 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11151 matching (Bug#8516).
11152
f0fb8059
JA
111532011-01-22 Jari Aalto <jari.aalto@cante.net>
11154
11155 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11156 different face (Bug#8178).
11157
d5b44c93
CY
111582011-05-22 Chong Yidong <cyd@stupidchicken.com>
11159
11160 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11161 defface (Bug#8144).
11162
79106a44
SM
111632011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11164
9c848d8a
SM
11165 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11166 funcall as well (bug#8712). Warn when performing those conversions.
11167 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11168
79106a44
SM
11169 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11170
88dfa756
GM
111712011-05-22 Glenn Morris <rgm@gnu.org>
11172
11173 * files.el (hack-local-variables-prop-line): Small simplifications.
11174 (hack-local-variables, hack-local-variables-prop-line):
11175 If MODE-ONLY, return the mode, rather than just `t'.
11176
b7cf2c79
SM
111772011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11180
3f1a8558
GM
111812011-05-21 Glenn Morris <rgm@gnu.org>
11182
7e4ccca3
GM
11183 * files.el (hack-local-variables-prop-line, hack-local-variables):
11184 If only interested in the mode, don't bother doing the other stuff.
11185
637d46ca
GM
11186 * image-mode.el (image-after-revert-hook):
11187 Redraw all frames on which the image is visible. (Bug#8567)
11188
973d955b
GM
11189 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11190
3f1a8558
GM
11191 * wid-edit.el (widget-checklist-match-inline):
11192 Fix 2011-04-19 change. (Bug#8649)
11193
96479927
SM
111942011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11195
1dcf791f
SM
11196 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11197 Also allow singlespace after single-letter capitals followed by a dot.
11198
96479927
SM
11199 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11200 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11201
35fd0881
N
112022011-05-20 Nix <nix@esperi.org.uk>
11203
11204 * files.el (basic-save-buffer-2):
11205 Fix handling of break-hardlink-on-save with non-existent files.
11206
82745640
DD
112072011-05-19 Deniz Dogan <deniz@dogan.se>
11208
11209 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11210 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11211
4a720484
GM
112122011-05-19 Glenn Morris <rgm@gnu.org>
11213
d1f21341
GM
11214 * progmodes/f90.el (f90-type-def-re):
11215 Handle "type, bind(c)". (Bug#8691)
11216
4a720484
GM
11217 * emacs-lisp/autoload.el (batch-update-autoloads):
11218 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11219
2fb0a219
MA
112202011-05-18 Michael Albinus <michael.albinus@gmx.de>
11221
11222 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11223 property for the correct connection in case of multihops.
11224
e565dd37
GM
112252011-05-18 Glenn Morris <rgm@gnu.org>
11226
c2571358 11227 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11228 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11229
e565dd37
GM
11230 Rationalize calendar handling of day and month abbrev-arrays.
11231 * calendar/calendar.el (calendar-customized-p): New function.
11232 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11233 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11234 Add :set function.
11235 (calendar-abbrev-length, calendar-day-abbrev-array)
11236 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11237 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11238 Elements may no longer be nil.
11239 (calendar-day-name, calendar-month-name):
11240 Update for changed nature of abbrev arrays.
11241 * calendar/diary-lib.el (diary-name-pattern):
11242 Update for changed nature of abbrev arrays.
11243 (diary-mark-entries-1): Update calendar-make-alist calls.
11244 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11245 * calendar/cal-html.el (cal-html-day-abbrev-array):
11246 Simply inherit from calendar-day-abbrev-array.
11247
1d99a745
SM
112482011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * progmodes/grep.el (grep-mode): Disable default
11251 compilation-directory-matcher setting (bug#8684).
11252
7c1d9aa0
MA
112532011-05-17 Michael Albinus <michael.albinus@gmx.de>
11254
11255 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11256 instead of "head" and "tail". There were problems with SunOS 5.9,
11257 and it performs better.
11258
3952e9d8
GM
112592011-05-17 Glenn Morris <rgm@gnu.org>
11260
2dd12e7f
GM
11261 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11262
e4157b9c
GM
11263 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11264 Replace obsolete function.
11265
8e249bbd
GM
11266 * shell.el (pcomplete-parse-arguments-function): Declare.
11267
3952e9d8
GM
11268 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11269 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11270 (appt-check): Doc fixes.
11271 (appt-disp-window-function, appt-delete-window-function):
11272 Remove needless special case in custom :type.
11273 (appt-display-count): Default to 0, not nil.
11274 (appt-check): Reset appt-display-count to 0, not nil.
11275
c71a0d48 112762011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11277
c71a0d48
GM
11278 * progmodes/python.el (python-font-lock-keywords):
11279 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11280
31d55be9
SM
112812011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11284
3bfacb2f
KR
112852011-05-16 Kevin Ryde <user42@zip.com.au>
11286
11287 * info-look.el (makefile-automake-mode): New setups, looking in
11288 automake manual, then makefile-mode.
11289 (makefile-mode): Remove automake manual, have it just in
11290 makefile-automake-mode since there's various things different or
11291 not relevant to plain make.
11292 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11293 believe a hypothetical automake-mode would go to makefile-mode,
11294 not the other way around.
11295
c8e83751
CY
112962011-05-15 Chong Yidong <cyd@stupidchicken.com>
11297
5e9e35cd
CY
11298 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11299 hunk-end tags (Bug#8672).
11300
c8e83751
CY
11301 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11302 vc-annotate-show-diff-revision-at-line (Bug#8671).
11303
50b23e5a
GM
113042011-05-14 Glenn Morris <rgm@gnu.org>
11305
7210a739
GM
11306 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11307 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11308 (change-log-font-lock-keywords): Also handle multiple author lines
11309 with leading tabs. (Bug#8644)
7210a739 11310
4691905a
GM
11311 * calendar/appt.el (appt-check): Rename some local variables.
11312 Some simplification/reordering.
11313
50b23e5a
GM
11314 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11315 (feedmail-sendmail-f-doesnt-sell-me-out)
11316 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11317 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11318 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11319 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11320 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11321 (feedmail-binmail-gnulinuxish-template):
11322 Rename from feedmail-binmail-linuxish-template.
11323 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11324 Use insert-buffer-substring.
11325
215cda7c
BC
113262011-05-14 Bill Carpenter <bill@carpenter.org>
11327
11328 * mail/feedmail.el (feedmail-patch-level): Increase.
11329 (feedmail-debug): New custom group.
11330 (feedmail-confirm-outgoing-timeout)
11331 (feedmail-sendmail-f-doesnt-sell-me-out)
11332 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11333 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11334 (feedmail-sender-line, feedmail-from-line)
11335 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11336 (feedmail-spray-this-address)
215cda7c
BC
11337 (feedmail-spray-address-fiddle-plex-list)
11338 (feedmail-queue-use-send-time-for-date)
11339 (feedmail-queue-use-send-time-for-message-id)
11340 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11341 (feedmail-buffer-eating-function):
11342 Doc fixes.
11343 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11344 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11345 (feedmail-message-action-scroll-down): New functions.
11346 (feedmail-queue-directory, feedmail-queue-draft-directory):
11347 Use expand-file-name.
11348 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11349 Remove C-v help entry.
11350 (feedmail-queue-buffer-file-name): New variable.
11351 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11352 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11353 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11354 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11355 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11356 (feedmail-message-action-toggle-spray)
11357 (feedmail-run-the-queue-no-prompts)
11358 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11359 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11360 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11361 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11362 (feedmail-envelope-deducer, feedmail-fiddle-from)
11363 (feedmail-fiddle-sender, feedmail-default-date-generator)
11364 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11365 (feedmail-fiddle-spray-address)
11366 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11367 (feedmail-fiddle-list-of-fiddle-plexes)
11368 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11369 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11370 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11371 Change default. Doc fix.
11372 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11373 (feedmail-binmail-linuxish-template): New constant.
11374 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11375 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11376 (feedmail-send-it): Add debug call.
11377 Use feedmail-queue-buffer-file-name, and
11378 feedmail-send-it-immediately-wrapper.
11379 (feedmail-message-action-send): Add debug call.
11380 Use feedmail-send-it-immediately-wrapper.
11381 (feedmail-queue-express-to-queue): Add debug call.
11382 Run feedmail-queue-express-hook.
11383 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11384 (feedmail-message-action-help-blat):
11385 Rename from feedmail-queue-send-edit-prompt-help-first.
11386 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11387 Check line-endings. Handle errors better.
11388 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11389 Doc fix. Add debug call.
11390 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11391 Use feedmail-queue-send-edit-prompt-inner.
11392 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11393 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11394 from feedmail-queue-send-edit-prompt.
11395 (feedmail-queue-send-edit-prompt-help)
11396 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11397 (feedmail-tidy-up-slug): Add debug call.
11398 Respect feedmail-queue-slug-suspect-regexp.
11399 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11400 (feedmail-dump-message-to-queue): Add debug call.
11401 Expand queue-directory.
11402 (feedmail-dump-message-to-queue): Change message slightly.
11403 Use feedmail-say-chatter.
11404 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11405 (feedmail-send-it-immediately-wrapper): New function.
11406 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11407 Insert empty string rather than newline. Handle full-frame case.
11408 Use catch/throw. Use feedmail-say-chatter.
11409 (feedmail-fiddle-from): Try mail-host-address.
11410 (feedmail-default-message-id-generator): Doc fix.
11411 Bind system-time-locale. Handle missing end.
11412 (feedmail-fiddle-x-mailer): Add debug call.
11413 Handle feedmail-x-mailer-line being nil.
11414 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11415 Add debug call. Use buffer-substring-no-properties.
11416 (feedmail-say-debug, feedmail-say-chatter): New functions.
11417 (feedmail-find-eoh): Give an explicit error.
11418
42c7e61e
UJ
114192011-05-13 Ulf Jasper <ulf.jasper@web.de>
11420
c2571358 11421 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11422 family from helvetica to sans.
c2571358 11423 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11424 etc/images/newsticker.
11425
c2571358 11426 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11427 family from helvetica to sans.
11428
11429 * net/newst-plainview.el (newsticker-new-item-face)
11430 (newsticker-old-item-face, newsticker-immortal-item-face)
11431 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11432 (newsticker-statistics-face): Change default family from
42c7e61e 11433 helvetica to sans.
c2571358 11434 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11435 etc/images/newsticker.
11436
5d3385a0
JB
11437 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11438 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11439 auto-marking.
11440
8497a297
DV
114412011-05-13 Didier Verna <didier@xemacs.org>
11442
11443 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11444 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11445 TODO entries.
8497a297
DV
11446 (lisp-lambda-list-keyword-parameter-indentation)
11447 (lisp-lambda-list-keyword-parameter-alignment)
11448 (lisp-lambda-list-keyword-alignment): New customizable user options.
11449 (lisp-indent-defun-method): Improve docstring.
11450 (extended-loop-p): Fix comment.
11451 (lisp-indent-lambda-list-keywords-regexp): New variable.
11452 (lisp-indent-lambda-list): New function.
11453 (lisp-indent-259): Use it.
11454 (lisp-indent-defmethod): Support for more than one
11455 method qualifier and properly indent methods lambda-lists.
11456 (defgeneric): Provide a missing common-lisp-indent-function property.
11457
f278f87f
SM
114582011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11461 bounds for the empty string (bug#8667).
11462
5233edd7
GM
114632011-05-13 Glenn Morris <rgm@gnu.org>
11464
5237a44f
GM
11465 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11466
8340026c 11467 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11468 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11469
5233edd7 11470 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11471 (appt-time-msg-list): Doc fix.
a5464014 11472 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11473
92d10796
AS
114742011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11475
11476 * progmodes/ld-script.el (ld-script-keywords)
11477 (ld-script-builtins): Update keywords list.
11478
914a0ae1
SM
114792011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11480
c89be45f
SM
11481 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11482
914a0ae1
SM
11483 * shell.el (shell-completion-vars): New function.
11484 (shell-mode):
11485 * simple.el (read-shell-command): Use it.
11486 (blink-matching-open): No need for " [...]" in minibuffer-message.
11487
98dc3df3
GM
114882011-05-12 Glenn Morris <rgm@gnu.org>
11489
11490 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11491 (appt-check): Simplify.
11492
d2fc7e3d 114932011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11494
4d61f28d 11495 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11496 literal "/dev/null".
11497
d2fc7e3d 114982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11499
11500 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11501 Fix typo.
11502
d2fc7e3d 115032011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11504
3f254caa
SM
11505 * progmodes/which-func.el (which-function):
11506 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11507 which might not be defined (Bug#8260).
11508
d45885f7
GM
115092011-05-12 Glenn Morris <rgm@gnu.org>
11510
11511 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11512 Let byte-compile-initial-macro-environment always take precedence.
11513
488086f4
SM
115142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * net/rcirc.el: Add support for SSL/TLS connections.
11517 (rcirc-server-alist): New field `encryption'.
11518 (rcirc): Check `encryption' settings.
11519 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11520 Merge make-local-variable into `set'.
11521 (rcirc--connection-open-p): New function.
11522 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11523 the process is not a network process (e.g. running gnutls-cli).
11524 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11525 Make rcirc-(en|de)code-coding-system local here.
11526 (rcirc-mode): Merge make-local-variable into `set'.
11527 (rcirc-parent-buffer): Make permanent buffer-local.
11528 (rcirc-multiline-minor-mode): Don't do it here.
11529 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11530 there's no server buffer.
11531
7d3b9d44
GM
115322011-05-11 Glenn Morris <rgm@gnu.org>
11533
f64049c6
GM
11534 * newcomment.el (comment-kill): Prefix "unused" local.
11535
93c9df73
GM
11536 * term/w32console.el (get-screen-color): Declare.
11537
7d3b9d44
GM
11538 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11539 Handle symbol elements of byte-compile-initial-macro-environment.
11540
9e2dd53f
LL
115412011-05-10 Leo Liu <sdl.web@gmail.com>
11542
488086f4
SM
11543 * bookmark.el (bookmark-bmenu-mode-map):
11544 Bind bookmark-bmenu-search to `/'.
8b340240 11545
9e2dd53f 11546 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11547 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11548 (Footnote-unicode): New function.
11549 (footnote-style-alist): Add unicode style to the list.
11550 (footnote-style): Doc fix.
9e2dd53f 11551
79b70037
GM
115522011-05-10 Jim Meyering <meyering@redhat.com>
11553
11554 Fix doubled-word typos.
11555 * international/quail.el (quail-insert-kbd-layout): and and -> and
11556 * kermit.el: and and -> and
11557 * net/ldap.el (ldap-search-internal): to to -> to
11558 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11559 * progmodes/js.el (js-mode): and and -> and
11560 * textmodes/artist.el (artist-move-to-xy): at at -> at
11561 (artist-draw-region-trim-line-endings): if if -> if
11562 And Safetyc -> Safety.
11563 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11564
b8f82dc1 115652011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11566 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11567
11568 * files.el (hack-one-local-variable-eval-safep):
11569 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11570
4f99f44b
GM
115712011-05-10 Glenn Morris <rgm@gnu.org>
11572
11573 * calendar/diary-lib.el (diary-list-entries-hook)
11574 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11575 (diary-nongregorian-marking-hook, diary-list-entries)
11576 (diary-include-other-diary-files, diary-mark-entries)
11577 (diary-mark-included-diary-files): Doc fixes.
11578
84f29e6b
JB
115792011-05-09 Juanma Barranquero <lekktu@gmail.com>
11580
11581 * misc.el: Require tabulated-list.el during compilation.
11582
9bedd73a
CY
115832011-05-09 Chong Yidong <cyd@stupidchicken.com>
11584
488086f4
SM
11585 * progmodes/compile.el (compilation-start):
11586 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11587 (compilation-filter-hook): Doc fix.
11588
797c735c
DD
115892011-05-09 Deniz Dogan <deniz@dogan.se>
11590
11591 * wdired.el: Remove outdated installation comment. Fix usage
11592 comment.
11593
5f4b1dfe
JB
115942011-05-09 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * misc.el: Implement new command `list-dynamic-libraries'.
11597 (list-dynamic-libraries--loaded-only-p): New variable.
11598 (list-dynamic-libraries--refresh): New function.
11599 (list-dynamic-libraries): New command.
11600
4c44026c
CY
116012011-05-09 Chong Yidong <cyd@stupidchicken.com>
11602
488086f4
SM
11603 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11604 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11605 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11606 higher priority to avoid clobbering by gnu.
11607
027f966d
CY
116082011-05-08 Chong Yidong <cyd@stupidchicken.com>
11609
11610 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11611 if the face has existing theme settings (Bug#8454).
11612
085f5d7d
CY
116132011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11614
488086f4
SM
11615 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11616 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11617
2a86a00c
RS
11618 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11619 special file names `.' and `..' (Bug#8259).
11620
d9c54a06
CY
116212011-05-08 Chong Yidong <cyd@stupidchicken.com>
11622
488086f4
SM
11623 * progmodes/grep.el (grep-mode-font-lock-keywords):
11624 Remove buffer-changing entries.
d9c54a06
CY
11625 (grep-filter): New function.
11626 (grep-mode): Add it to compilation-filter-hook.
11627
11628 * progmodes/compile.el (compilation-filter-hook)
11629 (compilation-filter-start): New defvars.
11630 (compilation-filter): Call compilation-filter-hook prior to
11631 updating the process mark.
11632
c4662635
SM
116332011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11636
b0512a1d
EZ
116372011-05-07 Eli Zaretskii <eliz@gnu.org>
11638
605c9376
EZ
11639 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11640 mailclient-send-it even if window-system is nil. (Bug#8595)
11641
c4662635
SM
11642 * term/w32console.el (terminal-init-w32console):
11643 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11644 background-mode. (Bug#8597)
11645
d1dc2cc2
SM
116462011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11649 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11650 New functions.
11651 (defgeneric, eieio--defmethod): Use them.
11652 (eieio-defgeneric): Remove.
11653 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11654
915d1300
GM
116552011-05-07 Glenn Morris <rgm@gnu.org>
11656
a3961c3e
GM
11657 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11658 Use let rather than let*.
11659 (timeclock-find-discrep): Remove unused local.
11660
314347b9
GM
11661 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11662
915d1300
GM
11663 * calendar/appt.el (appt-time-msg-list): Doc fix.
11664
275b59b0
NF
116652011-05-06 Noah Friedman <friedman@splode.com>
11666
11667 * apropos.el (apropos-print-doc): Only use
11668 emacs-lisp-docstring-fill-column when it is bound to an integer,
11669 per that variable's documentation.
11670
6c19f744
SM
116712011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11674 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11675
60f884b2
GM
116762011-05-06 Glenn Morris <rgm@gnu.org>
11677
5006e634
GM
11678 * calendar/appt.el (appt-message-warning-time): Doc fix.
11679 (appt-warning-time-regexp): New option.
11680 (appt-make-list): Respect appt-message-warning-time.
11681
548d0a63
GM
11682 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11683 New options.
11684 (diary-add-to-list): Strip comments from the displayed string.
11685 (diary-mode): Set comment-start and comment-end.
11686
60f884b2
GM
11687 * vc/diff-mode.el (smerge-refine-subst): Declare.
11688 (diff-refine-hunk): Don't require smerge-mode when compiling.
11689
989681bb
JB
116902011-05-06 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * simple.el (list-processes): Return nil as the docstring says.
11693
a6bc05e1
MA
116942011-05-05 Michael Albinus <michael.albinus@gmx.de>
11695
11696 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11697 to "".
11698 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11699 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11700 determining of binary transfer. (Bug#7383)
11701
23c22e9a
MA
117022011-05-05 Michael Albinus <michael.albinus@gmx.de>
11703
c4662635
SM
11704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11705 Fix port computation bug. (Bug#8618)
23c22e9a 11706
0bff894f
GM
117072011-05-05 Glenn Morris <rgm@gnu.org>
11708
b8296902
GM
11709 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11710
1f522ce8
GM
11711 * simple.el (shell-dynamic-complete-functions)
11712 (comint-dynamic-complete-functions): Declare.
11713
cf5bee67
GM
11714 * net/network-stream.el (gnutls-negotiate):
11715 * simple.el (tabulated-list-print): Fix declarations.
11716
11717 * progmodes/gud.el (syntax-symbol, syntax-point):
11718 Remove unnecessary and incorrect declarations.
11719
0bff894f
GM
11720 * emacs-lisp/check-declare.el (check-declare-scan):
11721 Handle byte-compile-initial-macro-environment in bytecomp.el
11722
9869b3ae
SM
117232011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 Fix earlier half-done eieio-defmethod change (bug#8338).
11726 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11727 Streamline and change calling convention.
11728 (defmethod): Adjust accordingly and simplify.
11729 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11730 new eieio--defmethod.
11731 (slot-boundp): Minor CSE simplification.
11732
9c1d5ac5
MZ
117332011-05-05 Milan Zamazal <pdm@zamazal.org>
11734
11735 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11736 (glasses-make-readable): Use glasses-separate-capital-groups.
11737
455c834e
JB
117382011-05-05 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11741 (warning-series): Doc fix.
11742 (display-warning): Don't try to create the buffer if we just found it.
11743
9ed7c8cb
CY
117442011-05-04 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11747 (autoload-find-generated-file): New function.
11748 (generate-file-autoloads): Bind generated-autoload-file to
11749 buffer-file-name.
9869b3ae
SM
11750 (update-file-autoloads, update-directory-autoloads):
11751 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11752 output file (Bug#7989).
11753 (batch-update-autoloads): Doc fix.
11754
0898ca10
JB
117552011-05-04 Juanma Barranquero <lekktu@gmail.com>
11756
11757 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11758
31dfb76c
GM
117592011-05-04 Glenn Morris <rgm@gnu.org>
11760
f330b642
GM
11761 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11762 function, so it follows changes in calendar-date-style.
11763 (diary-fancy-date-matcher): New function.
11764 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11765 (diary-fancy-font-lock-fontify-region-function):
11766 Use diary-fancy-date-pattern as a function.
11767
31dfb76c
GM
11768 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11769 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11770
48e79d6a
TZ
117712011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11772
11773 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11774 instead of positional arguments. Allow :keylist and :crlfiles
11775 arguments.
11776 (open-gnutls-stream): Call it.
11777
11778 * net/network-stream.el (network-stream-open-starttls): Adjust to
11779 call `gnutls-negotiate' with :process and :hostname arguments.
11780
dd5a5ee0
SM
117812011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11782
ef80fc09
SM
11783 * minibuffer.el (completion--message): New function.
11784 (completion--do-completion, minibuffer-complete)
11785 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11786 (completion--do-completion): Don't ignore completion-auto-help when in
11787 icomplete-mode.
11788
dd5a5ee0
SM
11789 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11790 internal encoding (e.g. tibetan zero is not whitespace).
11791 (global-whitespace-mode): Prefer save-current-buffer.
11792 (whitespace-trailing-regexp): Remove useless save-match-data.
11793 (whitespace-empty-at-bob-regexp): Minor simplification.
11794
b7d22a83
CY
117952011-05-03 Chong Yidong <cyd@stupidchicken.com>
11796
11797 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11798
5192af46
AM
117992011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11800
11801 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11802 Use `concat' to create string for insertion.
5192af46 11803
5767d190
SM
118042011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11807 Avoid open-line which runs post-self-insert-hook.
11808 (bibtex-fill-entry): Remove unused `end' var.
11809
bf242939
AM
118102011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11811
5767d190
SM
11812 * textmodes/ispell.el (ispell-add-per-file-word-list):
11813 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11814
25666126
LL
118152011-05-03 Leo Liu <sdl.web@gmail.com>
11816
11817 * isearch.el (isearch-yank-pop): New command.
5767d190 11818 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11819 (isearch-forward): Mention it.
11820
52d3c2d0
SM
118212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11822
1bcace58
SM
11823 * simple.el (minibuffer-complete-shell-command): Remove.
11824 (minibuffer-local-shell-command-map): Use completion-at-point.
11825 (read-shell-command): Setup completion vars here instead.
11826 (read-expression-map): Bind TAB to symbol completion.
11827
52d3c2d0
SM
11828 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11829 error directly rather via storing it into `results'.
11830
35813471
LL
118312011-05-02 Leo Liu <sdl.web@gmail.com>
11832
11833 * vc/diff.el: Fix description.
11834
e793a940
LMI
118352011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11836
11837 * server.el (server-eval-at): New function.
11838
8de66e05
LMI
118392011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840
11841 * net/network-stream.el (open-network-stream): Take a :nowait
11842 parameter and pass it on to `make-network-process'.
11843 (network-stream-open-plain): Ditto.
11844
dcb79f20
AS
118452011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11846
11847 * faces.el (face-spec-set-match-display): Don't match toolkit
11848 options on terminal frames.
11849
14a7fbd8
SM
118502011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11851
7eabc1be
SM
11852 * progmodes/pascal.el: Use lexical binding.
11853 (pascal-mode-map): Remove author preferences.
11854
14a7fbd8
SM
11855 * pcomplete.el (pcomplete-std-complete): Don't abuse
11856 completion-at-point.
11857
50f84510
JB
118582011-04-28 Juanma Barranquero <lekktu@gmail.com>
11859
6e087a44
JB
11860 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11861 removing code that has been dead since 1991 or so.
11862
50f84510
JB
11863 * startup.el (command-line): When warning about "_emacs", use a
11864 delayed warning to allow the user to filter it out.
11865
0ba690bd
DD
118662011-04-28 Deniz Dogan <deniz@dogan.se>
11867
11868 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11869 user has not joined.
11870
08abfaad
SM
118712011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11872
11873 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11874 aren't any completions at point.
11875
638f053a
JB
118762011-04-28 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * subr.el (display-delayed-warnings): New function.
11879 (delayed-warnings-hook): New variable.
11880
8fff8daa
SM
118812011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11882
08abfaad
SM
11883 * minibuffer.el (completion-at-point, completion-help-at-point):
11884 Don't presume that a given completion-at-point-function will always
11885 use the same calling convention.
11886
8fff8daa
SM
11887 * pcomplete.el (pcomplete-completions-at-point):
11888 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11889 pcomplete-seen is non-nil.
11890 (pcomplete-comint-setup): Also recognize the new comint/shell
11891 completion functions.
11892 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11893 pcomplete-seen is non-nil.
11894
841a1577 118952011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11896
841a1577 11897 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11898 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11899 the first character in the entry. This allows for code to add its
211ec907
UJ
11900 own uid to the entry.
11901 (icalendar--convert-float-to-ical): Add export of
11902 `diary-float'-entries save for those with the optional DAY
11903 argument.
11904
2a782793
DC
119052011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11906
11907 * subr.el (shell-quote-argument): Use alternate escaping strategy
11908 when we spot a variable reference in a string.
11909
0438ce91
DC
119102011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11911
11912 * cus-start.el (all): Define customization for debug-on-event.
11913
841a1577 119142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11915
11916 * subr.el (shell-quote-argument): Escape correctly under Windows.
11917
d090ed6c
SM
119182011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11921
bfd31217
MA
119222011-04-25 Michael Albinus <michael.albinus@gmx.de>
11923
d090ed6c
SM
11924 * net/tramp.el (tramp-process-actions): Add POS argument.
11925 Delete region between POS and (pos).
bfd31217 11926
d090ed6c
SM
11927 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11928 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11929 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11930
11931 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11932 position in `tramp-process-actions' call.
11933
11934 * net/trampver.el: Update release number.
11935
e92f3bd3
SM
119362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11937
850256b5
SM
11938 * custom.el (defcustom): Obey lexical-binding.
11939
e92f3bd3
SM
11940 Fix octave-inf completion problems reported by Alexander Klimov.
11941 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11942 Inherit from octave-mode-syntax-table.
11943 (inferior-octave-mode): Set info-lookup-mode.
11944 (inferior-octave-completion-at-point): New function.
11945 (inferior-octave-complete): Use it and completion-in-region.
11946 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11947 comint-filename-completion.
11948 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11949 symbol elements which shouldn't be word elements.
11950 (octave-font-lock-keywords, octave-beginning-of-defun)
11951 (octave-function-header-regexp): Adjust regexps accordingly.
11952 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11953
cd22b309
JB
119542011-04-25 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * net/gnutls.el (gnutls-errorp): Declare before first use.
11957
8b492194
TZ
119582011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11959
11960 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11961 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11962 default trustfile exists before going to use it. Add missing
5a5fa834 11963 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11964 Reported by Claudio Bley <claudio.bley@gmail.com>.
11965 (open-gnutls-stream): Add usage example.
11966
11967 * net/network-stream.el (network-stream-open-starttls): Give host
11968 parameter to `gnutls-negotiate'.
11969 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11970 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11971
841a1577 119722011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11973
cd22b309
JB
11974 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11975 Use correct match group (bug#8438).
05842630 11976
3ba7869c
CY
119772011-04-24 Chong Yidong <cyd@stupidchicken.com>
11978
512e3ae1
CY
11979 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11980 (package-menu--generate): New arg specifying packages to show.
11981 (package-menu-refresh, package-menu-execute, list-packages):
11982 Callers changed.
11983 (package-show-package-list): New function, replacing deleted
11984 package--list-packages (renamed because it is non-internal).
11985
11986 * finder.el (finder-list-matches): Use package-show-package-list
11987 instead of deleted package--list-packages.
11988
e92f3bd3
SM
11989 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11990 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11991 (vc-annotate-mode-map): Bind it to RET.
11992
7031be6d
UR
119932011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11994
11995 * progmodes/etags.el (next-file): Don't use set-buffer to change
11996 buffers (Bug#8478).
11997
4ef177aa
CY
119982011-04-24 Chong Yidong <cyd@stupidchicken.com>
11999
c8d173eb
CY
12000 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12001
4ef177aa
CY
12002 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12003 (apropos-accumulator): Doc fix.
12004 (apropos-function, apropos-macro, apropos-command)
12005 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12006 (apropos-plist): Add face property.
12007 (apropos-symbols-internal): Fix indentation.
12008 (apropos-print): Simplify help, and recognize apropos-multi-type.
12009 (apropos-print-doc): Use button-type-get to extract the button's
12010 face property. Fill docstring (Bug#8352).
12011
4ffd0d6b 120122011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12013
12014 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12015
c6c32125 12016 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12017 (mpuz-mode-map): Use mapc.
c6c32125
JB
12018 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12019 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12020 Fix typos in docstrings.
12021
58d468b4
JB
12022 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12023 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12024
6470c3c6
JB
12025 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12026
4ffd0d6b 120272011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12028
12029 * minibuffer.el (completion--do-completion): Avoid the "Next char
12030 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12031
3ad8bad0
CY
12032 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12033 mouse-2 into unread-command-events, it is interpreted correctly.
12034
71d73c9c 12035 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12036 (image-toggle-display): Doc fix.
71d73c9c 12037
841a1577 120382011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12039
4ffd0d6b
GM
12040 * textmodes/page.el (what-page): Use line-number-at-pos to
12041 calculate line number (Bug#6825).
6e1dbaa9 12042
c2fb1b60
JB
120432011-04-22 Juanma Barranquero <lekktu@gmail.com>
12044
12045 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12046 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12047 Pass argument NO-DEFAULT to `find-tag-interactive'.
12048
e02f48d7
JB
120492011-04-22 Juanma Barranquero <lekktu@gmail.com>
12050
12051 Lexical-binding cleanup.
12052
12053 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12054 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12055 * progmodes/ada-prj.el (ada-prj-initialize-values)
12056 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12057 (ada-prj-show-value):
12058 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12059 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12060 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12061 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12062 * progmodes/bug-reference.el (bug-reference-push-button):
12063 * progmodes/fortran.el (fortran-line-length):
12064 * progmodes/glasses.el (glasses-change):
12065 * progmodes/octave-mod.el (octave-fill-paragraph):
12066 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12067 (python-pdbtrack-grub-for-buffer, python-sentinel):
12068 * progmodes/sql.el (sql-save-connection):
12069 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12070 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12071 Mark unused parameters.
12072
12073 * progmodes/compile.el (compilation--flush-directory-cache)
12074 (compilation--flush-parse, compile-internal): Mark unused parameters.
12075 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12076 (compilation-next-error-function): Remove unused variable `timestamp'.
12077
12078 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12079 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12080
12081 * progmodes/dcl-mode.el (dcl-end-of-command):
12082 Remove unused variable `start'.
12083 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12084 (dcl-option-value-basic, dcl-option-value-offset)
12085 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12086 Mark unused parameters.
12087 (dcl-save-local-variable): Remove unused variable `val'.
12088 (mode): Declare.
12089
12090 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12091 Mark unused parameters.
12092 (delphi-ignore-changes): Move before first use.
12093 (delphi-charset-token-at): Remove unused variable `start'.
12094 (delphi-else-start): Remove unused variable `if-count'.
12095 (delphi-comment-block-start, delphi-comment-block-end):
12096 Remove unused variable `kind'.
12097 (delphi-indent-line): Remove unused variable `new-point'.
12098
12099 * progmodes/ebrowse.el (ebrowse-files-list)
12100 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12101 Mark unused parameters. Don't quote `lambda'.
12102 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12103 Don't quote `lambda'.
12104 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12105 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12106 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12107 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12108 Use `ignore-errors'.
12109 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12110 (ebrowse-view/find-file-and-search-pattern)
12111 (ebrowse-view/find-member-declaration/definition):
12112 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12113 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12114 Rename parameter PREFIX-ARG to PREFIX.
12115 (ebrowse-tags-read-name): Remove unused variables `start' and
12116 `member-info'.
12117 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12118 to `tags-file'.
12119
12120 * progmodes/etags.el (local-find-tag-hook): Declare.
12121 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12122 Mark unused parameters.
12123
12124 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12125 (executable-interpret): Mark unused parameter.
12126
12127 * progmodes/flymake.el (flymake-process-sentinel)
12128 (flymake-after-change-function)
12129 (flymake-create-temp-with-folder-structure)
12130 (flymake-get-include-dirs-dot): Mark unused parameters.
12131 (flymake-safe-delete-directory): Remove unused variable `err'.
12132
12133 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12134 (speedbar-timer-fn, speedbar-line-text)
12135 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12136 (speedbar-center-buffer-smartly): Declare functions.
12137 (gdb-find-watch-expression): Remove unused variable `array'.
12138 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12139 (gdb-starting): Mark unused parameters.
12140 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12141 (gdb-table-string): Remove unused variable `res'.
12142 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12143 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12144 (gdb-display-buffer): Remove unused variable `cur-size'.
12145
12146 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12147 allow lexical-binding compilation.
12148 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12149 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12150 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12151 Mark unused parameters.
12152 (gud-gdb-marker-filter): Remove unused variable `match'.
12153 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12154 lambda expressions and funcall them, instead of using `fset'.
12155
12156 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12157 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12158
12159 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12160 variable `header-beg'; use `let'.
12161
12162 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12163 `restart', `last-sexp' and `at-do'.
12164
12165 * progmodes/js.el (js--debug): Mark unused parameter.
12166 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12167 (js--splice-into-items): Remove unused variable `item'.
12168 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12169
12170 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12171 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12172 (makefile-complete): Remove unused variable `try'.
12173 (makefile-fill-paragraph, makefile-match-function-end):
12174 Mark unused parameters.
12175
12176 * progmodes/octave-inf.el (inferior-octave-complete):
12177 Remove unused variable `proc'.
12178 (inferior-octave-output-digest): Mark unused parameter.
12179
12180 * progmodes/perl-mode.el (perl-calculate-indent):
12181 Remove unused variable `err'.
12182
12183 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12184 (prolog-indent-line): Mark unused parameters.
12185 (prolog-indent-line): Remove unused variable `beg'.
12186
12187 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12188 (reporter-dont-compact-list): Declare.
12189
12190 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12191 Remove unused variable `char'.
12192 (sh-debug): Mark unused parameter.
12193 (sh-get-indent-info): Remove unused variable `start'.
12194 (sh-calculate-indent): Remove unused variable `var'.
12195
12196 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12197 (simula-electric-keyword): Remove unused variable `null'.
12198 (simula-search-backward, simula-search-forward): Remove unused
12199 variables `begin' and `end'.
12200
12201 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12202 Remove unused variable `pos'.
12203 (vera-electric-tab, vera-comment-uncomment-region):
12204 Mark unused parameters.
12205 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12206
7ede3b65
CY
122072011-04-22 Chong Yidong <cyd@stupidchicken.com>
12208
12209 * emacs-lisp/package.el (package--builtins, package-alist)
12210 (package-load-descriptor, package-built-in-p, package-activate)
12211 (define-package, package-installed-p)
12212 (package-compute-transaction, package-buffer-info)
12213 (package--push): Doc fix. Distinguish more clearly between
12214 version strings and version lists.
12215
121656e9
JB
122162011-04-21 Juanma Barranquero <lekktu@gmail.com>
12217
12218 Lexical-binding cleanup.
12219
12220 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12221 (5x5-make-mutate-best):
12222 * play/fortune.el (fortune-in-buffer):
12223 * play/gomoku.el (gomoku-init-display):
12224 * play/solitaire.el (solitaire, solitaire-do-check):
12225 * play/tetris.el (tetris-default-update-speed-function):
12226 Mark unused parameters.
12227
12228 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12229 (bubbles--shift): Remove unused variable `char-org'.
12230 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12231 (bubbles--show-images): Remove unused variable `char'.
12232
12233 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12234 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12235 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12236 (decipher-analyze-buffer): Use ?\s.
12237 (decipher-make-checkpoint): Remove unused variable `mapping'.
12238
12239 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12240
12241 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12242 Remove unused variable `result'; use `let'.
12243
12244 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12245 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12246 (gametree-children-shown-p, gametree-compute-reduced-score):
12247 Use `ignore-errors'.
12248
12249 * play/handwrite.el (ps-lpr-switches): Declare.
12250 (handwrite): Remove unused variables `pmin' and `lastp'.
12251
12252 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12253
12254 * play/landmark.el (landmark-init-display)
12255 (landmark-update-naught-weights): Mark unused parameters.
12256 (landmark-y): Remove unused variable `noise'. Simplify.
12257 (landmark-human-plays): Remove unused variable `score'.
12258
12259 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12260 (mpuz-try-proposal): Remove unused variable `game'.
12261
12262 * play/zone.el (life-patterns): Declare.
12263
80f499c7
JB
122642011-04-20 Juanma Barranquero <lekktu@gmail.com>
12265
12266 * vc/vc.el (ediff-vc-internal): Declare function.
12267
024ff170
SM
122682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12269
c0a193ea
SM
12270 * shell.el: Use lexical-binding and std completion UI.
12271 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12272 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12273 comint-preoutput-filter-functions rather than on
12274 comint-output-filter-functions.
12275 (shell-command-completion, shell--command-completion-data)
12276 (shell-filename-completion, shell-environment-variable-completion)
12277 (shell-c-a-p-replace-by-expanded-directory): New functions.
12278 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12279 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12280 (shell-dynamic-complete-environment-variable): Use them.
12281 (shell-dynamic-complete-as-environment-variable)
12282 (shell-dynamic-complete-as-command): Remove.
12283 (shell-match-partial-variable): Match past point.
12284 * comint.el: Clean up use of completion-at-point-functions.
12285 (comint-completion-at-point): New function.
12286 (comint-mode): Use it completion-at-point-functions.
12287 (comint-dynamic-complete): Make it obsolete.
12288 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12289 (comint-c-a-p-replace-by-expanded-history): New function.
12290 (comint-dynamic-complete-functions)
12291 (comint-replace-by-expanded-history): Use it.
12292 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12293 termination strings. Try harder to avoid second try-completion.
12294 (completion-in-region-mode-map): Disable bindings that don't work yet.
12295
2dbaa080
SM
12296 * comint.el: Use lexical-binding. Require CL.
12297 (comint-dynamic-complete-functions): Use comint-filename-completion.
12298 (comint-completion-addsuffix): Tweak custom type.
12299 (comint-filename-completion, comint--common-suffix)
12300 (comint--common-quoted-suffix, comint--table-subvert)
12301 (comint--complete-file-name-data): New functions.
12302 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12303 (comint-dynamic-list-filename-completions): Use them.
12304 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12305
2dbaa080
SM
12306 * minibuffer.el (completion-in-region-mode):
12307 Keep completion-in-region-mode--predicate global.
12308 (completion-in-region--postch):
12309 Assume completion-in-region-mode--predicate is not null.
12310
c79a6f38
SM
12311 * progmodes/flymake.el (flymake-start-syntax-check-process):
12312 Obey `dir'. Simplify.
12313
024ff170
SM
12314 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12315 we're in VC after all.
12316
1c6c854e
CS
123172011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12318
12319 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12320 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12321 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12322
bed7f140
SM
123232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12324
332e62ab
SM
12325 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12326 add sanity check.
12327
bed7f140
SM
12328 * obsolete/erc-hecomplete.el: Make obsolete.
12329 * obsolete/: Standardize obsolescence info in the header.
12330
f195c582
GM
123312011-04-20 Glenn Morris <rgm@gnu.org>
12332
12333 * calendar/solar.el (solar-horizontal-coordinates):
12334 Use the longitude argument rather than `calendar-longitude'.
12335 (solar-date-next-longitude): Remove unused locals.
12336
cb79b8c0
VJL
123372011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12338
12339 * whitespace.el: New version 13.2.1.
12340
123412011-04-20 felix <EmacsWiki> (tiny change)
12342
d8e4b68b 12343 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12344 switching between major modes on a file.
12345
602ea69d
SM
123462011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12349 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12350 multi-line comments as well.
12351
06b60517
JB
123522011-04-19 Juanma Barranquero <lekktu@gmail.com>
12353
12354 Lexical-binding cleanup.
12355
12356 * arc-mode.el (archive-mode-revert):
12357 * cmuscheme.el (scheme-interactively-start-process):
12358 * custom.el (custom-initialize-delay):
12359 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12360 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12361 * emacs-lock.el (emacs-lock-clear-sentinel):
12362 * ezimage.el (defezimage):
12363 * follow.el (follow-avoid-tail-recenter):
12364 * fringe.el (set-fringe-mode-1):
12365 * generic-x.el (bat-generic-mode-compile):
12366 * help-mode.el (help-info-variable, help-do-xref)
12367 (help-mode-revert-buffer):
12368 * help.el (view-emacs-todo):
12369 * iswitchb.el (iswitchb-completion-help):
12370 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12371 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12372 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12373 * locate.el (locate-update):
12374 * longlines.el (longlines-encode-region)
12375 (longlines-after-change-function):
12376 * outline.el (outline-isearch-open-invisible):
12377 * ps-def.el (declare-function, charset-dimension, char-width)
12378 (encode-char):
12379 * ps-mule.el (ps-mule-plot-string):
12380 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12381 (recentf-edit-list-select, recentf-edit-list-validate)
12382 (recentf-open-files-action):
12383 * rect.el (delete-whitespace-rectangle-line)
12384 (rectangle-number-line-callback):
12385 * register.el (window-configuration-to-register)
12386 (frame-configuration-to-register):
12387 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12388 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12389 (xselect-convert-to-targets, xselect-convert-to-delete)
12390 (xselect-convert-to-filename, xselect-convert-to-charpos)
12391 (xselect-convert-to-lineno, xselect-convert-to-colno)
12392 (xselect-convert-to-os, xselect-convert-to-host)
12393 (xselect-convert-to-user, xselect-convert-to-class)
12394 (xselect-convert-to-name, xselect-convert-to-integer)
12395 (xselect-convert-to-atom, xselect-convert-to-identity):
12396 * subr.el (declare, ignore, process-kill-without-query)
12397 (text-clone-maintain):
12398 * terminal.el (te-get-char, te-tic-sentinel):
12399 * tool-bar.el (tool-bar-make-keymap):
12400 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12401 * type-break.el (type-break-mode, type-break-noninteractive-query):
12402 * view.el (View-back-to-mark):
12403 * wid-browse.el (widget-browse-action, widget-browse-widget)
12404 (widget-browse-widgets, widget-browse-sexp):
12405 * widget.el (define-widget-keywords):
12406 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12407 Mark unused parameters.
12408
12409 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12410 (align-areas): Remove unused variable `look'.
12411 (align-region): Remove unused variables `real-end' and `pos-list'.
12412
12413 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12414
12415 * bindings.el (mode-line-modified, mode-line-remote):
12416 Mark unused parameters.
12417 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12418
12419 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12420 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12421
12422 * comint.el (comint-history-isearch-pop-state)
12423 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12424 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12425 (comint-substitute-in-file-name): Doc fix.
12426
12427 * completion.el (cmpl-statistics-block): Mark unused parameter.
12428 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12429 (save-completions-to-file, load-completions-from-file):
12430 Remove unused local variable `e'.
12431
12432 * composite.el (compose-chars): Remove unused variable `len'.
12433 (lgstring-insert-glyph): Remove unused variable `g'.
12434 (compose-glyph-string): Remove unused variables `ascent',
12435 `descent', `lbearing' and `rbearing'.
12436 (compose-glyph-string-relative): Remove unused variables
12437 `lbearing', `rbearing' and `wadjust'.
12438 (compose-gstring-for-graphic): Remove unused variables `header',
12439 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12440 (compose-gstring-for-terminal): Remove unused variables `header'
12441 and `nchars'. Use `let', not `let*'.
12442
12443 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12444 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12445 (Custom-buffer-done, custom-buffer-create-internal)
12446 (custom-browse-visibility-action, custom-browse-group-tag-action)
12447 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12448 (widget-magic-mouse-down-action, custom-toggle-parent)
12449 (custom-add-parent-links, custom-toggle-hide-variable)
12450 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12451 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12452 (custom-face-menu-create, custom-variable-menu-create, get)
12453 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12454 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12455 (customize-apropos): Remove unused variable `tests'.
12456 (custom-group-value-create): Remove unused variable `hidden-p'.
12457 (sort-fold-case): Declare.
12458
12459 * cus-theme.el (custom-reset-standard-faces-list)
12460 (custom-reset-standard-variables-list): Declare.
12461 (customize-create-theme, custom-theme-revert, custom-theme-write)
12462 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12463 Mark unused parameters.
12464
12465 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12466
12467 * delim-col.el (delimit-columns-max): Move defvar before first use.
12468
12469 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12470 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12471
12472 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12473 (auto-insert): Declare.
12474 (desktop-restore-file-buffer): Rename desktop-* parameters;
12475 mark unused ones.
12476 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12477 (desktop-buffer): Rename desktop-* parameters.
12478
12479 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12480 (dframe-reposition-frame-xemacs, dframe-help-echo)
12481 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12482 Mark unused parameters.
12483
12484 * dired-aux.el (backup-extract-version-start, overwrite-query)
12485 (overwrite-backup-query, rename-regexp-query)
12486 (rename-non-directory-query): Declare.
12487 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12488 (dired-add-entry): Remove unused variable `orig-file-name'.
12489 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12490 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12491 `dired-copy-preserve-time' directly.
12492 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12493 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12494
12495 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12496 (dired-virtual-revert, dired-make-relative-symlink):
12497 Mark unused parameters.
12498 (manual-program): Declare.
12499 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12500 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12501 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12502
12503 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12504
12505 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12506
12507 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12508 Declare.
12509
12510 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12511
12512 * electric.el (Electric-command-loop): Rename parameter
12513 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12514
12515 * expand.el (expand-in-literal): Remove unused variable `here'.
12516
12517 * facemenu.el (facemenu-add-new-color):
12518 Remove unused variable `docstring'.
12519
12520 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12521 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12522 (face-attr-construct): Mark unused parameter. Doc fix.
12523 (read-color): Remove unused variable `hex-string'.
12524
12525 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12526 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12527 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12528 (display-buffer-other-frame): Remove unused variable `old-window'.
12529 (kill-buffer-hook): Declare.
12530 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12531 Mark unused parameters.
12532 (after-find-file): Pass 1 to `auto-save-mode', not t.
12533
12534 * files-x.el (auto-insert): Declare.
12535 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12536
12537 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12538 variable `buf'. Mark unused parameter.
06b60517
JB
12539 (find-lisp-insert-directory): Mark unused parameter.
12540
12541 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12542 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12543 (format-common-tail): Remove, unused.
12544 (format-deannotate-region): Remove unused variable `loc'.
12545 (format-annotate-region): Remove unused variable `p'.
12546 (format-annotate-single-property-change): Remove unused variables
12547 `default' and `tail'.
12548
12549 * forms.el (read-file-filter): Declare.
12550 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12551
12552 * frame.el (frame-creation-function-alist): Mark unused parameter.
12553 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12554
12555 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12556 Remove unused parameters.
12557 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12558 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12559
12560 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12561 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12562 (hfy-prepare-tag-map): Mark unused parameters.
12563 (htmlfontify-buffer): Use `called-interactively-p'.
12564
12565 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12566 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12567 (ibuffer-do-occur): Mark unused parameters.
12568 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12569 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12570
12571 * ibuffer.el: Don't quote `lambda'.
12572 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12573 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12574 Mark unused parameters.
12575
12576 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12577 (ido-completing-read): Mark unused parameters.
12578 (ido-copy-current-word): Mark unused parameters;
12579 remove unused variable `name'.
12580 (ido-sort-merged-list): Remove unused parameter `dirs'.
12581
12582 * ielm.el (ielm-input-sender): Mark unused parameter.
12583 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12584 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12585 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12586 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12587 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12588
12589 * image-dired.el (image-dired-display-thumbs): Remove unused
12590 variables `curr-file' and `count'.
12591 (image-dired-remove-tag): Remove unused variable `start'.
12592 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12593 variable `curr-file'
12594 (image-dired-rotate-original): Remove unused variable `temp-file'.
12595 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12596 Remove unused variable `file'.
12597 (image-dired-gallery-generate): Remove unused variable `curr'.
12598 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12599
12600 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12601
12602 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12603
12604 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12605
12606 * isearch.el (minibuffer-history-symbol): Declare.
12607 (isearch-edit-string): Remove unused variable `err'.
12608 (isearch-message-prefix, isearch-message-suffix):
12609 Mark unused parameters.
12610
12611 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12612
12613 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12614
12615 * makesum.el (double-column): Remove unused variable `cnt'.
12616
12617 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12618 (ido-ignore-item-temp-list): Declare.
12619
12620 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12621 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12622 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12623 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12624 `mouse-col-delta'.
12625
12626 * mouse-sel.el (mouse-extend-internal):
12627 Remove unused variable `orig-window-frame'.
12628
12629 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12630 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12631 Move declarations before first use.
12632 (pcomplete-opt): Mark unused parameters; doc fix.
12633
12634 * proced.el (proced-revert): Mark unused parameter.
12635 (proced-send-signal): Remove unused variable `err'.
12636
12637 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12638 Rename parameter PREFIX-ARG to ARG.
12639 (ps-basic-plot-string, ps-basic-plot-whitespace):
12640 Mark unused parameters.
12641
12642 * replace.el (replace-count): Define.
12643 (occur-revert-function): Mark unused parameters.
12644 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12645 (isearch-case-fold-search, isearch-string): Declare.
12646 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12647 bind `case-fold-search'. Remove unused variables `beg' and `end',
12648 and simplify.
12649 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12650 COUNT and bind `replace-count'.
12651 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12652 to COUNT.
12653
12654 * savehist.el (print-readably, print-string-length): Declare.
12655
12656 * shadowfile.el (shadow-expand-cluster-in-file-name):
12657 Remove unused variable `cluster'.
12658 (shadow-copy-file): Remove unused variable `i'.
12659 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12660 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12661 (shadow-define-literal-group, shadow-define-regexp-group)
12662 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12663
12664 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12665 (shell): Use `called-interactively-p'.
12666 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12667
12668 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12669 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12670 (delete-backward-char): Remove unused variable `ocol'.
12671 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12672 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12673 (event-apply-hyper-modifier, event-apply-shift-modifier)
12674 (event-apply-control-modifier, event-apply-meta-modifier):
12675 Mark unused parameters.
12676 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12677 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12678
12679 * speedbar.el (speedbar-ignored-directory-expressions)
12680 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12681 (speedbar-find-file, speedbar-dir-follow)
12682 (speedbar-directory-buttons-follow, speedbar-tag-find)
12683 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12684 (speedbar-buffers-line-directory, speedbar-buffer-click):
12685 Mark unused parameters.
12686 (speedbar-tag-file): Remove unused variable `mode'.
12687 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12688
12689 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12690
12691 * talk.el (talk): Remove unused variable `display'.
12692
12693 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12694 (tar-write-region-annotate): Mark unused parameter.
12695
12696 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12697 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12698 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12699 warning by another.
12700
12701 * time-stamp.el (time-stamp-string-preprocess):
12702 Remove unused variable `require-padding'.
12703
12704 * tree-widget.el (widget-glyph-enable): Declare.
12705 (tree-widget-action): Mark unused parameter.
12706
12707 * w32-fns.el (x-get-selection): Mark unused parameter.
12708 (autoload-make-program, generated-autoload-file): Declare.
12709
12710 * wdired.el (wdired-revert): Mark unused parameters.
12711 (wdired-xcase-word): Remove unused variable `err'.
12712
12713 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12714 (whitespace-help-scroll): Remove unused variable `data-help'.
12715
12716 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12717 (widget-image-insert, widget-after-change, default)
12718 (widget-default-format-handler, widget-default-notify)
12719 (widget-default-prompt-value, widget-info-link-action)
12720 (widget-url-link-action, widget-function-link-action)
12721 (widget-variable-link-action, widget-file-link-action)
12722 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12723 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12724 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12725 (widget-insert-button-action, widget-delete-button-action, visibility)
12726 (widget-documentation-link-action, widget-documentation-string-action)
12727 (widget-const-prompt-value, widget-regexp-match, symbol)
12728 (widget-coding-system-prompt-value)
12729 (widget-key-sequence-value-to-external, sexp)
12730 (widget-sexp-value-to-internal, character, vector, cons)
12731 (widget-choice-prompt-value, widget-boolean-prompt-value)
12732 (widget-color--choose-action): Mark unused parameters.
12733 (widget-item-match-inline, widget-choice-match-inline)
12734 (widget-checklist-match, widget-checklist-match-inline)
12735 (widget-group-match): Rename parameter VALUES to VALS.
12736 (widget-field-value-set): Remove unused variable `size'.
12737 (widget-color-action): Remove unused variables `value' and `start'.
12738
12739 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12740 variable `dir'. Doc fix.
06b60517
JB
12741 (windmove-find-other-window): Don't pass it.
12742
12743 * window.el (count-windows): Mark unused parameter.
12744 (bw-adjust-window): Remove unused variable `err'.
12745
12746 * woman.el (woman-file-name): Remove unused variable `default'.
12747 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12748 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12749 (global-font-lock-mode): Declare.
12750 (woman-decode-region): Mark unused parameter.
12751 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12752
12753 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12754 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12755 (x-dnd-handle-moz-url): Remove unused variable `title'.
12756 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12757
12758 * xml.el (xml-parse-tag, xml-parse-attlist):
12759 Remove unused variable `pos'.
12760
bc4f7f3d
GM
127612011-04-19 Glenn Morris <rgm@gnu.org>
12762
12763 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12764 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12765 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12766 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12767 * calendar/cal-html.el (cal-html-insert-minical):
12768 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12769 (calendar-mark-date-pattern):
12770 Prefix "unused" locals.
12771
12772 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12773 optional argument `style'.
12774
12775 * calendar/appt.el (appt-make-list):
12776 * calendar/cal-china.el (calendar-chinese-date-string):
12777 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12778 (diary-hebrew-yahrzeit):
12779 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12780 * calendar/calendar.el (calendar-generate-window):
12781 * calendar/time-date.el (time-to-days):
12782 Remove unused local variables.
12783
16a43933
CY
127842011-04-18 Chong Yidong <cyd@stupidchicken.com>
12785
12786 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12787 glyphless-char-display table.
12788 (tabulated-list-glyphless-char-display): New var.
12789
7eed1860
SS
127902011-04-18 Sam Steingold <sds@gnu.org>
12791
12792 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12793 to acknowledgments.
12794
4d2d1ccd
GM
127952011-04-17 Glenn Morris <rgm@gnu.org>
12796
12797 * calendar/diary-lib.el (diary-sexp-entry):
12798 * calendar/holidays.el (holiday-sexp):
12799 Set debug-on-error rather than the removed stack-trace-on-error.
12800
239da61d
GM
128012011-04-16 Glenn Morris <rgm@gnu.org>
12802
12803 * progmodes/f90.el: Use lexical-binding.
12804 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12805
8b05752a
SM
128062011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12807
daca8ba5
SM
12808 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12809 (mail-mode): Setup mailalias completion here instead.
12810 * mail/mailalias.el: Use lexical-binding.
12811 (pattern, mailalias-done): Declare dynamic.
12812 (mail-completion-at-point-function): New function, from mail-complete.
12813 (mail-complete): Use it.
12814 (mail-completion-expand): New function.
12815 (mail-get-names): Use it.
12816 (mail-directory, mail-directory-process, mail-directory-stream):
12817 Don't use `pattern' for lexically bound arg.
12818
6f542485
SM
12819 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12820
037e7c3f
SM
12821 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12822 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12823 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12824
8b05752a
SM
12825 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12826 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12827 (byte-interactive-p): Define them again, for use when inlining
12828 old code.
12829
49093f60
JB
128302011-04-15 Juanma Barranquero <lekktu@gmail.com>
12831
12832 * loadup.el: Use `string-to-number', not `string-to-int'.
12833
b5b8e7de
SM
128342011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12837 gud-gdb-complete-command.
12838 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12839 (gud-gdb-completion-at-point): New function.
12840 (gud-gdb-completions): Remove.
12841
f42efeb5
MA
128422011-04-14 Michael Albinus <michael.albinus@gmx.de>
12843
49093f60
JB
12844 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12845 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12846 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12847 whether `executable-find' is bound.
f42efeb5
MA
12848
12849 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12850
e240cc21
SM
128512011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * minibuffer.el (completion-in-region-mode-predicate)
12854 (completion-in-region-mode--predicate): New vars.
12855 (completion-in-region, completion-in-region--postch)
12856 (completion-in-region-mode): Use them.
12857 (completion--capf-wrapper): Also return the hook function.
12858 (completion-at-point, completion-help-at-point):
12859 Adjust and provide a predicate.
c2bd2ab0
SM
12860
12861 Preserve arg names for advice of subr and lexical functions (bug#8457).
12862 * help-fns.el (help-function-arglist): Consolidate the subr and
12863 new-byte-code cases. Add argument `preserve-names' to extract names
12864 from the docstring when needed.
12865 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12866 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12867 (ad-arglist): Use help-function-arglist's new arg.
12868 (ad-definition-type): Use cond.
12869
c183f693
JB
128702011-04-13 Juanma Barranquero <lekktu@gmail.com>
12871
06641a47
JB
12872 * autorevert.el (auto-revert-handler):
12873 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12874 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12875 Don't quote lambda.
12876
c183f693
JB
12877 * image-mode.el (image-transform-set-scale):
12878 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12879
1e3b6001
G
128802011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881
12882 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12883 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12884 Upgrades via gnutls-cli are too slow to be done opportunistically.
12885
2d6af8dd
JB
128862011-04-12 Juanma Barranquero <lekktu@gmail.com>
12887
12888 * dframe.el (dframe-current-frame): Remove spurious quote.
12889
c0749a51
GM
128902011-04-12 Glenn Morris <rgm@gnu.org>
12891
088d0d61
GM
12892 * calendar/cal-tex.el (cal-tex-end-document):
12893 Try to automatically use latin1 input if needed.
12894
c0749a51
GM
12895 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12896 Don't try to cons a mark onto an empty element.
12897
5c90fde0
LL
128982011-04-11 Leo Liu <sdl.web@gmail.com>
12899
12900 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12901 buffers.
12902 (ido-kill-buffer-at-head): Support killing virtual buffers.
12903
369e974d
CY
129042011-04-10 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * minibuffer.el (completion-show-inline-help): New var.
12907 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12908 (minibuffer-force-complete, minibuffer-complete-word):
12909 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12910
12911 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12912 to avoid interference from inline help (Bug#5849).
12913
37f1c930
LL
129142011-04-10 Leo Liu <sdl.web@gmail.com>
12915
099c39a4
JB
12916 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12917 Fix typo.
37f1c930 12918
a32d4040
CY
129192011-04-09 Chong Yidong <cyd@stupidchicken.com>
12920
12921 * image-mode.el (image-toggle-display-image): Signal an error if
12922 not in Image mode.
12923 (image-transform-mode, image-transform-resize)
12924 (image-transform-set-rotation): Doc fix.
daca8ba5 12925 (image-transform-set-resize): Delete.
a32d4040
CY
12926 (image-transform-set-scale, image-transform-fit-to-height)
12927 (image-transform-fit-to-width): Handle image-toggle-display-image
12928 and image-transform-resize directly.
12929
099c39a4 129302011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12931
12932 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12933 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12934 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12935 (doc-view-mode-map): Add bindings for the new functions.
12936
099c39a4 129372011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12938
4d61f28d 12939 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12940 Fix typo in docstring.
12941
3726838a
EZ
129422011-04-08 Eli Zaretskii <eliz@gnu.org>
12943
04f33f1e
EZ
12944 * files.el (file-size-human-readable): Produce one digit after
12945 decimal, like "ls -lh" does.
12946
12947 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12948 the file size representation.
12949
3726838a
EZ
12950 * simple.el (list-processes): If async subprocesses are not
12951 available, error out with a clear error message.
12952
cbb59342
CY
129532011-04-08 Chong Yidong <cyd@stupidchicken.com>
12954
12955 * help.el (help-form-show): New function, to be called from C.
12956 Put help-form output in a buffer named differently than *Help*.
12957
e3971c44
EZ
129582011-04-08 Eli Zaretskii <eliz@gnu.org>
12959
12960 * files.el (file-size-human-readable): New function.
12961
12962 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12963 computing the representation inline. Don't require `cl'.
12964
12544bbe
GM
129652011-04-08 Glenn Morris <rgm@gnu.org>
12966
a1de6c6a
GM
12967 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12968
3c4671f4
GM
12969 * net/browse-url.el (browse-url-firefox):
12970 Test system-type, not system-configuration.
12971
b605679c
GM
12972 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12973 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12974 Use log-edit-empty-buffer-p. (Bug#7598)
12975
56442f0c
GM
12976 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12977 (rlogin-mode-map): Initialize in the defvar.
12978 (rlogin): Use ignore-errors.
12979
12544bbe
GM
12980 * replace.el (occur-mode-map): Some fixes for menu items.
12981
eb237b0f
AH
129822011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12983
12984 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12985
7d668f2c
CY
129862011-04-06 Chong Yidong <cyd@stupidchicken.com>
12987
e67a13ab
CY
12988 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12989 issuing unused warnings.
12990
12991 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12992 macro directly.
12993
7d668f2c
CY
12994 * simple.el: Lisp reimplement of list-processes. Based on an
12995 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12996 (process-menu-mode): New major mode.
12997 (list-processes--refresh, list-processes):
12998 (process-menu-visit-buffer): New functions.
12999
13000 * files.el (save-buffers-kill-emacs): Don't assume any return
13001 value of list-processes, which is undocumented anyway.
13002
a83ec3c9
CY
130032011-04-06 Chong Yidong <cyd@stupidchicken.com>
13004
13005 * emacs-lisp/tabulated-list.el: New file.
13006
e91a96fe
CY
13007 * emacs-lisp/package.el: Use Tabulated List mode.
13008 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13009 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13010 table format using Tabulated List mode variables.
13011 (package--push): New macro, replacing package-list-maybe-add.
13012 (package-menu--generate): Use package--push. Renamed from
13013 package--generate-package-list.
13014 (package-menu-refresh, list-packages): Use it.
daca8ba5 13015 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13016 Return insertion data instead of inserting it directly.
099c39a4
JB
13017 (package-menu-describe-package, package-menu-execute):
13018 Use tabulated-list-get-id.
e91a96fe
CY
13019 (package-menu-mark-delete, package-menu-mark-install)
13020 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13021 (package-menu-mark-obsolete-for-deletion):
13022 Use tabulated-list-put-tag.
e91a96fe
CY
13023 (package--list-packages, package-menu-revert)
13024 (package-menu-get-package, package-menu-get-version)
13025 (package-menu-sort-by-column): Functions deleted.
13026 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13027 (package-menu--status-predicate, package-menu--version-predicate)
13028 (package-menu--name-predicate)
13029 (package-menu--description-predicate): Handle arguments in the
13030 Tabulated List format.
13031 (package-list-packages-no-fetch): Call list-packages.
13032
3e214b50
JB
130332011-04-06 Juanma Barranquero <lekktu@gmail.com>
13034
13035 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13036 (after-find-file): Don't bind it.
3e214b50
JB
13037 (revert-buffer-in-progress-p): New variable.
13038 (revert-buffer): Bind it.
13039 Pass nil for `after-find-file-from-revert-buffer'.
13040
13041 * saveplace.el (save-place-find-file-hook): Use new variable
13042 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13043
3f0f1700
GM
130442011-04-06 Glenn Morris <rgm@gnu.org>
13045
c0274801
GM
13046 * Makefile.in (AUTOGEN_VCS): New variable.
13047 (autoloads): Use $AUTOGEN_VCS.
13048
3f0f1700
GM
13049 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13050 * calendar/calendar.el (calendar-mode-map):
13051 Check for toolkit scroll bars. (Bug#8305)
13052
41ea9e48
CY
130532011-04-05 Chong Yidong <cyd@stupidchicken.com>
13054
13055 * minibuffer.el (completion-in-region--postch)
13056 (completion-in-region-mode): Remove unnecessary messages.
13057
6194c800
JB
130582011-04-05 Juanma Barranquero <lekktu@gmail.com>
13059
33256f14
JB
13060 * font-lock.el (font-lock-refresh-defaults):
13061 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13062 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13063
6194c800
JB
13064 * info.el (Info-directory-list, Info-read-node-name-2)
13065 (Info-split-parameter-string): Doc fixes.
13066 (Info-virtual-nodes): Reflow docstring.
13067 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13068 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13069 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13070 Fix typos in docstrings.
13071 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13072 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13073 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13074 (Info-restore-desktop-buffer): Mark unused parameters.
13075 (Info-directory-find-file, Info-directory-find-node)
13076 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13077 (Info-virtual-index-find-node, Info-apropos-find-file)
13078 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13079 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13080 (Info-virtual-index): Remove unused local variable `nodename'.
13081
b87a8200 130822011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13083
b87a8200
DD
13084 * net/rcirc.el: Update my e-mail address.
13085 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13086
3b2ff876
CY
130872011-04-05 Chong Yidong <cyd@stupidchicken.com>
13088
13089 * startup.el (command-line): Save the cursor's theme-face
13090 directly, instead of using face-override-spec.
13091
13092 * custom.el (load-theme): Minor optimization in assigning faces.
13093
8d17e7ca
JB
130942011-04-04 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * help-fns.el (describe-variable): Complete all variables having
13097 documentation, including keywords.
13098 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13099
2fbc1934
JB
131002011-04-04 Juanma Barranquero <lekktu@gmail.com>
13101
13102 Convert to lexical-binding.
13103
13104 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13105 (bs--get-marked-string, bs--get-modified-string)
13106 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13107 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13108 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13109
13110 * ehelp.el (electric-help-execute-extended)
13111 (electric-help-ctrl-x-prefix):
13112 * hexl.el (hexl-revert-buffer-function):
13113 * linum.el (linum-after-change, linum-after-scroll):
13114 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13115
13116 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13117
74f50695
DU
131182011-04-04 Daiki Ueno <ueno@unixuser.org>
13119
13120 * epa-dired.el:
13121 * epa-mail.el:
13122 * epa-hook.el:
13123 * epa-file.el:
13124 * epa.el:
13125 * epg.el: Use lexical binding.
13126
c11325f7
CY
131272011-04-03 Chong Yidong <cyd@stupidchicken.com>
13128
0d9e9a12
CY
13129 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13130
c11325f7 13131 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13132 dictionary case for flyspell-mark-duplications-exceptions.
13133 Use regexp matching for languages.
c11325f7
CY
13134 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13135 default dictionary (Bug#7926).
13136
da91b5f2
CY
131372011-04-02 Chong Yidong <cyd@stupidchicken.com>
13138
099c39a4
JB
13139 * emacs-lisp/package.el (package--with-work-buffer):
13140 Recognize https URLs.
da91b5f2 13141
099c39a4
JB
13142 * net/network-stream.el: Move from gnus/proto-stream.el.
13143 Change prefix to network-stream throughout.
da91b5f2
CY
13144 (open-protocol-stream): Merge into open-network-stream, leaving
13145 open-protocol-stream as an alias. Handle nil BUFFER args.
13146
13147 * subr.el (open-network-stream): Move to net/network-stream.el.
13148
afa8e9f6
GM
131492011-04-02 Glenn Morris <rgm@gnu.org>
13150
1d2e369d
GM
13151 * find-dired.el (find-exec-terminator): New option.
13152 (find-ls-option): Test for -ls support.
13153 (find-ls-subdir-switches): Test for -b in find-ls-option.
13154 (find-dired, find-grep-dired): Doc fixes.
13155 (find-dired): Use find-exec-terminator.
13156
8abb7da8 13157 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13158 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13159 (find-name-arg): Remove purecopy.
8abb7da8 13160
f3ca7378
GM
13161 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13162 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13163 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13164 accordingly. Don't add the null-device if not needed.
13165
afa8e9f6
GM
13166 * files.el (save-some-buffers): Doc fix.
13167
35eae264
EZ
131682011-04-02 Eli Zaretskii <eliz@gnu.org>
13169
13170 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13171
26b51db5
JB
131722011-04-01 Juanma Barranquero <lekktu@gmail.com>
13173
13174 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13175 Use `dolist' rather than `mapcar'.
13176
7200d79c
SM
131772011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13178
03408648 13179 Add lexical binding.
7200d79c 13180
03408648
SM
13181 * subr.el (apply-partially): Use new closures rather than CL.
13182 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13183 (dolist, dotimes): Use slightly different expansion for lexical code.
13184 (functionp): Move to C.
13185 (letrec): New macro.
13186 (with-wrapper-hook): Use it and apply-partially instead of CL.
13187 (eval-after-load): Preserve lexical-binding.
13188 (save-window-excursion, with-output-to-temp-buffer): Turn them
13189 into macros.
7200d79c 13190
03408648
SM
13191 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13192
13193 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13194 than the arglist.
13195 (help-add-fundoc-usage): Don't add `Not documented'.
13196 (help-function-arglist): Handle closures, subroutines, and new
13197 byte-code-functions.
13198 (help-make-usage): Remove leading underscores.
13199 (describe-function-1): Handle closures.
13200 (describe-variable): Use special-variable-p for completion.
13201
13202 * files.el (lexical-binding): Declare safe.
f488fb65 13203
03408648
SM
13204 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13205 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13206 (pcase): Add `let' pattern.
13207 Change memoization so it actually works.
13208 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13209 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13210 <let>: New case.
f488fb65 13211
03408648
SM
13212 * emacs-lisp/macroexp.el: Use lexical binding.
13213 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13214 Don't convert ' to #' without checking that it's indeed quoting
13215 a lambda.
13216
13217 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13218 Use eval-sexp-add-defvars.
03408648
SM
13219 (eval-sexp-add-defvars): New fun.
13220
13221 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13222
13223 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13224 Don't autoload.
13225 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13226 than the internal `byte-compile-lambda'.
13227 (defmethod): Don't hide code under quotes.
13228 (eieio-defmethod): New `code' argument.
13229
13230 * emacs-lisp/eieio-comp.el: Remove.
13231
13232 * emacs-lisp/edebug.el (edebug-eval-defun)
13233 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13234 (edebug-toggle): Avoid `eval'.
13235
13236 * emacs-lisp/disass.el (disassemble-internal): Handle new
13237 `closure' objects.
13238 (disassemble-1): Handle new byte codes.
13239
13240 * emacs-lisp/cl.el (pushnew): Silence warning.
13241
13242 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13243 (cl-byte-compile-throw): Remove.
13244 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13245
13246 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13247 closures.
13248
13249 * emacs-lisp/cconv.el: New file.
13250
13251 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13252 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13253 (byte-compile-initial-macro-environment):
13254 Handle declare-function here.
13255 (byte-compile--lexical-environment): New var.
13256 (byte-stack-ref, byte-stack-set, byte-discardN)
13257 (byte-discardN-preserve-tos): New lap codes.
13258 (byte-interactive-p): Don't use any more.
13259 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13260 New macros.
13261 (byte-compile-lapcode): Use them and handle new lap codes.
13262 (byte-compile-obsolete): Remove.
13263 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13264 (byte-compile-arglist-warn): Check late def of inlinable funs.
13265 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13266 since they should have been expanded by now.
13267 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13268 (byte-compile-from-buffer): Remove unused second arg.
13269 (byte-compile-preprocess): New function.
13270 (byte-compile-toplevel-file-form): New function to distinguish
13271 file-form calls from outside from file-form calls from hunk-handlers.
13272 (byte-compile-file-form): Simplify.
13273 (byte-compile-file-form-defsubst): Remove.
13274 (byte-compile-file-form-defmumble): Simplify now that
13275 byte-compile-lambda always returns a byte-code-function.
13276 (byte-compile): Preprocess.
13277 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13278 Remove, not used any more.
13279 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13280 (byte-compile-make-args-desc): New funs.
13281 (byte-compile-lambda): Handle lexical functions. Always return
13282 a byte-code-function.
13283 (byte-compile-reserved-constants): New var, to make up room for
13284 closed-over variables.
13285 (byte-compile-constants-vector): Obey it.
13286 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13287 (byte-compile-macroexpand-declare-function): New function.
13288 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13289 byte-code-functions.
13290 (byte-compile-form): Check obsolescence here.
13291 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13292 (byte-compile-variable-ref): Remove.
13293 (byte-compile-dynamic-variable-op): New fun.
13294 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13295 (byte-compile-variable-set): New funs.
13296 (byte-compile-discard): Add 2 args.
13297 (byte-compile-stack-ref, byte-compile-stack-set)
13298 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13299 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13300 macroexpand-all instead.
13301 (byte-compile-quote-form): Remove.
13302 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13303 (byte-compile-bind, byte-compile-unbind): New funs.
13304 (byte-compile-let): Handle let* and lexical binding.
13305 (byte-compile-let*): Remove.
13306 (byte-compile-catch, byte-compile-unwind-protect)
13307 (byte-compile-track-mouse, byte-compile-condition-case):
13308 Handle a new :fun-body form, used for lexical scoping.
13309 (byte-compile-save-window-excursion)
13310 (byte-compile-with-output-to-temp-buffer): Remove.
13311 (byte-compile-defun): Simplify.
13312 (byte-compile-stack-adjustment): New fun.
13313 (byte-compile-out): Use it.
13314 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13315
13316 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13317 handler any more.
13318
13319 * emacs-lisp/byte-opt.el: Use lexical binding.
13320 (byte-inline-lapcode): Remove (to bytecomp).
13321 (byte-compile-inline-expand): Pay attention to inlining to/from
13322 lexically bound code.
13323 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13324 any more.
13325 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13326 any more and don't call compiler-macros.
13327 (byte-compile-splice-in-already-compiled-code): Remove.
13328 (byte-code): Don't inline any more.
13329 (disassemble-offset): Receive `bytes' as argument rather than via
13330 dynamic scoping.
13331 (byte-compile-tag-number): Declare before first use.
13332 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13333 `return' even if make-spliceable.
13334 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13335 obsolete interactive-p.
13336 (byte-optimize-lapcode): Optimize new lap-codes.
13337 Don't trip up on new form of `byte-constant' lap code.
13338
13339 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13340
13341 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13342
13343 * custom.el (custom-initialize-default, custom-declare-variable):
13344 Use `defvar'.
13345
13346 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13347 New variables.
13348 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13349 (COMPILE_FIRST): Add macroexp and cconv.
13350 * makefile.w32-in: Mirror changes in Makefile.in.
13351
13352 * vc/cvs-status.el:
13353 * vc/diff-mode.el:
13354 * vc/log-edit.el:
13355 * vc/log-view.el:
13356 * vc/smerge-mode.el:
13357 * textmodes/bibtex-style.el:
13358 * textmodes/css.el:
13359 * startup.el:
13360 * uniquify.el:
da91b5f2
CY
13361 * minibuffer.el:
13362 * newcomment.el:
13363 * reveal.el:
13364 * server.el:
13365 * mpc.el:
13366 * emacs-lisp/smie.el:
13367 * doc-view.el:
13368 * dired.el:
03408648
SM
13369 * abbrev.el: Use lexical binding.
13370
0f0c1f27
EZ
133712011-04-01 Eli Zaretskii <eliz@gnu.org>
13372
13373 * info.el (info-display-manual): New function.
13374
c82b2579
SM
133752011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13378
221ddf68
TH
133792011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13380
13381 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13382 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13383
cba6e77e
GM
133842011-03-31 Glenn Morris <rgm@gnu.org>
13385
e040639f
GM
13386 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13387
cba6e77e
GM
13388 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13389
6d0f1c9e
CS
133902011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13391
13392 * progmodes/python.el (python-default-interpreter)
13393 (python-python-command-args, python-jython-command-args)
13394 (python-which-shell, python-which-args, python-which-bufname)
13395 (python-file-queue, python-comint-output-filter-function)
13396 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13397 variables and functions.
13398
3e2d70fd
SM
133992011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13402 (completion-in-region-mode): New minor mode.
13403 (completion-in-region): Use it.
13404 (completion-in-region--data, completion-in-region-mode-map): New vars.
13405 (completion-in-region--postch): New function.
13406 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13407 New vars.
13408 (completion--capf-wrapper): New function.
13409 (completion-at-point): Use it to track well-behavedness of
13410 hook functions.
13411 (completion-help-at-point): New command.
13412
f3e4086c
JM
134132011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13414
13415 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13416 syntax class to search for whitespace on a single line
13417 (Message-ID: <4D938140.4030905@redhat.com>).
13418
eb7ffc14
LL
134192011-03-30 Leo Liu <sdl.web@gmail.com>
13420
13421 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13422 New commands.
13423 (edit-abbrevs-map): Bind them here.
13424 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13425
d806ab68
KM
134262011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13427
13428 * allout.el (allout-hide-by-annotation, allout-flag-region):
13429 Reduce possibility of overlay leakage by making them volatile.
13430
13431 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13432 hash is not shared between buffers. Mode initialization is
13433 responsible for giving it a useful starting value.
13434 (allout-item-span): Reduce possibility of overlay leakage by
13435 making them volatile.
13436 (allout-widgets-count-buttons-in-region): Add diagnostic function
13437 for tracking down button overlay leaks.
13438
ea622834
LL
134392011-03-29 Leo Liu <sdl.web@gmail.com>
13440
13441 * ido.el (ido-read-internal): Use the default history var
13442 minibuffer-history if no HISTORY is specified.
13443
b62f8267
G
134442011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13445
03408648
SM
13446 * net/imap.el (imap-shell-open, imap-process-connection-type):
13447 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13448 Kerberos, SSL, other subprocesses.
13449
947b6566
LL
134502011-03-28 Leo Liu <sdl.web@gmail.com>
13451
13452 * abbrev.el (abbrev-table-empty-p): New function.
13453 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13454 nonempty ones. (Bug#5937)
13455
5ffb62aa
JD
134562011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13457
13458 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13459
7a097943
LL
134602011-03-27 Leo Liu <sdl.web@gmail.com>
13461
13462 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13463 for foreground and background colors.
13464 (ansi-color-make-color-map): Adapt.
13465
c5b40130
LL
134662011-03-25 Leo Liu <sdl.web@gmail.com>
13467
1f48f7d2
LL
13468 * midnight.el (midnight-time-float): Remove. Note it calculates
13469 the microsecond component incorrectly and seconds-to-time does the
13470 same job.
625897ec 13471 Remove redundant (require 'timer).
1f48f7d2 13472
c5b40130
LL
13473 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13474 (ido-completions): Remove unused arguments. (Bug#8329)
13475
d86d2721
SM
134762011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13477
13478 * minibuffer.el (completion--flush-all-sorted-completions):
13479 Remove itself from hook.
13480 (completion-at-point): Let the functions perform the completion
13481 immediately and return nil or t.
13482 * comint.el (comint-dynamic-complete-functions): Now identical to
13483 completion-at-point-functions.
13484 (comint-dynamic-list-input-ring): Remove unused var `index'.
13485 (comint--match-partial-filename, comint--unquote&expand-filename):
13486 New funs, split from comint-match-partial-filename.
13487 (comint-dynamic-complete): Use completion-at-point.
13488 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13489
e8974c48
DA
134902011-03-24 Drew Adams <drew.adams@oracle.com>
13491
13492 * thingatpt.el: Support `defun'.
13493
def71b5e
LL
134942011-03-23 Leo Liu <sdl.web@gmail.com>
13495
cb5af48e
LL
13496 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13497
def71b5e
LL
13498 * help-mode.el (help-mode-finish): Tweak regexp.
13499
927c53e7
GM
135002011-03-23 Glenn Morris <rgm@gnu.org>
13501
18d05bed
GM
13502 * eshell/esh-opt.el (eshell-eval-using-options):
13503 Do not bind unused local variable `eshell-option-stub'.
13504
927c53e7
GM
13505 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13506
9d0da923
JB
135072011-03-22 Juanma Barranquero <lekktu@gmail.com>
13508
13509 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13510 keymap variable in `with-no-warnings' to avoid a warning when the
13511 keymap has been already `defconst'ed.
13512
4b978a67
LL
135132011-03-22 Leo Liu <sdl.web@gmail.com>
13514
13515 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13516 encode all chars in abbrevs; otherwise use emacs-mule or
13517 utf-8-emacs. (Bug#8308)
13518
5fd62452
JB
135192011-03-22 Juanma Barranquero <lekktu@gmail.com>
13520
0b1596c6
JB
13521 * simple.el (backward-delete-char-untabify):
13522 Avoid warning about using `delete-backward-char'.
13523
5fd62452
JB
13524 * image.el (image-type-file-name-regexps): Make it variable.
13525 `imagemagick-register-types' modifies it, and the user may want
13526 to add new extensions for known image types.
13527 (imagemagick-register-types): Throw error if not using ImageMagick.
13528
0b4e93f1
LL
135292011-03-22 Leo Liu <sdl.web@gmail.com>
13530
13531 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13532 located before rcirc-prompt-end-marker.
13533 (rcirc-complete): Error if point is not after rcirc prompt.
13534 Handle the case when table is nil.
9882e214 13535 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13536
fccee4ab
CY
135372011-03-22 Chong Yidong <cyd@stupidchicken.com>
13538
13539 * custom.el (custom--inhibit-theme-enable): Make it affect only
13540 custom-theme-set-variables and custom-theme-set-faces.
13541 (provide-theme): Ignore custom--inhibit-theme-enable.
13542 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13543 (custom-enabling-themes): Delete variable.
d86d2721
SM
13544 (enable-theme): Accept only loaded themes as arguments.
13545 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13546 (custom-enabled-themes): Forbid themes from setting this.
13547 Eliminate use of custom-enabling-themes.
13548 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13549
af896da6
LL
135502011-03-21 Leo Liu <sdl.web@gmail.com>
13551
13552 * ido.el (ido-read-internal): Add ido-selected to history instead
13553 of user input.
13554
78f64af0
SM
135552011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13556
13557 * subr.el (deferred-action-list, deferred-action-function):
13558 Mark obsolete.
13559
b16ac1ec
LL
135602011-03-21 Leo Liu <sdl.web@gmail.com>
13561
810f7698
LL
13562 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13563 change on 2011-02-13 (bug#8309).
13564
b16ac1ec
LL
13565 * minibuffer.el (read-file-name-function): Change default value.
13566 (read-file-name--defaults): Rename from read-file-name-defaults.
13567 (read-file-name-default): Rename from read-file-name.
13568 (read-file-name): Call read-file-name-function.
13569
4e05e67e
GM
135702011-03-21 Glenn Morris <rgm@gnu.org>
13571
13572 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13573 Doc fixes.
13574
4359915b
CY
135752011-03-21 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * cus-theme.el: Add missing provide statement.
13578 (customize-create-theme): Extract theme value correctly.
13579 (custom-theme-visit-theme): Autoload.
13580 (customize-create-theme): Prompt before inserting default faces.
13581
1fe275ee
JB
135822011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13583
13584 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13585 units and musical notes.
13586
cd394be1 135872011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13588
13589 * ido.el (ido-read-internal): Use completing-read-default.
13590 (ido-completing-read): Fix compatibility with completing-read.
13591
7d476bde
CO
135922011-03-20 Christian Ohler <ohler@gnu.org>
13593
13594 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13595 (ert-delete-all-tests): Use `called-interactively-p' rather than
13596 `interactive-p'.
13597 (ert--make-xrefs-region): Respect END.
13598
fe0fb33e
CY
135992011-03-19 Chong Yidong <cyd@stupidchicken.com>
13600
ff854b0b
CY
13601 * dired-aux.el (dired-create-directory): Signal an error if the
13602 directory already exists (Bug#8246).
13603
fe0fb33e
CY
13604 * facemenu.el (list-colors-display): Call list-faces-display
13605 inside with-help-window.
13606 (list-colors-print): Use display property to align the final
13607 column, instead of checking window-width.
13608
576bce32
EZ
136092011-03-19 Eli Zaretskii <eliz@gnu.org>
13610
4d61f28d 13611 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13612 windows-nt systems.
13613 (emerge-protect-metachars): Quote correctly for ms-dos and
13614 windows-nt systems.
13615
89c41d68 136162011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13617
13618 * info.el (info-initialize): Replace all uses of `:' with
13619 path-separator for compatibility with non-Unix systems.
13620 Cache quoting of path-separator. (Bug#8258)
13621
b14e3e21 136222011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13623
13624 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13625 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13626 (mouse-avoidance-mode): Fix typos in docstrings.
13627
4525ce3e
CY
136282011-03-19 Chong Yidong <cyd@stupidchicken.com>
13629
13630 * startup.el (package-subdirectory-regexp): Move from package.el.
13631 Omit \\` and \\', and let callers add them.
13632
13633 * emacs-lisp/package.el (package-strip-version)
13634 (package-load-all-descriptors): Add \\` and \\' to
13635 package-subdirectory-regexp before using it.
13636 (package-untar-buffer): New arg DIR; ensure that file untars only
13637 into this expected directory. Remove superfluous delete-region.
13638 (package-unpack): Caller changed.
13639 (package-tar-file-info): Use package-subdirectory-regexp.
13640
a904a09a 136412011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13642
a904a09a
SM
13643 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13644 diff-mode-shared-map (bug#8284).
13645 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13646
136472011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13648
13649 * calendar/time-date.el (format-seconds): Use assoc instead of
13650 assoc-string, since assoc-string doesn't exist in XEmacs.
13651
171fc304
JB
136522011-03-17 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * custom.el (custom-known-themes): Reflow docstring.
13655 (custom-theme-load-path): Fix typo in docstring.
13656 (load-theme): Fix typo in error message.
13657 (custom-available-themes, custom-variable-theme-value):
13658 Use `let', not `let*'.
13659
d71990a1
JB
136602011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13661
13662 * calc/README: Mention inclusion of musical notes.
13663
13664 * calc/calc-units.el (calc-lu-quant): Rename from
13665 `calc-logunits-quantity'.
13666 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13667 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13668 (calc-db): Rename from `calc-dblevel'.
13669 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13670 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13671 (calc-np): Rename from `calc-nplevel'.
13672 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13673 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13674 (calc-lu-plus): Rename from `calc-logunits-add'.
13675 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13676 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13677 (calc-lu-minus): Rename from `calc-logunits-sub'.
13678 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13679 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13680 (calc-lu-times): Rename from `calc-logunits-mul'.
13681 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13682 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13683 (calc-lu-divide): Rename from `calc-logunits-div'.
13684 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13685 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13686
13687 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13688 functions being autoloaded.
13689
13690 * calc/calc.el (calc-lu-power-reference): Rename from
13691 `calc-logunits-power-reference'.
13692 (calc-lu-field-reference): Rename from
13693 `calc-logunits-field-reference'.
13694
7a71b18d
GM
13695 * calc/calc-help.el (calc-l-prefix-help):
13696 Mention musical note functions.
d71990a1 13697
40c2934b
SM
136982011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * minibuffer.el (completion-all-sorted-completions):
13701 Use :completion-cycle-penalty text property if present.
13702
b0911414
KM
137032011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13704
13705 * allout.el (allout-yank-processing): Adjust for new rebulleting
13706 regime so bullet being yanked is used without prompting the user
13707 for a choice.
13708
8a05b668
JB
137092011-03-16 Juanma Barranquero <lekktu@gmail.com>
13710
13711 * startup.el (command-line): Warn the user that _emacs is deprecated.
13712
5ba5fb81
JB
137132011-03-16 Juanma Barranquero <lekktu@gmail.com>
13714
13715 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13716 (delphi-verbose, delphi-comment-face, delphi-string-face)
13717 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13718 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13719 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13720 (delphi-new-comment-line, delphi-font-lock-defaults)
13721 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13722 Fix typos in docstrings.
13723
2dab465b
KM
137242011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13725
5ba5fb81 13726 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13727 Invert the roles of character and string values for INSTEAD, so a
13728 string is used for the more common case of a defaulting prompt.
13729
0adf5618
SM
137302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * progmodes/ruby-mode.el (ruby-backward-sexp):
13733 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13734 * play/gamegrid.el (gamegrid-make-face):
13735 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13736 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13737 * notifications.el (notifications-notify):
13738 * net/xesam.el (xesam-search-engines):
13739 * net/quickurl.el (quickurl-list-insert):
13740 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13741
d72700e5
CY
137422011-03-15 Chong Yidong <cyd@stupidchicken.com>
13743
13744 * startup.el (command-line): Update package subdirectory regexp.
13745
49c5410a
SM
137462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13747
c6eee9aa
SM
13748 * allout.el (allout-abbreviate-flattened-numbering)
13749 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13750
49c5410a
SM
13751 * subr.el (read-char-choice): Only show the cursor after the prompt,
13752 not after the answer.
13753
047b2bb9
KR
137542011-03-15 Kevin Ryde <user42@zip.com.au>
13755
13756 * help-fns.el (variable-at-point): Skip leading quotes, if any
13757 (bug#8253).
13758
0a57d256
SM
137592011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13762 warning message.
13763
77c992bc
MA
137642011-03-14 Michael Albinus <michael.albinus@gmx.de>
13765
13766 * shell.el (shell): When called interactively, offer to change the
13767 shell file name on remote hosts.
13768
eebc475d
TZ
137692011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13770
13771 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13772 integration for LDAP parameters. The host, base, user or binddn,
13773 and secret tokens can be specified in a netrc file, for instance.
13774 This is optional because an `auth-source' parameter must be
13775 specified in the search attributes.
13776
9d05d1ba
JB
137772011-03-13 Juanma Barranquero <lekktu@gmail.com>
13778
13779 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13780
09d9db2c
GM
137812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13782
13783 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13784 into declaration. Remove redundant and harmful binding.
13785
137862011-03-12 Eli Zaretskii <eliz@gnu.org>
13787
13788 * files.el (file-ownership-preserved-p): Pass `integer' as an
13789 explicit 2nd argument to `file-attributes'. If the file's owner
13790 is the Administrators group on Windows, and the current user is
13791 Administrator, consider that a match.
13792
13793 * server.el (server-ensure-safe-dir): Consider server directory
13794 safe on MS-Windows if its owner is the Administrators group while
13795 the current Emacs user is Administrator. Use `=' to compare
13796 numerical UIDs, since they could be integers or floats.
13797
219bd536
JB
137982011-03-12 Juanma Barranquero <lekktu@gmail.com>
13799
13800 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13801
f3afd36b
MA
138022011-03-12 Michael Albinus <michael.albinus@gmx.de>
13803
13804 Sync with Tramp 2.2.1.
13805
13806 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13807
13808 * net/trampver.el: Update release number.
13809
3aaaa6f1
SM
138102011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13811
94642599
SM
13812 * progmodes/compile.el (compilation--previous-directory): Fix up
13813 various nil/dead-marker mismatches (bug#8014).
13814 (compilation-directory-properties, compilation-error-properties):
13815 Don't call it at a position past the one we're about to change.
13816
3aaaa6f1
SM
13817 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13818 Disable obsolescence warnings in the file that declares it.
13819
14239447
KM
138202011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13821
099c39a4
JB
13822 * allout-widgets.el (allout-widgets-tally):
13823 Initialize allout-widgets-tally as a hash table rather than nil to
13824 prevent mode-line redisplay warnings. Also, clarify the module
13825 description and fix a comment typo.
14239447 13826
135e287c
JB
138272011-03-11 Juanma Barranquero <lekktu@gmail.com>
13828
13829 * help-fns.el (describe-variable): Don't complete keywords.
13830 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13831
ffbf300e
CY
138322011-03-10 Chong Yidong <cyd@stupidchicken.com>
13833
ba08b241
CY
13834 * emacs-lisp/package.el (package-version-join): Impose a standard
13835 string representation for pre/alpha/beta version lists.
13836 (package-unpack-single): Standardize the directory name by passing
13837 it through package-version-join.
13838 (package-strip-rcs-id): Accept any version string that does not
13839 signal an error in version-to-list.
ffbf300e 13840
f346fd6b
MA
138412011-03-10 Michael Albinus <michael.albinus@gmx.de>
13842
13843 * simple.el (delete-trailing-whitespace): Return nil for the
13844 benefit of `write-file-functions'.
13845
ccb55d27
GM
138462011-03-10 Glenn Morris <rgm@gnu.org>
13847
5ceaac0c
GM
13848 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13849
02da65ff
GM
13850 * vc/vc-git.el (vc-git-program): New option.
13851 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13852 (vc-git--call): Use it.
13853
b2f603cc
GM
13854 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13855
5772caab
GM
13856 * cus-edit.el (Custom-newline): If no button at point, look
13857 for a subgroup button at start-of-line. (Bug#2298)
13858
ccb55d27
GM
13859 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13860
ec6ecaed
JD
138612011-03-10 Julien Danjou <julien@danjou.info>
13862
13863 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13864 `cursor-type' is nil.
13865
9d5aa01d
JB
138662011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13867
13868 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13869
b6a5875b
KM
138702011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13871
7a71b18d 13872 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13873 preserves the existing header prefix, rebulleting it if necessary,
13874 rather than replacing it. This is necessary for proper operation
13875 of cooperative addons like allout-widgets.
1154d12e
JB
13876 (allout-make-topic-prefix, allout-rebullet-heading):
13877 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13878 value as alternate bullet to be used, instead of prompting the user
13879 for a bullet character.
b6a5875b 13880
ee545c35
MA
138812011-03-09 Michael Albinus <michael.albinus@gmx.de>
13882
d86d2721
SM
13883 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13884 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13885 `tramp-default-port'.
13886
c47971d7
DD
138872011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13888
13889 * net/rcirc.el (rcirc-handler-001): Remove useless
13890 with-rcirc-process-buffer.
13891 (rcirc-check-auth-status): Swap arguments to string-match.
13892
13522cb4
GM
138932011-03-09 Glenn Morris <rgm@gnu.org>
13894
0be6f4f1
GM
13895 * shell.el (shell-mode):
13896 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13897
13522cb4
GM
13898 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13899 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13900
515de2e3
CY
139012011-03-08 Chong Yidong <cyd@stupidchicken.com>
13902
13903 * emacs-lisp/package.el (package-refresh-contents)
13904 (package-menu-execute): Use condition-case-no-debug.
13905
b511b994
MA
139062011-03-08 Michael Albinus <michael.albinus@gmx.de>
13907
13908 * simple.el (shell-command-to-string): Use `process-file'.
13909
13910 * emacs-lisp/package.el (package-tar-file-info): Handle also
13911 remote files.
13912
d86d2721
SM
13913 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13914 Use `equal' for upload base check.
b511b994 13915
25bbfb31
AM
139162011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13917
13918 * textmodes/texinfo.el (texinfo-environments):
13919 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13920
be996521
GM
139212011-03-08 Glenn Morris <rgm@gnu.org>
13922
e9c8529f
GM
13923 * cus-start.el (cursor-in-non-selected-windows):
13924 Fix :set quoting oddness. (Bug#8192)
13925
be996521
GM
13926 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13927 in some setf expressions. (Bug#2159)
13928
2bb5649e
CY
139292011-03-08 Chong Yidong <cyd@stupidchicken.com>
13930
13931 * custom.el (custom-available-themes): Return themes in
13932 alphabetical order.
13933
33383987 13934See ChangeLog.15 for earlier changes.
e3d51b27
MR
13935
13936;; Local Variables:
13937;; coding: utf-8
e3d51b27
MR
13938;; End:
13939
acaf905b 13940 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13941
13942 This file is part of GNU Emacs.
13943
13944 GNU Emacs is free software: you can redistribute it and/or modify
13945 it under the terms of the GNU General Public License as published by
13946 the Free Software Foundation, either version 3 of the License, or
13947 (at your option) any later version.
13948
13949 GNU Emacs is distributed in the hope that it will be useful,
13950 but WITHOUT ANY WARRANTY; without even the implied warranty of
13951 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13952 GNU General Public License for more details.
13953
13954 You should have received a copy of the GNU General Public License
13955 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.