Merge from trunk.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
758c81e8
GM
12012-05-25 Glenn Morris <rgm@gnu.org>
2
87eb79c2
GM
3 * image.el (imagemagick-types-inhibit): Doc fix.
4
758c81e8
GM
5 * version.el: Remove no-byte-compile and associated formatting.
6 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7 is ancient code from when there was an "inc-vers.el".
8
e7e85dc0
SM
92012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * progmodes/gdb-mi.el: Minor style changes.
12 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13 Turn into minor modes.
14 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
15 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
16 (gdb-shell): Remove unneeded let-binding.
17 (gdb-get-many-fields): Eliminate O(n²) behavior.
18
f31237a4
EZ
192012-05-25 Eli Zaretskii <eliz@gnu.org>
20
21 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
22 platforms that don't link in fontset.c.
23
bc1b21bb
JL
242012-05-25 Juri Linkov <juri@jurta.org>
25
26 Use the same diff color scheme as in modern VCSes (bug#10181).
27
28 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
29 to avoid confusion with `diff-added' that now uses green colors.
30 (diff-removed): Use shades of red.
31 (diff-added): Use shades of green.
32 (diff-changed): Leave just the yellow color.
33 (diff-use-changed-face): New variable.
34 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
35 how to highlight context diff changes.
36 (diff-refine-change): Use shades of yellow.
37 (diff-refine-removed): New face that uses shades of red.
38 (diff-refine-added): New face that uses shades of green.
39 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
40 `diff-refine-removed' in the call to `smerge-refine-subst'
41 depending on the value of `diff-use-changed-face'.
42
43 * vc/smerge-mode.el (smerge-mine): Use shades of red.
44 (smerge-other): Use shades of green.
45 (smerge-base): Use shades of yellow.
46 (smerge-refined-change): Empty face.
47 (smerge-refined-removed): New face that uses shades of red.
48 (smerge-refined-added): New face that uses shades of green.
49 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
50 args `props-r' and `props-a', and use them. Doc fix.
51 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
52 on its value use different faces `smerge-refined-change',
53 `smerge-refined-removed', `smerge-refined-added' in the call to
54 `smerge-refine-subst'.
55
56 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
57 Add face condition `min-colors 88' with shades of red.
58 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
59 `min-colors 88' with shades of green.
60 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
61 `min-colors 88' with shades of yellow.
62
6df9112c
GM
632012-05-24 Glenn Morris <rgm@gnu.org>
64
ead5edc0
GM
65 * paths.el (prune-directory-list, remote-shell-program): Move to...
66 * files.el (prune-directory-list, remote-shell-program): ...here.
67 For the latter, delay initialization, prefer ssh, just search PATH.
68
f18b81e6
GM
69 * paths.el (term-file-prefix): Move to faces.el (the only user).
70 * faces.el (term-file-prefix): Move here, make it a defcustom.
71
ee2f89a6
GM
72 * paths.el (news-directory, news-path, news-inews-program):
73 Move to gnus/nnspool.el.
61a583ca 74
f8815e4c
GM
75 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
76
c8f3b42c
GM
77 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
78 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
79 Make the latter a defcustom, with a delayed initialization.
80
6df9112c
GM
81 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
82 These were deleted from Gnus itself late 2010.
83
5dadff36
JB
842012-05-22 Juanma Barranquero <lekktu@gmail.com>
85
9e1701c6
JB
86 * progmodes/which-func.el (which-func-ff-hook):
87 Check against user-error, not error.
88
bd7239f5 89 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
90 cl-specs.el, which no longer exists.
91
3290526d
GM
922012-05-22 Glenn Morris <rgm@gnu.org>
93
94 * info.el (info-emacs-bug): New command.
95 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
96 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
97
ff0c3cfb
GM
982012-05-21 Glenn Morris <rgm@gnu.org>
99
100 * makefile.w32-in (update-subdirs-SH):
101 * Makefile.in (update-subdirs): Update for moved update-subdirs.
102
5814f126
SM
1032012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
104
a52c0aa0
SM
105 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
106
5814f126
SM
107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
108 Simplify Maven regexp, and make sure the file can't start with a space
109 (bug#11517).
110
b847032c
GM
1112012-05-21 Glenn Morris <rgm@gnu.org>
112
113 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
114 Scrap superfluous subshells.
115
3858bfe7
SM
1162012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
119 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
120
d14b0029
JB
1212012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
122
123 * calc/calc.el (calc-ensure-consistent-units): New variable.
124
a52c0aa0
SM
125 * calc/calc-units.el (math-consistent-units-p)
126 (math-check-unit-consistency): New functions.
127 (calc-quick-units, calc-convert-units):
128 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
129 is non-nil.
d14b0029
JB
130 (calc-extract-units): Fix typo.
131
60c4db3a
SM
1322012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
133
77f3b62e
SM
134 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
135
60c4db3a
SM
136 * textmodes/flyspell.el: Commenting style, plus code simplifications.
137 (flyspell-default-deplacement-commands): Don't spell check after
138 repeated window/frame switches (e.g. triggered by mouse-movement).
139 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
140 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
141 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
142 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
143 Remove unused vars.
144 (flyspell-get-casechars, flyspell-get-not-casechars):
145 Simplify; Don't bother removing a ] just to add it back.
146 * textmodes/ispell.el (ispell-program-name): Use executable-find.
147
b1a10716
RS
1482012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
149
150 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
151 New functions.
bd7239f5 152 (math-function-table): Add support for more C functions.
b1a10716 153
3f1b25b5
AM
1542012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
155
156 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
157 (flyspell-debug-signal-word-checked): Protect delay handling for
158 otherchars against empty otherchars.
159
b581bb5c
SM
1602012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
163 their respective macro declarations.
164 * skeleton.el (define-skeleton):
165 * progmodes/compile.el (define-compilation-mode):
166 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
167 (define-ibuffer-filter):
168 * emacs-lisp/generic.el (define-generic-mode):
169 * emacs-lisp/easy-mmode.el (define-minor-mode)
170 (define-globalized-minor-mode):
171 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
172 * emacs-lisp/byte-run.el (defsubst):
173 * custom.el (deftheme): Add doc-string metadata.
174
70b8ef8f
SM
1752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
178
b1198e17
SM
1792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
180
9abdc45d
SM
181 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
182
b1198e17
SM
183 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
184 * emacs-lisp/cl-macs.el: Idem.
185 * emacs-lisp/cl-specs.el: Remove.
186
4735906a
SM
1872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 Minor renaming of internal CL functions and variables.
190 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
191 (cl--position): Rename from cl-position.
192 (cl--delete-duplicates): Rename from cl-delete-duplicates.
193 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
194 (cl--random-state): Rename from *random-state*.
195
ac348012
SM
1962012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
199 parens around the arg list (bug#11499).
200
a0a79cde
JL
2012012-05-17 Juri Linkov <juri@jurta.org>
202
203 * isearch.el (word-search-regexp, word-search-backward)
204 (word-search-forward, word-search-backward-lax)
205 (word-search-forward-lax): Move functions from search.c
206 (bug#10145, bug#11381).
207
65034a51
AM
2082012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
209
210 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
211 (flyspell-debug-signal-word-checked): Delay for otherchars as for
212 normal word components.
213
1a72a195
SM
2142012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * minibuffer.el (completion--sifn-requote): Fix last change.
217 (minibuffer-local-must-match-filename-map):
218 Move define-obsolete-variable-alias before its var.
219
fdb058c2
SM
2202012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
221
c41045e6
SM
222 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
223
036dfb8b
SM
224 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
225 behavior.
226 (completion--string-equal-p): New function.
227 (completion--twq-all): Use it to get better assertion failure data.
228
2473256d
SM
229 Only handle ".." and '..' quoting in shell-mode (bug#11466).
230 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
231 (shell--requote-argument): New functions.
232 (shell-completion-vars): Use them.
233 (shell--parse-pcomplete-arguments): Rename from
234 shell-parse-pcomplete-arguments.
235 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
236 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
237 Obey comint-file-name-quote-list.
238
fdb058c2
SM
239 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
240 (smie-indent-keyword): Use it.
241
51fa99f1
SM
2422012-05-14 Stefan Merten <smerten@oekonux.de>
243
244 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
245
e18afed7 2462012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
247
248 * net/rlogin.el (rlogin-mode-map): Fix last change.
249
e18afed7 2502012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
251
252 * mail/smtpmail.el (smtpmail-send-command): Send the command and
253 the following \r\n using a single `process-send-string', since the
254 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 255 with two `process-send-string's (Bug#11444).
8633b1f4 256
e18afed7 2572012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 258
fdb058c2
SM
259 * shell.el (shell-parse-pcomplete-arguments):
260 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 261
2d21d7f6
WJ
2622012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
263
e18afed7 264 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
265 (image-transform-scale, image-transform-right-angle-fudge): New vars.
266 (image-transform-width, image-transform-fit-width): New functions.
267 (image-transform-properties): Use them.
268 (image-transform-check-size): New function.
269 (image-toggle-display-image): Use it (for testing).
270 (image-transform-set-rotation): Reduce angle mod 360.
271 Delete obsolete comment.
272
7102e6d0
WJ
2732012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
274
275 * image-mode.el: Fix scaling (bug#11399).
276 (image-transform-resize): Doc fix.
277 (image-transform-properties): Default scale is 1 and height should
278 be an integer.
279
06bc5e6e
SM
2802012-05-13 Johan Bockgård <bojohan@gnu.org>
281
282 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
283 than hard-coding `car', to fix misbehavior when moving forward.
284
0ae03b6a
CY
2852012-05-13 Chong Yidong <cyd@gnu.org>
286
287 * emacs-lisp/tabulated-list.el (tabulated-list-format)
288 (tabulated-list-entries, tabulated-list-padding)
289 (tabulated-list-sort-key): Make permanent-local.
290
291 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
292 (electric-buffer-list): Put electric buffer menu
293 command descriptions in this docstring, instead of the docstring
294 of electric-buffer-menu-mode. Code cleanups.
295 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
296 Electric-buffer-menu-mode.
297 (electric-buffer-update-highlight): Minor code cleanup.
298
205a7391
MA
2992012-05-13 Michael Albinus <michael.albinus@gmx.de>
300
301 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
302 (Bug#11447)
303
e5bd0a28
SM
3042012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 Move define-obsolete-variable-alias before the var's definition.
307 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
308 * tooltip.el (tooltip-hook):
309 * textmodes/reftex-toc.el (reftex-toc-map):
310 * textmodes/reftex-sel.el (reftex-select-label-map)
311 (reftex-select-bib-map):
312 * textmodes/reftex-index.el (reftex-index-map)
313 (reftex-index-phrases-map):
314 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
315 * progmodes/meta-mode.el (meta-mode-map):
316 * novice.el (disabled-command-hook):
317 * loadhist.el (unload-hook-features-list):
318 * frame.el (blink-cursor):
319 * files.el (find-file-not-found-hooks, write-file-hooks)
320 (write-contents-hooks):
321 * emulation/tpu-edt.el (GOLD-map):
322 * emacs-lock.el (emacs-lock-from-exiting):
323 * emacs-lisp/generic.el (generic-font-lock-defaults):
324 * emacs-lisp/chart.el (chart-map):
325 * dos-fns.el (register-name-alist):
326 * dired-x.el (dired-omit-files-p):
327 * desktop.el (desktop-enable):
328 * cus-edit.el (custom-mode-hook):
329 * buff-menu.el (buffer-menu-mode-hook):
330 * bookmark.el (bookmark-read-annotation-text-func)
331 (bookmark-exit-hooks):
332 * allout.el (allout-mode-deactivate-hook)
333 (allout-exposure-change-hook, allout-structure-added-hook)
334 (allout-structure-deleted-hook, allout-structure-shifted-hook):
335 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
336 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
337 comes before the corresponding variable's definition.
338
ac59c2f6
CY
3392012-05-12 Chong Yidong <cyd@gnu.org>
340
341 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
342 (Buffer-menu-mouse-select): Restore function (Bug#11459).
343 (Buffer-menu-mode-map): Bind it.
344 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 345
dee6c9a3
SM
3462012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
347
2171cea5
SM
348 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
349 (prolog-upper-case-string, prolog-lower-case-string)
350 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
351 (prolog-use-smie, prolog-smie-grammar): New vars.
352 (prolog-smie-forward-token, prolog-smie-backward-token)
353 (prolog-smie-rules): New funs.
354 (prolog-comment-indent): Remove.
355 (prolog-mode-variables): Use default comment indentation instead.
356 Setup SMIE.
357 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
358 (prolog-mode): Don't call them any more.
359 (prolog-electric-colon, prolog-electric-dash)
360 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
361
aa0382bd
SM
362 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
363
dbacb4bd
SM
364 * minibuffer.el (completion--twq-all): Again, allow case differences.
365
13bdd94c
SM
366 * term.el: Move keymap initialization code to be more idiomatic.
367 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
368 (term-terminal-menu): Move initialization into declaration.
369 (term-escape-char): Let the user set it in her .emacs.
370
ff46c759
SM
371 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
372 Provide SMIE-based indentation (not enabled by default yet).
373 (sh-mode-map): Don't bind electric keys.
374 Use electric-pair-mode instead of skeleton-pair.
375 (sh-assignment-regexp): Fit within 80 columns.
376 (sh-indent-supported): Specify actual shell name instead of boolean.
377 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
378 (sh-maybe-here-document): Use it. Make obsolete.
379 (sh-electric-here-document-mode) New minor mode.
380 (sh-mode): Use it. Don't set sh-indent-supported-here here.
381 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
382 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
383 (sh-smie-rc-grammar, sh-use-smie): New vars.
384 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
385 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
386 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
387 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
388 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
389 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
390 (sh-set-shell): Use smie-setup if requested.
391
dee6c9a3
SM
392 * term.el (term-set-escape-char): Properly set term-escape-char.
393 See http://stackoverflow.com/questions/10524656.
394
9f9aa044
CY
3952012-05-10 Chong Yidong <cyd@gnu.org>
396
397 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
398 Use url-generic-parse-url, and handle host names and Windows
399 filenames properly.
400 (ffap-url-unwrap-remote): Use url-generic-parse-url.
401 (ffap-url-unwrap-remote): Accept list values, specifying a list of
402 URL schemes to work on.
403 (ffap--toggle-read-only): New function.
404 (ffap-read-only, ffap-read-only-other-window)
405 (ffap-read-only-other-frame): Use it.
406 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
407 necessary for ffap-url-unwrap-remote.
408
836d29b3
DA
4092012-05-10 Dave Abrahams <dave@boostpro.com>
410
411 * cus-start.el (create-lockfiles): Add it.
412
00fd78ed
CY
4132012-05-09 Chong Yidong <cyd@gnu.org>
414
415 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
416 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
417
666b903b 4182012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
419
420 * shell.el (shell-completion-vars): Fix last change (bug#11348).
421
666b903b 4222012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
423
424 * ansi-color.el (ansi-color-process-output): Check for validity of
425 comint-last-output-start before using it. This avoids a bad
426 interaction with gdb-mi's input/output buffer.
427
666b903b 4282012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
429
430 * files.el (dir-locals-read-from-file):
431 Mention dir-locals in any error message.
432
666b903b 4332012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
434
435 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
436 package (Bug#11410).
437
f677562b
CY
438 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
439 variables into description.
440
666b903b 4412012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
442
443 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
444 shell-delimiter-argument-list (bug#11348).
445 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
446
b499d8d0
JB
4472012-05-09 Juanma Barranquero <lekktu@gmail.com>
448
8f6b6da8
JB
449 * textmodes/rst.el: Silence byte-compiler warnings.
450 (rst-re-alist, rst-reset-section-caches): Move around.
451 (rst-re): Use `characterp', not `char-valid-p'.
452 (font-lock-beg, font-lock-end): Declare.
453
4824146a
JB
454 * progmodes/idlw-shell.el (specs): Remove reference to deleted
455 variable `idlwave-shell-activate-alt-keybindings' and simplify.
456
b499d8d0
JB
457 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
458
ad89bb83
GM
4592012-05-08 Glenn Morris <rgm@gnu.org>
460
461 * files.el (auto-mode-alist): Treat ".make" like ".mk".
462
8bba5a75
SM
4632012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
464
49ed9c8e
SM
465 * vc/log-edit.el: Add GNU coding standards highlighting.
466 (log-edit-font-lock-gnu-style)
467 (log-edit-font-lock-gnu-keywords): New vars.
468 (log-edit-font-lock-keywords): New fun.
469 (log-edit-mode): Don't fold case in font-lock.
470 (log-edit-font-lock-keywords): Do not assume case-folding.
471
07d00b56
SM
472 * imenu.el: Misc cleanup. Make docstrings out of comments.
473 Use lexical-binding.
474 (imenu--index-alist, imenu--last-menubar-index-alist)
475 (imenu-menubar-modified-tick): Use defvar-local.
476 (imenu--split-menu): Remove unused var.
477 (imenu--cleanup-seen): Declare as global.
478 (imenu--cleanup): Use dolist.
479
8bba5a75
SM
480 * subr.el (defvar-local): Add debug spec and doc-string position.
481
5075bdb5
GM
4822012-05-08 Glenn Morris <rgm@gnu.org>
483
c052c904
GM
484 * lisp/language/burmese.el, language/cham.el, language/czech.el:
485 * language/english.el, language/georgian.el, language/greek.el:
486 * language/japanese.el, language/khmer.el, language/korean.el:
487 * language/lao.el, language/misc-lang.el, language/romanian.el:
488 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
489 * language/thai.el, language/utf-8-lang.el:
490 Remove no-byte-compile setting.
491
5075bdb5
GM
492 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
493
06f679a7
AH
4942012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
495
496 * progmodes/make-mode.el (makefile-browse):
497 Remove unnecessary interactive. (Bug#11324)
498
03794570
GM
4992012-05-07 Glenn Morris <rgm@gnu.org>
500
af8630f4
GM
501 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
502
03794570
GM
503 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
504
f0809a9d
SM
5052012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
506
28be5ce7
SM
507 * loadup.el: Preload newcomment.el.
508 * newcomment.el: Move autoload-only code to toplevel.
509
f0809a9d
SM
510 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
511 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
512 Handle new :right-align column property.
513 (tabulated-list-print-col): Idem, plus use `display' text-property to
514 try and preserve alignment for variable pitch fonts.
515
1241b724
CY
5162012-05-07 Chong Yidong <cyd@gnu.org>
517
518 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
519 (tabulated-list-use-header-line): New var.
520 (tabulated-list-init-header): Use it.
521 (tabulated-list-print-fake-header): New function.
522 (tabulated-list-print): Use it.
523 (tabulated-list-sort-button-map): Add non-header-line commands.
524 (tabulated-list-init-header): Add column name property to basic
525 labels as well.
526 (tabulated-list-col-sort): Handle non-header-line button case.
527 (tabulated-list--sort-by-column-name): Fix a corner case.
528
f0809a9d
SM
529 * buff-menu.el (list-buffers--refresh):
530 Handle Buffer-menu-use-header-line.
1241b724 531
e5f9458f
CY
5322012-05-06 Chong Yidong <cyd@gnu.org>
533
534 * buff-menu.el: Convert to Tabulated List mode.
535 (Buffer-menu-buffer+size-width): Make obsolete.
536 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
537 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
538 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
539 documentation into docstring of buffer-menu.
540 (Buffer-menu-toggle-files-only): Add an informative message.
541 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
542 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
543 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
544 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
545 (Buffer-menu-execute, Buffer-menu-select)
546 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
547 (Buffer-menu-bury): Use Tabulated List machinery.
548 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
549 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 550 Delete.
e5f9458f
CY
551 (list-buffers--refresh): New function.
552 (list-buffers-noselect): Use it.
553 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
554 (Buffer-menu--pretty-file-name): New helper functions.
555
556 * loadup.el: Preload tabulated-list.
557
558 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
559 tabulated-list-sort-column.
560 (tabulated-list-init-header): Add the initial aligning space even
561 if tabulated-list-padding is zero.
562
e129292c
CS
5632012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
564
565 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
566 whose cdr is not a cons cell correctly (bug#11038).
567
6632d361
CY
5682012-05-06 Chong Yidong <cyd@gnu.org>
569
e129292c
CS
570 * emacs-lisp/tabulated-list.el (tabulated-list-format):
571 Accept additional plist in column descriptors.
6632d361
CY
572 (tabulated-list-init-header): Obey it.
573 (tabulated-list-get-entry): New function.
574 (tabulated-list-put-tag): Use it. Use string-width instead of
575 length.
576 (tabulated-list--column-number): New function.
577 (tabulated-list-print): Use it.
e129292c
CS
578 (tabulated-list-print-col): New function.
579 Set `tabulated-list-column-name' property on each column's text.
6632d361 580 (tabulated-list-print-entry): Use it.
e129292c
CS
581 (tabulated-list-delete-entry, tabulated-list-set-col):
582 New functions.
6632d361
CY
583 (tabulated-list-sort-column): New command (Bug#11337).
584
3cc99f68
CY
585 * buff-menu.el (list-buffers): Move C-x C-b binding from
586 buff-menu.el to bindings.el.
587
588 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
589 :advertised-binding feature.
590
52b61776
TN
5912012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
592
593 * progmodes/compile.el (compilation-internal-error-properties):
594 Calculate start position correctly when end-col is set but
595 end-line is not (Bug#11382).
596
ebfe2597
WJ
5972012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
598
599 * man.el (Man-unindent): Use text-property-default-nonsticky to
600 prevent untabify from inheriting face properties (Bug#11408).
601
a43f98b3
GM
6022012-05-05 Glenn Morris <rgm@gnu.org>
603
48176e8b
GM
604 * calendar/cal-html.el: Optionally include holidays in the output.
605 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
606 (cal-html-holidays): New option.
607 (cal-html-css-default): Add holiday entry.
608 (holiday-in-range): Autoload it.
609 (cal-html-htmlify-entry): Add optional class argument.
610 (cal-html-htmlify-list): Add optional holidays argument.
611 (cal-html-insert-agenda-days): Include holidays in the output.
612 (cal-html-one-month): Maybe include holidays.
613
a43f98b3
GM
614 * calendar/holidays.el (holiday-in-range):
615 Move here from cal-tex-list-holidays.
616 * calendar/cal-tex.el (cal-tex-list-holidays):
617 Make it an obsolete alias for holiday-in-range. Update all callers.
618
fef9d149 6192012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
620
621 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
622 Nextstep.
623
248da2f4
RW
6242012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
625
626 * files.el (file-auto-mode-skip): New var.
627 (set-auto-mode-1): Use it.
628
f95e9344
SM
6292012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
630
df96ab1e
SM
631 * repeat.el: Use lexical-binding.
632 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
633 (repeat-undo-count): Remove.
634 (repeat):
635 * progmodes/octave-mod.el (octave-abbrev-start):
636 * progmodes/f90.el (f90-abbrev-start):
637 * face-remap.el (text-scale-adjust):
638 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
639
5342bb06
SM
640 * emacs-lisp/pcase.el (pcase--let*): New function.
641 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
642 a bit more.
643 (pcase--split-pred): Be more clever about ruling out overlap between
644 a predicate and some constant pattern.
645 (pcase--q1): Use `null' instead of (eq foo nil).
646
f95e9344
SM
647 * subr.el (setq-local, defvar-local): New macros.
648 (kbd): Redefine as an alias.
649 (with-selected-window): Leave unrelated frames alone.
650 (set-temporary-overlay-map): New function.
651
71873e2b
SM
6522012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * subr.el (user-error): New function.
655 * window.el (switch-to-buffer):
656 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
657 (smerge-match-conflict):
658 * simple.el (previous-matching-history-element)
659 (next-matching-history-element, goto-history-element, undo-more)
660 (undo-start):
661 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
662 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
663 (next-file, tags-loop-scan, list-tags, complete-tag):
664 * progmodes/compile.el (compilation-loop):
665 * mouse.el (mouse-minibuffer-check):
666 * man.el (Man-bgproc-sentinel, Man-goto-page):
667 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
668 (Info-history-forward, Info-follow-reference, Info-menu)
669 (Info-extract-menu-item, Info-extract-menu-counting)
670 (Info-forward-node, Info-backward-node, Info-next-menu-item)
671 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
672 (Info-next-reference, Info-prev-reference, Info-index)
673 (Info-index-next, Info-follow-nearest-node)
674 (Info-copy-current-node-name):
675 * imenu.el (imenu--make-index-alist)
676 (imenu-default-create-index-function, imenu-add-to-menubar):
677 * files.el (basic-save-buffer, recover-file):
678 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
679 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
680 (checkdoc-message-text, checkdoc-defun):
681 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
682 * cus-edit.el (customize-changed-options, customize-rogue)
683 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
684 (custom-variable-mark-to-reset-standard)
685 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
686 (custom-file):
687 * completion.el (check-completion-length):
688 * comint.el (comint-search-arg)
689 (comint-previous-matching-input-string-position)
690 (comint-previous-matching-input)
691 (comint-replace-by-expanded-history-before-point, comint-send-input)
692 (comint-copy-old-input, comint-backward-matching-input)
693 (comint-goto-process-mark, comint-set-process-mark):
694 * calendar/calendar.el (calendar-cursor-to-date): Use it.
695 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
696
8a61ee22
SM
6972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
698
66408d1e
SM
699 * dabbrev.el (dabbrev--ignore-case-p): New function.
700 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
701 Use it.
702
8a61ee22
SM
703 * files.el (automount-dir-prefix): Mark as obsolete.
704
3c74813a
GM
7052012-05-04 Glenn Morris <rgm@gnu.org>
706
707 * patcomp.el, play/bruce.el: Move to obsolete/.
708
0bfcf5c5
PE
7092012-05-04 Paul Eggert <eggert@cs.ucla.edu>
710
711 Fix minor Y10k bugs.
712 * arc-mode.el (archive-unixdate):
713 * autoinsert.el (auto-insert-alist):
714 * calc/calc-forms.el (math-this-year):
715 * emacs-lisp/copyright.el (copyright-current-year)
716 (copyright-update-year, copyright):
717 * tar-mode.el (tar-clip-time-string):
718 * time.el (display-time-update):
719 Don't assume years have 4 digits.
720
78f3273a
CY
7212012-05-04 Chong Yidong <cyd@gnu.org>
722
723 * dos-w32.el (file-name-buffer-file-type-alist)
724 (direct-print-region-use-command-dot-com):
725 * ffap.el (ffap-menu-regexp):
726 * find-file.el (ff-special-constructs):
727 * follow.el (follow-debug):
728 * forms.el (forms--debug):
729 * iswitchb.el (iswitchb-all-frames):
730 * ido.el (ido-all-frames):
731 * emacs-lisp/timer.el (timer-max-repeats):
732 * mail/feedmail.el (feedmail-mail-send-hook)
733 (feedmail-mail-send-hook-queued):
734 * mail/footnote.el (footnote-signature-separator):
735 * mail/mailabbrev.el (mail-alias-separator-string)
736 (mail-abbrev-mode-regexp):
737 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
738 * progmodes/idlwave.el (idlwave-libinfo-file)
739 (idlwave-default-completion-case-is-down)
740 (idlwave-library-routines): Convert defvars to defcustoms.
741
742 * mail/rmail.el (rmail-decode-mime-charset):
743 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
744 (idlwave-shell-fix-inserted-breaks)
745 (idlwave-shell-activate-alt-keybindings)
746 (idlwave-shell-use-breakpoint-glyph):
747 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
748
f7ae6719
SM
7492012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
752
47086495
WS
7532012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
754
755 * progmodes/verilog-mode.el (font-lock-keywords):
756 Fix mis-highligting auto. Reported by Craig Barner.
757 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
758 defines from global name space. Reported by Dan Dever.
759 (verilog-auto-reset, verilog-auto-reset-widths)
760 (verilog-auto-tieoff): Support using unbased numbers for
761 AUTORESET and AUTOTIEOFF.
762 (verilog-submit-bug-report): Update variable list.
763 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
764 parenthesis from not matching. Reported by Michael Rytting.
765 (verilog-auto-template-lint): Fix hash error when linting modules
766 with no used templates.
767 (verilog-warn, verilog-warn-error)
768 (verilog-warn-fatal): When non-interactive report multiple
769 warnings before exiting. Suggested by Brad Dobbie.
770 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
771 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
772 to report unused template errors. Reported by Brad Dobbie.
773 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
774 nets, bug438. Reported by Vns Blore.
775 (verilog-auto-inout-module, verilog-auto-reg)
776 (verilog-read-decls, verilog-read-sub-decls-sig)
777 (verilog-signals-edit-wire-reg, verilog-signals-with):
778 Fix passing of Verilog data types in ANSI input/output ports
779 such as "output logic" into the AUTOs. Special case "wire" and
780 "reg" for backwards compatibility presuming Verilog 2001.
781 (verilog-auto-ascii-enum): Add "auto enum" as alias.
782 (verilog-preprocess): Fix replication of preprocess output.
783 Reported by Brad Dobbie.
784 (verilog-auto-inst-interfaced-ports):
785 Create verilog-auto-inst-interfaced-ports, bug429.
786 Reported by Julian Gorfajn.
787 (verilog-after-save-font-hook)
788 (verilog-before-save-font-hook): New variable.
789 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
790 (verilog-save-font-mods): Wrap disabling fontification, reported
791 by David Rogoff.
792 (verilog-do-indent, verilog-pretty-declarations-auto)
793 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
794 Reported by Pierre-David Pfister.
795 (verilog-set-auto-endcomments): Fix endtask auto comments outside
796 of class declarations, bug292. Reported by Kevin Heilman.
797 (verilog-read-decls): Fix 'parameter type' not appearing in
798 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
799 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
800 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
801 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
802 Reported by David Kravitz.
803
8042012-05-03 Michael McNamara <mac@mail.brushroad.com>
805
806 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
807 assignment with tests in ifs and for loops.
808 (verilog-extended-complete-re, verilog-complete-reg): Change so
809 that DPI inport functions don't look like fuction declarations.
810 (verilog-pretty-expr): Don't line up assignment
811 operations to the test and increment in if and for loops
812 (verilog-extended-complete-re, verilog-complete-reg): Change so
813 that DPI inport functions don't look like fuction declarations
814
2e51d4b5
KH
8152012-05-03 Kenichi Handa <handa@m17n.org>
816
817 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
818 decoding, and show a warning message without signalling an error
819 (Bug#11282).
820
2bd785a2
SM
8212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/bytecomp.el
824 (byte-compile-file-form-custom-declare-variable): Compile all elements,
825 since cconv.el might have introduced :fun-body, internal-make-closure,
826 and friends for bytecomp to handle (bug#11391).
827 * custom.el (defcustom): Avoid ((λ ..) ..).
828
99d27583
SM
8292012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
832
55a71479
JB
8332012-05-02 Juanma Barranquero <lekktu@gmail.com>
834
835 * notifications.el (dbus-debug):
836 * term/linux.el (gpm-mouse-enable):
837 * term/screen.el (xterm-register-default-colors): Declare.
838
7b97c764
CY
8392012-05-02 Chong Yidong <cyd@gnu.org>
840
2bc356d7
CY
841 * cus-start.el (gc-cons-percentage, exec-suffixes)
842 (dos-display-scancodes, dos-hyper-key, dos-super-key)
843 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
844 (make-cursor-line-fully-visible, void-text-area-pointer)
845 (font-list-limit): Add customization data.
846
7b97c764
CY
847 * allout.el (allout-exposure-change-functions)
848 (allout-structure-added-functions)
849 (allout-structure-deleted-functions)
850 (allout-structure-shifted-functions): Rename abnormal hooks from
851 *-hook, and convert to defcustoms.
5d3385a0
JB
852 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
853 Convert to defcustoms.
7b97c764
CY
854 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
855
856 * allout-widgets.el: Hook callers changed.
857
90207a15 8582012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
859
860 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
861 the yanked message in preference to the default value of
862 buffer-file-coding-system.
863
90207a15 8642012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 865
5d3385a0
JB
866 * window.el (display-buffer--action-function-custom-type):
867 Fix entry.
d9558cad 868
90207a15 8692012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
870
871 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
872
d80ac57b
GM
8732012-05-01 Glenn Morris <rgm@gnu.org>
874
976f7668
GM
875 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
876
beb83b5a
GM
877 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
878
d80ac57b
GM
879 * cus-edit.el (custom-variable-documentation): Simplify with format.
880
b593d6a9
AH
8812012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
882 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * simple.el (suggest-key-bindings, execute-extended-command):
885 Move from keyboard.c.
886
782fbf2a
CY
8872012-05-01 Chong Yidong <cyd@gnu.org>
888
889 * follow.el: Eliminate advice.
890 (set-process-filter, process-filter, sit-for): Advice deleted.
891 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
892 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
893 Vars deleted.
782fbf2a
CY
894 (follow-auto): Use a :set function.
895 (follow-mode): Rewritten. Don't advise process filters.
896 (follow-switch-to-current-buffer-all, follow-scroll-up)
897 (follow-scroll-down): Assume follow-mode is bound.
898 (follow-comint-scroll-to-bottom)
899 (follow-align-compilation-windows): New functions.
900 (follow--window-sorter): New function.
901 (follow-all-followers): Use it to explicitly sort windows by their
902 positions; don't make assumptions about next-window order.
903 (follow-windows-start-end, follow-delete-other-windows-and-split)
904 (follow-calc-win-start): Doc fix.
905 (follow-windows-aligned-p, follow-select-if-visible): Don't call
906 vertical-motion unnecessarily.
907 (follow-adjust-window): New function.
908 (follow-post-command-hook): Use it.
909 (follow-call-set-process-filter, follow-call-process-filter)
910 (follow-intercept-process-output, follow-tidy-process-filter-alist)
911 (follow-stop-intercept-process-output, follow-generic-filter):
912 Functions deleted.
913 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
914 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
915 New functions, replacing advice on scroll-bar-* commands.
87233a14 916 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
917
918 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
919 (comint-postoutput-scroll-to-bottom): Use it.
920 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 921
290af740
GM
9222012-05-01 Glenn Morris <rgm@gnu.org>
923
924 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
925 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
926 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
927 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
928 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
929 Remove no-byte-compile setting.
930
6eac8dc9
SM
9312012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * minibuffer.el (completion-table-with-quoting): Fix compatibility
934 all-completions code to not return a number in the last cdr.
935
9cc7819c
LL
9362012-04-30 Leo Liu <sdl.web@gmail.com>
937
938 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
939 read-only error.
940
c93b886f
CY
9412012-04-29 Chong Yidong <cyd@gnu.org>
942
943 * follow.el (follow-calc-win-end): Rewrite to handle partial
944 screen lines correctly (Bug#8390).
945 (follow-avoid-tail-recenter): Minor cleanup.
946
8b6c19f4
SM
9472012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 Avoid the obsolete `assoc' package.
950 * speedbar.el (speedbar-refresh): Avoid adelete.
951 (speedbar-file-lists): Simplify and avoid aput.
952 * man.el (Man--sections, Man--refpages): New vars, replacing
953 Man-sections-alist and Man-refpages-alist.
954 (Man-build-section-alist, Man-build-references-alist):
955 Use them; avoid aput.
956 (Man--last-section, Man--last-refpage): New vars.
957 (Man-follow-manual-reference): Use them.
958 Use the `default' arg of completing-read.
959 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
960
c5bb7569
CY
9612012-04-27 Chong Yidong <cyd@gnu.org>
962
d1d2e2e8
CY
963 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
964
15cd8efd
CY
965 * startup.el (x-apply-session-resources): New function.
966
967 * term/ns-win.el (ns-initialize-window-system):
968 * term/w32-win.el (w32-initialize-window-system):
969 * term/x-win.el (x-initialize-window-system): Use it to properly
970 set menu-bar-mode and other vars from X resources, even if the
971 initial frame is not a window-system frame (Bug#2299).
972
c5bb7569
CY
973 * subr.el (read-key): Avoid running filter function when setting
974 up temporary tool bar entries (Bug#9922).
975
a8e7d6d7 9762012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
977
978 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
979 (Bug#11344)
980
a8e7d6d7 9812012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
982
983 * select.el (xselect--encode-string): New function, split from
984 xselect-convert-to-string.
985 (xselect-convert-to-string): Use it.
986 (xselect-convert-to-filename, xselect-convert-to-os)
987 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
988 returned strings are properly encoded (Bug#11315).
989
a8e7d6d7 9902012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
991
992 * simple.el (delete-active-region): Move to killing custom group.
993
a8e7d6d7 9942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
995
996 * progmodes/which-func.el (which-func-current): Quote %
997 characters for mode-line processing.
998
578c1d4b 9992012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1000
1001 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1002 reaching eob (Bug#11286).
1003
a8e7d6d7 10042012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1005
1006 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1007 (gdb): Make it buffer-local and init to zero.
1008 (gdb-control-commands-regexp): New variable.
1009 (gdb-send): Don't wrap in "-interpreter-exec console" if
1010 gdb-control-level is positive. Increment gdb-control-level
1011 whenever the command matches gdb-control-commands-regexp, and
1012 decrement it each time the command is "end". (Bug#11279)
1013
a8e7d6d7 10142012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1015
1016 * window.el (adjust-window-trailing-edge, enlarge-window)
1017 (shrink-window, window-resize):
1018 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1019 windows (Bug#11276).
1020
b3608390
CY
10212012-04-27 Chong Yidong <cyd@gnu.org>
1022
1023 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1024 fix "missing prefix" warning. All callers changed.
b3608390 1025
797e6e88
SM
10262012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * emacs-lisp/assoc.el: Move to obsolete/.
1029
e95a67dc
SM
10302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1031
657c21e4 1032 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1033
1034 * term/ns-win.el (ns-define-service):
1035 * progmodes/pascal.el (pascal-goto-defun):
1036 * progmodes/js.el (js--read-tab):
1037 * progmodes/etags.el (tags-lazy-completion-table):
1038 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1039 * emacs-lisp/ewoc.el (ewoc--wrap):
1040 * emacs-lisp/assoc.el (aput, adelete, amake):
1041 * doc-view.el (doc-view-convert-current-doc):
1042 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1043
cb3e7ae0
CY
10442012-04-26 Chong Yidong <cyd@gnu.org>
1045
dce04f7f
CY
1046 * image.el (image-type-from-buffer): Only return supported image
1047 type (Bug#9045).
1048
cb3e7ae0
CY
1049 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1050 value, for symmetry with diff-end-of-hunk.
1051 (diff-split-hunk, diff-find-source-location)
1052 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1053 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1054 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1055 compute the relevant hunk or file properly (Bug#6005).
1056 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1057
0d42eb3e
SM
10582012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * vc/vc-mtn.el:
1061 * vc/vc-hg.el:
1062 * vc/vc-git.el:
1063 * vc/vc-dir.el:
1064 * vc/vc-cvs.el:
1065 * vc/vc-bzr.el:
1066 * vc/vc-arch.el:
1067 * vc/vc.el: Replace lexical-let by lexical-binding.
1068 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1069 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1070 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1071
f08ae1c9
CY
10722012-04-26 Chong Yidong <cyd@gnu.org>
1073
8b71081d
CY
1074 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1075 (diff-mode-shared-map): Bind it to / and [remap undo].
1076
f08ae1c9
CY
1077 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1078 (ediff-window-setup-function): Use it as the default, to set up
1079 windows based on whether the current frame is graphical (Bug#2138).
1080 (ediff-choose-window-setup-function-automatically): Make obsolete.
1081
1082 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1083
ef24141c
SM
10842012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1085
cc356a5d
SM
1086 * ffap.el: Remove old code for obsolete package.
1087 (ffap-complete-as-file-p): Remove.
1088
b4ff4f1f
SM
1089 Use completion-table-with-quoting for comint and pcomplete.
1090 * comint.el (comint--unquote&requote-argument)
1091 (comint--unquote-argument, comint--requote-argument): New functions.
1092 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1093 (comint-quote-filename): Use regexp-opt-charset.
1094 (comint--common-suffix, comint--common-quoted-suffix)
1095 (comint--table-subvert): Remove.
1096 (comint-unquote-function, comint-requote-function): New vars.
1097 (comint--complete-file-name-data): Use them with
1098 completion-table-with-quoting.
1099 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1100 * pcomplete.el (pcomplete-arg-quote-list)
1101 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1102 (pcomplete-unquote-argument-function): Default to non-nil.
1103 (pcomplete-unquote-argument): Simplify.
1104 (pcomplete--common-quoted-suffix): Remove.
1105 (pcomplete-requote-argument-function): New var.
1106 (pcomplete--common-suffix): New function.
1107 (pcomplete-completions-at-point): Use completion-table-with-quoting
1108 and completion-table-subvert.
1109
79c4eeb4
SM
1110 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1111 (minibuffer--double-dollars): Preserve properties.
1112 (completion--sifn-requote): New function.
1113 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1114
ef24141c
SM
1115 * minibuffer.el: Add support for completion of quoted/escaped data.
1116 (completion-table-with-quoting, completion-table-subvert): New funs.
1117 (completion--twq-try, completion--twq-all): New functions.
1118 (completion--nth-completion): New function.
1119 (completion-try-completion, completion-all-completions): Use it.
1120
784e7d6e
LL
11212012-04-25 Leo Liu <sdl.web@gmail.com>
1122
dd2ac746
SM
1123 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1124 Use compilation-message if available to find real filename.
784e7d6e 1125
07875ee7
CY
11262012-04-25 Chong Yidong <cyd@gnu.org>
1127
1128 * vc/diff-mode.el (diff-setup-whitespace): New function.
1129 (diff-mode): Use it.
1130
1131 * vc/diff.el (diff-sentinel):
1132 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1133 Whitespace mode variables based on diff style (Bug#8612).
1134
5055880d
LL
11352012-04-25 Leo Liu <sdl.web@gmail.com>
1136
daf75653
LL
1137 * progmodes/python.el (python-send-region): Add suffix .py to the
1138 temp file.
1139
5055880d
LL
1140 * files.el (auto-mode-alist): Use javascript-mode instead.
1141
db9b177b
AH
11422012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1143
ef24141c 1144 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1145
1146 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1147 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1148 references, see Bug#9.
ef24141c 1149 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1150 when receiving a fault reply.
ef24141c 1151 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1152
1153 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1154 (soap-inspect-simple-type): New function.
db9b177b 1155
ef24141c 1156 * soap-client.el (soap-simple-type): New struct.
db9b177b 1157 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1158 (soap-decode-basic-type, soap-encode-basic-type):
1159 support unsignedInt and double basic types.
db9b177b 1160 (soap-resolve-references-for-simple-type)
ef24141c
SM
1161 (soap-parse-simple-type, soap-encode-simple-type): New function.
1162 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1163
1164 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1165 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1166 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1167 the local name of "soapenc:Array".
1168 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1169 decoding integer, byte and anyURI xsd types.
1170
1fc6097b
CY
11712012-04-25 Chong Yidong <cyd@gnu.org>
1172
1173 * cus-edit.el (custom-buffer-create-internal): Update header text.
1174
afc6df87
EZ
11752012-04-25 Eli Zaretskii <eliz@gnu.org>
1176
1177 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1178 settings on 'system-type', not on 'window-system'. On MS-Windows,
1179 set interactive-mode on in GDB.
1180
dfbd787f
SM
11812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1184 (ruby-syntax-propertize-regexp): Remove.
1185 (ruby-syntax-propertize-function): Split regexp into chunks.
1186 Match following code directly.
1187
85222d44
DG
11882012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1189
51a8ea2a
DG
1190 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1191 (ruby-syntax-propertize-regexp): New function.
1192 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1193 by a special keyword.
1194
85222d44
DG
1195 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1196 (ruby-syntax-general-delimiters-goto-beg)
1197 (ruby-syntax-propertize-general-delimiters): New functions.
1198 (ruby-syntax-propertize-function): Use them to handle GDL.
1199 (ruby-font-lock-keywords): Move old handling of GDL...
1200 (ruby-font-lock-syntactic-keywords): .. to here.
1201 (ruby-calculate-indent): Adjust indentation for GDL.
1202
b613912b
MA
12032012-04-24 Michael Albinus <michael.albinus@gmx.de>
1204
b5380639
MA
1205 * notifications.el (top): Remove unneeded declarations.
1206 (notifications-specification-version): Change to "1.2".
e43042fe 1207 (notifications-interface, notifications-notify-method)
b613912b
MA
1208 (notifications-close-notification-method): Fix docstring.
1209 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1210 (notifications-notify): Add :action-items, :resident and
1211 :transient hints. Change "image_data" to "image-data" and
1212 "image_path" to "image-path".
b613912b
MA
1213 (notifications-get-capabilities): New defun.
1214
257440aa
LL
12152012-04-24 Leo Liu <sdl.web@gmail.com>
1216
1217 * progmodes/python.el: Move hideshow setup to the end.
1218
b1bac16e
MR
12192012-04-24 Martin Rudalics <rudalics@gmx.at>
1220
1221 * window.el (handle-select-window): Clear echo area since this is
1222 no more done by read_char (Bug#11304).
1223
d81bd059
SM
12242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1227 and `/ M' to filter-derived-mode.
1228 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1229 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1230 (ibuffer-mark-by-mode): Use default rather than initial-input.
1231 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1232
c4cf6d91
IA
12332012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1234
1235 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1236 (ibuffer-filter-by-derived-mode): New filter.
1237 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1238
7511ded8
CY
12392012-04-23 Andreas Politz <politza@fh-trier.de>
1240
1241 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1242
775c916b
CY
12432012-04-23 Chong Yidong <cyd@gnu.org>
1244
1245 * cus-edit.el (customize-apropos, customize-apropos-options):
1246 Disable matching of non-option variables (Bug#11176).
1247 (customize-option, customize-option-other-window)
1248 (customize-changed-options): Doc fix.
1249 (customize-apropos-options, customize-apropos-faces)
1250 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1251
1252 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1253 Fix word list splitting (Bug#11132).
46c71e23
CY
1254 (apropos-symbol, apropos-keybinding, apropos-label)
1255 (apropos-property, apropos-function-button)
1256 (apropos-variable-button, apropos-misc-button): New faces.
1257 (apropos-symbol-face, apropos-keybinding-face)
1258 (apropos-label-face, apropos-property-face, apropos-match-face):
1259 Variables removed (Bug#8396).
1260 (apropos-library-button, apropos-format-plist, apropos-print)
1261 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1262
2df41f9c
MA
12632012-04-23 Michael Albinus <michael.albinus@gmx.de>
1264
1265 * net/xesam.el (xesam-mode-map): Use let-bound map in
1266 initialization. (Bug#11292)
1267
da00640a
AM
12682012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1269
1270 Preserve ispell session localwords when switching back to
1271 original buffer.
1272
1273 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1274 variable to hold buffer session localwords.
1275 (ispell-kill-ispell): add option 'clear to delete session
1276 localwords.
1277 (ispell-command-loop, ispell-change-dictionary)
1278 (ispell-buffer-local-words): Preserve session localwords when
1279 needed.
1280
1281 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1282 Preserve session localwords when needed.
1283
f621ccf5
AM
12842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1285
1286 * ispell.el (ispell-insert-word) Remove unneeded function using
1287 obsolete `translation-table-for-input'.
ef24141c
SM
1288 (ispell-word, ispell-process-line, ispell-complete-word):
1289 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1290
c2d1019e
CY
12912012-04-22 Chong Yidong <cyd@gnu.org>
1292
1293 * cus-edit.el (custom-variable-menu)
1294 (custom-variable-reset-saved, custom-face-menu)
1295 (custom-face-reset-saved): If there is no saved value, make the
1296 "reset-saved" operation bring back the default (Bug#9509).
1297 (custom-face-state): Properly detect themed faces.
1298
eeddc531
CY
1299 * faces.el (face-spec-set): Stop supporting deprecated form of
1300 third arg.
1301
dcbf5805
MA
13022012-04-22 Michael Albinus <michael.albinus@gmx.de>
1303
1304 Move functions from C to Lisp. Make non-blocking method calls
1305 the default. Implement further D-Bus standard interfaces.
1306
ef24141c
SM
1307 * net/dbus.el (dbus-message-internal): Declare function.
1308 Remove unneeded function declarations.
dcbf5805
MA
1309 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1310 (dbus-message-type-method-return, dbus-message-type-error)
1311 (dbus-message-type-signal): Declare variables. Remove local
1312 definitions.
1313 (dbus-interface-dbus, dbus-interface-peer)
1314 (dbus-interface-introspectable, dbus-interface-properties)
1315 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1316 Adapt docstring.
1317 (dbus-interface-objectmanager): New defconst.
1318 (dbus-call-method, dbus-call-method-asynchronously)
1319 (dbus-send-signal, dbus-method-return-internal)
1320 (dbus-method-error-internal, dbus-register-service)
1321 (dbus-register-signal, dbus-register-method): New defuns, moved
1322 from dbusbind.c
1323 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1324 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1325 New defuns.
dcbf5805
MA
1326 (dbus-call-method-non-blocking): Make it an obsolete function.
1327 (dbus-unregister-object, dbus-unregister-service)
1328 (dbus-handle-event, dbus-register-property)
1329 (dbus-property-handler): Obey the new structure of
1330 `bus-registered-objects'.
1331 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1332 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1333 Use `dbus-call-method'.
1334
cf20dee0
CY
13352012-04-22 Chong Yidong <cyd@gnu.org>
1336
1337 * cus-edit.el (custom-commands, custom-reset-menu)
1338 (Custom-reset-standard): Tweak labels.
1339 (custom-reset-button-menu): Change default to t.
1340 (custom-buffer-create-internal): For the custom-reset-button-menu
1341 case, put the revert button first.
1342 (custom-group-subtitle): New face.
1343 (custom-group-value-create): Align docstring to a specific column.
1344
1345 * wid-edit.el (widget-documentation-link-add): Don't handle
1346 indentation in this function.
1347 (widget-documentation-string-indent-to): New function.
1348 (widget-documentation-string-value-create): Use it.
1349
1350 * autorevert.el (auto-revert):
1351 * epg-config.el (epg):
1352 * ibuffer.el (ibuffer):
1353 * mpc.el (mpc):
1354 * ses.el (ses):
1355 * eshell/eshell.el (eshell):
1356 * net/ange-ftp.el (ange-ftp):
1357 * progmodes/ebnf2ps.el (postscript):
1358 * progmodes/flymake.el (flymake):
1359 * progmodes/prolog.el (prolog):
1360 * progmodes/verilog-mode.el (verilog-mode):
1361 * progmodes/which-func.el (which-func):
1362 * term/xterm.el (xterm):
1363 * textmodes/picture.el (picture):
1364 * textmodes/tildify.el (tildify):
1365 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1366 customization buffers.
1367
583e23bd
AM
13682012-04-22 Alan Mackenzie <acm@muc.de>
1369
1370 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1371 Adding a ) can hide the resulting (..) from searches. Fix it.
1372 Bound the backward search to the position of the existing (.
1373
7dd51bf1
JB
13742012-04-21 Juanma Barranquero <lekktu@gmail.com>
1375
1376 * progmodes/verilog-mode.el (verilog-mode): Check whether
1377 which-func-modes is t before adding verilog-mode.
1378 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1379
d64a438f
LL
13802012-04-21 Leo Liu <sdl.web@gmail.com>
1381
7dd51bf1 1382 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1383
081e8d65
MV
13842012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1385
1386 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1387 filling of the last column of a table (Bug#5635).
1388 (woman-find-next-control-line): New arg, specifying an additional
1389 regexp component for the control line.
1390 (woman2-roff-buffer): Use it.
1391 (woman-break-table): New function.
1392 (woman2-TS): Use it.
1393
13942012-04-21 Chong Yidong <cyd@gnu.org>
1395
1396 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1397 (woman-horizontal-escapes, woman-negative-vertical-space)
1398 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1399 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1400
ed571ccb
SM
14012012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * minibuffer.el (completion-file-name-table): Complete user names.
1404
39773899
LL
14052012-04-20 Leo Liu <sdl.web@gmail.com>
1406
1407 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1408 and pcase-let*.
1409
de6ff46d
CY
14102012-04-20 Chong Yidong <cyd@gnu.org>
1411
1412 * server.el (server-execute): Respect initial-buffer-choice if it
1413 is a string and there are no files to open (Bug#2825).
1414 (server-create-window-system-frame, server-create-tty-frame):
1415 Don't switch buffers here.
2d0e8e61
CY
1416 (server-process-filter): Only try to open a window system frame if
1417 compiled with graphical support (Bug#8314).
de6ff46d 1418
54071013
DN
14192012-04-20 Dan Nicolaescu <dann@gnu.org>
1420
1421 * battery.el (battery-echo-area-format): Display remaining time
1422 for sysfs backend too (Bug#11269).
1423 (battery-linux-sysfs): Fix conditional for the charge.
1424
f30d612a
CY
14252012-04-20 Chong Yidong <cyd@gnu.org>
1426
c07a4c0b 1427 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1428 (gdb-inferior-io--init-proc): New function.
1429 (gdb-init-1): Use it.
1430 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1431 responsible for allocating a new pty and hooking it to gdb when
1432 the old pty gets an EIO due to process exit.
1433 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1434 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1435 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1436
2116e93c
EZ
14372012-04-20 Eli Zaretskii <eliz@gnu.org>
1438
1439 * window.el (window-min-size, window-sizable, window-min-delta)
1440 (window-max-delta, window--resizable, window-resizable)
1441 (window-total-size, window-full-height-p, window-full-width-p)
1442 (window-in-direction, window--resize-mini-window, window-resize)
1443 (window--resize-child-windows-normal)
1444 (window--resize-child-windows, window--resize-siblings)
1445 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1446 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1447
c07a4c0b 14482012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1449
ef24141c
SM
1450 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1451 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1452 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1453 pty process (Bug#11273).
1454 (gdb-update): New arg to suppress talking to the gdb process.
1455 (gdb-done-or-error): Use it.
1456 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1457 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1458 sentinel not being called.
1459
1460 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1461
d02766ab
CY
1462 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1463
c07a4c0b 14642012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1465
1466 * net/network-stream.el (open-network-stream): Doc fix.
1467
c07a4c0b 14682012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1469
1470 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1471
c07a4c0b 14722012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1473
1474 Ensure searching for keywords is case sensitive.
1475
1476 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1477 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1478 (c-defun-name, c-mark-function, c-cpp-define-name)
1479 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1480 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1481
ef24141c
SM
1482 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1483 Bind case-fold-search to nil.
f0f6bc35 1484
c07a4c0b 14852012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1486
1487 * mail/sendmail.el (mail-bury): Call return action with the right
1488 Rmail buffer (Bug#11242).
1489
9a864fa2
CY
1490 * server.el (server-process-filter): Handle corner case where both
1491 tty and nowait options are present (Bug#11102).
1492
539aa513
EZ
14932012-04-20 Eli Zaretskii <eliz@gnu.org>
1494
1495 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1496 (top level): Put into the executable the ident-style '$Id:' tag on
1497 windows-nt as well.
539aa513 1498
cfc7d5da
SM
14992012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * electric.el (electric-indent-post-self-insert-function): Check that
1502 electric-indent-mode is enabled in current buffer.
1503
5b01685c
JB
15042012-04-19 Juanma Barranquero <lekktu@gmail.com>
1505
1506 * imenu.el (imenu-progress-message): Restore; it is "used" in
1507 erc/erc-imenu.el and net/snmp-mode.el.
1508
4d6769e1
JB
15092012-04-19 Juanma Barranquero <lekktu@gmail.com>
1510
1511 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1512 (mouse-avoidance-nudge-mouse): Remove unused binding.
1513
1514 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1515
1516 * descr-text.el (describe-char):
1517 * progmodes/python.el (python-describe-symbol):
1518 Don't call `toggle-read-only', set `buffer-read-only'.
1519
1520 * imenu.el (imenu-default-goto-function): Mark unused args.
1521 (imenu-progress-message): Remove obsolete macro; all callers changed.
1522
1523 * subr.el (keymap-canonicalize): Remove unused binding.
1524 (read-passwd): Mark unused arg.
1525
1526 * tutorial.el (tutorial--display-changes): Remove unused binding.
1527 (tutorial--save-tutorial-to): Remove unused variable.
1528
1529 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1530 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1531 (package-generate-autoloads, package-menu--generate)
1532 (package-menu--find-upgrades): Remove unused bindings.
1533
1534 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1535 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1536 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1537 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1538 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1539 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1540 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1541 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1542 (cua-delete-char-rectangle): Mark unused args.
1543 (cua-align-rectangle): Remove unused binding.
1544
1545 * mail/rmail.el (compilation--message->loc)
1546 (epa--find-coding-system-for-mime-charset): Declare.
1547
1548 * net/dbus.el (dbus-register-service): Declare.
1549 (dbus-name-owner-changed-handler): Remove unused binding.
1550
1551 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1552 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1553 (nxml-scan-backward-within): Mark unused arg.
1554 (nxml-dynamic-markup-word): Remove unused binding.
1555
1556 * mouse.el (mouse-menu-major-mode-map):
1557 * emacs-lisp/authors.el (authors-scan-change-log)
1558 (authors-add-to-author-list):
1559 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1560 * emacs-lisp/smie.el (smie-auto-fill):
1561 * mail/sendmail.el (mail-bury):
1562 * mail/unrmail.el (unrmail):
1563 * net/tls.el (open-tls-stream):
1564 * textmodes/picture.el (picture-mouse-set-point):
1565 Remove unused bindings.
1566
8c8fc5df
MA
15672012-04-19 Michael Albinus <michael.albinus@gmx.de>
1568
1569 * net/tramp.el (tramp-action-password): Let-bind
1570 `enable-recursive-minibuffers' to t.
1571
a77b0ac9
SS
15722012-04-18 Sam Steingold <sds@gnu.org>
1573
1574 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1575 instead of 'string to accommodate values like [f11].
1576 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1577 * progmodes/gdb-mi.el: Likewise.
1578
12a106a9
LL
15792012-04-18 Leo Liu <sdl.web@gmail.com>
1580
1581 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1582 current buffer.
1583 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1584 LOCAL is nil.
1585
bc6494ef
CY
15862012-04-18 Chong Yidong <cyd@gnu.org>
1587
1588 * simple.el (line-move): Use forward-line if in batch mode
1589 (Bug#11053).
1590
c09c46b2
CS
15912012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1592
1593 * files.el (after-find-file): Do not try to add a final newline if
1594 the buffer is read-only (Bug#11156).
1595
5f6530ea
RS
15962012-04-17 Richard Stallman <rms@gnu.org>
1597
1598 * mail/rmail.el (rmail-start-mail):
1599 Pass (rmail-mail-return...) for the return-action.
1600 Pass (rmail-yank-current-message...) for the yank-action.
1601 (rmail-yank-current-message): New function.
1602 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1603 (rmail-reply): Likewise.
1604 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1605
1606 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1607 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1608 buffer, not newbuf.
1609
197b6f3c
JB
16102012-04-17 Juanma Barranquero <lekktu@gmail.com>
1611
1612 * server.el (server-ensure-safe-dir): Simplify.
1613
2311d8e5 16142012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1615
2311d8e5
GM
1616 * emacs-lisp/smie.el: Provide smarter auto-filling.
1617 (smie-auto-fill): New function.
1618 (smie-setup): Use it.
98fb480e 1619
2311d8e5
GM
1620 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1621
16222012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1623
1624 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1625 (comment-indent): Use it.
1626
2311d8e5 16272012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1628
1629 * ses.el: The overall change is to add cell renaming, that is
1630 setting fancy names for cell symbols other than name matching
1631 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1632 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1633 (ses-create-cell-variable): New defun.
2311d8e5 1634 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1635 (ses-relocate-formula): Relocate formulas only for cells the
1636 symbols of which are not renamed, i.e. symbols whose names do not
1637 match regexp "\\`[A-Z]+[0-9]+\\'".
1638 (ses-relocate-all): Relocate values only for cells the symbols of
1639 which are not renamed.
1640 (ses-load): Create cells variables as the (ses-cell ...) are read,
1641 in order to check row col consistency with cell symbol name only
1642 for cells that are not renamed.
1643 (ses-replace-name-in-formula): New defun.
1644 (ses-rename-cell): New defun.
4bdf2ad2 1645
fc72b15c
PO
16462012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1647
1648 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1649 New option (bug#11118).
1650 (perl-calculate-indent): Respect it.
1651
12e10e61
GM
16522012-04-17 Glenn Morris <rgm@gnu.org>
1653
1654 * dired-aux.el (dired-mark-read-string): Doc fix.
1655
30009afd
DA
16562012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1657
1658 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1659 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1660
41f03f4d
GM
16612012-04-17 Glenn Morris <rgm@gnu.org>
1662
1663 * mouse.el (mouse-drag-track):
1664 * speedbar.el (speedbar-frame-mode):
1665 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1666
f45f90f3
LL
16672012-04-16 Leo Liu <sdl.web@gmail.com>
1668
1669 * progmodes/python.el: Trivial cleanup.
1670
94ee8db5
GM
16712012-04-16 Glenn Morris <rgm@gnu.org>
1672
121b8917
GM
1673 * vc/vc.el (vc-string-prefix-p):
1674 * vc/pcvs-util.el (cvs-string-prefix-p):
1675 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1676 * mpc.el (mpc-string-prefix-p):
1677 Make all of these into obsolete aliases for string-prefix-p.
1678 Update callers.
1679 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1680
1197ecfa
GM
1681 * textmodes/two-column.el: Move custom options to the start.
1682 (frame-width): Remove compat definition.
1683 (2C-associate-buffer, 2C-dissociate):
1684 Use with-current-buffer rather than save-excursion.
1685 (2C-dissociate): Force a mode-line update.
1686 (2C-autoscroll): Use ignore-errors.
1687
099e7202
GM
1688 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1689 Autoload trivia.
1690
bf350d6a
GM
1691 * emacs-lisp/cl-extra.el (*random-state*):
1692 Remove unnecessary declaration.
1693
0e829eab
GM
1694 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1695
e3ad7552
GM
1696 * play/cookie1.el (cookie-snarf):
1697 Give an explicit error if input file cannot be read.
1698
68892d27
GM
1699 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1700
20f0c46d
GM
1701 * progmodes/perl-mode.el (c-macro-expand):
1702 Remove unnecessary autoload (it is in loaddefs.el).
1703
5a0978ce
GM
1704 * textmodes/picture.el (picture-desired-column)
1705 (picture-update-desired-column): Convert comments to doc-strings.
1706 (picture-substitute): Remove function.
1707 (picture-mode-map): Initialize in the defvar.
1708
6b955486
GM
1709 * woman.el: Remove eval-after-load for tar-mode.
1710 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1711 (woman-tar-extract-file): Autoload it.
1712
94ee8db5
GM
1713 * frame.el (automatic-hscrolling): Make this alias obsolete.
1714
177eca34
AM
17152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1716
1717 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1718 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1719 (ispell-dictionary-base-alist): Revert to original XEmacs
1720 friendly version for default. [:alpha:] will be added in
1721 `ispell-set-spellchecker-params' if needed
177eca34 1722
c505aaeb
CY
17232012-04-16 Chong Yidong <cyd@gnu.org>
1724
1725 * image.el (imagemagick--extension-regexp): New variable.
1726 (imagemagick-register-types): Use it.
1727 (imagemagick-types-inhibit): Add :set function. Allow new value
1728 of t to inhibit all types.
1729
1730 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1731 so we can preload it.
1732
1733 * loadup.el (fboundp): Preload regexp-opt, needed by
1734 imagemagick-register-types.
1735
60efac0f
CY
17362012-04-15 Chong Yidong <cyd@gnu.org>
1737
1738 * frame.el (scrolling): Remove nearly unused customization group.
1739
1740 * scroll-all.el (scroll-all-mode): Move to windows group.
1741
5dd1713e
CY
17422012-04-15 Chong Yidong <cyd@gnu.org>
1743
1744 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1745
e6fd457e
CY
17462012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1749 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1750
e153c136
GM
17512012-04-15 Glenn Morris <rgm@gnu.org>
1752
1753 * simple.el (process-file-side-effects): Doc fix.
1754
e6fd457e 17552012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1756
1757 * international/mule-cmds.el (set-language-environment): Doc fix.
1758
3603c3b1
JB
17592012-04-14 Juanma Barranquero <lekktu@gmail.com>
1760
1761 * server.el (server-auth-key, server-generate-key): Doc fixes.
1762 (server-get-auth-key): Doc fix. Use `string-match-p'.
1763 (server-start): Reflow docstring.
1764
e6de100c
LI
17652012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1766
1767 * server.el (server-generate-key): `called-interactively-p'
1768 requires a parameter.
1769
29734c21
MN
17702012-04-14 Michal Nazarewicz <mina86@mina86.com>
1771
1772 * server.el (server-auth-key): New variable.
75f1671a 1773 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1774 (server-start): Use the new variable and functions to allow
1775 setting a permanent server key (bug#9423).
1776
d65c9521
LL
17772012-04-14 Leo Liu <sdl.web@gmail.com>
1778
1779 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1780
5ae255c7
PE
17812012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1782
1783 Spelling fixes.
1784 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1785 Emacs uses American spelling.
1786
d5e6342e
JB
17872012-04-14 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1790 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1791 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1792 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1793
ab036cd7
SM
17942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * progmodes/which-func.el (which-func-modes): Change default.
1797
35dc09a1 17982012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1799
1800 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1801 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1802
35dc09a1 18032012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1804
1805 * custom.el (custom-theme-set-variables): Doc fix.
1806
35dc09a1 18072012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1808
1809 * international/mule.el (set-auto-coding-for-load): Doc fix.
1810
35dc09a1 18112012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1812
35dc09a1
GM
1813 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1814 imenu work again for Objective C Mode. Correct the *-index values,
1815 these having been disturbed by a previous change in 2011-08.
57f845ee 1816
0de3da9f
AM
1817 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1818 Correct two search limits.
1819
35dc09a1 18202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1821
1822 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1823
35dc09a1 18242012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1825
1826 * international/characters.el: Fix sorting.
1827
35dc09a1 18282012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1829
1830 * international/characters.el: Add more missing Latin case pairs.
1831
35dc09a1 18322012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1833
1834 * files.el (dir-locals-set-class-variables): Doc fix.
1835
35dc09a1 18362012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1837
3f1b5bf8
EZ
1838 * international/characters.el: Add set-case-syntax-pair call for
1839 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1840 counterpart. (Bug#11209)
1841
9f847f41
EZ
1842 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1843
35dc09a1 18442012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1845
1846 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1847
35dc09a1 18482012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1849
35dc09a1
GM
1850 * textmodes/ispell.el (ispell-dictionary-base-alist):
1851 Add data for Hebrew.
e2627d21 1852
35dc09a1 18532012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1854
35dc09a1
GM
1855 * net/rcirc.el (rcirc-cmd-quit):
1856 Revert 2012-03-18 change (Bug#11192).
5c14e333 1857
35dc09a1 18582012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1859
1860 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1861
35dc09a1 18622012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1863
4517fe3a
SM
1864 * minibuffer.el (completion-in-region-mode-map):
1865 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1866
b472a594
VD
18672012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1868
1869 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1870
09b95ce3
MY
18712012-04-13 Masatake YAMATO <yamato@redhat.com>
1872
1873 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1874 to allow `C-M-f' and `C-M-b' to move to the nearest path
1875 separator (bug#9511).
1876
4b63a9ca
LI
18772012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1878
1879 * avoid.el: Require cl when compiling. And also move the
1880 `provide' to the end.
1881
7b55b8bf
TV
18822012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1883
1884 * avoid.el (mouse-avoidance-banish-position): New variable.
1885 (mouse-avoidance-banish-destination): Use it (bug#10165).
1886
adedaa1f
LL
18872012-04-13 Leo Liu <sdl.web@gmail.com>
1888
1889 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1890
70e74021
KB
18912012-04-13 Ken Brown <kbrown@cornell.edu>
1892
1893 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1894 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1895 (browse-url-filename-alist): For the same reason, don't modify
1896 file:// URLs on Cygwin.
1897
e75e89ba
SM
18982012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1901 the region on shift if the binding is already shifted (bug#11221).
1902
82f289a4
GM
19032012-04-12 Glenn Morris <rgm@gnu.org>
1904
1905 * mail/mailpost.el: Move to obsolete/.
1906
d333dc4c
DA
19072012-04-12 Drew Adams <drew.adams@oracle.com>
1908
1909 * imenu.el (imenu--generic-function): Ignore invisible definitions
1910 (bug#10123).
1911
0d15b5ba
VD
19122012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1913
1914 * hexl.el (hexl-bits): New variable.
1915 (hexl-options): Mention the variable in the doc string.
75f1671a 1916 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1917 (hexl-mode): Mention the new variable.
75f1671a
JB
1918 (hexl-mode, hexl-current-address, hexl-current-address):
1919 Use the displen.
0d15b5ba
VD
1920 (hexl-ascii-start-column): New function.
1921 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1922 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1923
64a440db
AM
19242012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1925
1926 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1927 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1928 the encoding, as expected by hunspell.
1929
6decb6c2
SM
19302012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * battery.el (battery--linux-sysfs-regexp): New const.
1933 (battery-status-function): Use it. Remove yeeloong special case.
1934 (battery-yeeloong-sysfs): Remove.
1935 (battery-echo-area-format): Remove yeeloong special case.
1936
088be6fb
SM
19372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1938
6622e416
SM
1939 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1940 Reported by Noah Friedman.
1941
088be6fb
SM
1942 * subr.el (read-passwd): Use read-string.
1943
b49f886e
LMI
19442012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1945
1946 * vcursor.el (vcursor-move): Increase the priority of the overlay
1947 (bug#9663).
1948
a63067fc
DD
19492012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1950
1951 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1952 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1953
ac3cf14a
WS
19542012-04-11 William Stevenson <yhvh2000@gmail.com>
1955
1956 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1957 define-minor-mode (bug#10760).
1958
c4fc691b 19592012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1960
4d6769e1 1961 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1962 that directories matching `grep-find-ignored-files' won't be
1963 pruned (bug#10351).
1964
af23e2e5
CY
19652012-04-11 Chong Yidong <cyd@gnu.org>
1966
1967 * startup.el (command-line): Remove support for long-obsolete
1968 variable font-lock-face-attributes.
1969
ab7ce8c1
GM
19702012-04-11 Glenn Morris <rgm@gnu.org>
1971
1972 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1973
de8c03dc
SM
19742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * window.el (window--state-get-1): Obey window-point-insertion-type.
1977
050cc68b
LB
19782012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1979
1980 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1981 to previous function when point is on the first character of a
75f1671a 1982 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1983
a38c310c
GM
19842012-04-11 Glenn Morris <rgm@gnu.org>
1985
effed0c2
GM
1986 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1987 not just file-errors.
1988
a38c310c
GM
1989 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1990 (vc-bzr-sha1): Use internal sha1.
1991
0221e323
SM
19922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1995
43956923
SG
19962012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1997
1998 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1999 that start in the middle of the line (bug#10496).
2000
6a8c9eaf
DN
20012012-04-10 Dan Nicolaescu <dann@gnu.org>
2002
2003 * battery.el (battery-linux-proc-acpi): Only one battery is
2004 discharged at a time, but that seems to confuse battery.el when
2005 computing `rate-type' for the battery not being discharged
2006 (bug#10332).
2007
1930bf5d
SM
20082012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2a718f6f
SM
2010 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2011
599430d0
SM
2012 * international/quail.el: Use dolist and simplify.
2013 (quail-define-package, quail-update-keyboard-layout)
2014 (quail-define-rules): Use dolist.
2015 (quail-insert-kbd-layout, quail-get-translation): CSE.
2016
a2754b6c
SM
2017 * tmm.el: Use dolist, remove left over hook.
2018 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2019 Use dolist.
2020 (calendar-load-hook): Don't mess with it.
2021
1930bf5d
SM
2022 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2023 Use derived-mode-p. Run the diff asynchronously.
2024
9f67961c
LMI
20252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2026
2027 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2028
2a8ce227
JB
20292012-04-10 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2032 (list-dynamic-libraries--loaded): New function.
2033 (list-dynamic-libraries--refresh): Use it.
2034
8f33b5f8
NW
20352012-04-10 Nathan Weizenbaum <nweiz@google.com>
2036
1930bf5d
SM
2037 * progmodes/python.el (python-fill-paragraph):
2038 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2039 disabled (bug#7018).
2040
b12f0439
L
20412012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2042
1930bf5d 2043 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2044 DOS/MS Windows for the Baltic languages. There are still plenty
2045 of texts written in this encoding/codepage (bug#6519).
b12f0439 2046
57c3bd01
GM
20472012-04-10 Glenn Morris <rgm@gnu.org>
2048
2049 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2050 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2051
6c3eab30
FA
20522012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2053
1930bf5d 2054 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2055 next-line "n" and previous-line "p" in order to make recentf more
2056 consistent with ibuffer, dired or org-mode (bug#9387).
2057
24d78a88
LMI
20582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2059
bc72b5d9
LMI
2060 * image.el (put-image): Return the overlay created instead of the
2061 optional input string (bug#7834). Note that this may break code
2062 that is (for some reason or other) depending on `put-image'
2063 returning the string.
2064
bd2dba5a
LMI
2065 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2066
74beb59f
LMI
2067 * simple.el (zap-to-char): Allow zapping using input methods
2068 (bug#1580).
2069
24d78a88
LMI
2070 * textmodes/fill.el (fill-region): Leave point and mark where they
2071 were before filling (bug#5399).
2072
263f20cd
GM
20732012-04-09 Glenn Morris <rgm@gnu.org>
2074
2075 * version.el (emacs-bzr-get-version):
2076 Handle lightweight checkouts of local branches.
2077
58d1f797
AS
20782012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2079
263f20cd 2080 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2081
b4d3bc10
CY
20822012-04-09 Chong Yidong <cyd@gnu.org>
2083
2084 * custom.el (custom-variable-p): Return nil for non-symbol
2085 arguments instead of signaling an error.
2086 (user-variable-p): Obsolete alias for custom-variable-p.
2087
2088 * apropos.el (apropos-variable):
2089 * files-x.el (read-file-local-variable):
2090 * simple.el (set-variable):
2091 * woman.el (woman-mini-help):
2092 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2093
fd06db5d
GM
20942012-04-09 Glenn Morris <rgm@gnu.org>
2095
e5fcdb5e
GM
2096 * startup.el (normal-top-level): Don't look for leim-list.el
2097 in places where it will not be found. (Bug#910)
2098
fd06db5d
GM
2099 * international/mule-cmds.el (set-default-coding-systems):
2100 * files.el (normal-mode):
2101 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2102 This function was removed with ucs-tables.el in 2008.
2103
b39bb7e1
EZ
21042012-04-08 Eli Zaretskii <eliz@gnu.org>
2105
2106 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2107 ispell-encoding8-command to "-i", without a trailing space.
2108 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2109 separate command-line arguments, to specify the encoding, since
2110 that's how hunspell expects it.
2111
5c5b8e23
GM
21122012-04-08 Glenn Morris <rgm@gnu.org>
2113
2114 * loadup.el: Load bindings before cus-start.
2115 This reduces somewhat the number of "rogue" settings in emacs -Q.
2116
a1ed8b05
GM
21172012-04-07 Glenn Morris <rgm@gnu.org>
2118
2119 * version.el (emacs-bzr-get-version): New function.
dfae128a 2120 (emacs-bzr-version): New variable.
a1ed8b05
GM
2121 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2122 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2123
b142f158
EZ
21242012-04-07 Eli Zaretskii <eliz@gnu.org>
2125
dfae128a
GM
2126 * international/uni-bidi.el, international/uni-category.el:
2127 * international/uni-combining.el, international/uni-decimal.el:
2128 * international/uni-decomposition.el, international/uni-digit.el:
2129 * international/uni-lowercase.el, international/uni-mirrored.el:
2130 * international/uni-name.el, international/uni-numeric.el:
2131 * international/uni-titlecase.el, international/uni-uppercase.el:
2132 Update for Unicode 6.1.
b142f158 2133
9078ead6
EZ
21342012-04-07 Eli Zaretskii <eliz@gnu.org>
2135
2136 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2137
f23d2c7d
LMI
21382012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2139
2140 * window.el (shrink-window): Mention the `window-min-height'
2141 variable in the doc string.
2142
0a0a3573
BG
21432012-04-05 Bastien Guerry <bzg@altern.org>
2144
2145 * color.el (color-lighten-name): Fix typo.
2146
e5248ac9
SM
21472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * server.el (server--on-display-p): New function.
2150 (server--on-display-p): Use it.
2151
b4243e22
GV
21522012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2153
2154 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2155 (bug#11145).
2156
305d9f44
SM
21572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * comint.el (comint--common-quoted-suffix): Check string boundary
2160 before comparing (bug#11158).
2161 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2162
3d439cd1
CY
21632012-04-04 Chong Yidong <cyd@gnu.org>
2164
321cc491
CY
2165 * minibuffer.el (completion-extra-properties): Doc fix.
2166
3d439cd1
CY
2167 * subr.el (delayed-warnings-hook): Doc fix.
2168
2d562c0f
DU
21692012-04-04 Daiki Ueno <ueno@unixuser.org>
2170
2171 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2172 selection (Bug#11159).
2173 (epa-insert-keys): Inform that the default public key will be
2174 exported if no key is selected.
2175
4443f204
RS
21762012-04-04 Richard Stallman <rms@gnu.org>
2177
2178 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2179
529c06b6
CY
21802012-04-03 Chong Yidong <cyd@gnu.org>
2181
2182 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2183 mail-insert-file, not its obsolete alias mail-attach-file.
2184
66b907dc
MA
21852012-04-03 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * notifications.el (notifications-notify): Fix docstring.
2188
c0ea195d
GM
21892012-04-02 Glenn Morris <rgm@gnu.org>
2190
2191 * emacs-lisp/authors.el (authors-aliases): Another addition.
2192
5ca64e00
MA
21932012-04-02 Michael Albinus <michael.albinus@gmx.de>
2194
2195 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2196 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2197 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2198
42ee526b
CY
21992012-04-01 Chong Yidong <cyd@gnu.org>
2200
2201 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2202 Handle root directory properly.
2203 (copy-directory): Caller changed.
2204
2205 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2206 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2207
0b021094
GM
22082012-03-31 Glenn Morris <rgm@gnu.org>
2209
40f86458
GM
2210 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2211
7019c177
GM
2212 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2213
a1daddd6
GM
2214 * calendar/calendar.el (calendar-window-list)
2215 (calendar-hide-window): Restore. (Bug#11140)
2216 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2217
0b021094
GM
2218 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2219
40311efc
TV
22202012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2221
2222 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2223 Check if file is a symlink (Bug#10489).
2224
2225 * files.el (copy-directory): Likewise.
2226
5319014e
CY
22272012-03-30 Chong Yidong <cyd@gnu.org>
2228
2229 * image.el (imagemagick-types-inhibit)
2230 (imagemagick-register-types): Doc fix.
2231
935d1290
AM
22322012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2233
ef24141c
SM
2234 * ispell.el (ispell-get-extended-character-mode):
2235 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2236 and treats ~word as ordinary words in pipe mode.
935d1290 2237
61c6e8fd
GM
22382012-03-30 Glenn Morris <rgm@gnu.org>
2239
2240 * tutorial.el (help-with-tutorial): Ensure local variables don't
2241 happen to make the buffer read-only. (Bug#11127)
2242
81fdff00
SM
22432012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2246 (perl-calculate-indent): Return `noindent' in strings.
2247
6e7a6ec0
SS
22482012-03-28 Sam Steingold <sds@gnu.org>
2249
2250 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2251 instead of the broken adhockery which does not prevent calendar
2252 buffers from being displayed at random after exit.
2253 (calendar-window-list, calendar-hide-window): Remove the broken
2254 adhockery.
2255
fee88ca0
GM
22562012-03-28 Glenn Morris <rgm@gnu.org>
2257
2258 * replace.el (query-replace-map): Doc fix.
2259
38de3354
AS
22602012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2263 contents. (Bug#11109)
2264
b973155e
SM
22652012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2268 (bug#11077).
2269 (avl-tree--check, avl-tree--check-node): New funs.
2270
dcb6e7b3
MR
22712012-03-27 Martin Rudalics <rudalics@gmx.at>
2272
2273 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2274 (switch-to-prev-buffer, switch-to-next-buffer):
2275 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2276 showing a buffer already is done on the same frame.
2277
b4fa35fa
GM
22782012-03-27 Glenn Morris <rgm@gnu.org>
2279
2280 * startup.el (mail-host-address): Doc fix.
2281
f9210e18
SM
22822012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2285 than 197 variables.
2286
c0bf7753
AF
22872012-03-26 Ami Fischman <ami@fischman.org>
2288
2289 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2290
33da7b16
GM
22912012-03-26 Glenn Morris <rgm@gnu.org>
2292
02243d9d
GM
2293 * files.el (save-buffers-kill-emacs): Doc fix.
2294
33da7b16
GM
2295 * startup.el (normal-top-level, command-line, command-line-1):
2296 Give them doc strings.
2297
e5a69fd0
EZ
22982012-03-25 Eli Zaretskii <eliz@gnu.org>
2299
2300 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2301 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2302
9a69676a
CY
23032012-03-25 Chong Yidong <cyd@gnu.org>
2304
4125cb8b
CY
2305 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2306 theme if it was previously enabled before (Bug#11031).
2307
dd470960
CY
2308 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2309 spec with custom-face-get-current-spec if its :shown-value is not
2310 determined yet (Bug#9337).
4125cb8b 2311 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2312
9a69676a
CY
2313 * button.el (button-at): Minor addition to docstring.
2314
6e7e90fa
SL
23152012-03-24 Simon Leinen <simon.leinen@gmail.com>
2316
2317 * vc/vc.el (vc-merge): Fix a prompt.
2318
f06e2758
CY
23192012-03-24 Chong Yidong <cyd@gnu.org>
2320
2321 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2322 point (Bug#9623).
2323
6e7e90fa
SL
2324 * button.el (button-at): Minor addition to docstring.
2325
b9d0879b
SM
23262012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * newcomment.el (comment-choose-indent): No space after BOL.
2329
e71cebb3
SS
23302012-03-22 Sam Steingold <sds@gnu.org>
2331
2332 * window.el (switch-to-prev-buffer): Revert last patch because the
2333 bug turned out to be an advertised feature (Elisp manual 28.14).
2334
335aff35
GM
23352012-03-22 Glenn Morris <rgm@gnu.org>
2336
2337 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2338 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2339
c676576a
LMI
23402012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2341
2342 * net/network-stream.el (network-stream-open-starttls): Make error
2343 message under Windows be less misleading.
2344
126f3d39
LW
23452012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2346
2347 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2348 understands (bug#9942).
2349
64fee311
CY
23502012-03-22 Chong Yidong <cyd@gnu.org>
2351
2352 * simple.el (end-of-visible-line): Handle return value of
2353 next-single-property-change properly (Bug#9371).
2354
a640d29a
KH
23552012-03-22 Kenichi Handa <handa@m17n.org>
2356
2357 * international/quail.el (quail-insert-kbd-layout): Fix previous
2358 change. To avoid unwanted bidi reordering, use
2359 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2360
39675016
DG
23612012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2362
2363 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2364 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2365 (ruby-beginning-of-indent): Be more careful with the difference
2366 between word-boundary and symbol boundary.
2367 (ruby-mode-syntax-table): Make : a symbol constituent.
2368
0a6934fc 23692012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2370
3d008e4f
SM
2371 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2372
0a6934fc
SM
23732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2374
af67c9d7
SM
2375 * progmodes/etags.el (tags-completion-at-point-function):
2376 Improve last fix.
2377
1acad97c
SM
2378 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2379
e298b5da
SS
23802012-03-21 Sam Steingold <sds@gnu.org>
2381
2382 * progmodes/etags.el (tags-completion-at-point-function):
2383 Avoid the error when point is inside the pattern.
2384
91d82a70
JY
23852012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2386
2387 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2388 line (Bug#10855).
2389
69188b79
CY
23902012-03-21 Drew Adams <drew.adams@oracle.com>
2391
2392 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2393
99fc91fe
AK
23942012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2395
2396 * ido.el (ido-set-current-directory, ido-read-internal)
2397 (ido-choose-completion-string, ido-completion-help): Handle nil
2398 value of ido-completion-buffer (Bug#11008).
2399
087bbb4c
SS
24002012-03-21 Sam Steingold <sds@gnu.org>
2401
2402 * window.el (switch-to-prev-buffer): Do not switch to a visible
2403 window previous buffer, just like with the frame previous buffers.
2404
fb5b8aca
CY
24052012-03-21 Chong Yidong <cyd@gnu.org>
2406
2407 * faces.el (make-face, make-empty-face, copy-face):
2408 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2409 Doc fixes.
2410
dc9924b8
SM
24112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2414 (widget-complete): Remove broken use of it.
2415
f0bcceb9
CY
24162012-03-20 Chong Yidong <cyd@gnu.org>
2417
dc9924b8
SM
2418 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2419 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2420 characters.
2421
ee52ebf3
TH
24222012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2423
2424 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2425 to draw rectangles, not squares. (Regression introduced by revno
2426 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2427
4c5779ab
CY
24282012-03-18 Chong Yidong <cyd@gnu.org>
2429
2430 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2431 it is not yet defined (for temacs).
2432
15360934
LL
24332012-03-18 Leo Liu <sdl.web@gmail.com>
2434
dc9924b8 2435 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2436
d9a8eb66
EZ
24372012-03-17 Eli Zaretskii <eliz@gnu.org>
2438
2439 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2440 (ispell-choices-win-default-height, ispell-silently-savep)
2441 (ispell-dictionary-alist, ispell-encoding8-command)
2442 (ispell-check-version, ispell-aspell-find-dictionary)
2443 (ispell-valid-dictionary-list, ispell-words-keyword)
2444 (ispell-get-word, ispell-internal-change-dictionary)
2445 (ispell-region, ispell-skip-region-list)
2446 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2447 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2448 (ispell-message-text-end, ispell-message)
2449 (ispell-buffer-local-parsing): Doc fix.
2450
f02ff80d
J
24512012-03-13 Jambunathan K <kjambunathan@gmail.com>
2452
2453 * htmlfontify.el: Add support for code block fontification for ODT
2454 export (Bug #9914).
2455 (hfy-optimisations): Define new option
2456 `body-text-only'
2457 (hfy-fontify-buffer): Honor above setting.
2458 (hfy-begin-span, hfy-end-span): New routines factored out form
2459 `hfy-fontify-buffer'.
2460 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2461 that permit insertion of custom tags.
2462 (hfy-fontify-buffer): Use above handlers.
2463 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2464 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2465 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2466 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2467 bind a special variable `hfy-user-sheet-assoc'.
2468 (htmlfontify-string): New defun.
2469 (hfy-compile-face-map): Make sure that the last char in the
2470 buffer is correctly fontified.
2471 (hfy-face-resolve-face): Whitespace only change.
2472
9ac7a13f
EZ
24732012-03-17 Eli Zaretskii <eliz@gnu.org>
2474
2475 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2476 message more clear.
2477
e2b5bdd7
LL
24782012-03-16 Leo Liu <sdl.web@gmail.com>
2479
2480 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2481
2e492df3
AM
24822012-03-16 Alan Mackenzie <acm@muc.de>
2483
2484 Further optimise the handling of large macros.
2485
2486 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2487 limit to a call of `c-literal-limits'.
2488 (c-determine-+ve-limit): New function.
dc9924b8
SM
2489 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2490 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2491 In CASE 5B, restrict a search limit to 500.
2492 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2493
2494 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2495 Restrict macro bounds to +-500 from after-change's BEG END.
2496
50e94f0c
LL
24972012-03-16 Leo Liu <sdl.web@gmail.com>
2498
2499 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2500
6f09f6ed
AH
25012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2502
2503 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2504 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2505
c7e73d51
GM
25062012-03-16 Glenn Morris <rgm@gnu.org>
2507
da986230
GM
2508 * view.el (view-buffer, view-buffer-other-window)
2509 (view-buffer-other-frame): Doc fixes re special mode-class.
2510
0835f01e
GM
2511 * subr.el (eval-after-load): If named feature is provided not from
2512 a file, run after-load forms. (Bug#10946)
2513
c7e73d51
GM
2514 * calendar/calendar.el (calendar-insert-at-column):
2515 Handle non-unit-width characters a bit better. (Bug#10978)
2516
3f2eafd1
CY
25172012-03-15 Chong Yidong <cyd@gnu.org>
2518
2519 * emacs-lisp/ring.el (ring-extend): New function.
2520 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2521
2522 * comint.el (comint-read-input-ring)
2523 (comint-add-to-input-history): Grow comint-input-ring lazily.
2524
103af3fe
SM
25252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2526
663b1677
SM
2527 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2528 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2529
103af3fe
SM
2530 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2531 (imenu-add-to-menubar): Don't add a redundant index.
2532 (imenu-update-menubar): Handle a dynamically composed keymap.
2533
899cb7cb
KY
25342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2535
2536 * mail/sendmail.el (mail-encode-header):
2537 Bind rfc2047-encode-encoded-words to nil.
2538
3809f91d
GM
25392012-03-13 Glenn Morris <rgm@gnu.org>
2540
2541 * calendar/calendar.el (calendar-string-spread):
2542 Handle non-unit-width characters a bit better. (Bug#10978)
2543
9e345a01
LL
25442012-03-13 Leo Liu <sdl.web@gmail.com>
2545
2546 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2547 directory and file as argument (Bug#10822).
2548
4a07df36
KS
25492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2550
2551 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2552 For dynamically generated code, follow $PC.
2553 (gdb-disassembly-handler-custom): Handle no function name case.
2554
4aaa9356
TL
25552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2556
2557 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2558 * emulation/ws-mode.el (ws-query-replace):
2559 * sort.el (sort-regexp-fields):
2560 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2561
225979da
SM
25622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * dabbrev.el: Fix cycle completion order (bug#10963).
2565 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2566 (dabbrev-completion): Don't use an obarray; provide
2567 a cycle-sort-function.
2568
e2f1fdab
LL
25692012-03-12 Leo Liu <sdl.web@gmail.com>
2570
dc9924b8 2571 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2572 (kill-do-not-save-duplicates): Doc fix.
2573
b19490ed
SM
25742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * dabbrev.el: Fix cycle completion (bug#10963).
2577 Use lexical binding and wrap to 80 columns.
2578 (dabbrev-completion): Delay computing the list of completions.
2579
4b05d722
KH
25802012-03-12 Kenichi Handa <handa@m17n.org>
2581
2582 * international/quail.el (quail-insert-kbd-layout): Surround each
2583 row by LRO and PDF instead of inserting many LRMs. Pad the left
2584 and right of each non-spacing marks. Insert invisible space
2585 between lower and upper characters to prevent composition.
2586
dbbc2e69
SM
25872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * minibuffer.el (minibuffer-complete): Don't get confused when the
2590 function is run twice via different commands (bug#10958).
2591 (complete-with-action): Fix docstring.
2592
292112ed
CY
25932012-03-12 Chong Yidong <cyd@gnu.org>
2594
5d1ac394
CY
2595 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2596 (nxml-completion-at-point-function): New function.
2597 (nxml-mode): Use it.
2598 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2599
292112ed
CY
2600 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2601 Load generated autoloads file before byte compiling (Bug#10970).
2602 (package--make-autoloads-and-compile): New helper fun.
2603
4098f8f7
CS
26042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2605
2606 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2607
8f754691
MA
26082012-03-11 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * autorevert.el (auto-revert-handler): Ensure, that
2611 file-readable-p is applied only for local files or in
2612 auto-revert-tail-mode.
2613
e29ab36b
AS
26142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2615
dbbc2e69
SM
2616 * server.el (server-eval-at): Handle non-tcp connections.
2617 Decode result string.
ad0bf5b6 2618
e29ab36b
AS
2619 * server.el (server-msg-size): New constant.
2620 (server-reply-print): New function.
2621 (server-eval-and-print): Use it.
2622 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2623 Handle -print-nonl.
2624
de5939ba
CS
26252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2626
2627 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2628 (Bug#10987).
2629
0c93eabf
CY
26302012-03-11 Chong Yidong <cyd@gnu.org>
2631
397a688f
CY
2632 * simple.el (goto-line): Doc fix (Bug#9938).
2633
2cc775f9
CY
2634 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2635
0c93eabf
CY
2636 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2637 when finished (Bug#10963).
2638
c491fa41
MR
26392012-03-11 Martin Rudalics <rudalics@gmx.at>
2640
2641 * window.el (split-window-below): Fix bug in case where
2642 split-window-keep-point is nil (Bug#10971).
2643
300e8fa5
JL
26442012-03-11 Juri Linkov <juri@jurta.org>
2645
2646 * replace.el (replace-highlight): Set isearch-word to nil
2647 unconditionally. (Bug#10887)
2648
dbf6c5a1
EZ
26492012-03-10 Eli Zaretskii <eliz@gnu.org>
2650
2651 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2652 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2653 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2654 (mairix-widget-create-query): Add usage information about mairix
2655 search forms: negating words, searching for substrings, etc.
2656
b9e501de
JP
26572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2658
2659 * international/fontset.el (font-encoding-alist): Add an entry for
2660 ksx1001 (Bug#5667).
2661
92795c91
RS
26622012-03-10 Richard Stallman <rms@gnu.org>
2663
1694e6c1
RS
2664 * mail/sendmail.el (mail-encode-header):
2665 Set rfc2047-encode-encoded-words.
2666
607e8555
RS
2667 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2668
de3bc99a
RS
2669 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2670 view buffer means not swapped.
2671 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2672 (rmail-write-region-annotate): Error if real text has disappeared.
2673
92795c91
RS
2674 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2675
699bd04e
CY
26762012-03-10 Chong Yidong <cyd@gnu.org>
2677
2678 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2679 * emulation/cua-base.el (cua--init-keymaps):
2680 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2681
570a1714
MR
26822012-03-10 Martin Rudalics <rudalics@gmx.at>
2683
dbbc2e69
SM
2684 * speedbar.el (speedbar-unhighlight-one-tag-line):
2685 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2686
82dcf4e4
CY
26872012-03-10 Chong Yidong <cyd@gnu.org>
2688
7a2c7ca7
CY
2689 * minibuffer.el (completion-in-region, completion-help-at-point):
2690 Give the completion field overlay a high priority (Bug#6830).
2691
82dcf4e4
CY
2692 * dired.el (dired-goto-file): Recognize absolute file name
2693 listings (Bug#7126).
2694 (dired-goto-file-1): New helper function.
2695 (dired-toggle-read-only): Inhibit warnings.
2696
052e28ac
MA
26972012-03-09 Michael Albinus <michael.albinus@gmx.de>
2698
75f1671a 2699 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2700 there are no properties.
2701
95d5e396
LL
27022012-03-09 Leo Liu <sdl.web@gmail.com>
2703
2704 * savehist.el (savehist-printable): Stricter check for string
2705 value (Bug#10937).
2706
3f018d6d
EZ
27072012-03-09 Eli Zaretskii <eliz@gnu.org>
2708
dbbc2e69
SM
2709 * mail/smtpmail.el (smtpmail-send-it):
2710 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2711 valid mbox format.
2712
f7fd3d79
GM
27132012-03-09 Glenn Morris <rgm@gnu.org>
2714
2715 * files.el (dir-locals-find-file):
2716 Don't check result is regular, readable.
2717 (dir-locals-read-from-file): Demote errors.
2718
6ff6e72f
EZ
27192012-03-08 Eli Zaretskii <eliz@gnu.org>
2720
dbbc2e69
SM
2721 * international/quail.el (quail-insert-kbd-layout):
2722 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2723 layout cell, to prevent their reordering by bidi display engine.
2724 For details, see the discussion in
2725 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2726
9cec7834
AM
27272012-03-08 Alan Mackenzie <acm@muc.de>
2728
2729 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2730 the starting position; make it extend the marked region when
2731 invoked repeatedly - all under appropriate circumstances.
2732 Fixes bugs #5525, #10906.
2733
9a40b8d4
GM
27342012-03-08 Glenn Morris <rgm@gnu.org>
2735
2736 * files.el (locate-dominating-file, dir-locals-find-file):
2737 Undo 2012-03-06 change.
2738
7a08ed35
EZ
27392012-03-07 Eli Zaretskii <eliz@gnu.org>
2740
dbbc2e69
SM
2741 * international/quail.el (quail-help):
2742 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2743 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2744 for the reason.
2745
5aca4f71 27462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2747
2748 Avoid superfluous registering of signals. (Bug#10807)
2749
2750 * notifications.el (notifications-on-action-object)
2751 (notifications-on-close-object): New defvars.
2752 (notifications-on-action-signal, notifications-on-closed-signal):
2753 Unregister the signal if not needed any longer.
2754 (notifications-notify): Register `notifications-action-signal' or
2755 `notifications-closed-signal', if :on-action or :on-close has been
2756 passed as argument.
2757
78e8b10a
CY
27582012-03-07 Chong Yidong <cyd@gnu.org>
2759
2760 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2761 non-X platforms.
2762
69481eb8
GM
27632012-03-06 Glenn Morris <rgm@gnu.org>
2764
2765 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2766 (x-disown-selection-internal, x-get-selection-internal):
2767 Doc fix (add arglist signatures). (Bug#10783)
2768
133b8e11
KS
27692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2770
2771 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2772 Handle breakpoints with no "type".
2773
99a83064
GM
27742012-03-06 Glenn Morris <rgm@gnu.org>
2775
2776 * files.el (locate-dominating-file): Add optional predicate argument.
2777 (dir-locals-find-file): Make use of above change.
2778
17798e78
TTN
27792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2780
2781 * info.el (Info-insert-dir): Also try "dir.gz".
2782
eb182446
GM
27832012-03-06 Glenn Morris <rgm@gnu.org>
2784
8f2114ee
GM
2785 * files.el (dir-locals-find-file):
2786 Ignore non-readable or non-regular files. (Bug#10928)
2787
eb182446
GM
2788 * files.el (locate-dominating-file): Doc fix.
2789
24679323
AS
27902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2791
2792 * calendar/calendar.el (calendar-set-mode-line):
2793 `getenv' returns a string. (Bug#10951)
2794
01d972a9
LL
27952012-03-05 Leo Liu <sdl.web@gmail.com>
2796
109aa8a9
LL
2797 * simple.el (backward-delete-char-untabify): Constrain point to
2798 field (Bug#10939).
2799
01d972a9
LL
2800 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2801
10607bea
CY
28022012-03-05 Chong Yidong <cyd@gnu.org>
2803
2804 * simple.el (count-words): If called from Lisp, return the word
2805 count, for symmetry with `count-lines'. Arglist changed.
2806 (count-words--message): Args changed. Consolidate counting code
2807 from count-words and count-words-region.
2808 (count-words-region): Caller changed.
2809 (count-lines-region): Make it an obsolete alias.
2810
5dd11cfe
TH
28112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2812
2813 * saveplace.el (save-place-to-alist)
2814 (save-place-ignore-files-regexp): Allow value nil to disable this
2815 feature.
2816
c349f4e6
CY
28172012-03-04 Chong Yidong <cyd@gnu.org>
2818
2819 * faces.el (face-spec-reset-face): For the default face, reset the
2820 attributes to default values (Bug#10748).
2821
e627be4c
LMI
28222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2823
2824 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2825 previous patch: Check `message-send-mail-function', and not the
2826 default function (bug#10897).
2827
ebeabff4
MA
28282012-03-04 Michael Albinus <michael.albinus@gmx.de>
2829
a41a6cf4
MA
2830 * notifications.el (notifications-on-action-signal)
2831 (notifications-on-closed-signal): Check for unique service name of
2832 incoming event. Fix error in removing entry.
ebeabff4 2833 (top): Register for signals with wildcard service name.
a41a6cf4 2834 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2835
c1ca42b4
CY
28362012-03-04 Chong Yidong <cyd@gnu.org>
2837
dc9924b8 2838 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2839
ea16568d
GM
28402012-03-04 Glenn Morris <rgm@gnu.org>
2841
2842 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2843 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2844 (expand-abbrev, define-abbrev-table): Doc fixes.
2845
fbae4637
LMI
28462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2847
2848 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2849 `message-default-send-mail-function' and not `send-mail-function'
2850 when doing the prompting for `sendmail-query-once' before sending
2851 in Message buffers (bug#10897).
2852
a1e7225c
LMI
2853 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2854 This is inconsistent with all the other stream functions, which leave
2855 the setting up to the higher levels (if so wanted) (bug#10931).
2856
56d093a9
AM
28572012-03-02 Alan Mackenzie <acm@muc.de>
2858
2859 Depessimize the handling of very large macros.
2860
2861 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2862 (c-macro-cache-syntactic): New variables to implement a one
2863 element macro cache.
2864 (c-invalidate-macro-cache): New function.
2865 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2866 Adapt to use the new cache.
2867 (c-state-safe-place): Use better the cache of safe positions.
2868 (c-state-semi-nonlit-pos-cache)
2869 (c-state-semi-nonlit-pos-cache-limit):
2870 New variables for...
2871 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2872 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2873 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2874 Use c-state-semi-safe-place.
56d093a9 2875
dbbc2e69
SM
2876 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2877 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2878
817e5c3d
MA
28792012-03-02 Michael Albinus <michael.albinus@gmx.de>
2880
dbbc2e69
SM
2881 * jka-compr.el (jka-compr-call-process):
2882 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2883 not remote.
2884
a032a702
MA
28852012-03-01 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2888 access of FILE2, if FILE1 does not exist.
2889
99a54f21
MA
2890 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2891 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2892
2893 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2894 Add "PAGER=" to `process-environment'.
2895
f6561e1f
MM
28962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2897
2898 * progmodes/sql.el: Bug fix
2899 (sql-get-login-ext): Save login values in globals.
2900 (sql-get-login): Use new version of `sql-get-login-ext'.
2901 (sql-interactive-mode): Set global `sql-connection' to nil.
2902 (sql-connect): Set global values for connection.
2903 (sql-product-interactive): Save global values as buffer local.
2904
2d44d9cc
LL
29052012-02-29 Leo Liu <sdl.web@gmail.com>
2906
2907 * abbrev.el (define-abbrevs): Reset sys to nil.
2908
96b49301 29092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2910
bf7f9bc5
JB
2911 * files.el (file-equal-p): Rename from `files-equal-p'.
2912 Return nil when one or both files don't exist.
96b49301 2913 (file-subdir-of-p): Now only top directory must exists,
2914 return nil if it doesn't.
bf7f9bc5
JB
2915 (copy-directory): No need to test with `file-subdir-of-p' after
2916 creating dir.
2917 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2918 to `file-equal-p'.
96b49301 2919
44e97401
GM
29202012-02-28 Glenn Morris <rgm@gnu.org>
2921
2922 * shell.el (shell-mode):
2923 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2924 * play/landmark.el (landmark-font-lock-face-O):
2925 * play/handwrite.el (handwrite):
2926 * play/gomoku.el (gomoku-O):
2927 * net/browse-url.el (browse-url-browser-display):
2928 * international/mule.el (define-charset):
2929 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2930 * filesets.el (filesets-find-file-delay):
2931 * eshell/em-xtra.el (eshell-xtra):
2932 * eshell/em-unix.el (eshell-grep):
2933 * emulation/viper.el (viper-mode):
2934 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2935 * emacs-lisp/easymenu.el (easy-menu-define):
2936 * calendar/timeclock.el (timeclock-use-display-time):
2937 * bs.el (bs-mode):
2938 * bookmark.el (bookmark-save-flag):
2939 Doc fix (standardize possessive apostrophe usage).
2940
c98c6276
CY
29412012-02-27 Chong Yidong <cyd@gnu.org>
2942
bf7f9bc5
JB
2943 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2944 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2945
c98c6276
CY
2946 * font-lock.el (font-lock-specified-p): Rename from
2947 font-lock-spec-present. Callers changed.
2948
9c62cd04 29492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2950
bf7f9bc5
JB
2951 * emacs-lisp/package.el (package-compute-transaction):
2952 Handle holding a package version to t in package-load-list.
8ac9e529 2953
530739c9
MA
29542012-02-26 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2957 (tramp-get-inode, tramp-get-device): Use cached values.
2958
487915d7
AM
29592012-02-26 Alan Mackenzie <acm@muc.de>
2960
2961 Check there is a font-lock specification before doing initial
2962 fontification.
2963
2964 * font-core.el (font-lock-mode): Move the conditional from
2965 :after-hook to font-lock-initial-fontify.
2966 (font-lock-default-function): Move the check for a specification
2967 to font-lock-spec-present.
2968
dc9924b8 2969 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2970 (font-lock-spec-present): New function.
2971
4fd96557
JB
29722012-02-26 Jim Blandy <jimb@red-bean.com>
2973
2974 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2975 (gdb-send): Apply it to the operand of the '-interpreter-exec
2976 console' command, so that we can pass arguments with (say) quotes
2977 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2978
9a4888c0
CY
29792012-02-26 Chong Yidong <cyd@gnu.org>
2980
07498861
CY
2981 * help-fns.el (describe-function-1): Clarify description of
2982 remapping (Bug#10844).
2983
9a4888c0
CY
2984 * files.el (files-equal-p): Doc fix.
2985 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2986 and quit the loop once a mismatch is found.
2987
ea8fb88d
JB
29882012-02-25 Juanma Barranquero <lekktu@gmail.com>
2989
2990 * bs.el (bs--show-with-configuration): Don't throw an error
2991 if the window cannot be split; otherwise, subsequent calls to
2992 bs-show fail, restoring a stale window config. (Bug#10882)
2993
525795c1
JD
29942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2995
2996 * term/ns-win.el (global-map): Bind ns-drag-file to
2997 ns-find-file (Bug#5855, Bug#10050).
2998
f008086f
AS
29992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3000
3001 * calendar/parse-time.el (parse-time-string): Allow extractor to
3002 return nil.
3003
a3fcfa99
MA
30042012-02-25 Michael Albinus <michael.albinus@gmx.de>
3005
91027d08
JB
3006 * net/tramp.el (tramp-file-name-for-operation):
3007 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3008
3009 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3010 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3011 Add COPY-CONTENTS argument.
a3fcfa99 3012
67b0de11
CY
30132012-02-25 Chong Yidong <cyd@gnu.org>
3014
3015 Add custom groups for VC backends, for consistency with vc-bzr.
3016
3017 * vc/vc-arch.el (vc-arch):
3018 * vc/vc-cvs.el (vc-cvs):
3019 * vc/vc-git.el (vc-git):
3020 * vc/vc-hg.el (vc-hg):
3021 * vc/vc-mtn.el (vc-mtn):
3022 * vc/vc-rcs.el (vc-rcs):
3023 * vc/vc-sccs.el (vc-sccs):
3024 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3025 All relevant defcustoms reassigned.
3026
3c9dfce6
CY
30272012-02-25 Chong Yidong <cyd@gnu.org>
3028
1339bf43
CY
3029 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3030
3c9dfce6
CY
3031 * term/x-win.el (x-initialize-window-system): Reduce default for
3032 x-selection-timeout to 5 seconds (Bug#8869).
3033
25b2e303 30342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3035
ec70a47d
GM
3036 * files.el (files-equal-p, file-subdir-of-p): New functions.
3037 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3038 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3039 * dired-aux.el (dired-copy-file-recursive): Same.
3040 (dired-create-files): Modify destination when source is equal to
3041 dest when copying files.
53a46cd0 3042 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3043
914260cd
MA
30442012-02-24 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3047 (Bug#10874)
3048
2cb228f7
AM
30492012-02-23 Alan Mackenzie <acm@muc.de>
3050
3051 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3052 parameter "after-hook:" to allow the expansion to run code after
3053 the execution of the mode hooks.
3054
3055 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3056 from font-lock-mode-internal.
2cb228f7 3057
91027d08 3058 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3059 :after-hook.
3060
8f0fde21
SM
30612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3e88618b
SM
3063 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3064 (completion--cache-all-sorted-completions): New function.
3065 (completion-all-sorted-completions): Use it.
3066 (completion--do-completion, minibuffer-force-complete):
3067 Use it to re-instate the flush hook.
3068
8f0fde21
SM
3069 * icomplete.el (icomplete-completions): Replace last fix with a better
3070 one (bug#10850).
3071
8e911f6f
DG
30722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3073
3074 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3075 when it might call us back infinitely (bug#10797).
3076
49fe4321
GM
30772012-02-23 Glenn Morris <rgm@gnu.org>
3078
3079 * minibuffer.el (completion-category-overrides): Doc fix.
3080
b291b572
SM
30812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3084 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3085
31a9ef2e
GM
30862012-02-23 Glenn Morris <rgm@gnu.org>
3087
5e6e6794 3088 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3089 (authors-obsolete-files-regexps, authors-ignored-files)
3090 (authors-ambiguous-files, authors-renamed-files-alist):
3091 Add more entries.
3092
0bd1e074
JL
30932012-02-23 Juri Linkov <juri@jurta.org>
3094
3095 * isearch.el (isearch-occur): Sync interactive spec with occur's
3096 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3097
b617673c
JL
3098 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3099
19e9789e
JL
31002012-02-22 Juri Linkov <juri@jurta.org>
3101
3102 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3103 (ucs-insert): Doc fix. Check for hex digits in the string.
3104 Don't display `nil' in the error message. (Bug#10857)
3105
f41ce09d
AM
31062012-02-22 Alan Mackenzie <acm@muc.de>
3107
7a71b18d 3108 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3109
ac2eceee
GM
31102012-02-22 Glenn Morris <rgm@gnu.org>
3111
3112 * ffap.el (ffap-c-path):
3113 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3114
abd1f678
CY
31152012-02-22 Chong Yidong <cyd@gnu.org>
3116
3117 * custom.el (load-theme): Doc fix.
3118
f25aef2e
GM
31192012-02-22 Glenn Morris <rgm@gnu.org>
3120
3121 * dired-x.el (dired-guess-shell-alist-default):
3122 Remove escape sequences from nroff output. (Bug#172)
3123
5f8dc2ca
GM
31242012-02-21 Glenn Morris <rgm@gnu.org>
3125
6ff86ec4
GM
3126 * vc/emerge.el (emerge-defvar-local):
3127 Set `permanent-local' property rather than unused `preserved'.
3128
be3223a3 3129 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3130 (picture-mode-map): Use it. (Bug#10860)
3131 (picture-mode): Doc fix.
3132
3fe58f4f
JB
31332012-02-21 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * newcomment.el (uncomment-region-default): Remove unused binding.
3136
f9a998c3
GM
31372012-02-21 Glenn Morris <rgm@gnu.org>
3138
3139 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3140 (picture-self-insert, picture-tab-chars): Doc fix.
3141 (picture-mode-map): Fix C-a, C-e.
3142
c6029348
GM
31432012-02-20 Glenn Morris <rgm@gnu.org>
3144
3145 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3146
ab1ce9d7
LL
31472012-02-20 Leo Liu <sdl.web@gmail.com>
3148
3149 * icomplete.el (icomplete-completions): Check FROM arg before
3150 passing to substring (Bug#10850).
3151
0fd40f89
CY
31522012-02-19 Chong Yidong <cyd@gnu.org>
3153
3154 * comint.el: Require ansi-color.
3155 (comint-output-filter-functions): Add ansi-color-process-output.
3156
3157 * ansi-color.el: Don't set comint-output-filter-functions; it is
3158 now in the initial value defined in comint.el.
3159 (ansi-color-apply-face-function): New variable.
3160 (ansi-color-apply-on-region): Use it.
3161 (ansi-color-apply-overlay-face): New function.
3162
3163 * shell.el (shell): No need to require ansi-color.
3164 (shell-mode): Use ansi-color-apply-face-function to highlight
3165 color escapes using font-lock-face property (Bug#10835).
3166
20af2394
CY
31672012-02-19 Chong Yidong <cyd@gnu.org>
3168
3169 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3170 mode-line formats (Bug#10839).
3171
e23a3fbe
GM
31722012-02-18 Glenn Morris <rgm@gnu.org>
3173
b474519e
GM
3174 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3175
3176 * mail/undigest.el (unforward-rmail-message): Doc fix.
3177
e23a3fbe
GM
3178 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3179
57939ff4
EZ
31802012-02-18 Eli Zaretskii <eliz@gnu.org>
3181
3182 * international/characters.el (script-list): Sync with the latest
3183 Unicode Character Database.
3184
0c23686e
AS
31852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3186
3187 * international/titdic-cnv.el: Remove duplicate coding tag.
3188 * language/cham.el: Likewise.
3189 * language/tai-viet.el: Likewise.
3190
6818b449
GM
31912012-02-18 Glenn Morris <rgm@gnu.org>
3192
3193 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3194 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3195 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3196 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3197 * calendar/holidays.el (holiday-bahai-holidays)
3198 (calendar-holidays, list-holidays):
3199 Use utf-8 Bahá'í in doc-strings, menus, etc.
3200
0311a3fc
TH
32012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3202
3203 * saveplace.el (save-place-ignore-files-regexp): New variable
3204 allowing for excluding files from saving their location of point.
3205 The default value matches the temporary commit message editing
3206 files from Git, SVN, Bazaar, and Mercurial.
3207 (save-place-to-alist): Use it.
3208
eb864a71
LM
32092012-02-17 Lawrence Mitchell <wence@gmx.li>
3210 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * newcomment.el (uncomment-region-default): Don't leave extra space
3213 when an arg is provided (bug#8150).
3214
ee0ce425
TZ
32152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3216
eb864a71 3217 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3218
95ddf442
GM
32192012-02-17 Glenn Morris <rgm@gnu.org>
3220
3221 * net/socks.el: Require network-stream. (Bug#10599)
3222
48dd1e39 32232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3224
3225 * international/charprop.el:
3226 * international/uni-name.el:
3227 * international/uni-old-name.el:
3228 * international/uni-comment.el: Regenerate.
3229
d68cd087
GM
32302012-02-16 Glenn Morris <rgm@gnu.org>
3231
3232 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3233 Interactively in calendar buffer, give an error if not on a date.
3234
13932042
GM
32352012-02-15 Glenn Morris <rgm@gnu.org>
3236
3237 * shell.el (shell-delimiter-argument-list):
3238 Revert 2011-02-17 change. (Bug#8027)
3239
c3a70e2b
CY
32402012-02-15 Chong Yidong <cyd@gnu.org>
3241
60236b0d
CY
3242 * minibuffer.el (completion-at-point-functions): Doc fix.
3243
c3a70e2b
CY
3244 * custom.el (defcustom): Doc fix; note use of defvar.
3245
9f26dc24
GM
32462012-02-15 Glenn Morris <rgm@gnu.org>
3247
3248 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3249 Doc fixes.
3250
6546b134
GM
32512012-02-14 Glenn Morris <rgm@gnu.org>
3252
3253 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3254
d29b2b4c
LI
32552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3256
3257 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3258 way the ports list is computed.
835bdcba
LI
3259 (smtpmail-query-smtp-server): Prompt the user for a port number if
3260 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3261
08dcdbc9
TZ
32622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3263
3264 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3265
2605051a
GM
32662012-02-13 Glenn Morris <rgm@gnu.org>
3267
3268 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3269
7ee99f32
TZ
32702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3271
3272 * net/gnutls.el (gnutls-trustfiles): New variable.
3273 (gnutls-negotiate): Use it.
3274
5f0af64f
LI
32752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3276
3277 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3278 does its stuff if Gnus is running.
3279
c14fcc95
AM
32802012-02-13 Alan Mackenzie <acm@muc.de>
3281
3282 Fix a loop in c-set-fl-decl-start.
3283
7a71b18d 3284 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3285 c-backward-syntactic-ws actually moves backwards.
3286
142b4d90
LL
32872012-02-13 Leo Liu <sdl.web@gmail.com>
3288
3289 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3290 beginning so that all \C-o chars are removed.
3291
fa9958a6
TZ
32922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3293
dc9924b8 3294 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3295
0bc5886a
AM
32962012-02-12 Alan Mackenzie <acm@muc.de>
3297
3298 Fix infinite loop with long macros.
4d6769e1 3299 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3300
d4bd55e7
CY
33012012-02-12 Chong Yidong <cyd@gnu.org>
3302
3303 * window.el (display-buffer): Doc fix (Bug#10785).
3304
66f3fe22
GM
33052012-02-12 Glenn Morris <rgm@gnu.org>
3306
bd7da63e
GM
3307 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3308 (x-disown-selection-internal, x-get-selection-internal):
3309 Sync docs with the xselect.c versions.
3310
66f3fe22
GM
3311 * allout-widgets.el: Add missing license notice.
3312
3e0d2fa7
GM
33132012-02-11 Glenn Morris <rgm@gnu.org>
3314
cfecdf09
GM
3315 * select.el (x-get-selection-internal, x-own-selection-internal)
3316 (x-disown-selection-internal):
3317 * x-dnd.el (x-get-selection-internal): Update declarations.
3318
6d216d7f
GM
3319 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3320
2bed3f04
GM
3321 * window.el (window-sides-slots):
3322 * tool-bar.el (tool-bar-position):
3323 * term/xterm.el (xterm-extra-capabilities):
3324 * ses.el (ses-self-reference-early-detection):
3325 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3326 (verilog-auto-wire-type)
3327 (verilog-auto-delete-trailing-whitespace)
3328 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3329 (verilog-auto-tieoff-declaration):
3330 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3331 (sql-oracle-statement-starters, sql-oracle-scan-on):
3332 * progmodes/prolog.el (prolog-align-comments-flag)
3333 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3334 (prolog-left-indent-regexp, prolog-paren-indent-p)
3335 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3336 (prolog-types, prolog-mode-specificators)
3337 (prolog-determinism-specificators, prolog-directives)
3338 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3339 (prolog-electric-dot-flag)
3340 (prolog-electric-dot-full-predicate-template)
3341 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3342 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3343 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3344 (prolog-program-switches, prolog-prompt-regexp)
3345 (prolog-debug-on-string, prolog-debug-off-string)
3346 (prolog-trace-on-string, prolog-trace-off-string)
3347 (prolog-zip-on-string, prolog-zip-off-string)
3348 (prolog-use-standard-consult-compile-method-flag)
3349 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3350 (prolog-imenu-max-lines, prolog-info-predicate-index)
3351 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3352 (prolog-char-quote-workaround):
3353 * progmodes/cc-vars.el (c-defun-tactic):
3354 * net/tramp.el (tramp-encoding-command-interactive)
3355 (tramp-local-end-of-line):
3356 * net/soap-client.el (soap-client):
3357 * net/netrc.el (netrc-file):
3358 * net/gnutls.el (gnutls):
3359 * minibuffer.el (completion-category-overrides)
3360 (completion-cycle-threshold)
3361 (completion-pcm-complete-word-inserts-delimiters):
3362 * man.el (Man-name-local-regexp):
3363 * mail/feedmail.el (feedmail-display-full-frame):
3364 * international/characters.el (glyphless-char-display-control):
3365 * eshell/em-ls.el (eshell-ls-date-format):
3366 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3367 (lisp-lambda-list-keyword-parameter-indentation)
3368 (lisp-lambda-list-keyword-parameter-alignment):
3369 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3370 * dired-x.el (dired-omit-verbose):
3371 * cus-theme.el (custom-theme-allow-multiple-selections):
3372 * calc/calc.el (calc-highlight-selections-with-faces)
3373 (calc-lu-field-reference, calc-lu-power-reference)
3374 (calc-note-threshold):
3375 * battery.el (battery-mode-line-limit):
3376 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3377 (archive-7z-update):
3378 * allout.el (allout-prefixed-keybindings)
3379 (allout-unprefixed-keybindings)
3380 (allout-inhibit-auto-fill-on-headline)
3381 (allout-flattened-numbering-abbreviation):
3382 * allout-widgets.el (allout-widgets-auto-activation)
3383 (allout-widgets-icons-dark-subdir)
3384 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3385 (allout-widgets-theme-dark-background)
3386 (allout-widgets-theme-light-background)
3387 (allout-widgets-item-image-properties-emacs)
3388 (allout-widgets-item-image-properties-xemacs)
3389 (allout-widgets-run-unit-tests-on-load)
3390 (allout-widgets-time-decoration-activity)
3391 (allout-widgets-hook-error-post-time)
3392 (allout-widgets-track-decoration):
3393 Add missing :version tags to new defcustoms and defgroups.
3394
5fec1b8e
GM
3395 * progmodes/sql.el (sql-ansi-statement-starters)
3396 (sql-oracle-statement-starters): Add custom type.
3397
3e0d2fa7
GM
3398 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3399 (prolog-system-version): Give it a type.
3400
90b671e2
EZ
34012012-02-11 Eli Zaretskii <eliz@gnu.org>
3402
3403 * term/pc-win.el (x-select-text, x-selection-owner-p)
3404 (x-own-selection-internal, x-disown-selection-internal)
3405 (x-get-selection-internal): Sync doc strings and argument lists
3406 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3407
5eac0c02
LL
34082012-02-11 Leo Liu <sdl.web@gmail.com>
3409
3410 * progmodes/python.el (python-end-of-statement): Fix infinite
3411 loop. (Bug#10788)
3412
f82cb659
GM
34132012-02-10 Glenn Morris <rgm@gnu.org>
3414
3415 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3416 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3417
cc26d239
LI
34182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3419
3420 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3421 about SMTP before checking the From header.
3422
91027d08 3423 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3424 into own function for reuse by emacsbug.el.
3425
1be3ca5a
LL
34262012-02-10 Leo Liu <sdl.web@gmail.com>
3427
3428 * subr.el (condition-case-unless-debug): Rename from
3429 condition-case-no-debug. All callers changed.
3430 (with-demoted-errors): Fix caller.
3431
3432 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3433 * nxml/rng-valid.el (rng-do-some-validation):
3434 * emacs-lisp/package.el (package-refresh-contents)
3435 (package-menu-execute):
3436 * desktop.el (desktop-create-buffer):
91027d08 3437 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3438
b011fbfe
GM
34392012-02-10 Glenn Morris <rgm@gnu.org>
3440
b2096d72
GM
3441 * textmodes/bibtex.el:
3442 Add missing :version tags for new/changed defcustoms.
3443
b011fbfe
GM
3444 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3445
4c7e65bf
LI
34462012-02-09 Lars Ingebrigtsen <larsi@rusty>
3447
3448 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3449 (smtpmail-via-smtp): Use it, or fall back on the From address.
3450 (smtpmail-send-it): Ditto.
3451
f3934f6f
SM
34522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3455 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3456 (byte-compile-tmp-var): New const.
3457 (byte-compile-defvar): Use it to minimize .elc size.
3458 Just use `defvar' rather than simulate it (bug#10761).
3459
a075a2c5
GM
34602012-02-09 Glenn Morris <rgm@gnu.org>
3461
cf3aa21b
GM
3462 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3463
354998cd
GM
3464 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3465 Add :version tags.
3466
dc9924b8
SM
3467 * progmodes/compile.el (compilation-error-screen-columns)
3468 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3469
dab3703d
GM
3470 * vc/log-view.el (log-view-toggle-entry-display):
3471 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3472
3f88cd72
GM
3473 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3474 (report-emacs-bug-can-use-xdg-email):
3475 (report-emacs-bug-insert-to-mailer): Doc fixes.
3476 (report-emacs-bug): Message fix.
3477
d95b247d
GM
3478 * net/browse-url.el (browse-url-can-use-xdg-open)
3479 (browse-url-xdg-open): Doc fixes.
3480
a075a2c5
GM
3481 * electric.el (electric-indent-mode, electric-pair-mode)
3482 (electric-layout-rules, electric-layout-mode): Doc fixes.
3483 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3484
ffb6157e
MR
34852012-02-08 Martin Rudalics <rudalics@gmx.at>
3486
3487 * server.el (server-unselect-display): Don't inadvertently kill
3488 the current buffer. (Bug#10729)
3489
e1ac4066
GM
34902012-02-08 Glenn Morris <rgm@gnu.org>
3491
34e8a2da
GM
3492 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3493 (sql-list-table): Doc fixes.
3494
b4ac6e8c
GM
3495 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3496 Comment out (does nothing).
3497
e1ac4066
GM
3498 * completion.el (dynamic-completion-mode):
3499 * dirtrack.el (dirtrack-debug-mode):
3500 * electric.el (electric-layout-mode):
3501 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3502 * face-remap.el (text-scale-mode, buffer-face-mode):
3503 * iimage.el (iimage-mode):
3504 * image-mode.el (image-transform-mode):
3505 * minibuffer.el (completion-in-region-mode):
3506 * scroll-lock.el (scroll-lock-mode):
3507 * simple.el (next-error-follow-minor-mode):
3508 * tar-mode.el (tar-subfile-mode):
3509 * tooltip.el (tooltip-mode):
3510 * vcursor.el (vcursor-use-vcursor-map):
3511 * wid-browse.el (widget-minor-mode):
3512 * emulation/tpu-edt.el (tpu-edt-mode):
3513 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3514 * international/iso-ascii.el (iso-ascii-mode):
3515 * language/thai-util.el (thai-word-mode):
3516 * mail/supercite.el (sc-minor-mode):
3517 * net/goto-addr.el (goto-address-mode):
3518 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3519 * progmodes/cwarn.el (cwarn-mode):
3520 * progmodes/flymake.el (flymake-mode):
3521 * progmodes/glasses.el (glasses-mode):
3522 * progmodes/hideshow.el (hs-minor-mode):
3523 * progmodes/pascal.el (pascal-outline-mode):
3524 * textmodes/enriched.el (enriched-mode):
3525 * vc/smerge-mode.el (smerge-mode):
3526 Doc fixes (minor mode argument).
3527
5e0d957f
EZ
35282012-02-07 Eli Zaretskii <eliz@gnu.org>
3529
3530 * ls-lisp.el (ls-lisp-sanitize): New function.
3531 (ls-lisp-insert-directory): Use it to fix or remove any elements
3532 in file-alist with missing attributes. (Bug#4673)
3533
98d7371e
AM
35342012-02-07 Alan Mackenzie <acm@muc.de>
3535
3536 Fix spurious recognition of c-in-knr-argdecl.
3537
3538 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3539 putative K&R region.
3540
667ced3a
AM
35412012-02-07 Alan Mackenzie <acm@muc.de>
3542
eb864a71
LM
3543 * progmodes/cc-engine.el (c-forward-objc-directive):
3544 Prevent looping in "#pragma mark @implementation".
667ced3a 3545
5b77774d
MA
35462012-02-07 Michael Albinus <michael.albinus@gmx.de>
3547
3548 * notifications.el (notifications-on-closed-signal): Make `reason'
3549 optional. (Bug#10744)
3550
af008560
GM
35512012-02-07 Glenn Morris <rgm@gnu.org>
3552
60d47423
GM
3553 * emacs-lisp/easy-mmode.el (define-minor-mode):
3554 Doc fixes for the macro and the mode it defines.
3555
dd605cc4
GM
3556 * image.el (imagemagick-types-inhibit): Doc fix.
3557
af008560
GM
3558 * cus-start.el (imagemagick-render-type): Add it.
3559
5cc59a37
LI
35602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3561
4d6769e1
JB
3562 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3563 Set the default at load time, too, so that `font-lock-fontify-buffer'
3564 can be called without setting up the entire mode first. This fixes
3565 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3566
9a6dd747
CY
35672012-02-06 Chong Yidong <cyd@gnu.org>
3568
2d16b285
CY
3569 * simple.el (list-processes--refresh): Delete exited processes
3570 (Bug#8094).
3571
171e9b6e
CY
3572 * comint.el (comint-next-prompt): next-single-char-property-change
3573 and prev-single-char-property-change never return nil (Bug#8657).
3574
9a6dd747
CY
3575 * custom.el (defcustom): Doc fix (Bug#9711).
3576
aa4589a7
CY
35772012-02-05 Chong Yidong <cyd@gnu.org>
3578
5c2a252f
CY
3579 * cus-edit.el (custom-variable-reset-backup): Quote the value
3580 before storing it in the customized-value property (Bug#6712).
4aab9006 3581 (custom-display): Add a customization type tag.
983b9602 3582 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3583
aa4589a7
CY
3584 * wid-edit.el (widget-field-value-get): New optional arg to
3585 suppress trailing whitespace truncation.
3586 (character): Use it (Bug#2689).
3587
1ff980ae
AS
35882012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3589
3590 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3591 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3592
03988c98
CY
35932012-02-05 Chong Yidong <cyd@gnu.org>
3594
eeb6cc88
CY
3595 * cus-edit.el (custom-variable-value-create): For mismatched
3596 types, show the current value (Bug#7600).
3597
03988c98
CY
3598 * custom.el (defcustom): Doc fix.
3599
f8cdeef0
GM
36002012-02-05 Glenn Morris <rgm@gnu.org>
3601
3602 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3603
0696d255
JB
36042012-02-05 Juanma Barranquero <lekktu@gmail.com>
3605
3606 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3607 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3608 (pp-last-sexp): Use `looking-at-p'.
3609
34c99998
GM
36102012-02-04 Glenn Morris <rgm@gnu.org>
3611
8f05da42
GM
3612 * files.el (revert-buffer):
3613 Doc fix (mention revert-buffer-in-progress-p).
3614
f160676e
GM
3615 * emacs-lisp/ert-x.el (ert-simulate-command):
3616 Check deferred-action-list (which is obsolete) is bound.
3617
c7291ad9
GM
3618 * subr.el (with-wrapper-hook): Doc fixes.
3619
34c99998
GM
3620 * simple.el (filter-buffer-substring-functions)
3621 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3622
6283a7d3
LL
36232012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3624
3625 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3626 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3627
e96e3013
LL
36282012-02-04 Leo Liu <sdl.web@gmail.com>
3629
3630 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3631
8ded50f2
GM
36322012-02-04 Glenn Morris <rgm@gnu.org>
3633
82ff1d13
GM
3634 * image.el (image-extension-data): Add obsolete alias.
3635
987a0a16
GM
3636 * isearch.el (isearch-update): Doc fix.
3637
ea32ef46
GM
3638 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3639
8ded50f2
GM
3640 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3641
eea14f31
GM
36422012-02-03 Glenn Morris <rgm@gnu.org>
3643
3644 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3645 (image-animate-timeout): Doc fix.
3646
3647 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3648
12f381b7
GM
36492012-02-02 Glenn Morris <rgm@gnu.org>
3650
953cebf5
GM
3651 * server.el (server-auth-dir): Doc fix.
3652 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3653
12f381b7
GM
3654 * subr.el (run-mode-hooks): Doc fix.
3655
953a8c3b
JL
36562012-02-02 Juri Linkov <juri@jurta.org>
3657
3658 * image-mode.el (image-toggle-display-image): Remove tautological
3659 `major-mode' from the `derived-mode-p' test.
3660
c5d3843c
KH
36612012-02-02 Kenichi Handa <handa@m17n.org>
3662
9f6e692e 3663 * composite.el (compose-region): Cancel previous change.
c5d3843c 3664
159462d4 36652012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3666
3667 * composite.el (compose-region, compose-string): Signal error for
3668 a null string component (Bug#6988).
3669
9f562668
CY
36702012-02-01 Chong Yidong <cyd@gnu.org>
3671
e2cef717
CY
3672 * view.el (view-buffer-other-window, view-buffer-other-frame):
3673 Handle special modes like view-buffer (Bug#10650).
3674 (view-buffer): Simplify.
3675
9f562668
CY
3676 * frame.el (set-frame-font): Tweak meaning of third argument.
3677
9f6e692e
JB
3678 * dynamic-setting.el (font-setting-change-default-font):
3679 Use set-frame-font (Bug#9982).
9f562668 3680
781acb9f
GM
36812012-02-01 Glenn Morris <rgm@gnu.org>
3682
6035be52
GM
3683 * progmodes/compile.el (compilation-internal-error-properties):
3684 Respect compilation-first-column in the "*compilation*" buffer.
3685
781acb9f
GM
3686 * emacs-lisp/easy-mmode.el (define-minor-mode):
3687 Relax :variable's test for a named function.
3688
abbceb00
AM
36892012-01-31 Alan Mackenzie <acm@muc.de>
3690
3691 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3692 off by one error.
3693
fce3fdeb
CY
36942012-01-31 Chong Yidong <cyd@gnu.org>
3695
3696 * frame.el (set-frame-font): New arg ALL-FRAMES.
3697
3698 * menu-bar.el (menu-set-font): Use set-frame-font.
3699
3700 * faces.el (face-spec-reset-face): Don't apply unspecified
3701 attribute values to the default face.
3702
47893581
JB
37032012-01-31 Juanma Barranquero <lekktu@gmail.com>
3704
3705 * progmodes/cwarn.el (cwarn): Remove dead link.
3706 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3707 Remove * from defcustom docstrings.
3708 (turn-on-cwarn-mode): Make obsolete.
3709 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3710 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3711
e58e988a
GM
37122012-01-31 Glenn Morris <rgm@gnu.org>
3713
60dc2671 3714 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3715 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3716 Allow named functions to be used as the cdr of :variable.
e58e988a 3717
7a3f511d
GM
37182012-01-30 Glenn Morris <rgm@gnu.org>
3719
3720 * emacs-lisp/authors.el (authors-fixed-entries):
3721 Remove reference to deleted file rnewspost.el.
3722
cb882333
JB
37232012-01-29 Juanma Barranquero <lekktu@gmail.com>
3724
3725 * window.el (window-with-parameter): Remove unused variable `windows'.
3726 (window--side-check): Remove unused variable `code'.
3727 (window--resize-siblings): Remove unused variable `first'.
3728 (adjust-window-trailing-edge): Remove unused variable `failed'.
3729 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3730 Use `let', not `let*'.
3731 (balance-windows-2): Remove unused variable `found'.
3732 (window--state-put-2): Remove unused variable `splits'.
3733 (window-state-put): Remove unused variable `selected'.
3734 (same-window-p): Use `string-match-p'.
3735 (display-buffer-assq-regexp): Remove unused variable `value'.
3736 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3737 Mark argument ALIST as ignored.
3738 (pop-to-buffer): Remove unused variable `old-window'.
3739
907201af
EZ
37402012-01-29 Eli Zaretskii <eliz@gnu.org>
3741
3742 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3743 and .lzma compressed files.
3744
ea162670
CY
37452012-01-29 Chong Yidong <cyd@gnu.org>
3746
5b95ee8a
CY
3747 * frame.el (window-system-default-frame-alist): Doc fix.
3748
ea162670
CY
3749 * dynamic-setting.el (font-setting-change-default-font): Don't
3750 change the default face if SET-FONT argument is non-nil (Bug#9982).
3751
d6e6f4b1
SB
37522012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3753
3754 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3755
0f29fa41 37562012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3757
3758 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3759 breakpoints in files outside current directory (Bug#6098).
3760
db174434
CY
37612012-01-29 Chong Yidong <cyd@gnu.org>
3762
6b25e4e2
SE
3763 * progmodes/python.el: Require ansi-color at top-level.
3764
6df6ae42
JB
3765 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3766 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3767 (lisp-mode-abbrev-table): Add doc.
3768 (lisp-mode-variables): Don't set local-abbrev-table.
3769 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3770
e70ee681
RW
37712012-01-28 Roland Winkler <winkler@gnu.org>
3772
3773 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3774
ace88aa2
RW
37752012-01-28 Roland Winkler <winkler@gnu.org>
3776
3777 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3778 (bibtex-set-dialect): Use it. Either set global values of
3779 dialect-dependent variables or bind these variables buffer-locally
3780 (Bug#10254).
3781 (bibtex-mode): Call bibtex-set-dialect via
3782 hack-local-variables-hook.
eb864a71
LM
3783 (bibtex-dialect): Update docstring.
3784 Add safe-local-variable predicate.
ace88aa2
RW
3785 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3786 bibtex-set-dialect.
3787 (bibtex-mode-map): Define menu for each dialect.
3788 (bibtex-entry): Fix docstring.
3789
93376c5b
CY
37902012-01-28 Chong Yidong <cyd@gnu.org>
3791
3792 * eshell/esh-arg.el (eshell-quote-argument): New function.
3793
3794 * eshell/esh-ext.el (eshell-invoke-batch-file):
3795 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3796 first arg to eshell-parse-command (Bug#10523).
3797
4372494f
DA
37982012-01-28 Drew Adams <drew.adams@oracle.com>
3799
3800 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3801 `default-directory' is non-nil.
3802
4d4ec1f8
EZ
38032012-01-28 Eli Zaretskii <eliz@gnu.org>
3804
3805 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3806 line that displays system-configuration-options. (Bug#9924)
3807
7c188927
DA
38082012-01-28 Drew Adams <drew.adams@oracle.com>
3809
3810 * descr-text.el (describe-char): Show information about POS, in
3811 addition to information about the character at POS. Improve and
3812 update the doc string. Change "code point" to "code point in
3813 charset", to avoid confusion with the character's Unicode code
3814 point shown above that. (Bug#10129)
3815
e0da685a
EZ
38162012-01-28 Eli Zaretskii <eliz@gnu.org>
3817
3818 * descr-text.el (describe-char): Show the raw character, not only
3819 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3820 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3821 for the reasons.
3822
70550acf
PH
38232012-01-28 Phil Hagelberg <phil@hagelb.org>
3824
eb864a71
LM
3825 * emacs-lisp/package.el (package-install):
3826 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3827
0ce8e868
CY
38282012-01-28 Chong Yidong <cyd@gnu.org>
3829
cb882333
JB
3830 * emacs-lisp/package.el (package-maybe-load-descriptor):
3831 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3832 (package-maybe-load-descriptor): Use it.
3833 (package-download-transaction): Fully load required packages
3834 inside the loop, so that `require' calls work (Bug#10593).
3835 (package-install): No need to call package-initialize now.
3836
2e7f3bea
CY
38372012-01-28 Chong Yidong <cyd@gnu.org>
3838
6e9bad14
CY
3839 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3840
f823b8ca
CY
3841 * tooltip.el (tooltip-mode): Doc fix.
3842 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3843
2680c309
CY
3844 * frame.el (set-cursor-color): Doc fix (Bug#352).
3845
d7a9e63b
CY
3846 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3847 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3848
2e7f3bea
CY
3849 * cus-edit.el (custom-buffer-create-internal): Fix search button
3850 action (Bug#10542).
2ae01800 3851 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3852
fc4f7a23
EW
38532012-01-27 Eduard Wiebe <usenet@pusto.de>
3854
3855 * dired.el (dired-mark-files-regexp):
3856 Include any subdirectory components. (Bug#10445)
3857
7dd37071
ML
38582012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3859
3860 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3861 Handle [host]:port syntax. (Bug#10533)
3862
a268160b
AH
38632012-01-27 Alex Harsanyi <harsanyi@mac.com>
3864
3865 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3866
e43273ef
GM
38672012-01-26 Glenn Morris <rgm@gnu.org>
3868
3869 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3870 * term.el (term-raw-escape-map): Use Control-X-prefix.
3871 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3872
1edf595d
MR
38732012-01-25 Martin Rudalics <rudalics@gmx.at>
3874
3875 * window.el (window-state-get, window--state-get-1): Don't deal
3876 with fixed-sizeness of windows. Simplify code.
3877
fa8eafef
JC
38782012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3879
6df6ae42
JB
3880 * window.el (window--state-get-1, window--state-put-2):
3881 Don't save and restore the mark.
fa8eafef 3882
0b21c100
CY
38832012-01-25 Chong Yidong <cyd@gnu.org>
3884
3885 * custom.el (custom-variable-p): Doc fix.
3886
5ae1a6c8
GM
38872012-01-25 Glenn Morris <rgm@gnu.org>
3888
40047858
GM
3889 * dired.el (dired-goto-file): Handle some of the more common
3890 characters that `ls -b' escapes. (Bug#10596)
3891
5ddce96c
GM
3892 * progmodes/compile.el (compilation-next-error-function):
3893 Respect compilation-first-column in the "*compilation*" buffer.
3894 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3895
5ae1a6c8
GM
3896 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3897
b559f1a9
GM
38982012-01-24 Glenn Morris <rgm@gnu.org>
3899
3900 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3901
6725d21a
JD
39022012-01-24 Julien Danjou <julien@danjou.info>
3903
3904 * color.el (color-rgb-to-hsl): Fix value computing.
3905 (color-hue-to-rgb): New function.
3906 (color-hsl-to-rgb): New function.
3907 (color-clamp, color-saturate-hsl, color-saturate-name)
3908 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3909 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3910
70df4bbe
GM
39112012-01-24 Glenn Morris <rgm@gnu.org>
3912
3913 * vc/vc-rcs.el (vc-rcs-create-tag):
3914 * vc/vc-sccs.el (vc-sccs-create-tag):
3915 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3916
802a2ae2
ML
39172012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3918
3919 * eshell/esh-util.el (eshell-read-hosts-file):
3920 Skip comment lines. (Bug#10549)
3921
d7128bb1
ML
3922 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3923
d1a5c3b4
JB
39242012-01-23 Juanma Barranquero <lekktu@gmail.com>
3925
2724d9c7
JB
3926 * subr.el (display-delayed-warnings): Doc fix.
3927 (collapse-delayed-warnings): New function to collapse identical
3928 adjacent warnings.
3929 (delayed-warnings-hook): Add it.
d1a5c3b4 3930
a5509865
MA
39312012-01-22 Michael Albinus <michael.albinus@gmx.de>
3932
3933 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3934
3935 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3936 properties, when "login-as" is set.
3937
3938 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3939 (tramp-default-user-alist): Don't add "pscp".
3940 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3941 property "login-as", if set. (Bug#10530)
3942
cc6d5805
MA
39432012-01-21 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3946 "plink1" and "psftp". (Bug#10530)
3947
39482012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3949
3950 * international/mule-cmds.el (prefer-coding-system): Show a
3951 warning message if the default value of file-name-coding-system
3952 was not changed.
3953
f0960428
JC
39542012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3955
cb882333
JB
3956 * windmove.el (windmove-reference-loc):
3957 Fix windmove-reference-loc miscalculation.
f0960428 3958
dd6f2a63
JB
39592012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3960
3961 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3962 default unit.
3963
7b447e9b
GM
39642012-01-21 Glenn Morris <rgm@gnu.org>
3965
117a9ea1
GM
3966 * international/mule.el (auto-coding-alist): Add .tbz.
3967
7b447e9b
GM
3968 * files.el (local-enable-local-variables): Doc fix.
3969 (inhibit-local-variables-regexps): Rename from
3970 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3971 Doc fix. Add some extensions from auto-coding-alist.
3972 (inhibit-local-variables-suffixes):
3973 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3974 (inhibit-local-variables-p):
3975 New function, extracted from set-auto-mode-1.
3976 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3977 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3978 (hack-local-variables): Doc fix. Make the mode-only case
3979 respect enable-local-variables and friends.
3980 Respect inhibit-local-variables-regexps for file-locals, but
3981 not for directory-locals.
3982 (set-visited-file-name):
3983 Take account of inhibit-local-variables-regexps.
3984 Whether it applies may change as the file name is changed.
3985 * jka-cmpr-hook.el (jka-compr-install):
3986 * jka-compr.el (jka-compr-uninstall):
3987 Update for inhibit-first-line-modes-suffixes name change.
3988
dd6e3cdd
MR
39892012-01-20 Martin Rudalics <rudalics@gmx.at>
3990
3991 * help-macro.el (make-help-screen): Temporarily restore original
3992 binding for minor-mode-map-alist (Bug#10454).
3993
0d0deb38
JD
39942012-01-19 Julien Danjou <julien@danjou.info>
3995
3996 * color.el (color-name-to-rgb): Use the white color to find the max
3997 color component value and return correctly computed values.
3998 (color-name-to-rgb): Add missing float conversion for max value.
3999
34a02f46
MR
40002012-01-19 Martin Rudalics <rudalics@gmx.at>
4001
4002 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4003 special state value for window-persistent-parameters.
4004 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4005 (window--state-put-2): Reset all window parameters to nil before
4006 assigning values of persistent parameters.
4007
606c44c4
AM
40082012-01-18 Alan Mackenzie <acm@muc.de>
4009
4010 Eliminate sluggishness and hangs in fontification of "semicolon
4011 deserts".
4012
cb882333
JB
4013 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4014 Change value 10000 -> 3000.
606c44c4
AM
4015 (c-state-safe-place): Reformulate so it doesn't stack up an
4016 infinite number of wrong entries in c-state-nonlit-pos-cache.
4017 (c-determine-limit-get-base, c-determine-limit): New functions to
4018 determine backward search limits disregarding literals.
4019 (c-find-decl-spots): Amend commenting.
4020 (c-cheap-inside-bracelist-p): New function which detects "={".
4021
4022 * progmodes/cc-fonts.el
4023 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4024 backward search.
4025 (c-font-lock-declarations): Fix an occurrence of point being
4026 undefined. Check additionally for point being in a bracelist or
4027 near a macro invocation without a semicolon so as to avoid a
4028 fruitless time consuming search for a declarator. Give a more
4029 precise search limit for declarators using the new
4030 c-determine-limit.
4031
f3860cea
GM
40322012-01-18 Glenn Morris <rgm@gnu.org>
4033
4034 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4035 (set-auto-mode): Doc fixes.
4036
1db03b16
GM
40372012-01-17 Glenn Morris <rgm@gnu.org>
4038
0e6038be
GM
4039 * isearch.el (search-nonincremental-instead): Fix doc typo.
4040
1db03b16
GM
4041 * dired.el (dired-insert-directory): Handle newlines in directory name.
4042 (dired-build-subdir-alist): Unescape newlines in directory name.
4043
4cb0aa75
MA
40442012-01-17 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4047 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4048 (tramp-action-terminal): Use it. (Bug#10530)
4049
1d00653d
SM
40502012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4053
6a6ee00d
MR
40542012-01-16 Martin Rudalics <rudalics@gmx.at>
4055
4056 * window.el (window-state-ignored-parameters): Remove variable.
4057 (window--state-get-1): Rename argument MARKERS to IGNORE.
4058 Handle persistent window parameters. Make copy of clone-of
4059 parameter only if requested. (Bug#10348)
4060 (window--state-put-2): Install a window parameter only if it has
4061 a non-nil value or an existing parameter shall be overwritten.
4062
97912def
MA
40632012-01-15 Michael Albinus <michael.albinus@gmx.de>
4064
4065 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4066
688070a5
EZ
40672012-01-14 Eli Zaretskii <eliz@gnu.org>
4068
4069 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4070 don't pass the (nil) value of `upnode' to string-match.
4071
301afadc
CY
40722012-01-14 Chong Yidong <cyd@gnu.org>
4073
4074 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4075 Fix values recognized by the cursorBlink resource.
301afadc 4076
9e5788aa
PE
40772012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4078
4079 * epg.el (epg--make-temp-file): Avoid permission race condition
4080 when running on old Emacs versions (bug#10403).
4081
3cdb7f5a
GM
40822012-01-14 Glenn Morris <rgm@gnu.org>
4083
4084 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4085
8c82b1b4
AM
40862012-01-13 Alan Mackenzie <acm@muc.de>
4087
4088 Fix filling for when filladapt mode is enabled.
4089
4090 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4091 c-mask-paragraph, pass in `fill-paragraph' rather than
4092 `fill-region-as-paragraph'. (This is a reversion of a previous
4093 change.)
eb864a71
LM
4094 * progmodes/cc-mode.el (c-basic-common-init):
4095 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4096
e517eda4
GM
40972012-01-13 Glenn Morris <rgm@gnu.org>
4098
1498536e
GM
4099 * dired.el (dired-switches-escape-p): New function.
4100 (dired-insert-directory): Use dired-switches-escape-p.
4101 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4102
e517eda4
GM
4103 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4104
328f984d
GM
41052012-01-12 Glenn Morris <rgm@gnu.org>
4106
4107 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4108 changes in adaptive-fill-regexp. (Bug#10276)
4109
2cc769a8
AM
41102012-01-11 Alan Mackenzie <acm@muc.de>
4111
4112 Fix Emacs bug #10463 - put `widen's around the critical spots.
4113
1d00653d 4114 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4115 widen around each invocation of c-state-pp-to-literal. Remove an
4116 unused let variable.
4117
e52c37fa
GM
41182012-01-11 Glenn Morris <rgm@gnu.org>
4119
4120 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4121 Doc fix.
e52c37fa 4122
96f8741e
CY
41232012-01-10 Chong Yidong <cyd@gnu.org>
4124
1d00653d
SM
4125 * net/network-stream.el (network-stream-open-starttls):
4126 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4127 response to the capability command.
4128
b09a806e
GM
41292012-01-10 Glenn Morris <rgm@gnu.org>
4130
4131 * mail/unrmail.el (unrmail): Tweak previous change.
4132
7655cb66
CY
41332012-01-09 Chong Yidong <cyd@gnu.org>
4134
4135 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4136
9d5a8f0b
AM
41372012-01-08 Alan Mackenzie <acm@muc.de>
4138
4139 Optimise font locking in long enum definitions.
4140
4141 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4142 arm to a cond form to handle enums.
4143 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4144 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4145
9a0115ab 41462012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4147
4148 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4149 (Bug#10401)
6bb72cbd 4150
f186bb95
LMI
41512012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4152
29232a68
LMI
4153 * faces.el (set-face-attribute): Clarify the meaning of the nil
4154 frame (bug#10294).
4155
4e5d086d
LMI
4156 * subr.el (with-selected-frame): Mention that the selected frame
4157 is restored (bug#9980).
4158
8e66aebe
LMI
4159 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4160 (bug#9759).
4161
cd394be1 4162 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4163 (password-read): Don't autoload unused function.
4164
adf4e762
JB
41652012-01-07 Juanma Barranquero <lekktu@gmail.com>
4166
4167 * progmodes/which-func.el (which-func-mode): Turn into a
4168 non-interactive function and mark as obsolete (bug#10428).
4169
89bd9ccd
CY
41702012-01-06 Chong Yidong <cyd@gnu.org>
4171
4172 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4173 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4174 functions, along with 1 and -1.
4175
4afee9d5
EZ
41762012-01-06 Eli Zaretskii <eliz@gnu.org>
4177
4178 * time.el (display-time-load-average)
4179 (display-time-default-load-average): Doc fixes. See the thread
4180 starting at
4181 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4182 for the details.
4183
536aea70
GM
41842012-01-06 Glenn Morris <rgm@gnu.org>
4185
665ae865
GM
4186 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4187 has no messages. (Bug#10377)
4188
c869783d
GM
4189 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4190 than Info-edit. (Bug#10385)
4191
2bb4227e
GM
4192 * time.el (display-time-load-average, display-time-next-load-average):
4193 Doc fixes.
4194
7d5944b9
GM
4195 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4196 local setting of buffer-read-only to the input buffer. (Bug#10419)
4197
536aea70
GM
4198 * calendar/calendar.el (calendar-mode):
4199 Locally set scroll-margin to 0. (Bug#10379)
4200
7dccca16
UM
42012012-01-06 Ulrich Mueller <ulm@gentoo.org>
4202
4203 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4204
afbb7930
GM
42052012-01-05 Glenn Morris <rgm@gnu.org>
4206
4207 * eshell/em-unix.el (diff-no-select): Autoload it.
4208 (eshell/diff): Use diff-no-select. (Bug#10420)
4209
04482335
CY
42102012-01-05 Chong Yidong <cyd@gnu.org>
4211
7baca3bc
CY
4212 * shell.el (shell-dynamic-complete-functions): Revert last change.
4213 (shell-command-completion-function): New function.
4214 (shell-completion-vars): Use it to implement
4215 shell-completion-execonly (Bug#10417).
4216
04482335
CY
4217 * custom.el (enable-theme): Don't set custom-safe-themes.
4218
1d00653d
SM
4219 * cus-theme.el (custom-theme-merge-theme):
4220 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4221
bb5aa5d6
MM
42222012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4223
4224 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4225 first prompt in `sql-interacive-mode'.
4226 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4227 keywords.
6df6ae42 4228 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4229 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4230 context of original buffer. Invoke `sql-login-hook'.
4231
a7183d7c
EZ
42322012-01-04 Eli Zaretskii <eliz@gnu.org>
4233
4234 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4235 letters in cite-prefix.
4236
a1eacd1e
LMI
42372012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4238
4239 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4240
787cdb34
CY
42412012-01-03 Chong Yidong <cyd@gnu.org>
4242
1d00653d
SM
4243 * shell.el (shell-dynamic-complete-functions):
4244 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4245 comint-filename-completion first (Bug#10417).
4246
30710442
RS
42472012-01-02 Richard Stallman <rms@gnu.org>
4248
4249 * battery.el (battery-status-function):
4250 Detect when to use battery-yeeloong-sysfs.
4251 (battery-echo-area-format): Add string for Yeeloong.
4252 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4253 (battery-yeeloong-sysfs): New function.
4254
f75bfc33
CY
42552012-01-02 Chong Yidong <cyd@gnu.org>
4256
4257 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4258 (dirtrack): Merge code for handling relative filenames in prompt
4259 from shell-dir-cookie-watcher.
4260 (dirtrack-debug-message): New arg to avoid excess format calls.
4261
4262 * shell.el (shell-dir-cookie-re): Variable deleted.
4263 (shell-dir-cookie-watcher): Function deleted.
4264 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4265 with dirtrack-mode.
4266
651e947e
EZ
42672012-01-01 Eli Zaretskii <eliz@gnu.org>
4268
1d00653d
SM
4269 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4270 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4271 libgnutls-26.dll.
4272
94d4c7dc
AS
42732011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4274
4275 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4276
8d43f3cd
EZ
42772011-12-31 Eli Zaretskii <eliz@gnu.org>
4278
4279 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4280 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4281
98c8795a
MA
42822011-12-29 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4285 also for alternative shells.
4286 (tramp-open-connection-setup-interactive-shell): Check, whether
4287 the shell is a busybox.
4288 (tramp-send-command): Don't suppress multiple prompts for
4289 busyboxes, it hurts.
4290
51281b32
CY
42912011-12-28 Chong Yidong <cyd@gnu.org>
4292
4293 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4294 (gdb-get-source-file): Move mode line update to
4295 gdb-get-source-file (Bug#10087).
4296
2170cb53
CY
42972011-12-25 Chong Yidong <cyd@gnu.org>
4298
4299 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4300 gud-gdb-marker-filter without taking it as an argument.
4301 (gud-gdb-run-command-fetch-lines): Caller changed.
4302 (gud-gdb-completion-function): New variable.
4303 (gud-gdb-completion-at-point): Use it.
4304 (gud-gdb-completions-1): Split from gud-gdb-completions.
4305
4306 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4307 function as separate arguments.
4308 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4309 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4310 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4311 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4312 (gdb-stopped, def-gdb-auto-update-trigger)
4313 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4314 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4315 Callers changed.
2170cb53
CY
4316 (gud-gdbmi-completions): New function.
4317 (gdb): Use it for generating the completion table.
4318
be8b11bb
AM
43192011-12-24 Alan Mackenzie <acm@muc.de>
4320
4321 Introduce a mechanism to widen the region used in context font
1d00653d 4322 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4323
1d00653d
SM
4324 * progmodes/cc-langs.el (c-before-font-lock-functions):
4325 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4326 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4327 functions to be run just before context (etc.) font locking.
4328
4329 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4330 New, functionality extracted from
be8b11bb 4331 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4332 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4333 (c-after-change): Set c-in-after-change-fontification.
4334 (c-set-fl-decl-start): Rejig its interface, so it can be called
4335 from both after-change and context fontifying.
b81d40f0
JB
4336 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4337 New functions.
4338 (c-standard-font-lock-fontify-region-function): New variable.
4339 (c-font-lock-fontify-region): New function.
be8b11bb 4340
341cf6ac
JL
43412011-12-24 Juri Linkov <juri@jurta.org>
4342
4343 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4344 (Bug#10348)
4345
bffcee0a
MA
43462011-12-23 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4349 existence of source file. (Bug#10325)
4350
cb5e207c
AM
43512011-12-23 Alan Mackenzie <acm@muc.de>
4352
4353 Fix unstable fontification inside templates.
4354
b81d40f0
JB
4355 * progmodes/cc-langs.el (c-before-font-lock-functions):
4356 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4357 additionally has c-set-fl-decl-start. The other languages (apart
4358 from AWK) have that as a single entry.
4359
b81d40f0
JB
4360 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4361 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4362 c-set-fl-decl-start.
4363
b81d40f0
JB
4364 * progmodes/cc-mode.el (c-common-init, c-after-change):
4365 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4366 (c-set-fl-decl-start): New function, extracted from
4367 c-font-lock-enclosing-decls and enhanced.
4368
60ff536c
JB
43692011-12-23 Juanma Barranquero <lekktu@gmail.com>
4370
4371 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4372
1c4757d6
JL
43732011-12-22 Juri Linkov <juri@jurta.org>
4374
4375 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4376
d031f2c7
CY
43772011-12-22 Chong Yidong <cyd@gnu.org>
4378
4379 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4380
bace743a
DA
43812011-12-21 Drew Adams <drew.adams@oracle.com>
4382
4383 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4384
728a1f2b
JC
43852011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4386
4387 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4388
0d373f73
TZ
43892011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4390
fec0aaa4
TZ
4391 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4392 highlighting and support. Fix up comments for capitalization.
4393 (cfengine-mode-debug): New var.
4394 (cfengine3-mode): Change the modeline indicator to "CFE3".
4395 (cfengine3-font-lock-keywords): Improve defun highlighting.
4396 (cfengine2-actions): Rename from `cfengine-actions'.
4397 (cfengine2-font-lock-keywords): Rename from
4398 `cfengine-font-lock-keywords'.
4399 (cfengine2-imenu-expression): Rename from
4400 `cfengine-imenu-expression'.
4401 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4402 (cfengine2-beginning-of-defun): Rename from
4403 `cfengine-beginning-of-defun'.
4404 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4405 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4406 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4407 modeline indicator to "CFE2".
4408 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4409 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4410
bc86f573
CY
44112011-12-21 Chong Yidong <cyd@gnu.org>
4412
4413 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4414 filename argument.
4415
d45ba96b
MR
44162011-12-20 Martin Rudalics <rudalics@gmx.at>
4417
4418 * window.el (window-normalize-buffer-to-display): Remove.
4419 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4420
a6198c90
CY
44212011-12-19 Chong Yidong <cyd@gnu.org>
4422
4423 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4424 Don't signal an error in a predicate function; return non-nil.
4425 (vc-dir-mark-file): Move the error here.
4426 (vc-dir-mark-unmark): If acting on the region, keep going if one
4427 of the entries cannot be marked/unmarked.
4428 (vc-dir-mark-all-files): If current entry is a directory, mark
4429 only child files, as documented.
4430
34c5fb55
VB
44312011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4432
4433 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4434 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4435 addition.
4436
c803b2b7
JD
44372011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4438
4439 * term/ns-win.el (ns-get-selection-internal)
4440 (ns-store-selection-internal): Declare.
1154d12e
JB
4441 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4442 Declare as obsolete.
4443 (ns-get-pasteboard, ns-paste-secondary):
4444 Use ns-get-selection-internal.
4445 (ns-set-pasteboard, ns-copy-including-secondary):
4446 Use ns-store-selection-internal.
c803b2b7 4447
9cff91f8 44482011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4449
4450 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4451 (vc-deduce-fileset): Doc fix.
99a289d9 4452
f16c898a
AS
44532011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4454
4455 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4456
763237c4
SS
44572011-12-13 Sam Steingold <sds@gnu.org>
4458
4459 * man.el (Man-getpage-in-background): When running under a
4460 window-system, ignore $MANWIDTH and $COLUMNS.
4461
5fc1c122
KH
44622011-12-15 Kenichi Handa <handa@m17n.org>
4463
4464 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4465 (setup-ethiopic-environment-internal): Comment out key-binding for
4466 ethio-toggle-punctuation.
4467
13d49cbb
AM
44682011-12-13 Alan Mackenzie <acm@muc.de>
4469
898169a2
AM
4470 Add the switch statement to AWK Mode.
4471
7a71b18d 4472 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4473 "default" to the keywords regexp.
4474
7a71b18d 4475 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4476 expression as the rest.
1d00653d
SM
4477 (c-nonlabel-token-key): Allow string literals for AWK.
4478 Refactor for the other modes.
898169a2 4479
13d49cbb 4480 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4481 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4482 routines. Limit backward searching in c-font-lock-enclosing.decl.
4483
4484 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4485 pp-state and literal type in addition to the limits.
1d00653d 4486 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4487 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4488 (c-slow-in-literal, c-fast-in-literal): Remove.
4489 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4490
4491 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4492 being in a literal. Add a limit for backward searching.
4493
4494 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4495 c-slow-in-literal.
4496
15e0efc7
SM
44972011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4500
454592a6
MR
45012011-12-13 Martin Rudalics <rudalics@gmx.at>
4502
4503 * window.el (delete-other-windows): Use correct frame in call to
4504 window-with-parameter.
4505
87393f26
DP
45062011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4507
4508 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4509 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4510 (makefile-gmake-statements, makefile-makepp-statements):
4511 Use it and add new makepp keywords.
4512 (makefile-makepp-font-lock-keywords): Add new patterns.
4513 (makefile-match-function-end): Match new [...] and [[...]].
4514
11636b22
JB
45152011-12-11 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * ses.el (ses-call-printer-return, ses-cell-property-get)
4518 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4519 (ses-create-cell-variable, ses-reset-header-string)
4520 (ses-cell-set-formula, ses-repair-cell-reference-all)
4521 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4522 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4523 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4524 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4525 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4526 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4527 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4528 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4529 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4530 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4531 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4532 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4533
cf018193
VB
45342011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4535
4536 * ses.el: The overall change is to add cell renaming, that is
4537 setting fancy names for cell symbols other than name matching
4538 "\\`[A-Z]+[0-9]+\\'" regexp .
4539 (ses-create-cell-variable): New defun.
4540 (ses-relocate-formula): Relocate formulas only for cells the
4541 symbols of which are not renamed, i.e. symbols whose names do not
4542 match regexp "\\`[A-Z]+[0-9]+\\'".
4543 (ses-relocate-all): Relocate values only for cells the symbols of
4544 which are not renamed.
4545 (ses-load): Create cells variables as the (ses-cell ...) are read,
4546 in order to check row col consistency with cell symbol name only
4547 for cells that are not renamed.
4548 (ses-replace-name-in-formula): New defun.
4549 (ses-rename-cell): New defun.
4550
ee957461
CY
45512011-12-11 Chong Yidong <cyd@gnu.org>
4552
4553 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4554 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4555
9a9e9ef0
MR
45562011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4557
4558 * window.el (other-window): Fix docstring.
4559
92a8eba5
EZ
45602011-12-10 Eli Zaretskii <eliz@gnu.org>
4561
4562 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4563 `from' or `to' address before taking its substring.
4564 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4565 encoded name is chopped in the middle of the encoded string, and
4566 thus displayed encoded.
4567
e152e577
JB
45682011-12-10 Juanma Barranquero <lekktu@gmail.com>
4569
4570 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4571
e5d84bfe
EZ
45722011-12-10 Eli Zaretskii <eliz@gnu.org>
4573
4574 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4575 to use texinfo-update-node and commands that call it if the
4576 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4577 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4578 (texinfo-all-menus-update, texinfo-master-menu)
4579 (texinfo-update-node, texinfo-every-node-update)
4580 (texinfo-multiple-files-update): Doc fix. Warn against updating
4581 all the @node lines.
4582 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4583 argument is numeric. Explain better in the doc string what the
4584 function really does.
4585 (texinfo-insert-master-menu-list): Improve the error message
4586 displayed if there's no menu in the Top node.
4587 (Bug#2975) See also this thread:
e5d84bfe
EZ
4588 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4589
1d84e9bb
MG
45902011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4591
4592 * speedbar.el (speedbar-supported-extension-expressions):
4593 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4594
382c953b
JB
45952011-12-09 Juanma Barranquero <lekktu@gmail.com>
4596
4597 * printing.el (pr-mode-alist):
4598 * simple.el (filter-buffer-substring-functions)
4599 (completion-list-insert-choice-function):
4600 * window.el (window-with-parameter, window-atom-root)
4601 (window-sides-slots, window-size-fixed, window-min-delta)
4602 (window-max-delta, window--resize-mini-window)
4603 (window--resize-child-windows-normal, window-tree)
4604 (delete-other-windows, quit-window, split-window)
4605 (display-buffer-record-window, special-display-buffer-names)
4606 (special-display-regexps, special-display-popup-frame)
4607 (same-window-p, split-window-sensibly)
4608 (display-buffer-overriding-action, display-buffer-alist)
4609 (display-buffer-base-action, display-buffer, switch-to-buffer)
4610 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4611 (fit-window-to-buffer, recenter-positions)
4612 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4613 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4614 and remove unneeded backslashes in docstrings.
4615
39c9faef
SM
46162011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4617
98449af8
SM
4618 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4619
39c9faef
SM
4620 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4621 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4622 end in ".mk".
4623 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4624 when reading the makefile (bug#10116).
4625
86ed9fdc
SM
46262011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4629 (bug#10116).
4630
5580f89d
GM
46312011-12-06 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4634
28d3917c
CY
46352011-12-06 Chong Yidong <cyd@gnu.org>
4636
4637 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4638
a98edce9
JB
46392011-12-06 Juanma Barranquero <lekktu@gmail.com>
4640
4641 * textmodes/table.el (table-shorten-cell): Fix typo.
4642
e65adfac
CG
46432011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4644
4645 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4646
71cc0b74
EZ
46472011-12-05 Eli Zaretskii <eliz@gnu.org>
4648
4649 * descr-text.el (describe-char): Fix display of strong
4650 right-to-left characters and directional embeddings and overrides.
4651
4652 * simple.el (what-cursor-position): Fix display of codepoints of
4653 strong right-to-left characters.
4654
315bc30d
CY
46552011-12-05 Chong Yidong <cyd@gnu.org>
4656
4657 * faces.el (read-color): Doc fix.
4658
58a70b94
GM
46592011-12-05 Glenn Morris <rgm@gnu.org>
4660
4661 * align.el (align--set-marker): Add doc-string.
4662 Don't try to move something that is not a marker. (Bug#10216)
4663
5158face
GM
46642011-12-04 Glenn Morris <rgm@gnu.org>
4665
4666 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4667 overly zealous deletion of trailing whitespace.
4668
520fca41
JB
46692011-12-04 Juanma Barranquero <lekktu@gmail.com>
4670
4671 * server.el (server-delete-client): On Windows, do not try to delete
4672 the only terminal.
4673 (server-process-filter): On Windows, treat requests for a tty frame as
4674 if they were for a GUI frame if the running server is in GUI mode.
4675
5e605a2e
GM
46762011-12-03 Glenn Morris <rgm@gnu.org>
4677
4678 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4679
5c3fe83f
SM
46802011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4681
6f5e57e7
SM
4682 * electric.el: Streamline electric-indent's hook.
4683 (electric-indent-chars): Revert to simple list.
4684 (electric-indent-functions): New var.
4685 (electric-indent-post-self-insert-function): Use it.
4686
5c3fe83f
SM
4687 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4688 there's no inferior buffer (bug#10196).
4689 (prolog-consult-compile): Don't use toggle-read-only.
4690
6bdac736
MA
46912011-12-02 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4694 interrupt. (Bug#10187)
4695
6131ba7f
SM
46962011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4697
99c79fee
SM
4698 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4699 (bug#9160).
4700
6131ba7f
SM
4701 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4702 (bug#10191).
4703
cb0a02ea
JL
47042011-12-02 Juri Linkov <juri@jurta.org>
4705
4706 * info.el (Info-search): Display "end of manual" when Isearch
4707 reaches the end of single-file Info manual. (Bug#9918)
4708
66e0570c
EZ
47092011-12-02 Eli Zaretskii <eliz@gnu.org>
4710
4711 * isearch.el (isearch-message-prefix): Run the input method part
4712 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4713
02b16839
JL
47142011-12-02 Juri Linkov <juri@jurta.org>
4715
4716 * isearch.el (isearch-occur): Use `word-search-regexp' for
4717 `isearch-word'.
4718 (isearch-search-and-update): Add condition for `isearch-word' and
4719 call `word-search-regexp'. (Bug#10145)
4720
0b950688
GM
47212011-12-01 Glenn Morris <rgm@gnu.org>
4722
4723 * eshell/em-hist.el (eshell-hist-initialize):
4724 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4725 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4726
9505c3c7
SM
47272011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4730
1bbe96b2 47312011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4732
a1beca85
SM
4733 * progmodes/verilog-mode.el (verilog-pretty-expr):
4734 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4735 verilog, such as += *= and the like.
4736 (verilog-assignment-operator-re): Regular expression to find the
4737 assigment operator in a verilog assignment.
4738 (verilog-assignment-operation-re): Regular expression to find an
4739 assignment statement for pretty-expr.
4740 (verilog-in-attribute-p): Query returns true if point is in an
4741 attribute context; used to skip these for expression line up from
4742 pretty-expr.
4743 (verilog-in-parameter-p): Query returns true if point is in an
4744 parameter definition context; used to skip these for expression
4745 line up from pretty-expr.
4746 (verilog-in-parenthesis-p): Query returns true if point is in a
4747 parenthetical expression, specifically ( ) but not [ ] or { };
4748 used by pretty-expr.
4749 (verilog-just-one-space): If there is no space, don't add one.
4750 (verilog-get-lineup-indent-2): Specifically skip just attribute
4751 contexts for expression lineup, rather than skipping all
4752 parenthetical expressions.
4753 (verilog-calculate-indent): Fix comment, and fix indent.
4754 (verilog-do-indent): Indent declarations in lists (suggested by
4755 Joachim Lechner).
4756 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4757 skeleton items.
4758 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4759 by Alain Mellan).
4760
1bbe96b2 47612011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4762
4763 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4764 parameters with embedded comments. Reported by Ray Stevens.
4765 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4766 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4767 Reported by Tim Holt.
4768 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4769 instantiated by upper module causing wrong expansion until AUTOed a
4770 second time. Reported by K C Buckenmaier.
4771 (verilog-diff-auto): Fix showing .* as a difference when
4772 `verilog-auto-star-save' off. Reported by Dan Dever.
4773 (verilog-auto-reset, verilog-read-always-signals)
4774 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4775 temporary signals in reset list if
4776 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4777 style to each signal's assignment type, bug381.
4778 Reported by Thomas Esposito.
6288f0ca
WS
4779 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4780 (verilog-uvm-statement-re): Support UVM indentation and
4781 highlighting, with old OVM keywords only.
a1beca85 4782 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4783 Support AUTOTIEOFF creating non-wire data types.
4784 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4785 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4786 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4787 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4788 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4789 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4790 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4791 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4792 non-numeric vector width. Reported by Alex Reed.
4793 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4794 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4795 (verilog-auto-delete-trailing-whitespace):
4796 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4797 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4798 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4799 Fix verilog-scan-cache corruption when running user AUTO expansion
4800 hooks that call indentation routines.
4801 (verilog-simplify-range-expression): Fix typo ignoring lower case
4802 identifiers.
4803 (verilog-delete-auto): Fix delete-autos to also remove user created
4804 automatics, as long as they start with AUTO.
4805 (verilog-batch-diff-auto, verilog-diff-auto)
4806 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4807 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4808 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4809 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4810 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4811 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4812 is disabled and its cache will get corrupt, causing AUTOS not to
4813 expand. Instead use only -quick functions.
4814 (verilog-scan-region): Fix scanning over escaped quotes.
4815 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4816 (verilog-re-search-backward-quick)
4817 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4818 related functions now ignore strings, to fix misparsing of strings
4819 with magic comments embedded in them.
a1beca85
SM
4820 (verilog-read-auto-template):
4821 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4822 Reported by Brad Dobbie.
4823 (verilog-read-auto-template):
4824 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4825 Reported by Brad Dobbie.
6288f0ca
WS
4826 (verilog-auto-inst, verilog-auto-inst-param)
4827 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4828 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4829 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4830 debugging templates without merge conflicts, bug357.
4831 Reported by Brad Dobbie.
4832 (verilog-read-auto-template):
4833 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4834 Reported by Brad Dobbie.
4835 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4836 abbrevs so user won't be asked to save.
4837 (verilog-read-auto-lisp-present): Fix to start at beginning of
4838 buffer in case called outside of verilog-auto.
4839 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4840 to "X-2". Reported by Matthew Myers.
4841 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4842 all inputs from module templates. Reported by Leith Johnson.
4843 (verilog-module-inside-filename-p): Fix locating programs as with
4844 modules.
4845 (verilog-auto-inst-port): Fix vl-width expressions when using
4846 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4847 (verilog-decls-get-regs, verilog-decls-get-signals,
4848 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4849 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4850 verilog-read-decls): Combine reg and wire structures into one var
4851 structure to represent SystemVerilog concepts.
4852 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4853 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4854 (verilog-auto-wire-type, verilog-insert-definition):
4855 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4856 SystemVerilog "logic" keyword instead of "wire"/"reg".
4857 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4858 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4859 ifdef or generate if so there's not a driver conflict).
4860 Reported by Matthew Myers.
4861 (verilog-auto-declare-nettype, verilog-insert-definition):
4862 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4863 `default_nettype none. Reported by Julian Gorfajn.
4864 (verilog-read-always-signals-recurse, verilog-read-decls)
4865 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4866 malformed end statement, bug325. Reported by Joshua Wise and
4867 Andrew Drake.
4868 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4869 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4870 when expanding .* in interfaces, bug320.
4871 Reported by Pierre-David Pfister.
6288f0ca 4872 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4873 name and open parenthesis, bug317.
4874 Reported by Pierre-David Pfister.
6288f0ca
WS
4875 (verilog-simplify-range-expression): Fix simplification of
4876 multiplications inside AUTOWIRE connections, bug303.
4877 (verilog-auto-inst-port): Support parameter expansion in
4878 multidimensional arrays.
4879 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4880 after "assert property". Reported by Julian Gorfajn.
4881 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4882 with multiplication, bug303.
4883 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4884 Reported by Jan Frode Lonnum.
4885
1bbe96b2
GM
48862011-11-30 Juanma Barranquero <lekktu@gmail.com>
4887
4888 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4889 (hfy-shell-file-name, hfy-shell):
4890 * international/fontset.el (x-decompose-font-name): Fix typos.
4891
48922011-11-29 Ken Brown <kbrown@cornell.edu>
4893
4894 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4895 (gdb-version): Remove defvar.
4896 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4897 (gdb-gud-context-command, gdb-non-stop-handler)
4898 (gdb-current-context-command, gdb-stopped): Use it.
4899 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4900 (gdb-non-stop-handler): Don't enable pretty-printing here.
4901 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4902 non-stop mode. Use the following.
4903 (gdb-check-target-async): New defun.
4904 (gud-watch, gdb-stopped): Fix whitespace.
4905 (gdb-get-source-file): Don't try to display the source file if
4906 `gdb-main-file' is nil.
4907
49082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * align.el: Try to generate fewer markers (bug#10047).
4911 (align--set-marker): New macro.
4912 (align-region): Use it.
4913
c935221f
SM
49142011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4917
e70b5064
CY
49182011-11-29 Chong Yidong <cyd@gnu.org>
4919
4920 * indent.el (indent-for-tab-command, indent-according-to-mode):
4921 Doc fix.
4922 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4923
f3af92b7
MA
49242011-11-29 Michael Albinus <michael.albinus@gmx.de>
4925
4926 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4927 aware of remote file names. (Bug#10124)
4928
ed472be9
CY
49292011-11-29 Chong Yidong <cyd@gnu.org>
4930
4931 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4932
24510c22
SM
49332011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * files.el (find-file): Don't use force-same-window (bug#10144).
4936 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4937 use pop-to-buffer if the selected window can't be used.
4938 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4939
c60c3703
EZ
49402011-11-28 Eli Zaretskii <eliz@gnu.org>
4941
4942 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4943 special-mode-map.
4944
e95def75
CY
49452011-11-28 Chong Yidong <cyd@gnu.org>
4946
4947 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4948
c3f1c606
NR
49492011-11-27 Nick Roberts <nickrob@snap.net.nz>
4950
4951 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4952 gdb-get-source-file-list on gdb-create-source-file-list.
4953
00db469c
EZ
49542011-11-26 Eli Zaretskii <eliz@gnu.org>
4955
4956 * whitespace.el (whitespace-newline): Use a different foreground
4957 color for 16-color light-background displays.
4958
4ad3bc2a
CY
49592011-11-24 Chong Yidong <cyd@gnu.org>
4960
4961 * window.el (display-buffer--special-action): Doc fix.
4962
e9fce1ac
JB
49632011-11-25 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4966 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4967 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4968 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4969 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4970 (avl-tree-stack-first):
4971 * emacs-lisp/cconv.el (cconv--analyse-use):
4972 * net/gnutls.el (gnutls-negotiate): Fix typos.
4973
cb825e5d
GM
49742011-11-24 Glenn Morris <rgm@gnu.org>
4975
3adbe224
GM
4976 * lpr.el (lpr-windows-system, lpr-lp-system):
4977 * mail/binhex.el (binhex-begin-line):
4978 * progmodes/grep.el (grep-history, grep-find-history):
4979 * textmodes/flyspell.el:
4980 * vc/pcvs-defs.el (cvs-global-menu):
4981 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4982 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4983 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4984
321decc8
GM
4985 * net/tls.el: Fix case of "GnuTLS".
4986
420b63ad
GM
4987 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4988
cb825e5d
GM
4989 * version.el (emacs-build-system): Give it a doc-string.
4990
a0649f08
JL
49912011-11-24 Juri Linkov <juri@jurta.org>
4992
4993 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4994
c0bc0fd4
GM
49952011-11-24 Glenn Morris <rgm@gnu.org>
4996
4997 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4998 if called on a non-mime message just toggle the headers. (Bug#8006)
4999
20db1522
JB
50002011-11-24 Juanma Barranquero <lekktu@gmail.com>
5001
5002 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5003 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5004 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5005 (allout-rebullet-heading, allout-open-sibtopic)
5006 (allout-toggle-current-subtree-encryption)
5007 (allout-toggle-subtree-encryption, allout-encrypt-string)
5008 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5009 (allout-distinctive-bullets-string, allout-auto-activation):
5010 * window.el (window-normalize-buffer-to-display):
5011 * progmodes/verilog-mode.el (verilog-batch-indent):
5012 * textmodes/bibtex.el (bibtex-field-braces-opt)
5013 (bibtex-field-strings-opt):
5014 * vc/cvs-status.el (cvs-tree-merge):
5015 Fix typos.
5016
7262a87c
MA
50172011-11-23 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5020 `non-essential' to t, in order to avoid remote connections.
5021
283430a1
EZ
50222011-11-23 Eli Zaretskii <eliz@gnu.org>
5023
a1beca85
SM
5024 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5025 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5026 case-insensitively.
5027
d2992a38
ML
50282011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5029
5030 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5031
50419064
GM
50322011-11-23 Glenn Morris <rgm@gnu.org>
5033
da94eca1
GM
5034 * paths.el (rmail-file-name): Reformat the doc-string so that it
5035 is picked up.
5036
9aac4de2
GM
5037 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5038 (rmail-auto-file): Ignore case in the "special" field names,
5039 as mail-fetch-field does for all others.
5040
8038d2d2
GM
5041 * mail/rmail.el (rmail-forward):
5042 * mail/rmailkwd.el (rmail-set-label):
5043 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5044 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5045
f3fe222a
GM
5046 * mail/rmail.el (rmail-current-message): Doc fix.
5047
50419064
GM
5048 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5049
28109f49
SM
50502011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5053
394c65f1
GM
50542011-11-22 Glenn Morris <rgm@gnu.org>
5055
5056 * mail/rmailmm.el (test-rmail-mime-handler)
5057 (test-rmail-mime-bulk-handler)
5058 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5059
f2a0aa3a
JL
50602011-11-21 Juri Linkov <juri@jurta.org>
5061
1154d12e
JB
5062 * calc/calc.el (calc-read-key-sequence):
5063 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5064
9c34a344
LMI
50652011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5066
5067 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5068 Tell the caller that the next line needs recomputation, even
5069 though it doesn't start a sexp (bug#10094).
5070
f04a3be9
SM
50712011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5074
7978747f
SM
50752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5076
f04a3be9
SM
5077 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5078 Use force-same-window.
7978747f 5079
fe7a3057
JB
50802011-11-20 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * descr-text.el (describe-char-unicode-data):
5083 * json.el (json-string-escape):
5084 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5085 (Footnote-unicode, Footnote-style-p):
5086 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5087
24901d61
CY
50882011-11-20 Chong Yidong <cyd@gnu.org>
5089
5090 * window.el (replace-buffer-in-windows): Restore interactive spec.
5091
bac7ff22
SM
50922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5093
24f3d7b9
SM
5094 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5095
bac7ff22
SM
5096 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5097 (byte-compile-global-not-obsolete-vars): New var.
5098 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5099 Use it.
5100 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5101
cd1181db
JB
51022011-11-20 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5105 * progmodes/pascal.el (electric-pascal-equal):
5106 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5107 * xml.el (xml-substitute-special): Fix typos.
5108
7fb18e9e
GM
51092011-11-20 Glenn Morris <rgm@gnu.org>
5110
5111 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5112 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5113 Doc fixes.
5114 (rmail-decode-mime-charset): Mark as obsolete.
5115
5116 * mail/rmailsum.el (rmail-message-regexp-p-1):
5117 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5118 Before using mime functions, check they are set. (Bug#10077)
5119
d5a6b3ba
JL
51202011-11-19 Juri Linkov <juri@jurta.org>
5121
5122 * info.el (Info-finder-find-node): Use `package--builtins' instead
5123 of `package-alist'. Use node names formed by the pattern "Keyword "
5124 and the keyword name.
5125
e981b61f
AS
51262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5127
1d00653d 5128 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5129
3ffbc301
JL
51302011-11-19 Juri Linkov <juri@jurta.org>
5131
5132 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5133 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5134 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5135 `old-history', `old-history-forward'. Add let-binding
5136 `window-selected'. Remove calls to `kill-buffer',
5137 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5138 before calling `Info-find-node', so `Info-find-node-2' will reread
5139 the Info file. Restore window positions only when `window-selected'
5140 is non-nil.
5141
30c62133
JL
51422011-11-19 Juri Linkov <juri@jurta.org>
5143
5144 * isearch.el (isearch-lazy-highlight-new-loop):
5145 Remove condition `(not isearch-error)'. (Bug#9918)
5146
5147 * misearch.el (multi-isearch-search-fun): Add condition
5148 `(not bound)' to ignore lazy-highlighting search.
5149 Add the search-failed message "end of multi" when the end of
5150 multi-sequence is reached. Uncapitalize the search-failed
5151 message "Repeat for next buffer".
5152
5153 * info.el (Info-search): Add the search-failed message
5154 "end of the manual" when the end of the manual is reached
5155 in Isearch mode.
5156
645ca9cf
JL
51572011-11-19 Juri Linkov <juri@jurta.org>
5158
5159 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5160 Use non-destructive `remove' instead of `delete' because
5161 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5162 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5163
df754f66
JL
51642011-11-19 Juri Linkov <juri@jurta.org>
5165
5166 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5167 to nil instead of binding `search-ring' and `regexp-search-ring'.
5168 (Bug#9185)
5169
0e23d96a
EZ
51702011-11-19 Eli Zaretskii <eliz@gnu.org>
5171
5172 * simple.el (line-move): Force movement by logical lines for any
5173 hscrolled window, not only when auto-hscroll-mode is on.
5174 (line-move-visual): Update doc string to that effect. (Bug#10076)
5175
8a6ccb66
AS
51762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5177
5178 * language/european.el (macintosh): Define as alias for mac-roman.
5179
49ae5b39
EZ
51802011-11-19 Eli Zaretskii <eliz@gnu.org>
5181
5182 * mail/rmailmm.el (rmail-mime-display-header)
5183 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5184 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5185 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5186 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5187 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5188 of a raw aref.
5189 (rmail-mime-entity-segment): To get past the tagline, move forward
5190 2 more lines, to account for the 2 empty lines that precede and
5191 follow the line with the buttons.
5192 (rmail-mime-update-tagline): Move one more line, to get past the
5193 empty line that follows the buttons in the tagline. (Bug#9520)
5194
c56cad4a
MR
51952011-11-19 Martin Rudalics <rudalics@gmx.at>
5196
5197 * window.el (window-max-delta-1, window-min-delta-1)
5198 (window-min-size-1, window-state-get-1, window-state-put-1)
5199 (window-state-put-2): Use "window--" prefix.
5200
cbe71af3
SM
52012011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5202
2ad52c60
SM
5203 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5204 (smie-warning-count): New var.
5205 (smie-set-prec2tab): Use it.
5206 (smie-bnf->prec2): Improve warnings. Add docstring.
5207 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5208 (smie-bnf--set-class): New function.
5209 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5210 corner case.
5211
6944dbc1
SM
5212 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5213 (compilation-error-properties, compilation-move-to-column):
5214 Handle compilation-first-column while in the target buffer.
5215
c400c4d7
SM
5216 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5217 Don't hardcode point-min==1.
5218
6dbe3e96
SM
5219 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5220 (eshell-rewrite-for-command): Remove workaround.
5221 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5222 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5223 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5224
cbe71af3
SM
5225 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5226
a8e1496d
GM
52272011-11-17 Glenn Morris <rgm@gnu.org>
5228
5229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5230 Ignore buffer-local generated-autoload-file if it is the same
5231 as the global value. (Bug#10049)
5232
df85d315
JB
52332011-11-17 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5236 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5237 (reftex-toc-previous-heading, reftex-toc-max-level)
5238 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5239 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5240 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5241 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5242 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5243 (reftex-toc-rename-label, reftex-toc-visit-location)
5244 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5245 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5246 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5247 leaving "*toc*" only for references to the buffer.
5248
a0c2d0ae
MR
52492011-11-17 Martin Rudalics <rudalics@gmx.at>
5250
5251 * window.el (window-resize, delete-window, split-window):
5252 Replace window-splits by window-combination-resize.
1d00653d 5253 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5254
35c0bac8
GM
52552011-11-17 Glenn Morris <rgm@gnu.org>
5256
5257 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5258 Make bash entry derive from sh entry, not shell entry.
5259
d0c8fc8a
MA
52602011-11-16 Michael Albinus <michael.albinus@gmx.de>
5261
d0c8fc8a
MA
5262 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5263 properties of linked files. (Bug#9879)
5264
7262a87c
MA
5265 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5266 local file name.
5267
7877f373
JB
52682011-11-16 Juanma Barranquero <lekktu@gmail.com>
5269
5270 * menu-bar.el (menu-bar-file-menu):
5271 * printing.el (pr-ps-utility):
5272 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5273 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5274 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5275 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5276 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5277 (icalendar--convert-cyclic-to-ical)
5278 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5279 (icalendar--convert-ical-to-diary)
5280 (icalendar--convert-recurring-to-diary)
5281 (icalendar--convert-non-recurring-all-day-to-diary)
5282 (icalendar-import-format-sample):
5283 * progmodes/idlw-shell.el (idlwave-shell-mode):
5284 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5285 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5286 (vhdl-ps-print-init): Fix typos.
5287
10649b82
KM
52882011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5289
9d0cfcd6
GM
5290 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5291 FSF and collapse date sequence, obscure author/maintainer email address
5292 better, remove extra version line, track relocation of author's webpage.
10649b82 5293
9d0cfcd6
GM
5294 * progmodes/python.el (python-pdbtrack-input-prompt)
5295 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5296 regular python pdb prompts. Adjustments shamelessly taken exactly as
5297 suggested in EmacsWiki page (tiny change):
5298 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5299
58179cce
JB
53002011-11-16 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * expand.el (expand-pos, expand-index, expand-point):
5303 Remove redundant info from docstring.
5304 (expand-add-abbrevs): Doc fix.
5305 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5306 (expand-sample-perl-mode-expand-list): Fix typos.
5307
5308 * net/dbus.el (dbus-event-member-name):
5309 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5310 * term/pc-win.el (msdos-create-frame-with-faces):
5311 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5312
b6f67890
MR
53132011-11-16 Martin Rudalics <rudalics@gmx.at>
5314
5315 * window.el (split-window, window-state-get-1)
5316 (window-state-put-1, window-state-put-2): Rename occurrences of
5317 window-nest to window-combination-limit.
1d00653d 5318 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5319
ce7ddba0
CY
53202011-11-16 Chong Yidong <cyd@gnu.org>
5321
5322 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5323 regexp (Bug#10033).
5324
3ae704f4
SM
53252011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5328 `completing-read' will remove *Completions* and will preserve
5329 current-buffer for us.
5330 (tmm-add-prompt): Users of *Completions* will always (re)set its
5331 major mode.
5332 (tmm-old-comp-map): Remove.
5333
6ad1cdde
GM
53342011-11-16 Glenn Morris <rgm@gnu.org>
5335
5336 * mail/rmailedit.el: Require rmailmm when compiling.
5337 (rmail-old-mime-state): New declaration.
5338 (rmail-edit-current-message): If editing a mime message,
5339 edit the "raw" message from the mbox buffer.
5340 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5341
d20faa20
GM
53422011-11-15 Glenn Morris <rgm@gnu.org>
5343
5344 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5345 which wasn't being used. Add optional arg to force given state.
5346 (rmail-mime): Add optional arg to force given state.
5347
c7015153
JB
53482011-11-15 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5351 * frame.el (display-mm-dimensions-alist):
5352 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5353 (outline-move-subtree-down):
5354 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5355 (newsticker--treeview-do-get-node):
5356 * net/quickurl.el (quickurl-list-buffer-name):
5357 * progmodes/dcl-mode.el (dcl-mode):
5358 * progmodes/gdb-mi.el (gdb-mapcar*):
5359 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5360
45261b50
GM
53612011-11-15 Glenn Morris <rgm@gnu.org>
5362
5363 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5364 in a boolean sense, so just make it a boolean, and fix the doc.
5365 (rmail-show-mime-function, rmail-mime-feature)
5366 (rmail-require-mime-maybe): Doc fixes.
5367 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5368
5369 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5370
0d26e0b6
JB
53712011-11-15 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5374 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5375 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5376 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5377
447f30f6
GM
53782011-11-15 Glenn Morris <rgm@gnu.org>
5379
672b871d
GM
5380 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5381 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5382 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5383 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5384 (rmail-mime, rmail-show-mime): Doc fixes.
5385
f6aa5bb1
GM
5386 * term/ns-win.el (mode-line-frame-identification):
5387 Leave it alone. (Bug#10051)
5388
947cd66b
GM
5389 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5390
447f30f6
GM
5391 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5392 Handle empty buffers. (Bug#9978)
5393
0b381c7e
JB
53942011-11-14 Juanma Barranquero <lekktu@gmail.com>
5395
5396 * international/mule.el (define-charset):
5397 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5398 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5399 * progmodes/verilog-mode.el (verilog-backward-token):
5400 * textmodes/ispell.el (lookup-words):
5401 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5402
71e027ac
GM
54032011-11-14 Glenn Morris <rgm@gnu.org>
5404
56632ce4
GM
5405 * progmodes/executable.el
5406 (executable-make-buffer-file-executable-if-script-p):
5407 Handle file-modes returning nil.
5408
40500957
GM
5409 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5410 message - not necessary, and causes problems. (Bug#9831)
5411
071c2340
GM
5412 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5413
d3cfca60
GM
5414 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5415
71e027ac
GM
5416 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5417 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5418 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5419
89d61221
MR
54202011-11-12 Martin Rudalics <rudalics@gmx.at>
5421
5422 * window.el (window-resize, delete-window): Use window-splits
5423 variable instead of function.
5424 (window-state-get-1, window-state-put-2, window-state-put):
5425 Don't deal with windows' splits status.
5426
98282f6f
GM
54272011-11-12 Glenn Morris <rgm@gnu.org>
5428
5429 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5430 (apropos-documentation): Doc fixes.
5431
40a8bdf6
JB
54322011-11-11 Juanma Barranquero <lekktu@gmail.com>
5433
5434 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5435 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5436
65bd19ff
SM
54372011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * electric.el (electric-indent-post-self-insert-function): Make it
5440 possible for a char to only indent in some circumstances.
5441 (electric-indent-mode): Simplify.
5442
54f9154c
MR
54432011-11-11 Martin Rudalics <rudalics@gmx.at>
5444
5445 * window.el (windows-with-parameter): Remove unused function.
5446 (windows-at-side): Rename to window-at-side-list.
5447 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5448 (window-side-check, window-size-ignore, window-size-fixed-1)
5449 (window-in-direction-2): Prefix with "window--".
5450 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5451
68cbc58b
GM
54522011-11-11 Glenn Morris <rgm@gnu.org>
5453
5454 * subr.el (eval-after-load): If FILE is already loaded,
5455 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5456
b2621720
GM
54572011-11-10 Glenn Morris <rgm@gnu.org>
5458
9a4de110
GM
5459 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5460 Call svn via vc-svn-command rather than vc-do-command.
5461 (vc-svn-command): Add --non-interactive. (Bug#9993)
5462 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5463
b2621720
GM
5464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5465 Add toggle-read-only. (Bug#7292)
5466 * files.el (toggle-read-only): Mention that it should only
5467 be used interactively. (Bug#10006)
5468
1dce7193
SM
54692011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5470
d9ac1a1e
SM
5471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5472 Adjust regexp for OCaml warnings.
5473
0c325082
SM
5474 * electric.el (electric-pair-post-self-insert-function): Let user
5475 turn it off buffer-locally (bug#9932).
5476
90132c14
SM
5477 * progmodes/python.el (python-beginning-of-statement):
5478 Rewrite (bug#2703).
5479
1dce7193
SM
5480 * progmodes/compile.el: Better handle TABs (bug#9749).
5481 (compilation-internal-error-properties)
5482 (compilation-next-error-function): Obey the target buffer's
5483 compilation-error-screen-columns.
5484
c4e7c63a
JB
54852011-11-09 Juanma Barranquero <lekktu@gmail.com>
5486
5487 * progmodes/meta-mode.el: Remove obsolete comments.
5488 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5489 Fix typos in docstrings.
5490
2cffd681
MR
54912011-11-09 Martin Rudalics <rudalics@gmx.at>
5492
5493 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5494 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5495 (window--resizable): New function. Make all callers of
5496 window-resizable call window--resizable instead.
5497 (window-resizable): Rewrite in terms of window--resizable.
5498
0edcba87
GM
54992011-11-08 Glenn Morris <rgm@gnu.org>
5500
5501 * progmodes/delphi.el (delphi-mode-syntax-table):
5502 Let define-derived-mode define a proper syntax table. (Bug#9994)
5503
4b0d61e3
SM
55042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * window.el: Stay away from defsubst.
5507 (window-list-no-nils): Remove.
5508 (window-state-get-1, window-state-get): Use backquote instead.
5509
cd394be1 55102011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5511
4b0d61e3 5512 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5513 Fix incorrect use of default argument in `completing-read'.
5514
e1c2c6f2
MR
55152011-11-08 Martin Rudalics <rudalics@gmx.at>
5516
5517 * window.el (display-buffer-function, special-display-function):
5518 Mention display-buffer-record-window but do not mention
5519 help-setup parameter in doc-strings.
b3f4a882 5520 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5521
105216ed
CY
55222011-11-08 Chong Yidong <cyd@gnu.org>
5523
5524 * window.el (window-total-height, window-total-width): Doc fix.
5525 (window-body-size): Move from C.
5526 (window-body-height, window-body-width): Move to C.
5527
0a9f9ab5
SM
55282011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * window.el: Make special-display like display-buffer-alist (bug#9532).
5531 (display-buffer--special-action): New function, morphed
5532 from display-buffer--special.
5533 (display-buffer): Use it to handle special-display-buffers at higher
5534 priority (just after display-buffer-alist).
5535 (display-buffer-fallback-action, display-buffer--other-frame-action)
5536 (pop-to-buffer-same-window): Remove display-buffer--special.
5537
a769dd15
GM
55382011-11-07 Glenn Morris <rgm@gnu.org>
5539
5540 * calendar/cal-menu.el (cal-menu-set-date-title):
5541 Do nothing if not in a calendar. (Bug#9976)
5542
05a61ee3
SM
55432011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * files.el (find-file): Always use selected-window.
5546
be7f5545
MR
55472011-11-07 Martin Rudalics <rudalics@gmx.at>
5548
5549 * window.el (window-combinations): Make WINDOW argument
5550 mandatory. Rewrite doc-string.
5551 (walk-window-subtree, window-atom-check, window-min-delta)
5552 (window-max-delta, window--resize-this-window)
5553 (window--resize-root-window-vertically, window-tree)
5554 (balance-windows, window-state-put): Rewrite doc-strings as to
5555 not mention the term "subwindow".
5556 (window--resize-subwindows-skip-p): Rename to
5557 window--resize-child-windows-skip-p.
5558 (window--resize-subwindows-normal): Rename to
5559 window--resize-child-windows-normal.
5560 (window--resize-subwindows): Rename to
5561 window--resize-child-windows.
5562 (window-or-subwindow-p): Rename to window--in-subtree-p.
5563
3c6702ef
ML
55642011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5565
5566 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5567 Ensure that mbox format messages end in two newlines (Bug#9974).
5568
49745b39
CY
55692011-11-06 Chong Yidong <cyd@gnu.org>
5570
5571 * window.el (window-combination-p): Function deleted; its
5572 side-effect is not used in any existing code.
5573 (window-combinations, window-combined-p): Call window-*-child
5574 directly.
5575
24300f5f
CY
55762011-11-05 Chong Yidong <cyd@gnu.org>
5577
5578 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5579 (window-size-ignore, window-state-get): Callers changed.
5580 (window-normalize-window): Rename from window-normalize-any-window.
5581 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5582 (window-normalize-live-window): Delete.
447f16b8
CY
5583 (window-combination-p, window-combined-p, window-combinations)
5584 (walk-window-subtree, window-atom-root, window-min-size)
5585 (window-sizable, window-sizable-p, window-size-fixed-p)
5586 (window-min-delta, window-max-delta, window-resizable)
5587 (window-resizable-p, window-full-height-p, window-full-width-p)
5588 (window-current-scroll-bars, window-point-1, set-window-point-1)
5589 (window-at-side-p, window-in-direction, window-resize)
5590 (adjust-window-trailing-edge, maximize-window, minimize-window)
5591 (window-deletable-p, delete-window, delete-other-windows)
5592 (record-window-buffer, unrecord-window-buffer)
5593 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5594 (quit-window, split-window, window-state-put)
5595 (set-window-text-height, fit-window-to-buffer)
5596 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5597
89bd5ee1
EZ
55982011-11-04 Eli Zaretskii <eliz@gnu.org>
5599
53479029
EZ
5600 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5601 rfc2047-decode-string.
5602 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5603 warnings.
5604
89bd5ee1
EZ
5605 * window.el (window-body-height, window-body-width): Mention in
5606 the doc string that the return values are in frame's canonical
5607 units. (Bug#9949)
5608
bd17fdee
AM
56092011-11-03 Alan Mackenzie <acm@muc.de>
5610
5611 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5612 change in cc-engine.el.
5613
acc825c5
SM
56142011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5617
1885e5b8
MR
56182011-11-02 Martin Rudalics <rudalics@gmx.at>
5619
5620 * window.el (quit-window): Call unrecord-window-buffer after
5621 showing another buffer in the window. (Bug#9937)
acc825c5 5622 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5623
ebe06da9
JB
56242011-11-02 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5627 Accept status with more than 9 shelves. (Bug#9935)
5628 Reported by Colin D Bennett <colin@gibibit.com>.
5629
4ee88440
MR
56302011-11-01 Martin Rudalics <rudalics@gmx.at>
5631
5632 * help.el (with-help-window): Don't reference
5633 temp-buffer-show-specifiers in doc-string.
5634
08e1d82c
AS
56352011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5638 menu-item.
5639
84bd6e9e
VJL
56402011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5641
5642 * whitespace.el: New version 13.2.2.
5643 (whitespace-newline-mode): Disable properly. Reported by Sarah
5644 <EmacsWiki>.
5645
dba0634a
UJ
56462011-10-30 Ulf Jasper <ulf.jasper@web.de>
5647
5648 * net/newst-treeview.el: Remove "Time-stamp".
5649 (newsticker--group-manage-orphan-feeds): Do not call
5650 newsticker--treeview-tree-update.
db22a3c2
JB
5651 (newsticker-treeview-update, newsticker-treeview):
5652 Call newsticker--treeview-tree-update if necessary.
dba0634a 5653
3d8daefe
MR
56542011-10-30 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5657 (window-iso-combinations): Remove "iso-" infix.
5658 Suggested by Chong Yidong.
3d8daefe
MR
5659 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5660 (window-max-delta-1, window-resize, window--resize-siblings)
5661 (window--resize-this-window, adjust-window-trailing-edge)
5662 (split-window, balance-windows-1)
5663 (shrink-window-if-larger-than-buffer):
5664 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5665 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5666
1bc4c3ae
SM
56672011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5670 in place (bug#9907).
5671 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5672 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5673 (eshell-structure-basic-command, eshell-rewrite-while-command)
5674 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5675 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5676 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5677 (eshell-do-pipelines-synchronously, eshell-eval-command):
5678 Use backquotes and prefer setq to set.
5679 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5680 (eshell-macrop): Use functionp.
c1e2f5fa 5681 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5682
30b65d9c
CY
56832011-10-30 Chong Yidong <cyd@gnu.org>
5684
5685 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5686 instead of set-mark (Bug#9810).
5687
2d197ffb
CY
56882011-10-30 Chong Yidong <cyd@gnu.org>
5689
5690 * window.el (split-window-below, split-window-right): Rename from
5691 split-window-above-each-other and split-window-side-by-side
5692 respectively. All callers changed.
5693 (split-window-sensibly, split-window-sensibly): Use them.
5694 (split-window-keep-point): Doc fix.
5695
5696 * isearch.el: Add isearch-scroll property to split-window-below
5697 and split-window-right.
5698
5699 * follow.el (follow-mode):
5700 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5701 * progmodes/ada-xref.el (ada-gdb-application):
5702 * emulation/vip.el (vip-buffer-in-two-windows):
5703 * image-dired.el (image-dired-dired-with-window-configuration):
5704 * dired-x.el (dired-do-find-marked-files):
5705 * dired.el (dired-pop-to-buffer):
5706 * bs.el (bs--show-with-configuration):
5707 * vc/emerge.el (emerge-setup-windows):
5708 * textmodes/two-column.el (2C-two-columns):
5709 * textmodes/reftex-toc.el (reftex-toc):
5710 * progmodes/gdb-mi.el (gdb-setup-windows):
5711 * progmodes/fortran.el (fortran-window-create):
5712 * net/newst-treeview.el (newsticker--treeview-window-init):
5713 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5714 * emulation/tpu-edt.el (tpu-gold-map):
5715 * emulation/crisp.el (crisp-mode-map):
5716 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5717
38bb2ca8
CY
57182011-10-29 Chong Yidong <cyd@gnu.org>
5719
aa4de341
CY
5720 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5721
e1eb5385
CY
5722 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5723
5d2ece3c
CY
5724 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5725 forged Ispell output (Bug#7904).
5726
38bb2ca8
CY
5727 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5728
d0af9f77
SM
57292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * doc-view.el: Avoid ugly errors about not finding nil.
5732 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5733 (doc-view-dvipdf-program, doc-view-unoconv-program)
5734 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5735 Avoid nil or absolute file name as default value.
5736 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5737
52bedd34
AM
57382011-10-28 Alan Mackenzie <acm@muc.de>
5739
db22a3c2 5740 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5741
7e43cfa5
AM
57422011-10-28 Alan Mackenzie <acm@muc.de>
5743
5744 Amend the handling of c-beginning/end-of-defun in nested declaration
5745 scopes.
5746
52bedd34
AM
5747 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5748 cc-langs.el. Change it to a defcustom.
7e43cfa5 5749
52bedd34
AM
5750 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5751 cc-vars.el.
7e43cfa5 5752
d0af9f77
SM
5753 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5754 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5755
52bedd34 5756 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5757 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5758 (c-widen-to-enclosing-decl-scope): New function.
5759 (c-while-widening-to-decl-block): New macro.
5760 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5761 outward for defun boundaries, and correspondingly change symbol
5762 `respect-enclosure' to `go-outward'.
5763 (c-declaration-limits): Change algorithm to report only the "innermost"
5764 defun's boundaries.
5765
1a2ce9ee
DD
57662011-10-28 Deniz Dogan <deniz@dogan.se>
5767
5768 * net/rcirc.el (rcirc-mode): Use hard newlines.
5769
bc97a826
AM
57702011-10-28 Alan Mackenzie <acm@muc.de>
5771
5772 Amend to indent and fontify macros "which include their own semicolon"
5773 correctly, using the "virtual semicolon" mechanism.
5774
52bedd34 5775 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5776
d0af9f77 5777 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5778 Recode to scan one line at a time rather than having \n and \r
58179cce 5779 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5780 (c-forward-label): Amend for virtual semicolons.
58179cce 5781 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5782
52bedd34
AM
5783 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5784 of the new C macros.
bc97a826 5785
52bedd34 5786 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5787 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5788 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5789 (c-opt-cpp-macro-define): Make into a full language variable.
5790 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5791 AWK Mode (including \n, \r) removed, no longer needed.
5792
d0af9f77
SM
5793 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5794 Invoke c-make-macro-with-semi-re.
bc97a826 5795
52bedd34
AM
5796 * progmodes/cc-vars.el (c-macro-with-semi-re):
5797 (c-macro-names-with-semicolon): New variables.
58179cce 5798 (c-make-macro-with-semi-re): New function.
bc97a826 5799
7a6c0941
SM
58002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * vc/log-edit.el: Fill empty field rather than adding new one.
5803 (log-edit-add-field): New function.
5804 (log-edit-insert-changelog): Use it.
5805
b0c4cdcf
ML
58062011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5807
5808 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5809
ee1f1da9
SM
58102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5813 (gdb--check-interpreter): New function.
5814 (gdb): Use it.
5815
51bc5f8b
GM
58162011-10-27 Glenn Morris <rgm@gnu.org>
5817
416a2c45
GM
5818 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5819 (least-positive-float, least-negative-float)
5820 (least-positive-normalized-float, least-negative-normalized-float)
5821 (float-epsilon, float-negative-epsilon):
5822 Remove unnecessary declarations.
5823
5824 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5825 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5826 (least-positive-float, least-negative-float)
5827 (least-positive-normalized-float, least-negative-normalized-float)
5828 (float-epsilon, float-negative-epsilon): Add doc-strings,
5829 based on those in cl.texi.
5830
51bc5f8b
GM
5831 * files.el (set-visited-file-name): If the major-mode changed,
5832 reload the local variables. (Bug#9796)
5833
15de15c6
CY
58342011-10-27 Chong Yidong <cyd@gnu.org>
5835
5836 * subr.el (change-major-mode-after-body-hook): New hook.
5837 (run-mode-hooks): Run it.
5838
ee1f1da9
SM
5839 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5840 Use change-major-mode-before-body-hook.
15de15c6
CY
5841
5842 * simple.el (fundamental-mode):
5843 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5844 change introducing fundamental-mode-hook.
5845
5430d399
JB
58462011-10-26 Juanma Barranquero <lekktu@gmail.com>
5847
acc825c5 5848 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5849
ad74a69e
MA
58502011-10-26 Michael Albinus <michael.albinus@gmx.de>
5851
5852 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5853 tramp.el explicitly. (Bug#7583)
ad74a69e 5854
71d4c2a5
SM
58552011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * progmodes/octave-mod.el:
5858 * progmodes/octave-inf.el: Update maintainer.
5859
b1f6fa26
CY
58602011-10-26 Chong Yidong <cyd@gnu.org>
5861
5862 * subr.el (with-wrapper-hook): Rewrite doc.
5863
3f04efd6
MA
58642011-10-25 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5867 filenames "/method:foo:". (Bug#9793)
3f04efd6 5868
410488d3
SM
58692011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5872 (bug#9865).
5873
c1ebb47e
GM
58742011-10-24 Glenn Morris <rgm@gnu.org>
5875
5876 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5877
7f5c46c7
MA
58782011-10-24 Michael Albinus <michael.albinus@gmx.de>
5879
5880 * notifications.el: Add the requirement of a running D-Bus session
5881 bus to the Commentary.
5882
db2440b6
JL
58832011-10-24 Juri Linkov <juri@jurta.org>
5884
5885 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5886 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5887 (Bug#9364)
5888
feecf435
JL
58892011-10-24 Juri Linkov <juri@jurta.org>
5890
5891 * info.el (Info-following-node-name-re): Add newline to the list
5892 of allowed characters for leading space. (Bug#9824)
5893
a3839de2
SM
58942011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5895
acc825c5
SM
5896 * progmodes/octave-inf.el (inferior-octave-mode-map):
5897 Fix C-c C-h binding.
a3839de2
SM
5898 * progmodes/octave-mod.el (octave-help): Remove.
5899
09388e76
MA
59002011-10-23 Michael Albinus <michael.albinus@gmx.de>
5901
5902 Sync with Tramp 2.2.3.
5903
5904 * net/tramp-cache.el (top): Pacify byte-compiler using
5905 `init-file-user' and `site-run-file'.
5906
5907 * net/trampver.el: Update release number.
5908
86c60681
CY
59092011-10-23 Chong Yidong <cyd@gnu.org>
5910
5911 * files.el (toggle-read-only): Remove obsolete comment about
5912 version control.
5913
5914 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5915 for toggle-read-only. Note that this hasn't called vc-next-action
5916 since 2008-05-02, though it wasn't documented at the time.
5917
a3839de2
SM
5918 * vc/ediff-init.el (ediff-toggle-read-only-function):
5919 Use toggle-read-only.
86c60681 5920
cd5495ff
AM
59212011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5922
5923 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5924 of c-parse-state.
5925
00b77525 5926 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5927 correct faulty logical expression.
cd5495ff
AM
5928 (c-parse-state-state, c-record-parse-state-state):
5929 (c-replay-parse-state-state): New defvar/defuns.
5930 (c-debug-parse-state): Use new functions.
5931
42ee24ed
MR
59322011-10-22 Martin Rudalics <rudalics@gmx.at>
5933
5934 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5935 last fix. Use window-in-direction correctly.
42ee24ed 5936
a7dee7e7
CY
59372011-10-21 Chong Yidong <cyd@gnu.org>
5938
5939 * progmodes/idlwave.el (idlwave-mode):
5940 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5941 require-final-newline; that's done in prog-mode.
5942 Suggested by Stefan Monnier.
a7dee7e7 5943
e07b9a6d
MR
59442011-10-21 Martin Rudalics <rudalics@gmx.at>
5945
5946 * mouse.el (mouse-drag-window-above)
5947 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5948 (mouse-drag-mode-line-1, mouse-drag-header-line)
5949 (mouse-drag-vertical-line-rightward-window): Remove.
5950 (mouse-drag-line): New function.
5951 (mouse-drag-mode-line, mouse-drag-header-line)
5952 (mouse-drag-vertical-line): Call mouse-drag-line.
5953 * window.el (window-at-side-p, windows-at-side): New functions.
5954
7e1361d9
UM
59552011-10-21 Ulrich Mueller <ulm@gentoo.org>
5956
5957 * tar-mode.el (tar-grind-file-mode):
5958 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5959
30fcaf3a
CY
59602011-10-21 Chong Yidong <cyd@gnu.org>
5961
5962 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5963 * progmodes/vera-mode.el (vera-mode):
5964 Use mode-require-final-newline.
30fcaf3a 5965
516eddb0
GM
59662011-10-20 Glenn Morris <rgm@gnu.org>
5967
db22a3c2 5968 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5969
10d5f513
CS
59702011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5971
5972 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5973
ac6c8639
CY
59742011-10-20 Chong Yidong <cyd@gnu.org>
5975
5976 * emulation/cua-base.el (cua-mode):
5977 * mail/footnote.el (footnote-mode):
5978 * mail/mailabbrev.el (mail-abbrevs-mode):
5979 * net/xesam.el (xesam-minor-mode):
5980 * progmodes/bug-reference.el (bug-reference-mode):
5981 * progmodes/cap-words.el (capitalized-words-mode):
5982 * progmodes/compile.el (compilation-minor-mode)
5983 (compilation-shell-minor-mode):
5984 * progmodes/gud.el (gud-tooltip-mode):
5985 * progmodes/hideif.el (hide-ifdef-mode):
5986 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5987 * progmodes/subword.el (subword-mode):
5988 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5989 * progmodes/which-func.el (which-function-mode):
5990 * term/tvi970.el (tvi970-set-keypad-mode):
5991 * term/vt100.el (vt100-wide-mode):
5992 * textmodes/flyspell.el (flyspell-mode):
5993 * textmodes/ispell.el (ispell-minor-mode):
5994 * textmodes/nroff-mode.el (nroff-electric-mode):
5995 * textmodes/paragraphs.el (use-hard-newlines):
5996 * textmodes/refill.el (refill-mode):
5997 * textmodes/reftex.el (reftex-mode):
5998 * textmodes/rst.el (rst-minor-mode):
5999 * textmodes/sgml-mode.el (html-autoview-mode)
6000 (sgml-electric-tag-pair-mode):
6001 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6002 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6003 * emulation/crisp.el (crisp-mode):
6004 * emacs-lisp/eldoc.el (eldoc-mode):
6005 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6006 minor mode behavior.
6007
aa42ab43
JL
60082011-10-19 Juri Linkov <juri@jurta.org>
6009
6010 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6011 the list of hard-coded chars with escape-glyph face.
6012
89400f1d
SM
60132011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6016
305c07f6
MA
60172011-10-19 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6020 running process.
6021
13754b54
GM
60222011-10-19 Glenn Morris <rgm@gnu.org>
6023
6024 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6025 Ignore ignored files. (Bug#9726)
6026
06e21633
CY
60272011-10-19 Chong Yidong <cyd@gnu.org>
6028
6029 Doc fix for minor modes, stating that an omitted argument enables
6030 the mode unconditionally when called from Lisp.
6031
6032 * abbrev.el (abbrev-mode):
6033 * allout.el (allout-mode):
6034 * autoinsert.el (auto-insert-mode):
6035 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6036 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6037 (global-auto-revert-mode):
6038 * battery.el (display-battery-mode):
6039 * composite.el (global-auto-composition-mode)
6040 (auto-composition-mode):
6041 * delsel.el (delete-selection-mode):
6042 * desktop.el (desktop-save-mode):
6043 * dired-x.el (dired-omit-mode):
6044 * dirtrack.el (dirtrack-mode):
6045 * doc-view.el (doc-view-minor-mode):
6046 * double.el (double-mode):
6047 * electric.el (electric-indent-mode, electric-pair-mode):
6048 * emacs-lock.el (emacs-lock-mode):
6049 * epa-hook.el (auto-encryption-mode):
6050 * follow.el (follow-mode):
6051 * font-core.el (font-lock-mode):
6052 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6053 * help.el (temp-buffer-resize-mode):
6054 * hilit-chg.el (highlight-changes-mode)
6055 (highlight-changes-visible-mode):
6056 * hi-lock.el (hi-lock-mode):
6057 * hl-line.el (hl-line-mode, global-hl-line-mode):
6058 * icomplete.el (icomplete-mode):
6059 * ido.el (ido-everywhere):
6060 * image-file.el (auto-image-file-mode):
6061 * image-mode.el (image-minor-mode):
6062 * iswitchb.el (iswitchb-mode):
6063 * jka-cmpr-hook.el (auto-compression-mode):
6064 * linum.el (linum-mode):
6065 * longlines.el (longlines-mode):
6066 * master.el (master-mode):
6067 * mb-depth.el (minibuffer-depth-indicate-mode):
6068 * menu-bar.el (menu-bar-mode):
6069 * minibuf-eldef.el (minibuffer-electric-default-mode):
6070 * mouse-sel.el (mouse-sel-mode):
6071 * msb.el (msb-mode):
6072 * mwheel.el (mouse-wheel-mode):
6073 * outline.el (outline-minor-mode):
6074 * paren.el (show-paren-mode):
6075 * recentf.el (recentf-mode):
6076 * reveal.el (reveal-mode, global-reveal-mode):
6077 * rfn-eshadow.el (file-name-shadow-mode):
6078 * ruler-mode.el (ruler-mode):
6079 * savehist.el (savehist-mode):
6080 * scroll-all.el (scroll-all-mode):
6081 * scroll-bar.el (scroll-bar-mode):
6082 * server.el (server-mode):
6083 * shell.el (shell-dirtrack-mode):
6084 * simple.el (auto-fill-mode, transient-mark-mode)
6085 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6086 (line-number-mode, column-number-mode, size-indication-mode)
6087 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6088 * strokes.el (strokes-mode):
6089 * time.el (display-time-mode):
6090 * t-mouse.el (gpm-mouse-mode):
6091 * tool-bar.el (tool-bar-mode):
6092 * tooltip.el (tooltip-mode):
6093 * type-break.el (type-break-mode-line-message-mode)
6094 (type-break-query-mode):
6095 * view.el (view-mode):
6096 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6097 (global-whitespace-mode, global-whitespace-newline-mode):
6098 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6099
a3839de2
SM
6100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6101 Fix autogenerated docstring.
06e21633 6102
5214e501
JL
61032011-10-19 Juri Linkov <juri@jurta.org>
6104
6105 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6106 by checking environment variables "DESKTOP_SESSION" and
6107 "XDG_CURRENT_DESKTOP". (Bug#9779)
6108
195f8db9
JL
61092011-10-19 Juri Linkov <juri@jurta.org>
6110
6111 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6112 (browse-url-chromium-program, browse-url-chromium-arguments):
6113 New defcustoms.
6114 (browse-url-default-browser): Check for `browse-url-chromium' and
6115 call `browse-url-chromium-program'.
6116 (browse-url-chromium): New command. (Bug#9779)
6117
343a34ff
JB
61182011-10-18 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * facemenu.el (list-colors-duplicates): On Windows, detect more
6121 duplicates by assuming that only colors matching "^System" are
6122 special "system colors". (Bug#9722)
6123
6978a151
SM
61242011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6127 to distinguish the author from the committer.
6128
6a80b297
MA
61292011-10-18 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6132
b31a5677
JK
61332011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6134
6135 * international/mule.el (sgml-html-meta-auto-coding-function):
6136 Add support for detecting encoding in HTML5 specified only as
6137 <meta charset="UTF-8">. Implementation just makes http-equiv and
6138 content-type parts from HTML4 encoding string optional. (Bug#9716)
6139
80c6d77f
GM
61402011-10-18 Glenn Morris <rgm@gnu.org>
6141
6142 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6143
08b0fee8
CY
61442011-10-18 Chong Yidong <cyd@gnu.org>
6145
6146 * faces.el (cursor): Doc fix.
6147
67e729a5
CY
61482011-10-17 Chong Yidong <cyd@gnu.org>
6149
6150 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6151
343a34ff 61522011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6153
6154 * dirtrack.el (dirtrack): Support shell buffers with path
6155 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6156
0bc06380
TZ
61572011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6158
6159 * json.el: Bump version to 1.3 and note change in History.
6160 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6161
8b79f3e0
SM
61622011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6163
5a7c536b
SM
6164 * comint.el (comint-insert-input, comint-send-input)
6165 (comint-get-old-input-default, comint-backward-matching-input)
6166 (comint-next-prompt): Use nil instead of `input' for field property of
6167 past user input (bug#114).
6168
96a8a0df
SM
6169 * minibuffer.el (completion--replace): Inherit surrounding properties
6170 (bug#114).
6171 (minibuffer-complete-and-exit): Use it.
6172
8b79f3e0
SM
6173 * comint.el (comint--table-subvert): Quote the all-completions output
6174 (bug#9160).
6175
b8f7ff0d
MR
61762011-10-17 Martin Rudalics <rudalics@gmx.at>
6177
8b79f3e0 6178 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6179
b8f7ff0d 6180 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6181 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6182 entries and separate them from frame entries.
6183
c235b555
GM
61842011-10-15 Glenn Morris <rgm@gnu.org>
6185
6186 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6187 Doc fixes.
6188
6bbfa6e1
CY
61892011-10-15 Chong Yidong <cyd@stupidchicken.com>
6190
8b79f3e0
SM
6191 * net/network-stream.el (network-stream-open-starttls):
6192 Improve detection of failure due to lack of TLS support.
ec5c990d 6193
6bbfa6e1
CY
6194 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6195 putting the input text in front and in bold.
6196
98488977
SM
61972011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6198
3d1337be
SM
6199 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6200
ee0b45e4
SM
6201 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6202 empty buffer.
6203
98488977
SM
6204 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6205 unread-command-events rather than pushing yet-another event.
6206
186f4720
EZ
62072011-10-14 Eli Zaretskii <eliz@gnu.org>
6208
6209 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6210 the explanation of the possible choices. Make the options passed
6211 to completing-read shorter.
6212
8b7a997c
AM
62132011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6214
6215 * textmodes/flyspell.el (flyspell-large-region): Make sure
6216 extended character mode is used if defined (Bug#1339).
6217
12587bbb
EZ
62182011-10-13 Eli Zaretskii <eliz@gnu.org>
6219
6220 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6221 character info for LRE, LRO, RLE, and RLO characters by appending
6222 an invisible PDF.
12587bbb 6223
bad41229
SM
62242011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6227 even in case of error; add debug spec; simplify data flow.
6228 (with-timeout-handler): Remove.
6229
28dbc92f
MA
62302011-10-12 Michael Albinus <michael.albinus@gmx.de>
6231
6232 Fix Bug#6019, Bug#9315.
6233
6234 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6235 complete `buffer-file-name', the local file name part could look
6236 remotely (for example on VMS).
6237
6238 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6239 `tramp-run-real-handler'.
6240 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6241 already quoted by '"'.
6242
6243 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6244 Let `file-name-handler-alist' be nil, the local file name part
6245 could look remotely (for example on VMS).
6246
e1b0b23a
SM
62472011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6250 from here...
6251 (flyspell-post-command-hook): ...to here.
6252
a120bde9
SM
62532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6256 if not needed.
6257 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6258 using completion. Protect against "slow" callers.
6259 Remove the "message hack".
6260
7ce7717b
JL
62612011-10-11 Juri Linkov <juri@jurta.org>
6262
6263 * isearch.el (isearch-lazy-highlight-word): New variable.
6264 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6265 Use it. (Bug#9727)
6266
c02ee9d6
GM
62672011-10-11 Glenn Morris <rgm@gnu.org>
6268
6269 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6270 like f90-previous-statement does.
6271
93e616fd 62722011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6273
1f190e73 6274 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6275 only in interactive use, to avoid error.
6276
af7b6078
SM
62772011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * minibuffer.el (completion-file-name-table): Fix last change,
6280 i.e. ignore normal errors but not the other ones.
6281
0563dae9
MR
62822011-10-10 Martin Rudalics <rudalics@gmx.at>
6283
6284 * window.el (special-display-buffer-names)
6285 (special-display-regexps): Remove some remnants of earlier
6286 changes from doc-strings.
366ca7f3
MR
6287 (quit-windows-on): New function.
6288
6289 * vc/vc.el (vc-revert, vc-rollback):
6290 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6291 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6292 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6293
49677495
MR
62942011-10-09 Martin Rudalics <rudalics@gmx.at>
6295
6296 * window.el (frame-auto-hide-function): Add version tag.
6297 (Bug#9699)
6298
56f2d1e1
MA
62992011-10-09 Michael Albinus <michael.albinus@gmx.de>
6300
6301 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6302 condition.
6303
112a6592
LL
63042011-10-09 Leo Liu <sdl.web@gmail.com>
6305
6306 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6307 (Bug#9701)
6308
0812589b
GM
63092011-10-08 Glenn Morris <rgm@gnu.org>
6310
6311 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6312 before the first code statement zero indent. (Bug#9690)
6313
b2b0776e
CY
63142011-10-08 Chong Yidong <cyd@stupidchicken.com>
6315
6316 * simple.el (count-words-region): Always count in the region.
6317 Report the number of lines and characters too.
6318 (count-words): New command, which counts in the buffer if the
6319 region is inactive, as count-words-region used to.
6320 (count-words--message): New function. Handle plurals.
6321 (count-lines-region): Make it an alias for count-words-region.
6322
6323 * bindings.el (esc-map): Replace count-lines-region with
6324 count-words-region.
6325
c557cd6b
MR
63262011-10-08 Martin Rudalics <rudalics@gmx.at>
6327
6328 * window.el (window--delete): Delete dedicated frame
6329 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6330 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6331
61a57ef4 63322011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6333
3a7d293b 6334 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6335
c3833279
CY
63362011-10-07 Chong Yidong <cyd@stupidchicken.com>
6337
6338 * bindings.el ([M-left],[M-right]): Bind to left-word and
6339 right-word respectively.
6340
21ce8245
GM
63412011-10-07 Glenn Morris <rgm@gnu.org>
6342
6343 * cus-start.el (debug-on-quit): Fix custom type.
6344
6d823bb2
LMI
63452011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346
0181e193
LMI
6347 * subr.el (define-key-after): Clarify that the function is not
6348 useful for non-menu keymaps.
6349
6d823bb2
LMI
6350 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6351
8e3459ce 63522011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6353
21ce8245 6354 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6355 in current minibuffer (Fix bug with recursive minibuffers).
6356
a1c2d21e
CY
63572011-10-06 Chong Yidong <cyd@stupidchicken.com>
6358
6359 * progmodes/gdb-mi.el (gdb): Doc fix.
6360
5a4cf282
MR
63612011-10-05 Martin Rudalics <rudalics@gmx.at>
6362
6363 * window.el (frame-auto-hide-function): New option replacing
6364 frame-auto-delete. Suggested by Stefan Monnier.
6365 (window--delete): Call frame-auto-hide-function instead of
6366 investigating frame-auto-delete.
c96111ea
MR
6367 (window-point-1, set-window-point-1): New functions.
6368 (window-in-direction, record-window-buffer, window-state-get-1)
6369 (display-buffer-record-window): Use window-point-1 instead of
6370 window-point.
6371 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6372
9854542e
SM
63732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6376
8943cfb0
GM
63772011-10-05 Glenn Morris <rgm@gnu.org>
6378
6379 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6380 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6381
647ab967
LL
63822011-10-05 Leo Liu <sdl.web@gmail.com>
6383
6384 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6385 works with buffer object.
6386
3ddfbced
SM
63872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * mpc.el (mpc-tool-bar-map): Add labels.
6390
bdfa5dd2
GM
63912011-10-04 Glenn Morris <rgm@gnu.org>
6392
6393 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6394
0e2070b5
MR
63952011-10-04 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (window--delete): New function.
6398 (frame-auto-delete): Resuscitate option.
6399 (bury-buffer, replace-buffer-in-windows)
6400 (quit-window): Rewrite using window--delete.
6401 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6402 Pass display-buffer-mark-dedicated to window--display-buffer-2
6403 (Bug#9639).
6404
3dc61a09
SM
64052011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6406
915a9b64
SM
6407 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6408 returns a list (bug#9554). Add remote file name completion.
6409 * comint.el (comint--table-subvert): Curry and get quote&unquote
6410 functions as arguments.
6411 (comint--complete-file-name-data): Adjust call accordingly.
6412 * pcomplete.el (pcomplete--table-subvert): Remove.
6413 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6414
3dc61a09
SM
6415 * minibuffer.el (completion-table-case-fold): Use currying.
6416 (completion--styles-type, completion--cycling-threshold-type):
6417 New constants.
6418 (completion-styles, completion-category-overrides)
6419 (completion-cycle-threshold): Use them.
6420 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6421 completion-table-case-fold.
6422
8ea0a993
SB
64232011-10-03 Stephen Berman <stephen.berman@gmx.net>
6424
6425 * minibuffer.el (completion-category-overrides): Fix type of styles
6426 and add more user friendly tags (bug#9660).
6427
8c24b7f6
SM
64282011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6431 (mule-input-method-string): New widget.
6432 (default-input-method, language-info-custom-alist): Use it.
6433
428fe61a
SM
64342011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6435
32c1fffd
SM
6436 * pcomplete.el: Require comint.
6437 (pcomplete--common-suffix): Remove.
6438 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6439 (pcomplete--table-subvert): Sync with comint--table-subvert.
6440 (pcomplete--entries): Use comint-completion-file-name-table.
6441 * comint.el (comint-unquote-filename): Simplify.
6442 (comint-completion-file-name-table): New function (bug#9616).
6443 (comint--complete-file-name-data): Use it.
6444
428fe61a
SM
6445 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6446 (pcmpl-gnu-tar-buffer): Remove.
6447 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6448 around. Make sure pcomplete-suffix-list is only changed temporarily.
6449 Don't look inside the tar's file if it's too large.
428fe61a 6450
04c52e2f
CY
64512011-10-01 Chong Yidong <cyd@stupidchicken.com>
6452
ce3cefcc
CY
6453 * cus-edit.el (custom-mode-map):
6454 * epa.el (epa-key-list-mode-map):
6455 * man.el (Man-mode-map):
6456 * startup.el (splash-screen-keymap):
6457 * simple.el (special-mode-map): Use scroll-up-command and
6458 scroll-down-command.
6459
6460 * progmodes/idlw-help.el (idlwave-help-mode-map):
6461 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6462 * net/newst-plainview.el (newsticker-mode-map):
6463 * emulation/ws-mode.el (wordstar-mode-map):
6464 * emulation/vi.el (vi-com-map):
6465 * calc/calc-graph.el (calc-graph-show-dumb):
6466 * term/sun.el (terminal-init-sun):
6467 * term/ns-win.el (global-map):
6468 * progmodes/grep.el (grep-mode-map):
6469 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6470 * mail/rmail.el (rmail-mode-map):
6471 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6472
04c52e2f
CY
6473 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6474 custom-safe-themes as special.
6475
79adf8c8
JD
64762011-10-01 Julien Danjou <julien@danjou.info>
6477
6478 * notifications.el (notifications-notify): Fix docstring.
6479
63bd50d3
PS
64802011-10-01 Per Starbäck <per@starback.se>
6481
6482 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6483
199e4c7e
MR
64842011-09-30 Martin Rudalics <rudalics@gmx.at>
6485
6486 * startup.el (command-line-1): Fix last fix by inserting
6487 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6488 (Bug#9605) and (Bug#9636)
199e4c7e 6489
fe5f08dd
EZ
64902011-09-29 Eli Zaretskii <eliz@gnu.org>
6491
6492 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6493 window is hscrolled, move by logical lines. (Bug#9607)
6494 (line-move-visual): Update the doc string to the above effect.
6495
b5516bbd
MR
64962011-09-29 Martin Rudalics <rudalics@gmx.at>
6497
ccee00c0
MR
6498 * window.el (display-buffer-record-window): When WINDOW is the
6499 selected window use `point' instead of `window-point'. (Bug#9626)
6500
b5516bbd
MR
6501 * startup.el (command-line-1): Use insert-before-markers when
6502 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6503
b5516bbd
MR
6504 * help.el (help-window): Remove variable.
6505
52aa0014
GM
65062011-09-29 Glenn Morris <rgm@gnu.org>
6507
6508 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6509
df9a7357
JB
65102011-09-29 Juanma Barranquero <lekktu@gmail.com>
6511
6512 * descr-text.el (describe-char-categories): Accept category
6513 descriptions more than one line long.
6514
a8406c20
SM
65152011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6516
88d9610c
SM
6517 * simple.el (delete-trailing-whitespace): Fix last change.
6518
a5daf810
SM
6519 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6520 Don't confuse "y => 3" as the beginning of a `y' operation.
6521
a8406c20
SM
6522 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6523 object has more than 4 slots (bug#9613).
6524
a239d4e9
JB
65252011-09-28 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * subr.el (with-output-to-temp-buffer):
6528 * net/quickurl.el (quickurl, quickurl-browse-url):
6529 Fix typos in docstrings.
6530
693fbdb6
EZ
65312011-09-27 Eli Zaretskii <eliz@gnu.org>
6532
6533 * minibuffer.el (completion-styles)
6534 (completion-category-overrides): Cross reference each other in doc
6535 strings.
6536
8b457e28
GM
65372011-09-27 Glenn Morris <rgm@gnu.org>
6538
6539 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6540 to split-string. (Bug#9606)
6541
85a16208
LMI
65422011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6543
6544 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6545 (bug#9615).
6546
502f9ebd
CY
65472011-09-27 Chong Yidong <cyd@stupidchicken.com>
6548
6549 * emacs-lisp/package.el (list-packages): Fix echo area message.
6550
7690bdea
LL
65512011-09-27 Leo Liu <sdl.web@gmail.com>
6552
6553 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6554
e2ee6f30
MA
65552011-09-25 Michael Albinus <michael.albinus@gmx.de>
6556
6557 * net/dbus.el (dbus-unregister-object): Don't release services for
6558 registered signals. (Bug#9581)
6559
f3f98342
TZ
65602011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6561
6562 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6563 function that picks between cfengine 2 and 3 support
6564 automatically. Update docs accordingly.
6565
dd7aa8dd
KH
65662011-09-22 Kenichi Handa <handa@m17n.org>
6567
6568 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6569 ZERO.
6570 (indian-itrans-v5-table-for-tamil): New variable.
6571 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6572
3f2b07f8
KM
65732011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6574
6575 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6576 that's true if the current command involved collapsing of text.
6577 It's reset to false at the beginning of the next command.
6578 (allout-post-command-business): Move the cursor to the beginning
6579 of entry if the cursor is hidden and collapsing activity just
6580 happened.
6581
371d6a61
CY
65822011-09-24 Chong Yidong <cyd@stupidchicken.com>
6583
6584 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6585 tracking (Bug#9541).
6586
2ac2721a
UJ
65872011-09-24 Ulf Jasper <ulf.jasper@web.de>
6588
6589 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6590 (newsticker-show-news): Automatically load html rendering package
6591 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6592 because w3m-fill-column is let-bound" and the error "Symbol's value
6593 as variable is void: w3m-fill-column".
2ac2721a 6594
fac7ae53
MA
65952011-09-24 Michael Albinus <michael.albinus@gmx.de>
6596
6597 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6598 Release services only if they are defined. (Bug#9581)
6599
e08b633b
RS
66002011-09-23 Richard Stallman <rms@gnu.org>
6601
e488d29c
RS
6602 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6603 distinguish start of paragraph from start of its text.
6604
19c38752
RS
6605 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6606
e08b633b
RS
6607 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6608 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6609 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6610
0a39f27e
AS
66112011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6612
6613 * international/mule-diag.el (mule-diag): Insert a newline after
6614 each fontset description.
6615
db4e950d
SM
66162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * simple.el (delete-trailing-whitespace):
6619 Document last change; simplify.
6620
eca3f3ea
PW
66212011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6622
d68e189a
PW
6623 * simple.el (delete-trailing-whitespace): Also delete
6624 extra newlines at the end of the buffer.
6625
eca3f3ea
PW
6626 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6627 (picture-newline): Use forward-line so as to ignore fields.
6628
01c157cc
SM
66292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6630
6631 * subr.el (with-wrapper-hook): Fix edebug spec.
6632
022de23e
LMI
66332011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6634
6635 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6636 (bug#4538).
6637
91683089
MA
66382011-09-23 Michael Albinus <michael.albinus@gmx.de>
6639
eca3f3ea
PW
6640 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6641 Fix nasty bug using wrong cached values.
91683089 6642
5bdd6fa4
AM
66432011-09-23 Alan Mackenzie <acm@muc.de>
6644
6645 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6646
97adfb97
CY
66472011-09-23 Chong Yidong <cyd@stupidchicken.com>
6648
6649 * window.el (pop-to-buffer): Ensure right window is selected if we
6650 chose another frame.
6651
d4ef2b50
EZ
66522011-09-22 Eli Zaretskii <eliz@gnu.org>
6653
6654 * simple.el (what-cursor-position): Use get-char-property-change
6655 and next-single-char-property-change, to be able to show display
6656 properties that come from overlays as well as text properties.
6657
72258fe5
CY
66582011-09-22 Chong Yidong <cyd@stupidchicken.com>
6659
6660 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6661
6662 * cmuscheme.el (run-scheme, switch-to-scheme):
6663 * cus-edit.el (customize-group, custom-buffer-create)
6664 (customize-browse):
6665 * info.el (info):
6666 * shell.el (shell):
6667 * mail/sendmail.el (mail):
6668 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6669
8f098516
RS
66702011-09-22 Richard Stallman <rms@gnu.org>
6671
6672 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6673 move back only to line beg, don't move back over blank lines.
6674
e74f1bb6
MA
66752011-09-22 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * files.el (copy-directory): Set directory attributes only in case
6678 they could be retrieved from the source directory. (Bug#9565)
6679
bfeef8b6
DK
66802011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6681
6682 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6683 (hs-find-block-beginning, hs-hide-level-recursive):
6684 Ignore strings as well as comments. (Bug#9502)
6685
7e423bb8
AS
66862011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6687
6688 * progmodes/sql.el (sql-comint-postgres):
6689 Convert port number to a string. (Bug#9566)
6690
b4d72fcf
MR
66912011-09-22 Martin Rudalics <rudalics@gmx.at>
6692
6693 * window.el (quit-window): Undedicate window when switching to
6694 previous buffer. Reported by Thierry Volpiatto
6695 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6696 (special-display-popup-frame): When popping up a new frame reset
6697 its previous buffers to nil. Simplify code.
b4d72fcf 6698
a7b88dc6
MA
66992011-09-21 Michael Albinus <michael.albinus@gmx.de>
6700
6701 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6702 and process filter, as done also in `shell-command'.
6703
cf4eacfd
MR
67042011-09-21 Martin Rudalics <rudalics@gmx.at>
6705
eca3f3ea 6706 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6707 Call set-window-start with NOFORCE argument t.
6708 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6709 (quit-window): Reword doc-string. Handle new format of
6710 quit-restore parameter. Don't delete window if it has a
6711 previous buffer we can show instead of the present one.
6712 (display-buffer-record-window): Rewrite using a new format for
6713 the quit-restore window parameter
6714 (special-display-popup-frame, display-buffer-same-window)
6715 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6716 (display-buffer-pop-up-window, display-buffer-use-some-window):
6717 Adapt symbol passed to display-buffer-record-window.
6718 * help.el (help-window-setup): Handle new format of quit-restore
6719 parameter.
6720
8d28cb95
SM
67212011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6722
94ab793f
SM
6723 * faces.el (face-list): Fix docstring (bug#9564).
6724
8d28cb95
SM
6725 * window.el (display-buffer--action-function-custom-type):
6726 Don't include internal functions in the Custom interface.
6727
3820edeb
JL
67282011-09-20 Juri Linkov <juri@jurta.org>
6729
6730 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6731 (Info-forward-node, Info-backward-node, Info-next-preorder)
6732 (Info-last-preorder): Use it. (Bug#9528)
6733
5147931d
JL
67342011-09-20 Juri Linkov <juri@jurta.org>
6735
6736 * info.el (Info-last-preorder): Visit last menu item only when
6737 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6738
cf499a1a
JD
67392011-09-20 Julien Danjou <julien@danjou.info>
6740
6741 * password-cache.el (password-cache-remove): Remove entries even if the
6742 value is nil, so that password with a nil value (negative caching) is
6743 possible to invalidate.
6744
f84e2fe2
LM
67452011-09-20 Lawrence Mitchell <wence@gmx.li>
6746
6747 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6748 all whitespace around breakpoint. (Bug#9553)
6749 (f90-find-breakpoint): Only break at whitespace inside a comment.
6750
78054a46
SM
67512011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * minibuffer.el (completion-file-name-table): Keep track of errors.
6754 (completion-table-with-predicate): Handle the case where pred1 is nil.
6755 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6756
345083b2
SM
67572011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6758
e24e27be
SM
6759 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6760 (debugger-return-value): Signal an error if the debugging context does
6761 not await any return value.
6762
345083b2
SM
6763 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6764 * image-mode.el (image-toggle-display-text)
6765 (image-toggle-display-image): Stay away from evil `intangible'.
6766
08d355e3
LL
67672011-09-19 Leo Liu <sdl.web@gmail.com>
6768
6769 * replace.el (occur-revert-arguments): Make it permanent-local.
6770 (occur-mode): Don't call font-lock-defontify.
6771
f01da43f
CY
67722011-09-19 Chong Yidong <cyd@stupidchicken.com>
6773
6774 * net/ldap.el (ldap-search-internal): Don't push empty search
6775 result (Bug#9508).
6776
b6072fa6
SM
67772011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6780
443d6696
MA
67812011-09-19 Michael Albinus <michael.albinus@gmx.de>
6782
6783 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6784 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6785
7cc6e154
JL
67862011-09-18 Juri Linkov <juri@jurta.org>
6787
6788 * buff-menu.el (Buffer-menu-mode-map):
6789 * dired.el (dired-mode-map):
6790 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6791 (lisp-interaction-mode-map):
6792 * emacs-lisp/package.el (package-menu-mode-map):
6793 * epa.el (epa-key-list-mode-map):
6794 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6795 (menu-bar-options-menu):
6796 * outline.el (outline-mode-menu-bar-map):
6797 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6798 * vc/vc-dir.el (vc-dir-menu-map):
6799 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6800 Capitalize non-function content words in menu item strings.
6801
6802 * dired.el (dired-mode-map): Add menu item for
6803 `image-dired-dired-toggle-marked-thumbs'.
6804
80302a81
JL
68052011-09-18 Juri Linkov <juri@jurta.org>
6806
6807 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6808 to `isearch-case-fold-search' and restore its original value
6809 after the `isearch-mode' call.
6810
46c5cf66
JL
68112011-09-18 Juri Linkov <juri@jurta.org>
6812
6813 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6814 because `zgrep' returns 1 for successful matches (bug#9226).
6815
d18b513b
JL
68162011-09-18 Juri Linkov <juri@jurta.org>
6817
6818 * info.el (Info-extract-menu-node-name): Check the second match
6819 for empty string (second test-case of bug#9528).
6820 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6821 intermediate nodes to the history (first test-case of bug#9528).
6822
72753f87
JL
68232011-09-18 Juri Linkov <juri@jurta.org>
6824
6825 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6826 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6827
c9384295
JL
68282011-09-18 Juri Linkov <juri@jurta.org>
6829
1154d12e
JB
6830 * info.el (Info-file-supports-index-cookies):
6831 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6832 outputs one more line for long file names (bug#4142).
c9384295 6833
d473dce8
CY
68342011-09-18 Chong Yidong <cyd@stupidchicken.com>
6835
6836 * newcomment.el (comment-normalize-vars): If prompting for
6837 comment-start, set comment-start-skip too (Bug#8424).
6838
2176854d
JB
68392011-09-18 Johan Bockgård <bojohan@gnu.org>
6840
6841 * icomplete.el: Fix previous fix of Bug#5849.
6842 (icomplete-mode): Don't set completion-show-inline-help.
6843 (icomplete-minibuffer-setup): Set completion-show-inline-help
6844 locally during icompletion.
6845
3aace4e4
CY
68462011-09-18 Chong Yidong <cyd@stupidchicken.com>
6847
c940224f
CY
6848 * woman.el (woman2-process-escapes): Don't delete unrecognized
6849 escapes (Bug#7843).
6850
3aace4e4
CY
6851 * files.el (inhibit-first-line-modes-regexps): Add image files.
6852 (hack-local-variables-prop-line): Return nil for malformed
6853 prop-lines (Bug#9044).
6854
710dec63
MA
68552011-09-18 Michael Albinus <michael.albinus@gmx.de>
6856
6857 * net/tramp.el (top): Don't require 'shell.
6858 (tramp-methods): Fix docstring.
6859 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6860 Return complete remote file name. Handle "smb" case.
6861 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6862 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6863
6864 * net/tramp-compat.el (top): Require 'shell.
6865
6866 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6867 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6868 `tramp-current-host'.
6869 (tramp-get-remote-tmpdir): Remove.
6870
6871 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6872 `tramp-tmpdir' entries.
6873 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6874 (tramp-smb-handle-file-attributes): Ignore errors.
6875 (tramp-smb-wait-for-output): Check also for process end.
6876
5d5ac8ec
LMI
68772011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6878
6879 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6880 when sending QUIT (bug#9312).
6881
8c0f49f0
CY
68822011-09-17 Chong Yidong <cyd@stupidchicken.com>
6883
6884 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6885 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6886 occur-mode-display-occurrence.
6887 (occur-edit-mode): Add usage message.
6888 (occur-cease-edit): New command.
6889 (occur-after-change-function): Use text properties to find the
6890 position of the prefix text.
6891 (occur-engine): Set stickiness of prefix text properties.
6892
8f1383f7
GM
68932011-09-17 Glenn Morris <rgm@gnu.org>
6894
6895 * progmodes/etags.el (complete-tag):
6896 Fix call to completion-in-region. (Bug#9526)
6897
744ba0e3
JL
68982011-09-17 Juri Linkov <juri@jurta.org>
6899
6900 * textmodes/ispell.el (ispell-word): Add to the error message
6901 the word, ispell program name and current dictionary (bug#9121).
6902 (ispell-tex-arg-end): Capitalize "error" in the error message.
6903
d9bbf400
AS
69042011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6905
6906 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6907 check. (Bug#4251)
6908
8da11505
JL
69092011-09-17 Juri Linkov <juri@jurta.org>
6910
6911 * window.el (window-safe-min-height, window-safe-min-width):
6912 Fix typos (followup to bug#9522).
6913
a91adc7e
SJ
69142011-09-17 Sven Joachim <svenjoac@gmx.de>
6915
6916 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6917
064f328a
EZ
69182011-09-16 Eli Zaretskii <eliz@gnu.org>
6919
6920 * simple.el (line-move): If goal-column is set, move by logical
6921 lines, not by display lines. (Bug#971)
6922 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6923 to reflect the above change.
6924
e69df516
SM
69252011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * image.el (imagemagick-register-types): Use regexp-opt.
6928
cbb0f9ab
CY
69292011-09-15 Chong Yidong <cyd@stupidchicken.com>
6930
6931 * window.el (display-buffer-base-action): Rename from
6932 display-buffer-default-action. Make default value empty.
6933 (display-buffer-overriding-action): Convert to defvar.
6934 (display-buffer-fallback-action): New var.
6935
25322144
CY
69362011-09-15 Chong Yidong <cyd@stupidchicken.com>
6937
6938 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6939 declaration.
6940 (package--add-to-archive-contents): If there is a duplicate entry
6941 with an older version, remove it.
6942 (package-menu-mark-delete, package-menu-mark-install)
6943 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6944 (package-menu-mark-obsolete-for-deletion):
6945 Use package-menu-get-status instead of a regexp search.
25322144
CY
6946 (package-menu-get-status): Use tabulated-list-entry.
6947 (package-menu-mark-upgrades): New command.
d770725a 6948 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6949 (package-menu-execute): Do installation before deletion.
6950 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6951 instead of checking major-mode.
6952 (package-menu--find-upgrades): New function.
6953
7520339c
LMI
69542011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6955
6956 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6957 passwords in the log buffer.
65a046c4
LMI
6958 (smtpmail-process-filter): Update the process marker so that the
6959 "broken by peer" status message is inserted in the right place.
7520339c 6960
d3c30954
SM
69612011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6962
3fe48822
SM
6963 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6964 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6965 bibtex-completion-at-point-function.
6966 (bibtex-completion-at-point-function): Use them.
6967
1b8b3954
SM
6968 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6969
d3c30954
SM
6970 * mpc.el (mpc-constraints-tag-lookup): New function.
6971 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6972 also to browser "album|playlist".
6973
72779976
JL
69742011-09-14 Juri Linkov <juri@jurta.org>
6975
6976 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6977 (isearch-edit-string): Use length of `isearch-string' when
6978 `isearch-fail-pos' returns nil.
6979 (isearch-message): Remove duplicate code and call
6980 `isearch-fail-pos' with arg `t'.
6981
a0bf2bcd
CY
69822011-09-14 Chong Yidong <cyd@stupidchicken.com>
6983
17bb0a2d
CY
6984 * replace.el (occur-mode-goto-occurrence): Don't force using other
6985 window (Bug#9499).
6986
a0bf2bcd
CY
6987 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6988
f678e0b6
MR
69892011-09-14 Martin Rudalics <rudalics@gmx.at>
6990
6991 * window.el (display-buffer-window): Remove.
6992 (display-buffer-record-window): Use help-setup window parameter
6993 instead of variable display-buffer-window.
6994 (display-buffer-function, special-display-buffer-names)
6995 (special-display-function): Mention help-setup parameter instead
6996 of display-buffer-window in doc-string.
d3c30954
SM
6997 * help.el (help-window-setup): New argument help-window.
6998 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6999 Reword some messages.
7000 (with-help-window): Pass window used for displaying the buffer
7001 to help-window-setup. Don't set display-buffer-window.
7002
8e39b2e8
GM
70032011-09-13 Glenn Morris <rgm@gnu.org>
7004
7005 * emacs-lisp/debug.el (debugger-make-xrefs):
7006 Preserve point. (Bug#9462)
7007
85e9c04b
CY
70082011-09-13 Chong Yidong <cyd@stupidchicken.com>
7009
7010 * window.el (window-deletable-p): Use next-frame.
7011
1b36ed6a
MR
70122011-09-13 Martin Rudalics <rudalics@gmx.at>
7013
7014 * window.el (window-auto-delete): Remove.
7015 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7016 dedication and previous buffers.
1b36ed6a
MR
7017 (switch-to-prev-buffer): Don't delete window.
7018 (delete-windows-on): Delete a window's frame if and only if the
7019 window is dedicated.
7020 (replace-buffer-in-windows): Delete buffer's window or frame if
7021 and only if window is dedicated.
7022 (quit-window): Handle quit-restore as before last change.
4d61f28d 7023 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7024
ef8ef9fb
CY
70252011-09-13 Chong Yidong <cyd@stupidchicken.com>
7026
7027 * window.el (window-deletable-p): Never delete the last frame on a
7028 given terminal.
7029
b2cba41e
GM
70302011-09-13 Glenn Morris <rgm@gnu.org>
7031
7032 * help.el (describe-key-briefly): Copy previous standard-output change.
7033
51553db6 70342011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7035
7036 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7037
b7556719
GM
70382011-09-13 Glenn Morris <rgm@gnu.org>
7039
7040 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7041 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7042
64b51947
CY
70432011-09-12 Chong Yidong <cyd@stupidchicken.com>
7044
7045 * dired-aux.el (dired-mark-read-string): Don't return default
7046 value on empty input (Bug#9361).
7047 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7048 Omit initial minibuffer contents.
7049 (dired-do-chmod): Signal an error on empty input.
7050 (dired-mark-read-string): Don't return default on empty input.
7051
7052 * files.el (file-modes-symbolic-to-number): Doc fix.
7053
393a301e
SM
70542011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * international/mule-cmds.el (ucs-completions): Remove.
7057 (read-char-by-name): Use complete-with-action instead; add metadata.
7058
fa5660f9
CY
70592011-09-11 Chong Yidong <cyd@stupidchicken.com>
7060
7061 * window.el (display-buffer--action-function-custom-type)
7062 (display-buffer--action-custom-type): New vars.
7063 (display-buffer-alist, display-buffer-default-action)
7064 (display-buffer-overriding-action): Add defcustom types.
7065
4a592f66
CY
7066 * frame.el (delete-other-frames): Doc fix (Bug#276).
7067
73d56dbd
LMI
70682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069
7070 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7071
37ac18a3
CY
70722011-09-11 Chong Yidong <cyd@stupidchicken.com>
7073
7074 Change modes that used same-window-* vars to use switch-to-buffer.
7075
7076 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7077 Use switch-to-buffer.
7078
7079 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7080 (customize-browse, custom-buffer-create-other-window):
7081 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7082
7083 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7084 (Info-prev, Info-up, Info-speedbar-goto-node)
7085 (info-display-manual): Use switch-to-buffer.
7086 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7087
7088 * mail/sendmail.el (mail): Use switch-to-buffer.
7089 (mail-recover): Use switch-to-buffer-other-window.
7090
7091 * cmuscheme.el (run-scheme, switch-to-scheme):
7092 * ielm.el (ielm):
7093 * shell.el (shell):
7094 * net/rlogin.el (rlogin):
7095 * net/telnet.el (telnet, rsh):
7096 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7097
10195bd6
AS
70982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7099
7100 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7101
b322f63a
LMI
71022011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103
39d7fed6
LMI
7104 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7105 so don't mention it (bug#9301).
ba5a81f1 7106 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7107
ee0e9f11
LMI
7108 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7109 match `x', `w32' and `ns', like the manual says (bug#9029).
7110
0b1c89c1 7111 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7112 (process-kill-buffer-query-function): Mention the buffer name in
7113 the query.
0b1c89c1 7114
77549ea8
LMI
7115 * image-mode.el (image-next-line): The line parameter is mandatory
7116 (bug#9258).
7117
803ef892
LMI
7118 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7119 which can be useful (bug#9301).
7120
12980837
LMI
7121 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7122
91054f8f
LMI
7123 * subr.el (match-string): Mention that the current buffer should
7124 be the same as the search was done in (bug#9282).
7125
b322f63a
LMI
7126 * facemenu.el: Disable the remove-* commands if the mark isn't
7127 active (bug#9162).
7128
3199b96f
CY
71292011-09-10 Chong Yidong <cyd@stupidchicken.com>
7130
7131 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7132 of display-buffer.
7133 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7134
7135 * replace.el (occur-mode-goto-occurrence)
7136 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7137 and display-buffer.
7138
7139 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7140 display-buffer.
7141
7142 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7143 special-display and same-window variables.
7144 (mail-other-window): Use switch-to-buffer-other-window.
7145 (mail-other-frame): USe switch-to-buffer-other-frame.
7146
393a301e
SM
7147 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7148 Use display-buffer-other-frame.
3199b96f
CY
7149 (gdb-display-gdb-buffer): Use pop-to-buffer.
7150
7151 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7152
7153 * progmodes/python.el: Don't set same-window-buffer-names.
7154
7155 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7156
7157 * window.el (display-buffer-alist): Add *Python*.
7158
8319e0bf
CY
71592011-09-10 Chong Yidong <cyd@stupidchicken.com>
7160
7161 * window.el (display-buffer-alist): Add entry for buffers
7162 previously handled same-window-*.
7163 (display-buffer-alist, display-buffer-default-action)
7164 (display-buffer-overriding-action): Mark as risky.
7165 (display-buffer-alist): Document action function changes.
7166 (display-buffer--same-window-action)
7167 (display-buffer--other-frame-action): New variables.
7168 (switch-to-buffer, display-buffer-other-frame): Use them.
7169 (display-buffer): Rename reuse-frame entry to reusable-frames.
7170 (display-buffer-reuse-selected-window): Function deleted.
7171 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7172 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7173 (display-buffer-special): New function.
7174 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7175 display-buffer-reuse-or-pop-window. Split off special-display
7176 part into display-buffer-special.
7177 (display-buffer-use-some-window): Don't perform any special
7178 pop-up-frames handling.
7179 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7180 (display-buffer--maybe-same-window): Rename from
0d3ff375 7181 display-buffer-maybe-same-window.
8319e0bf 7182
919a69aa
CY
7183 * info.el: Don't set same-window-regexps.
7184 (info-setup): New function.
7185 (info-other-window, info): Call it.
7186
7187 * cus-edit.el: Don't set same-window-regexps.
7188 (customize-group): New argument.
7189 (customize-group-other-window): Use it.
7190 (customize-face, customize-face-other-window): Likewise.
7191 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7192
8319e0bf
CY
7193 * net/rlogin.el:
7194 * net/telnet.el:
7195 * progmodes/gud.el: Don't set same-window-regexps.
7196
7197 * cmuscheme.el:
7198 * ielm.el:
7199 * shell.el:
7200 * mail/sendmail.el:
7201 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7202
25173000
JL
72032011-09-10 Juri Linkov <juri@jurta.org>
7204
7205 * isearch.el (isearch-edit-string): Remove obsolete mention of
7206 `C-w' (`isearch-yank-word-or-char') from docstring.
7207 (isearch-query-replace): Fix typo in docstring (bug#9466).
7208
056e44ef
JL
72092011-09-10 Juri Linkov <juri@jurta.org>
7210
7211 * paren.el (show-paren-function): Don't show escaped parens.
7212 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7213
c3760c17
EZ
72142011-09-10 Eli Zaretskii <eliz@gnu.org>
7215
7216 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7217 (mm-default-file-encoding): Remove autoload forms, they are
7218 replaced with autoload cookies in mml.el and mm-encode.el.
7219 (mail-add-attachment): New command.
7220 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7221 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7222 the doc string.
7223 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7224
fece895e
RT
72252011-09-10 Reuben Thomas <rrt@sc3d.org>
7226
e69df516
SM
7227 * simple.el (count-words-region): Use buffer if there's no region
7228 (bug#9429).
fece895e 7229
5e68ce4a
JL
72302011-09-09 Juri Linkov <juri@jurta.org>
7231
7232 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7233 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7234 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7235
0a6b9622
AM
72362011-09-09 Alan Mackenzie <acm@muc.de>
7237
7238 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7239 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7240
14a29deb
EZ
72412011-09-09 Eli Zaretskii <eliz@gnu.org>
7242
7243 Fix for Savannah bug#9392.
7244 * simple.el (mail-encode-mml): New defvar.
7245
7246 * mail/rmail.el (mail-encode-mml): Add a defvar.
7247 (rmail-enable-mime-composing): Default to t.
7248 (rmail-forward): Use MIME method of forwarding only if both
7249 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7250 Set mail-encode-mml non-nil if the MIME method was used.
7251
7252 * mail/sendmail.el (mml-to-mime): Add autoload form.
7253 (mail-encode-mml): Add a defvar.
7254 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7255 to nil.
7256 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7257 message through mml-to-mime, and reset mail-encode-mml to nil.
7258
28c45130
GM
72592011-09-09 Glenn Morris <rgm@gnu.org>
7260
7261 * woman.el (woman-if-body): When processing an .el block,
7262 do not delete the next .el block as well. (Bug#9447)
69f4b618 7263 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7264
9b1c252e
MR
72652011-09-08 Martin Rudalics <rudalics@gmx.at>
7266
7267 * window.el (window-deletable-p): Make sure window is live before
7268 invoking window-prev-buffers.
7269
567457e3
LL
72702011-09-08 Leo Liu <sdl.web@gmail.com>
7271
7272 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7273
97f05794
JL
72742011-09-08 Juri Linkov <juri@jurta.org>
7275
7276 * progmodes/compile.el (compilation-environment): Make it
7277 a defcustom (bug#8340).
7278
8b0874b5
MR
72792011-09-08 Martin Rudalics <rudalics@gmx.at>
7280
7281 * window.el (frame-auto-delete): Rename to window-auto-delete.
7282 Make it control auto-deletion of windows and/or frames.
7283 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7284 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7285 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7286 Rewrite handling of case when window/frame can be deleted.
7287 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7288 argument t. (Bug#9456)
8b0874b5 7289
4feb6e73
CY
72902011-09-07 Chong Yidong <cyd@stupidchicken.com>
7291
7292 * help-mode.el (help-mode): Restore autoload.
7293
91ab9c13
JL
72942011-09-07 Juri Linkov <juri@jurta.org>
7295
7296 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7297 `compilation-environment'. Set buffer-local
7298 `compilation-environment' to `thisenv' later after (funcall mode).
7299 (Bug#8340)
7300
7301 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7302 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7303 instead of replacing its value. (Bug#8340)
7304
0527e251
JL
73052011-09-07 Juri Linkov <juri@jurta.org>
7306
7307 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7308 based on text properties put by `grep-filter' instead of matching
7309 escape sequences.
7310 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7311 to the value of `grep-error-screen-columns' (bug#9438).
7312
249f792c
JL
73132011-09-07 Juri Linkov <juri@jurta.org>
7314
7315 * simple.el (next-error-highlight, next-error-highlight-no-select):
7316 Doc fix (bug#9432).
7317
ff7271b9
OT
73182011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7319
7320 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7321 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7322
183fc730
LL
73232011-09-07 Leo Liu <sdl.web@gmail.com>
7324
7325 * net/rcirc.el (rcirc-mode): Conditionally initialize
7326 rcirc-input-ring.
7327
77694924
SM
73282011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * emacs-lisp/find-func.el (find-function-C-source): Only set
7331 find-function-C-source-directory after checking that we found a source
7332 file there (bug#9440).
7333
d809b8eb
AM
73342011-09-06 Alan Mackenzie <acm@muc.de>
7335
7336 * isearch.el (isearch-other-meta-char): Wherever a key list is
7337 unread, "unread" the prefix arg, too. This fixes bug #8901.
7338
453de99f
OG
73392011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7340
7341 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7342
90439906
JL
73432011-09-05 Juri Linkov <juri@jurta.org>
7344
7345 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7346
f62bd846
JL
73472011-09-05 Juri Linkov <juri@jurta.org>
7348
7349 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7350 keeping point where processing of grep matches begins, and
7351 continue to delete remaining escape sequences from the same point.
7352 (grep-filter): Make leading zero optional in "0?1;31m" because
7353 git-grep emits "\033[1;31m" escape sequences unlike expected
7354 "\033[01;31m" as GNU Grep does (bug#9408).
7355 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7356
045820ec
JL
73572011-09-05 Juri Linkov <juri@jurta.org>
7358
7359 * subr.el (y-or-n-p): Capitalize "yes".
7360
f5e29b9b
MA
73612011-09-04 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7364 `tramp-cache-unload-hook' where appropriate.
7365 (tramp-methods): Rename `tramp-remote-sh' to
7366 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7367 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7368
7369 * net/tramp-sh.el (top): Don't require 'shell.
7370 (tramp-methods): Add `tramp-remote-shell' and
7371 `tramp-remote-shell-args' entries.
7372 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7373 (tramp-sh-handle-shell-command): Remove.
7374 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7375 Use `tramp-remote-shell'.
7376
2784c434
CY
73772011-09-03 Chong Yidong <cyd@stupidchicken.com>
7378
393a301e 7379 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7380 (sendmail-query-once): Save directly to send-mail-function.
7381 Update message-send-mail-function too.
7382
7383 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7384
464cdf56
CS
73852011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7386
7387 * progmodes/python.el (python-mode-map): Use correct function to
7388 start python interpreter from menu-bar (as reported by Geert
7389 Kloosterman).
7390 (inferior-python-mode-map): Fix typo.
393a301e 7391 (python-shell-map): Remove.
464cdf56 7392
d37e5c87
DD
73932011-09-03 Deniz Dogan <deniz@dogan.se>
7394
7395 * net/rcirc.el (rcirc-print): Simplify code for
7396 rcirc-scroll-show-maximum-output. There is no need to walk
7397 through all windows to find the right one.
7398
f3ada0ee
CS
73992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7400
7401 * help.el (help-return-method): Doc fix.
7402
1f3c99ca
MR
74032011-09-03 Martin Rudalics <rudalics@gmx.at>
7404
7405 * window.el (window-deletable-p): Don't return a non-nil value
7406 when there's a buffer that was shown in the window before.
7407 (Bug#9419)
393a301e
SM
7408 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7409 Set window's previous buffers to nil.
1f3c99ca 7410
a3cf097f
EZ
74112011-09-03 Eli Zaretskii <eliz@gnu.org>
7412
7413 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7414 newline before and after the tag line, so it doesn't interfere
7415 with determining the paragraph direction of bidirectional text.
7416
3d03de90
LL
74172011-09-03 Leo Liu <sdl.web@gmail.com>
7418
7419 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7420
c3313451
CY
74212011-09-02 Chong Yidong <cyd@stupidchicken.com>
7422
393a301e 7423 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7424 (pop-to-buffer): Change interactive spec. Pass second argument
7425 directly to display-buffer.
7426 (display-buffer): Fix interactive spec. Use functionp to
7427 distinguish between a function and a list of functions.
7428
7429 * abbrev.el (edit-abbrevs):
7430 * arc-mode.el (archive-extract):
7431 * autoinsert.el (auto-insert):
7432 * bookmark.el (bookmark-bmenu-list):
7433 * files.el (find-file):
7434 * view.el (view-buffer):
7435 * progmodes/compile.el (compilation-goto-locus):
7436 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7437
89894cd8
CY
74382011-09-02 Chong Yidong <cyd@stupidchicken.com>
7439
7440 * window.el (display-buffer-alist): Doc fix.
7441 (display-buffer): Add docstring. Don't treat
7442 display-buffer-default specially.
7443 (display-buffer-reuse-selected-window)
7444 (display-buffer-same-window, display-buffer-maybe-same-window)
7445 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7446 (display-buffer-pop-up-window)
7447 (display-buffer-reuse-or-pop-window)
7448 (display-buffer-use-some-window): New functions.
7449 (display-buffer-default-action): Use them.
393a301e 7450 (display-buffer-default): Delete.
89894cd8
CY
7451 (pop-to-buffer-1): Fix choice of actions.
7452
ae0bc9fb
SM
74532011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * minibuffer.el (completion--insert-strings): Don't get confused by
7456 completion entries that end with an LF char.
7457
e9d90883
EZ
74582011-09-01 Eli Zaretskii <eliz@gnu.org>
7459
7460 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7461
437014c8
CY
74622011-09-01 Chong Yidong <cyd@stupidchicken.com>
7463
7464 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7465 (display-buffer-same-window, display-buffer-other-window):
7466 New functions.
437014c8
CY
7467 (pop-to-buffer-1): New function. Use the above.
7468 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7469 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7470
7471 * view.el (view-buffer-other-window, view-buffer-other-frame):
7472 Just use pop-to-buffer.
7473
a5e063d5
TV
74742011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7475
7476 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7477
793d32bb
WH
74782011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7479
7480 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7481
d65e4c15
RS
74822011-08-31 Richard Stallman <rms@gnu.org>
7483
7484 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7485 of the separation of rmail-view-buffer from rmail-buffer.
7486 If you say no to "replace original", the decrypt is in the
7487 view buffer. If you say yes, the decrypt goes into the
7488 rmail buffer also.
7489
f818cd2a
MR
74902011-08-31 Martin Rudalics <rudalics@gmx.at>
7491
7492 * window.el (display-buffer-window): Rewrite doc-string.
7493 (display-buffer-record-window): New function.
7494 (display-buffer-macro-specifiers)
7495 (display-buffer-even-window-sizes, display-buffer-set-height)
7496 (display-buffer-set-width, display-buffer-in-window)
7497 (display-buffer-reuse-window, display-buffer-split-specifiers)
7498 (display-buffer-side-specifiers, display-buffer-split-window-1)
7499 (display-buffer-split-window, display-buffer-split-atom-window)
7500 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7501 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7502 (display-buffer-other-window-means-other-frame)
7503 (display-buffer-normalize-special)
7504 (display-buffer-normalize-default)
7505 (display-buffer-normalize-argument)
7506 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7507 (display-buffer-normalize-specifiers, display-buffer-frame)
7508 (display-buffer-same-window, display-buffer-same-frame)
7509 (display-buffer-other-window)
7510 (display-buffer-same-frame-other-window)
7511 (display-buffer-other-frame, pop-to-buffer-same-window)
7512 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7513 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7514 (switch-to-buffer-same-frame)
7515 (switch-to-buffer-other-window-same-frame)
7516 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7517 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7518 (display-buffer-alist-set): Remove.
7519 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7520 (special-display-regexps, special-display-function):
7521 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7522 parameter.
7523 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7524 (special-display-frame-alist, special-display-popup-frame)
7525 (same-window-buffer-names, same-window-regexps, same-window-p)
7526 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7527 (split-window-preferred-function, split-height-threshold)
7528 (split-width-threshold, window-splittable-p)
7529 (split-window-sensibly, window--try-to-split-window)
7530 (window--frame-usable-p, even-window-heights)
7531 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7532 (window--display-buffer-2, display-buffer-other-frame):
7533 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7534 (display-buffer-default, display-buffer-assq-regexp): New functions.
7535 (display-buffer-alist): Rewrite doc-string.
7536 (display-buffer-default-action)
7537 (display-buffer-overriding-action): New variables.
7538 (display-buffer, switch-to-buffer): Rewrite.
7539 (pop-to-buffer): Restore Emacs 23 behavior but use
7540 window-normalize-buffer-to-display.
7541 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7542 Restore Emacs 23 behavior but use
7543 window-normalize-buffer-to-switch-to.
7544 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7545 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7546 Rewrite using Emacs 23 options.
f818cd2a 7547
5bc3b51d
MA
75482011-08-31 Michael Albinus <michael.albinus@gmx.de>
7549
7550 * net/tramp.el (tramp-root-regexp): Remove.
7551 (tramp-completion-file-name-regexp-unified)
7552 (tramp-completion-file-name-regexp-separate)
7553 (tramp-completion-file-name-regexp-url): Don't use leading volume
7554 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7555 (tramp-drop-volume-letter): Simplify definition.
7556 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7557
b1a4f8e1
SM
75582011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7561 (bug#9356).
7562
5664fa7b
RT
75632011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7564
b1a4f8e1 7565 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7566
9a45d6c3
JL
75672011-08-29 Juri Linkov <juri@jurta.org>
7568
7569 * isearch.el (isearch-done): Don't display message "Mark saved"
7570 when arg `edit' is non-nil to prevent its flicker in the echo area.
7571
fb87e0fb
CY
75722011-08-28 Chong Yidong <cyd@stupidchicken.com>
7573
7574 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7575 obsolete packages for deletion.
7576
09ac1c2a
CS
75772011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7578
7579 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7580 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7581 view-mode from help-mode.
7582 (help-xref-override-view-map): Remove.
7583 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7584 view-mode is not used anymore.
7585
7a1ff57f
CY
75862011-08-28 Chong Yidong <cyd@stupidchicken.com>
7587
7588 * server.el (server-port): Doc fix.
7589
b9696605
CY
7590 * cus-theme.el (custom-theme-choose-mode): Inherit from
7591 special-mode (Bug#9124).
7592 (custom-theme-choose-mode-map): Add special-mode to parent.
7593
ef8cdf8c
AM
75942011-08-28 Alan Mackenzie <acm@muc.de>
7595
7596 * progmodes/cc-fonts.el
7597 (c-make-font-lock-BO-decl-search-function): New function.
7598 (c-basic-matchers-after - "Fontify the clauses after various
7599 keywords"): Extract the three keyword lists for the 3 erroneous
7600 constructs from the list of four, and use the new function above
7601 in place of an old one.
7602
27de4e20
DD
76032011-08-28 Deniz Dogan <deniz@dogan.se>
7604
7605 * net/rcirc.el (rcirc-insert-prev-input)
7606 (rcirc-insert-next-input): Remove unused argument.
7607
356a3681
SM
76082011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7611
3fc9b218
AM
76122011-08-27 Alan Mackenzie <acm@muc.de>
7613
7614 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7615 handle function pointer parameters properly.
7616
538a061c
MR
76172011-08-27 Martin Rudalics <rudalics@gmx.at>
7618
7619 * window.el (display-buffer-reuse-window): Fix case where
7620 selected window was reused with non-nil OTHER-WINDOW argument.
7621 (Bug#9381)
7622
35b1c40c
DD
76232011-08-27 Deniz Dogan <deniz@dogan.se>
7624
7625 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7626 oftc's NickServ messages.
7627
2f6a3e79
GM
76282011-08-27 Glenn Morris <rgm@gnu.org>
7629
7630 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7631
7254299e
CY
76322011-08-26 Chong Yidong <cyd@stupidchicken.com>
7633
7634 * emacs-lisp/package.el (package-install): Call package-initialize
7635 if called interactively.
7636
f8ccf167
LL
76372011-08-26 Leo Liu <sdl.web@gmail.com>
7638
7639 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7640
3e8cd5ce
JL
76412011-08-25 Juri Linkov <juri@jurta.org>
7642
7643 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7644 `search-whitespace-regexp' (bug#9364).
7645
93eb7113
JL
76462011-08-25 Juri Linkov <juri@jurta.org>
7647
7648 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7649 `regexp-search-ring' to their global values to protect from
7650 updating by `read-from-minibuffer' (bug#9185).
7651
f65d1611
JL
76522011-08-25 Juri Linkov <juri@jurta.org>
7653
7654 * textmodes/ispell.el (ispell-command-loop): Add newline
7655 at the end of the "Use option `i'..." line.
7656
f1cf7a31
JL
76572011-08-25 Juri Linkov <juri@jurta.org>
7658
7659 * battery.el (display-battery-mode): If `battery-status-function'
7660 or `battery-mode-line-format' is nil, display the message and set
7661 `display-battery-mode' to nil (bug#9363).
7662
0c95fcf7
EZ
76632011-08-25 Eli Zaretskii <eliz@gnu.org>
7664
7665 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7666 bidi-string-mark-left-to-right; they are unnecessary now.
7667
a2ebe600
DD
76682011-08-25 Deniz Dogan <deniz@dogan.se>
7669
7670 * net/quickurl.el: Documentation typo fixes.
7671
e4ed06f1
CY
76722011-08-25 Chong Yidong <cyd@stupidchicken.com>
7673
7674 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7675
e5f1c99e
GM
76762011-08-25 Glenn Morris <rgm@gnu.org>
7677
b2948976
GM
7678 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7679
e5f1c99e
GM
7680 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7681 (smtpmail-via-smtp): Handle nil response from smtp.
7682
f22f4808
JL
76832011-08-24 Juri Linkov <juri@jurta.org>
7684
7685 * proced.el (proced-marked): Inherit from `error' instead of
7686 `font-lock-warning-face'.
7687
7688 * ibuffer.el (ibuffer-marked-face): Change default face from
7689 `font-lock-warning-face' to `warning'.
7690 (ibuffer-deletion-face): Change default face from
7691 `font-lock-type-face' to `error'.
7692
7693 * battery.el (battery-update): Use the face `error' instead of
7694 `font-lock-warning-face' (bug#6117).
7695
6a93965e
JL
76962011-08-24 Juri Linkov <juri@jurta.org>
7697
7698 * faces.el (success): Change face color from "Green3" to
7699 "ForestGreen" on light background (bug#9353).
7700
1ed43b09
CY
77012011-08-24 Chong Yidong <cyd@stupidchicken.com>
7702
5664fa7b
RT
7703 * window.el (quit-window): Rename from quit-restore-window.
7704 Use same arglist as old quit-window.
1ed43b09
CY
7705 (frame-auto-delete): Doc fix.
7706
7707 * view.el (view-mode-exit): Use quit-window.
7708
11dcdbb2
JL
77092011-08-24 Juri Linkov <juri@jurta.org>
7710
7711 * isearch.el (isearch-ring-adjust1): Start visiting previous
7712 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7713 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7714 for empty search string (when the last search string is reused
7715 automatically) to adjust the isearch ring to the last element and
7716 prepare the correct index for further M-p commands (bug#9185).
7717
de62b4df
KH
77182011-08-24 Kenichi Handa <handa@m17n.org>
7719
7720 * international/ucs-normalize.el: If decomposition property of
7721 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7722 nil.
7723 (nfd, nfkd): Likewise.
7724
963b492b
SM
77252011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7728 from process filters aren't reliably transmitted to the surrounding
7729 accept-process-output.
7730 (mpc-proc-check): New function.
7731 (mpc-proc-sync): Use it (bug#8293)
7732
93b6b5e1
SM
77332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7736 Add compatibility functions (bug#9313).
7737
bca633fb
EZ
77382011-08-23 Eli Zaretskii <eliz@gnu.org>
7739
b177498a
EZ
7740 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7741
6df6ae42 7742 * international/uni-bidi.el: Regenerate.
bca633fb 7743
0902a04e
KH
77442011-08-23 Kenichi Handa <handa@m17n.org>
7745
7746 * international/charprop.el:
7747 * international/uni-bidi.el:
7748 * international/uni-category.el:
7749 * international/uni-combining.el:
7750 * international/uni-comment.el:
7751 * international/uni-decimal.el:
7752 * international/uni-decomposition.el:
7753 * international/uni-digit.el:
7754 * international/uni-lowercase.el:
7755 * international/uni-mirrored.el:
7756 * international/uni-name.el:
7757 * international/uni-numeric.el:
7758 * international/uni-old-name.el:
7759 * international/uni-titlecase.el:
7760 * international/uni-uppercase.el: Regenerate.
7761
3bbf23bc
MR
77622011-08-23 Martin Rudalics <rudalics@gmx.at>
7763
7764 * help.el (help-window-setup): Fix message displayed when other
7765 window is reused. (Bug#9341)
7766
b3fd59bd
SM
77672011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7768
1802e444
SM
7769 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7770 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7771
b3fd59bd
SM
7772 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7773 Mark obsolete.
7774 * shell.el (shell-parse-pcomplete-arguments): New function.
7775 (shell-completion-vars): Use it instead (bug#9160).
7776
4eb61348
SM
77772011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7778
867cab74
SM
7779 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7780 strings and comments (bug#9333).
7781
4eb61348
SM
7782 * emacs-lisp/debug.el (debug-arglist): New function.
7783 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7784 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7785
262a1439
JL
77862011-08-22 Juri Linkov <juri@jurta.org>
7787
56ee679c
JL
7788 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7789 Revert regexp that highlights output switches to its old
7790 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7791
262a1439
JL
7792 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7793 to check for empty output (bug#9226).
7794
f13f86fb
CY
77952011-08-22 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7798 symbol-constituent as the default, as that stops font-lock from
7799 working properly (Bug#8843).
7800
c65c9622
LMI
78012011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
7803 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7804 `coding-system-for-*' around the process open call to avoid
7805 auth-source side effects.
e7f2c178 7806 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7807 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7808 probe hangs.
c65c9622 7809
23a8a5ab
CY
78102011-08-21 Chong Yidong <cyd@stupidchicken.com>
7811
ff98b2dd
CY
7812 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7813
23a8a5ab
CY
7814 * emacs-lisp/find-func.el (find-function-noselect): New arg
7815 lisp-only.
7816
7817 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7818 signal an error for built-in functions (Bug#6664).
7819
f5e3c598
LMI
78202011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7821
7822 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7823 (smtpmail-try-auth-methods): Use it.
7824
a3f2468a
CY
78252011-08-21 Chong Yidong <cyd@stupidchicken.com>
7826
2c34e8da
CY
7827 * font-lock.el (font-lock-fontify-region)
7828 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7829 (font-lock-default-unfontify-buffer)
7830 (font-lock-default-fontify-region)
7831 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7832
b3fd59bd
SM
7833 * progmodes/compile.el (compilation-error-properties):
7834 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7835 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7836 `ant' regexp.
ee31aabc 7837
a3f2468a
CY
7838 * net/browse-url.el (browse-url-firefox): Don't call
7839 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7840
8e999f70
GM
78412011-08-20 Glenn Morris <rgm@gnu.org>
7842
c21a496a
GM
7843 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7844
59ee0542
GM
7845 * tutorial.el (tutorial--default-keys): Update some default bindings.
7846
8e999f70
GM
7847 * files.el (hack-local-variables): Fully ignore case for "mode:".
7848
e3715033
AM
78492011-08-20 Alan Mackenzie <acm@muc.de>
7850
7851 Resolve invalid use of a regexp in regexp-opt.
7852
4d61f28d
JB
7853 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7854 detection for a java annotation.
e3715033 7855
4d61f28d 7856 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7857 detection for a java annotation.
7858
4d61f28d
JB
7859 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7860 handling for java.
e3715033
AM
7861 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7862
04ed2e9c
CY
78632011-08-20 Chong Yidong <cyd@stupidchicken.com>
7864
7865 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7866 (Bug#9274).
7867
826cee64
AM
78682011-08-20 Alan Mackenzie <acm@muc.de>
7869
58179cce 7870 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7871 such a construct. Mainly for when jit-lock etc. starts a chunk
7872 here.
7873
58179cce 7874 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7875 variable.
58179cce 7876 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7877 c-make-font-lock-search-function.
7878 (c-make-font-lock-search-function): Use the above function.
7879 (c-make-font-lock-context-search-function): New function.
7880 (c-cpp-matchers): Enhance the preprocessor expression case with
7881 the above function
7882 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7883 which takes an expression.
7884
7885 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7886
13009bd8
MR
78872011-08-20 Martin Rudalics <rudalics@gmx.at>
7888
7889 * window.el (display-buffer-reuse-window)
7890 (display-buffer-pop-up-window): Don't reuse or split a side
7891 window.
7892
9234ff7f
GM
78932011-08-19 Glenn Morris <rgm@gnu.org>
7894
7895 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7896 Downcase "Mode:". (Bug#9331)
9234ff7f 7897
f635daa1
CY
78982011-08-18 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * international/characters.el: Add L and R categories.
7901
7902 * subr.el (bidi-string-mark-left-to-right): Rename from
7903 string-mark-left-to-right. Use category search.
7904
7905 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7906
bc987f8b
JL
79072011-08-18 Juri Linkov <juri@jurta.org>
7908
7909 * faces.el (error, warning, success): New faces with definitions
7910 copied from old default values of `font-lock-warning-face',
7911 `compilation-warning', `compilation-info' (bug#6117).
7912
7913 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7914
7915 * progmodes/compile.el (compilation-error): Inherit from `error'.
7916 (compilation-warning): Inherit from `warning'.
7917 (compilation-info): Inherit from `success'.
7918
7919 * dired.el (dired-marked): Inherit from `warning'.
7920 (dired-flagged): Inherit from `error'.
7921
57173b96
LMI
79222011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7923
3e79eb87
LMI
7924 * mail/smtpmail.el (auth-source): Require to avoid problems with
7925 binding variables (bug#9298). Also clean up some unused
7926 autoloads.
7927
b3fd59bd
SM
7928 * net/network-stream.el (network-stream-open-starttls):
7929 Support using starttls.el without using gnutls-cli.
57173b96 7930
02b404de
JL
79312011-08-17 Juri Linkov <juri@jurta.org>
7932
7933 * progmodes/grep.el (rgrep): Handle the case when
7934 `grep-find-command' is a cons cell (bug#9278).
7935
8c9177f2
MR
79362011-08-17 Martin Rudalics <rudalics@gmx.at>
7937
7938 * window.el (display-buffer-pop-up-frame): Run frame creation
7939 function with BUFFER current (as special-display-popup-frame
7940 does). Reported by Drew Adams.
7941
3644a0ab
DU
79422011-08-17 Daiki Ueno <ueno@unixuser.org>
7943
7944 * epa-mail.el: Simplify GnuPG group expansion using
7945 epg-expand-group.
7946 (epa-mail-group-alist, epa-mail-group-modtime)
7947 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7948 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7949 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7950 Remove.
7951
5e617bc2 79522011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7953
7954 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7955
9c4aeabf
AM
79562011-08-16 Alan Mackenzie <acm@muc.de>
7957
7958 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7959 Correct, to avoid the inside of macros.
7960
3a99bf64
RS
79612011-08-16 Richard Stallman <rms@gnu.org>
7962
04963aa8
RS
7963 * epa-mail.el: Handle GnuPG group definitions.
7964 (epa-mail-group-alist, epa-mail-group-modtime)
7965 (epa-mail-gnupg-conf-file): New variables.
7966 (epa-mail-parse-groups, epa-mail-sync-groups)
7967 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7968 (epa-mail-expand-recipients): New functions.
7969 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7970
177549d0
RS
7971 * mail/rmail.el (rmail-epa-decrypt): New command.
7972
fe38beef
RS
7973 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7974 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7975 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7976 (epa-decrypt-armor-in-region): Make error message clearer.
7977
934eacb9
SM
79782011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7981 and "a2b" to "ab" for `prefix'.
7982
d024fb4e
CY
79832011-08-14 Chong Yidong <cyd@stupidchicken.com>
7984
7985 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7986 filter groups.
de148fee
CY
7987 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7988 Fourquet (Bug#8804).
d024fb4e 7989
62f1ca49
JB
79902011-08-12 Juanma Barranquero <lekktu@gmail.com>
7991
7992 * startup.el (argi): Declare as global variable (bug#9275).
7993
9ccaaa4b
CY
79942011-08-12 Chong Yidong <cyd@stupidchicken.com>
7995
7996 * subr.el (string-mark-left-to-right): Search the entire string
7997 for RTL script, not just the terminating character. Doc fix.
7998
a3dae87a
SM
79992011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8000
6cd18349
SM
8001 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8002 New function.
8003 (js--regexp-literal, js-syntax-propertize-function): Remove.
8004 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8005 (js-mode-map): Don't rebind electric keys.
8006 (js-insert-and-indent): Remove.
8007 (js-mode): Setup electric-layout and electric-indent instead.
8008
a3dae87a
SM
8009 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8010
9d5cb631
DU
80112011-08-12 Daiki Ueno <ueno@unixuser.org>
8012
8013 * epa.el (epa-progress-callback-function): Fix the logic of
8014 displaying progress.
8015 * epa-file.el (epa-file-insert-file-contents): Make progress
8016 display more user-friendly.
8017 (epa-file-write-region): Ditto.
8018
3e26a4a2
CY
80192011-08-10 Chong Yidong <cyd@stupidchicken.com>
8020
8021 * subr.el (string-mark-left-to-right): New function.
8022
8023 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8024 Use string-mark-left-to-right.
8025 (list-buffers-noselect): Caller changed.
8026
a3dae87a
SM
8027 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8028 Use string-mark-left-to-right.
3e26a4a2
CY
8029 (tabulated-list-print): Recenter after moving point.
8030
ac8cf6e6
JL
80312011-08-10 Juri Linkov <juri@jurta.org>
8032
8033 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8034 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8035 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8036
8d96c9a4
CY
80372011-08-09 Chong Yidong <cyd@stupidchicken.com>
8038
8039 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8040 (Bug#7554).
8041
7be1c708 80422011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8043
8044 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8045 character. (Bug#6594)
8046
37e11a63
CY
80472011-08-08 Chong Yidong <cyd@stupidchicken.com>
8048
839dde57
CY
8049 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8050 (image-dired--with-db-file): New macro.
8051 (image-dired-write-tags, image-dired-remove-tag)
8052 (image-dired-create-gallery-lists, image-dired-write-comments)
8053 (image-dired-get-comment, image-dired-mark-tagged-files)
8054 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8055 (image-dired-gallery-generate): Use insert-file-contents.
8056
37e11a63
CY
8057 * time.el (display-time-world-list, display-time-world-display):
8058 * time-stamp.el (time-stamp-string):
8059 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8060 set-time-zone-rule (Bug#7337).
8061
0b4946c4
DU
80622011-08-08 Daiki Ueno <ueno@unixuser.org>
8063
8064 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8065 (epg-error-to-string, epg-errors-to-string): New function.
8066 (epg-wait-for-completion): Reverse errors list.
8067 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8068 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8069 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8070 (epg-sign-keys, epg-generate-key-from-file)
8071 (epg-generate-key-from-string): Format errors by using
8072 epg-errors-to-string (bug#9255).
8073 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8074
75bfc667
JL
80752011-08-07 Juri Linkov <juri@jurta.org>
8076
8077 * faces.el (list-faces-display): Remove extra angle bracket
8078 from `help-mode-map'.
8079
8080 * info.el (Info-history-toc-nodes): Doc fix.
8081
8082 * longlines.el (longlines-mode): Doc fix.
8083
673e08bb
SM
80842011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8085
4640dd88
SM
8086 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8087 of statements and in a few more cases (bug#9183).
8088
673e08bb
SM
8089 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8090 New functions.
8091 (cl-transform-lambda): Use them (bug#9239).
8092
89b3f019
MR
80932011-08-05 Martin Rudalics <rudalics@gmx.at>
8094
8095 * window.el (display-buffer-same-window)
8096 (display-buffer-same-frame, display-buffer-other-window)
8097 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8098 (pop-to-buffer-other-window)
8099 (pop-to-buffer-same-frame-other-window)
8100 (pop-to-buffer-other-frame): Make them defuns.
8101 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8102
640c8776
SM
81032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * subr.el (make-composed-keymap): Move from C. Change calling
8106 convention, and improve docstring to bring attention to a subtle point.
8107 * minibuffer.el (completing-read-default): Adjust accordingly.
8108
63648a95
MA
81092011-08-03 Michael Albinus <michael.albinus@gmx.de>
8110
8111 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8112 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8113
8114 * net/trampver.el: Update release number.
8115
b796c9b7
SM
81162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8119 "in" (bug#9190).
8120
2239d7d5
LMI
81212011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8122
e07dd7c3
LMI
8123 * mail/sendmail.el (sendmail-query-once): Restore the current
8124 buffer after querying (bug#9074).
8125
0e6a2bd7
LMI
8126 * dired.el (dired-flagged): Use different faces for marked and
8127 flagged files (bug#6117).
8128
ce887515
LMI
8129 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8130 (bug#4433).
8131
92f2affc
LMI
8132 * ido.el (ido-mode): Switch off the message if called
8133 non-interactively.
8134
57d5aff0
LMI
8135 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8136 before 587, since it appears that that's more likely to work for
8137 more people.
8138
98cd6c18 8139 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8140 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8141 exist.
8142
b96dec83
LMI
8143 * info.el: Remove the `Info-beginning-of-buffer' function
8144 (bug#8325).
8145
b796c9b7
SM
8146 * net/network-stream.el (network-stream-open-starttls):
8147 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8148
d90e2ea0
MR
81492011-08-01 Martin Rudalics <rudalics@gmx.at>
8150
8151 * window.el (display-buffer-in-window): Don't set dedicated status
8152 of window here (Bug#9215).
8153 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8154 (display-buffer-pop-up-side-window)
b796c9b7 8155 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8156
cca09170
SM
81572011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8160 before binding generated-autoload-file.
8161
027b979c
DD
81622011-08-01 Deniz Dogan <deniz@dogan.se>
8163
8164 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8165
3c7ee4f3
MA
81662011-07-30 Michael Albinus <michael.albinus@gmx.de>
8167
8168 Sync with Tramp 2.2.2.
8169
8170 * net/trampver.el: Update release number.
8171
2cc8e51a
JL
81722011-07-30 Juri Linkov <juri@jurta.org>
8173
8174 * dired-aux.el (dired-touch-initial): Remove function.
8175 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8176 current time, and `default' to the last modification time of the
8177 current marked file (bug#6887).
8178
a514d856
JM
81792011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8180
8181 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8182 numeric argument to read-number (bug#9163).
a514d856 8183
8a7eddd7
MA
81842011-07-27 Michael Albinus <michael.albinus@gmx.de>
8185
8186 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8187 connection process, it could be nil.
8188
1ddd96f5
LL
81892011-07-27 Leo Liu <sdl.web@gmail.com>
8190
8191 Simplify url handling in rcirc-mode.
8192
8193 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8194 (rcirc-browse-url-at-mouse): Remove.
8195 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8196
b248a85d
AM
81972011-07-26 Alan Mackenzie <acm@muc.de>
8198
8199 Fontify bitfield declarations properly.
8200
8201 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8202 (c-symbol-chars): Now exported as a lang variable.
8203 (c-not-primitive-type-keywords): New lang variable.
8204
8205 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8206 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8207 parsed as a bitfield declaration.
b248a85d 8208
b796c9b7
SM
8209 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8210 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8211 (c-punctuation-in): New function.
8212 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8213 declarations properly.
8214
68575ab0
UJ
82152011-07-26 Ulf Jasper <ulf.jasper@web.de>
8216
8217 * calendar/icalendar.el (icalendar--all-events): Take care of
8218 multiple vcalendars in a single file.
b796c9b7 8219 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8220
0f0a88b9
DD
82212011-07-25 Deniz Dogan <deniz@dogan.se>
8222
8223 * image.el (insert-image): Clarifying docstring.
8224
0b3f36df
MA
82252011-07-24 Michael Albinus <michael.albinus@gmx.de>
8226
8227 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8228 `tramp-send-command-and-check' if there is no error.
8229 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8230
a9901f61
AM
82312011-07-22 Alan Mackenzie <acm@muc.de>
8232
8233 Prevent cc-langs.elc being loaded at run time.
8234
8235 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8236 cc-langs.
8237
4d61f28d 8238 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8239 "(require 'cc-langs)". Quote a form so it will evaluate at
8240 (cc-mode's) compilation time.
8241
11d074b2
MA
82422011-07-22 Michael Albinus <michael.albinus@gmx.de>
8243
8244 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8245 loading. (Bug#9114)
8246
938b94c8
MR
82472011-07-21 Martin Rudalics <rudalics@gmx.at>
8248
8249 * window.el (display-buffer-pop-up-window)
8250 (display-buffer-pop-up-side-window)
8251 (display-buffer-in-side-window): Call display-buffer-set-height
8252 and display-buffer-set-width after setting the new window's
b796c9b7 8253 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8254
bfa4f190
SS
82552011-07-20 Sam Steingold <sds@gnu.org>
8256
8257 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8258 (etags-tags-included-tables): Call `convert-standard-filename' on
8259 the file names contained in TAGS so that windows Emacs can handle
8260 TAGS files created by cygwin ctags.
8261
8ca42262
LMI
82622011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263
8264 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8265 which apparently didn't work.
8266
5db2afd2 82672011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8268
5db2afd2
RW
8269 * proced.el (proced-send-signal): For *Marked Processes* buffer
8270 put point at beginning of buffer.
8271
92e15d10
SB
82722011-07-19 Stephen Berman <stephen.berman@gmx.net>
8273
8274 * proced.el (proced-format): Make header lines align with the text
8275 (bug#1779).
8276
1bfd59e5
LMI
82772011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8278
8279 * view.el (view-buffer): Allow running in `special' modes if we're
8280 visiting a file (bug#8615).
8281
f5aae37c
MR
82822011-07-19 Martin Rudalics <rudalics@gmx.at>
8283
8284 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8285 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8286 New functions.
f5aae37c
MR
8287 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8288 more accurately.
8289
bf2c1571
AM
82902011-07-18 Alan Mackenzie <acm@muc.de>
8291
8292 Fontify declarators properly when, e.g., a jit-lock chunk begins
8293 inside a declaration.
8294
8295 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8296
b796c9b7
SM
8297 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8298 New function.
bf2c1571
AM
8299 (c-complex-decl-matchers): Insert reference to
8300 c-font-lock-enclosing-decls.
8301
8302 * progmodes/cc-engine.el (c-backward-single-comment):
8303 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8304 to nil around calls to (forward-comment -1).
8305
4e190b80
LMI
83062011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8307
12dc863d
LMI
8308 * image.el (put-image): Doc typo fix.
8309
a762e966
LMI
8310 * progmodes/etags.el (tags-search): Doc typo fix.
8311
4e190b80
LMI
8312 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8313 password if we get errors 550 to 554.
8314
f019fb21
LMI
83152011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8316
b796c9b7 8317 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8318
81746738
LMI
8319 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8320 indentation character (bug#6380).
8321
3ee3a1b5
LMI
8322 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8323
c82f64de
LMI
8324 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8325 to clarify what the problem is (bug#4291).
8326
f019fb21
LMI
8327 * simple.el (current-kill): Clarify what
8328 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8329 (auto-fill-mode): Document `auto-fill-function' in relation to
8330 `auto-fill-mode' (bug#2470).
f019fb21 8331
0794775d
LM
83322011-07-16 Lawrence Mitchell <wence@gmx.li>
8333
8334 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8335 method if slot is read-only (bug#9035).
8336
be39b8cc
MR
83372011-07-16 Martin Rudalics <rudalics@gmx.at>
8338
b796c9b7 8339 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8340 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8341 selected before, see discussion of (Bug#8615), (Bug#6954).
8342 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8343
6ccf7859
GM
83442011-07-15 Glenn Morris <rgm@gnu.org>
8345
8346 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8347 Respect help-form.
6ccf7859 8348
87e86684
LM
83492011-07-09 Lawrence Mitchell <wence@gmx.li>
8350
8351 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8352 (gnutls-negotiate): Use it.
8353
d6066239
LMI
83542011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355
b796c9b7
SM
8356 * net/gnutls.el (gnutls-negotiate):
8357 Upcase `gnutls-algorithm-priority'.
d6066239 8358
bd23ebc0
GM
83592011-07-15 Glenn Morris <rgm@gnu.org>
8360
c65bca65
GM
8361 * jka-compr.el (jka-compr-verbose): Move from here...
8362 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8363 Add missing :version tag.
8364 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8365
478615cc
LMI
83662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8367
7b41decb
LMI
8368 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8369 (gnutls-negotiate): Use it.
8370
dbc44fcd
LMI
8371 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8372
06789f97
LMI
8373 * info.el (Info-beginning-of-buffer): New command.
8374 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8375 announcing `b' as the key (bug#8325).
ab896c37 8376 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8377
c39da690
LMI
8378 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8379
3aa5f34b
LMI
8380 * international/mule-cmds.el
8381 (describe-specified-language-support): Make the error message
8382 clearer (bug#8905).
8383
4bf0979f
LMI
8384 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8385
478615cc
LMI
8386 * isearch.el (isearch-barrier): Add a doc string, since it's
8387 mentioned in a function doc string (bug#8678).
8388
75c68aa1
MR
83892011-07-15 Martin Rudalics <rudalics@gmx.at>
8390
8391 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8392 buffer argument (Bug#9083) and self-identifying label argument.
8393
a7c33da2
GM
83942011-07-15 Glenn Morris <rgm@gnu.org>
8395
8396 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8397
2f5c6024
LMI
83982011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
8400 * man.el (Man-fontify-manpage): Fix message when formatting the
8401 man page (bug#7929).
8402
0bb23927 84032011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8404
8405 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8406 argument LRM; if non-nil, append an invisible LRM character to the
8407 buffer name.
8408 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8409 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8410 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8411 paragraph direction.
cce4b0a7 8412
621ef9ab
LMI
84132011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
d1583c48
LMI
8415 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8416 the man page name (bug#7929).
8417
6a57fb5f
LMI
8418 * image.el (put-image): Mention the `put-image' overlay property
8419 (bug#7834).
8420
d7956b14
LMI
8421 * scroll-bar.el (set-scroll-bar-mode): Mention that
8422 `scroll-bar-mode' lists the values (bug#7772).
8423
5b2d4a66
LMI
8424 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8425 command (bug#7729).
8426
7509a874
LMI
8427 * rect.el (apply-on-rectangle): Return the point after the last
8428 operation.
8429 (string-rectangle): Go to the point after the last operation
8430 (bug#7522).
8431
4fe74b19
LMI
8432 * printing.el (pr-toggle-region): Clarify the documentation
8433 slightly (bug#7493).
8434
b796c9b7
SM
8435 * time.el (display-time-update):
8436 Allow `display-time-mail-function' to return nil (bug#7158).
8437 Fix suggested by Detlev Zundel.
ab283561 8438
fc233c9d
LMI
8439 * vc/diff.el (diff): Clarify the order the file names are read
8440 (bug#7111).
8441
43f5740b
LMI
8442 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8443 the doc string (bug#7015).
8444
f2182a76
LMI
8445 * font-lock.el (font-lock-maximum-decoration): Mention what
8446 numeric levels mean (bug#6935).
8447
621ef9ab
LMI
8448 * startup.el (initial-buffer-choice): Don't mention the `none'
8449 selection, which is against policy.
8450
adc47434
MR
84512011-07-14 Martin Rudalics <rudalics@gmx.at>
8452
b796c9b7
SM
8453 * window.el (display-buffer-normalize-special):
8454 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8455
7e5bfb8f
EZ
84562011-07-14 Eli Zaretskii <eliz@gnu.org>
8457
8458 * subr.el (version<, version<=, version=): Mention "-CVS" and
8459 "-12345" alpha version numbers.
8460
27fa387a
CY
84612011-07-14 Chong Yidong <cyd@stupidchicken.com>
8462
8463 * bindings.el: Add advertised binding for set-mark-command
8464 (Bug#5772).
8465
8bdfa064
CY
84662011-07-14 Chong Yidong <cyd@stupidchicken.com>
8467
8468 * bindings.el (mode-line-other-buffer):
8469 * bookmark.el (bookmark-bmenu-2-window):
8470 * bs.el (bs-cycle-next, bs-cycle-previous):
8471 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8472 switch-to-buffer.
8473
8474 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8475 Delete.
8bdfa064 8476
5eba16a3
JB
84772011-07-14 Juanma Barranquero <lekktu@gmail.com>
8478
8479 * follow.el (follow-debug-message, follow-redisplay):
8480 * jka-cmpr-hook.el (with-auto-compression-mode):
8481 Fix typos in docstrings.
8482
15853710
LMI
84832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8484
a28e4607
LMI
8485 * subr.el (with-silent-modifications): Clarify somewhat what the
8486 macro inhibits (bug#6525).
8487
15853710
LMI
8488 * simple.el (eval-expression): Note what it does if called
8489 interactively (bug#6495).
8490
bee0fcef
CY
84912011-07-13 Chong Yidong <cyd@stupidchicken.com>
8492
b796c9b7
SM
8493 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8494 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8495
8496 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8497 Remove switch-to-buffer.
8498
58274504
LMI
84992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8500
bd2fcc8d
LMI
8501 * files.el (make-directory): Clarify that an error will be raised
8502 if there's an error (bug#6397).
8503
0f04b32c
LMI
8504 * startup.el (initial-buffer-choice): Add `none' as a choice
8505 (bug#6234).
8506
465c5fc8
LMI
8507 * subr.el (add-hook): Clarify section about buffer-local hooks
8508 (bug#6218).
8509
58274504
LMI
8510 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8511
bead9a43
JB
85122011-07-13 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * tabify.el (untabify): Preserve the current column so that point
8515 doesn't move (bug#6032).
8516
3af98a7b
LMI
85172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
b796c9b7
SM
8519 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8520 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8521
6240145a
GM
85222011-07-13 Glenn Morris <rgm@gnu.org>
8523
8524 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8525 (dired-insert-directory): Give a message the first time
8526 if ls is found not to support --dired.
8527
1d8c2ccc
LMI
85282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8529
8530 * simple.el (toggle-truncate-lines): Clarify what is toggled
8531 (bug#5580). Text by Drew Adams.
8532
5fc4038e
CY
85332011-07-13 Chong Yidong <cyd@stupidchicken.com>
8534
8535 * simple.el (blink-matching-open): Make the error message from the
8536 last change less verbose.
8537
bf6012e5
DN
85382011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8539
8540 * font-lock.el (font-lock-comment-face): Use the high contrast
8541 "yellow" color for font-lock-comment-face on low color terminals
8542 using a dark background color (bug#4221).
8543
343c3b5a
LMI
85442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
7e9505c5
LMI
8546 * dired.el (dired-insert-set-properties): Make the doc string
8547 reflect what it does now (bug#5325).
8548
c26fdcf5
LMI
8549 * simple.el (blink-matching-open): Say that we were unable to find
8550 the match within the limit, if we're limited (bug#5122).
8551
bb388cc5
LMI
8552 * international/mule-cmds.el (prefer-coding-system): Add an
8553 example (bug#4869).
8554
343c3b5a
LMI
8555 * progmodes/etags.el (tags-search): Document `file-list-form'
8556 (bug#4731).
8557
2a517d45
LM
85582011-07-13 Lawrence Mitchell <wence@gmx.li>
8559
8560 * net/browse-url.el (browse-url-default-browser)
8561 (browse-url-browser-function): Make the default browser choice a
8562 bit more logical (bug#4300). Also clean up the doc string.
8563
b6c78ef2
JB
85642011-07-13 Juanma Barranquero <lekktu@gmail.com>
8565
8566 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8567 binary endings (bug#4440).
8568
1c4dd947
LMI
85692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8570
a2014063
LMI
8571 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8572 which can be pretty annoying (bug#8971).
8573
9c9c2d88
LMI
8574 * jka-compr.el (jka-compr-verbose): New variable, and use
8575 throughout (bug#8971).
8576
1c4dd947
LMI
8577 * info.el (Info-find-file): Fall back on the installation
8578 directory if we can't find the info node anywhere else.
8579
a1c9f41b
SO
85802011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8581
8582 * vc/vc.el (vc-revert-file):
8583 Don't set file time-stamp in the past. (Bug#5181)
8584
536f3d36
LMI
85852011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586
7152b011
LMI
8587 * files.el (after-find-file): Give a better error message when
8588 trying to find a symlink that points to a file that doesn't exist
8589 (bug#4398).
8590
536f3d36
LMI
8591 * progmodes/cc-vars.el: Remove (probably) misleading comment
8592 (bug#4396).
8593
460c0fba
JB
85942011-07-12 Johan Bockgård <bojohan@gnu.org>
8595
8596 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8597
7a6bda45
CY
85982011-07-12 Chong Yidong <cyd@stupidchicken.com>
8599
8600 * mouse-sel.el: Hack restoring functionality, while keeping
8601 compatibility with 2010-07-03 changes to mouse selection.
8602 (mouse-sel-primary-overlay): New var.
8603 (mouse-sel-selection-alist): Use it.
8604 (mouse-sel-mode): Doc fix; remove points that are default features
8605 of mouse.el.
8606
c79598ef
JB
86072011-07-12 Johan Bockgård <bojohan@gnu.org>
8608
8609 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8610 Fix previous fix (bug#2490).
8611
ff8be6ef
RW
86122011-07-12 Roland Winkler <winkler@gnu.org>
8613
b796c9b7
SM
8614 * textmodes/bibtex.el (bibtex-initialize):
8615 Use pop-to-buffer-same-window.
ff8be6ef
RW
8616 (bibtex-search-entries): Fix interactive call.
8617
296ba3ee
LMI
86182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8619
f5242a02 8620 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8621 Fontise bytecomp Error lines more correctly (bug#2490).
8622 Fix suggested by Johan Bockgård.
f5242a02 8623
296ba3ee
LMI
8624 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8625
8626 * dired-x.el (dired-guess-default): Use `delete-dups'.
8627
f69fd0d2
CY
86282011-07-12 Chong Yidong <cyd@stupidchicken.com>
8629
8630 * dired.el (dired-mark-prompt):
8631 * dired-aux.el (dired-read-shell-command): Doc fix.
8632
eab5dc07
LMI
86332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8634
b796c9b7
SM
8635 * mail/sendmail.el (sendmail-query-once):
8636 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8637 emacs -Q.
8638
8639 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8640
eab5dc07
LMI
8641 * cus-edit.el (custom-file): Take an optional no-error variable.
8642 (customize-save-variable): Set the variable, and give a warning if
8643 running under "emacs -q".
8644
a1e65d42
JB
86452011-07-11 Juanma Barranquero <lekktu@gmail.com>
8646
8647 * loadhist.el (unload-feature-special-hooks):
8648 Add `auto-coding-functions', `fill-nobreak-predicate' and
8649 `find-directory-functions' (bug#5327).
8650
1d52da10
LMI
86512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8652
be958f1d
LMI
8653 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8654
5bedb26c
LMI
8655 * cus-edit.el (custom-guess-name-alist): -alist variables should
8656 use the `alist' type (bug#3120). Suggested by Drew Adams.
8657
1d52da10
LMI
8658 * printing.el: Add documentation to all the `pr-toggle-' commands.
8659
cd394be1 86602011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8661
8662 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8663 backends where it makes sense (bug#2623).
8664
dcc88d8a
LMI
86652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666
c3de9feb
LMI
8667 * dired-x.el (dired-guess-default): Remove duplicate shell command
8668 entries (bug#2028).
8a93078b 8669 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8670 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8671
dcc88d8a
LMI
8672 * subr.el (remove-duplicates): New conveniency function.
8673
505e3645
LMI
86742011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675
8676 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8677 (bug#1526).
8678
86792011-07-10 Martin Rudalics <rudalics@gmx.at>
8680
8681 * window.el (display-buffer-normalize-default): Don't invert
8682 meaning of even-window-heights. Reported by Eli Zaretskii
8683 <eliz@gnu.org>.
8684
455e4fa1
BR
86852011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8686
8687 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8688
8e0bc3e9
CY
86892011-07-10 Chong Yidong <cyd@stupidchicken.com>
8690
8691 * window.el (display-buffer): Fix arguments to
8692 display-buffer-reuse-window in last change.
8693
fa7c3228
CY
8694 * faces.el (link): Use a less saturated blue on light backgrounds.
8695
8696 * startup.el (fancy-startup-text, fancy-about-text)
8697 (fancy-startup-tail): Use font-lock faces, for background safety.
8698
c0a7f300
BN
86992011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8700
b796c9b7
SM
8701 * emulation/viper-cmd.el (viper-change-state-to-vi):
8702 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8703
4dc2a129
MR
87042011-07-09 Martin Rudalics <rudalics@gmx.at>
8705
8706 * window.el (display-buffer-default-specifiers): Remove.
8707 (display-buffer-macro-specifiers): Remove default specifiers.
8708 (display-buffer-alist): Default to nil.
b796c9b7 8709 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8710 (display-buffer-pop-up-window): Allow splitting internal
8711 windows. Check whether a live window was created.
8712 (display-buffer-other-window-means-other-frame)
8713 (display-buffer-normalize-arguments): Rename to
8714 display-buffer-normalize-argument and rewrite. Set the
8715 other-window specifier.
8716 (display-buffer-normalize-special): New function.
8717 (display-buffer-normalize-options): Rename to
8718 display-buffer-normalize-default and rewrite.
8719 (display-buffer-normalize-options-inhibit): Remove.
8720 (display-buffer-normalize-specifiers): Rewrite.
8721 (display-buffer): Process other-window specifier and call
8722 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8723 more faithfully.
b796c9b7 8724 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8725 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8726 (display-buffer-in-window, display-buffer-alist-set):
8727 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8728 <tassilo@member.fsf.org>.
8729
2d43b8c9
LL
87302011-07-09 Leo Liu <sdl.web@gmail.com>
8731
8732 * register.el (insert-register): Restore accidental change on
8733 2011-06-26. (Bug#9028)
8734
7f9b7c53
GM
87352011-07-09 Glenn Morris <rgm@gnu.org>
8736
8737 * subr.el (remq): Handle the empty list. (Bug#9024)
8738
f042cfd8
AS
87392011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8740
8741 * mail/sendmail.el (send-mail-function): No longer delay custom
8742 initialization.
8743 * custom.el (custom-initialize-delay): Doc fix.
8744
856b2f11
SM
87452011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8748
afae1d68
MA
87492011-07-08 Michael Albinus <michael.albinus@gmx.de>
8750
8751 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8752 human-friendly prompt.
8753
0757af94
SM
87542011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8757 provided by a particular plugin.
8758
d760b731
LMI
87592011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8760
8761 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8762 save customizations (with "emacs -Q"), just set the variable
8763 instead of erroring out.
8764
8765 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8766
cd79ce90
JL
87672011-07-08 Juri Linkov <juri@jurta.org>
8768
8769 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8770 (archive-zip-update-case): Use 7z if found by `executable-find'.
8771 The order of searching the available programs is the same as in
8772 `archive-zip-extract' (bug#8968).
8773
14cc04aa
CY
87742011-07-07 Chong Yidong <cyd@stupidchicken.com>
8775
8776 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8777 (menu-bar-options-menu): Tweak descriptions.
8778
0a1848ec
LMI
87792011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8780
8781 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8782 menu items into verb phrases (bug#1421). Also refill to fit under
8783 80 columns.
8784
f5bd0689
CY
87852011-07-07 Chong Yidong <cyd@stupidchicken.com>
8786
538e85c6
CY
8787 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8788 (Info-read-node-name): Doc fix (Bug#1084).
8789
f5bd0689
CY
8790 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8791 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8792 (end-of-sexp, beginning-of-sexp)
8793 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8794 (forward-symbol, forward-same-syntax, word-at-point)
8795 (sentence-at-point): Doc fix (Bug#1144).
8796
56ec5115
LMI
87972011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8798
f3f8e37f
LMI
8799 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8800 should cover it (bug#1281).
8801
0757af94 8802 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8803
e9fce1ac 8804 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8805 negotiation fails, then possibly try again with a non-encrypted
8806 connection (bug#9017).
8807
56ec5115
LMI
8808 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8809 be used.
8810
c2f9aec8
RS
88112011-07-07 Richard Stallman <rms@gnu.org>
8812
8813 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8814 property, and handle its changed format.
8815 Look for the correct line number.
8816 Use file's line contents (but not past first =) to find
8817 correct line in message.
8818
ef7b981d 88192011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8820
8821 * international/characters.el (build-unicode-category-table):
8822 Delete it.
0757af94 8823 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8824
0757af94 8825 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8826 to src/chartab.c.
8827 (get-char-code-property): Call unicode-property-table-internal to
8828 load a file. Call get-unicode-property-internal where necessary.
8829 (put-char-code-property): Call unicode-property-table-internal to
8830 load a file. Call put-unicode-property-internal where necessary.
8831 put-unicode-property-internal where necessary.
0757af94
SM
8832 (char-code-property-description):
8833 Call unicode-property-table-internal to load a file.
c805dec0
KH
8834
8835 * international/charprop.el:
8836 * international/uni-bidi.el:
8837 * international/uni-category.el:
8838 * international/uni-combining.el:
8839 * international/uni-comment.el:
8840 * international/uni-decimal.el:
8841 * international/uni-decomposition.el:
8842 * international/uni-digit.el:
8843 * international/uni-lowercase.el:
8844 * international/uni-mirrored.el:
8845 * international/uni-name.el:
8846 * international/uni-numeric.el:
8847 * international/uni-old-name.el:
8848 * international/uni-titlecase.el:
8849 * international/uni-uppercase.el: Regenerate.
8850
8851 * loadup.el: Load international/charprop.el before
8852 international/characters.
8853
e14b388a
CY
88542011-07-07 Chong Yidong <cyd@stupidchicken.com>
8855
8856 * window.el (next-buffer, previous-buffer): Signal an error if
8857 called from a minibuffer window.
8858
8859 * bindings.el: Revert 2011-07-04 change.
8860
354cf0ba
RS
88612011-07-06 Richard Stallman <rms@gnu.org>
8862
8863 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8864 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8865 Treat markers like ints.
8866 (rmail-mime-entity): Doc fix.
8867
a48868a7
LMI
88682011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8869
4906cd3d
LMI
8870 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8871 defcustom again for backwards compatibility.
8872
e0457abe
LMI
8873 * simple.el (shell-command-on-region): Fill.
8874
d67f7e1f
LMI
8875 * dired-aux.el (dired-kill-line): Add a doc string.
8876
fe204702
LMI
8877 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8878 to "\\sw\\|\\s_" (bug#358).
8879
a48868a7
LMI
8880 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8881 (dired-unmark-backward): Ditto.
8882 (dired-flag-backup-files): Ditto.
8883
8884 * dired-x.el (dired-mark-sexp): Ditto.
8885
aa8a705c
RS
88862011-07-06 Richard Stallman <rms@gnu.org>
8887
8888 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8889 (rmail-mime-entity): New arg TRUNCATED.
8890 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8891 New functions.
8892 (rmail-mime-save): Warn if entity is truncated.
8893 (rmail-mime-toggle-hidden): Likewise, for showing.
8894 (rmail-mime-process-multipart): Record when an entity is truncated.
8895
a9a936b9
RS
8896 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8897 if ENTITY is a string.
8898
1f2b92cb
LMI
88992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
f4f73198 8901 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8902 of faces when `M-C-x'-ing their definitions (bug#8378).
8903 Also clean up the code slightly.
f4f73198 8904
12b16734 8905 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8906 because that makes the colors go away.
12b16734 8907
f0691d22
LMI
8908 * mail/sendmail.el (send-mail-function): Change the default to
8909 `sendmail-query-once'.
9e87df06 8910 (sendmail-query-once): Add an autoload cookie.
f0691d22 8911
1f2b92cb
LMI
8912 * net/network-stream.el (network-stream-open-starttls): Try using
8913 a plain connection even if the server offered STARTTLS, and we
8914 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8915 capability. This should make smtpmail.el work in slightly more
8916 configurations.
8917
1cdd2a1b
MA
89182011-07-06 Michael Albinus <michael.albinus@gmx.de>
8919
8920 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8921 New defun.
8922 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8923
fbcc67e2
MM
89242011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8925
8926 * progmodes/sql.el: Version 3.0
0757af94 8927 (sql-product-alist): Add product :completion-object,
fbcc67e2 8928 :completion-column, and :statement attributes.
0757af94 8929 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8930 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8931 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8932 ansi keywords.
8933 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8934 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8935 (sql-oracle-show-reserved-words): New function for development.
8936 (sql-product-font-lock): Simplify for source code buffers.
8937 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8938 New functions.
8939 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8940 (sql-mode-map): Add statement movement functions.
8941 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8942 New variable.
fbcc67e2
MM
8943 (sql-statement-regexp, sql-beginning-of-statement)
8944 (sql-end-of-statement, sql-signum): New functions.
0757af94 8945 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8946 (sql-show-sqli-buffer): Bug fix.
8947 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8948 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8949 with sql-interactive-mode.
8950 (sql-save-connection): Save buffer local settings.
0757af94 8951 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8952 (sql-product-interactive): Bug fix.
8953 (sql-preoutput-hold): New variable.
8954 (sql-interactive-remove-continuation-prompt): Bug fixes.
8955 (sql-debug-redirect): New variable.
8956 (sql-str-literal): New function.
8957 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8958 Redesign.
fbcc67e2
MM
8959 (sql-oracle-save-settings, sql-oracle-restore-settings)
8960 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8961 (sql-completion-object, sql-completion-column)
8962 (sql-completion-sqlbuf): New variables.
8963 (sql-build-completions-1, sql-build-completions)
8964 (sql-try-completion): New functions.
8965 (sql-read-table-name): Use them.
8966 (sql-contains-names): New buffer local variable.
8967 (sql-list-all, sql-list-table): Use it.
8968 (sql-oracle-completion-types): New variable.
8969 (sql-oracle-completion-object, sql-sqlite-completion-object)
8970 (sql-postgres-completion-object): New functions.
8971
d4eaeab1
GM
89722011-07-06 Glenn Morris <rgm@gnu.org>
8973
8974 * window.el (pop-to-buffer): Doc fix.
8975
322b7dab 89762011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8977
8978 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8979
322b7dab 89802011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8981
322b7dab 8982 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8983
322b7dab 8984 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8985
605dd5bf
CY
89862011-07-05 Chong Yidong <cyd@stupidchicken.com>
8987
8988 * button.el (button): Inherit from link face. Suggested by Dan
8989 Nicolaescu.
8990
7dbfa719
SM
89912011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8992
3db614b0
SM
8993 * progmodes/gdb-mi.el: Fit in 80 columns.
8994 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8995 switch-to-buffer.
8996
7dbfa719
SM
8997 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8998 if imenu is simply not configured (bug#8941).
8999
919d884a
KM
90002011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9001
9002 * allout.el (allout-post-undo-hook): New allout outline-change
9003 event hook to signal undo activity.
9004 (allout-post-command-business): Run allout-post-undo-hook if an
9005 undo just occurred.
7dbfa719
SM
9006 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9007 * allout-widgets.el (allout-widgets-after-undo-function):
9008 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9009 in the vicinity of an undo.
9010 (allout-widgets-mode): Include allout-widgets-after-undo-function
9011 on the new allout-post-undo-hook.
9012
450a0f09
SM
90132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9016 Let define-derived-mode define it.
9017 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9018 cycles of abbrev-table inheritance (bug#8998).
9019
2de69e00
RW
90202011-07-05 Roland Winkler <winkler@gnu.org>
9021
9022 * textmodes/bibtex.el: Add support for biblatex.
9023 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9024 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9025 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9026 (bibtex-entry-alist, bibtex-field-alist): New variables.
9027 (bibtex-entry-field-alist): Obsolete alias for
9028 bibtex-BibTeX-entry-alist.
9029 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9030 (bibtex-set-dialect): New command.
9031 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9032 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9033 Bind via bibtex-set-dialect.
2de69e00
RW
9034 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9035 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9036 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9037 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9038 Define via bibtex-set-dialect.
450a0f09
SM
9039 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9040 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9041 (bibtex-vec-push, bibtex-vec-incr): New functions.
9042 (bibtex-format-entry, bibtex-field-list)
9043 (bibtex-print-help-message, bibtex-validate)
9044 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9045
2dcdbdd9
SM
90462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * progmodes/compile.el (compilation-goto-locus):
9049 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9050 * bs.el (bs-cycle-next, bs-cycle-previous):
9051 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9052 * bindings.el (mode-line-other-buffer):
9053 * autoinsert.el (auto-insert):
9054 * arc-mode.el (archive-extract):
9055 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9056
b27640fe
JB
90572011-07-05 Juanma Barranquero <lekktu@gmail.com>
9058
9059 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9060 Fix check of `emacs-lock-unlockable-modes'.
9061 Coerce true values of `emacs-lock--try-unlocking' to t.
9062
53bbe3ad
JB
90632011-07-05 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9066 * emacs-lock.el: New file.
9067
1d3cdbc7
JD
90682011-07-05 Julien Danjou <julien@danjou.info>
9069
9070 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9071 than `boundp' to check if face is set.
9072
9173deec
JB
90732011-07-05 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * register.el (registerv-make):
9076 * window.el (window-min-height): Fix typos in docstrings.
9077
869795d6
JD
90782011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9079
9173deec 9080 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9081 Update doc string.
9082
b768cdcd
JB
90832011-07-04 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * server.el (server-execute): Catch quit and call
9086 `server-return-error' to pass the error back to emacsclient and
9087 close the connection (bug#8942).
9088
13aa217b
KM
90892011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9090
9091 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9092 insecure exception for current topic. Also note that auto-saves
9093 are handled differently.
9094
5d3385a0 9095 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9096 State variables for tracking auto-save inhibition situation.
9097
9098 (allout-write-contents-hook-handler): Rename from
9099 'allout-write-file-hook-handler', and describe how it depends on
9100 write-contents-functions sensitivity to non-nil value to prevent
9101 file write.
9102
9103 (allout-auto-save-hook-handler): Remove. auto-save does not check
9104 this in individual buffers, only in the starting buffer, so this
9105 is not the right way for us to inhibit auto-save in a buffer
9106 according to its condition.
9107
9108 (allout-mode): Use new allout-write-contents-hook-handler, and
9109 only with write-contents-functions. Remove auto-save provisions -
9110 they're implemented elsewhere.
9111
9112 (allout-before-change-handler): If undo is in progress, note that
9113 for attention of allout-post-command-business.
9114
9115 (allout-post-command-business): If the command we're following was
9116 an undo, check for change in the status of encrypted items and
9117 adjust auto-save inhibitions accordingly.
9118
9119 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9120 according to whether there are or aren't any plain-text topics
9121 pending encryption.
9122
2dcdbdd9 9123 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9124 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9125 if there are plain-text topics pending encryption.
13aa217b
KM
9126
9127 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9128 buffer-saved-size and some allout state to not inhibit auto-saves
9129 if there are no longer any plain-text topics pending encryption.
9130
0757af94
SM
9131 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9132 No longer provide for exemption of the current topic.
13aa217b 9133
ac89b32c
JL
91342011-07-04 Juri Linkov <juri@jurta.org>
9135
9136 Add 7z operations to delete and save changed members (bug#8968).
9137 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9138 New defcustoms.
9139 (archive-7z-write-file-member): New function.
9140 (archive-7z-summarize): Fix the number of dashes in the
9141 listing output.
9142
8fa39615
SM
91432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9146 (bug#8958).
9147
2f11b3f1
CY
91482011-07-04 Chong Yidong <cyd@stupidchicken.com>
9149
d66fef2b
CY
9150 * bindings.el: Ignore next-buffer and previous-buffer in
9151 minibuffer-local-map.
9152
2f11b3f1
CY
9153 * font-lock.el (font-lock-builtin-face): Change light background
9154 color to dark slate blue (Bug#6693).
9155
f932a347
WD
91562011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9157
9158 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9159
c8af70e1
SM
91602011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9164 Add switch-to-buffer.
9165
f158badc
LMI
91662011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167
9168 * isearch.el (isearch-search-fun-function): Clarify further the
9169 meaning of the function returned.
9170
6d95bd46
MA
91712011-07-04 Michael Albinus <michael.albinus@gmx.de>
9172
9173 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9174
9175 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9176 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9177 Use it.
9178 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9179 `tramp-default-remote-path' does not exist.
9180 (tramp-send-command-and-read): New optional argument NOERROR.
9181 (tramp-open-connection-setup-interactive-shell)
9182 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9183 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9184 (tramp-process-sentinel): Flush also process' connection property.
9185 (tramp-sh-handle-start-file-process): Do not set process
9186 sentinel. It is done now ...
9187 (tramp-maybe-open-connection): ... here. (Bug#8929)
9188
909e6b67
MK
91892011-07-04 MON KEY <monkey@sandpframing.com>
9190
9191 * play/animate.el (animate-string): Doc fixes and allow changing
9192 the buffer name (bug#5417).
9193
91942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9195
c8af70e1 9196 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9197
f34755dc
PE
91982011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9199
396cec72
PE
9200 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9201 This is simpler and helps future-proof the code.
9202 (timer-until): Use time-subtract and float-time.
08235028 9203 (timer--time-less-p): Use time-less-p.
f34755dc 9204
56e6cc31
JB
92052011-07-04 Juanma Barranquero <lekktu@gmail.com>
9206
3abb79e5
JB
9207 * type-break.el (timep): Use the value of `float-time' to avoid a
9208 byte-compiler warning.
9209
56e6cc31
JB
9210 * server.el (server-eval-and-print): Return any result, even nil.
9211
7b9430b4
PE
92122011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9213
9214 * type-break.el: Accept time formats that the builtins accept.
9215 (timep, type-break-time-difference): Accept any format that
9216 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9217 This is simpler and helps future-proof the code.
9218 (type-break-time-difference): Round rather than ignoring
9219 subseconds components.
9220
3034e9e7
LMI
92212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9222
9223 * info.el (Info-apropos-matches): Make non-interactive, since it
9224 doesn't seem to do anything useful as a command (bug#8829).
9225
1485f4c0
CY
92262011-07-03 Chong Yidong <cyd@stupidchicken.com>
9227
9228 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9229 Move from faces.el.
1485f4c0
CY
9230 (frame-default-terminal-background): New function.
9231
9232 * custom.el (custom-push-theme): Don't record faces in `changed'
9233 theme; this doesn't work correctly for per-frame face settings.
9234 (disable-theme): Use face-set-after-frame-default to reset faces.
9235 (custom--frame-color-default): New function.
9236
9fa3dd45
LMI
92372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238
c8af70e1 9239 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9240 (bug#8769).
9241
6cbbc20c
KR
92422011-03-29 Kevin Ryde <user42@zip.com.au>
9243
9244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9245 `perl-Test2' extend to match possible "fail #N" rep count
9246 (bug#8377).
9247
c7f98048
LMI
92482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249
65676592
LMI
9250 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9251 `smtpmail-via-smtp' now returns the error instead of nil.
9252
c7f98048
LMI
9253 * isearch.el (isearch-search-fun-function): Clarify the doc string
9254 (bug#8101).
9255
56e6cc31 92562011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9257
9258 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9259 unnecessary spaces (bug#8987).
9260
2b216704
LMI
92612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9262
9263 * net/network-stream.el (open-network-stream): Use the
9264 :end-of-capability command thoughout.
9265
92662011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9267
9268 * net/network-stream.el (open-network-stream): Add the
9269 :end-of-capability command parameter, used by pop3.el.
9270
36adf6ce
LMI
92712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9272
1ca0da0e
LMI
9273 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9274
fc00f69c
LMI
9275 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9276 for list)" (bug#6475).
9277
28fd8759 9278 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9279 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9280 an error (bug#6297).
9281
0dd8b6da
LMI
9282 * man.el (Man-reference-regexp): Allow matching possible
9283 word-wrapped references (bug#6289).
9284
ce1438d6
LMI
9285 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9286 for consistency with the other vc buffers (bug#6197).
9287 (vc-checkin): Ditto.
9288
9289 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9290
36adf6ce
LMI
9291 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9292
e83cc1f7
LMI
92932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9294
8a20ca4c
LMI
9295 * custom.el (defcustom): Clarify that :set is only used in the
9296 Customize user interface (bug#6089).
9297
83319045
LMI
9298 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9299 associated with a file, refuse to run instead of erroring out
9300 (bug#6084).
9301
a8392169
LMI
9302 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9303 the doc string, since it appears that using `fill-column' always
9304 controls the width (bug#7845).
9305
e83cc1f7
LMI
9306 * simple.el (shell-command-on-region): Say where the error output
9307 went if `shell-command-default-error-buffer' is set (bug#6857).
9308
e47ca23b
KM
93092011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9310
9311 * allout.el (allout-yank-processing): Adjust cursor position for
9312 backwards-deleted space.
9313
9314 (allout-rebullet-heading): Register changes with
9315 allout-exposure-changed-hook, so the modified topic is properly
9316 decorated.
9317
5cf56143
LMI
93182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
08549772
LMI
9320 * minibuffer.el (completion-in-region): Document PREDICATE
9321 (bug#7136).
9322
48e96771
LMI
9323 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9324 of keyword/argument pairs (bug#6904).
9325
c8af70e1
SM
9326 * replace.el (multi-occur):
9327 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9328
e17d05e2
LMI
93292011-07-02 Drew Adams <drew.adams@oracle.com>
9330
9331 * dired.el (dired-mark-if): Make the message about whether it's
9332 marking or unmarking clearer (bug#8523).
9333
063b0e45
LMI
93342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
9336 * disp-table.el (display-table-print-array): New function.
9337 (describe-display-table): Use it to print the vectors more pretty
9338 (Bug#8859).
9339
28545e04
MR
93402011-07-02 Martin Rudalics <rudalics@gmx.at>
9341
9342 * window.el (window-state-get-1): Don't assign clone numbers.
9343 Add clone-of item to list of window parameters.
9344 (window-state-put-2): Don't process clone numbers.
9345 (display-buffer-alist): Fix doc-string.
9346
3349e122
SM
93472011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * subr.el (remq): Don't allocate if it's not needed.
9350 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9351 (keymap--merge-bindings): New functions.
9352 (keymap-canonicalize): Use them to refine the canonicalization.
9353 * minibuffer.el (minibuffer-local-completion-map)
9354 (minibuffer-local-must-match-map): Move initialization from C.
9355 (minibuffer-local-filename-completion-map): Move initialization from C;
9356 don't inherit from anything here.
9357 (minibuffer-local-filename-must-match-map): Make obsolete.
9358 (completing-read-default): Use make-composed-keymap to combine
9359 minibuffer-local-filename-completion-map with either
9360 minibuffer-local-must-match-map or
9361 minibuffer-local-filename-completion-map.
9362
d224ac83
GM
93632011-07-01 Glenn Morris <rgm@gnu.org>
9364
3de63bf8
GM
9365 * type-break.el (type-break-time-sum): Use dolist.
9366
d224ac83
GM
9367 * textmodes/flyspell.el (flyspell-word-search-backward):
9368 Replace CL function.
9369
1a1e3f32
SM
93702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9371
fe3f64d5
SM
9372 * mouse.el (mouse--strip-first-event): New function.
9373 (function-key-map): Use it to map fringe clicks to normal clicks
9374 by default.
9375
eb604e34
SM
9376 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9377 (vc-bzr-revision-completion-table): Add support for annotate and date.
9378
1a1e3f32
SM
9379 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9380 inherit from parent.
9381
5bd35902
LMI
93822011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9383
ace6c69c 9384 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9385 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9386
191e2bed
LMI
9387 * dired.el (dired-mode): Fix up the doc string as suggested by
9388 Drew Adams (bug#8817).
9389
5bd35902
LMI
9390 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9391 cookie, since the manual says that it should be possible to add
9392 this function to `find-file-hook' (bug#8709).
9393
eee8207a
TZ
93942011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9395
9396 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9397 here. Noted Ted Zlatanov as the maintainer.
9398 (cfengine-common-settings, cfengine-common-syntax): New functions
9399 to set up common things between `cfengine-mode' and
9400 `cfengine3-mode'.
9401 (cfengine3-mode): New mode.
9402 (cfengine3-defuns cfengine3-defuns-regex
9403 (cfengine3-class-selector-regex cfengine3-category-regex)
9404 (cfengine3-vartypes cfengine3-font-lock-keywords)
9405 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9406 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9407
36b148cf
MA
94082011-07-01 Michael Albinus <michael.albinus@gmx.de>
9409
9410 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9411
9412 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9413
0bf4ba9a
MR
94142011-07-01 Martin Rudalics <rudalics@gmx.at>
9415
9416 * window.el (same-window-buffer-names, same-window-regexps)
9417 (same-window-p, special-display-frame-alist)
9418 (special-display-popup-frame, special-display-function)
9419 (special-display-buffer-names, special-display-regexps)
9420 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9421 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9422 (split-window-preferred-function, split-height-threshold)
9423 (split-width-threshold, even-window-heights)
9424 (display-buffer-mark-dedicated, window-splittable-p)
9425 (split-window-sensibly, window-safely-shrinkable-p):
9426 Un-obsolete.
9427 (display-buffer): Don't spread args with function specifier
9428 because special-display-popup-frame won't like it.
9429
35837f51
PE
94302011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9431
d0672f86
PE
9432 Time-stamp simplifications and fixes.
9433 These improve accuracy slightly, and future-proof the code
9434 against some potential changes to current-time format.
9435
b9444d97
PE
9436 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9437 by using time-since and float-time.
9438
0ef923dc
PE
9439 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9440 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9441 + NNN microseconds".
9442
2f81380d
PE
9443 * type-break.el (type-break-time-sum): Rewrite using time-add.
9444
845b5c3e
PE
9445 * play/hanoi.el (hanoi-current-time-float): Remove.
9446 All uses replaced by float-time.
9447
ee6f1be0
PE
9448 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9449 This yields a more-accurate answer.
9450 (rng-time-to-float): Remove; no longer needed.
9451
fe955043
PE
9452 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9453
5777162a
PE
9454 * calendar/timeclock.el (timeclock-seconds-to-time):
9455 Defalias to seconds-to-time, since they're the same thing.
9456
3103f8b6 9457 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9458 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9459 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9460
0e61a35f
SM
94612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * window.el (bury-buffer): Don't iconify the only frame.
9464 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9465 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9466
ddd63a1e
CY
94672011-07-01 Chong Yidong <cyd@stupidchicken.com>
9468
0e61a35f
SM
9469 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9470 Add mouse-yank-primary.
ddd63a1e 9471
055f4923
TZ
94722011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9473
9474 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9475
6a2fb145
SM
94762011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9479 (find-library-name): Use it to find relative load names when provided
9480 absolute file name (bug#8803).
9481
fd4983f2
LMI
94822011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9483
887d14ad
LMI
9484 * textmodes/flyspell.el (flyspell-word): Consider words that
9485 differ only in case as potential doublons (bug#5687).
9486
c53dc7fc
LMI
9487 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9488 Remove two rather uninteresting debugging-like messages to make
9489 debbugs.el more silent.
9490
fd4983f2
LMI
9491 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9492 a password-like phrase.
9493
7a71b18d 94942011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9495
9496 * progmodes/cc-guess.el: New file.
9497
6a2fb145 9498 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9499
9500 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9501 derived from `c-basic-common-init'.
9502
9503 * progmodes/cc-mode.el (top-level): Require cc-guess.
9504 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9505
1fa280a3
LM
95062011-06-30 Lawrence Mitchell <wence@gmx.li>
9507
9508 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9509
e6597158
AM
95102011-06-30 Alan Mackenzie <acm@muc.de>
9511
1fa280a3
LM
9512 * progmodes/cc-engine.el (c-guess-continued-construct):
9513 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9514 lock is disabled. Name this case as "CASE G".
9515
68ba37fb
KM
95162011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9517
9518 * allout.el (allout-yank-processing): Fix injection of extra space
9519 between bullet and non-whitespace character in first topic when
9520 pasting, ensuring that the actual spacing in the pasted topic
9521 following the bullet char is preserved. This extra space was
9522 causing pasted encrypted topics to get a decrypted status even
9523 when the content was actually still encrypted. Now the decryption
9524 status from before the paste is preserved.
9525
9526 (allout-flag-region): Set all allout overlays so they evaporate
9527 when reduced to zero length (evanescent), to prevent overlay
9528 leakage.
9529
887a0b34
GM
95302011-06-30 Glenn Morris <rgm@gnu.org>
9531
94b9acce
GM
9532 * w32-fns.el (w32-charset-info-alist): Declare.
9533
1d9b46d4
GM
9534 * find-dired.el (find-grep-options): Simplify.
9535
cc232200
GM
9536 * term/ns-win.el (ns-set-resource): Declare.
9537
28e77c46
GM
9538 * ses.el (row, col): Declare dynamic variables honestly.
9539
887a0b34
GM
9540 * textmodes/reftex-parse.el (index-tags): Declare.
9541
658d8eb8
CY
95422011-06-30 Chong Yidong <cyd@stupidchicken.com>
9543
9544 * cus-edit.el (customize-push-and-save): New function.
9545
9546 * files.el (hack-local-variables-confirm): Use it.
9547
1fa280a3
LM
9548 * custom.el (load-theme): New arg NO-CONFIRM.
9549 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9550 (custom-enabled-themes): Doc fix.
9551
9552 * cus-theme.el (customize-create-theme)
9553 (custom-theme-merge-theme): Callers to load-theme changed.
9554
bb617717
LMI
95552011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9556
d61bdd5d
LMI
9557 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9558 short URLs have at least one dot in them (bug #7614).
9559
bb617717
LMI
9560 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9561 nil, because using a pty is apparently too slow (bug #895).
9562
2f31f37a
LMI
95632011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9564
9565 * mail/sendmail.el (sendmail-query-once): New function.
9566 (sendmail-query-once-function): New variable.
9567
3076b24e
GM
95682011-06-29 Glenn Morris <rgm@gnu.org>
9569
faf2a174
GM
9570 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9571
3076b24e
GM
9572 * ses.el (top-level): Require cl when compiling.
9573 (ses-set-localvars): Fix error statement.
9574 Call it at compile time to silence a storm of warnings.
9575
5386012d
MR
95762011-06-29 Martin Rudalics <rudalics@gmx.at>
9577
9578 * window.el (normalize-live-buffer): Rename to
9579 window-normalize-buffer.
9580 (normalize-live-frame): Rename to window-normalize-frame.
9581 (normalize-any-window): Rename to window-normalize-any-window.
9582 (normalize-live-window): Rename to window-normalize-live-window.
9583 (make-window-atom): Rename to window-make-atom.
9584 (window-resize-reset): Rename to window--resize-reset.
9585 (window-resize-reset-1): Rename to window--resize-reset-1.
9586 (resize-mini-window): Rename to window--resize-mini-window.
9587 (resize-subwindows-skip-p): Rename to
9588 window--resize-subwindows-skip-p.
9589 (resize-subwindows-normal): Rename to
9590 window--resize-subwindows-normal.
9591 (resize-subwindows): Rename to window--resize-subwindows.
9592 (resize-other-windows): Rename to window--resize-siblings.
9593 (resize-this-window): Rename to window--resize-this-window.
9594 (resize-root-window): Rename to window--resize-root-window.
9595 (resize-root-window-vertically): Rename to
9596 window--resize-root-window-vertically.
9597 (normalize-buffer-to-display): Rename to
9598 window-normalize-buffer-to-display.
9599 (normalize-buffer-to-switch-to): Rename to
9600 window-normalize-buffer-to-switch-to.
9601 Correspondingly update all callers of the functions listed
9602 above.
9603 (display-buffer-alist, display-buffer-normalize-arguments)
9604 (display-buffer-normalize-options, display-buffer)
9605 (display-buffer-alist-set): Use "function" instead of
9606 "fun-with-args".
9607
1176868d
CY
96082011-06-28 Chong Yidong <cyd@stupidchicken.com>
9609
9610 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9611 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9612 debbugs.gnu.org. Mention acknowledgment email.
9613
20a7a65f
LMI
96142011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9615
9616 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9617 buffer multibyteness, since it shouldn't matter.
9618
5f45cca5
MR
96192011-06-28 Martin Rudalics <rudalics@gmx.at>
9620
9621 * window.el (display-buffer-in-side-window): Handle dedicated
9622 windows as in display-buffer-reuse-window.
9623 (display-buffer-normalize-alist): Use value of override
9624 specifier.
9625 (display-buffer-normalize-specifiers): Use value of
9626 other-window-means-other-frame specifier.
9627 (display-buffer-alist): Rewrite some texts in widgets.
9628 (display-buffer): Spread arguments when calling function
9629 specified by fun-with-args.
9630
ad85fe1f
DD
96312011-06-28 Deniz Dogan <deniz@dogan.se>
9632
1fa280a3
LM
9633 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9634 Unnest `let'.
da68c4c8 9635
ad85fe1f
DD
9636 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9637 selectors (Bug#5732).
ec49bd31 9638 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9639
a08cc025
JA
96402011-06-27 Jari Aalto <jari.aalto@cante.net>
9641
9642 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9643 (eshell-ls-date-format): New defcustom.
9644 (eshell-ls-file): Use it.
9645
e2b551c5
SM
96462011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9649
8982b231
KY
96502011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9651
9652 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9653 (ange-ftp-make-tmp-name): New arg.
9654 (ange-ftp-file-local-copy): Use it.
9655
36c9fa27
J
96562011-06-27 Jambunathan K <kjambunathan@gmail.com>
9657
9658 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9659 no-conversion (Bug#8870).
9660
d68443dc
MR
96612011-06-27 Martin Rudalics <rudalics@gmx.at>
9662
9663 * window.el (window-right, window-left, window-child)
9664 (window-child-count, window-last-child)
9665 (window-iso-combination-p, walk-window-tree-1)
9666 (window-atom-check-1, window-tree-1, delete-window)
9667 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9668 new naming conventions - window-vchild, window-hchild,
9669 window-next and window-prev are now called window-top-child,
9670 window-left-child, window-next-sibling and window-prev-sibling
9671 respectively.
d615d6d2
MR
9672 (resize-window-reset): Rename to window-resize-reset.
9673 (resize-window-reset-1): Rename to window-resize-reset-1.
9674 (resize-window): Rename to window-resize.
9675 (window-min-height, window-min-width)
9676 (resize-mini-window, resize-this-window, resize-root-window)
9677 (resize-root-window-vertically, adjust-window-trailing-edge)
9678 (enlarge-window, shrink-window, maximize-window)
9679 (minimize-window, delete-window, quit-restore-window)
9680 (split-window, balance-windows, balance-windows-area-adjust)
9681 (balance-windows-area, window-state-put-2)
9682 (display-buffer-even-window-sizes, display-buffer-set-height)
9683 (display-buffer-set-width, set-window-text-height)
9684 (fit-window-to-buffer): Rename all "resize-window" prefixed
9685 calls to use the "window-resize" prefix convention.
9686 (display-buffer-alist): Fix symbol for label specifier.
9687 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9688 corresponding specifier.
9689 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9690
b6458526
VB
96912011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9692
9693 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9694 convention.
9695 (ses-call-printer): Does not pass an empty string to formatter when the
9696 cell is empty to keep from barking printer Calc math-format-value.
9697
d31fd9ac
RS
96982011-06-27 Richard Stallman <rms@gnu.org>
9699
43d5bf84
RS
9700 * battery.el (battery-mode-line-limit): New variable.
9701 (battery-update): Handle it.
9702
d31fd9ac
RS
9703 * mail/rmailmm.el (rmail-mime-process-multipart):
9704 Handle truncated messages.
9705
819a6054
GM
97062011-06-27 Glenn Morris <rgm@gnu.org>
9707
9708 * progmodes/flymake.el (flymake-err-line-patterns):
9709 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9710
cedc73f2
VB
97112011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9712
819a6054 9713 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9714 (ses--clean-!, ses--clean-_): New functions.
9715 (ses-range): Add configurability of readout order, and conversion
9716 to Calc vector.
9717
5e5d49b6
VB
9718 * ses.el (ses-repair-cell-reference-all): New function.
9719 (ses-cell-symbol): Set macro as safe, so that it can be used in
9720 formulas.
9721
56e6cc31 9722 * ses.el: Update cycle detection algorithm.
90ca8b49 9723 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9724 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9725 (ses-set-localvars): New function.
9726 (ses-make-cell): Add property-list as a cell element.
9727 (ses-cell-property-get-fun, ses-cell-property-get)
9728 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9729 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9730 New functions.
90ca8b49
VB
9731 (ses-cell-property-set, ses-cell-property-pop)
9732 (ses-cell-property-get-handle): New macro.
9733 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9734 New aliases, used for code readability.
9735 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9736 cycle detection.
9737 (ses-self-reference-early-detection): New defcustom.
fac916bf 9738 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9739 (ses-mode): Use ses-set-localvars.
9740 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9741 before lauching the update processing.
9742 (ses-initialize-Dijkstra-attempt): New function.
9743 (ses-recalculate-cell): Update for cycle detection based on
9744 Dijkstra algorithm.
9745
2bb63e81
VB
9746 * ses.el: Fix commenting and indenting convention.
9747
c9d29fb8
SM
97482011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * bs.el (bs-cycle-next): Complete last change.
9751
d8e4b68b
JB
97522011-06-27 Drew Adams <drew.adams@oracle.com>
9753
9754 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9755
40098786
LMI
97562011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9757
c9d29fb8
SM
9758 * net/network-stream.el (network-stream-open-starttls):
9759 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9760 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9761
40098786
LMI
9762 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9763 to binary to possibly avoid line encoding issues on Windows (among
9764 other things).
9765
468d09d4
LMI
97662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9767
9768 * net/network-stream.el (open-network-stream): Return an :error
9769 saying what the problem was, if possible.
9770
9771 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9772 server.
9773
9774 * net/network-stream.el (network-stream-open-starttls): If we
9775 wanted to use STARTTLS, and the server offered it, but we weren't
9776 able to because we had no STARTTLS support, then close the connection.
9777 (open-network-stream): Return an :error element, if present.
9778
16f07dd7
CY
97792011-06-26 Chong Yidong <cyd@stupidchicken.com>
9780
88821ca0
CY
9781 * hl-line.el (hl-line-sticky-flag): Doc fix.
9782 (global-hl-line-sticky-flag): New option (Bug#8323).
9783 (global-hl-line-highlight): Obey it.
9784
16f07dd7
CY
9785 * vc/vc.el (vc-revert-show-diff): Default to t.
9786
6b5ccddf
KM
97872011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9788
c9d29fb8
SM
9789 * allout-widgets.el (allout-widgets-post-command-business):
9790 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9791 undecorated when an isearch is continued past, and isearch
9792 automatically collapses them. This leads to "widget leaks", where
9793 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9794 hidden widgets can slow down cursor travel, substantially.
9795 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9796 so we're doing without this nicety.
9797
9798 (allout-widgets-tally-string): Don't try to do a hash-table-count
9799 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9800 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9801 *Messages* when allout-widgets-maintain-tally is t.
9802
355f2e07
MR
98032011-06-26 Martin Rudalics <rudalics@gmx.at>
9804
9805 * window.el (display-buffer-normalize-argument): Rename to
9806 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9807 LABEL argument. Respect special-display-function when popping up
9808 a new frame. Fix code searching for a window showing the buffer
9809 on another frame.
c9d29fb8
SM
9810 (display-buffer-normalize-specifiers):
9811 Call display-buffer-normalize-arguments.
355f2e07
MR
9812 (display-buffer-in-window): Don't undedicate the window if its
9813 buffer remains the same.
9814 Reported by Drew Adams <drew.adams@oracle.com>.
9815 (display-buffer-alist): Add choice for same-window macro
9816 specfier.
9817 (display-buffer): Mention special meaning of LABEL argument in
9818 doc-string. Fix quoting. Don't pop up a new frame even as
9819 fallback.
9820
7ca8fc42
JB
98212011-06-26 Juanma Barranquero <lekktu@gmail.com>
9822
9823 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9824 avoid deleting the current window in some cases (bug#8911).
9825
bc312254
AS
98262011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9827
9828 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9829 (Bug#8934)
9830
2db18f3f
LMI
98312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
c9d29fb8
SM
9833 * net/network-stream.el (network-stream-open-starttls):
9834 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9835 (network-stream-open-tls): Ditto.
9836
6302e0d3
LL
98372011-06-26 Leo Liu <sdl.web@gmail.com>
9838
9839 * register.el (registerv): New struct.
9840 (registerv-make): New function.
c9d29fb8
SM
9841 (jump-to-register, describe-register-1, insert-register):
9842 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9843 struct. (Bug#8415)
9844
5fdd4046
CY
98452011-06-26 Chong Yidong <cyd@stupidchicken.com>
9846
2afef60a
CY
9847 * vc/vc.el (vc-revert-show-diff): New defcustom.
9848 (vc-diff-internal): New arg specifying diff buffer.
9849 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9850 reuse an existing *vc-diff* buffer (Bug#8927).
9851
5fdd4046
CY
9852 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9853
e93db24a
GM
98542011-06-26 Glenn Morris <rgm@gnu.org>
9855
9856 * progmodes/f90.el (f90-critical-indent): New option.
9857 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9858 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9859 (f90-mode): Doc fix.
9860 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9861 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9862 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9863 (f90-match-end): Handle block, critical.
9864
eefff499
GM
98652011-06-25 Glenn Morris <rgm@gnu.org>
9866
f6ba4cc9
GM
9867 * calendar/diary-lib.el (diary-included-files): Doc fix.
9868 (diary-include-files): New function, extracted from
9869 diary-include-other-diary-files and diary-mark-included-diary-files.
9870 (diary-include-other-diary-files, diary-mark-included-diary-files):
9871 Just call diary-include-files.
9872 (diary-mark-entries): Reset diary-included-files on first call.
9873
16712304
GM
9874 * calendar/diary-lib.el (diary-mark-entries)
9875 (diary-mark-included-diary-files):
9876 Visit included diary-files in temp buffers.
9877
5d8e0d43
GM
9878 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9879 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9880 (f90-start-block-re, f90-imenu-generic-expression)
9881 (f90-looking-at-program-block-start, f90-no-block-limit):
9882 Add support for submodules.
9883
ccf7a5d5
GM
9884 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9885 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9886
11fdef7d 98872011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9888
9889 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9890 buffer-file-type before setting its value, to avoid disastrous
eefff499 9891 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9892
74f53697
JB
98932011-06-25 Juanma Barranquero <lekktu@gmail.com>
9894
9895 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9896
9897 * ses.el (ses-unload-function):
9898 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9899
9900 * proced.el (proced-unload-function):
9901 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9902
18a4ce5e
AR
99032011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9904
9905 * server.el (server-create-window-system-frame): Add parameters arg.
9906 (server-process-filter): Doc fix. Handle frame-parameters.
9907
519d22cc
JB
99082011-06-25 Juanma Barranquero <lekktu@gmail.com>
9909
9910 Fix bug#8730, bug#8781.
9911
9912 * loadhist.el (unload--set-major-mode): New function.
9913 (unload-feature): Use it.
9914
9915 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9916 (python-unload-function): New function.
9917
c206f5b0
SM
99182011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9921
f9ad64f3
GS
99222011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9923
9924 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9925 the candidates list.
9926
7d0da90e
JB
99272011-06-24 Juanma Barranquero <lekktu@gmail.com>
9928
9929 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9930
14b4e83d
RS
99312011-06-23 Richard Stallman <rms@gnu.org>
9932
9933 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9934 (rmail-variables): Set next-error-move-function.
9935 (rmail-what-message): Take argument POS.
9936 (rmail-next-error-move): New function.
9937
273d2baf
SM
99382011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9941 messages for adjacent non-terminals.
9942
56c2cc9a
RS
99432011-06-23 Richard Stallman <rms@gnu.org>
9944
9945 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9946 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9947 (rmail-start-mail): Don't specify use of rmail-mail-return;
9948 that's done by mail-bury now.
9949 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9950
d59eb518
MA
99512011-06-23 Michael Albinus <michael.albinus@gmx.de>
9952
9953 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9954 SIZE is a number.
9955
02cfc6d6
MR
99562011-06-23 Martin Rudalics <rudalics@gmx.at>
9957
9958 * window.el (get-lru-window, get-mru-window)
9959 (get-largest-window): Never return a minibuffer window.
9960 (display-buffer-pop-up-window): Fix a bug that could lead to
9961 reusing the minibuffer window.
9962 (display-buffer): Pass original specifier argument to
9963 display-buffer-function instead of the normalized one.
9964 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9965
4e323265
LL
99662011-06-22 Leo Liu <sdl.web@gmail.com>
9967
9968 * minibuffer.el (completing-read-function)
9969 (completing-read-default): Move from minibuf.c
9970
7a70468f
RS
99712011-06-22 Richard Stallman <rms@gnu.org>
9972
50718fc2
RS
9973 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9974 to Rmail even if not started by a special Rmail command.
9975
7a70468f
RS
9976 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9977 Copy the buffer currently showing just one message.
9978
297dde5a
RW
99792011-06-22 Roland Winkler <winkler@gnu.org>
9980
9981 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9982 (bibtex-clean-entry): First delete the old key so that a
9983 customized algorithm for generating the new key does not get
9984 confused by the old key.
9985 (bibtex-url): Obey regexp of first step.
9986 (bibtex-search-entries): Do not use add-to-list with local
9987 list-var.
9988
97bb1093
LMI
99892011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990
9991 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9992 stored a user name, then query for the password first, instead of
9993 waiting for SMTP to give an error message and the trying again.
9994
1c0f1a19
JD
99952011-06-22 Lawrence Mitchell <wence@gmx.li>
9996
9997 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9998 BUFFER in call-process.
9999
396f7c9d
LMI
100002011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001
10002 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10003 QUIT twice.
ddb7ffee
LMI
10004 (smtpmail-try-auth-methods): Require user name and password from
10005 auth-source.
396f7c9d 10006
8998d1b3
MR
100072011-06-22 Martin Rudalics <rudalics@gmx.at>
10008
10009 * window.el (display-buffer-default-specifiers)
10010 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10011 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10012 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10013
10014 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10015 (special-display-frame-alist, special-display-popup-frame):
10016 Remove duplicate declarations. These are now in window.el.
10017
4ea31e07
LMI
100182011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10019
c9d29fb8
SM
10020 * mail/smtpmail.el (smtpmail-via-smtp):
10021 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10022 server supports it. SMTP servers that support STARTTLS commonly
10023 require it.
10024
10025 * net/network-stream.el (network-stream-open-starttls): Support
10026 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10027 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10028
95f41d9a
LMI
10029 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10030 upgrades with `open-network-stream', and rely solely on
10031 auth-source for all credentials. Big changes throughout the file,
10032 but in particular:
c9d29fb8
SM
10033 (smtpmail-auth-credentials): Remove.
10034 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10035 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10036 MAIL FROM, too.
95f41d9a 10037
c9d29fb8
SM
10038 * net/network-stream.el (network-stream-open-starttls):
10039 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10040 STARTTLS.
10041 (auth-source): Require.
10042 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10043 (network-stream-certificate): Change cert-cert to cert and
10044 cert-key to key.
4ea31e07 10045
065ec2c7
MA
100462011-06-21 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * net/tramp-cache.el (top): Don't load the persistency file when
10049 "emacs -Q" has been called.
10050
cd93b359
DR
100512011-06-21 Tim Harper <timcharper@gmail.com>
10052
d8e4b68b
JB
10053 * term/ns-win.el (ns-initialize-window-system):
10054 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10055 resource to NO as it is not yet supported by the NS port.
10056
ae9c0411
JB
100572011-06-21 Juanma Barranquero <lekktu@gmail.com>
10058
10059 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10060 (list-dynamic-libraries): ...not here.
10061
7f3f739f
LL
100622011-06-21 Leo Liu <sdl.web@gmail.com>
10063
10064 * subr.el (sha1): Implement sha1 using secure-hash.
10065
327c8fb1
MR
100662011-06-21 Martin Rudalics <rudalics@gmx.at>
10067
10068 * window.el (display-buffer-alist): In default value do not
10069 enforce searching a window on any but the selected frame.
10070 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10071 (display-buffer-select-window): Remove function.
10072 (display-buffer-in-window): When a window on another frame gets
10073 reused, do not select it any more but just raise its frame if
10074 necessary (Bug#8851) and (Bug#8856).
10075 (display-buffer-normalize-options): Handle pop-up-frames related
10076 options more faithfully.
10077 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10078 window if it is on another frame.
c9d29fb8
SM
10079 (display-buffer-alist, display-buffer-default-specifiers):
10080 Don't make new frame unsplittable by default.
9e9de014
MR
10081 (display-buffer-normalize-argument): Fix doc-string typo and use
10082 'same-frame-other-window instead of 'other-window when associating
10083 with display-buffer-macro-specifiers.
327c8fb1 10084
7cf3f556
VB
100852011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10086
10087 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10088 New functions.
10089 (5x5-mode-map, 5x5-mode-menu): Bind them.
10090 (5x5-draw-grid): Tweak the solver's rendering.
10091
60a406cf
SM
100922011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10095 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10096
d8e4b68b 100972011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10098
10099 * menu-bar.el: Use function variable instead of switch-to-buffer.
10100 (menu-bar-select-buffer-function): New variable.
60a406cf 10101 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10102
478d6f95
SM
101032011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10106 variable's status.
10107
ca530739
JD
101082011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10109
10110 * x-dnd.el (x-dnd-version-from-flags)
10111 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10112 and long as number (Bug#8899).
10113 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10114
bcd70d97
SM
101152011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10116
60a406cf 10117 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10118 (completion-try-completion, completion-all-completions): Compute the
10119 metadata argument if it's missing; make it optional (bug#8795).
10120
60a406cf 10121 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10122 (widget-complete): Use new :completion-function property.
10123 (widget-completions-at-point): New function.
10124 (default): Use :completion-function instead of :complete.
60a406cf
SM
10125 (widget-default-completions): Rename from widget-default-complete;
10126 Rewrite.
bcd70d97
SM
10127 (widget-string-complete, widget-file-complete, widget-color-complete):
10128 Remove functions.
10129 (file, symbol, function, variable, coding-system, color):
10130 * international/mule-cmds.el (default-input-method, charset)
10131 (language-info-custom-alist):
10132 * cus-edit.el (face): Use new property :completions.
10133
10134 * progmodes/pascal.el (pascal-completions-at-point): New function.
10135 (pascal-mode): Use it.
10136 (pascal-mode-map): Use completion-at-point.
10137 (pascal-toggle-completions): Make obsolete.
10138 (pascal-complete-word, pascal-show-completions):
10139 * progmodes/octave-mod.el (octave-complete-symbol):
10140 Redefine as obsolete alias.
10141 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10142 Signal absence of completion info for old Octave,
10143 (inferior-octave-complete): Redefine as obsolete alias.
10144 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10145 (meta-completions-at-point): Rename from meta-complete-symbol and
10146 adapt it for use on completion-at-point-functions.
10147 (meta-common-mode): Use it.
10148 (meta-looking-at-backward, meta-match-buffer): Remove.
10149 (meta-complete-symbol): Redefine as obsolete alias.
10150 (meta-common-mode-map): Use completion-at-point.
10151 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10152 (makefile-mode-map): Use completion-at-point.
10153 (makefile-completions-at-point): Rename from makefile-complete and
10154 adapt it for use on completion-at-point-functions.
10155 (makefile-mode): Use it.
10156 (makefile-complete): Redefine as obsolete alias.
10157
aebf69c8
DD
101582011-06-20 Deniz Dogan <deniz@dogan.se>
10159
10160 * net/rcirc.el: Delete trailing whitespaces once and for all.
10161
bfbbb27d
DC
101622011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10163
10164 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10165
d264a46b
CY
101662011-06-19 Chong Yidong <cyd@stupidchicken.com>
10167
4ca009e5
CY
10168 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10169
d264a46b
CY
10170 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10171
fbf5b3ce
MR
101722011-06-19 Martin Rudalics <rudalics@gmx.at>
10173
10174 * window.el (display-buffer-other-window-means-other-frame):
10175 Call display-buffer-normalize-alist.
10176 (display-buffer-normalize-specifiers-1): Rename to
10177 display-buffer-normalize-argument. New argument other-frame.
10178 Rewrite.
10179 (display-buffer-normalize-specifiers-2): Rename to
10180 display-buffer-normalize-options.
10181 (display-buffer-normalize-alist-1): New function.
10182 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10183 display-buffer-normalize-alist.
10184 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10185 (display-buffer-normalize-options-inhibit): New variable.
10186 (display-buffer-normalize-specifiers): Rewrite calling
10187 display-buffer-normalize-alist,
10188 display-buffer-normalize-argument, and
10189 display-buffer-normalize-options. Don't call the latter if
10190 display-buffer-normalize-options-inhibit is non-nil.
10191 (frame-auto-delete): New option.
10192 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10193 (window-list-no-nils, window-state-ignored-parameters)
10194 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10195 (window-state-put-1, window-state-put-2, window-state-put):
10196 New functions.
9a028c23
MR
10197 (display-buffer-normalize-options): Move special-display-p group
10198 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10199
6d10d800
CY
102002011-06-18 Chong Yidong <cyd@stupidchicken.com>
10201
6420d28b
CY
10202 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10203 groups (Bug#8776).
10204 (rx-submatch-n): New function.
10205 (rx): Document it.
10206
ddb8b596
CY
10207 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10208 (Bug#8768).
10209
10210 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10211
77080289
CY
10212 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10213
61dfb316
CY
10214 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10215 anytime existing face settings are present (Bug#8889).
10216
6d10d800
CY
10217 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10218 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10219 Remove unused argument.
10220
be3fb2b8
MR
102212011-06-18 Martin Rudalics <rudalics@gmx.at>
10222
bcd70d97
SM
10223 * window.el (display-buffer-default-specifiers):
10224 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10225 pop-up-window-min-width, and another reuse-window specifier
10226 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10227 (display-buffer-normalize-specifiers-2):
10228 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10229 pop-up-windows is unset. Add a reuse-window specifier for the
10230 case popping up a new window fails.
10231 (special-display-popup-frame): Remove double quoting.
28dec25a 10232 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10233
1c6d8c76
SM
102342011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10237 according to comint-completion-addsuffix.
10238
10239 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10240 (pcomplete-suffix-list): Mark as obsolete.
10241 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10242 pcomplete-seen in the closure.
10243 (pcomplete-comint-setup): Setup completion-at-point as well.
10244 (pcomplete--entries): New function.
10245 (pcomplete--env-regexp): New var.
10246 (pcomplete-entries): Rewrite to work with partial-completion and
10247 without relying on pcomplete-suffix-list.
10248 (pcomplete-pare-list): Remove, unused.
10249
25aef8b8
MR
102502011-06-17 Martin Rudalics <rudalics@gmx.at>
10251
10252 * window.el (display-buffer-alist): Set pop-up-window-min-height
10253 and pop-up-window-min-width in default value. Reported by
10254 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10255 other-window-means-other-frame.
10256 (display-buffer-macro-specifiers): Comment out entry for
10257 other-window specifier.
10258 (display-buffer-other-window-means-other-frame): New function.
10259 (display-buffer-normalize-specifiers-1): New arguments
10260 buffer-name and label. Treat other-window case specially.
10261 (display-buffer-normalize-specifiers-2): Treat other-window case
10262 specially.
10263 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10264 (display-buffer-normalize-specifiers):
10265 Call display-buffer-normalize-specifiers-3.
25aef8b8 10266
dbad4f69
MR
102672011-06-17 Martin Rudalics <rudalics@gmx.at>
10268
10269 * window.el (same-window-p): Fix two typos introduced when
10270 adding with-no-warnings.
d1067961
MR
10271 (display-buffer-normalize-specifiers-1): Don't check
10272 pop-up-frames for 'unset initialization.
10273 (display-buffer-normalize-specifiers-2): Major rewrite using
10274 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10275 (pop-up-frames, display-buffer-reuse-frames)
10276 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10277 Suggested by David Engster <deng@randomsample.de>.
10278 (even-window-heights): Initialize to 'unset.
10279 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10280 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10281 other window case.
dbad4f69 10282
9b9c9e3a
MR
102832011-06-16 Martin Rudalics <rudalics@gmx.at>
10284
bcd70d97
SM
10285 * window.el (display-buffer-normalize-specifiers-1):
10286 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10287 second argument of display-buffer (Bug#8865).
981d5c09
MR
10288 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10289 (switch-to-buffer-other-window-same-frame)
10290 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10291 Adams (Bug#8875).
9c2755e9
MR
10292 (display-buffer): Don't check noninteractive when calling
10293 display-buffer-pop-up-frame.
10294 (display-buffer-pop-up-frame): Never pop up a frame in
10295 noninteractive mode (Bug#8857).
67222e1d
MR
10296 (enlarge-window, shrink-window): Don't report an error when the
10297 window can't be resized as requested (Bug#8862).
9b9c9e3a 10298
2b75be67
SM
102992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10300
9ffdd3ba
SM
10301 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10302
cb581a67
SM
10303 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10304
2b75be67
SM
10305 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10306
8c0e3589
AM
103072011-06-15 Alan Mackenzie <acm@muc.de>
10308
cb581a67
SM
10309 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10310 for declarators, disable knr checking to speed up for normal files.
10311 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10312
b96e6cde
LMI
103132011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10314
4bba86e6
LMI
10315 * net/network-stream.el (open-network-stream): Add the keyword
10316 :always-query-capabilities for the case where you want to force a
10317 `plain' network connection, but the protocol still requires the
10318 capabilitiy command (i.e., SMTP and EHLO).
10319
2b75be67 10320 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10321 consistency with other `-live-p' functions.
10322
efdcdbf8
SM
103232011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * window.el (same-window-buffer-names, same-window-regexps)
10326 (special-display-frame-alist, special-display-popup-frame)
10327 (special-display-function, special-display-buffer-names)
10328 (special-display-regexps, pop-up-frame-alist)
10329 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10330 (pop-up-windows, split-window-preferred-function)
10331 (split-height-threshold, split-width-threshold, even-window-heights)
10332 (display-buffer-mark-dedicated): Don't encourage the use of
10333 display-buffer-alist from Elisp code.
10334
c5cde042
DN
103352011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10336
10337 * progmodes/python.el (python-mode): Derive from prog-mode.
10338 * progmodes/ps-mode.el (ps-mode):
10339 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10340 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10341 * progmodes/ld-script.el (ld-script-mode): Likewise.
10342
baa1c9ab
MR
103432011-06-15 Martin Rudalics <rudalics@gmx.at>
10344
10345 * window.el (display-buffer-alist): Trim default value to avoid
10346 popping up a new frame (Bug#8857) or reusing an arbitrary window
10347 on another frame.
10348 (display-buffer): Do not fall back on popping up a new frame in
10349 batch mode (Bug#8857).
10350
c5dd5a51
CY
103512011-06-14 Chong Yidong <cyd@stupidchicken.com>
10352
10353 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10354 (custom-theme-summary): New function.
10355 (customize-themes): Use it.
10356
d647b7c4
GM
103572011-06-13 Glenn Morris <rgm@gnu.org>
10358
10359 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10360
9481c002
MR
103612011-06-13 Martin Rudalics <rudalics@gmx.at>
10362
357f93d2
MR
10363 * help.el (help-window): Remove variable.
10364 (help-window-point-marker, temp-buffer-max-height)
10365 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10366 (help-print-return-message): Don't set help-window.
10367 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10368 (help-window-setup-finish): Remove.
10369 (help-window-display-message, help-window-setup)
10370 (with-help-window): Major rewrite based on new
10371 display-buffer-window variable.
10372
10373 * help-mode.el (help-mode-finish): Remove help-window related
10374 code.
10375
10376 * view.el (view-exits-all-viewing-windows): Remove reference to
10377 view-return-to-alist in doc-string.
10378 (view-return-to-alist): Make obsolete.
10379 (view-buffer): Call pop-to-buffer-same-window and remove
10380 undo-window code.
10381 (view-buffer-other-window): Call pop-to-buffer-other-window and
10382 simplify code. Ignore second argument.
10383 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10384 simplify code. Ignore second argument.
10385 (view-return-to-alist-update): Make obsolete.
10386 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10387 Rewrite using quit-restore window parameters.
2b75be67
SM
10388 (view-mode-exit): Rename second argument to EXIT-ONLY.
10389 Rewrite using quit-restore-window.
357f93d2
MR
10390 (View-exit, View-exit-and-edit, View-leave, View-quit)
10391 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10392 appropriate arguments.
10393 (view-end-message): Use quit-restore window parameter.
10394
9481c002
MR
10395 * window.el (display-buffer-function): Rewrite doc-string.
10396 (display-buffer-window, display-buffer-alist): New variables.
10397 (display-buffer-split-specifiers)
10398 (display-buffer-side-specifiers)
10399 (display-buffer-macro-specifiers): New constants.
10400 (display-buffer-even-window-sizes, display-buffer-set-height)
10401 (display-buffer-set-width, display-buffer-select-window)
10402 (display-buffer-in-window, display-buffer-reuse-window)
10403 (display-buffer-split-window-1, display-buffer-split-window)
10404 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10405 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10406 (display-buffer-in-side-window, normalize-buffer-to-display)
10407 (display-buffer-normalize-specifiers-1)
10408 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10409 (display-buffer-normalize-specifiers, display-buffer-frame):
10410 New functions.
9481c002
MR
10411 (display-buffer): Major rewrite.
10412 (display-buffer-other-window, display-buffer-other-frame)
10413 (pop-to-buffer, switch-to-buffer-other-window)
10414 (switch-to-buffer-other-frame): Rewrite.
10415 (display-buffer-same-window, display-buffer-same-frame)
10416 (display-buffer-same-frame-other-window)
10417 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10418 (pop-to-buffer-other-window)
10419 (pop-to-buffer-same-frame-other-window)
10420 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10421 (switch-to-buffer-other-window-same-frame): New functions.
10422 (same-window-p, special-display-p): Rewrite disabling warnings.
10423 Make obsolete.
10424 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10425 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10426 Make obsolete
10427 (same-window-buffer-names, same-window-regexps)
10428 (special-display-frame-alist, special-display-popup-frame)
10429 (special-display-function, special-display-buffer-names)
10430 (special-display-regexps, pop-up-frame-alist)
10431 (pop-up-frame-function, split-window-preferred-function)
10432 (split-height-threshold, split-width-threshold)
10433 (even-window-heights): Make obsolete.
10434
9db51aca
GM
104352011-06-12 Glenn Morris <rgm@gnu.org>
10436
10437 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10438 Misc simplifications.
9db51aca 10439
39cffb44
MR
104402011-06-12 Martin Rudalics <rudalics@gmx.at>
10441
10442 * window.el (window-safely-shrinkable-p): Restore function which
10443 was inadvertently removed in change from 2011-06-11. Declare as
10444 obsolete.
10445
2b75be67
SM
10446 * calendar/calendar.el (calendar-generate-window):
10447 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10448 window-safely-shrinkable-p.
10449
a8955be7
GM
104502011-06-12 Glenn Morris <rgm@gnu.org>
10451
10452 * progmodes/fortran.el (fortran-mode-syntax-table):
10453 * progmodes/f90.el (f90-mode-syntax-table):
10454 Set % to punctuation. (Bug#8820)
10455 (f90-find-tag-default): Remove, no longer needed.
10456
f0d4059d
DC
104572011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10458
10459 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10460
1100a63c
CY
104612011-06-11 Chong Yidong <cyd@stupidchicken.com>
10462
10463 * image.el (image-animated-p): Return animation delay in seconds.
10464 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10465 (image-animate-timeout): Remove DELAY argument. Don't assume
10466 every subimage has the same delay; get it from image-animated-p.
10467 (image-animate): Caller changed.
10468
def722bf
MA
104692011-06-11 Michael Albinus <michael.albinus@gmx.de>
10470
10471 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10472 to ignored backtrace functions.
10473
0a2bb1a9
GM
104742011-06-11 Glenn Morris <rgm@gnu.org>
10475
10476 * calendar/appt.el (appt-disp-window-function): Doc fix.
10477 (appt-check): Handle overlapping appointments. (Bug#8337)
10478
6198ccd0
MR
104792011-06-11 Martin Rudalics <rudalics@gmx.at>
10480
10481 * window.el (window-tree-1, window-tree): New functions, moving
10482 the latter to window.el.
10483 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10484 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10485 (bw-refresh-edges): Remove.
10486 (balance-windows-1, balance-windows-2): New functions.
10487 (balance-windows): Rewrite in terms of window tree functions,
10488 balance-windows-1 and balance-windows-2.
10489 (bw-adjust-window): Remove.
10490 (balance-windows-area-adjust): New function with functionality of
10491 bw-adjust-window but using resize-window.
2b75be67
SM
10492 (set-window-text-height): Rewrite doc-string.
10493 Use normalize-live-window and resize-window.
10494 (enlarge-window-horizontally, shrink-window-horizontally):
10495 Rename argument to DELTA.
6198ccd0
MR
10496 (window-buffer-height): New function.
10497 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10498 Rewrite using new window resize routines.
2b75be67
SM
10499 (kill-buffer-and-window, mouse-autoselect-window-select):
10500 Use ignore-errors instead of condition-case.
6198ccd0
MR
10501 (quit-window): Call delete-frame instead of delete-windows-on
10502 for the only buffer on frame.
10503
9397e56f
MR
105042011-06-10 Martin Rudalics <rudalics@gmx.at>
10505
10506 * loadup.el (top-level): Load window before files for the sake
10507 of replace-buffer-in-windows.
10508
10509 * files.el (read-buffer-to-switch)
10510 (switch-to-buffer-other-window)
2b75be67
SM
10511 (switch-to-buffer-other-frame, display-buffer-other-frame):
10512 Move to window.el.
9397e56f
MR
10513
10514 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10515 (previous-buffer): Move to window.el.
10516
10517 * bindings.el (unbury-buffer): Move to window.el.
10518
10519 * window.el (delete-other-windows-vertically): Move after
10520 definition of delete-other-windows.
10521 (other-window, delete-windows-on, replace-buffer-in-windows):
10522 Move here from window.c.
10523 (record-window-buffer, unrecord-window-buffer)
10524 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10525 (switch-to-next-buffer): New functions.
10526 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10527 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10528 (previous-buffer): Move here from simple.el.
10529 Call switch-to-prev-buffer.
9397e56f
MR
10530 (bury-buffer): Move here from buffer.c. Switch to previous
10531 buffer when window cannot be deleted.
10532 (unbury-buffer): Move here from bindings.el.
10533 (ctl-x-map): Move binding for other-window from window.c to
10534 here.
10535 (read-buffer-to-switch, switch-to-buffer-other-window)
10536 (switch-to-buffer-other-frame): Move here from files.el.
10537 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10538 (switch-to-buffer): Move here from buffer.c.
10539 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10540
562dd5e9
MR
105412011-06-10 Martin Rudalics <rudalics@gmx.at>
10542
10543 * window.el (window-min-height, window-min-width): Move here
10544 from window.c. Add defcustoms and rewrite doc-strings.
10545 (resize-mini-window, resize-window): New functions.
10546 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10547 Move here from window.c.
10548 (maximize-window, minimize-window): New functions.
10549 (delete-window, delete-other-windows, split-window): Move here
10550 from window.c.
10551 (window-split-min-size): New function.
10552 (split-window-keep-point): Mention split-window-above-each-other
10553 instead of split-window-vertically.
2b75be67 10554 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10555 Rename split-window-vertically to split-window-above-each-other
10556 and provide defalias for old definition.
10557 (split-window-side-by-side, split-window-horizontally):
10558 Rename split-window-horizontally to split-window-side-by-side
10559 and provide defalias for the old definition.
562dd5e9
MR
10560 (ctl-x-map): Move bindings for delete-window,
10561 delete-other-windows and enlarge-window here from window.c.
10562 Replace bindings for split-window-vertically and
10563 split-window-horizontally by bindings for
10564 split-window-above-each-other and split-window-side-by-side.
10565
10566 * cus-start.el (all): Remove entries for window-min-height and
10567 window-min-width. Add entries for window-splits and
10568 window-nest.
10569
f0da764a
GM
105702011-06-09 Glenn Morris <rgm@gnu.org>
10571
80675c21
GM
10572 * calendar/appt.el (appt-mode-line): New function.
10573 (appt-check, appt-disp-window): Use it.
10574
f0da764a
GM
10575 * files.el (hack-one-local-variable-eval-safep):
10576 Allow minor-modes with explicit +/-1 arguments.
10577
59f623b7
TZ
105782011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10579
10580 * term/xterm.el (xterm): Add defgroup.
10581 (xterm-extra-capabilities): Add defcustom to supply known xterm
10582 capabilities, skip querying them, or query them (default).
10583 (terminal-init-xterm): Use it.
10584 (terminal-init-xterm-modify-other-keys): New function to set up
10585 modifyOtherKeys support to simplify `terminal-init-xterm'.
10586
9aab8e0d
MR
105872011-06-09 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (resize-window-reset, resize-window-reset-1)
10590 (resize-subwindows-skip-p, resize-subwindows-normal)
10591 (resize-subwindows, resize-other-windows, resize-this-window)
10592 (resize-root-window, resize-root-window-vertically)
10593 (window-deletable-p, window-or-subwindow-p)
10594 (frame-root-window-p): New functions.
10595
e8b08aee
GM
105962011-06-09 Glenn Morris <rgm@gnu.org>
10597
10598 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10599 (ange-ftp-get-files): Use it.
10600
254c37a5
AK
106012011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10602
10603 * mail/sendmail.el (mail-recover-1, mail-recover):
10604 * files.el (recover-file, recover-session):
10605 Handle dired-listing-switches not being just a single short option.
10606
35d7dbd3
GM
106072011-06-09 Glenn Morris <rgm@gnu.org>
10608
10609 * calendar/appt.el (appt-display-message, appt-disp-window):
10610 Handle lists of appointments.
10611
387522b2
MR
106122011-06-08 Martin Rudalics <rudalics@gmx.at>
10613
2b75be67
SM
10614 * window.el (one-window-p): Move down in code.
10615 Rewrite doc-string.
10616 (window-current-scroll-bars): Rewrite doc-string.
10617 Normalize live window argument.
387522b2
MR
10618 (walk-windows, get-window-with-predicate, count-windows):
10619 Rewrite doc-string. Use window-list-1.
10620 (window-in-direction-2, window-in-direction, get-mru-window):
10621 New functions.
10622
d8e4b68b 106232011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10624
10625 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10626 Doc fix (Bug#8713).
10627
106282011-06-08 Chong Yidong <cyd@stupidchicken.com>
10629
10630 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10631
106322011-06-08 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * loadhist.el (unload-feature-special-hooks):
10635 Add `comint-output-filter-functions'.
10636
0de12c52
IK
106372011-06-08 Ivan Kanis <gnu@kanis.fr>
10638
10639 * calendar/appt.el (appt-check): Move some initializations into the let.
10640
f3d1777e
MR
106412011-06-08 Martin Rudalics <rudalics@gmx.at>
10642
10643 * window.el (window-height): Defalias to window-total-height.
10644 (window-width): Defalias to window-body-width.
10645
18af70d0
CY
106462011-06-07 Chong Yidong <cyd@stupidchicken.com>
10647
10648 * image-mode.el (image-toggle-animation): New command.
10649 (image-mode-map): Bind it to RET.
10650 (image-mode): Update message.
10651 (image-toggle-display-image): Avoid a spurious cache flush.
10652 (image-transform-rotation): Doc fix.
10653 (image-transform-properties): Return quickly in the normal case.
10654 (image-animate-loop): Rename from image-animate-max-time.
10655
2b75be67 10656 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10657 (create-animated-image): Remove unnecessary function.
10658 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10659 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10660 (image-animate-timer): Use car-safe.
10661 (image-animate-timeout): Rename argument.
10662
190b47e6
MR
106632011-06-07 Martin Rudalics <rudalics@gmx.at>
10664
10665 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10666 window.c. Rename first argument to ALL-FRAMES.
10667 Rephrase doc-strings.
10668 (get-buffer-window-list): Rewrite using window-list-1.
10669 Rephrase doc-string.
a1511caf
MR
10670 (window-safe-min-height, window-safe-min-width): New constants.
10671 (window-size-ignore, window-min-size, window-min-size-1)
10672 (window-sizable, window-sizable-p, window-size-fixed-1)
10673 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10674 (window-max-delta-1, window-max-delta, window-resizable)
10675 (window-resizable-p, window-total-height, window-total-width)
10676 (window-body-width): New functions.
10677 (window-full-height-p, window-full-width-p): Rewrite using
10678 window-total-size.
10679 (window-body-height): Rewrite using window-body-size.
190b47e6 10680
85cc1f11
MR
106812011-06-06 Martin Rudalics <rudalics@gmx.at>
10682
10683 * window.el (window-right, window-left, window-child)
10684 (window-child-count, window-last-child, window-any-p)
10685 (normalize-live-buffer, normalize-live-frame)
10686 (normalize-any-window, normalize-live-window)
10687 (window-iso-combination-p, window-iso-combined-p)
10688 (window-iso-combinations)
10689 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10690 (windows-with-parameter, window-with-parameter)
10691 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10692 (window-atom-check, window-side-check, window-check):
10693 New functions.
85cc1f11
MR
10694 (ignore-window-parameters, window-sides, window-sides-vertical)
10695 (window-sides-slots): New variables.
10696 (window-size-fixed): Move down in code. Minor doc-string fix.
10697
e7156492
AS
106982011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10699
10700 * comint.el (comint-dynamic-complete-as-filename)
10701 (comint-dynamic-complete-filename): Correctly call
10702 completion-in-region.
10703
7e821d0d
DD
107042011-06-05 Deniz Dogan <deniz@dogan.se>
10705
10706 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10707 in last change.
10708
ac09b8a1
DD
107092011-06-05 Deniz Dogan <deniz@dogan.se>
10710
10711 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10712 (rcirc): Use it to prompt for encryption.
10713
34699b85
RW
107142011-06-05 Roland Winkler <winkler@gnu.org>
10715
10716 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10717 (bibtex-search-entries): New command bound to C-c C-a.
10718 (bibtex-display-entries): New function.
10719
004dedd3
RW
107202011-06-05 Roland Winkler <winkler@gnu.org>
10721
10722 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10723 (bibtex-insert-kill): After yanking insert newline if necessary.
10724 (bibtex-initialize): Call bibtex-string-files-init only once.
10725 (bibtex-mode): Do not call easy-menu-add.
10726 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10727 (bibtex-yank): Set arg properly if nil.
10728
022fe7ce
RW
107292011-06-05 Roland Winkler <winkler@gnu.org>
10730
2b75be67
SM
10731 * textmodes/bibtex.el (bibtex-search-entry-globally):
10732 New variable.
022fe7ce
RW
10733 (bibtex-search-entry): Use it.
10734
b7c3692a
RW
107352011-06-05 Roland Winkler <winkler@gnu.org>
10736
10737 * textmodes/bibtex.el (bibtex-entry-format): New option
10738 sort-fields.
10739 (bibtex-format-entry, bibtex-reformat): Honor this option.
10740 (bibtex-parse-entry): Return fields in proper order.
10741
8eda563d
JB
107422011-06-05 Juanma Barranquero <lekktu@gmail.com>
10743
10744 * doc-view.el (doc-view-remove-if): Move computation of result out
10745 of `dolist' to silence misleading lexical-binding warning.
10746
7dbe3dbc
CY
107472011-06-04 Chong Yidong <cyd@stupidchicken.com>
10748
10749 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10750 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10751
0c33dd17
MA
107522011-06-04 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10755 "SunOS 5.10".
10756
f8f91c2b
MA
107572011-06-04 Michael Albinus <michael.albinus@gmx.de>
10758
10759 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10760 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10761 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10762 (tramp-parse-putty):
10763 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10764 (tramp-completion-function-alist-ssh)
10765 (tramp-completion-function-alist-telnet)
10766 (tramp-completion-function-alist-su)
10767 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10768 cookie.
10769
10770 * net/tramp-ftp.el:
10771 * net/tramp-sh.el:
10772 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10773 load "tramp.el" `tramp-set-completion-function'.
10774
e17d9003
SM
107752011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * shell.el: Require and use pcomplete.
10778 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10779 (shell-completion-vars): Set pcomplete-default-completion-function.
10780
6c4cab03
DD
107812011-06-04 Deniz Dogan <deniz@dogan.se>
10782
10783 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10784 `memq' (Bug#8799).
10785
ea9fafe0
SM
107862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10789
b3e945d3
JB
107902011-06-02 Juanma Barranquero <lekktu@gmail.com>
10791
10792 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10793 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10794 * vc/log-view.el (log-view-beginning-of-defun):
10795 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10796 (smerge-refine-forward, smerge-refine-chopup-region):
10797 Silence warning for unused `dotimes' counter variables.
10798
7d520089
SM
107992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * net/tramp.el (tramp-with-progress-reporter): Rename from
10802 with-progress-reporter. Use `declare'.
10803 * net/tramp-smb.el:
10804 * net/tramp-sh.el:
10805 * net/tramp-gvfs.el: Update all uses.
10806
a1c2400f
JB
108072011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10808
10809 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10810 buffer isn't killed before making it current.
10811
2403c841
SM
108122011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 Silence various byte-compiler warnings.
10815 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10816 `access-type' and new obsolescence format.
10817 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10818 new format.
10819 (byte-compile-check-variable): New `access-type' argument.
10820 Only warn if the access-type is obsolete.
10821 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10822 (byte-compile-variable-set): Adjust callers.
10823 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10824 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10825 setting it as obsolete.
10826 * simple.el (minibuffer-completing-symbol):
10827 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10828 access as obsolete.
10829 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10830 obsolete yet.
10831 * international/quail.el (quail-mouse-choose-completion): Remove unused
10832 code referring to obsolete var.
10833 (quail-choose-completion-string): Remove.
10834 * server.el (server-clients-with, server-kill-buffer-query-function)
10835 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10836 * proced.el (proced-send-signal):
10837 * emacs-lisp/lisp.el (lisp-complete-symbol):
10838 Replace completion-annotate-function with completion-extra-properties.
10839
2462470b
SM
108402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10841
fb5b2591
SM
10842 * simple.el (goto-line): Use read-number.
10843 (overriding-map-is-bound): Remove.
10844 (saved-overriding-map): Change default.
10845 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10846 Take the map as argument.
10847 (universal-argument, negative-argument, digit-argument): Use it.
10848 (restore-overriding-map): Adjust.
10849 (do-auto-fill): Use fill-forward-paragraph.
10850 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10851
fd6fa53f
SM
10852 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10853 (minibuffer-inactive-mode): New major mode.
10854 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10855 the *Messages* buffer" hack.
10856 (mouse-popup-menubar): Don't burp if the event is a normal key.
10857
2462470b
SM
10858 Miscellaneous tweaks.
10859 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10860 lexical scoping as in subr.el's dolist and dotimes.
10861 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10862 Silence compiler warning.
10863 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10864 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10865 * international/ccl.el (ccl-compile): Trivial simplification.
10866 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10867 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10868 `printflag' argument.
10869 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10870 Purecopy the whole obsolescence data.
10871
108bf785
LL
108722011-06-01 Leo Liu <sdl.web@gmail.com>
10873
10874 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10875 improve doc-string as suggested by Marco Pessotto
10876 <melmothx@gmail.com>.
10877 (rcirc-print): Fix last change.
10878
30a23501
SM
108792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * minibuffer.el (complete-with-action): Return nil for the metadata and
10882 boundaries of non-functional tables.
10883 (completion-table-dynamic): Return nil for the metadata.
10884 (completion-table-with-terminator): Add default case, using
10885 complete-with-action.
10886 (completion--metadata): New function.
10887 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10888 to try and avoid pathological performance problems.
10889 (completion--embedded-envvar-table): Return `category' metadata.
10890
bcd54f83
LMI
108912011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10892
10893 * subr.el (process-alive-p): New tiny convenience function.
10894
e227544d
SM
108952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10898 content but also its previous major mode.
10899
e8296fdc
HE
109002011-05-31 Helmut Eller <eller.helmut@gmail.com>
10901
4d61f28d 10902 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10903 *Backtrace* buffer when we exit with C-M-c.
10904
620c53a6
SM
109052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * minibuffer.el: Add metadata method to completion tables.
10908 (completion-category-overrides): New defcustom.
10909 (completion-metadata, completion--field-metadata)
10910 (completion-metadata-get, completion--styles)
10911 (completion--cycle-threshold): New functions.
10912 (completion-try-completion, completion-all-completions):
10913 Add `metadata' argument to choose completion-styles.
10914 (completion--do-completion): Use metadata to choose cycling.
10915 (completion-all-sorted-completions): Use metadata for sorting.
10916 Remove :completion-cycle-penalty which is not needed any more.
10917 (completion--try-word-completion): Add `metadata' argument.
10918 (minibuffer-completion-help): Check metadata for annotation function
10919 and sorting.
10920 (completion-file-name-table): Return `category' metadata.
10921 (minibuffer-completing-file-name): Make obsolete.
10922 * simple.el (minibuffer-completing-symbol): Make obsolete.
10923 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10924 completion-try-completion.
10925
1257e755
SM
109262011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10929
3767e706
LL
109302011-05-30 Leo Liu <sdl.web@gmail.com>
10931
10932 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10933 (rcirc-print): Decode all incoming messages (bug#8744).
10934 (rcirc-decode-coding-system): Allow value nil for automatic coding
10935 system detection.
3767e706 10936
d1a5d56a
GM
109372011-06-01 Glenn Morris <rgm@gnu.org>
10938
10939 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10940
e8cbec34
CY
109412011-05-29 Chong Yidong <cyd@stupidchicken.com>
10942
10943 * image.el (image-animate-max-time): Allow nil and t values.
10944 Default to nil.
10945 (create-animated-image): Doc fix.
10946 (image-animate-start): Remove second arg; just use
10947 image-animate-max-time.
10948 (image-animate-timeout): Doc fix. Args changed.
10949
10950 * image-mode.el (image-toggle-display-image): Ensure that the
10951 image spec passed to the animate timer is the same object as in
58179cce 10952 the buffer's display property (Bug#6981).
e8cbec34
CY
10953 (image-transform-properties): Doc fix.
10954
10955 * image.el (image-animate-max-time): Default to nil.
10956
159daf87
MR
109572011-05-29 Martin Rudalics <rudalics@gmx.at>
10958
10959 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10960 entire buffer list (Bug#8184).
10961
d66c4c7c
CY
109622011-05-29 Chong Yidong <cyd@stupidchicken.com>
10963
10964 * image.el (imagemagick-types-inhibit)
10965 (imagemagick-register-types): Doc fix.
10966
80aec780
DD
109672011-05-29 Deniz Dogan <deniz@dogan.se>
10968
10969 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10970 default.
10971
1dd3c2d9
CY
109722011-05-29 Chong Yidong <cyd@stupidchicken.com>
10973
10974 * select.el: Don't perform clipboard-manager saving in hooks;
10975 leave the hooks empty.
10976
60e56523
LL
109772011-05-28 Leo Liu <sdl.web@gmail.com>
10978
10979 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10980 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10981 (occur-edit-mode): New major mode (Bug#8463).
10982 (occur-after-change-function): New function.
10983 (occur-engine): Give Occur tags a read-only property.
10984
2b1e1a22
KR
109852011-05-28 Kevin Ryde <user42@zip.com.au>
10986
10987 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10988
5d344e88
CY
109892011-05-28 Chong Yidong <cyd@stupidchicken.com>
10990
8e6ca83d
CY
10991 * bindings.el (help-echo): Make the initial non-indicator dash
10992 empty on graphical terminals (Bug#7295).
10993
5d344e88
CY
10994 * files.el (auto-mode-alist): Move config rule after the
10995 in-stripping one (Bug#8547).
10996
bfbbace7
CY
10997 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10998
fbeba6e2
CY
10999 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11000 setting (Bug#8740).
11001
60ed8c72
AA
110022011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11003
4ac619f0
AA
11004 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11005 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11006 (Bug#8539).
60ed8c72 11007
23db196e
CY
110082011-05-28 Chong Yidong <cyd@stupidchicken.com>
11009
11010 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11011
5012f24c
DK
110122011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11013
11014 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11015 (hs-hide-block-at-point, hs-find-block-beginning)
11016 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11017 (Bug#8279).
11018
6a639b16
GM
110192011-05-28 Glenn Morris <rgm@gnu.org>
11020
11021 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11022
d43eaf2c
CY
110232011-05-28 Chong Yidong <cyd@stupidchicken.com>
11024
5199bde1
CY
11025 * help-fns.el (describe-function-1): If the function is a derived
11026 major mode, print the parent mode.
11027
d43eaf2c
CY
11028 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11029 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11030
423428a8
SM
110312011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11032
0ff8e1ba 11033 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11034 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11035 * progmodes/etags.el (tags-completion-at-point-function):
11036 * info-look.el (info-lookup-completions-at-point): Mark as
11037 non-exclusive.
11038 (info-complete): Adjust accordingly.
11039
423428a8
SM
11040 * info-look.el: Convert to lexical-binding and completion-at-point.
11041 (info-lookup-completions-at-point): New function.
11042 (info-complete): Use it and completion-in-region.
11043
b74aa22b
DA
110442011-05-28 Drew Adams <drew.adams@oracle.com>
11045
11046 * isearch.el: Let M-e start with point at the first mismatched char.
11047 (isearch-fail-pos): New function.
11048 (isearch-edit-string): Use it.
11049
66e2e71d
DK
110502011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11051
11052 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11053
b1890b0f 110542011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11055
11056 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11057 traversal functions for avl-trees.
11058 (avl-tree--stack): New struct.
11059 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11060 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11061 (avl-tree--do-enter): Add optional `updatefun' arg.
11062 Change return value.
eb95d01d 11063 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11064 (avl-tree--do-delete): Add `test' and `nilflag' args.
11065 Change return value.
eb95d01d
TC
11066 (avl-tree-member): Add optional `nilflag'
11067 (avl-tree-member-p): New function.
11068 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11069 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11070 (avl-tree-stack-empty-p): New functions.
11071
3769ddcf
TC
11072 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11073 avl-tree--del-balance1 and make it work both ways.
11074 (avl-tree--del-balance2): Remove.
11075 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11076 make it work both ways.
11077 (avl-tree--enter-balance2): Remove.
11078 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11079 New macros.
11080 (avl-tree--mapc, avl-tree-map): Add direction argument.
11081
eb95d01d 110822011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11083
11084 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11085
a9f737ee
CY
110862011-05-27 Chong Yidong <cyd@stupidchicken.com>
11087
11088 * select.el: Support clipboard managers with built-in function
11089 x-clipboard-manager-save, via delete-frame-functions and
11090 kill-emacs-hook.
11091 (xselect-convert-to-targets): Add MULTIPLE target to list.
11092 (xselect-convert-to-save-targets): New function.
11093
c92a1e54
KH
110942011-05-27 Kenichi Handa <handa@m17n.org>
11095
11096 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11097 let-binding rfc2047-encode-encoded-words to nil.
11098
e145f188
GM
110992011-05-27 Glenn Morris <rgm@gnu.org>
11100
5ec8a862
GM
11101 * mail/emacsbug.el: Don't require url-util.
11102
4b29d9fb
GM
11103 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11104
e145f188
GM
11105 * files.el (set-auto-mode):
11106 Also respect mode: entries at the end of the file. (Bug#8586)
11107
7d15102b
GM
111082011-05-26 Glenn Morris <rgm@gnu.org>
11109
98f593b8
GM
11110 * files.el (hack-local-variables-prop-line, hack-local-variables):
11111 Downcase mode names, as seems to be traditional.
27b48e63 11112 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11113
7d15102b
GM
11114 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11115 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11116
51d5b4ec
JD
111172011-05-25 Julien Danjou <julien@danjou.info>
11118
11119 * textmodes/rst.el (rst-define-level-faces): Do not define face
11120 symbol if it is already defined.
11121
91513f63
VB
111222011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11123
11124 * play/5x5.el (5x5-new-game, 5x5-randomize):
11125 Reset 5x5-solver-output to nil when a new grid is cast.
11126 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11127 these debugging traces, as defmacro breaks the compiled code.
11128
4d90d6d0
DK
111292011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11130
11131 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11132
e1b90ef6
LL
111332011-05-24 Leo Liu <sdl.web@gmail.com>
11134
11135 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11136 (vc-bzr-sha1): Adapt.
11137
d8e4b68b 11138 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11139
11140 * bindings.el: Provide sha1 feature.
11141
db0406bb 111422011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11143
11144 * mail/sendmail.el: Require `rfc2047'.
11145 (mail-insert-from-field): Do not perform RFC2047 encoding.
11146 (mail-encode-header): New function.
11147 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11148 buffer to the return value of select-message-coding-system.
11149 Call mail-encode-header.
b8d747b9
KH
11150
11151 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11152
db0406bb 111532011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11154
4d90d6d0
DK
11155 * mail/supercite.el (sc-default-cite-frame):
11156 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11157
eb8a5e9b
GM
111582011-05-24 Glenn Morris <rgm@gnu.org>
11159
f8630703
GM
11160 * progmodes/python.el (brm-menu): Declare.
11161
8831bbed
GM
11162 * emulation/viper.el (viper-set-hooks): Declare.
11163
eb8a5e9b
GM
11164 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11165 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11166 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11167 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11168 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11169 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11170
a2a25d24
SM
111712011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 Add an :exit-function for completion-at-point.
11174
11175 * minibuffer.el (completion--done): New fun.
11176 (completion--do-completion): Use it. New arg `expect-exact'.
11177 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11178 since completion--do-completion does it for us now.
11179 (minibuffer-force-complete): Use completion--done and
11180 completion--replace. Handle sole-completion case with more care.
11181 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11182 (completion-extra-properties): New var.
11183 (completion-annotate-function): Make obsolete.
11184 (minibuffer-completion-help): Adjust accordingly.
11185 Use completion-list-insert-choice-function.
11186 (completion-at-point, completion-help-at-point):
11187 Bind completion-extra-properties.
11188 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11189 * simple.el (completion-list-insert-choice-function): New var.
11190 (completion-setup-function): Preserve it.
11191 (choose-completion): Pay attention to it, shuffle the code a bit.
11192 (choose-completion-string): New arg `insert-function'.
11193
11194 * textmodes/bibtex.el: Convert to lexical binding.
11195 (bibtex-mode-map): Use completion-at-point.
11196 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11197 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11198 (bibtex-complete): Define as obsolete alias.
11199 (bibtex-complete-internal): Remove.
11200 (bibtex-format-entry): Remove unused sub-group in regexp.
11201 * shell.el (shell--command-completion-data)
11202 (shell-environment-variable-completion):
11203 * pcomplete.el (pcomplete-completions-at-point):
11204 * comint.el (comint--complete-file-name-data): Use :exit-function
11205 instead of completion-table-with-terminator so it also works for
11206 choose-completion.
11207
e44e373d
SM
112082011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11209
4f91a816
SM
11210 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11211
782fc819
SM
11212 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11213 (bug#8710).
11214
e44e373d
SM
11215 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11216
381987c3
KM
112172011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11218
11219 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11220 customization variable and implement: If non-nil, auto-fill will
11221 be inhibited while on topic's header line.
11222
b776bc70
VB
112232011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11224
11225 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11226 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11227 always have a solution in grid size = 5 cases.
11228 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11229 (5x5-solver-output, 5x5-log-buffer): New vars.
11230 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11231 Make these variables buffer local to achieve 5x5 multi-session-ness.
11232 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11233 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11234 (5x5-solve-suggest): New funs.
11235 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11236 randomize a grid so that we ensure that there is always a solution.
11237 (5x5-make-random-grid): Allow other movement than flipping.
11238
7de88b6e
KR
112392011-05-23 Kevin Ryde <user42@zip.com.au>
11240
11241 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11242 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11243 advice and passes PREDICATE.
11244
b1ef1257
SM
112452011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11246
bbca48fe
SM
11247 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11248 byte-compile-lambda if it's actually a lambda.
11249
b1ef1257
SM
11250 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11251 Fix function quoting. Use backquote better.
11252
92a9cc65
YS
112532011-05-22 Yuanle Song <sylecn@gmail.com>
11254
11255 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11256 matching (Bug#8516).
11257
f0fb8059
JA
112582011-01-22 Jari Aalto <jari.aalto@cante.net>
11259
11260 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11261 different face (Bug#8178).
11262
d5b44c93
CY
112632011-05-22 Chong Yidong <cyd@stupidchicken.com>
11264
11265 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11266 defface (Bug#8144).
11267
79106a44
SM
112682011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11269
9c848d8a
SM
11270 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11271 funcall as well (bug#8712). Warn when performing those conversions.
11272 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11273
79106a44
SM
11274 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11275
88dfa756
GM
112762011-05-22 Glenn Morris <rgm@gnu.org>
11277
11278 * files.el (hack-local-variables-prop-line): Small simplifications.
11279 (hack-local-variables, hack-local-variables-prop-line):
11280 If MODE-ONLY, return the mode, rather than just `t'.
11281
b7cf2c79
SM
112822011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11285
3f1a8558
GM
112862011-05-21 Glenn Morris <rgm@gnu.org>
11287
7e4ccca3
GM
11288 * files.el (hack-local-variables-prop-line, hack-local-variables):
11289 If only interested in the mode, don't bother doing the other stuff.
11290
637d46ca
GM
11291 * image-mode.el (image-after-revert-hook):
11292 Redraw all frames on which the image is visible. (Bug#8567)
11293
973d955b
GM
11294 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11295
3f1a8558
GM
11296 * wid-edit.el (widget-checklist-match-inline):
11297 Fix 2011-04-19 change. (Bug#8649)
11298
96479927
SM
112992011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11300
1dcf791f
SM
11301 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11302 Also allow singlespace after single-letter capitals followed by a dot.
11303
96479927
SM
11304 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11305 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11306
35fd0881
N
113072011-05-20 Nix <nix@esperi.org.uk>
11308
11309 * files.el (basic-save-buffer-2):
11310 Fix handling of break-hardlink-on-save with non-existent files.
11311
82745640
DD
113122011-05-19 Deniz Dogan <deniz@dogan.se>
11313
11314 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11315 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11316
4a720484
GM
113172011-05-19 Glenn Morris <rgm@gnu.org>
11318
d1f21341
GM
11319 * progmodes/f90.el (f90-type-def-re):
11320 Handle "type, bind(c)". (Bug#8691)
11321
4a720484
GM
11322 * emacs-lisp/autoload.el (batch-update-autoloads):
11323 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11324
2fb0a219
MA
113252011-05-18 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11328 property for the correct connection in case of multihops.
11329
e565dd37
GM
113302011-05-18 Glenn Morris <rgm@gnu.org>
11331
c2571358 11332 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11333 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11334
e565dd37
GM
11335 Rationalize calendar handling of day and month abbrev-arrays.
11336 * calendar/calendar.el (calendar-customized-p): New function.
11337 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11338 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11339 Add :set function.
11340 (calendar-abbrev-length, calendar-day-abbrev-array)
11341 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11342 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11343 Elements may no longer be nil.
11344 (calendar-day-name, calendar-month-name):
11345 Update for changed nature of abbrev arrays.
11346 * calendar/diary-lib.el (diary-name-pattern):
11347 Update for changed nature of abbrev arrays.
11348 (diary-mark-entries-1): Update calendar-make-alist calls.
11349 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11350 * calendar/cal-html.el (cal-html-day-abbrev-array):
11351 Simply inherit from calendar-day-abbrev-array.
11352
1d99a745
SM
113532011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * progmodes/grep.el (grep-mode): Disable default
11356 compilation-directory-matcher setting (bug#8684).
11357
7c1d9aa0
MA
113582011-05-17 Michael Albinus <michael.albinus@gmx.de>
11359
11360 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11361 instead of "head" and "tail". There were problems with SunOS 5.9,
11362 and it performs better.
11363
3952e9d8
GM
113642011-05-17 Glenn Morris <rgm@gnu.org>
11365
2dd12e7f
GM
11366 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11367
e4157b9c
GM
11368 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11369 Replace obsolete function.
11370
8e249bbd
GM
11371 * shell.el (pcomplete-parse-arguments-function): Declare.
11372
3952e9d8
GM
11373 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11374 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11375 (appt-check): Doc fixes.
11376 (appt-disp-window-function, appt-delete-window-function):
11377 Remove needless special case in custom :type.
11378 (appt-display-count): Default to 0, not nil.
11379 (appt-check): Reset appt-display-count to 0, not nil.
11380
c71a0d48 113812011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11382
c71a0d48
GM
11383 * progmodes/python.el (python-font-lock-keywords):
11384 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11385
31d55be9
SM
113862011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11387
11388 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11389
3bfacb2f
KR
113902011-05-16 Kevin Ryde <user42@zip.com.au>
11391
11392 * info-look.el (makefile-automake-mode): New setups, looking in
11393 automake manual, then makefile-mode.
11394 (makefile-mode): Remove automake manual, have it just in
11395 makefile-automake-mode since there's various things different or
11396 not relevant to plain make.
11397 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11398 believe a hypothetical automake-mode would go to makefile-mode,
11399 not the other way around.
11400
c8e83751
CY
114012011-05-15 Chong Yidong <cyd@stupidchicken.com>
11402
5e9e35cd
CY
11403 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11404 hunk-end tags (Bug#8672).
11405
c8e83751
CY
11406 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11407 vc-annotate-show-diff-revision-at-line (Bug#8671).
11408
50b23e5a
GM
114092011-05-14 Glenn Morris <rgm@gnu.org>
11410
7210a739
GM
11411 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11412 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11413 (change-log-font-lock-keywords): Also handle multiple author lines
11414 with leading tabs. (Bug#8644)
7210a739 11415
4691905a
GM
11416 * calendar/appt.el (appt-check): Rename some local variables.
11417 Some simplification/reordering.
11418
50b23e5a
GM
11419 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11420 (feedmail-sendmail-f-doesnt-sell-me-out)
11421 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11422 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11423 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11424 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11425 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11426 (feedmail-binmail-gnulinuxish-template):
11427 Rename from feedmail-binmail-linuxish-template.
11428 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11429 Use insert-buffer-substring.
11430
215cda7c
BC
114312011-05-14 Bill Carpenter <bill@carpenter.org>
11432
11433 * mail/feedmail.el (feedmail-patch-level): Increase.
11434 (feedmail-debug): New custom group.
11435 (feedmail-confirm-outgoing-timeout)
11436 (feedmail-sendmail-f-doesnt-sell-me-out)
11437 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11438 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11439 (feedmail-sender-line, feedmail-from-line)
11440 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11441 (feedmail-spray-this-address)
215cda7c
BC
11442 (feedmail-spray-address-fiddle-plex-list)
11443 (feedmail-queue-use-send-time-for-date)
11444 (feedmail-queue-use-send-time-for-message-id)
11445 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11446 (feedmail-buffer-eating-function):
11447 Doc fixes.
11448 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11449 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11450 (feedmail-message-action-scroll-down): New functions.
11451 (feedmail-queue-directory, feedmail-queue-draft-directory):
11452 Use expand-file-name.
11453 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11454 Remove C-v help entry.
11455 (feedmail-queue-buffer-file-name): New variable.
11456 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11457 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11458 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11459 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11460 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11461 (feedmail-message-action-toggle-spray)
11462 (feedmail-run-the-queue-no-prompts)
11463 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11464 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11465 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11466 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11467 (feedmail-envelope-deducer, feedmail-fiddle-from)
11468 (feedmail-fiddle-sender, feedmail-default-date-generator)
11469 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11470 (feedmail-fiddle-spray-address)
11471 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11472 (feedmail-fiddle-list-of-fiddle-plexes)
11473 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11474 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11475 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11476 Change default. Doc fix.
11477 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11478 (feedmail-binmail-linuxish-template): New constant.
11479 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11480 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11481 (feedmail-send-it): Add debug call.
11482 Use feedmail-queue-buffer-file-name, and
11483 feedmail-send-it-immediately-wrapper.
11484 (feedmail-message-action-send): Add debug call.
11485 Use feedmail-send-it-immediately-wrapper.
11486 (feedmail-queue-express-to-queue): Add debug call.
11487 Run feedmail-queue-express-hook.
11488 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11489 (feedmail-message-action-help-blat):
11490 Rename from feedmail-queue-send-edit-prompt-help-first.
11491 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11492 Check line-endings. Handle errors better.
11493 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11494 Doc fix. Add debug call.
11495 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11496 Use feedmail-queue-send-edit-prompt-inner.
11497 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11498 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11499 from feedmail-queue-send-edit-prompt.
11500 (feedmail-queue-send-edit-prompt-help)
11501 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11502 (feedmail-tidy-up-slug): Add debug call.
11503 Respect feedmail-queue-slug-suspect-regexp.
11504 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11505 (feedmail-dump-message-to-queue): Add debug call.
11506 Expand queue-directory.
11507 (feedmail-dump-message-to-queue): Change message slightly.
11508 Use feedmail-say-chatter.
11509 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11510 (feedmail-send-it-immediately-wrapper): New function.
11511 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11512 Insert empty string rather than newline. Handle full-frame case.
11513 Use catch/throw. Use feedmail-say-chatter.
11514 (feedmail-fiddle-from): Try mail-host-address.
11515 (feedmail-default-message-id-generator): Doc fix.
11516 Bind system-time-locale. Handle missing end.
11517 (feedmail-fiddle-x-mailer): Add debug call.
11518 Handle feedmail-x-mailer-line being nil.
11519 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11520 Add debug call. Use buffer-substring-no-properties.
11521 (feedmail-say-debug, feedmail-say-chatter): New functions.
11522 (feedmail-find-eoh): Give an explicit error.
11523
42c7e61e
UJ
115242011-05-13 Ulf Jasper <ulf.jasper@web.de>
11525
c2571358 11526 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11527 family from helvetica to sans.
c2571358 11528 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11529 etc/images/newsticker.
11530
c2571358 11531 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11532 family from helvetica to sans.
11533
11534 * net/newst-plainview.el (newsticker-new-item-face)
11535 (newsticker-old-item-face, newsticker-immortal-item-face)
11536 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11537 (newsticker-statistics-face): Change default family from
42c7e61e 11538 helvetica to sans.
c2571358 11539 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11540 etc/images/newsticker.
11541
5d3385a0
JB
11542 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11543 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11544 auto-marking.
11545
8497a297
DV
115462011-05-13 Didier Verna <didier@xemacs.org>
11547
11548 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11549 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11550 TODO entries.
8497a297
DV
11551 (lisp-lambda-list-keyword-parameter-indentation)
11552 (lisp-lambda-list-keyword-parameter-alignment)
11553 (lisp-lambda-list-keyword-alignment): New customizable user options.
11554 (lisp-indent-defun-method): Improve docstring.
11555 (extended-loop-p): Fix comment.
11556 (lisp-indent-lambda-list-keywords-regexp): New variable.
11557 (lisp-indent-lambda-list): New function.
11558 (lisp-indent-259): Use it.
11559 (lisp-indent-defmethod): Support for more than one
11560 method qualifier and properly indent methods lambda-lists.
11561 (defgeneric): Provide a missing common-lisp-indent-function property.
11562
f278f87f
SM
115632011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11566 bounds for the empty string (bug#8667).
11567
5233edd7
GM
115682011-05-13 Glenn Morris <rgm@gnu.org>
11569
5237a44f
GM
11570 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11571
8340026c 11572 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11573 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11574
5233edd7 11575 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11576 (appt-time-msg-list): Doc fix.
a5464014 11577 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11578
92d10796
AS
115792011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11580
11581 * progmodes/ld-script.el (ld-script-keywords)
11582 (ld-script-builtins): Update keywords list.
11583
914a0ae1
SM
115842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11585
c89be45f
SM
11586 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11587
914a0ae1
SM
11588 * shell.el (shell-completion-vars): New function.
11589 (shell-mode):
11590 * simple.el (read-shell-command): Use it.
11591 (blink-matching-open): No need for " [...]" in minibuffer-message.
11592
98dc3df3
GM
115932011-05-12 Glenn Morris <rgm@gnu.org>
11594
11595 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11596 (appt-check): Simplify.
11597
d2fc7e3d 115982011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11599
4d61f28d 11600 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11601 literal "/dev/null".
11602
d2fc7e3d 116032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11604
11605 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11606 Fix typo.
11607
d2fc7e3d 116082011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11609
3f254caa
SM
11610 * progmodes/which-func.el (which-function):
11611 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11612 which might not be defined (Bug#8260).
11613
d45885f7
GM
116142011-05-12 Glenn Morris <rgm@gnu.org>
11615
11616 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11617 Let byte-compile-initial-macro-environment always take precedence.
11618
488086f4
SM
116192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * net/rcirc.el: Add support for SSL/TLS connections.
11622 (rcirc-server-alist): New field `encryption'.
11623 (rcirc): Check `encryption' settings.
11624 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11625 Merge make-local-variable into `set'.
11626 (rcirc--connection-open-p): New function.
11627 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11628 the process is not a network process (e.g. running gnutls-cli).
11629 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11630 Make rcirc-(en|de)code-coding-system local here.
11631 (rcirc-mode): Merge make-local-variable into `set'.
11632 (rcirc-parent-buffer): Make permanent buffer-local.
11633 (rcirc-multiline-minor-mode): Don't do it here.
11634 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11635 there's no server buffer.
11636
7d3b9d44
GM
116372011-05-11 Glenn Morris <rgm@gnu.org>
11638
f64049c6
GM
11639 * newcomment.el (comment-kill): Prefix "unused" local.
11640
93c9df73
GM
11641 * term/w32console.el (get-screen-color): Declare.
11642
7d3b9d44
GM
11643 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11644 Handle symbol elements of byte-compile-initial-macro-environment.
11645
9e2dd53f
LL
116462011-05-10 Leo Liu <sdl.web@gmail.com>
11647
488086f4
SM
11648 * bookmark.el (bookmark-bmenu-mode-map):
11649 Bind bookmark-bmenu-search to `/'.
8b340240 11650
9e2dd53f 11651 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11652 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11653 (Footnote-unicode): New function.
11654 (footnote-style-alist): Add unicode style to the list.
11655 (footnote-style): Doc fix.
9e2dd53f 11656
79b70037
GM
116572011-05-10 Jim Meyering <meyering@redhat.com>
11658
11659 Fix doubled-word typos.
11660 * international/quail.el (quail-insert-kbd-layout): and and -> and
11661 * kermit.el: and and -> and
11662 * net/ldap.el (ldap-search-internal): to to -> to
11663 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11664 * progmodes/js.el (js-mode): and and -> and
11665 * textmodes/artist.el (artist-move-to-xy): at at -> at
11666 (artist-draw-region-trim-line-endings): if if -> if
11667 And Safetyc -> Safety.
11668 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11669
b8f82dc1 116702011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11671 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11672
11673 * files.el (hack-one-local-variable-eval-safep):
11674 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11675
4f99f44b
GM
116762011-05-10 Glenn Morris <rgm@gnu.org>
11677
11678 * calendar/diary-lib.el (diary-list-entries-hook)
11679 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11680 (diary-nongregorian-marking-hook, diary-list-entries)
11681 (diary-include-other-diary-files, diary-mark-entries)
11682 (diary-mark-included-diary-files): Doc fixes.
11683
84f29e6b
JB
116842011-05-09 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * misc.el: Require tabulated-list.el during compilation.
11687
9bedd73a
CY
116882011-05-09 Chong Yidong <cyd@stupidchicken.com>
11689
488086f4
SM
11690 * progmodes/compile.el (compilation-start):
11691 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11692 (compilation-filter-hook): Doc fix.
11693
797c735c
DD
116942011-05-09 Deniz Dogan <deniz@dogan.se>
11695
11696 * wdired.el: Remove outdated installation comment. Fix usage
11697 comment.
11698
5f4b1dfe
JB
116992011-05-09 Juanma Barranquero <lekktu@gmail.com>
11700
11701 * misc.el: Implement new command `list-dynamic-libraries'.
11702 (list-dynamic-libraries--loaded-only-p): New variable.
11703 (list-dynamic-libraries--refresh): New function.
11704 (list-dynamic-libraries): New command.
11705
4c44026c
CY
117062011-05-09 Chong Yidong <cyd@stupidchicken.com>
11707
488086f4
SM
11708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11709 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11710 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11711 higher priority to avoid clobbering by gnu.
11712
027f966d
CY
117132011-05-08 Chong Yidong <cyd@stupidchicken.com>
11714
11715 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11716 if the face has existing theme settings (Bug#8454).
11717
085f5d7d
CY
117182011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11719
488086f4
SM
11720 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11721 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11722
2a86a00c
RS
11723 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11724 special file names `.' and `..' (Bug#8259).
11725
d9c54a06
CY
117262011-05-08 Chong Yidong <cyd@stupidchicken.com>
11727
488086f4
SM
11728 * progmodes/grep.el (grep-mode-font-lock-keywords):
11729 Remove buffer-changing entries.
d9c54a06
CY
11730 (grep-filter): New function.
11731 (grep-mode): Add it to compilation-filter-hook.
11732
11733 * progmodes/compile.el (compilation-filter-hook)
11734 (compilation-filter-start): New defvars.
11735 (compilation-filter): Call compilation-filter-hook prior to
11736 updating the process mark.
11737
c4662635
SM
117382011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11741
b0512a1d
EZ
117422011-05-07 Eli Zaretskii <eliz@gnu.org>
11743
605c9376
EZ
11744 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11745 mailclient-send-it even if window-system is nil. (Bug#8595)
11746
c4662635
SM
11747 * term/w32console.el (terminal-init-w32console):
11748 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11749 background-mode. (Bug#8597)
11750
d1dc2cc2
SM
117512011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11754 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11755 New functions.
11756 (defgeneric, eieio--defmethod): Use them.
11757 (eieio-defgeneric): Remove.
11758 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11759
915d1300
GM
117602011-05-07 Glenn Morris <rgm@gnu.org>
11761
a3961c3e
GM
11762 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11763 Use let rather than let*.
11764 (timeclock-find-discrep): Remove unused local.
11765
314347b9
GM
11766 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11767
915d1300
GM
11768 * calendar/appt.el (appt-time-msg-list): Doc fix.
11769
275b59b0
NF
117702011-05-06 Noah Friedman <friedman@splode.com>
11771
11772 * apropos.el (apropos-print-doc): Only use
11773 emacs-lisp-docstring-fill-column when it is bound to an integer,
11774 per that variable's documentation.
11775
6c19f744
SM
117762011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11779 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11780
60f884b2
GM
117812011-05-06 Glenn Morris <rgm@gnu.org>
11782
5006e634
GM
11783 * calendar/appt.el (appt-message-warning-time): Doc fix.
11784 (appt-warning-time-regexp): New option.
11785 (appt-make-list): Respect appt-message-warning-time.
11786
548d0a63
GM
11787 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11788 New options.
11789 (diary-add-to-list): Strip comments from the displayed string.
11790 (diary-mode): Set comment-start and comment-end.
11791
60f884b2
GM
11792 * vc/diff-mode.el (smerge-refine-subst): Declare.
11793 (diff-refine-hunk): Don't require smerge-mode when compiling.
11794
989681bb
JB
117952011-05-06 Juanma Barranquero <lekktu@gmail.com>
11796
11797 * simple.el (list-processes): Return nil as the docstring says.
11798
a6bc05e1
MA
117992011-05-05 Michael Albinus <michael.albinus@gmx.de>
11800
11801 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11802 to "".
11803 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11804 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11805 determining of binary transfer. (Bug#7383)
11806
23c22e9a
MA
118072011-05-05 Michael Albinus <michael.albinus@gmx.de>
11808
c4662635
SM
11809 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11810 Fix port computation bug. (Bug#8618)
23c22e9a 11811
0bff894f
GM
118122011-05-05 Glenn Morris <rgm@gnu.org>
11813
b8296902
GM
11814 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11815
1f522ce8
GM
11816 * simple.el (shell-dynamic-complete-functions)
11817 (comint-dynamic-complete-functions): Declare.
11818
cf5bee67
GM
11819 * net/network-stream.el (gnutls-negotiate):
11820 * simple.el (tabulated-list-print): Fix declarations.
11821
11822 * progmodes/gud.el (syntax-symbol, syntax-point):
11823 Remove unnecessary and incorrect declarations.
11824
0bff894f
GM
11825 * emacs-lisp/check-declare.el (check-declare-scan):
11826 Handle byte-compile-initial-macro-environment in bytecomp.el
11827
9869b3ae
SM
118282011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 Fix earlier half-done eieio-defmethod change (bug#8338).
11831 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11832 Streamline and change calling convention.
11833 (defmethod): Adjust accordingly and simplify.
11834 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11835 new eieio--defmethod.
11836 (slot-boundp): Minor CSE simplification.
11837
9c1d5ac5
MZ
118382011-05-05 Milan Zamazal <pdm@zamazal.org>
11839
11840 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11841 (glasses-make-readable): Use glasses-separate-capital-groups.
11842
455c834e
JB
118432011-05-05 Juanma Barranquero <lekktu@gmail.com>
11844
11845 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11846 (warning-series): Doc fix.
11847 (display-warning): Don't try to create the buffer if we just found it.
11848
9ed7c8cb
CY
118492011-05-04 Chong Yidong <cyd@stupidchicken.com>
11850
11851 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11852 (autoload-find-generated-file): New function.
11853 (generate-file-autoloads): Bind generated-autoload-file to
11854 buffer-file-name.
9869b3ae
SM
11855 (update-file-autoloads, update-directory-autoloads):
11856 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11857 output file (Bug#7989).
11858 (batch-update-autoloads): Doc fix.
11859
0898ca10
JB
118602011-05-04 Juanma Barranquero <lekktu@gmail.com>
11861
11862 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11863
31dfb76c
GM
118642011-05-04 Glenn Morris <rgm@gnu.org>
11865
f330b642
GM
11866 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11867 function, so it follows changes in calendar-date-style.
11868 (diary-fancy-date-matcher): New function.
11869 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11870 (diary-fancy-font-lock-fontify-region-function):
11871 Use diary-fancy-date-pattern as a function.
11872
31dfb76c
GM
11873 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11874 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11875
48e79d6a
TZ
118762011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11877
11878 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11879 instead of positional arguments. Allow :keylist and :crlfiles
11880 arguments.
11881 (open-gnutls-stream): Call it.
11882
11883 * net/network-stream.el (network-stream-open-starttls): Adjust to
11884 call `gnutls-negotiate' with :process and :hostname arguments.
11885
dd5a5ee0
SM
118862011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11887
ef80fc09
SM
11888 * minibuffer.el (completion--message): New function.
11889 (completion--do-completion, minibuffer-complete)
11890 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11891 (completion--do-completion): Don't ignore completion-auto-help when in
11892 icomplete-mode.
11893
dd5a5ee0
SM
11894 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11895 internal encoding (e.g. tibetan zero is not whitespace).
11896 (global-whitespace-mode): Prefer save-current-buffer.
11897 (whitespace-trailing-regexp): Remove useless save-match-data.
11898 (whitespace-empty-at-bob-regexp): Minor simplification.
11899
b7d22a83
CY
119002011-05-03 Chong Yidong <cyd@stupidchicken.com>
11901
11902 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11903
5192af46
AM
119042011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11905
11906 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11907 Use `concat' to create string for insertion.
5192af46 11908
5767d190
SM
119092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11912 Avoid open-line which runs post-self-insert-hook.
11913 (bibtex-fill-entry): Remove unused `end' var.
11914
bf242939
AM
119152011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11916
5767d190
SM
11917 * textmodes/ispell.el (ispell-add-per-file-word-list):
11918 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11919
25666126
LL
119202011-05-03 Leo Liu <sdl.web@gmail.com>
11921
11922 * isearch.el (isearch-yank-pop): New command.
5767d190 11923 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11924 (isearch-forward): Mention it.
11925
52d3c2d0
SM
119262011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11927
1bcace58
SM
11928 * simple.el (minibuffer-complete-shell-command): Remove.
11929 (minibuffer-local-shell-command-map): Use completion-at-point.
11930 (read-shell-command): Setup completion vars here instead.
11931 (read-expression-map): Bind TAB to symbol completion.
11932
52d3c2d0
SM
11933 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11934 error directly rather via storing it into `results'.
11935
35813471
LL
119362011-05-02 Leo Liu <sdl.web@gmail.com>
11937
11938 * vc/diff.el: Fix description.
11939
e793a940
LMI
119402011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11941
11942 * server.el (server-eval-at): New function.
11943
8de66e05
LMI
119442011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11945
11946 * net/network-stream.el (open-network-stream): Take a :nowait
11947 parameter and pass it on to `make-network-process'.
11948 (network-stream-open-plain): Ditto.
11949
dcb79f20
AS
119502011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11951
11952 * faces.el (face-spec-set-match-display): Don't match toolkit
11953 options on terminal frames.
11954
14a7fbd8
SM
119552011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11956
7eabc1be
SM
11957 * progmodes/pascal.el: Use lexical binding.
11958 (pascal-mode-map): Remove author preferences.
11959
14a7fbd8
SM
11960 * pcomplete.el (pcomplete-std-complete): Don't abuse
11961 completion-at-point.
11962
50f84510
JB
119632011-04-28 Juanma Barranquero <lekktu@gmail.com>
11964
6e087a44
JB
11965 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11966 removing code that has been dead since 1991 or so.
11967
50f84510
JB
11968 * startup.el (command-line): When warning about "_emacs", use a
11969 delayed warning to allow the user to filter it out.
11970
0ba690bd
DD
119712011-04-28 Deniz Dogan <deniz@dogan.se>
11972
11973 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11974 user has not joined.
11975
08abfaad
SM
119762011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11979 aren't any completions at point.
11980
638f053a
JB
119812011-04-28 Juanma Barranquero <lekktu@gmail.com>
11982
11983 * subr.el (display-delayed-warnings): New function.
11984 (delayed-warnings-hook): New variable.
11985
8fff8daa
SM
119862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11987
08abfaad
SM
11988 * minibuffer.el (completion-at-point, completion-help-at-point):
11989 Don't presume that a given completion-at-point-function will always
11990 use the same calling convention.
11991
8fff8daa
SM
11992 * pcomplete.el (pcomplete-completions-at-point):
11993 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11994 pcomplete-seen is non-nil.
11995 (pcomplete-comint-setup): Also recognize the new comint/shell
11996 completion functions.
11997 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11998 pcomplete-seen is non-nil.
11999
841a1577 120002011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12001
841a1577 12002 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12003 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12004 the first character in the entry. This allows for code to add its
211ec907
UJ
12005 own uid to the entry.
12006 (icalendar--convert-float-to-ical): Add export of
12007 `diary-float'-entries save for those with the optional DAY
12008 argument.
12009
2a782793
DC
120102011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12011
12012 * subr.el (shell-quote-argument): Use alternate escaping strategy
12013 when we spot a variable reference in a string.
12014
0438ce91
DC
120152011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12016
12017 * cus-start.el (all): Define customization for debug-on-event.
12018
841a1577 120192011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12020
12021 * subr.el (shell-quote-argument): Escape correctly under Windows.
12022
d090ed6c
SM
120232011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12024
12025 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12026
bfd31217
MA
120272011-04-25 Michael Albinus <michael.albinus@gmx.de>
12028
d090ed6c
SM
12029 * net/tramp.el (tramp-process-actions): Add POS argument.
12030 Delete region between POS and (pos).
bfd31217 12031
d090ed6c
SM
12032 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12033 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12034 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12035
12036 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12037 position in `tramp-process-actions' call.
12038
12039 * net/trampver.el: Update release number.
12040
e92f3bd3
SM
120412011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12042
850256b5
SM
12043 * custom.el (defcustom): Obey lexical-binding.
12044
e92f3bd3
SM
12045 Fix octave-inf completion problems reported by Alexander Klimov.
12046 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12047 Inherit from octave-mode-syntax-table.
12048 (inferior-octave-mode): Set info-lookup-mode.
12049 (inferior-octave-completion-at-point): New function.
12050 (inferior-octave-complete): Use it and completion-in-region.
12051 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12052 comint-filename-completion.
12053 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12054 symbol elements which shouldn't be word elements.
12055 (octave-font-lock-keywords, octave-beginning-of-defun)
12056 (octave-function-header-regexp): Adjust regexps accordingly.
12057 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12058
cd22b309
JB
120592011-04-25 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * net/gnutls.el (gnutls-errorp): Declare before first use.
12062
8b492194
TZ
120632011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12064
12065 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12066 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12067 default trustfile exists before going to use it. Add missing
5a5fa834 12068 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12069 Reported by Claudio Bley <claudio.bley@gmail.com>.
12070 (open-gnutls-stream): Add usage example.
12071
12072 * net/network-stream.el (network-stream-open-starttls): Give host
12073 parameter to `gnutls-negotiate'.
12074 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12075 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12076
841a1577 120772011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12078
cd22b309
JB
12079 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12080 Use correct match group (bug#8438).
05842630 12081
3ba7869c
CY
120822011-04-24 Chong Yidong <cyd@stupidchicken.com>
12083
512e3ae1
CY
12084 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12085 (package-menu--generate): New arg specifying packages to show.
12086 (package-menu-refresh, package-menu-execute, list-packages):
12087 Callers changed.
12088 (package-show-package-list): New function, replacing deleted
12089 package--list-packages (renamed because it is non-internal).
12090
12091 * finder.el (finder-list-matches): Use package-show-package-list
12092 instead of deleted package--list-packages.
12093
e92f3bd3
SM
12094 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12095 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12096 (vc-annotate-mode-map): Bind it to RET.
12097
7031be6d
UR
120982011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12099
12100 * progmodes/etags.el (next-file): Don't use set-buffer to change
12101 buffers (Bug#8478).
12102
4ef177aa
CY
121032011-04-24 Chong Yidong <cyd@stupidchicken.com>
12104
c8d173eb
CY
12105 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12106
4ef177aa
CY
12107 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12108 (apropos-accumulator): Doc fix.
12109 (apropos-function, apropos-macro, apropos-command)
12110 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12111 (apropos-plist): Add face property.
12112 (apropos-symbols-internal): Fix indentation.
12113 (apropos-print): Simplify help, and recognize apropos-multi-type.
12114 (apropos-print-doc): Use button-type-get to extract the button's
12115 face property. Fill docstring (Bug#8352).
12116
4ffd0d6b 121172011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12118
12119 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12120
c6c32125 12121 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12122 (mpuz-mode-map): Use mapc.
c6c32125
JB
12123 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12124 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12125 Fix typos in docstrings.
12126
58d468b4
JB
12127 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12128 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12129
6470c3c6
JB
12130 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12131
4ffd0d6b 121322011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12133
12134 * minibuffer.el (completion--do-completion): Avoid the "Next char
12135 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12136
3ad8bad0
CY
12137 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12138 mouse-2 into unread-command-events, it is interpreted correctly.
12139
71d73c9c 12140 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12141 (image-toggle-display): Doc fix.
71d73c9c 12142
841a1577 121432011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12144
4ffd0d6b
GM
12145 * textmodes/page.el (what-page): Use line-number-at-pos to
12146 calculate line number (Bug#6825).
6e1dbaa9 12147
c2fb1b60
JB
121482011-04-22 Juanma Barranquero <lekktu@gmail.com>
12149
12150 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12151 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12152 Pass argument NO-DEFAULT to `find-tag-interactive'.
12153
e02f48d7
JB
121542011-04-22 Juanma Barranquero <lekktu@gmail.com>
12155
12156 Lexical-binding cleanup.
12157
12158 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12159 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12160 * progmodes/ada-prj.el (ada-prj-initialize-values)
12161 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12162 (ada-prj-show-value):
12163 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12164 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12165 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12166 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12167 * progmodes/bug-reference.el (bug-reference-push-button):
12168 * progmodes/fortran.el (fortran-line-length):
12169 * progmodes/glasses.el (glasses-change):
12170 * progmodes/octave-mod.el (octave-fill-paragraph):
12171 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12172 (python-pdbtrack-grub-for-buffer, python-sentinel):
12173 * progmodes/sql.el (sql-save-connection):
12174 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12175 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12176 Mark unused parameters.
12177
12178 * progmodes/compile.el (compilation--flush-directory-cache)
12179 (compilation--flush-parse, compile-internal): Mark unused parameters.
12180 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12181 (compilation-next-error-function): Remove unused variable `timestamp'.
12182
12183 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12184 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12185
12186 * progmodes/dcl-mode.el (dcl-end-of-command):
12187 Remove unused variable `start'.
12188 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12189 (dcl-option-value-basic, dcl-option-value-offset)
12190 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12191 Mark unused parameters.
12192 (dcl-save-local-variable): Remove unused variable `val'.
12193 (mode): Declare.
12194
12195 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12196 Mark unused parameters.
12197 (delphi-ignore-changes): Move before first use.
12198 (delphi-charset-token-at): Remove unused variable `start'.
12199 (delphi-else-start): Remove unused variable `if-count'.
12200 (delphi-comment-block-start, delphi-comment-block-end):
12201 Remove unused variable `kind'.
12202 (delphi-indent-line): Remove unused variable `new-point'.
12203
12204 * progmodes/ebrowse.el (ebrowse-files-list)
12205 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12206 Mark unused parameters. Don't quote `lambda'.
12207 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12208 Don't quote `lambda'.
12209 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12210 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12211 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12212 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12213 Use `ignore-errors'.
12214 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12215 (ebrowse-view/find-file-and-search-pattern)
12216 (ebrowse-view/find-member-declaration/definition):
12217 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12218 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12219 Rename parameter PREFIX-ARG to PREFIX.
12220 (ebrowse-tags-read-name): Remove unused variables `start' and
12221 `member-info'.
12222 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12223 to `tags-file'.
12224
12225 * progmodes/etags.el (local-find-tag-hook): Declare.
12226 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12227 Mark unused parameters.
12228
12229 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12230 (executable-interpret): Mark unused parameter.
12231
12232 * progmodes/flymake.el (flymake-process-sentinel)
12233 (flymake-after-change-function)
12234 (flymake-create-temp-with-folder-structure)
12235 (flymake-get-include-dirs-dot): Mark unused parameters.
12236 (flymake-safe-delete-directory): Remove unused variable `err'.
12237
12238 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12239 (speedbar-timer-fn, speedbar-line-text)
12240 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12241 (speedbar-center-buffer-smartly): Declare functions.
12242 (gdb-find-watch-expression): Remove unused variable `array'.
12243 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12244 (gdb-starting): Mark unused parameters.
12245 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12246 (gdb-table-string): Remove unused variable `res'.
12247 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12248 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12249 (gdb-display-buffer): Remove unused variable `cur-size'.
12250
12251 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12252 allow lexical-binding compilation.
12253 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12254 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12255 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12256 Mark unused parameters.
12257 (gud-gdb-marker-filter): Remove unused variable `match'.
12258 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12259 lambda expressions and funcall them, instead of using `fset'.
12260
12261 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12262 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12263
12264 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12265 variable `header-beg'; use `let'.
12266
12267 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12268 `restart', `last-sexp' and `at-do'.
12269
12270 * progmodes/js.el (js--debug): Mark unused parameter.
12271 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12272 (js--splice-into-items): Remove unused variable `item'.
12273 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12274
12275 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12276 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12277 (makefile-complete): Remove unused variable `try'.
12278 (makefile-fill-paragraph, makefile-match-function-end):
12279 Mark unused parameters.
12280
12281 * progmodes/octave-inf.el (inferior-octave-complete):
12282 Remove unused variable `proc'.
12283 (inferior-octave-output-digest): Mark unused parameter.
12284
12285 * progmodes/perl-mode.el (perl-calculate-indent):
12286 Remove unused variable `err'.
12287
12288 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12289 (prolog-indent-line): Mark unused parameters.
12290 (prolog-indent-line): Remove unused variable `beg'.
12291
12292 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12293 (reporter-dont-compact-list): Declare.
12294
12295 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12296 Remove unused variable `char'.
12297 (sh-debug): Mark unused parameter.
12298 (sh-get-indent-info): Remove unused variable `start'.
12299 (sh-calculate-indent): Remove unused variable `var'.
12300
12301 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12302 (simula-electric-keyword): Remove unused variable `null'.
12303 (simula-search-backward, simula-search-forward): Remove unused
12304 variables `begin' and `end'.
12305
12306 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12307 Remove unused variable `pos'.
12308 (vera-electric-tab, vera-comment-uncomment-region):
12309 Mark unused parameters.
12310 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12311
7ede3b65
CY
123122011-04-22 Chong Yidong <cyd@stupidchicken.com>
12313
12314 * emacs-lisp/package.el (package--builtins, package-alist)
12315 (package-load-descriptor, package-built-in-p, package-activate)
12316 (define-package, package-installed-p)
12317 (package-compute-transaction, package-buffer-info)
12318 (package--push): Doc fix. Distinguish more clearly between
12319 version strings and version lists.
12320
121656e9
JB
123212011-04-21 Juanma Barranquero <lekktu@gmail.com>
12322
12323 Lexical-binding cleanup.
12324
12325 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12326 (5x5-make-mutate-best):
12327 * play/fortune.el (fortune-in-buffer):
12328 * play/gomoku.el (gomoku-init-display):
12329 * play/solitaire.el (solitaire, solitaire-do-check):
12330 * play/tetris.el (tetris-default-update-speed-function):
12331 Mark unused parameters.
12332
12333 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12334 (bubbles--shift): Remove unused variable `char-org'.
12335 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12336 (bubbles--show-images): Remove unused variable `char'.
12337
12338 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12339 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12340 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12341 (decipher-analyze-buffer): Use ?\s.
12342 (decipher-make-checkpoint): Remove unused variable `mapping'.
12343
12344 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12345
12346 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12347 Remove unused variable `result'; use `let'.
12348
12349 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12350 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12351 (gametree-children-shown-p, gametree-compute-reduced-score):
12352 Use `ignore-errors'.
12353
12354 * play/handwrite.el (ps-lpr-switches): Declare.
12355 (handwrite): Remove unused variables `pmin' and `lastp'.
12356
12357 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12358
12359 * play/landmark.el (landmark-init-display)
12360 (landmark-update-naught-weights): Mark unused parameters.
12361 (landmark-y): Remove unused variable `noise'. Simplify.
12362 (landmark-human-plays): Remove unused variable `score'.
12363
12364 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12365 (mpuz-try-proposal): Remove unused variable `game'.
12366
12367 * play/zone.el (life-patterns): Declare.
12368
80f499c7
JB
123692011-04-20 Juanma Barranquero <lekktu@gmail.com>
12370
12371 * vc/vc.el (ediff-vc-internal): Declare function.
12372
024ff170
SM
123732011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12374
c0a193ea
SM
12375 * shell.el: Use lexical-binding and std completion UI.
12376 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12377 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12378 comint-preoutput-filter-functions rather than on
12379 comint-output-filter-functions.
12380 (shell-command-completion, shell--command-completion-data)
12381 (shell-filename-completion, shell-environment-variable-completion)
12382 (shell-c-a-p-replace-by-expanded-directory): New functions.
12383 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12384 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12385 (shell-dynamic-complete-environment-variable): Use them.
12386 (shell-dynamic-complete-as-environment-variable)
12387 (shell-dynamic-complete-as-command): Remove.
12388 (shell-match-partial-variable): Match past point.
12389 * comint.el: Clean up use of completion-at-point-functions.
12390 (comint-completion-at-point): New function.
12391 (comint-mode): Use it completion-at-point-functions.
12392 (comint-dynamic-complete): Make it obsolete.
12393 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12394 (comint-c-a-p-replace-by-expanded-history): New function.
12395 (comint-dynamic-complete-functions)
12396 (comint-replace-by-expanded-history): Use it.
12397 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12398 termination strings. Try harder to avoid second try-completion.
12399 (completion-in-region-mode-map): Disable bindings that don't work yet.
12400
2dbaa080
SM
12401 * comint.el: Use lexical-binding. Require CL.
12402 (comint-dynamic-complete-functions): Use comint-filename-completion.
12403 (comint-completion-addsuffix): Tweak custom type.
12404 (comint-filename-completion, comint--common-suffix)
12405 (comint--common-quoted-suffix, comint--table-subvert)
12406 (comint--complete-file-name-data): New functions.
12407 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12408 (comint-dynamic-list-filename-completions): Use them.
12409 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12410
2dbaa080
SM
12411 * minibuffer.el (completion-in-region-mode):
12412 Keep completion-in-region-mode--predicate global.
12413 (completion-in-region--postch):
12414 Assume completion-in-region-mode--predicate is not null.
12415
c79a6f38
SM
12416 * progmodes/flymake.el (flymake-start-syntax-check-process):
12417 Obey `dir'. Simplify.
12418
024ff170
SM
12419 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12420 we're in VC after all.
12421
1c6c854e
CS
124222011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12423
12424 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12425 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12426 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12427
bed7f140
SM
124282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12429
332e62ab
SM
12430 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12431 add sanity check.
12432
bed7f140
SM
12433 * obsolete/erc-hecomplete.el: Make obsolete.
12434 * obsolete/: Standardize obsolescence info in the header.
12435
f195c582
GM
124362011-04-20 Glenn Morris <rgm@gnu.org>
12437
12438 * calendar/solar.el (solar-horizontal-coordinates):
12439 Use the longitude argument rather than `calendar-longitude'.
12440 (solar-date-next-longitude): Remove unused locals.
12441
cb79b8c0
VJL
124422011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12443
12444 * whitespace.el: New version 13.2.1.
12445
124462011-04-20 felix <EmacsWiki> (tiny change)
12447
d8e4b68b 12448 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12449 switching between major modes on a file.
12450
602ea69d
SM
124512011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12454 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12455 multi-line comments as well.
12456
06b60517
JB
124572011-04-19 Juanma Barranquero <lekktu@gmail.com>
12458
12459 Lexical-binding cleanup.
12460
12461 * arc-mode.el (archive-mode-revert):
12462 * cmuscheme.el (scheme-interactively-start-process):
12463 * custom.el (custom-initialize-delay):
12464 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12465 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12466 * emacs-lock.el (emacs-lock-clear-sentinel):
12467 * ezimage.el (defezimage):
12468 * follow.el (follow-avoid-tail-recenter):
12469 * fringe.el (set-fringe-mode-1):
12470 * generic-x.el (bat-generic-mode-compile):
12471 * help-mode.el (help-info-variable, help-do-xref)
12472 (help-mode-revert-buffer):
12473 * help.el (view-emacs-todo):
12474 * iswitchb.el (iswitchb-completion-help):
12475 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12476 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12477 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12478 * locate.el (locate-update):
12479 * longlines.el (longlines-encode-region)
12480 (longlines-after-change-function):
12481 * outline.el (outline-isearch-open-invisible):
12482 * ps-def.el (declare-function, charset-dimension, char-width)
12483 (encode-char):
12484 * ps-mule.el (ps-mule-plot-string):
12485 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12486 (recentf-edit-list-select, recentf-edit-list-validate)
12487 (recentf-open-files-action):
12488 * rect.el (delete-whitespace-rectangle-line)
12489 (rectangle-number-line-callback):
12490 * register.el (window-configuration-to-register)
12491 (frame-configuration-to-register):
12492 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12493 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12494 (xselect-convert-to-targets, xselect-convert-to-delete)
12495 (xselect-convert-to-filename, xselect-convert-to-charpos)
12496 (xselect-convert-to-lineno, xselect-convert-to-colno)
12497 (xselect-convert-to-os, xselect-convert-to-host)
12498 (xselect-convert-to-user, xselect-convert-to-class)
12499 (xselect-convert-to-name, xselect-convert-to-integer)
12500 (xselect-convert-to-atom, xselect-convert-to-identity):
12501 * subr.el (declare, ignore, process-kill-without-query)
12502 (text-clone-maintain):
12503 * terminal.el (te-get-char, te-tic-sentinel):
12504 * tool-bar.el (tool-bar-make-keymap):
12505 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12506 * type-break.el (type-break-mode, type-break-noninteractive-query):
12507 * view.el (View-back-to-mark):
12508 * wid-browse.el (widget-browse-action, widget-browse-widget)
12509 (widget-browse-widgets, widget-browse-sexp):
12510 * widget.el (define-widget-keywords):
12511 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12512 Mark unused parameters.
12513
12514 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12515 (align-areas): Remove unused variable `look'.
12516 (align-region): Remove unused variables `real-end' and `pos-list'.
12517
12518 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12519
12520 * bindings.el (mode-line-modified, mode-line-remote):
12521 Mark unused parameters.
12522 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12523
12524 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12525 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12526
12527 * comint.el (comint-history-isearch-pop-state)
12528 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12529 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12530 (comint-substitute-in-file-name): Doc fix.
12531
12532 * completion.el (cmpl-statistics-block): Mark unused parameter.
12533 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12534 (save-completions-to-file, load-completions-from-file):
12535 Remove unused local variable `e'.
12536
12537 * composite.el (compose-chars): Remove unused variable `len'.
12538 (lgstring-insert-glyph): Remove unused variable `g'.
12539 (compose-glyph-string): Remove unused variables `ascent',
12540 `descent', `lbearing' and `rbearing'.
12541 (compose-glyph-string-relative): Remove unused variables
12542 `lbearing', `rbearing' and `wadjust'.
12543 (compose-gstring-for-graphic): Remove unused variables `header',
12544 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12545 (compose-gstring-for-terminal): Remove unused variables `header'
12546 and `nchars'. Use `let', not `let*'.
12547
12548 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12549 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12550 (Custom-buffer-done, custom-buffer-create-internal)
12551 (custom-browse-visibility-action, custom-browse-group-tag-action)
12552 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12553 (widget-magic-mouse-down-action, custom-toggle-parent)
12554 (custom-add-parent-links, custom-toggle-hide-variable)
12555 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12556 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12557 (custom-face-menu-create, custom-variable-menu-create, get)
12558 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12559 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12560 (customize-apropos): Remove unused variable `tests'.
12561 (custom-group-value-create): Remove unused variable `hidden-p'.
12562 (sort-fold-case): Declare.
12563
12564 * cus-theme.el (custom-reset-standard-faces-list)
12565 (custom-reset-standard-variables-list): Declare.
12566 (customize-create-theme, custom-theme-revert, custom-theme-write)
12567 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12568 Mark unused parameters.
12569
12570 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12571
12572 * delim-col.el (delimit-columns-max): Move defvar before first use.
12573
12574 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12575 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12576
12577 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12578 (auto-insert): Declare.
12579 (desktop-restore-file-buffer): Rename desktop-* parameters;
12580 mark unused ones.
12581 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12582 (desktop-buffer): Rename desktop-* parameters.
12583
12584 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12585 (dframe-reposition-frame-xemacs, dframe-help-echo)
12586 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12587 Mark unused parameters.
12588
12589 * dired-aux.el (backup-extract-version-start, overwrite-query)
12590 (overwrite-backup-query, rename-regexp-query)
12591 (rename-non-directory-query): Declare.
12592 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12593 (dired-add-entry): Remove unused variable `orig-file-name'.
12594 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12595 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12596 `dired-copy-preserve-time' directly.
12597 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12598 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12599
12600 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12601 (dired-virtual-revert, dired-make-relative-symlink):
12602 Mark unused parameters.
12603 (manual-program): Declare.
12604 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12605 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12606 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12607
12608 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12609
12610 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12611
12612 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12613 Declare.
12614
12615 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12616
12617 * electric.el (Electric-command-loop): Rename parameter
12618 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12619
12620 * expand.el (expand-in-literal): Remove unused variable `here'.
12621
12622 * facemenu.el (facemenu-add-new-color):
12623 Remove unused variable `docstring'.
12624
12625 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12626 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12627 (face-attr-construct): Mark unused parameter. Doc fix.
12628 (read-color): Remove unused variable `hex-string'.
12629
12630 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12631 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12632 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12633 (display-buffer-other-frame): Remove unused variable `old-window'.
12634 (kill-buffer-hook): Declare.
12635 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12636 Mark unused parameters.
12637 (after-find-file): Pass 1 to `auto-save-mode', not t.
12638
12639 * files-x.el (auto-insert): Declare.
12640 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12641
12642 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12643 variable `buf'. Mark unused parameter.
06b60517
JB
12644 (find-lisp-insert-directory): Mark unused parameter.
12645
12646 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12647 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12648 (format-common-tail): Remove, unused.
12649 (format-deannotate-region): Remove unused variable `loc'.
12650 (format-annotate-region): Remove unused variable `p'.
12651 (format-annotate-single-property-change): Remove unused variables
12652 `default' and `tail'.
12653
12654 * forms.el (read-file-filter): Declare.
12655 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12656
12657 * frame.el (frame-creation-function-alist): Mark unused parameter.
12658 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12659
12660 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12661 Remove unused parameters.
12662 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12663 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12664
12665 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12666 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12667 (hfy-prepare-tag-map): Mark unused parameters.
12668 (htmlfontify-buffer): Use `called-interactively-p'.
12669
12670 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12671 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12672 (ibuffer-do-occur): Mark unused parameters.
12673 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12674 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12675
12676 * ibuffer.el: Don't quote `lambda'.
12677 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12678 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12679 Mark unused parameters.
12680
12681 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12682 (ido-completing-read): Mark unused parameters.
12683 (ido-copy-current-word): Mark unused parameters;
12684 remove unused variable `name'.
12685 (ido-sort-merged-list): Remove unused parameter `dirs'.
12686
12687 * ielm.el (ielm-input-sender): Mark unused parameter.
12688 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12689 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12690 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12691 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12692 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12693
12694 * image-dired.el (image-dired-display-thumbs): Remove unused
12695 variables `curr-file' and `count'.
12696 (image-dired-remove-tag): Remove unused variable `start'.
12697 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12698 variable `curr-file'
12699 (image-dired-rotate-original): Remove unused variable `temp-file'.
12700 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12701 Remove unused variable `file'.
12702 (image-dired-gallery-generate): Remove unused variable `curr'.
12703 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12704
12705 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12706
12707 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12708
12709 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12710
12711 * isearch.el (minibuffer-history-symbol): Declare.
12712 (isearch-edit-string): Remove unused variable `err'.
12713 (isearch-message-prefix, isearch-message-suffix):
12714 Mark unused parameters.
12715
12716 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12717
12718 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12719
12720 * makesum.el (double-column): Remove unused variable `cnt'.
12721
12722 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12723 (ido-ignore-item-temp-list): Declare.
12724
12725 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12726 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12727 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12728 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12729 `mouse-col-delta'.
12730
12731 * mouse-sel.el (mouse-extend-internal):
12732 Remove unused variable `orig-window-frame'.
12733
12734 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12735 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12736 Move declarations before first use.
12737 (pcomplete-opt): Mark unused parameters; doc fix.
12738
12739 * proced.el (proced-revert): Mark unused parameter.
12740 (proced-send-signal): Remove unused variable `err'.
12741
12742 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12743 Rename parameter PREFIX-ARG to ARG.
12744 (ps-basic-plot-string, ps-basic-plot-whitespace):
12745 Mark unused parameters.
12746
12747 * replace.el (replace-count): Define.
12748 (occur-revert-function): Mark unused parameters.
12749 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12750 (isearch-case-fold-search, isearch-string): Declare.
12751 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12752 bind `case-fold-search'. Remove unused variables `beg' and `end',
12753 and simplify.
12754 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12755 COUNT and bind `replace-count'.
12756 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12757 to COUNT.
12758
12759 * savehist.el (print-readably, print-string-length): Declare.
12760
12761 * shadowfile.el (shadow-expand-cluster-in-file-name):
12762 Remove unused variable `cluster'.
12763 (shadow-copy-file): Remove unused variable `i'.
12764 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12765 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12766 (shadow-define-literal-group, shadow-define-regexp-group)
12767 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12768
12769 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12770 (shell): Use `called-interactively-p'.
12771 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12772
12773 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12774 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12775 (delete-backward-char): Remove unused variable `ocol'.
12776 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12777 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12778 (event-apply-hyper-modifier, event-apply-shift-modifier)
12779 (event-apply-control-modifier, event-apply-meta-modifier):
12780 Mark unused parameters.
12781 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12782 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12783
12784 * speedbar.el (speedbar-ignored-directory-expressions)
12785 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12786 (speedbar-find-file, speedbar-dir-follow)
12787 (speedbar-directory-buttons-follow, speedbar-tag-find)
12788 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12789 (speedbar-buffers-line-directory, speedbar-buffer-click):
12790 Mark unused parameters.
12791 (speedbar-tag-file): Remove unused variable `mode'.
12792 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12793
12794 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12795
12796 * talk.el (talk): Remove unused variable `display'.
12797
12798 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12799 (tar-write-region-annotate): Mark unused parameter.
12800
12801 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12802 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12803 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12804 warning by another.
12805
12806 * time-stamp.el (time-stamp-string-preprocess):
12807 Remove unused variable `require-padding'.
12808
12809 * tree-widget.el (widget-glyph-enable): Declare.
12810 (tree-widget-action): Mark unused parameter.
12811
12812 * w32-fns.el (x-get-selection): Mark unused parameter.
12813 (autoload-make-program, generated-autoload-file): Declare.
12814
12815 * wdired.el (wdired-revert): Mark unused parameters.
12816 (wdired-xcase-word): Remove unused variable `err'.
12817
12818 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12819 (whitespace-help-scroll): Remove unused variable `data-help'.
12820
12821 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12822 (widget-image-insert, widget-after-change, default)
12823 (widget-default-format-handler, widget-default-notify)
12824 (widget-default-prompt-value, widget-info-link-action)
12825 (widget-url-link-action, widget-function-link-action)
12826 (widget-variable-link-action, widget-file-link-action)
12827 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12828 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12829 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12830 (widget-insert-button-action, widget-delete-button-action, visibility)
12831 (widget-documentation-link-action, widget-documentation-string-action)
12832 (widget-const-prompt-value, widget-regexp-match, symbol)
12833 (widget-coding-system-prompt-value)
12834 (widget-key-sequence-value-to-external, sexp)
12835 (widget-sexp-value-to-internal, character, vector, cons)
12836 (widget-choice-prompt-value, widget-boolean-prompt-value)
12837 (widget-color--choose-action): Mark unused parameters.
12838 (widget-item-match-inline, widget-choice-match-inline)
12839 (widget-checklist-match, widget-checklist-match-inline)
12840 (widget-group-match): Rename parameter VALUES to VALS.
12841 (widget-field-value-set): Remove unused variable `size'.
12842 (widget-color-action): Remove unused variables `value' and `start'.
12843
12844 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12845 variable `dir'. Doc fix.
06b60517
JB
12846 (windmove-find-other-window): Don't pass it.
12847
12848 * window.el (count-windows): Mark unused parameter.
12849 (bw-adjust-window): Remove unused variable `err'.
12850
12851 * woman.el (woman-file-name): Remove unused variable `default'.
12852 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12853 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12854 (global-font-lock-mode): Declare.
12855 (woman-decode-region): Mark unused parameter.
12856 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12857
12858 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12859 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12860 (x-dnd-handle-moz-url): Remove unused variable `title'.
12861 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12862
12863 * xml.el (xml-parse-tag, xml-parse-attlist):
12864 Remove unused variable `pos'.
12865
bc4f7f3d
GM
128662011-04-19 Glenn Morris <rgm@gnu.org>
12867
12868 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12869 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12870 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12871 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12872 * calendar/cal-html.el (cal-html-insert-minical):
12873 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12874 (calendar-mark-date-pattern):
12875 Prefix "unused" locals.
12876
12877 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12878 optional argument `style'.
12879
12880 * calendar/appt.el (appt-make-list):
12881 * calendar/cal-china.el (calendar-chinese-date-string):
12882 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12883 (diary-hebrew-yahrzeit):
12884 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12885 * calendar/calendar.el (calendar-generate-window):
12886 * calendar/time-date.el (time-to-days):
12887 Remove unused local variables.
12888
16a43933
CY
128892011-04-18 Chong Yidong <cyd@stupidchicken.com>
12890
12891 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12892 glyphless-char-display table.
12893 (tabulated-list-glyphless-char-display): New var.
12894
7eed1860
SS
128952011-04-18 Sam Steingold <sds@gnu.org>
12896
12897 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12898 to acknowledgments.
12899
4d2d1ccd
GM
129002011-04-17 Glenn Morris <rgm@gnu.org>
12901
12902 * calendar/diary-lib.el (diary-sexp-entry):
12903 * calendar/holidays.el (holiday-sexp):
12904 Set debug-on-error rather than the removed stack-trace-on-error.
12905
239da61d
GM
129062011-04-16 Glenn Morris <rgm@gnu.org>
12907
12908 * progmodes/f90.el: Use lexical-binding.
12909 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12910
8b05752a
SM
129112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12912
daca8ba5
SM
12913 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12914 (mail-mode): Setup mailalias completion here instead.
12915 * mail/mailalias.el: Use lexical-binding.
12916 (pattern, mailalias-done): Declare dynamic.
12917 (mail-completion-at-point-function): New function, from mail-complete.
12918 (mail-complete): Use it.
12919 (mail-completion-expand): New function.
12920 (mail-get-names): Use it.
12921 (mail-directory, mail-directory-process, mail-directory-stream):
12922 Don't use `pattern' for lexically bound arg.
12923
6f542485
SM
12924 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12925
037e7c3f
SM
12926 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12927 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12928 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12929
8b05752a
SM
12930 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12931 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12932 (byte-interactive-p): Define them again, for use when inlining
12933 old code.
12934
49093f60
JB
129352011-04-15 Juanma Barranquero <lekktu@gmail.com>
12936
12937 * loadup.el: Use `string-to-number', not `string-to-int'.
12938
b5b8e7de
SM
129392011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12942 gud-gdb-complete-command.
12943 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12944 (gud-gdb-completion-at-point): New function.
12945 (gud-gdb-completions): Remove.
12946
f42efeb5
MA
129472011-04-14 Michael Albinus <michael.albinus@gmx.de>
12948
49093f60
JB
12949 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12950 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12951 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12952 whether `executable-find' is bound.
f42efeb5
MA
12953
12954 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12955
e240cc21
SM
129562011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * minibuffer.el (completion-in-region-mode-predicate)
12959 (completion-in-region-mode--predicate): New vars.
12960 (completion-in-region, completion-in-region--postch)
12961 (completion-in-region-mode): Use them.
12962 (completion--capf-wrapper): Also return the hook function.
12963 (completion-at-point, completion-help-at-point):
12964 Adjust and provide a predicate.
c2bd2ab0
SM
12965
12966 Preserve arg names for advice of subr and lexical functions (bug#8457).
12967 * help-fns.el (help-function-arglist): Consolidate the subr and
12968 new-byte-code cases. Add argument `preserve-names' to extract names
12969 from the docstring when needed.
12970 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12971 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12972 (ad-arglist): Use help-function-arglist's new arg.
12973 (ad-definition-type): Use cond.
12974
c183f693
JB
129752011-04-13 Juanma Barranquero <lekktu@gmail.com>
12976
06641a47
JB
12977 * autorevert.el (auto-revert-handler):
12978 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12979 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12980 Don't quote lambda.
12981
c183f693
JB
12982 * image-mode.el (image-transform-set-scale):
12983 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12984
1e3b6001
G
129852011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986
12987 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12988 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12989 Upgrades via gnutls-cli are too slow to be done opportunistically.
12990
2d6af8dd
JB
129912011-04-12 Juanma Barranquero <lekktu@gmail.com>
12992
12993 * dframe.el (dframe-current-frame): Remove spurious quote.
12994
c0749a51
GM
129952011-04-12 Glenn Morris <rgm@gnu.org>
12996
088d0d61
GM
12997 * calendar/cal-tex.el (cal-tex-end-document):
12998 Try to automatically use latin1 input if needed.
12999
c0749a51
GM
13000 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13001 Don't try to cons a mark onto an empty element.
13002
5c90fde0
LL
130032011-04-11 Leo Liu <sdl.web@gmail.com>
13004
13005 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13006 buffers.
13007 (ido-kill-buffer-at-head): Support killing virtual buffers.
13008
369e974d
CY
130092011-04-10 Chong Yidong <cyd@stupidchicken.com>
13010
13011 * minibuffer.el (completion-show-inline-help): New var.
13012 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13013 (minibuffer-force-complete, minibuffer-complete-word):
13014 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13015
13016 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13017 to avoid interference from inline help (Bug#5849).
13018
37f1c930
LL
130192011-04-10 Leo Liu <sdl.web@gmail.com>
13020
099c39a4
JB
13021 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13022 Fix typo.
37f1c930 13023
a32d4040
CY
130242011-04-09 Chong Yidong <cyd@stupidchicken.com>
13025
13026 * image-mode.el (image-toggle-display-image): Signal an error if
13027 not in Image mode.
13028 (image-transform-mode, image-transform-resize)
13029 (image-transform-set-rotation): Doc fix.
daca8ba5 13030 (image-transform-set-resize): Delete.
a32d4040
CY
13031 (image-transform-set-scale, image-transform-fit-to-height)
13032 (image-transform-fit-to-width): Handle image-toggle-display-image
13033 and image-transform-resize directly.
13034
099c39a4 130352011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13036
13037 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13038 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13039 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13040 (doc-view-mode-map): Add bindings for the new functions.
13041
099c39a4 130422011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13043
4d61f28d 13044 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13045 Fix typo in docstring.
13046
3726838a
EZ
130472011-04-08 Eli Zaretskii <eliz@gnu.org>
13048
04f33f1e
EZ
13049 * files.el (file-size-human-readable): Produce one digit after
13050 decimal, like "ls -lh" does.
13051
13052 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13053 the file size representation.
13054
3726838a
EZ
13055 * simple.el (list-processes): If async subprocesses are not
13056 available, error out with a clear error message.
13057
cbb59342
CY
130582011-04-08 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * help.el (help-form-show): New function, to be called from C.
13061 Put help-form output in a buffer named differently than *Help*.
13062
e3971c44
EZ
130632011-04-08 Eli Zaretskii <eliz@gnu.org>
13064
13065 * files.el (file-size-human-readable): New function.
13066
13067 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13068 computing the representation inline. Don't require `cl'.
13069
12544bbe
GM
130702011-04-08 Glenn Morris <rgm@gnu.org>
13071
a1de6c6a
GM
13072 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13073
3c4671f4
GM
13074 * net/browse-url.el (browse-url-firefox):
13075 Test system-type, not system-configuration.
13076
b605679c
GM
13077 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13078 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13079 Use log-edit-empty-buffer-p. (Bug#7598)
13080
56442f0c
GM
13081 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13082 (rlogin-mode-map): Initialize in the defvar.
13083 (rlogin): Use ignore-errors.
13084
12544bbe
GM
13085 * replace.el (occur-mode-map): Some fixes for menu items.
13086
eb237b0f
AH
130872011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13088
13089 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13090
7d668f2c
CY
130912011-04-06 Chong Yidong <cyd@stupidchicken.com>
13092
e67a13ab
CY
13093 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13094 issuing unused warnings.
13095
13096 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13097 macro directly.
13098
7d668f2c
CY
13099 * simple.el: Lisp reimplement of list-processes. Based on an
13100 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13101 (process-menu-mode): New major mode.
13102 (list-processes--refresh, list-processes):
13103 (process-menu-visit-buffer): New functions.
13104
13105 * files.el (save-buffers-kill-emacs): Don't assume any return
13106 value of list-processes, which is undocumented anyway.
13107
a83ec3c9
CY
131082011-04-06 Chong Yidong <cyd@stupidchicken.com>
13109
13110 * emacs-lisp/tabulated-list.el: New file.
13111
e91a96fe
CY
13112 * emacs-lisp/package.el: Use Tabulated List mode.
13113 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13114 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13115 table format using Tabulated List mode variables.
13116 (package--push): New macro, replacing package-list-maybe-add.
13117 (package-menu--generate): Use package--push. Renamed from
13118 package--generate-package-list.
13119 (package-menu-refresh, list-packages): Use it.
daca8ba5 13120 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13121 Return insertion data instead of inserting it directly.
099c39a4
JB
13122 (package-menu-describe-package, package-menu-execute):
13123 Use tabulated-list-get-id.
e91a96fe
CY
13124 (package-menu-mark-delete, package-menu-mark-install)
13125 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13126 (package-menu-mark-obsolete-for-deletion):
13127 Use tabulated-list-put-tag.
e91a96fe
CY
13128 (package--list-packages, package-menu-revert)
13129 (package-menu-get-package, package-menu-get-version)
13130 (package-menu-sort-by-column): Functions deleted.
13131 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13132 (package-menu--status-predicate, package-menu--version-predicate)
13133 (package-menu--name-predicate)
13134 (package-menu--description-predicate): Handle arguments in the
13135 Tabulated List format.
13136 (package-list-packages-no-fetch): Call list-packages.
13137
3e214b50
JB
131382011-04-06 Juanma Barranquero <lekktu@gmail.com>
13139
13140 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13141 (after-find-file): Don't bind it.
3e214b50
JB
13142 (revert-buffer-in-progress-p): New variable.
13143 (revert-buffer): Bind it.
13144 Pass nil for `after-find-file-from-revert-buffer'.
13145
13146 * saveplace.el (save-place-find-file-hook): Use new variable
13147 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13148
3f0f1700
GM
131492011-04-06 Glenn Morris <rgm@gnu.org>
13150
c0274801
GM
13151 * Makefile.in (AUTOGEN_VCS): New variable.
13152 (autoloads): Use $AUTOGEN_VCS.
13153
3f0f1700
GM
13154 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13155 * calendar/calendar.el (calendar-mode-map):
13156 Check for toolkit scroll bars. (Bug#8305)
13157
41ea9e48
CY
131582011-04-05 Chong Yidong <cyd@stupidchicken.com>
13159
13160 * minibuffer.el (completion-in-region--postch)
13161 (completion-in-region-mode): Remove unnecessary messages.
13162
6194c800
JB
131632011-04-05 Juanma Barranquero <lekktu@gmail.com>
13164
33256f14
JB
13165 * font-lock.el (font-lock-refresh-defaults):
13166 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13167 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13168
6194c800
JB
13169 * info.el (Info-directory-list, Info-read-node-name-2)
13170 (Info-split-parameter-string): Doc fixes.
13171 (Info-virtual-nodes): Reflow docstring.
13172 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13173 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13174 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13175 Fix typos in docstrings.
13176 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13177 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13178 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13179 (Info-restore-desktop-buffer): Mark unused parameters.
13180 (Info-directory-find-file, Info-directory-find-node)
13181 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13182 (Info-virtual-index-find-node, Info-apropos-find-file)
13183 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13184 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13185 (Info-virtual-index): Remove unused local variable `nodename'.
13186
b87a8200 131872011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13188
b87a8200
DD
13189 * net/rcirc.el: Update my e-mail address.
13190 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13191
3b2ff876
CY
131922011-04-05 Chong Yidong <cyd@stupidchicken.com>
13193
13194 * startup.el (command-line): Save the cursor's theme-face
13195 directly, instead of using face-override-spec.
13196
13197 * custom.el (load-theme): Minor optimization in assigning faces.
13198
8d17e7ca
JB
131992011-04-04 Juanma Barranquero <lekktu@gmail.com>
13200
13201 * help-fns.el (describe-variable): Complete all variables having
13202 documentation, including keywords.
13203 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13204
2fbc1934
JB
132052011-04-04 Juanma Barranquero <lekktu@gmail.com>
13206
13207 Convert to lexical-binding.
13208
13209 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13210 (bs--get-marked-string, bs--get-modified-string)
13211 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13212 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13213 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13214
13215 * ehelp.el (electric-help-execute-extended)
13216 (electric-help-ctrl-x-prefix):
13217 * hexl.el (hexl-revert-buffer-function):
13218 * linum.el (linum-after-change, linum-after-scroll):
13219 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13220
13221 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13222
74f50695
DU
132232011-04-04 Daiki Ueno <ueno@unixuser.org>
13224
13225 * epa-dired.el:
13226 * epa-mail.el:
13227 * epa-hook.el:
13228 * epa-file.el:
13229 * epa.el:
13230 * epg.el: Use lexical binding.
13231
c11325f7
CY
132322011-04-03 Chong Yidong <cyd@stupidchicken.com>
13233
0d9e9a12
CY
13234 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13235
c11325f7 13236 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13237 dictionary case for flyspell-mark-duplications-exceptions.
13238 Use regexp matching for languages.
c11325f7
CY
13239 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13240 default dictionary (Bug#7926).
13241
da91b5f2
CY
132422011-04-02 Chong Yidong <cyd@stupidchicken.com>
13243
099c39a4
JB
13244 * emacs-lisp/package.el (package--with-work-buffer):
13245 Recognize https URLs.
da91b5f2 13246
099c39a4
JB
13247 * net/network-stream.el: Move from gnus/proto-stream.el.
13248 Change prefix to network-stream throughout.
da91b5f2
CY
13249 (open-protocol-stream): Merge into open-network-stream, leaving
13250 open-protocol-stream as an alias. Handle nil BUFFER args.
13251
13252 * subr.el (open-network-stream): Move to net/network-stream.el.
13253
afa8e9f6
GM
132542011-04-02 Glenn Morris <rgm@gnu.org>
13255
1d2e369d
GM
13256 * find-dired.el (find-exec-terminator): New option.
13257 (find-ls-option): Test for -ls support.
13258 (find-ls-subdir-switches): Test for -b in find-ls-option.
13259 (find-dired, find-grep-dired): Doc fixes.
13260 (find-dired): Use find-exec-terminator.
13261
8abb7da8 13262 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13263 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13264 (find-name-arg): Remove purecopy.
8abb7da8 13265
f3ca7378
GM
13266 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13267 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13268 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13269 accordingly. Don't add the null-device if not needed.
13270
afa8e9f6
GM
13271 * files.el (save-some-buffers): Doc fix.
13272
35eae264
EZ
132732011-04-02 Eli Zaretskii <eliz@gnu.org>
13274
13275 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13276
26b51db5
JB
132772011-04-01 Juanma Barranquero <lekktu@gmail.com>
13278
13279 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13280 Use `dolist' rather than `mapcar'.
13281
7200d79c
SM
132822011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13283
03408648 13284 Add lexical binding.
7200d79c 13285
03408648
SM
13286 * subr.el (apply-partially): Use new closures rather than CL.
13287 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13288 (dolist, dotimes): Use slightly different expansion for lexical code.
13289 (functionp): Move to C.
13290 (letrec): New macro.
13291 (with-wrapper-hook): Use it and apply-partially instead of CL.
13292 (eval-after-load): Preserve lexical-binding.
13293 (save-window-excursion, with-output-to-temp-buffer): Turn them
13294 into macros.
7200d79c 13295
03408648
SM
13296 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13297
13298 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13299 than the arglist.
13300 (help-add-fundoc-usage): Don't add `Not documented'.
13301 (help-function-arglist): Handle closures, subroutines, and new
13302 byte-code-functions.
13303 (help-make-usage): Remove leading underscores.
13304 (describe-function-1): Handle closures.
13305 (describe-variable): Use special-variable-p for completion.
13306
13307 * files.el (lexical-binding): Declare safe.
f488fb65 13308
03408648
SM
13309 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13310 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13311 (pcase): Add `let' pattern.
13312 Change memoization so it actually works.
13313 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13314 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13315 <let>: New case.
f488fb65 13316
03408648
SM
13317 * emacs-lisp/macroexp.el: Use lexical binding.
13318 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13319 Don't convert ' to #' without checking that it's indeed quoting
13320 a lambda.
13321
13322 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13323 Use eval-sexp-add-defvars.
03408648
SM
13324 (eval-sexp-add-defvars): New fun.
13325
13326 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13327
13328 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13329 Don't autoload.
13330 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13331 than the internal `byte-compile-lambda'.
13332 (defmethod): Don't hide code under quotes.
13333 (eieio-defmethod): New `code' argument.
13334
13335 * emacs-lisp/eieio-comp.el: Remove.
13336
13337 * emacs-lisp/edebug.el (edebug-eval-defun)
13338 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13339 (edebug-toggle): Avoid `eval'.
13340
13341 * emacs-lisp/disass.el (disassemble-internal): Handle new
13342 `closure' objects.
13343 (disassemble-1): Handle new byte codes.
13344
13345 * emacs-lisp/cl.el (pushnew): Silence warning.
13346
13347 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13348 (cl-byte-compile-throw): Remove.
13349 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13350
13351 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13352 closures.
13353
13354 * emacs-lisp/cconv.el: New file.
13355
13356 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13357 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13358 (byte-compile-initial-macro-environment):
13359 Handle declare-function here.
13360 (byte-compile--lexical-environment): New var.
13361 (byte-stack-ref, byte-stack-set, byte-discardN)
13362 (byte-discardN-preserve-tos): New lap codes.
13363 (byte-interactive-p): Don't use any more.
13364 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13365 New macros.
13366 (byte-compile-lapcode): Use them and handle new lap codes.
13367 (byte-compile-obsolete): Remove.
13368 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13369 (byte-compile-arglist-warn): Check late def of inlinable funs.
13370 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13371 since they should have been expanded by now.
13372 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13373 (byte-compile-from-buffer): Remove unused second arg.
13374 (byte-compile-preprocess): New function.
13375 (byte-compile-toplevel-file-form): New function to distinguish
13376 file-form calls from outside from file-form calls from hunk-handlers.
13377 (byte-compile-file-form): Simplify.
13378 (byte-compile-file-form-defsubst): Remove.
13379 (byte-compile-file-form-defmumble): Simplify now that
13380 byte-compile-lambda always returns a byte-code-function.
13381 (byte-compile): Preprocess.
13382 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13383 Remove, not used any more.
13384 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13385 (byte-compile-make-args-desc): New funs.
13386 (byte-compile-lambda): Handle lexical functions. Always return
13387 a byte-code-function.
13388 (byte-compile-reserved-constants): New var, to make up room for
13389 closed-over variables.
13390 (byte-compile-constants-vector): Obey it.
13391 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13392 (byte-compile-macroexpand-declare-function): New function.
13393 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13394 byte-code-functions.
13395 (byte-compile-form): Check obsolescence here.
13396 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13397 (byte-compile-variable-ref): Remove.
13398 (byte-compile-dynamic-variable-op): New fun.
13399 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13400 (byte-compile-variable-set): New funs.
13401 (byte-compile-discard): Add 2 args.
13402 (byte-compile-stack-ref, byte-compile-stack-set)
13403 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13404 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13405 macroexpand-all instead.
13406 (byte-compile-quote-form): Remove.
13407 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13408 (byte-compile-bind, byte-compile-unbind): New funs.
13409 (byte-compile-let): Handle let* and lexical binding.
13410 (byte-compile-let*): Remove.
13411 (byte-compile-catch, byte-compile-unwind-protect)
13412 (byte-compile-track-mouse, byte-compile-condition-case):
13413 Handle a new :fun-body form, used for lexical scoping.
13414 (byte-compile-save-window-excursion)
13415 (byte-compile-with-output-to-temp-buffer): Remove.
13416 (byte-compile-defun): Simplify.
13417 (byte-compile-stack-adjustment): New fun.
13418 (byte-compile-out): Use it.
13419 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13420
13421 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13422 handler any more.
13423
13424 * emacs-lisp/byte-opt.el: Use lexical binding.
13425 (byte-inline-lapcode): Remove (to bytecomp).
13426 (byte-compile-inline-expand): Pay attention to inlining to/from
13427 lexically bound code.
13428 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13429 any more.
13430 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13431 any more and don't call compiler-macros.
13432 (byte-compile-splice-in-already-compiled-code): Remove.
13433 (byte-code): Don't inline any more.
13434 (disassemble-offset): Receive `bytes' as argument rather than via
13435 dynamic scoping.
13436 (byte-compile-tag-number): Declare before first use.
13437 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13438 `return' even if make-spliceable.
13439 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13440 obsolete interactive-p.
13441 (byte-optimize-lapcode): Optimize new lap-codes.
13442 Don't trip up on new form of `byte-constant' lap code.
13443
13444 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13445
13446 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13447
13448 * custom.el (custom-initialize-default, custom-declare-variable):
13449 Use `defvar'.
13450
13451 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13452 New variables.
13453 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13454 (COMPILE_FIRST): Add macroexp and cconv.
13455 * makefile.w32-in: Mirror changes in Makefile.in.
13456
13457 * vc/cvs-status.el:
13458 * vc/diff-mode.el:
13459 * vc/log-edit.el:
13460 * vc/log-view.el:
13461 * vc/smerge-mode.el:
13462 * textmodes/bibtex-style.el:
13463 * textmodes/css.el:
13464 * startup.el:
13465 * uniquify.el:
da91b5f2
CY
13466 * minibuffer.el:
13467 * newcomment.el:
13468 * reveal.el:
13469 * server.el:
13470 * mpc.el:
13471 * emacs-lisp/smie.el:
13472 * doc-view.el:
13473 * dired.el:
03408648
SM
13474 * abbrev.el: Use lexical binding.
13475
0f0c1f27
EZ
134762011-04-01 Eli Zaretskii <eliz@gnu.org>
13477
13478 * info.el (info-display-manual): New function.
13479
c82b2579
SM
134802011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13483
221ddf68
TH
134842011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13485
13486 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13487 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13488
cba6e77e
GM
134892011-03-31 Glenn Morris <rgm@gnu.org>
13490
e040639f
GM
13491 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13492
cba6e77e
GM
13493 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13494
6d0f1c9e
CS
134952011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13496
13497 * progmodes/python.el (python-default-interpreter)
13498 (python-python-command-args, python-jython-command-args)
13499 (python-which-shell, python-which-args, python-which-bufname)
13500 (python-file-queue, python-comint-output-filter-function)
13501 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13502 variables and functions.
13503
3e2d70fd
SM
135042011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13507 (completion-in-region-mode): New minor mode.
13508 (completion-in-region): Use it.
13509 (completion-in-region--data, completion-in-region-mode-map): New vars.
13510 (completion-in-region--postch): New function.
13511 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13512 New vars.
13513 (completion--capf-wrapper): New function.
13514 (completion-at-point): Use it to track well-behavedness of
13515 hook functions.
13516 (completion-help-at-point): New command.
13517
f3e4086c
JM
135182011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13519
13520 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13521 syntax class to search for whitespace on a single line
13522 (Message-ID: <4D938140.4030905@redhat.com>).
13523
eb7ffc14
LL
135242011-03-30 Leo Liu <sdl.web@gmail.com>
13525
13526 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13527 New commands.
13528 (edit-abbrevs-map): Bind them here.
13529 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13530
d806ab68
KM
135312011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13532
13533 * allout.el (allout-hide-by-annotation, allout-flag-region):
13534 Reduce possibility of overlay leakage by making them volatile.
13535
13536 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13537 hash is not shared between buffers. Mode initialization is
13538 responsible for giving it a useful starting value.
13539 (allout-item-span): Reduce possibility of overlay leakage by
13540 making them volatile.
13541 (allout-widgets-count-buttons-in-region): Add diagnostic function
13542 for tracking down button overlay leaks.
13543
ea622834
LL
135442011-03-29 Leo Liu <sdl.web@gmail.com>
13545
13546 * ido.el (ido-read-internal): Use the default history var
13547 minibuffer-history if no HISTORY is specified.
13548
b62f8267
G
135492011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13550
03408648
SM
13551 * net/imap.el (imap-shell-open, imap-process-connection-type):
13552 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13553 Kerberos, SSL, other subprocesses.
13554
947b6566
LL
135552011-03-28 Leo Liu <sdl.web@gmail.com>
13556
13557 * abbrev.el (abbrev-table-empty-p): New function.
13558 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13559 nonempty ones. (Bug#5937)
13560
5ffb62aa
JD
135612011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13562
13563 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13564
7a097943
LL
135652011-03-27 Leo Liu <sdl.web@gmail.com>
13566
13567 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13568 for foreground and background colors.
13569 (ansi-color-make-color-map): Adapt.
13570
c5b40130
LL
135712011-03-25 Leo Liu <sdl.web@gmail.com>
13572
1f48f7d2
LL
13573 * midnight.el (midnight-time-float): Remove. Note it calculates
13574 the microsecond component incorrectly and seconds-to-time does the
13575 same job.
625897ec 13576 Remove redundant (require 'timer).
1f48f7d2 13577
c5b40130
LL
13578 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13579 (ido-completions): Remove unused arguments. (Bug#8329)
13580
d86d2721
SM
135812011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * minibuffer.el (completion--flush-all-sorted-completions):
13584 Remove itself from hook.
13585 (completion-at-point): Let the functions perform the completion
13586 immediately and return nil or t.
13587 * comint.el (comint-dynamic-complete-functions): Now identical to
13588 completion-at-point-functions.
13589 (comint-dynamic-list-input-ring): Remove unused var `index'.
13590 (comint--match-partial-filename, comint--unquote&expand-filename):
13591 New funs, split from comint-match-partial-filename.
13592 (comint-dynamic-complete): Use completion-at-point.
13593 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13594
e8974c48
DA
135952011-03-24 Drew Adams <drew.adams@oracle.com>
13596
13597 * thingatpt.el: Support `defun'.
13598
def71b5e
LL
135992011-03-23 Leo Liu <sdl.web@gmail.com>
13600
cb5af48e
LL
13601 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13602
def71b5e
LL
13603 * help-mode.el (help-mode-finish): Tweak regexp.
13604
927c53e7
GM
136052011-03-23 Glenn Morris <rgm@gnu.org>
13606
18d05bed
GM
13607 * eshell/esh-opt.el (eshell-eval-using-options):
13608 Do not bind unused local variable `eshell-option-stub'.
13609
927c53e7
GM
13610 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13611
9d0da923
JB
136122011-03-22 Juanma Barranquero <lekktu@gmail.com>
13613
13614 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13615 keymap variable in `with-no-warnings' to avoid a warning when the
13616 keymap has been already `defconst'ed.
13617
4b978a67
LL
136182011-03-22 Leo Liu <sdl.web@gmail.com>
13619
13620 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13621 encode all chars in abbrevs; otherwise use emacs-mule or
13622 utf-8-emacs. (Bug#8308)
13623
5fd62452
JB
136242011-03-22 Juanma Barranquero <lekktu@gmail.com>
13625
0b1596c6
JB
13626 * simple.el (backward-delete-char-untabify):
13627 Avoid warning about using `delete-backward-char'.
13628
5fd62452
JB
13629 * image.el (image-type-file-name-regexps): Make it variable.
13630 `imagemagick-register-types' modifies it, and the user may want
13631 to add new extensions for known image types.
13632 (imagemagick-register-types): Throw error if not using ImageMagick.
13633
0b4e93f1
LL
136342011-03-22 Leo Liu <sdl.web@gmail.com>
13635
13636 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13637 located before rcirc-prompt-end-marker.
13638 (rcirc-complete): Error if point is not after rcirc prompt.
13639 Handle the case when table is nil.
9882e214 13640 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13641
fccee4ab
CY
136422011-03-22 Chong Yidong <cyd@stupidchicken.com>
13643
13644 * custom.el (custom--inhibit-theme-enable): Make it affect only
13645 custom-theme-set-variables and custom-theme-set-faces.
13646 (provide-theme): Ignore custom--inhibit-theme-enable.
13647 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13648 (custom-enabling-themes): Delete variable.
d86d2721
SM
13649 (enable-theme): Accept only loaded themes as arguments.
13650 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13651 (custom-enabled-themes): Forbid themes from setting this.
13652 Eliminate use of custom-enabling-themes.
13653 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13654
af896da6
LL
136552011-03-21 Leo Liu <sdl.web@gmail.com>
13656
13657 * ido.el (ido-read-internal): Add ido-selected to history instead
13658 of user input.
13659
78f64af0
SM
136602011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * subr.el (deferred-action-list, deferred-action-function):
13663 Mark obsolete.
13664
b16ac1ec
LL
136652011-03-21 Leo Liu <sdl.web@gmail.com>
13666
810f7698
LL
13667 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13668 change on 2011-02-13 (bug#8309).
13669
b16ac1ec
LL
13670 * minibuffer.el (read-file-name-function): Change default value.
13671 (read-file-name--defaults): Rename from read-file-name-defaults.
13672 (read-file-name-default): Rename from read-file-name.
13673 (read-file-name): Call read-file-name-function.
13674
4e05e67e
GM
136752011-03-21 Glenn Morris <rgm@gnu.org>
13676
13677 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13678 Doc fixes.
13679
4359915b
CY
136802011-03-21 Chong Yidong <cyd@stupidchicken.com>
13681
13682 * cus-theme.el: Add missing provide statement.
13683 (customize-create-theme): Extract theme value correctly.
13684 (custom-theme-visit-theme): Autoload.
13685 (customize-create-theme): Prompt before inserting default faces.
13686
1fe275ee
JB
136872011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13688
13689 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13690 units and musical notes.
13691
cd394be1 136922011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13693
13694 * ido.el (ido-read-internal): Use completing-read-default.
13695 (ido-completing-read): Fix compatibility with completing-read.
13696
7d476bde
CO
136972011-03-20 Christian Ohler <ohler@gnu.org>
13698
13699 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13700 (ert-delete-all-tests): Use `called-interactively-p' rather than
13701 `interactive-p'.
13702 (ert--make-xrefs-region): Respect END.
13703
fe0fb33e
CY
137042011-03-19 Chong Yidong <cyd@stupidchicken.com>
13705
ff854b0b
CY
13706 * dired-aux.el (dired-create-directory): Signal an error if the
13707 directory already exists (Bug#8246).
13708
fe0fb33e
CY
13709 * facemenu.el (list-colors-display): Call list-faces-display
13710 inside with-help-window.
13711 (list-colors-print): Use display property to align the final
13712 column, instead of checking window-width.
13713
576bce32
EZ
137142011-03-19 Eli Zaretskii <eliz@gnu.org>
13715
4d61f28d 13716 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13717 windows-nt systems.
13718 (emerge-protect-metachars): Quote correctly for ms-dos and
13719 windows-nt systems.
13720
89c41d68 137212011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13722
13723 * info.el (info-initialize): Replace all uses of `:' with
13724 path-separator for compatibility with non-Unix systems.
13725 Cache quoting of path-separator. (Bug#8258)
13726
b14e3e21 137272011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13728
13729 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13730 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13731 (mouse-avoidance-mode): Fix typos in docstrings.
13732
4525ce3e
CY
137332011-03-19 Chong Yidong <cyd@stupidchicken.com>
13734
13735 * startup.el (package-subdirectory-regexp): Move from package.el.
13736 Omit \\` and \\', and let callers add them.
13737
13738 * emacs-lisp/package.el (package-strip-version)
13739 (package-load-all-descriptors): Add \\` and \\' to
13740 package-subdirectory-regexp before using it.
13741 (package-untar-buffer): New arg DIR; ensure that file untars only
13742 into this expected directory. Remove superfluous delete-region.
13743 (package-unpack): Caller changed.
13744 (package-tar-file-info): Use package-subdirectory-regexp.
13745
a904a09a 137462011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13747
a904a09a
SM
13748 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13749 diff-mode-shared-map (bug#8284).
13750 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13751
137522011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13753
13754 * calendar/time-date.el (format-seconds): Use assoc instead of
13755 assoc-string, since assoc-string doesn't exist in XEmacs.
13756
171fc304
JB
137572011-03-17 Juanma Barranquero <lekktu@gmail.com>
13758
13759 * custom.el (custom-known-themes): Reflow docstring.
13760 (custom-theme-load-path): Fix typo in docstring.
13761 (load-theme): Fix typo in error message.
13762 (custom-available-themes, custom-variable-theme-value):
13763 Use `let', not `let*'.
13764
d71990a1
JB
137652011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13766
13767 * calc/README: Mention inclusion of musical notes.
13768
13769 * calc/calc-units.el (calc-lu-quant): Rename from
13770 `calc-logunits-quantity'.
13771 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13772 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13773 (calc-db): Rename from `calc-dblevel'.
13774 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13775 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13776 (calc-np): Rename from `calc-nplevel'.
13777 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13778 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13779 (calc-lu-plus): Rename from `calc-logunits-add'.
13780 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13781 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13782 (calc-lu-minus): Rename from `calc-logunits-sub'.
13783 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13784 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13785 (calc-lu-times): Rename from `calc-logunits-mul'.
13786 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13787 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13788 (calc-lu-divide): Rename from `calc-logunits-div'.
13789 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13790 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13791
13792 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13793 functions being autoloaded.
13794
13795 * calc/calc.el (calc-lu-power-reference): Rename from
13796 `calc-logunits-power-reference'.
13797 (calc-lu-field-reference): Rename from
13798 `calc-logunits-field-reference'.
13799
7a71b18d
GM
13800 * calc/calc-help.el (calc-l-prefix-help):
13801 Mention musical note functions.
d71990a1 13802
40c2934b
SM
138032011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * minibuffer.el (completion-all-sorted-completions):
13806 Use :completion-cycle-penalty text property if present.
13807
b0911414
KM
138082011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13809
13810 * allout.el (allout-yank-processing): Adjust for new rebulleting
13811 regime so bullet being yanked is used without prompting the user
13812 for a choice.
13813
8a05b668
JB
138142011-03-16 Juanma Barranquero <lekktu@gmail.com>
13815
13816 * startup.el (command-line): Warn the user that _emacs is deprecated.
13817
5ba5fb81
JB
138182011-03-16 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13821 (delphi-verbose, delphi-comment-face, delphi-string-face)
13822 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13823 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13824 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13825 (delphi-new-comment-line, delphi-font-lock-defaults)
13826 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13827 Fix typos in docstrings.
13828
2dab465b
KM
138292011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13830
5ba5fb81 13831 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13832 Invert the roles of character and string values for INSTEAD, so a
13833 string is used for the more common case of a defaulting prompt.
13834
0adf5618
SM
138352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * progmodes/ruby-mode.el (ruby-backward-sexp):
13838 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13839 * play/gamegrid.el (gamegrid-make-face):
13840 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13841 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13842 * notifications.el (notifications-notify):
13843 * net/xesam.el (xesam-search-engines):
13844 * net/quickurl.el (quickurl-list-insert):
13845 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13846
d72700e5
CY
138472011-03-15 Chong Yidong <cyd@stupidchicken.com>
13848
13849 * startup.el (command-line): Update package subdirectory regexp.
13850
49c5410a
SM
138512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13852
c6eee9aa
SM
13853 * allout.el (allout-abbreviate-flattened-numbering)
13854 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13855
49c5410a
SM
13856 * subr.el (read-char-choice): Only show the cursor after the prompt,
13857 not after the answer.
13858
047b2bb9
KR
138592011-03-15 Kevin Ryde <user42@zip.com.au>
13860
13861 * help-fns.el (variable-at-point): Skip leading quotes, if any
13862 (bug#8253).
13863
0a57d256
SM
138642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13867 warning message.
13868
77c992bc
MA
138692011-03-14 Michael Albinus <michael.albinus@gmx.de>
13870
13871 * shell.el (shell): When called interactively, offer to change the
13872 shell file name on remote hosts.
13873
eebc475d
TZ
138742011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13875
13876 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13877 integration for LDAP parameters. The host, base, user or binddn,
13878 and secret tokens can be specified in a netrc file, for instance.
13879 This is optional because an `auth-source' parameter must be
13880 specified in the search attributes.
13881
9d05d1ba
JB
138822011-03-13 Juanma Barranquero <lekktu@gmail.com>
13883
13884 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13885
09d9db2c
GM
138862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13889 into declaration. Remove redundant and harmful binding.
13890
138912011-03-12 Eli Zaretskii <eliz@gnu.org>
13892
13893 * files.el (file-ownership-preserved-p): Pass `integer' as an
13894 explicit 2nd argument to `file-attributes'. If the file's owner
13895 is the Administrators group on Windows, and the current user is
13896 Administrator, consider that a match.
13897
13898 * server.el (server-ensure-safe-dir): Consider server directory
13899 safe on MS-Windows if its owner is the Administrators group while
13900 the current Emacs user is Administrator. Use `=' to compare
13901 numerical UIDs, since they could be integers or floats.
13902
219bd536
JB
139032011-03-12 Juanma Barranquero <lekktu@gmail.com>
13904
13905 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13906
f3afd36b
MA
139072011-03-12 Michael Albinus <michael.albinus@gmx.de>
13908
13909 Sync with Tramp 2.2.1.
13910
13911 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13912
13913 * net/trampver.el: Update release number.
13914
3aaaa6f1
SM
139152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13916
94642599
SM
13917 * progmodes/compile.el (compilation--previous-directory): Fix up
13918 various nil/dead-marker mismatches (bug#8014).
13919 (compilation-directory-properties, compilation-error-properties):
13920 Don't call it at a position past the one we're about to change.
13921
3aaaa6f1
SM
13922 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13923 Disable obsolescence warnings in the file that declares it.
13924
14239447
KM
139252011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13926
099c39a4
JB
13927 * allout-widgets.el (allout-widgets-tally):
13928 Initialize allout-widgets-tally as a hash table rather than nil to
13929 prevent mode-line redisplay warnings. Also, clarify the module
13930 description and fix a comment typo.
14239447 13931
135e287c
JB
139322011-03-11 Juanma Barranquero <lekktu@gmail.com>
13933
13934 * help-fns.el (describe-variable): Don't complete keywords.
13935 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13936
ffbf300e
CY
139372011-03-10 Chong Yidong <cyd@stupidchicken.com>
13938
ba08b241
CY
13939 * emacs-lisp/package.el (package-version-join): Impose a standard
13940 string representation for pre/alpha/beta version lists.
13941 (package-unpack-single): Standardize the directory name by passing
13942 it through package-version-join.
13943 (package-strip-rcs-id): Accept any version string that does not
13944 signal an error in version-to-list.
ffbf300e 13945
f346fd6b
MA
139462011-03-10 Michael Albinus <michael.albinus@gmx.de>
13947
13948 * simple.el (delete-trailing-whitespace): Return nil for the
13949 benefit of `write-file-functions'.
13950
ccb55d27
GM
139512011-03-10 Glenn Morris <rgm@gnu.org>
13952
5ceaac0c
GM
13953 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13954
02da65ff
GM
13955 * vc/vc-git.el (vc-git-program): New option.
13956 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13957 (vc-git--call): Use it.
13958
b2f603cc
GM
13959 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13960
5772caab
GM
13961 * cus-edit.el (Custom-newline): If no button at point, look
13962 for a subgroup button at start-of-line. (Bug#2298)
13963
ccb55d27
GM
13964 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13965
ec6ecaed
JD
139662011-03-10 Julien Danjou <julien@danjou.info>
13967
13968 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13969 `cursor-type' is nil.
13970
9d5aa01d
JB
139712011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13972
13973 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13974
b6a5875b
KM
139752011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13976
7a71b18d 13977 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13978 preserves the existing header prefix, rebulleting it if necessary,
13979 rather than replacing it. This is necessary for proper operation
13980 of cooperative addons like allout-widgets.
1154d12e
JB
13981 (allout-make-topic-prefix, allout-rebullet-heading):
13982 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13983 value as alternate bullet to be used, instead of prompting the user
13984 for a bullet character.
b6a5875b 13985
ee545c35
MA
139862011-03-09 Michael Albinus <michael.albinus@gmx.de>
13987
d86d2721
SM
13988 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13989 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13990 `tramp-default-port'.
13991
c47971d7
DD
139922011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13993
13994 * net/rcirc.el (rcirc-handler-001): Remove useless
13995 with-rcirc-process-buffer.
13996 (rcirc-check-auth-status): Swap arguments to string-match.
13997
13522cb4
GM
139982011-03-09 Glenn Morris <rgm@gnu.org>
13999
0be6f4f1
GM
14000 * shell.el (shell-mode):
14001 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14002
13522cb4
GM
14003 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14004 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14005
515de2e3
CY
140062011-03-08 Chong Yidong <cyd@stupidchicken.com>
14007
14008 * emacs-lisp/package.el (package-refresh-contents)
14009 (package-menu-execute): Use condition-case-no-debug.
14010
b511b994
MA
140112011-03-08 Michael Albinus <michael.albinus@gmx.de>
14012
14013 * simple.el (shell-command-to-string): Use `process-file'.
14014
14015 * emacs-lisp/package.el (package-tar-file-info): Handle also
14016 remote files.
14017
d86d2721
SM
14018 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14019 Use `equal' for upload base check.
b511b994 14020
25bbfb31
AM
140212011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14022
14023 * textmodes/texinfo.el (texinfo-environments):
14024 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14025
be996521
GM
140262011-03-08 Glenn Morris <rgm@gnu.org>
14027
e9c8529f
GM
14028 * cus-start.el (cursor-in-non-selected-windows):
14029 Fix :set quoting oddness. (Bug#8192)
14030
be996521
GM
14031 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14032 in some setf expressions. (Bug#2159)
14033
2bb5649e
CY
140342011-03-08 Chong Yidong <cyd@stupidchicken.com>
14035
14036 * custom.el (custom-available-themes): Return themes in
14037 alphabetical order.
14038
33383987 14039See ChangeLog.15 for earlier changes.
e3d51b27
MR
14040
14041;; Local Variables:
14042;; coding: utf-8
e3d51b27
MR
14043;; End:
14044
acaf905b 14045 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14046
14047 This file is part of GNU Emacs.
14048
14049 GNU Emacs is free software: you can redistribute it and/or modify
14050 it under the terms of the GNU General Public License as published by
14051 the Free Software Foundation, either version 3 of the License, or
14052 (at your option) any later version.
14053
14054 GNU Emacs is distributed in the hope that it will be useful,
14055 but WITHOUT ANY WARRANTY; without even the implied warranty of
14056 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14057 GNU General Public License for more details.
14058
14059 You should have received a copy of the GNU General Public License
14060 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.